• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #include <vector>
16 #include <string>
17 #include "callback_kind.h"
18 
19 #define KOALA_INTEROP_MODULE ArkUIGeneratedNativeModule
20 #include "common-interop.h"
21 #include "arkoala_api_generated.h"
22 #include "Serializers.h"
23 #include "callbacks.h"
24 
25 const OH_AnyAPI* GetAnyImpl(int kind, int version, std::string* result = nullptr);
26 
GetFullImpl()27 static const GENERATED_ArkUIFullNodeAPI* GetFullImpl() {
28     return reinterpret_cast<const GENERATED_ArkUIFullNodeAPI*>(
29         GetAnyImpl(static_cast<int>(GENERATED_Ark_APIVariantKind::GENERATED_FULL),
30         GENERATED_ARKUI_FULL_API_VERSION, nullptr));
31 }
32 
GetNodeModifiers()33 static const GENERATED_ArkUINodeModifiers* GetNodeModifiers() {
34     return GetFullImpl()->getNodeModifiers();
35 }
36 
GetAccessors()37 static const GENERATED_ArkUIAccessors* GetAccessors() {
38     return GetFullImpl()->getAccessors();
39 }
40 
impl_ComponentRoot_construct(Ark_Int32 id,Ark_Int32 flags)41 Ark_NativePointer impl_ComponentRoot_construct(Ark_Int32 id, Ark_Int32 flags) {
42         return GetNodeModifiers()->getComponentRootModifier()->construct(id, flags);
43 }
KOALA_INTEROP_DIRECT_2(ComponentRoot_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)44 KOALA_INTEROP_DIRECT_2(ComponentRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
45 Ark_NativePointer impl_Root_construct(Ark_Int32 id, Ark_Int32 flags) {
46         return GetNodeModifiers()->getRootModifier()->construct(id, flags);
47 }
KOALA_INTEROP_DIRECT_2(Root_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)48 KOALA_INTEROP_DIRECT_2(Root_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
49 Ark_NativePointer impl_AbilityComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
50         return GetNodeModifiers()->getAbilityComponentModifier()->construct(id, flags);
51 }
KOALA_INTEROP_DIRECT_2(AbilityComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)52 KOALA_INTEROP_DIRECT_2(AbilityComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
53 void impl_AbilityComponentInterface_setAbilityComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
54         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
55         Deserializer thisDeserializer(thisArray, thisLength);
56         Ark_Literal__want value_value_buf = {};
57         value_value_buf.want = thisDeserializer.readWant();
58         Ark_Literal__want value_value = value_value_buf;;
59         GetNodeModifiers()->getAbilityComponentModifier()->setAbilityComponentOptions(self, (const Ark_Literal__want*)&value_value);
60 }
KOALA_INTEROP_DIRECT_V3(AbilityComponentInterface_setAbilityComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t)61 KOALA_INTEROP_DIRECT_V3(AbilityComponentInterface_setAbilityComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
62 void impl_AbilityComponentAttribute_onConnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
63         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
64         Deserializer thisDeserializer(thisArray, thisLength);
65         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
66         Opt_Callback_Void value_value_buf = {};
67         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
68         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
69         {
70             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
71         }
72         Opt_Callback_Void value_value = value_value_buf;;
73         GetNodeModifiers()->getAbilityComponentModifier()->setOnConnect(self, (const Opt_Callback_Void*)&value_value);
74 }
KOALA_INTEROP_DIRECT_V3(AbilityComponentAttribute_onConnect,Ark_NativePointer,KSerializerBuffer,int32_t)75 KOALA_INTEROP_DIRECT_V3(AbilityComponentAttribute_onConnect, Ark_NativePointer, KSerializerBuffer, int32_t)
76 void impl_AbilityComponentAttribute_onDisconnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
77         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
78         Deserializer thisDeserializer(thisArray, thisLength);
79         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
80         Opt_Callback_Void value_value_buf = {};
81         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
82         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
83         {
84             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
85         }
86         Opt_Callback_Void value_value = value_value_buf;;
87         GetNodeModifiers()->getAbilityComponentModifier()->setOnDisconnect(self, (const Opt_Callback_Void*)&value_value);
88 }
KOALA_INTEROP_DIRECT_V3(AbilityComponentAttribute_onDisconnect,Ark_NativePointer,KSerializerBuffer,int32_t)89 KOALA_INTEROP_DIRECT_V3(AbilityComponentAttribute_onDisconnect, Ark_NativePointer, KSerializerBuffer, int32_t)
90 Ark_NativePointer impl_AlphabetIndexer_construct(Ark_Int32 id, Ark_Int32 flags) {
91         return GetNodeModifiers()->getAlphabetIndexerModifier()->construct(id, flags);
92 }
KOALA_INTEROP_DIRECT_2(AlphabetIndexer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)93 KOALA_INTEROP_DIRECT_2(AlphabetIndexer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
94 void impl_AlphabetIndexerInterface_setAlphabetIndexerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
95         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
96         Deserializer thisDeserializer(thisArray, thisLength);
97         Ark_AlphabetIndexerOptions options_value = thisDeserializer.readAlphabetIndexerOptions();;
98         GetNodeModifiers()->getAlphabetIndexerModifier()->setAlphabetIndexerOptions(self, (const Ark_AlphabetIndexerOptions*)&options_value);
99 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerInterface_setAlphabetIndexerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)100 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerInterface_setAlphabetIndexerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
101 void impl_AlphabetIndexerAttribute_onSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
102         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
103         Deserializer thisDeserializer(thisArray, thisLength);
104         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
105         Opt_Callback_Number_Void value_value_buf = {};
106         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
107         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
108         {
109             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
110         }
111         Opt_Callback_Number_Void value_value = value_value_buf;;
112         GetNodeModifiers()->getAlphabetIndexerModifier()->setOnSelected(self, (const Opt_Callback_Number_Void*)&value_value);
113 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onSelected,Ark_NativePointer,KSerializerBuffer,int32_t)114 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onSelected, Ark_NativePointer, KSerializerBuffer, int32_t)
115 void impl_AlphabetIndexerAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
116         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
117         Deserializer thisDeserializer(thisArray, thisLength);
118         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
119         Opt_ResourceColor value_value_buf = {};
120         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
121         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
122         {
123             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
124             Ark_ResourceColor value_value_buf_ = {};
125             value_value_buf_.selector = value_value_buf__selector;
126             if (value_value_buf__selector == 0) {
127                 value_value_buf_.selector = 0;
128                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
129             }
130             else if (value_value_buf__selector == 1) {
131                 value_value_buf_.selector = 1;
132                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
133             }
134             else if (value_value_buf__selector == 2) {
135                 value_value_buf_.selector = 2;
136                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
137             }
138             else if (value_value_buf__selector == 3) {
139                 value_value_buf_.selector = 3;
140                 value_value_buf_.value3 = thisDeserializer.readResource();
141             }
142             else {
143                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
144             }
145             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
146         }
147         Opt_ResourceColor value_value = value_value_buf;;
148         GetNodeModifiers()->getAlphabetIndexerModifier()->setColor(self, (const Opt_ResourceColor*)&value_value);
149 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)150 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
151 void impl_AlphabetIndexerAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
152         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
153         Deserializer thisDeserializer(thisArray, thisLength);
154         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
155         Opt_ResourceColor value_value_buf = {};
156         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
157         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
158         {
159             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
160             Ark_ResourceColor value_value_buf_ = {};
161             value_value_buf_.selector = value_value_buf__selector;
162             if (value_value_buf__selector == 0) {
163                 value_value_buf_.selector = 0;
164                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
165             }
166             else if (value_value_buf__selector == 1) {
167                 value_value_buf_.selector = 1;
168                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
169             }
170             else if (value_value_buf__selector == 2) {
171                 value_value_buf_.selector = 2;
172                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
173             }
174             else if (value_value_buf__selector == 3) {
175                 value_value_buf_.selector = 3;
176                 value_value_buf_.value3 = thisDeserializer.readResource();
177             }
178             else {
179                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
180             }
181             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
182         }
183         Opt_ResourceColor value_value = value_value_buf;;
184         GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedColor(self, (const Opt_ResourceColor*)&value_value);
185 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedColor,Ark_NativePointer,KSerializerBuffer,int32_t)186 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t)
187 void impl_AlphabetIndexerAttribute_popupColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
188         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
189         Deserializer thisDeserializer(thisArray, thisLength);
190         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
191         Opt_ResourceColor value_value_buf = {};
192         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
193         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
194         {
195             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
196             Ark_ResourceColor value_value_buf_ = {};
197             value_value_buf_.selector = value_value_buf__selector;
198             if (value_value_buf__selector == 0) {
199                 value_value_buf_.selector = 0;
200                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
201             }
202             else if (value_value_buf__selector == 1) {
203                 value_value_buf_.selector = 1;
204                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
205             }
206             else if (value_value_buf__selector == 2) {
207                 value_value_buf_.selector = 2;
208                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
209             }
210             else if (value_value_buf__selector == 3) {
211                 value_value_buf_.selector = 3;
212                 value_value_buf_.value3 = thisDeserializer.readResource();
213             }
214             else {
215                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
216             }
217             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
218         }
219         Opt_ResourceColor value_value = value_value_buf;;
220         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupColor(self, (const Opt_ResourceColor*)&value_value);
221 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupColor,Ark_NativePointer,KSerializerBuffer,int32_t)222 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupColor, Ark_NativePointer, KSerializerBuffer, int32_t)
223 void impl_AlphabetIndexerAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
224         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
225         Deserializer thisDeserializer(thisArray, thisLength);
226         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
227         Opt_ResourceColor value_value_buf = {};
228         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
229         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
230         {
231             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
232             Ark_ResourceColor value_value_buf_ = {};
233             value_value_buf_.selector = value_value_buf__selector;
234             if (value_value_buf__selector == 0) {
235                 value_value_buf_.selector = 0;
236                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
237             }
238             else if (value_value_buf__selector == 1) {
239                 value_value_buf_.selector = 1;
240                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
241             }
242             else if (value_value_buf__selector == 2) {
243                 value_value_buf_.selector = 2;
244                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
245             }
246             else if (value_value_buf__selector == 3) {
247                 value_value_buf_.selector = 3;
248                 value_value_buf_.value3 = thisDeserializer.readResource();
249             }
250             else {
251                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
252             }
253             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
254         }
255         Opt_ResourceColor value_value = value_value_buf;;
256         GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
257 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)258 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
259 void impl_AlphabetIndexerAttribute_popupBackground(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
260         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
261         Deserializer thisDeserializer(thisArray, thisLength);
262         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
263         Opt_ResourceColor value_value_buf = {};
264         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
265         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
266         {
267             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
268             Ark_ResourceColor value_value_buf_ = {};
269             value_value_buf_.selector = value_value_buf__selector;
270             if (value_value_buf__selector == 0) {
271                 value_value_buf_.selector = 0;
272                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
273             }
274             else if (value_value_buf__selector == 1) {
275                 value_value_buf_.selector = 1;
276                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
277             }
278             else if (value_value_buf__selector == 2) {
279                 value_value_buf_.selector = 2;
280                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
281             }
282             else if (value_value_buf__selector == 3) {
283                 value_value_buf_.selector = 3;
284                 value_value_buf_.value3 = thisDeserializer.readResource();
285             }
286             else {
287                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
288             }
289             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
290         }
291         Opt_ResourceColor value_value = value_value_buf;;
292         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackground(self, (const Opt_ResourceColor*)&value_value);
293 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupBackground,Ark_NativePointer,KSerializerBuffer,int32_t)294 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupBackground, Ark_NativePointer, KSerializerBuffer, int32_t)
295 void impl_AlphabetIndexerAttribute_popupSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
296         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
297         Deserializer thisDeserializer(thisArray, thisLength);
298         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
299         Opt_ResourceColor value_value_buf = {};
300         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
301         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
302         {
303             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
304             Ark_ResourceColor value_value_buf_ = {};
305             value_value_buf_.selector = value_value_buf__selector;
306             if (value_value_buf__selector == 0) {
307                 value_value_buf_.selector = 0;
308                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
309             }
310             else if (value_value_buf__selector == 1) {
311                 value_value_buf_.selector = 1;
312                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
313             }
314             else if (value_value_buf__selector == 2) {
315                 value_value_buf_.selector = 2;
316                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
317             }
318             else if (value_value_buf__selector == 3) {
319                 value_value_buf_.selector = 3;
320                 value_value_buf_.value3 = thisDeserializer.readResource();
321             }
322             else {
323                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
324             }
325             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
326         }
327         Opt_ResourceColor value_value = value_value_buf;;
328         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupSelectedColor(self, (const Opt_ResourceColor*)&value_value);
329 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupSelectedColor,Ark_NativePointer,KSerializerBuffer,int32_t)330 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupSelectedColor, Ark_NativePointer, KSerializerBuffer, int32_t)
331 void impl_AlphabetIndexerAttribute_popupUnselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
332         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
333         Deserializer thisDeserializer(thisArray, thisLength);
334         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
335         Opt_ResourceColor value_value_buf = {};
336         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
337         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
338         {
339             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
340             Ark_ResourceColor value_value_buf_ = {};
341             value_value_buf_.selector = value_value_buf__selector;
342             if (value_value_buf__selector == 0) {
343                 value_value_buf_.selector = 0;
344                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
345             }
346             else if (value_value_buf__selector == 1) {
347                 value_value_buf_.selector = 1;
348                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
349             }
350             else if (value_value_buf__selector == 2) {
351                 value_value_buf_.selector = 2;
352                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
353             }
354             else if (value_value_buf__selector == 3) {
355                 value_value_buf_.selector = 3;
356                 value_value_buf_.value3 = thisDeserializer.readResource();
357             }
358             else {
359                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
360             }
361             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
362         }
363         Opt_ResourceColor value_value = value_value_buf;;
364         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupUnselectedColor(self, (const Opt_ResourceColor*)&value_value);
365 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupUnselectedColor,Ark_NativePointer,KSerializerBuffer,int32_t)366 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupUnselectedColor, Ark_NativePointer, KSerializerBuffer, int32_t)
367 void impl_AlphabetIndexerAttribute_popupItemBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
368         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
369         Deserializer thisDeserializer(thisArray, thisLength);
370         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
371         Opt_ResourceColor value_value_buf = {};
372         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
373         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
374         {
375             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
376             Ark_ResourceColor value_value_buf_ = {};
377             value_value_buf_.selector = value_value_buf__selector;
378             if (value_value_buf__selector == 0) {
379                 value_value_buf_.selector = 0;
380                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
381             }
382             else if (value_value_buf__selector == 1) {
383                 value_value_buf_.selector = 1;
384                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
385             }
386             else if (value_value_buf__selector == 2) {
387                 value_value_buf_.selector = 2;
388                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
389             }
390             else if (value_value_buf__selector == 3) {
391                 value_value_buf_.selector = 3;
392                 value_value_buf_.value3 = thisDeserializer.readResource();
393             }
394             else {
395                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
396             }
397             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
398         }
399         Opt_ResourceColor value_value = value_value_buf;;
400         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
401 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)402 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
403 void impl_AlphabetIndexerAttribute_usingPopup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
404         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
405         Deserializer thisDeserializer(thisArray, thisLength);
406         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
407         Opt_Boolean value_value_buf = {};
408         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
409         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
410         {
411             value_value_buf.value = thisDeserializer.readBoolean();
412         }
413         Opt_Boolean value_value = value_value_buf;;
414         GetNodeModifiers()->getAlphabetIndexerModifier()->setUsingPopup(self, (const Opt_Boolean*)&value_value);
415 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_usingPopup,Ark_NativePointer,KSerializerBuffer,int32_t)416 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_usingPopup, Ark_NativePointer, KSerializerBuffer, int32_t)
417 void impl_AlphabetIndexerAttribute_selectedFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
418         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
419         Deserializer thisDeserializer(thisArray, thisLength);
420         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
421         Opt_Font value_value_buf = {};
422         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
423         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
424         {
425             value_value_buf.value = thisDeserializer.readFont();
426         }
427         Opt_Font value_value = value_value_buf;;
428         GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedFont(self, (const Opt_Font*)&value_value);
429 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedFont,Ark_NativePointer,KSerializerBuffer,int32_t)430 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selectedFont, Ark_NativePointer, KSerializerBuffer, int32_t)
431 void impl_AlphabetIndexerAttribute_popupFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
432         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
433         Deserializer thisDeserializer(thisArray, thisLength);
434         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
435         Opt_Font value_value_buf = {};
436         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
437         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
438         {
439             value_value_buf.value = thisDeserializer.readFont();
440         }
441         Opt_Font value_value = value_value_buf;;
442         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupFont(self, (const Opt_Font*)&value_value);
443 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupFont,Ark_NativePointer,KSerializerBuffer,int32_t)444 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupFont, Ark_NativePointer, KSerializerBuffer, int32_t)
445 void impl_AlphabetIndexerAttribute_popupItemFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
446         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
447         Deserializer thisDeserializer(thisArray, thisLength);
448         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
449         Opt_Font value_value_buf = {};
450         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
451         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
452         {
453             value_value_buf.value = thisDeserializer.readFont();
454         }
455         Opt_Font value_value = value_value_buf;;
456         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemFont(self, (const Opt_Font*)&value_value);
457 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemFont,Ark_NativePointer,KSerializerBuffer,int32_t)458 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemFont, Ark_NativePointer, KSerializerBuffer, int32_t)
459 void impl_AlphabetIndexerAttribute_itemSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
460         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
461         Deserializer thisDeserializer(thisArray, thisLength);
462         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
463         Opt_Union_String_Number value_value_buf = {};
464         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
465         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
466         {
467             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
468             Ark_Union_String_Number value_value_buf_ = {};
469             value_value_buf_.selector = value_value_buf__selector;
470             if (value_value_buf__selector == 0) {
471                 value_value_buf_.selector = 0;
472                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
473             }
474             else if (value_value_buf__selector == 1) {
475                 value_value_buf_.selector = 1;
476                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
477             }
478             else {
479                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
480             }
481             value_value_buf.value = static_cast<Ark_Union_String_Number>(value_value_buf_);
482         }
483         Opt_Union_String_Number value_value = value_value_buf;;
484         GetNodeModifiers()->getAlphabetIndexerModifier()->setItemSize(self, (const Opt_Union_String_Number*)&value_value);
485 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_itemSize,Ark_NativePointer,KSerializerBuffer,int32_t)486 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_itemSize, Ark_NativePointer, KSerializerBuffer, int32_t)
487 void impl_AlphabetIndexerAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
488         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
489         Deserializer thisDeserializer(thisArray, thisLength);
490         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
491         Opt_Font value_value_buf = {};
492         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
493         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
494         {
495             value_value_buf.value = thisDeserializer.readFont();
496         }
497         Opt_Font value_value = value_value_buf;;
498         GetNodeModifiers()->getAlphabetIndexerModifier()->setFont(self, (const Opt_Font*)&value_value);
499 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_font,Ark_NativePointer,KSerializerBuffer,int32_t)500 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t)
501 void impl_AlphabetIndexerAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
502         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
503         Deserializer thisDeserializer(thisArray, thisLength);
504         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
505         Opt_OnAlphabetIndexerSelectCallback value_value_buf = {};
506         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
507         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
508         {
509             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnAlphabetIndexerSelectCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnAlphabetIndexerSelectCallback))))};
510         }
511         Opt_OnAlphabetIndexerSelectCallback value_value = value_value_buf;;
512         GetNodeModifiers()->getAlphabetIndexerModifier()->setOnSelect(self, (const Opt_OnAlphabetIndexerSelectCallback*)&value_value);
513 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onSelect,Ark_NativePointer,KSerializerBuffer,int32_t)514 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t)
515 void impl_AlphabetIndexerAttribute_onRequestPopupData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
516         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
517         Deserializer thisDeserializer(thisArray, thisLength);
518         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
519         Opt_OnAlphabetIndexerRequestPopupDataCallback value_value_buf = {};
520         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
521         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
522         {
523             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Callback_Array_String_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnAlphabetIndexerRequestPopupDataCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Callback_Array_String_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnAlphabetIndexerRequestPopupDataCallback))))};
524         }
525         Opt_OnAlphabetIndexerRequestPopupDataCallback value_value = value_value_buf;;
526         GetNodeModifiers()->getAlphabetIndexerModifier()->setOnRequestPopupData(self, (const Opt_OnAlphabetIndexerRequestPopupDataCallback*)&value_value);
527 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onRequestPopupData,Ark_NativePointer,KSerializerBuffer,int32_t)528 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onRequestPopupData, Ark_NativePointer, KSerializerBuffer, int32_t)
529 void impl_AlphabetIndexerAttribute_onPopupSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
530         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
531         Deserializer thisDeserializer(thisArray, thisLength);
532         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
533         Opt_OnAlphabetIndexerPopupSelectCallback value_value_buf = {};
534         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
535         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
536         {
537             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnAlphabetIndexerPopupSelectCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnAlphabetIndexerPopupSelectCallback))))};
538         }
539         Opt_OnAlphabetIndexerPopupSelectCallback value_value = value_value_buf;;
540         GetNodeModifiers()->getAlphabetIndexerModifier()->setOnPopupSelect(self, (const Opt_OnAlphabetIndexerPopupSelectCallback*)&value_value);
541 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onPopupSelect,Ark_NativePointer,KSerializerBuffer,int32_t)542 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_onPopupSelect, Ark_NativePointer, KSerializerBuffer, int32_t)
543 void impl_AlphabetIndexerAttribute_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
544         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
545         Deserializer thisDeserializer(thisArray, thisLength);
546         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
547         Opt_Number value_value_buf = {};
548         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
549         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
550         {
551             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
552         }
553         Opt_Number value_value = value_value_buf;;
554         GetNodeModifiers()->getAlphabetIndexerModifier()->setSelected(self, (const Opt_Number*)&value_value);
555 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selected,Ark_NativePointer,KSerializerBuffer,int32_t)556 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
557 void impl_AlphabetIndexerAttribute_popupPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
558         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
559         Deserializer thisDeserializer(thisArray, thisLength);
560         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
561         Opt_Position value_value_buf = {};
562         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
563         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
564         {
565             value_value_buf.value = thisDeserializer.readPosition();
566         }
567         Opt_Position value_value = value_value_buf;;
568         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupPosition(self, (const Opt_Position*)&value_value);
569 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupPosition,Ark_NativePointer,KSerializerBuffer,int32_t)570 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
571 void impl_AlphabetIndexerAttribute_autoCollapse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
572         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
573         Deserializer thisDeserializer(thisArray, thisLength);
574         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
575         Opt_Boolean value_value_buf = {};
576         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
577         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
578         {
579             value_value_buf.value = thisDeserializer.readBoolean();
580         }
581         Opt_Boolean value_value = value_value_buf;;
582         GetNodeModifiers()->getAlphabetIndexerModifier()->setAutoCollapse(self, (const Opt_Boolean*)&value_value);
583 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_autoCollapse,Ark_NativePointer,KSerializerBuffer,int32_t)584 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_autoCollapse, Ark_NativePointer, KSerializerBuffer, int32_t)
585 void impl_AlphabetIndexerAttribute_popupItemBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
586         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
587         Deserializer thisDeserializer(thisArray, thisLength);
588         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
589         Opt_Number value_value_buf = {};
590         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
591         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
592         {
593             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
594         }
595         Opt_Number value_value = value_value_buf;;
596         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBorderRadius(self, (const Opt_Number*)&value_value);
597 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemBorderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)598 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupItemBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
599 void impl_AlphabetIndexerAttribute_itemBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
600         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
601         Deserializer thisDeserializer(thisArray, thisLength);
602         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
603         Opt_Number value_value_buf = {};
604         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
605         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
606         {
607             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
608         }
609         Opt_Number value_value = value_value_buf;;
610         GetNodeModifiers()->getAlphabetIndexerModifier()->setItemBorderRadius(self, (const Opt_Number*)&value_value);
611 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_itemBorderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)612 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_itemBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
613 void impl_AlphabetIndexerAttribute_popupBackgroundBlurStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
614         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
615         Deserializer thisDeserializer(thisArray, thisLength);
616         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
617         Opt_BlurStyle value_value_buf = {};
618         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
619         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
620         {
621             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
622         }
623         Opt_BlurStyle value_value = value_value_buf;;
624         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackgroundBlurStyle(self, (const Opt_BlurStyle*)&value_value);
625 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupBackgroundBlurStyle,Ark_NativePointer,KSerializerBuffer,int32_t)626 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupBackgroundBlurStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
627 void impl_AlphabetIndexerAttribute_popupTitleBackground(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
628         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
629         Deserializer thisDeserializer(thisArray, thisLength);
630         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
631         Opt_ResourceColor value_value_buf = {};
632         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
633         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
634         {
635             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
636             Ark_ResourceColor value_value_buf_ = {};
637             value_value_buf_.selector = value_value_buf__selector;
638             if (value_value_buf__selector == 0) {
639                 value_value_buf_.selector = 0;
640                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
641             }
642             else if (value_value_buf__selector == 1) {
643                 value_value_buf_.selector = 1;
644                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
645             }
646             else if (value_value_buf__selector == 2) {
647                 value_value_buf_.selector = 2;
648                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
649             }
650             else if (value_value_buf__selector == 3) {
651                 value_value_buf_.selector = 3;
652                 value_value_buf_.value3 = thisDeserializer.readResource();
653             }
654             else {
655                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
656             }
657             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
658         }
659         Opt_ResourceColor value_value = value_value_buf;;
660         GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupTitleBackground(self, (const Opt_ResourceColor*)&value_value);
661 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupTitleBackground,Ark_NativePointer,KSerializerBuffer,int32_t)662 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_popupTitleBackground, Ark_NativePointer, KSerializerBuffer, int32_t)
663 void impl_AlphabetIndexerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
664         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
665         Deserializer thisDeserializer(thisArray, thisLength);
666         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
667         Opt_Boolean value_value_buf = {};
668         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
669         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
670         {
671             value_value_buf.value = thisDeserializer.readBoolean();
672         }
673         Opt_Boolean value_value = value_value_buf;;
674         GetNodeModifiers()->getAlphabetIndexerModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
675 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)676 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
677 void impl_AlphabetIndexerAttribute_alignStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
678         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
679         Deserializer thisDeserializer(thisArray, thisLength);
680         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
681         Opt_IndexerAlign value_value_buf = {};
682         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
683         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
684         {
685             value_value_buf.value = static_cast<Ark_IndexerAlign>(thisDeserializer.readInt32());
686         }
687         Opt_IndexerAlign value_value = value_value_buf;;
688         const auto offset_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
689         Opt_Length offset_value_buf = {};
690         offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
691         if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType))
692         {
693             offset_value_buf.value = thisDeserializer.readLength();
694         }
695         Opt_Length offset_value = offset_value_buf;;
696         GetNodeModifiers()->getAlphabetIndexerModifier()->setAlignStyle(self, (const Opt_IndexerAlign*)&value_value, (const Opt_Length*)&offset_value);
697 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_alignStyle,Ark_NativePointer,KSerializerBuffer,int32_t)698 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_alignStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
699 void impl_AlphabetIndexerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
700         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
701         Deserializer thisDeserializer(thisArray, thisLength);
702         Callback_Opt_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Number_Void))))};;
703         GetNodeModifiers()->getAlphabetIndexerModifier()->set_onChangeEvent_selected(self, (const Callback_Opt_Number_Void*)&callback_value);
704 }
KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)705 KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
706 Ark_NativePointer impl_Animator_construct(Ark_Int32 id, Ark_Int32 flags) {
707         return GetNodeModifiers()->getAnimatorModifier()->construct(id, flags);
708 }
KOALA_INTEROP_DIRECT_2(Animator_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)709 KOALA_INTEROP_DIRECT_2(Animator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
710 void impl_AnimatorInterface_setAnimatorOptions(Ark_NativePointer thisPtr, const KStringPtr& value) {
711         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
712         GetNodeModifiers()->getAnimatorModifier()->setAnimatorOptions(self, (const Ark_String*) (&value));
713 }
KOALA_INTEROP_V2(AnimatorInterface_setAnimatorOptions,Ark_NativePointer,KStringPtr)714 KOALA_INTEROP_V2(AnimatorInterface_setAnimatorOptions, Ark_NativePointer, KStringPtr)
715 void impl_AnimatorAttribute_state(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
716         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
717         Deserializer thisDeserializer(thisArray, thisLength);
718         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
719         Opt_AnimationStatus value_value_buf = {};
720         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
721         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
722         {
723             value_value_buf.value = static_cast<Ark_AnimationStatus>(thisDeserializer.readInt32());
724         }
725         Opt_AnimationStatus value_value = value_value_buf;;
726         GetNodeModifiers()->getAnimatorModifier()->setState(self, (const Opt_AnimationStatus*)&value_value);
727 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_state,Ark_NativePointer,KSerializerBuffer,int32_t)728 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_state, Ark_NativePointer, KSerializerBuffer, int32_t)
729 void impl_AnimatorAttribute_duration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
730         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
731         Deserializer thisDeserializer(thisArray, thisLength);
732         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
733         Opt_Number value_value_buf = {};
734         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
735         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
736         {
737             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
738         }
739         Opt_Number value_value = value_value_buf;;
740         GetNodeModifiers()->getAnimatorModifier()->setDuration(self, (const Opt_Number*)&value_value);
741 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_duration,Ark_NativePointer,KSerializerBuffer,int32_t)742 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_duration, Ark_NativePointer, KSerializerBuffer, int32_t)
743 void impl_AnimatorAttribute_curve(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
744         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
745         Deserializer thisDeserializer(thisArray, thisLength);
746         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
747         Opt_Curve value_value_buf = {};
748         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
749         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
750         {
751             value_value_buf.value = static_cast<Ark_Curve>(thisDeserializer.readInt32());
752         }
753         Opt_Curve value_value = value_value_buf;;
754         GetNodeModifiers()->getAnimatorModifier()->setCurve(self, (const Opt_Curve*)&value_value);
755 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_curve,Ark_NativePointer,KSerializerBuffer,int32_t)756 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_curve, Ark_NativePointer, KSerializerBuffer, int32_t)
757 void impl_AnimatorAttribute_delay(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
758         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
759         Deserializer thisDeserializer(thisArray, thisLength);
760         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
761         Opt_Number value_value_buf = {};
762         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
763         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
764         {
765             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
766         }
767         Opt_Number value_value = value_value_buf;;
768         GetNodeModifiers()->getAnimatorModifier()->setDelay(self, (const Opt_Number*)&value_value);
769 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_delay,Ark_NativePointer,KSerializerBuffer,int32_t)770 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_delay, Ark_NativePointer, KSerializerBuffer, int32_t)
771 void impl_AnimatorAttribute_fillMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
772         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
773         Deserializer thisDeserializer(thisArray, thisLength);
774         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
775         Opt_FillMode value_value_buf = {};
776         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
777         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
778         {
779             value_value_buf.value = static_cast<Ark_FillMode>(thisDeserializer.readInt32());
780         }
781         Opt_FillMode value_value = value_value_buf;;
782         GetNodeModifiers()->getAnimatorModifier()->setFillMode(self, (const Opt_FillMode*)&value_value);
783 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_fillMode,Ark_NativePointer,KSerializerBuffer,int32_t)784 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_fillMode, Ark_NativePointer, KSerializerBuffer, int32_t)
785 void impl_AnimatorAttribute_iterations(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
786         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
787         Deserializer thisDeserializer(thisArray, thisLength);
788         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
789         Opt_Number value_value_buf = {};
790         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
791         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
792         {
793             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
794         }
795         Opt_Number value_value = value_value_buf;;
796         GetNodeModifiers()->getAnimatorModifier()->setIterations(self, (const Opt_Number*)&value_value);
797 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_iterations,Ark_NativePointer,KSerializerBuffer,int32_t)798 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_iterations, Ark_NativePointer, KSerializerBuffer, int32_t)
799 void impl_AnimatorAttribute_playMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
800         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
801         Deserializer thisDeserializer(thisArray, thisLength);
802         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
803         Opt_PlayMode value_value_buf = {};
804         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
805         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
806         {
807             value_value_buf.value = static_cast<Ark_PlayMode>(thisDeserializer.readInt32());
808         }
809         Opt_PlayMode value_value = value_value_buf;;
810         GetNodeModifiers()->getAnimatorModifier()->setPlayMode(self, (const Opt_PlayMode*)&value_value);
811 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_playMode,Ark_NativePointer,KSerializerBuffer,int32_t)812 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_playMode, Ark_NativePointer, KSerializerBuffer, int32_t)
813 void impl_AnimatorAttribute_motion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
814         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
815         Deserializer thisDeserializer(thisArray, thisLength);
816         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
817         Opt_SpringMotion value_value_buf = {};
818         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
819         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
820         {
821             value_value_buf.value = static_cast<Ark_SpringMotion>(thisDeserializer.readSpringMotion());
822         }
823         Opt_SpringMotion value_value = value_value_buf;;
824         GetNodeModifiers()->getAnimatorModifier()->setMotion(self, (const Opt_SpringMotion*)&value_value);
825 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_motion,Ark_NativePointer,KSerializerBuffer,int32_t)826 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_motion, Ark_NativePointer, KSerializerBuffer, int32_t)
827 void impl_AnimatorAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
828         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
829         Deserializer thisDeserializer(thisArray, thisLength);
830         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
831         Opt_Callback_Void value_value_buf = {};
832         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
833         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
834         {
835             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
836         }
837         Opt_Callback_Void value_value = value_value_buf;;
838         GetNodeModifiers()->getAnimatorModifier()->setOnStart(self, (const Opt_Callback_Void*)&value_value);
839 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onStart,Ark_NativePointer,KSerializerBuffer,int32_t)840 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t)
841 void impl_AnimatorAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
842         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
843         Deserializer thisDeserializer(thisArray, thisLength);
844         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
845         Opt_Callback_Void value_value_buf = {};
846         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
847         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
848         {
849             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
850         }
851         Opt_Callback_Void value_value = value_value_buf;;
852         GetNodeModifiers()->getAnimatorModifier()->setOnPause(self, (const Opt_Callback_Void*)&value_value);
853 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onPause,Ark_NativePointer,KSerializerBuffer,int32_t)854 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t)
855 void impl_AnimatorAttribute_onRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
856         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
857         Deserializer thisDeserializer(thisArray, thisLength);
858         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
859         Opt_Callback_Void value_value_buf = {};
860         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
861         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
862         {
863             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
864         }
865         Opt_Callback_Void value_value = value_value_buf;;
866         GetNodeModifiers()->getAnimatorModifier()->setOnRepeat(self, (const Opt_Callback_Void*)&value_value);
867 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onRepeat,Ark_NativePointer,KSerializerBuffer,int32_t)868 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onRepeat, Ark_NativePointer, KSerializerBuffer, int32_t)
869 void impl_AnimatorAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
870         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
871         Deserializer thisDeserializer(thisArray, thisLength);
872         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
873         Opt_Callback_Void value_value_buf = {};
874         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
875         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
876         {
877             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
878         }
879         Opt_Callback_Void value_value = value_value_buf;;
880         GetNodeModifiers()->getAnimatorModifier()->setOnCancel(self, (const Opt_Callback_Void*)&value_value);
881 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onCancel,Ark_NativePointer,KSerializerBuffer,int32_t)882 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t)
883 void impl_AnimatorAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
884         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
885         Deserializer thisDeserializer(thisArray, thisLength);
886         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
887         Opt_Callback_Void value_value_buf = {};
888         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
889         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
890         {
891             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
892         }
893         Opt_Callback_Void value_value = value_value_buf;;
894         GetNodeModifiers()->getAnimatorModifier()->setOnFinish(self, (const Opt_Callback_Void*)&value_value);
895 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)896 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
897 void impl_AnimatorAttribute_onFrame(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
898         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
899         Deserializer thisDeserializer(thisArray, thisLength);
900         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
901         Opt_Callback_Number_Void value_value_buf = {};
902         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
903         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
904         {
905             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
906         }
907         Opt_Callback_Number_Void value_value = value_value_buf;;
908         GetNodeModifiers()->getAnimatorModifier()->setOnFrame(self, (const Opt_Callback_Number_Void*)&value_value);
909 }
KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onFrame,Ark_NativePointer,KSerializerBuffer,int32_t)910 KOALA_INTEROP_DIRECT_V3(AnimatorAttribute_onFrame, Ark_NativePointer, KSerializerBuffer, int32_t)
911 Ark_NativePointer impl_Badge_construct(Ark_Int32 id, Ark_Int32 flags) {
912         return GetNodeModifiers()->getBadgeModifier()->construct(id, flags);
913 }
KOALA_INTEROP_DIRECT_2(Badge_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)914 KOALA_INTEROP_DIRECT_2(Badge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
915 void impl_BadgeInterface_setBadgeOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
916         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
917         Deserializer thisDeserializer(thisArray, thisLength);
918         Ark_BadgeParamWithNumber value_value = thisDeserializer.readBadgeParamWithNumber();;
919         GetNodeModifiers()->getBadgeModifier()->setBadgeOptions0(self, (const Ark_BadgeParamWithNumber*)&value_value);
920 }
KOALA_INTEROP_DIRECT_V3(BadgeInterface_setBadgeOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)921 KOALA_INTEROP_DIRECT_V3(BadgeInterface_setBadgeOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
922 void impl_BadgeInterface_setBadgeOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
923         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
924         Deserializer thisDeserializer(thisArray, thisLength);
925         Ark_BadgeParamWithString value_value = thisDeserializer.readBadgeParamWithString();;
926         GetNodeModifiers()->getBadgeModifier()->setBadgeOptions1(self, (const Ark_BadgeParamWithString*)&value_value);
927 }
KOALA_INTEROP_DIRECT_V3(BadgeInterface_setBadgeOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)928 KOALA_INTEROP_DIRECT_V3(BadgeInterface_setBadgeOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
929 Ark_NativePointer impl_Blank_construct(Ark_Int32 id, Ark_Int32 flags) {
930         return GetNodeModifiers()->getBlankModifier()->construct(id, flags);
931 }
KOALA_INTEROP_DIRECT_2(Blank_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)932 KOALA_INTEROP_DIRECT_2(Blank_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
933 void impl_BlankInterface_setBlankOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
934         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
935         Deserializer thisDeserializer(thisArray, thisLength);
936         const auto min_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
937         Opt_Union_Number_String min_value_buf = {};
938         min_value_buf.tag = min_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
939         if ((INTEROP_RUNTIME_UNDEFINED) != (min_value_buf_runtimeType))
940         {
941             const Ark_Int8 min_value_buf__selector = thisDeserializer.readInt8();
942             Ark_Union_Number_String min_value_buf_ = {};
943             min_value_buf_.selector = min_value_buf__selector;
944             if (min_value_buf__selector == 0) {
945                 min_value_buf_.selector = 0;
946                 min_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
947             }
948             else if (min_value_buf__selector == 1) {
949                 min_value_buf_.selector = 1;
950                 min_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
951             }
952             else {
953                 INTEROP_FATAL("One of the branches for min_value_buf_ has to be chosen through deserialisation.");
954             }
955             min_value_buf.value = static_cast<Ark_Union_Number_String>(min_value_buf_);
956         }
957         Opt_Union_Number_String min_value = min_value_buf;;
958         GetNodeModifiers()->getBlankModifier()->setBlankOptions(self, (const Opt_Union_Number_String*)&min_value);
959 }
KOALA_INTEROP_DIRECT_V3(BlankInterface_setBlankOptions,Ark_NativePointer,KSerializerBuffer,int32_t)960 KOALA_INTEROP_DIRECT_V3(BlankInterface_setBlankOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
961 void impl_BlankAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
962         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
963         Deserializer thisDeserializer(thisArray, thisLength);
964         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
965         Opt_ResourceColor value_value_buf = {};
966         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
967         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
968         {
969             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
970             Ark_ResourceColor value_value_buf_ = {};
971             value_value_buf_.selector = value_value_buf__selector;
972             if (value_value_buf__selector == 0) {
973                 value_value_buf_.selector = 0;
974                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
975             }
976             else if (value_value_buf__selector == 1) {
977                 value_value_buf_.selector = 1;
978                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
979             }
980             else if (value_value_buf__selector == 2) {
981                 value_value_buf_.selector = 2;
982                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
983             }
984             else if (value_value_buf__selector == 3) {
985                 value_value_buf_.selector = 3;
986                 value_value_buf_.value3 = thisDeserializer.readResource();
987             }
988             else {
989                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
990             }
991             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
992         }
993         Opt_ResourceColor value_value = value_value_buf;;
994         GetNodeModifiers()->getBlankModifier()->setColor(self, (const Opt_ResourceColor*)&value_value);
995 }
KOALA_INTEROP_DIRECT_V3(BlankAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)996 KOALA_INTEROP_DIRECT_V3(BlankAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
997 Ark_NativePointer impl_Button_construct(Ark_Int32 id, Ark_Int32 flags) {
998         return GetNodeModifiers()->getButtonModifier()->construct(id, flags);
999 }
KOALA_INTEROP_DIRECT_2(Button_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)1000 KOALA_INTEROP_DIRECT_2(Button_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
1001 void impl_ButtonInterface_setButtonOptions0(Ark_NativePointer thisPtr) {
1002         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1003         GetNodeModifiers()->getButtonModifier()->setButtonOptions0(self);
1004 }
KOALA_INTEROP_DIRECT_V1(ButtonInterface_setButtonOptions0,Ark_NativePointer)1005 KOALA_INTEROP_DIRECT_V1(ButtonInterface_setButtonOptions0, Ark_NativePointer)
1006 void impl_ButtonInterface_setButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1007         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1008         Deserializer thisDeserializer(thisArray, thisLength);
1009         Ark_ButtonOptions options_value = thisDeserializer.readButtonOptions();;
1010         GetNodeModifiers()->getButtonModifier()->setButtonOptions1(self, (const Ark_ButtonOptions*)&options_value);
1011 }
KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)1012 KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
1013 void impl_ButtonInterface_setButtonOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1014         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1015         Deserializer thisDeserializer(thisArray, thisLength);
1016         const Ark_Int8 label_value_buf_selector = thisDeserializer.readInt8();
1017         Ark_ResourceStr label_value_buf = {};
1018         label_value_buf.selector = label_value_buf_selector;
1019         if (label_value_buf_selector == 0) {
1020             label_value_buf.selector = 0;
1021             label_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
1022         }
1023         else if (label_value_buf_selector == 1) {
1024             label_value_buf.selector = 1;
1025             label_value_buf.value1 = thisDeserializer.readResource();
1026         }
1027         else {
1028             INTEROP_FATAL("One of the branches for label_value_buf has to be chosen through deserialisation.");
1029         }
1030         Ark_ResourceStr label_value = static_cast<Ark_ResourceStr>(label_value_buf);;
1031         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1032         Opt_ButtonOptions options_value_buf = {};
1033         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1034         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
1035         {
1036             options_value_buf.value = thisDeserializer.readButtonOptions();
1037         }
1038         Opt_ButtonOptions options_value = options_value_buf;;
1039         GetNodeModifiers()->getButtonModifier()->setButtonOptions2(self, (const Ark_ResourceStr*)&label_value, (const Opt_ButtonOptions*)&options_value);
1040 }
KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions2,Ark_NativePointer,KSerializerBuffer,int32_t)1041 KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions2, Ark_NativePointer, KSerializerBuffer, int32_t)
1042 void impl_ButtonAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1043         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1044         Deserializer thisDeserializer(thisArray, thisLength);
1045         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1046         Opt_ButtonType value_value_buf = {};
1047         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1048         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1049         {
1050             value_value_buf.value = static_cast<Ark_ButtonType>(thisDeserializer.readInt32());
1051         }
1052         Opt_ButtonType value_value = value_value_buf;;
1053         GetNodeModifiers()->getButtonModifier()->setType(self, (const Opt_ButtonType*)&value_value);
1054 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)1055 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
1056 void impl_ButtonAttribute_stateEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1057         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1058         Deserializer thisDeserializer(thisArray, thisLength);
1059         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1060         Opt_Boolean value_value_buf = {};
1061         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1062         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1063         {
1064             value_value_buf.value = thisDeserializer.readBoolean();
1065         }
1066         Opt_Boolean value_value = value_value_buf;;
1067         GetNodeModifiers()->getButtonModifier()->setStateEffect(self, (const Opt_Boolean*)&value_value);
1068 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_stateEffect,Ark_NativePointer,KSerializerBuffer,int32_t)1069 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_stateEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
1070 void impl_ButtonAttribute_buttonStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1071         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1072         Deserializer thisDeserializer(thisArray, thisLength);
1073         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1074         Opt_ButtonStyleMode value_value_buf = {};
1075         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1076         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1077         {
1078             value_value_buf.value = static_cast<Ark_ButtonStyleMode>(thisDeserializer.readInt32());
1079         }
1080         Opt_ButtonStyleMode value_value = value_value_buf;;
1081         GetNodeModifiers()->getButtonModifier()->setButtonStyle(self, (const Opt_ButtonStyleMode*)&value_value);
1082 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_buttonStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1083 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_buttonStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1084 void impl_ButtonAttribute_controlSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1085         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1086         Deserializer thisDeserializer(thisArray, thisLength);
1087         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1088         Opt_ControlSize value_value_buf = {};
1089         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1090         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1091         {
1092             value_value_buf.value = static_cast<Ark_ControlSize>(thisDeserializer.readInt32());
1093         }
1094         Opt_ControlSize value_value = value_value_buf;;
1095         GetNodeModifiers()->getButtonModifier()->setControlSize(self, (const Opt_ControlSize*)&value_value);
1096 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_controlSize,Ark_NativePointer,KSerializerBuffer,int32_t)1097 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_controlSize, Ark_NativePointer, KSerializerBuffer, int32_t)
1098 void impl_ButtonAttribute_role(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1099         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1100         Deserializer thisDeserializer(thisArray, thisLength);
1101         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1102         Opt_ButtonRole value_value_buf = {};
1103         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1104         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1105         {
1106             value_value_buf.value = static_cast<Ark_ButtonRole>(thisDeserializer.readInt32());
1107         }
1108         Opt_ButtonRole value_value = value_value_buf;;
1109         GetNodeModifiers()->getButtonModifier()->setRole(self, (const Opt_ButtonRole*)&value_value);
1110 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_role,Ark_NativePointer,KSerializerBuffer,int32_t)1111 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_role, Ark_NativePointer, KSerializerBuffer, int32_t)
1112 void impl_ButtonAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1113         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1114         Deserializer thisDeserializer(thisArray, thisLength);
1115         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1116         Opt_ResourceColor value_value_buf = {};
1117         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1118         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1119         {
1120             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1121             Ark_ResourceColor value_value_buf_ = {};
1122             value_value_buf_.selector = value_value_buf__selector;
1123             if (value_value_buf__selector == 0) {
1124                 value_value_buf_.selector = 0;
1125                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
1126             }
1127             else if (value_value_buf__selector == 1) {
1128                 value_value_buf_.selector = 1;
1129                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
1130             }
1131             else if (value_value_buf__selector == 2) {
1132                 value_value_buf_.selector = 2;
1133                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
1134             }
1135             else if (value_value_buf__selector == 3) {
1136                 value_value_buf_.selector = 3;
1137                 value_value_buf_.value3 = thisDeserializer.readResource();
1138             }
1139             else {
1140                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1141             }
1142             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
1143         }
1144         Opt_ResourceColor value_value = value_value_buf;;
1145         GetNodeModifiers()->getButtonModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
1146 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)1147 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
1148 void impl_ButtonAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1149         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1150         Deserializer thisDeserializer(thisArray, thisLength);
1151         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1152         Opt_Length value_value_buf = {};
1153         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1154         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1155         {
1156             value_value_buf.value = thisDeserializer.readLength();
1157         }
1158         Opt_Length value_value = value_value_buf;;
1159         GetNodeModifiers()->getButtonModifier()->setFontSize(self, (const Opt_Length*)&value_value);
1160 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)1161 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
1162 void impl_ButtonAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1163         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1164         Deserializer thisDeserializer(thisArray, thisLength);
1165         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1166         Opt_Union_Number_FontWeight_String value_value_buf = {};
1167         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1168         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1169         {
1170             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1171             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
1172             value_value_buf_.selector = value_value_buf__selector;
1173             if (value_value_buf__selector == 0) {
1174                 value_value_buf_.selector = 0;
1175                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
1176             }
1177             else if (value_value_buf__selector == 1) {
1178                 value_value_buf_.selector = 1;
1179                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
1180             }
1181             else if (value_value_buf__selector == 2) {
1182                 value_value_buf_.selector = 2;
1183                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
1184             }
1185             else {
1186                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1187             }
1188             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
1189         }
1190         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
1191         GetNodeModifiers()->getButtonModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
1192 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)1193 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
1194 void impl_ButtonAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1195         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1196         Deserializer thisDeserializer(thisArray, thisLength);
1197         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1198         Opt_FontStyle value_value_buf = {};
1199         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1200         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1201         {
1202             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
1203         }
1204         Opt_FontStyle value_value = value_value_buf;;
1205         GetNodeModifiers()->getButtonModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
1206 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1207 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1208 void impl_ButtonAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1209         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1210         Deserializer thisDeserializer(thisArray, thisLength);
1211         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1212         Opt_Union_String_Resource value_value_buf = {};
1213         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1214         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1215         {
1216             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1217             Ark_Union_String_Resource value_value_buf_ = {};
1218             value_value_buf_.selector = value_value_buf__selector;
1219             if (value_value_buf__selector == 0) {
1220                 value_value_buf_.selector = 0;
1221                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
1222             }
1223             else if (value_value_buf__selector == 1) {
1224                 value_value_buf_.selector = 1;
1225                 value_value_buf_.value1 = thisDeserializer.readResource();
1226             }
1227             else {
1228                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1229             }
1230             value_value_buf.value = static_cast<Ark_Union_String_Resource>(value_value_buf_);
1231         }
1232         Opt_Union_String_Resource value_value = value_value_buf;;
1233         GetNodeModifiers()->getButtonModifier()->setFontFamily(self, (const Opt_Union_String_Resource*)&value_value);
1234 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)1235 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
1236 void impl_ButtonAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1237         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1238         Deserializer thisDeserializer(thisArray, thisLength);
1239         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1240         Opt_ContentModifier value_value_buf = {};
1241         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1242         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1243         {
1244             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
1245         }
1246         Opt_ContentModifier value_value = value_value_buf;;
1247         GetNodeModifiers()->getButtonModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
1248 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)1249 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
1250 void impl_ButtonAttribute_labelStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1251         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1252         Deserializer thisDeserializer(thisArray, thisLength);
1253         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1254         Opt_LabelStyle value_value_buf = {};
1255         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1256         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1257         {
1258             value_value_buf.value = thisDeserializer.readLabelStyle();
1259         }
1260         Opt_LabelStyle value_value = value_value_buf;;
1261         GetNodeModifiers()->getButtonModifier()->setLabelStyle(self, (const Opt_LabelStyle*)&value_value);
1262 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_labelStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1263 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_labelStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1264 void impl_ButtonAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1265         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1266         Deserializer thisDeserializer(thisArray, thisLength);
1267         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1268         Opt_Union_Number_Resource value_value_buf = {};
1269         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1270         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1271         {
1272             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1273             Ark_Union_Number_Resource value_value_buf_ = {};
1274             value_value_buf_.selector = value_value_buf__selector;
1275             if (value_value_buf__selector == 0) {
1276                 value_value_buf_.selector = 0;
1277                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
1278             }
1279             else if (value_value_buf__selector == 1) {
1280                 value_value_buf_.selector = 1;
1281                 value_value_buf_.value1 = thisDeserializer.readResource();
1282             }
1283             else {
1284                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1285             }
1286             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
1287         }
1288         Opt_Union_Number_Resource value_value = value_value_buf;;
1289         GetNodeModifiers()->getButtonModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
1290 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)1291 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
1292 void impl_ButtonAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1293         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1294         Deserializer thisDeserializer(thisArray, thisLength);
1295         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1296         Opt_Union_Number_Resource value_value_buf = {};
1297         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1298         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1299         {
1300             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1301             Ark_Union_Number_Resource value_value_buf_ = {};
1302             value_value_buf_.selector = value_value_buf__selector;
1303             if (value_value_buf__selector == 0) {
1304                 value_value_buf_.selector = 0;
1305                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
1306             }
1307             else if (value_value_buf__selector == 1) {
1308                 value_value_buf_.selector = 1;
1309                 value_value_buf_.value1 = thisDeserializer.readResource();
1310             }
1311             else {
1312                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1313             }
1314             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
1315         }
1316         Opt_Union_Number_Resource value_value = value_value_buf;;
1317         GetNodeModifiers()->getButtonModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
1318 }
KOALA_INTEROP_DIRECT_V3(ButtonAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)1319 KOALA_INTEROP_DIRECT_V3(ButtonAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
1320 Ark_NativePointer impl_Calendar_construct(Ark_Int32 id, Ark_Int32 flags) {
1321         return GetNodeModifiers()->getCalendarModifier()->construct(id, flags);
1322 }
KOALA_INTEROP_DIRECT_2(Calendar_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)1323 KOALA_INTEROP_DIRECT_2(Calendar_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
1324 void impl_CalendarInterface_setCalendarOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1325         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1326         Deserializer thisDeserializer(thisArray, thisLength);
1327         Ark_Type_CalendarInterface_callable0_value value_value_buf = {};
1328         Ark_Literal_Number_day_month_year value_value_buf_date_buf = {};
1329         value_value_buf_date_buf.year = static_cast<Ark_Number>(thisDeserializer.readNumber());
1330         value_value_buf_date_buf.month = static_cast<Ark_Number>(thisDeserializer.readNumber());
1331         value_value_buf_date_buf.day = static_cast<Ark_Number>(thisDeserializer.readNumber());
1332         value_value_buf.date = value_value_buf_date_buf;
1333         value_value_buf.currentData = thisDeserializer.readMonthData();
1334         value_value_buf.preData = thisDeserializer.readMonthData();
1335         value_value_buf.nextData = thisDeserializer.readMonthData();
1336         const auto value_value_buf_controller_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1337         Opt_CalendarController value_value_buf_controller_buf = {};
1338         value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1339         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType))
1340         {
1341             value_value_buf_controller_buf.value = static_cast<Ark_CalendarController>(thisDeserializer.readCalendarController());
1342         }
1343         value_value_buf.controller = value_value_buf_controller_buf;
1344         Ark_Type_CalendarInterface_callable0_value value_value = value_value_buf;;
1345         GetNodeModifiers()->getCalendarModifier()->setCalendarOptions(self, (const Ark_Type_CalendarInterface_callable0_value*)&value_value);
1346 }
KOALA_INTEROP_DIRECT_V3(CalendarInterface_setCalendarOptions,Ark_NativePointer,KSerializerBuffer,int32_t)1347 KOALA_INTEROP_DIRECT_V3(CalendarInterface_setCalendarOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
1348 void impl_CalendarAttribute_showLunar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1349         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1350         Deserializer thisDeserializer(thisArray, thisLength);
1351         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1352         Opt_Boolean value_value_buf = {};
1353         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1354         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1355         {
1356             value_value_buf.value = thisDeserializer.readBoolean();
1357         }
1358         Opt_Boolean value_value = value_value_buf;;
1359         GetNodeModifiers()->getCalendarModifier()->setShowLunar(self, (const Opt_Boolean*)&value_value);
1360 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_showLunar,Ark_NativePointer,KSerializerBuffer,int32_t)1361 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_showLunar, Ark_NativePointer, KSerializerBuffer, int32_t)
1362 void impl_CalendarAttribute_showHoliday(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1363         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1364         Deserializer thisDeserializer(thisArray, thisLength);
1365         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1366         Opt_Boolean value_value_buf = {};
1367         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1368         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1369         {
1370             value_value_buf.value = thisDeserializer.readBoolean();
1371         }
1372         Opt_Boolean value_value = value_value_buf;;
1373         GetNodeModifiers()->getCalendarModifier()->setShowHoliday(self, (const Opt_Boolean*)&value_value);
1374 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_showHoliday,Ark_NativePointer,KSerializerBuffer,int32_t)1375 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_showHoliday, Ark_NativePointer, KSerializerBuffer, int32_t)
1376 void impl_CalendarAttribute_needSlide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1377         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1378         Deserializer thisDeserializer(thisArray, thisLength);
1379         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1380         Opt_Boolean value_value_buf = {};
1381         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1382         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1383         {
1384             value_value_buf.value = thisDeserializer.readBoolean();
1385         }
1386         Opt_Boolean value_value = value_value_buf;;
1387         GetNodeModifiers()->getCalendarModifier()->setNeedSlide(self, (const Opt_Boolean*)&value_value);
1388 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_needSlide,Ark_NativePointer,KSerializerBuffer,int32_t)1389 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_needSlide, Ark_NativePointer, KSerializerBuffer, int32_t)
1390 void impl_CalendarAttribute_startOfWeek(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1391         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1392         Deserializer thisDeserializer(thisArray, thisLength);
1393         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1394         Opt_Number value_value_buf = {};
1395         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1396         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1397         {
1398             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
1399         }
1400         Opt_Number value_value = value_value_buf;;
1401         GetNodeModifiers()->getCalendarModifier()->setStartOfWeek(self, (const Opt_Number*)&value_value);
1402 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_startOfWeek,Ark_NativePointer,KSerializerBuffer,int32_t)1403 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_startOfWeek, Ark_NativePointer, KSerializerBuffer, int32_t)
1404 void impl_CalendarAttribute_offDays(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1405         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1406         Deserializer thisDeserializer(thisArray, thisLength);
1407         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1408         Opt_Number value_value_buf = {};
1409         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1410         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1411         {
1412             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
1413         }
1414         Opt_Number value_value = value_value_buf;;
1415         GetNodeModifiers()->getCalendarModifier()->setOffDays(self, (const Opt_Number*)&value_value);
1416 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_offDays,Ark_NativePointer,KSerializerBuffer,int32_t)1417 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_offDays, Ark_NativePointer, KSerializerBuffer, int32_t)
1418 void impl_CalendarAttribute_direction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1419         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1420         Deserializer thisDeserializer(thisArray, thisLength);
1421         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1422         Opt_Axis value_value_buf = {};
1423         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1424         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1425         {
1426             value_value_buf.value = static_cast<Ark_Axis>(thisDeserializer.readInt32());
1427         }
1428         Opt_Axis value_value = value_value_buf;;
1429         GetNodeModifiers()->getCalendarModifier()->setDirection(self, (const Opt_Axis*)&value_value);
1430 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_direction,Ark_NativePointer,KSerializerBuffer,int32_t)1431 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_direction, Ark_NativePointer, KSerializerBuffer, int32_t)
1432 void impl_CalendarAttribute_currentDayStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1433         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1434         Deserializer thisDeserializer(thisArray, thisLength);
1435         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1436         Opt_CurrentDayStyle value_value_buf = {};
1437         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1438         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1439         {
1440             value_value_buf.value = thisDeserializer.readCurrentDayStyle();
1441         }
1442         Opt_CurrentDayStyle value_value = value_value_buf;;
1443         GetNodeModifiers()->getCalendarModifier()->setCurrentDayStyle(self, (const Opt_CurrentDayStyle*)&value_value);
1444 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_currentDayStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1445 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_currentDayStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1446 void impl_CalendarAttribute_nonCurrentDayStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1447         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1448         Deserializer thisDeserializer(thisArray, thisLength);
1449         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1450         Opt_NonCurrentDayStyle value_value_buf = {};
1451         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1452         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1453         {
1454             value_value_buf.value = thisDeserializer.readNonCurrentDayStyle();
1455         }
1456         Opt_NonCurrentDayStyle value_value = value_value_buf;;
1457         GetNodeModifiers()->getCalendarModifier()->setNonCurrentDayStyle(self, (const Opt_NonCurrentDayStyle*)&value_value);
1458 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_nonCurrentDayStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1459 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_nonCurrentDayStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1460 void impl_CalendarAttribute_todayStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1461         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1462         Deserializer thisDeserializer(thisArray, thisLength);
1463         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1464         Opt_TodayStyle value_value_buf = {};
1465         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1466         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1467         {
1468             value_value_buf.value = thisDeserializer.readTodayStyle();
1469         }
1470         Opt_TodayStyle value_value = value_value_buf;;
1471         GetNodeModifiers()->getCalendarModifier()->setTodayStyle(self, (const Opt_TodayStyle*)&value_value);
1472 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_todayStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1473 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_todayStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1474 void impl_CalendarAttribute_weekStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1475         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1476         Deserializer thisDeserializer(thisArray, thisLength);
1477         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1478         Opt_WeekStyle value_value_buf = {};
1479         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1480         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1481         {
1482             value_value_buf.value = thisDeserializer.readWeekStyle();
1483         }
1484         Opt_WeekStyle value_value = value_value_buf;;
1485         GetNodeModifiers()->getCalendarModifier()->setWeekStyle(self, (const Opt_WeekStyle*)&value_value);
1486 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_weekStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1487 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_weekStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1488 void impl_CalendarAttribute_workStateStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1489         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1490         Deserializer thisDeserializer(thisArray, thisLength);
1491         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1492         Opt_WorkStateStyle value_value_buf = {};
1493         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1494         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1495         {
1496             value_value_buf.value = thisDeserializer.readWorkStateStyle();
1497         }
1498         Opt_WorkStateStyle value_value = value_value_buf;;
1499         GetNodeModifiers()->getCalendarModifier()->setWorkStateStyle(self, (const Opt_WorkStateStyle*)&value_value);
1500 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_workStateStyle,Ark_NativePointer,KSerializerBuffer,int32_t)1501 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_workStateStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
1502 void impl_CalendarAttribute_onSelectChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1503         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1504         Deserializer thisDeserializer(thisArray, thisLength);
1505         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1506         Opt_Callback_CalendarSelectedDate_Void value_value_buf = {};
1507         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1508         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1509         {
1510             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CalendarSelectedDate_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CalendarSelectedDate_Void))))};
1511         }
1512         Opt_Callback_CalendarSelectedDate_Void value_value = value_value_buf;;
1513         GetNodeModifiers()->getCalendarModifier()->setOnSelectChange(self, (const Opt_Callback_CalendarSelectedDate_Void*)&value_value);
1514 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_onSelectChange,Ark_NativePointer,KSerializerBuffer,int32_t)1515 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_onSelectChange, Ark_NativePointer, KSerializerBuffer, int32_t)
1516 void impl_CalendarAttribute_onRequestData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1517         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1518         Deserializer thisDeserializer(thisArray, thisLength);
1519         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1520         Opt_Callback_CalendarRequestedData_Void value_value_buf = {};
1521         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1522         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1523         {
1524             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CalendarRequestedData event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CalendarRequestedData_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CalendarRequestedData event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CalendarRequestedData_Void))))};
1525         }
1526         Opt_Callback_CalendarRequestedData_Void value_value = value_value_buf;;
1527         GetNodeModifiers()->getCalendarModifier()->setOnRequestData(self, (const Opt_Callback_CalendarRequestedData_Void*)&value_value);
1528 }
KOALA_INTEROP_DIRECT_V3(CalendarAttribute_onRequestData,Ark_NativePointer,KSerializerBuffer,int32_t)1529 KOALA_INTEROP_DIRECT_V3(CalendarAttribute_onRequestData, Ark_NativePointer, KSerializerBuffer, int32_t)
1530 Ark_NativePointer impl_CalendarPicker_construct(Ark_Int32 id, Ark_Int32 flags) {
1531         return GetNodeModifiers()->getCalendarPickerModifier()->construct(id, flags);
1532 }
KOALA_INTEROP_DIRECT_2(CalendarPicker_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)1533 KOALA_INTEROP_DIRECT_2(CalendarPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
1534 void impl_CalendarPickerInterface_setCalendarPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1535         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1536         Deserializer thisDeserializer(thisArray, thisLength);
1537         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1538         Opt_CalendarOptions options_value_buf = {};
1539         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1540         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
1541         {
1542             options_value_buf.value = thisDeserializer.readCalendarOptions();
1543         }
1544         Opt_CalendarOptions options_value = options_value_buf;;
1545         GetNodeModifiers()->getCalendarPickerModifier()->setCalendarPickerOptions(self, (const Opt_CalendarOptions*)&options_value);
1546 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerInterface_setCalendarPickerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)1547 KOALA_INTEROP_DIRECT_V3(CalendarPickerInterface_setCalendarPickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
1548 void impl_CalendarPickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1549         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1550         Deserializer thisDeserializer(thisArray, thisLength);
1551         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1552         Opt_PickerTextStyle value_value_buf = {};
1553         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1554         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1555         {
1556             value_value_buf.value = thisDeserializer.readPickerTextStyle();
1557         }
1558         Opt_PickerTextStyle value_value = value_value_buf;;
1559         GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
1560 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)1561 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
1562 void impl_CalendarPickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1564         Deserializer thisDeserializer(thisArray, thisLength);
1565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1566         Opt_PickerTextStyle value_value_buf = {};
1567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1569         {
1570             value_value_buf.value = thisDeserializer.readPickerTextStyle();
1571         }
1572         Opt_PickerTextStyle value_value = value_value_buf;;
1573         GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
1574 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)1575 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
1576 void impl_CalendarPickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1577         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1578         Deserializer thisDeserializer(thisArray, thisLength);
1579         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1580         Opt_Callback_Date_Void value_value_buf = {};
1581         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1582         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1583         {
1584             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};
1585         }
1586         Opt_Callback_Date_Void value_value = value_value_buf;;
1587         GetNodeModifiers()->getCalendarPickerModifier()->setOnChange0(self, (const Opt_Callback_Date_Void*)&value_value);
1588 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)1589 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
1590 void impl_CalendarPickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1591         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1592         Deserializer thisDeserializer(thisArray, thisLength);
1593         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1594         Opt_Callback_Date_Void value_value_buf = {};
1595         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1596         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1597         {
1598             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};
1599         }
1600         Opt_Callback_Date_Void value_value = value_value_buf;;
1601         GetNodeModifiers()->getCalendarPickerModifier()->setOnChange1(self, (const Opt_Callback_Date_Void*)&value_value);
1602 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)1603 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
1604 void impl_CalendarPickerAttribute_markToday(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1605         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1606         Deserializer thisDeserializer(thisArray, thisLength);
1607         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1608         Opt_Boolean value_value_buf = {};
1609         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1610         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1611         {
1612             value_value_buf.value = thisDeserializer.readBoolean();
1613         }
1614         Opt_Boolean value_value = value_value_buf;;
1615         GetNodeModifiers()->getCalendarPickerModifier()->setMarkToday(self, (const Opt_Boolean*)&value_value);
1616 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_markToday,Ark_NativePointer,KSerializerBuffer,int32_t)1617 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_markToday, Ark_NativePointer, KSerializerBuffer, int32_t)
1618 void impl_CalendarPickerAttribute_edgeAlign0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1619         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1620         Deserializer thisDeserializer(thisArray, thisLength);
1621         const auto alignType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1622         Opt_CalendarAlign alignType_value_buf = {};
1623         alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1624         if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType))
1625         {
1626             alignType_value_buf.value = static_cast<Ark_CalendarAlign>(thisDeserializer.readInt32());
1627         }
1628         Opt_CalendarAlign alignType_value = alignType_value_buf;;
1629         const auto offset_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1630         Opt_Offset offset_value_buf = {};
1631         offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1632         if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType))
1633         {
1634             offset_value_buf.value = thisDeserializer.readOffset();
1635         }
1636         Opt_Offset offset_value = offset_value_buf;;
1637         GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign0(self, (const Opt_CalendarAlign*)&alignType_value, (const Opt_Offset*)&offset_value);
1638 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_edgeAlign0,Ark_NativePointer,KSerializerBuffer,int32_t)1639 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_edgeAlign0, Ark_NativePointer, KSerializerBuffer, int32_t)
1640 void impl_CalendarPickerAttribute_edgeAlign1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1641         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1642         Deserializer thisDeserializer(thisArray, thisLength);
1643         const auto alignType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1644         Opt_CalendarAlign alignType_value_buf = {};
1645         alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1646         if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType))
1647         {
1648             alignType_value_buf.value = static_cast<Ark_CalendarAlign>(thisDeserializer.readInt32());
1649         }
1650         Opt_CalendarAlign alignType_value = alignType_value_buf;;
1651         const auto offset_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1652         Opt_Offset offset_value_buf = {};
1653         offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1654         if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType))
1655         {
1656             offset_value_buf.value = thisDeserializer.readOffset();
1657         }
1658         Opt_Offset offset_value = offset_value_buf;;
1659         GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign1(self, (const Opt_CalendarAlign*)&alignType_value, (const Opt_Offset*)&offset_value);
1660 }
KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_edgeAlign1,Ark_NativePointer,KSerializerBuffer,int32_t)1661 KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_edgeAlign1, Ark_NativePointer, KSerializerBuffer, int32_t)
1662 Ark_NativePointer impl_Common_construct(Ark_Int32 id, Ark_Int32 flags) {
1663         return GetNodeModifiers()->getCommonModifier()->construct(id, flags);
1664 }
KOALA_INTEROP_DIRECT_2(Common_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)1665 KOALA_INTEROP_DIRECT_2(Common_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
1666 void impl_CommonInterface_setCommonOptions(Ark_NativePointer thisPtr) {
1667         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1668         GetNodeModifiers()->getCommonModifier()->setCommonOptions(self);
1669 }
KOALA_INTEROP_DIRECT_V1(CommonInterface_setCommonOptions,Ark_NativePointer)1670 KOALA_INTEROP_DIRECT_V1(CommonInterface_setCommonOptions, Ark_NativePointer)
1671 Ark_NativePointer impl_CommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) {
1672         return GetNodeModifiers()->getCommonMethodModifier()->construct(id, flags);
1673 }
KOALA_INTEROP_DIRECT_2(CommonMethod_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)1674 KOALA_INTEROP_DIRECT_2(CommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
1675 void impl_CommonMethod_width0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1676         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1677         Deserializer thisDeserializer(thisArray, thisLength);
1678         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1679         Opt_Length value_value_buf = {};
1680         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1681         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1682         {
1683             value_value_buf.value = thisDeserializer.readLength();
1684         }
1685         Opt_Length value_value = value_value_buf;;
1686         GetNodeModifiers()->getCommonMethodModifier()->setWidth0(self, (const Opt_Length*)&value_value);
1687 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_width0,Ark_NativePointer,KSerializerBuffer,int32_t)1688 KOALA_INTEROP_DIRECT_V3(CommonMethod_width0, Ark_NativePointer, KSerializerBuffer, int32_t)
1689 void impl_CommonMethod_width1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1690         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1691         Deserializer thisDeserializer(thisArray, thisLength);
1692         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1693         Opt_Union_Length_LayoutPolicy value_value_buf = {};
1694         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1695         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1696         {
1697             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1698             Ark_Union_Length_LayoutPolicy value_value_buf_ = {};
1699             value_value_buf_.selector = value_value_buf__selector;
1700             if (value_value_buf__selector == 0) {
1701                 value_value_buf_.selector = 0;
1702                 value_value_buf_.value0 = thisDeserializer.readLength();
1703             }
1704             else if (value_value_buf__selector == 1) {
1705                 value_value_buf_.selector = 1;
1706                 value_value_buf_.value1 = thisDeserializer.readLayoutPolicy();
1707             }
1708             else {
1709                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1710             }
1711             value_value_buf.value = static_cast<Ark_Union_Length_LayoutPolicy>(value_value_buf_);
1712         }
1713         Opt_Union_Length_LayoutPolicy value_value = value_value_buf;;
1714         GetNodeModifiers()->getCommonMethodModifier()->setWidth1(self, (const Opt_Union_Length_LayoutPolicy*)&value_value);
1715 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_width1,Ark_NativePointer,KSerializerBuffer,int32_t)1716 KOALA_INTEROP_DIRECT_V3(CommonMethod_width1, Ark_NativePointer, KSerializerBuffer, int32_t)
1717 void impl_CommonMethod_height0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1718         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1719         Deserializer thisDeserializer(thisArray, thisLength);
1720         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1721         Opt_Length value_value_buf = {};
1722         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1723         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1724         {
1725             value_value_buf.value = thisDeserializer.readLength();
1726         }
1727         Opt_Length value_value = value_value_buf;;
1728         GetNodeModifiers()->getCommonMethodModifier()->setHeight0(self, (const Opt_Length*)&value_value);
1729 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_height0,Ark_NativePointer,KSerializerBuffer,int32_t)1730 KOALA_INTEROP_DIRECT_V3(CommonMethod_height0, Ark_NativePointer, KSerializerBuffer, int32_t)
1731 void impl_CommonMethod_height1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1732         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1733         Deserializer thisDeserializer(thisArray, thisLength);
1734         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1735         Opt_Union_Length_LayoutPolicy value_value_buf = {};
1736         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1737         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1738         {
1739             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1740             Ark_Union_Length_LayoutPolicy value_value_buf_ = {};
1741             value_value_buf_.selector = value_value_buf__selector;
1742             if (value_value_buf__selector == 0) {
1743                 value_value_buf_.selector = 0;
1744                 value_value_buf_.value0 = thisDeserializer.readLength();
1745             }
1746             else if (value_value_buf__selector == 1) {
1747                 value_value_buf_.selector = 1;
1748                 value_value_buf_.value1 = thisDeserializer.readLayoutPolicy();
1749             }
1750             else {
1751                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1752             }
1753             value_value_buf.value = static_cast<Ark_Union_Length_LayoutPolicy>(value_value_buf_);
1754         }
1755         Opt_Union_Length_LayoutPolicy value_value = value_value_buf;;
1756         GetNodeModifiers()->getCommonMethodModifier()->setHeight1(self, (const Opt_Union_Length_LayoutPolicy*)&value_value);
1757 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_height1,Ark_NativePointer,KSerializerBuffer,int32_t)1758 KOALA_INTEROP_DIRECT_V3(CommonMethod_height1, Ark_NativePointer, KSerializerBuffer, int32_t)
1759 void impl_CommonMethod_drawModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1760         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1761         Deserializer thisDeserializer(thisArray, thisLength);
1762         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1763         Opt_DrawModifier value_value_buf = {};
1764         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1765         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1766         {
1767             value_value_buf.value = static_cast<Ark_DrawModifier>(thisDeserializer.readDrawModifier());
1768         }
1769         Opt_DrawModifier value_value = value_value_buf;;
1770         GetNodeModifiers()->getCommonMethodModifier()->setDrawModifier(self, (const Opt_DrawModifier*)&value_value);
1771 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_drawModifier,Ark_NativePointer,KSerializerBuffer,int32_t)1772 KOALA_INTEROP_DIRECT_V3(CommonMethod_drawModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
1773 void impl_CommonMethod_responseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1774         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1775         Deserializer thisDeserializer(thisArray, thisLength);
1776         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1777         Opt_Union_Array_Rectangle_Rectangle value_value_buf = {};
1778         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1779         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1780         {
1781             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1782             Ark_Union_Array_Rectangle_Rectangle value_value_buf_ = {};
1783             value_value_buf_.selector = value_value_buf__selector;
1784             if (value_value_buf__selector == 0) {
1785                 value_value_buf_.selector = 0;
1786                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
1787                 Array_Rectangle value_value_buf__u = {};
1788                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
1789         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
1790                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
1791                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readRectangle();
1792                 }
1793                 value_value_buf_.value0 = value_value_buf__u;
1794             }
1795             else if (value_value_buf__selector == 1) {
1796                 value_value_buf_.selector = 1;
1797                 value_value_buf_.value1 = thisDeserializer.readRectangle();
1798             }
1799             else {
1800                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1801             }
1802             value_value_buf.value = static_cast<Ark_Union_Array_Rectangle_Rectangle>(value_value_buf_);
1803         }
1804         Opt_Union_Array_Rectangle_Rectangle value_value = value_value_buf;;
1805         GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, (const Opt_Union_Array_Rectangle_Rectangle*)&value_value);
1806 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_responseRegion,Ark_NativePointer,KSerializerBuffer,int32_t)1807 KOALA_INTEROP_DIRECT_V3(CommonMethod_responseRegion, Ark_NativePointer, KSerializerBuffer, int32_t)
1808 void impl_CommonMethod_mouseResponseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1809         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1810         Deserializer thisDeserializer(thisArray, thisLength);
1811         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1812         Opt_Union_Array_Rectangle_Rectangle value_value_buf = {};
1813         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1814         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1815         {
1816             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1817             Ark_Union_Array_Rectangle_Rectangle value_value_buf_ = {};
1818             value_value_buf_.selector = value_value_buf__selector;
1819             if (value_value_buf__selector == 0) {
1820                 value_value_buf_.selector = 0;
1821                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
1822                 Array_Rectangle value_value_buf__u = {};
1823                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
1824         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
1825                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
1826                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readRectangle();
1827                 }
1828                 value_value_buf_.value0 = value_value_buf__u;
1829             }
1830             else if (value_value_buf__selector == 1) {
1831                 value_value_buf_.selector = 1;
1832                 value_value_buf_.value1 = thisDeserializer.readRectangle();
1833             }
1834             else {
1835                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1836             }
1837             value_value_buf.value = static_cast<Ark_Union_Array_Rectangle_Rectangle>(value_value_buf_);
1838         }
1839         Opt_Union_Array_Rectangle_Rectangle value_value = value_value_buf;;
1840         GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, (const Opt_Union_Array_Rectangle_Rectangle*)&value_value);
1841 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_mouseResponseRegion,Ark_NativePointer,KSerializerBuffer,int32_t)1842 KOALA_INTEROP_DIRECT_V3(CommonMethod_mouseResponseRegion, Ark_NativePointer, KSerializerBuffer, int32_t)
1843 void impl_CommonMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1844         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1845         Deserializer thisDeserializer(thisArray, thisLength);
1846         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1847         Opt_SizeOptions value_value_buf = {};
1848         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1849         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1850         {
1851             value_value_buf.value = thisDeserializer.readSizeOptions();
1852         }
1853         Opt_SizeOptions value_value = value_value_buf;;
1854         GetNodeModifiers()->getCommonMethodModifier()->setSize(self, (const Opt_SizeOptions*)&value_value);
1855 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_size,Ark_NativePointer,KSerializerBuffer,int32_t)1856 KOALA_INTEROP_DIRECT_V3(CommonMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t)
1857 void impl_CommonMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1858         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1859         Deserializer thisDeserializer(thisArray, thisLength);
1860         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1861         Opt_ConstraintSizeOptions value_value_buf = {};
1862         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1863         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1864         {
1865             value_value_buf.value = thisDeserializer.readConstraintSizeOptions();
1866         }
1867         Opt_ConstraintSizeOptions value_value = value_value_buf;;
1868         GetNodeModifiers()->getCommonMethodModifier()->setConstraintSize(self, (const Opt_ConstraintSizeOptions*)&value_value);
1869 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_constraintSize,Ark_NativePointer,KSerializerBuffer,int32_t)1870 KOALA_INTEROP_DIRECT_V3(CommonMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t)
1871 void impl_CommonMethod_touchable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1872         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1873         Deserializer thisDeserializer(thisArray, thisLength);
1874         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1875         Opt_Boolean value_value_buf = {};
1876         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1877         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1878         {
1879             value_value_buf.value = thisDeserializer.readBoolean();
1880         }
1881         Opt_Boolean value_value = value_value_buf;;
1882         GetNodeModifiers()->getCommonMethodModifier()->setTouchable(self, (const Opt_Boolean*)&value_value);
1883 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_touchable,Ark_NativePointer,KSerializerBuffer,int32_t)1884 KOALA_INTEROP_DIRECT_V3(CommonMethod_touchable, Ark_NativePointer, KSerializerBuffer, int32_t)
1885 void impl_CommonMethod_hitTestBehavior(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1886         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1887         Deserializer thisDeserializer(thisArray, thisLength);
1888         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1889         Opt_HitTestMode value_value_buf = {};
1890         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1891         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1892         {
1893             value_value_buf.value = static_cast<Ark_HitTestMode>(thisDeserializer.readInt32());
1894         }
1895         Opt_HitTestMode value_value = value_value_buf;;
1896         GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, (const Opt_HitTestMode*)&value_value);
1897 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_hitTestBehavior,Ark_NativePointer,KSerializerBuffer,int32_t)1898 KOALA_INTEROP_DIRECT_V3(CommonMethod_hitTestBehavior, Ark_NativePointer, KSerializerBuffer, int32_t)
1899 void impl_CommonMethod_onChildTouchTest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1900         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1901         Deserializer thisDeserializer(thisArray, thisLength);
1902         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1903         Opt_Callback_Array_TouchTestInfo_TouchResult value_value_buf = {};
1904         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1905         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1906         {
1907             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Array_TouchTestInfo_TouchResult)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Array_TouchTestInfo_TouchResult))))};
1908         }
1909         Opt_Callback_Array_TouchTestInfo_TouchResult value_value = value_value_buf;;
1910         GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, (const Opt_Callback_Array_TouchTestInfo_TouchResult*)&value_value);
1911 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onChildTouchTest,Ark_NativePointer,KSerializerBuffer,int32_t)1912 KOALA_INTEROP_DIRECT_V3(CommonMethod_onChildTouchTest, Ark_NativePointer, KSerializerBuffer, int32_t)
1913 void impl_CommonMethod_layoutWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1914         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1915         Deserializer thisDeserializer(thisArray, thisLength);
1916         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1917         Opt_Union_Number_String value_value_buf = {};
1918         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1919         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1920         {
1921             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1922             Ark_Union_Number_String value_value_buf_ = {};
1923             value_value_buf_.selector = value_value_buf__selector;
1924             if (value_value_buf__selector == 0) {
1925                 value_value_buf_.selector = 0;
1926                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
1927             }
1928             else if (value_value_buf__selector == 1) {
1929                 value_value_buf_.selector = 1;
1930                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
1931             }
1932             else {
1933                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
1934             }
1935             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
1936         }
1937         Opt_Union_Number_String value_value = value_value_buf;;
1938         GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, (const Opt_Union_Number_String*)&value_value);
1939 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_layoutWeight,Ark_NativePointer,KSerializerBuffer,int32_t)1940 KOALA_INTEROP_DIRECT_V3(CommonMethod_layoutWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
1941 void impl_CommonMethod_chainWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1942         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1943         Deserializer thisDeserializer(thisArray, thisLength);
1944         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1945         Opt_ChainWeightOptions value_value_buf = {};
1946         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1947         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1948         {
1949             value_value_buf.value = thisDeserializer.readChainWeightOptions();
1950         }
1951         Opt_ChainWeightOptions value_value = value_value_buf;;
1952         GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, (const Opt_ChainWeightOptions*)&value_value);
1953 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_chainWeight,Ark_NativePointer,KSerializerBuffer,int32_t)1954 KOALA_INTEROP_DIRECT_V3(CommonMethod_chainWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
1955 void impl_CommonMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
1956         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
1957         Deserializer thisDeserializer(thisArray, thisLength);
1958         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1959         Opt_Union_Padding_Length_LocalizedPadding value_value_buf = {};
1960         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1961         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
1962         {
1963             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
1964             Ark_Union_Padding_Length_LocalizedPadding value_value_buf_ = {};
1965             value_value_buf_.selector = value_value_buf__selector;
1966             if (value_value_buf__selector == 0) {
1967                 value_value_buf_.selector = 0;
1968                 Ark_Padding value_value_buf__u = {};
1969                 const auto value_value_buf__u_top_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1970                 Opt_Length value_value_buf__u_top_buf = {};
1971                 value_value_buf__u_top_buf.tag = value_value_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1972                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_top_buf_runtimeType))
1973                 {
1974                     value_value_buf__u_top_buf.value = thisDeserializer.readLength();
1975                 }
1976                 value_value_buf__u.top = value_value_buf__u_top_buf;
1977                 const auto value_value_buf__u_right_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1978                 Opt_Length value_value_buf__u_right_buf = {};
1979                 value_value_buf__u_right_buf.tag = value_value_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1980                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_right_buf_runtimeType))
1981                 {
1982                     value_value_buf__u_right_buf.value = thisDeserializer.readLength();
1983                 }
1984                 value_value_buf__u.right = value_value_buf__u_right_buf;
1985                 const auto value_value_buf__u_bottom_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1986                 Opt_Length value_value_buf__u_bottom_buf = {};
1987                 value_value_buf__u_bottom_buf.tag = value_value_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1988                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_bottom_buf_runtimeType))
1989                 {
1990                     value_value_buf__u_bottom_buf.value = thisDeserializer.readLength();
1991                 }
1992                 value_value_buf__u.bottom = value_value_buf__u_bottom_buf;
1993                 const auto value_value_buf__u_left_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
1994                 Opt_Length value_value_buf__u_left_buf = {};
1995                 value_value_buf__u_left_buf.tag = value_value_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
1996                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_left_buf_runtimeType))
1997                 {
1998                     value_value_buf__u_left_buf.value = thisDeserializer.readLength();
1999                 }
2000                 value_value_buf__u.left = value_value_buf__u_left_buf;
2001                 value_value_buf_.value0 = value_value_buf__u;
2002             }
2003             else if (value_value_buf__selector == 1) {
2004                 value_value_buf_.selector = 1;
2005                 value_value_buf_.value1 = thisDeserializer.readLength();
2006             }
2007             else if (value_value_buf__selector == 2) {
2008                 value_value_buf_.selector = 2;
2009                 value_value_buf_.value2 = thisDeserializer.readLocalizedPadding();
2010             }
2011             else {
2012                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2013             }
2014             value_value_buf.value = static_cast<Ark_Union_Padding_Length_LocalizedPadding>(value_value_buf_);
2015         }
2016         Opt_Union_Padding_Length_LocalizedPadding value_value = value_value_buf;;
2017         GetNodeModifiers()->getCommonMethodModifier()->setPadding(self, (const Opt_Union_Padding_Length_LocalizedPadding*)&value_value);
2018 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_padding,Ark_NativePointer,KSerializerBuffer,int32_t)2019 KOALA_INTEROP_DIRECT_V3(CommonMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t)
2020 void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2021         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2022         Deserializer thisDeserializer(thisArray, thisLength);
2023         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2024         Opt_Union_Padding_LengthMetrics_LocalizedPadding value_value_buf = {};
2025         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2026         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2027         {
2028             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2029             Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value_buf_ = {};
2030             value_value_buf_.selector = value_value_buf__selector;
2031             if (value_value_buf__selector == 0) {
2032                 value_value_buf_.selector = 0;
2033                 Ark_Padding value_value_buf__u = {};
2034                 const auto value_value_buf__u_top_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2035                 Opt_Length value_value_buf__u_top_buf = {};
2036                 value_value_buf__u_top_buf.tag = value_value_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2037                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_top_buf_runtimeType))
2038                 {
2039                     value_value_buf__u_top_buf.value = thisDeserializer.readLength();
2040                 }
2041                 value_value_buf__u.top = value_value_buf__u_top_buf;
2042                 const auto value_value_buf__u_right_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2043                 Opt_Length value_value_buf__u_right_buf = {};
2044                 value_value_buf__u_right_buf.tag = value_value_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2045                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_right_buf_runtimeType))
2046                 {
2047                     value_value_buf__u_right_buf.value = thisDeserializer.readLength();
2048                 }
2049                 value_value_buf__u.right = value_value_buf__u_right_buf;
2050                 const auto value_value_buf__u_bottom_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2051                 Opt_Length value_value_buf__u_bottom_buf = {};
2052                 value_value_buf__u_bottom_buf.tag = value_value_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2053                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_bottom_buf_runtimeType))
2054                 {
2055                     value_value_buf__u_bottom_buf.value = thisDeserializer.readLength();
2056                 }
2057                 value_value_buf__u.bottom = value_value_buf__u_bottom_buf;
2058                 const auto value_value_buf__u_left_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2059                 Opt_Length value_value_buf__u_left_buf = {};
2060                 value_value_buf__u_left_buf.tag = value_value_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2061                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_left_buf_runtimeType))
2062                 {
2063                     value_value_buf__u_left_buf.value = thisDeserializer.readLength();
2064                 }
2065                 value_value_buf__u.left = value_value_buf__u_left_buf;
2066                 value_value_buf_.value0 = value_value_buf__u;
2067             }
2068             else if (value_value_buf__selector == 1) {
2069                 value_value_buf_.selector = 1;
2070                 value_value_buf_.value1 = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
2071             }
2072             else if (value_value_buf__selector == 2) {
2073                 value_value_buf_.selector = 2;
2074                 value_value_buf_.value2 = thisDeserializer.readLocalizedPadding();
2075             }
2076             else {
2077                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2078             }
2079             value_value_buf.value = static_cast<Ark_Union_Padding_LengthMetrics_LocalizedPadding>(value_value_buf_);
2080         }
2081         Opt_Union_Padding_LengthMetrics_LocalizedPadding value_value = value_value_buf;;
2082         GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, (const Opt_Union_Padding_LengthMetrics_LocalizedPadding*)&value_value);
2083 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_safeAreaPadding,Ark_NativePointer,KSerializerBuffer,int32_t)2084 KOALA_INTEROP_DIRECT_V3(CommonMethod_safeAreaPadding, Ark_NativePointer, KSerializerBuffer, int32_t)
2085 void impl_CommonMethod_margin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2086         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2087         Deserializer thisDeserializer(thisArray, thisLength);
2088         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2089         Opt_Union_Margin_Length_LocalizedMargin value_value_buf = {};
2090         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2091         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2092         {
2093             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2094             Ark_Union_Margin_Length_LocalizedMargin value_value_buf_ = {};
2095             value_value_buf_.selector = value_value_buf__selector;
2096             if (value_value_buf__selector == 0) {
2097                 value_value_buf_.selector = 0;
2098                 value_value_buf_.value0 = thisDeserializer.readPadding();
2099             }
2100             else if (value_value_buf__selector == 1) {
2101                 value_value_buf_.selector = 1;
2102                 value_value_buf_.value1 = thisDeserializer.readLength();
2103             }
2104             else if (value_value_buf__selector == 2) {
2105                 value_value_buf_.selector = 2;
2106                 value_value_buf_.value2 = thisDeserializer.readLocalizedPadding();
2107             }
2108             else {
2109                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2110             }
2111             value_value_buf.value = static_cast<Ark_Union_Margin_Length_LocalizedMargin>(value_value_buf_);
2112         }
2113         Opt_Union_Margin_Length_LocalizedMargin value_value = value_value_buf;;
2114         GetNodeModifiers()->getCommonMethodModifier()->setMargin(self, (const Opt_Union_Margin_Length_LocalizedMargin*)&value_value);
2115 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_margin,Ark_NativePointer,KSerializerBuffer,int32_t)2116 KOALA_INTEROP_DIRECT_V3(CommonMethod_margin, Ark_NativePointer, KSerializerBuffer, int32_t)
2117 void impl_CommonMethod_backgroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2118         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2119         Deserializer thisDeserializer(thisArray, thisLength);
2120         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2121         Opt_ResourceColor value_value_buf = {};
2122         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2123         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2124         {
2125             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2126             Ark_ResourceColor value_value_buf_ = {};
2127             value_value_buf_.selector = value_value_buf__selector;
2128             if (value_value_buf__selector == 0) {
2129                 value_value_buf_.selector = 0;
2130                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2131             }
2132             else if (value_value_buf__selector == 1) {
2133                 value_value_buf_.selector = 1;
2134                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2135             }
2136             else if (value_value_buf__selector == 2) {
2137                 value_value_buf_.selector = 2;
2138                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2139             }
2140             else if (value_value_buf__selector == 3) {
2141                 value_value_buf_.selector = 3;
2142                 value_value_buf_.value3 = thisDeserializer.readResource();
2143             }
2144             else {
2145                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2146             }
2147             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
2148         }
2149         Opt_ResourceColor value_value = value_value_buf;;
2150         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor0(self, (const Opt_ResourceColor*)&value_value);
2151 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor0,Ark_NativePointer,KSerializerBuffer,int32_t)2152 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
2153 void impl_CommonMethod_backgroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2154         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2155         Deserializer thisDeserializer(thisArray, thisLength);
2156         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2157         Opt_ResourceColor value_value_buf = {};
2158         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2159         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2160         {
2161             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2162             Ark_ResourceColor value_value_buf_ = {};
2163             value_value_buf_.selector = value_value_buf__selector;
2164             if (value_value_buf__selector == 0) {
2165                 value_value_buf_.selector = 0;
2166                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2167             }
2168             else if (value_value_buf__selector == 1) {
2169                 value_value_buf_.selector = 1;
2170                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2171             }
2172             else if (value_value_buf__selector == 2) {
2173                 value_value_buf_.selector = 2;
2174                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2175             }
2176             else if (value_value_buf__selector == 3) {
2177                 value_value_buf_.selector = 3;
2178                 value_value_buf_.value3 = thisDeserializer.readResource();
2179             }
2180             else {
2181                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2182             }
2183             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
2184         }
2185         Opt_ResourceColor value_value = value_value_buf;;
2186         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor1(self, (const Opt_ResourceColor*)&value_value);
2187 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor1,Ark_NativePointer,KSerializerBuffer,int32_t)2188 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
2189 void impl_CommonMethod_pixelRound(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2190         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2191         Deserializer thisDeserializer(thisArray, thisLength);
2192         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2193         Opt_PixelRoundPolicy value_value_buf = {};
2194         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2195         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2196         {
2197             value_value_buf.value = thisDeserializer.readPixelRoundPolicy();
2198         }
2199         Opt_PixelRoundPolicy value_value = value_value_buf;;
2200         GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, (const Opt_PixelRoundPolicy*)&value_value);
2201 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelRound,Ark_NativePointer,KSerializerBuffer,int32_t)2202 KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelRound, Ark_NativePointer, KSerializerBuffer, int32_t)
2203 void impl_CommonMethod_backgroundImageSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2204         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2205         Deserializer thisDeserializer(thisArray, thisLength);
2206         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2207         Opt_Union_SizeOptions_ImageSize value_value_buf = {};
2208         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2209         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2210         {
2211             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2212             Ark_Union_SizeOptions_ImageSize value_value_buf_ = {};
2213             value_value_buf_.selector = value_value_buf__selector;
2214             if (value_value_buf__selector == 0) {
2215                 value_value_buf_.selector = 0;
2216                 value_value_buf_.value0 = thisDeserializer.readSizeOptions();
2217             }
2218             else if (value_value_buf__selector == 1) {
2219                 value_value_buf_.selector = 1;
2220                 value_value_buf_.value1 = static_cast<Ark_ImageSize>(thisDeserializer.readInt32());
2221             }
2222             else {
2223                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2224             }
2225             value_value_buf.value = static_cast<Ark_Union_SizeOptions_ImageSize>(value_value_buf_);
2226         }
2227         Opt_Union_SizeOptions_ImageSize value_value = value_value_buf;;
2228         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, (const Opt_Union_SizeOptions_ImageSize*)&value_value);
2229 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageSize,Ark_NativePointer,KSerializerBuffer,int32_t)2230 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageSize, Ark_NativePointer, KSerializerBuffer, int32_t)
2231 void impl_CommonMethod_backgroundImagePosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2232         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2233         Deserializer thisDeserializer(thisArray, thisLength);
2234         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2235         Opt_Union_Position_Alignment value_value_buf = {};
2236         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2237         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2238         {
2239             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2240             Ark_Union_Position_Alignment value_value_buf_ = {};
2241             value_value_buf_.selector = value_value_buf__selector;
2242             if (value_value_buf__selector == 0) {
2243                 value_value_buf_.selector = 0;
2244                 value_value_buf_.value0 = thisDeserializer.readPosition();
2245             }
2246             else if (value_value_buf__selector == 1) {
2247                 value_value_buf_.selector = 1;
2248                 value_value_buf_.value1 = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
2249             }
2250             else {
2251                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2252             }
2253             value_value_buf.value = static_cast<Ark_Union_Position_Alignment>(value_value_buf_);
2254         }
2255         Opt_Union_Position_Alignment value_value = value_value_buf;;
2256         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, (const Opt_Union_Position_Alignment*)&value_value);
2257 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImagePosition,Ark_NativePointer,KSerializerBuffer,int32_t)2258 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImagePosition, Ark_NativePointer, KSerializerBuffer, int32_t)
2259 void impl_CommonMethod_backgroundEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2260         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2261         Deserializer thisDeserializer(thisArray, thisLength);
2262         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2263         Opt_BackgroundEffectOptions value_value_buf = {};
2264         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2265         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2266         {
2267             value_value_buf.value = thisDeserializer.readBackgroundEffectOptions();
2268         }
2269         Opt_BackgroundEffectOptions value_value = value_value_buf;;
2270         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect0(self, (const Opt_BackgroundEffectOptions*)&value_value);
2271 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)2272 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
2273 void impl_CommonMethod_backgroundEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2274         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2275         Deserializer thisDeserializer(thisArray, thisLength);
2276         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2277         Opt_BackgroundEffectOptions options_value_buf = {};
2278         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2279         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
2280         {
2281             options_value_buf.value = thisDeserializer.readBackgroundEffectOptions();
2282         }
2283         Opt_BackgroundEffectOptions options_value = options_value_buf;;
2284         const auto sysOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2285         Opt_SystemAdaptiveOptions sysOptions_value_buf = {};
2286         sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2287         if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType))
2288         {
2289             sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions();
2290         }
2291         Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;;
2292         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect1(self, (const Opt_BackgroundEffectOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value);
2293 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)2294 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
2295 void impl_CommonMethod_backgroundImageResizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2296         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2297         Deserializer thisDeserializer(thisArray, thisLength);
2298         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2299         Opt_ResizableOptions value_value_buf = {};
2300         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2301         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2302         {
2303             value_value_buf.value = thisDeserializer.readResizableOptions();
2304         }
2305         Opt_ResizableOptions value_value = value_value_buf;;
2306         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, (const Opt_ResizableOptions*)&value_value);
2307 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageResizable,Ark_NativePointer,KSerializerBuffer,int32_t)2308 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageResizable, Ark_NativePointer, KSerializerBuffer, int32_t)
2309 void impl_CommonMethod_foregroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2310         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2311         Deserializer thisDeserializer(thisArray, thisLength);
2312         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2313         Opt_ForegroundEffectOptions value_value_buf = {};
2314         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2315         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2316         {
2317             value_value_buf.value = thisDeserializer.readForegroundEffectOptions();
2318         }
2319         Opt_ForegroundEffectOptions value_value = value_value_buf;;
2320         GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, (const Opt_ForegroundEffectOptions*)&value_value);
2321 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundEffect,Ark_NativePointer,KSerializerBuffer,int32_t)2322 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
2323 void impl_CommonMethod_visualEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2324         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2325         Deserializer thisDeserializer(thisArray, thisLength);
2326         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2327         Opt_VisualEffect value_value_buf = {};
2328         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2329         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2330         {
2331             value_value_buf.value = static_cast<Ark_VisualEffect>(thisDeserializer.readVisualEffect());
2332         }
2333         Opt_VisualEffect value_value = value_value_buf;;
2334         GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, (const Opt_VisualEffect*)&value_value);
2335 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_visualEffect,Ark_NativePointer,KSerializerBuffer,int32_t)2336 KOALA_INTEROP_DIRECT_V3(CommonMethod_visualEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
2337 void impl_CommonMethod_backgroundFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2338         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2339         Deserializer thisDeserializer(thisArray, thisLength);
2340         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2341         Opt_Filter value_value_buf = {};
2342         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2343         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2344         {
2345             value_value_buf.value = static_cast<Ark_Filter>(thisDeserializer.readFilter());
2346         }
2347         Opt_Filter value_value = value_value_buf;;
2348         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, (const Opt_Filter*)&value_value);
2349 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundFilter,Ark_NativePointer,KSerializerBuffer,int32_t)2350 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
2351 void impl_CommonMethod_foregroundFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2352         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2353         Deserializer thisDeserializer(thisArray, thisLength);
2354         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2355         Opt_Filter value_value_buf = {};
2356         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2357         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2358         {
2359             value_value_buf.value = static_cast<Ark_Filter>(thisDeserializer.readFilter());
2360         }
2361         Opt_Filter value_value = value_value_buf;;
2362         GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, (const Opt_Filter*)&value_value);
2363 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundFilter,Ark_NativePointer,KSerializerBuffer,int32_t)2364 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
2365 void impl_CommonMethod_compositingFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2366         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2367         Deserializer thisDeserializer(thisArray, thisLength);
2368         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2369         Opt_Filter value_value_buf = {};
2370         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2371         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2372         {
2373             value_value_buf.value = static_cast<Ark_Filter>(thisDeserializer.readFilter());
2374         }
2375         Opt_Filter value_value = value_value_buf;;
2376         GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, (const Opt_Filter*)&value_value);
2377 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_compositingFilter,Ark_NativePointer,KSerializerBuffer,int32_t)2378 KOALA_INTEROP_DIRECT_V3(CommonMethod_compositingFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
2379 void impl_CommonMethod_opacity0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2380         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2381         Deserializer thisDeserializer(thisArray, thisLength);
2382         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2383         Opt_Union_Number_Resource value_value_buf = {};
2384         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2385         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2386         {
2387             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2388             Ark_Union_Number_Resource value_value_buf_ = {};
2389             value_value_buf_.selector = value_value_buf__selector;
2390             if (value_value_buf__selector == 0) {
2391                 value_value_buf_.selector = 0;
2392                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2393             }
2394             else if (value_value_buf__selector == 1) {
2395                 value_value_buf_.selector = 1;
2396                 value_value_buf_.value1 = thisDeserializer.readResource();
2397             }
2398             else {
2399                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2400             }
2401             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
2402         }
2403         Opt_Union_Number_Resource value_value = value_value_buf;;
2404         GetNodeModifiers()->getCommonMethodModifier()->setOpacity0(self, (const Opt_Union_Number_Resource*)&value_value);
2405 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity0,Ark_NativePointer,KSerializerBuffer,int32_t)2406 KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity0, Ark_NativePointer, KSerializerBuffer, int32_t)
2407 void impl_CommonMethod_opacity1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2408         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2409         Deserializer thisDeserializer(thisArray, thisLength);
2410         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2411         Opt_Union_Number_Resource value_value_buf = {};
2412         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2413         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2414         {
2415             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2416             Ark_Union_Number_Resource value_value_buf_ = {};
2417             value_value_buf_.selector = value_value_buf__selector;
2418             if (value_value_buf__selector == 0) {
2419                 value_value_buf_.selector = 0;
2420                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2421             }
2422             else if (value_value_buf__selector == 1) {
2423                 value_value_buf_.selector = 1;
2424                 value_value_buf_.value1 = thisDeserializer.readResource();
2425             }
2426             else {
2427                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2428             }
2429             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
2430         }
2431         Opt_Union_Number_Resource value_value = value_value_buf;;
2432         GetNodeModifiers()->getCommonMethodModifier()->setOpacity1(self, (const Opt_Union_Number_Resource*)&value_value);
2433 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity1,Ark_NativePointer,KSerializerBuffer,int32_t)2434 KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity1, Ark_NativePointer, KSerializerBuffer, int32_t)
2435 void impl_CommonMethod_border(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2436         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2437         Deserializer thisDeserializer(thisArray, thisLength);
2438         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2439         Opt_BorderOptions value_value_buf = {};
2440         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2441         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2442         {
2443             value_value_buf.value = thisDeserializer.readBorderOptions();
2444         }
2445         Opt_BorderOptions value_value = value_value_buf;;
2446         GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, (const Opt_BorderOptions*)&value_value);
2447 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_border,Ark_NativePointer,KSerializerBuffer,int32_t)2448 KOALA_INTEROP_DIRECT_V3(CommonMethod_border, Ark_NativePointer, KSerializerBuffer, int32_t)
2449 void impl_CommonMethod_borderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2450         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2451         Deserializer thisDeserializer(thisArray, thisLength);
2452         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2453         Opt_Union_BorderStyle_EdgeStyles value_value_buf = {};
2454         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2455         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2456         {
2457             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2458             Ark_Union_BorderStyle_EdgeStyles value_value_buf_ = {};
2459             value_value_buf_.selector = value_value_buf__selector;
2460             if (value_value_buf__selector == 0) {
2461                 value_value_buf_.selector = 0;
2462                 value_value_buf_.value0 = static_cast<Ark_BorderStyle>(thisDeserializer.readInt32());
2463             }
2464             else if (value_value_buf__selector == 1) {
2465                 value_value_buf_.selector = 1;
2466                 value_value_buf_.value1 = thisDeserializer.readEdgeStyles();
2467             }
2468             else {
2469                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2470             }
2471             value_value_buf.value = static_cast<Ark_Union_BorderStyle_EdgeStyles>(value_value_buf_);
2472         }
2473         Opt_Union_BorderStyle_EdgeStyles value_value = value_value_buf;;
2474         GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, (const Opt_Union_BorderStyle_EdgeStyles*)&value_value);
2475 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_borderStyle,Ark_NativePointer,KSerializerBuffer,int32_t)2476 KOALA_INTEROP_DIRECT_V3(CommonMethod_borderStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
2477 void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2478         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2479         Deserializer thisDeserializer(thisArray, thisLength);
2480         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2481         Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf = {};
2482         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2483         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2484         {
2485             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2486             Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf_ = {};
2487             value_value_buf_.selector = value_value_buf__selector;
2488             if (value_value_buf__selector == 0) {
2489                 value_value_buf_.selector = 0;
2490                 value_value_buf_.value0 = thisDeserializer.readLength();
2491             }
2492             else if (value_value_buf__selector == 1) {
2493                 value_value_buf_.selector = 1;
2494                 value_value_buf_.value1 = thisDeserializer.readEdgeWidths();
2495             }
2496             else if (value_value_buf__selector == 2) {
2497                 value_value_buf_.selector = 2;
2498                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeWidths();
2499             }
2500             else {
2501                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2502             }
2503             value_value_buf.value = static_cast<Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths>(value_value_buf_);
2504         }
2505         Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value = value_value_buf;;
2506         GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, (const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths*)&value_value);
2507 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_borderWidth,Ark_NativePointer,KSerializerBuffer,int32_t)2508 KOALA_INTEROP_DIRECT_V3(CommonMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
2509 void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2511         Deserializer thisDeserializer(thisArray, thisLength);
2512         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2513         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {};
2514         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2515         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2516         {
2517             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2518             Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf_ = {};
2519             value_value_buf_.selector = value_value_buf__selector;
2520             if (value_value_buf__selector == 0) {
2521                 value_value_buf_.selector = 0;
2522                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
2523                 Ark_ResourceColor value_value_buf__u = {};
2524                 value_value_buf__u.selector = value_value_buf__u_selector;
2525                 if (value_value_buf__u_selector == 0) {
2526                     value_value_buf__u.selector = 0;
2527                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2528                 }
2529                 else if (value_value_buf__u_selector == 1) {
2530                     value_value_buf__u.selector = 1;
2531                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2532                 }
2533                 else if (value_value_buf__u_selector == 2) {
2534                     value_value_buf__u.selector = 2;
2535                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2536                 }
2537                 else if (value_value_buf__u_selector == 3) {
2538                     value_value_buf__u.selector = 3;
2539                     value_value_buf__u.value3 = thisDeserializer.readResource();
2540                 }
2541                 else {
2542                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
2543                 }
2544                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
2545             }
2546             else if (value_value_buf__selector == 1) {
2547                 value_value_buf_.selector = 1;
2548                 value_value_buf_.value1 = thisDeserializer.readEdgeColors();
2549             }
2550             else if (value_value_buf__selector == 2) {
2551                 value_value_buf_.selector = 2;
2552                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeColors();
2553             }
2554             else {
2555                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2556             }
2557             value_value_buf.value = static_cast<Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors>(value_value_buf_);
2558         }
2559         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = value_value_buf;;
2560         GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, (const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value);
2561 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_borderColor,Ark_NativePointer,KSerializerBuffer,int32_t)2562 KOALA_INTEROP_DIRECT_V3(CommonMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
2563 void impl_CommonMethod_borderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2564         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2565         Deserializer thisDeserializer(thisArray, thisLength);
2566         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2567         Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf = {};
2568         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2569         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2570         {
2571             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2572             Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf_ = {};
2573             value_value_buf_.selector = value_value_buf__selector;
2574             if (value_value_buf__selector == 0) {
2575                 value_value_buf_.selector = 0;
2576                 value_value_buf_.value0 = thisDeserializer.readLength();
2577             }
2578             else if (value_value_buf__selector == 1) {
2579                 value_value_buf_.selector = 1;
2580                 value_value_buf_.value1 = thisDeserializer.readBorderRadiuses();
2581             }
2582             else if (value_value_buf__selector == 2) {
2583                 value_value_buf_.selector = 2;
2584                 value_value_buf_.value2 = thisDeserializer.readLocalizedBorderRadiuses();
2585             }
2586             else {
2587                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2588             }
2589             value_value_buf.value = static_cast<Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses>(value_value_buf_);
2590         }
2591         Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value = value_value_buf;;
2592         GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, (const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses*)&value_value);
2593 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_borderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)2594 KOALA_INTEROP_DIRECT_V3(CommonMethod_borderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
2595 void impl_CommonMethod_borderImage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2596         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2597         Deserializer thisDeserializer(thisArray, thisLength);
2598         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2599         Opt_BorderImageOption value_value_buf = {};
2600         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2601         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2602         {
2603             value_value_buf.value = thisDeserializer.readBorderImageOption();
2604         }
2605         Opt_BorderImageOption value_value = value_value_buf;;
2606         GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, (const Opt_BorderImageOption*)&value_value);
2607 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_borderImage,Ark_NativePointer,KSerializerBuffer,int32_t)2608 KOALA_INTEROP_DIRECT_V3(CommonMethod_borderImage, Ark_NativePointer, KSerializerBuffer, int32_t)
2609 void impl_CommonMethod_outline0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2610         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2611         Deserializer thisDeserializer(thisArray, thisLength);
2612         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2613         Opt_OutlineOptions value_value_buf = {};
2614         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2615         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2616         {
2617             value_value_buf.value = thisDeserializer.readOutlineOptions();
2618         }
2619         Opt_OutlineOptions value_value = value_value_buf;;
2620         GetNodeModifiers()->getCommonMethodModifier()->setOutline0(self, (const Opt_OutlineOptions*)&value_value);
2621 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outline0,Ark_NativePointer,KSerializerBuffer,int32_t)2622 KOALA_INTEROP_DIRECT_V3(CommonMethod_outline0, Ark_NativePointer, KSerializerBuffer, int32_t)
2623 void impl_CommonMethod_outline1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2624         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2625         Deserializer thisDeserializer(thisArray, thisLength);
2626         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2627         Opt_OutlineOptions value_value_buf = {};
2628         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2629         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2630         {
2631             value_value_buf.value = thisDeserializer.readOutlineOptions();
2632         }
2633         Opt_OutlineOptions value_value = value_value_buf;;
2634         GetNodeModifiers()->getCommonMethodModifier()->setOutline1(self, (const Opt_OutlineOptions*)&value_value);
2635 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outline1,Ark_NativePointer,KSerializerBuffer,int32_t)2636 KOALA_INTEROP_DIRECT_V3(CommonMethod_outline1, Ark_NativePointer, KSerializerBuffer, int32_t)
2637 void impl_CommonMethod_outlineStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2638         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2639         Deserializer thisDeserializer(thisArray, thisLength);
2640         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2641         Opt_Union_OutlineStyle_EdgeOutlineStyles value_value_buf = {};
2642         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2643         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2644         {
2645             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2646             Ark_Union_OutlineStyle_EdgeOutlineStyles value_value_buf_ = {};
2647             value_value_buf_.selector = value_value_buf__selector;
2648             if (value_value_buf__selector == 0) {
2649                 value_value_buf_.selector = 0;
2650                 value_value_buf_.value0 = static_cast<Ark_OutlineStyle>(thisDeserializer.readInt32());
2651             }
2652             else if (value_value_buf__selector == 1) {
2653                 value_value_buf_.selector = 1;
2654                 value_value_buf_.value1 = thisDeserializer.readEdgeOutlineStyles();
2655             }
2656             else {
2657                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2658             }
2659             value_value_buf.value = static_cast<Ark_Union_OutlineStyle_EdgeOutlineStyles>(value_value_buf_);
2660         }
2661         Opt_Union_OutlineStyle_EdgeOutlineStyles value_value = value_value_buf;;
2662         GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle0(self, (const Opt_Union_OutlineStyle_EdgeOutlineStyles*)&value_value);
2663 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)2664 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
2665 void impl_CommonMethod_outlineStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2666         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2667         Deserializer thisDeserializer(thisArray, thisLength);
2668         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2669         Opt_Union_OutlineStyle_EdgeOutlineStyles value_value_buf = {};
2670         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2671         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2672         {
2673             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2674             Ark_Union_OutlineStyle_EdgeOutlineStyles value_value_buf_ = {};
2675             value_value_buf_.selector = value_value_buf__selector;
2676             if (value_value_buf__selector == 0) {
2677                 value_value_buf_.selector = 0;
2678                 value_value_buf_.value0 = static_cast<Ark_OutlineStyle>(thisDeserializer.readInt32());
2679             }
2680             else if (value_value_buf__selector == 1) {
2681                 value_value_buf_.selector = 1;
2682                 value_value_buf_.value1 = thisDeserializer.readEdgeOutlineStyles();
2683             }
2684             else {
2685                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2686             }
2687             value_value_buf.value = static_cast<Ark_Union_OutlineStyle_EdgeOutlineStyles>(value_value_buf_);
2688         }
2689         Opt_Union_OutlineStyle_EdgeOutlineStyles value_value = value_value_buf;;
2690         GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle1(self, (const Opt_Union_OutlineStyle_EdgeOutlineStyles*)&value_value);
2691 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)2692 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
2693 void impl_CommonMethod_outlineWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2694         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2695         Deserializer thisDeserializer(thisArray, thisLength);
2696         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2697         Opt_Union_Dimension_EdgeOutlineWidths value_value_buf = {};
2698         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2699         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2700         {
2701             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2702             Ark_Union_Dimension_EdgeOutlineWidths value_value_buf_ = {};
2703             value_value_buf_.selector = value_value_buf__selector;
2704             if (value_value_buf__selector == 0) {
2705                 value_value_buf_.selector = 0;
2706                 value_value_buf_.value0 = thisDeserializer.readLength();
2707             }
2708             else if (value_value_buf__selector == 1) {
2709                 value_value_buf_.selector = 1;
2710                 value_value_buf_.value1 = thisDeserializer.readEdgeOutlineWidths();
2711             }
2712             else {
2713                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2714             }
2715             value_value_buf.value = static_cast<Ark_Union_Dimension_EdgeOutlineWidths>(value_value_buf_);
2716         }
2717         Opt_Union_Dimension_EdgeOutlineWidths value_value = value_value_buf;;
2718         GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth0(self, (const Opt_Union_Dimension_EdgeOutlineWidths*)&value_value);
2719 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth0,Ark_NativePointer,KSerializerBuffer,int32_t)2720 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth0, Ark_NativePointer, KSerializerBuffer, int32_t)
2721 void impl_CommonMethod_outlineWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2722         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2723         Deserializer thisDeserializer(thisArray, thisLength);
2724         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2725         Opt_Union_Dimension_EdgeOutlineWidths value_value_buf = {};
2726         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2727         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2728         {
2729             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2730             Ark_Union_Dimension_EdgeOutlineWidths value_value_buf_ = {};
2731             value_value_buf_.selector = value_value_buf__selector;
2732             if (value_value_buf__selector == 0) {
2733                 value_value_buf_.selector = 0;
2734                 value_value_buf_.value0 = thisDeserializer.readLength();
2735             }
2736             else if (value_value_buf__selector == 1) {
2737                 value_value_buf_.selector = 1;
2738                 value_value_buf_.value1 = thisDeserializer.readEdgeOutlineWidths();
2739             }
2740             else {
2741                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2742             }
2743             value_value_buf.value = static_cast<Ark_Union_Dimension_EdgeOutlineWidths>(value_value_buf_);
2744         }
2745         Opt_Union_Dimension_EdgeOutlineWidths value_value = value_value_buf;;
2746         GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth1(self, (const Opt_Union_Dimension_EdgeOutlineWidths*)&value_value);
2747 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth1,Ark_NativePointer,KSerializerBuffer,int32_t)2748 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth1, Ark_NativePointer, KSerializerBuffer, int32_t)
2749 void impl_CommonMethod_outlineColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2750         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2751         Deserializer thisDeserializer(thisArray, thisLength);
2752         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2753         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {};
2754         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2755         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2756         {
2757             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2758             Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf_ = {};
2759             value_value_buf_.selector = value_value_buf__selector;
2760             if (value_value_buf__selector == 0) {
2761                 value_value_buf_.selector = 0;
2762                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
2763                 Ark_ResourceColor value_value_buf__u = {};
2764                 value_value_buf__u.selector = value_value_buf__u_selector;
2765                 if (value_value_buf__u_selector == 0) {
2766                     value_value_buf__u.selector = 0;
2767                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2768                 }
2769                 else if (value_value_buf__u_selector == 1) {
2770                     value_value_buf__u.selector = 1;
2771                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2772                 }
2773                 else if (value_value_buf__u_selector == 2) {
2774                     value_value_buf__u.selector = 2;
2775                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2776                 }
2777                 else if (value_value_buf__u_selector == 3) {
2778                     value_value_buf__u.selector = 3;
2779                     value_value_buf__u.value3 = thisDeserializer.readResource();
2780                 }
2781                 else {
2782                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
2783                 }
2784                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
2785             }
2786             else if (value_value_buf__selector == 1) {
2787                 value_value_buf_.selector = 1;
2788                 value_value_buf_.value1 = thisDeserializer.readEdgeColors();
2789             }
2790             else if (value_value_buf__selector == 2) {
2791                 value_value_buf_.selector = 2;
2792                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeColors();
2793             }
2794             else {
2795                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2796             }
2797             value_value_buf.value = static_cast<Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors>(value_value_buf_);
2798         }
2799         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = value_value_buf;;
2800         GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor0(self, (const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value);
2801 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor0,Ark_NativePointer,KSerializerBuffer,int32_t)2802 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
2803 void impl_CommonMethod_outlineColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2804         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2805         Deserializer thisDeserializer(thisArray, thisLength);
2806         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2807         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {};
2808         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2809         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2810         {
2811             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2812             Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf_ = {};
2813             value_value_buf_.selector = value_value_buf__selector;
2814             if (value_value_buf__selector == 0) {
2815                 value_value_buf_.selector = 0;
2816                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
2817                 Ark_ResourceColor value_value_buf__u = {};
2818                 value_value_buf__u.selector = value_value_buf__u_selector;
2819                 if (value_value_buf__u_selector == 0) {
2820                     value_value_buf__u.selector = 0;
2821                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2822                 }
2823                 else if (value_value_buf__u_selector == 1) {
2824                     value_value_buf__u.selector = 1;
2825                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2826                 }
2827                 else if (value_value_buf__u_selector == 2) {
2828                     value_value_buf__u.selector = 2;
2829                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2830                 }
2831                 else if (value_value_buf__u_selector == 3) {
2832                     value_value_buf__u.selector = 3;
2833                     value_value_buf__u.value3 = thisDeserializer.readResource();
2834                 }
2835                 else {
2836                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
2837                 }
2838                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
2839             }
2840             else if (value_value_buf__selector == 1) {
2841                 value_value_buf_.selector = 1;
2842                 value_value_buf_.value1 = thisDeserializer.readEdgeColors();
2843             }
2844             else if (value_value_buf__selector == 2) {
2845                 value_value_buf_.selector = 2;
2846                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeColors();
2847             }
2848             else {
2849                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2850             }
2851             value_value_buf.value = static_cast<Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors>(value_value_buf_);
2852         }
2853         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = value_value_buf;;
2854         GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor1(self, (const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value);
2855 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor1,Ark_NativePointer,KSerializerBuffer,int32_t)2856 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
2857 void impl_CommonMethod_outlineRadius0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2858         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2859         Deserializer thisDeserializer(thisArray, thisLength);
2860         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2861         Opt_Union_Dimension_OutlineRadiuses value_value_buf = {};
2862         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2863         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2864         {
2865             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2866             Ark_Union_Dimension_OutlineRadiuses value_value_buf_ = {};
2867             value_value_buf_.selector = value_value_buf__selector;
2868             if (value_value_buf__selector == 0) {
2869                 value_value_buf_.selector = 0;
2870                 value_value_buf_.value0 = thisDeserializer.readLength();
2871             }
2872             else if (value_value_buf__selector == 1) {
2873                 value_value_buf_.selector = 1;
2874                 value_value_buf_.value1 = thisDeserializer.readOutlineRadiuses();
2875             }
2876             else {
2877                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2878             }
2879             value_value_buf.value = static_cast<Ark_Union_Dimension_OutlineRadiuses>(value_value_buf_);
2880         }
2881         Opt_Union_Dimension_OutlineRadiuses value_value = value_value_buf;;
2882         GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius0(self, (const Opt_Union_Dimension_OutlineRadiuses*)&value_value);
2883 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius0,Ark_NativePointer,KSerializerBuffer,int32_t)2884 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius0, Ark_NativePointer, KSerializerBuffer, int32_t)
2885 void impl_CommonMethod_outlineRadius1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2886         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2887         Deserializer thisDeserializer(thisArray, thisLength);
2888         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2889         Opt_Union_Dimension_OutlineRadiuses value_value_buf = {};
2890         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2891         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2892         {
2893             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2894             Ark_Union_Dimension_OutlineRadiuses value_value_buf_ = {};
2895             value_value_buf_.selector = value_value_buf__selector;
2896             if (value_value_buf__selector == 0) {
2897                 value_value_buf_.selector = 0;
2898                 value_value_buf_.value0 = thisDeserializer.readLength();
2899             }
2900             else if (value_value_buf__selector == 1) {
2901                 value_value_buf_.selector = 1;
2902                 value_value_buf_.value1 = thisDeserializer.readOutlineRadiuses();
2903             }
2904             else {
2905                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2906             }
2907             value_value_buf.value = static_cast<Ark_Union_Dimension_OutlineRadiuses>(value_value_buf_);
2908         }
2909         Opt_Union_Dimension_OutlineRadiuses value_value = value_value_buf;;
2910         GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius1(self, (const Opt_Union_Dimension_OutlineRadiuses*)&value_value);
2911 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius1,Ark_NativePointer,KSerializerBuffer,int32_t)2912 KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius1, Ark_NativePointer, KSerializerBuffer, int32_t)
2913 void impl_CommonMethod_foregroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2914         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2915         Deserializer thisDeserializer(thisArray, thisLength);
2916         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2917         Opt_Union_ResourceColor_ColoringStrategy value_value_buf = {};
2918         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2919         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2920         {
2921             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2922             Ark_Union_ResourceColor_ColoringStrategy value_value_buf_ = {};
2923             value_value_buf_.selector = value_value_buf__selector;
2924             if (value_value_buf__selector == 0) {
2925                 value_value_buf_.selector = 0;
2926                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
2927                 Ark_ResourceColor value_value_buf__u = {};
2928                 value_value_buf__u.selector = value_value_buf__u_selector;
2929                 if (value_value_buf__u_selector == 0) {
2930                     value_value_buf__u.selector = 0;
2931                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2932                 }
2933                 else if (value_value_buf__u_selector == 1) {
2934                     value_value_buf__u.selector = 1;
2935                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2936                 }
2937                 else if (value_value_buf__u_selector == 2) {
2938                     value_value_buf__u.selector = 2;
2939                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2940                 }
2941                 else if (value_value_buf__u_selector == 3) {
2942                     value_value_buf__u.selector = 3;
2943                     value_value_buf__u.value3 = thisDeserializer.readResource();
2944                 }
2945                 else {
2946                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
2947                 }
2948                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
2949             }
2950             else if (value_value_buf__selector == 1) {
2951                 value_value_buf_.selector = 1;
2952                 value_value_buf_.value1 = static_cast<Ark_ColoringStrategy>(thisDeserializer.readInt32());
2953             }
2954             else {
2955                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
2956             }
2957             value_value_buf.value = static_cast<Ark_Union_ResourceColor_ColoringStrategy>(value_value_buf_);
2958         }
2959         Opt_Union_ResourceColor_ColoringStrategy value_value = value_value_buf;;
2960         GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor0(self, (const Opt_Union_ResourceColor_ColoringStrategy*)&value_value);
2961 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor0,Ark_NativePointer,KSerializerBuffer,int32_t)2962 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
2963 void impl_CommonMethod_foregroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
2964         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
2965         Deserializer thisDeserializer(thisArray, thisLength);
2966         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
2967         Opt_Union_ResourceColor_ColoringStrategy value_value_buf = {};
2968         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
2969         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
2970         {
2971             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
2972             Ark_Union_ResourceColor_ColoringStrategy value_value_buf_ = {};
2973             value_value_buf_.selector = value_value_buf__selector;
2974             if (value_value_buf__selector == 0) {
2975                 value_value_buf_.selector = 0;
2976                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
2977                 Ark_ResourceColor value_value_buf__u = {};
2978                 value_value_buf__u.selector = value_value_buf__u_selector;
2979                 if (value_value_buf__u_selector == 0) {
2980                     value_value_buf__u.selector = 0;
2981                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
2982                 }
2983                 else if (value_value_buf__u_selector == 1) {
2984                     value_value_buf__u.selector = 1;
2985                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
2986                 }
2987                 else if (value_value_buf__u_selector == 2) {
2988                     value_value_buf__u.selector = 2;
2989                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
2990                 }
2991                 else if (value_value_buf__u_selector == 3) {
2992                     value_value_buf__u.selector = 3;
2993                     value_value_buf__u.value3 = thisDeserializer.readResource();
2994                 }
2995                 else {
2996                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
2997                 }
2998                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
2999             }
3000             else if (value_value_buf__selector == 1) {
3001                 value_value_buf_.selector = 1;
3002                 value_value_buf_.value1 = static_cast<Ark_ColoringStrategy>(thisDeserializer.readInt32());
3003             }
3004             else {
3005                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3006             }
3007             value_value_buf.value = static_cast<Ark_Union_ResourceColor_ColoringStrategy>(value_value_buf_);
3008         }
3009         Opt_Union_ResourceColor_ColoringStrategy value_value = value_value_buf;;
3010         GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor1(self, (const Opt_Union_ResourceColor_ColoringStrategy*)&value_value);
3011 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor1,Ark_NativePointer,KSerializerBuffer,int32_t)3012 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
3013 void impl_CommonMethod_onClick0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3014         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3015         Deserializer thisDeserializer(thisArray, thisLength);
3016         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3017         Opt_Callback_ClickEvent_Void value_value_buf = {};
3018         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3019         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3020         {
3021             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};
3022         }
3023         Opt_Callback_ClickEvent_Void value_value = value_value_buf;;
3024         GetNodeModifiers()->getCommonMethodModifier()->setOnClick0(self, (const Opt_Callback_ClickEvent_Void*)&value_value);
3025 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick0,Ark_NativePointer,KSerializerBuffer,int32_t)3026 KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick0, Ark_NativePointer, KSerializerBuffer, int32_t)
3027 void impl_CommonMethod_onClick1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3028         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3029         Deserializer thisDeserializer(thisArray, thisLength);
3030         const auto event_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3031         Opt_Callback_ClickEvent_Void event_value_buf = {};
3032         event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3033         if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType))
3034         {
3035             event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};
3036         }
3037         Opt_Callback_ClickEvent_Void event_value = event_value_buf;;
3038         const auto distanceThreshold_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3039         Opt_Number distanceThreshold_value_buf = {};
3040         distanceThreshold_value_buf.tag = distanceThreshold_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3041         if ((INTEROP_RUNTIME_UNDEFINED) != (distanceThreshold_value_buf_runtimeType))
3042         {
3043             distanceThreshold_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3044         }
3045         Opt_Number distanceThreshold_value = distanceThreshold_value_buf;;
3046         GetNodeModifiers()->getCommonMethodModifier()->setOnClick1(self, (const Opt_Callback_ClickEvent_Void*)&event_value, (const Opt_Number*)&distanceThreshold_value);
3047 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick1,Ark_NativePointer,KSerializerBuffer,int32_t)3048 KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick1, Ark_NativePointer, KSerializerBuffer, int32_t)
3049 void impl_CommonMethod_onHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3050         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3051         Deserializer thisDeserializer(thisArray, thisLength);
3052         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3053         Opt_Callback_Boolean_HoverEvent_Void value_value_buf = {};
3054         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3055         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3056         {
3057             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_HoverEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_HoverEvent_Void))))};
3058         }
3059         Opt_Callback_Boolean_HoverEvent_Void value_value = value_value_buf;;
3060         GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, (const Opt_Callback_Boolean_HoverEvent_Void*)&value_value);
3061 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onHover,Ark_NativePointer,KSerializerBuffer,int32_t)3062 KOALA_INTEROP_DIRECT_V3(CommonMethod_onHover, Ark_NativePointer, KSerializerBuffer, int32_t)
3063 void impl_CommonMethod_onHoverMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3064         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3065         Deserializer thisDeserializer(thisArray, thisLength);
3066         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3067         Opt_Callback_HoverEvent_Void value_value_buf = {};
3068         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3069         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3070         {
3071             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_HoverEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_HoverEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_HoverEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_HoverEvent_Void))))};
3072         }
3073         Opt_Callback_HoverEvent_Void value_value = value_value_buf;;
3074         GetNodeModifiers()->getCommonMethodModifier()->setOnHoverMove(self, (const Opt_Callback_HoverEvent_Void*)&value_value);
3075 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onHoverMove,Ark_NativePointer,KSerializerBuffer,int32_t)3076 KOALA_INTEROP_DIRECT_V3(CommonMethod_onHoverMove, Ark_NativePointer, KSerializerBuffer, int32_t)
3077 void impl_CommonMethod_onAccessibilityHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3078         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3079         Deserializer thisDeserializer(thisArray, thisLength);
3080         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3081         Opt_AccessibilityCallback value_value_buf = {};
3082         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3083         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3084         {
3085             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_AccessibilityHoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_AccessibilityCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_AccessibilityHoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_AccessibilityCallback))))};
3086         }
3087         Opt_AccessibilityCallback value_value = value_value_buf;;
3088         GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, (const Opt_AccessibilityCallback*)&value_value);
3089 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityHover,Ark_NativePointer,KSerializerBuffer,int32_t)3090 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityHover, Ark_NativePointer, KSerializerBuffer, int32_t)
3091 void impl_CommonMethod_hoverEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3092         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3093         Deserializer thisDeserializer(thisArray, thisLength);
3094         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3095         Opt_HoverEffect value_value_buf = {};
3096         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3097         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3098         {
3099             value_value_buf.value = static_cast<Ark_HoverEffect>(thisDeserializer.readInt32());
3100         }
3101         Opt_HoverEffect value_value = value_value_buf;;
3102         GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, (const Opt_HoverEffect*)&value_value);
3103 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_hoverEffect,Ark_NativePointer,KSerializerBuffer,int32_t)3104 KOALA_INTEROP_DIRECT_V3(CommonMethod_hoverEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
3105 void impl_CommonMethod_onMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3106         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3107         Deserializer thisDeserializer(thisArray, thisLength);
3108         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3109         Opt_Callback_MouseEvent_Void value_value_buf = {};
3110         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3111         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3112         {
3113             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_MouseEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_MouseEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))};
3114         }
3115         Opt_Callback_MouseEvent_Void value_value = value_value_buf;;
3116         GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, (const Opt_Callback_MouseEvent_Void*)&value_value);
3117 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onMouse,Ark_NativePointer,KSerializerBuffer,int32_t)3118 KOALA_INTEROP_DIRECT_V3(CommonMethod_onMouse, Ark_NativePointer, KSerializerBuffer, int32_t)
3119 void impl_CommonMethod_onTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3120         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3121         Deserializer thisDeserializer(thisArray, thisLength);
3122         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3123         Opt_Callback_TouchEvent_Void value_value_buf = {};
3124         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3125         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3126         {
3127             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TouchEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TouchEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))};
3128         }
3129         Opt_Callback_TouchEvent_Void value_value = value_value_buf;;
3130         GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, (const Opt_Callback_TouchEvent_Void*)&value_value);
3131 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouch,Ark_NativePointer,KSerializerBuffer,int32_t)3132 KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouch, Ark_NativePointer, KSerializerBuffer, int32_t)
3133 void impl_CommonMethod_onKeyEvent0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3134         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3135         Deserializer thisDeserializer(thisArray, thisLength);
3136         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3137         Opt_Callback_KeyEvent_Void value_value_buf = {};
3138         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3139         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3140         {
3141             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))};
3142         }
3143         Opt_Callback_KeyEvent_Void value_value = value_value_buf;;
3144         GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent0(self, (const Opt_Callback_KeyEvent_Void*)&value_value);
3145 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent0,Ark_NativePointer,KSerializerBuffer,int32_t)3146 KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent0, Ark_NativePointer, KSerializerBuffer, int32_t)
3147 void impl_CommonMethod_onKeyEvent1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3148         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3149         Deserializer thisDeserializer(thisArray, thisLength);
3150         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3151         Opt_Callback_KeyEvent_Boolean value_value_buf = {};
3152         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3153         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3154         {
3155             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};
3156         }
3157         Opt_Callback_KeyEvent_Boolean value_value = value_value_buf;;
3158         GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent1(self, (const Opt_Callback_KeyEvent_Boolean*)&value_value);
3159 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent1,Ark_NativePointer,KSerializerBuffer,int32_t)3160 KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent1, Ark_NativePointer, KSerializerBuffer, int32_t)
3161 void impl_CommonMethod_onDigitalCrown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3162         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3163         Deserializer thisDeserializer(thisArray, thisLength);
3164         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3165         Opt_Callback_CrownEvent_Void value_value_buf = {};
3166         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3167         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3168         {
3169             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CrownEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CrownEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CrownEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CrownEvent_Void))))};
3170         }
3171         Opt_Callback_CrownEvent_Void value_value = value_value_buf;;
3172         GetNodeModifiers()->getCommonMethodModifier()->setOnDigitalCrown(self, (const Opt_Callback_CrownEvent_Void*)&value_value);
3173 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDigitalCrown,Ark_NativePointer,KSerializerBuffer,int32_t)3174 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDigitalCrown, Ark_NativePointer, KSerializerBuffer, int32_t)
3175 void impl_CommonMethod_onKeyPreIme(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3176         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3177         Deserializer thisDeserializer(thisArray, thisLength);
3178         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3179         Opt_Callback_KeyEvent_Boolean value_value_buf = {};
3180         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3181         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3182         {
3183             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};
3184         }
3185         Opt_Callback_KeyEvent_Boolean value_value = value_value_buf;;
3186         GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, (const Opt_Callback_KeyEvent_Boolean*)&value_value);
3187 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyPreIme,Ark_NativePointer,KSerializerBuffer,int32_t)3188 KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyPreIme, Ark_NativePointer, KSerializerBuffer, int32_t)
3189 void impl_CommonMethod_onKeyEventDispatch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3190         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3191         Deserializer thisDeserializer(thisArray, thisLength);
3192         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3193         Opt_Callback_KeyEvent_Boolean value_value_buf = {};
3194         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3195         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3196         {
3197             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};
3198         }
3199         Opt_Callback_KeyEvent_Boolean value_value = value_value_buf;;
3200         GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEventDispatch(self, (const Opt_Callback_KeyEvent_Boolean*)&value_value);
3201 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEventDispatch,Ark_NativePointer,KSerializerBuffer,int32_t)3202 KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEventDispatch, Ark_NativePointer, KSerializerBuffer, int32_t)
3203 void impl_CommonMethod_onFocusAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3204         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3205         Deserializer thisDeserializer(thisArray, thisLength);
3206         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3207         Opt_Callback_FocusAxisEvent_Void value_value_buf = {};
3208         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3209         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3210         {
3211             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FocusAxisEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_FocusAxisEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FocusAxisEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_FocusAxisEvent_Void))))};
3212         }
3213         Opt_Callback_FocusAxisEvent_Void value_value = value_value_buf;;
3214         GetNodeModifiers()->getCommonMethodModifier()->setOnFocusAxisEvent(self, (const Opt_Callback_FocusAxisEvent_Void*)&value_value);
3215 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocusAxisEvent,Ark_NativePointer,KSerializerBuffer,int32_t)3216 KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocusAxisEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
3217 void impl_CommonMethod_onAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3218         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3219         Deserializer thisDeserializer(thisArray, thisLength);
3220         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3221         Opt_Callback_AxisEvent_Void value_value_buf = {};
3222         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3223         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3224         {
3225             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_AxisEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_AxisEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_AxisEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_AxisEvent_Void))))};
3226         }
3227         Opt_Callback_AxisEvent_Void value_value = value_value_buf;;
3228         GetNodeModifiers()->getCommonMethodModifier()->setOnAxisEvent(self, (const Opt_Callback_AxisEvent_Void*)&value_value);
3229 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAxisEvent,Ark_NativePointer,KSerializerBuffer,int32_t)3230 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAxisEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
3231 void impl_CommonMethod_focusable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3232         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3233         Deserializer thisDeserializer(thisArray, thisLength);
3234         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3235         Opt_Boolean value_value_buf = {};
3236         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3237         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3238         {
3239             value_value_buf.value = thisDeserializer.readBoolean();
3240         }
3241         Opt_Boolean value_value = value_value_buf;;
3242         GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, (const Opt_Boolean*)&value_value);
3243 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusable,Ark_NativePointer,KSerializerBuffer,int32_t)3244 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusable, Ark_NativePointer, KSerializerBuffer, int32_t)
3245 void impl_CommonMethod_nextFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3246         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3247         Deserializer thisDeserializer(thisArray, thisLength);
3248         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3249         Opt_FocusMovement value_value_buf = {};
3250         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3251         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3252         {
3253             value_value_buf.value = thisDeserializer.readFocusMovement();
3254         }
3255         Opt_FocusMovement value_value = value_value_buf;;
3256         GetNodeModifiers()->getCommonMethodModifier()->setNextFocus(self, (const Opt_FocusMovement*)&value_value);
3257 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_nextFocus,Ark_NativePointer,KSerializerBuffer,int32_t)3258 KOALA_INTEROP_DIRECT_V3(CommonMethod_nextFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
3259 void impl_CommonMethod_tabStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3260         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3261         Deserializer thisDeserializer(thisArray, thisLength);
3262         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3263         Opt_Boolean value_value_buf = {};
3264         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3265         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3266         {
3267             value_value_buf.value = thisDeserializer.readBoolean();
3268         }
3269         Opt_Boolean value_value = value_value_buf;;
3270         GetNodeModifiers()->getCommonMethodModifier()->setTabStop(self, (const Opt_Boolean*)&value_value);
3271 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_tabStop,Ark_NativePointer,KSerializerBuffer,int32_t)3272 KOALA_INTEROP_DIRECT_V3(CommonMethod_tabStop, Ark_NativePointer, KSerializerBuffer, int32_t)
3273 void impl_CommonMethod_onFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3274         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3275         Deserializer thisDeserializer(thisArray, thisLength);
3276         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3277         Opt_Callback_Void value_value_buf = {};
3278         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3279         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3280         {
3281             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
3282         }
3283         Opt_Callback_Void value_value = value_value_buf;;
3284         GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, (const Opt_Callback_Void*)&value_value);
3285 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocus,Ark_NativePointer,KSerializerBuffer,int32_t)3286 KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
3287 void impl_CommonMethod_onBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3288         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3289         Deserializer thisDeserializer(thisArray, thisLength);
3290         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3291         Opt_Callback_Void value_value_buf = {};
3292         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3293         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3294         {
3295             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
3296         }
3297         Opt_Callback_Void value_value = value_value_buf;;
3298         GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, (const Opt_Callback_Void*)&value_value);
3299 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onBlur,Ark_NativePointer,KSerializerBuffer,int32_t)3300 KOALA_INTEROP_DIRECT_V3(CommonMethod_onBlur, Ark_NativePointer, KSerializerBuffer, int32_t)
3301 void impl_CommonMethod_tabIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3302         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3303         Deserializer thisDeserializer(thisArray, thisLength);
3304         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3305         Opt_Number value_value_buf = {};
3306         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3307         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3308         {
3309             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3310         }
3311         Opt_Number value_value = value_value_buf;;
3312         GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, (const Opt_Number*)&value_value);
3313 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_tabIndex,Ark_NativePointer,KSerializerBuffer,int32_t)3314 KOALA_INTEROP_DIRECT_V3(CommonMethod_tabIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
3315 void impl_CommonMethod_defaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3316         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3317         Deserializer thisDeserializer(thisArray, thisLength);
3318         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3319         Opt_Boolean value_value_buf = {};
3320         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3321         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3322         {
3323             value_value_buf.value = thisDeserializer.readBoolean();
3324         }
3325         Opt_Boolean value_value = value_value_buf;;
3326         GetNodeModifiers()->getCommonMethodModifier()->setDefaultFocus(self, (const Opt_Boolean*)&value_value);
3327 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_defaultFocus,Ark_NativePointer,KSerializerBuffer,int32_t)3328 KOALA_INTEROP_DIRECT_V3(CommonMethod_defaultFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
3329 void impl_CommonMethod_groupDefaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3330         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3331         Deserializer thisDeserializer(thisArray, thisLength);
3332         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3333         Opt_Boolean value_value_buf = {};
3334         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3335         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3336         {
3337             value_value_buf.value = thisDeserializer.readBoolean();
3338         }
3339         Opt_Boolean value_value = value_value_buf;;
3340         GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, (const Opt_Boolean*)&value_value);
3341 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_groupDefaultFocus,Ark_NativePointer,KSerializerBuffer,int32_t)3342 KOALA_INTEROP_DIRECT_V3(CommonMethod_groupDefaultFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
3343 void impl_CommonMethod_focusOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3344         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3345         Deserializer thisDeserializer(thisArray, thisLength);
3346         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3347         Opt_Boolean value_value_buf = {};
3348         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3349         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3350         {
3351             value_value_buf.value = thisDeserializer.readBoolean();
3352         }
3353         Opt_Boolean value_value = value_value_buf;;
3354         GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, (const Opt_Boolean*)&value_value);
3355 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusOnTouch,Ark_NativePointer,KSerializerBuffer,int32_t)3356 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusOnTouch, Ark_NativePointer, KSerializerBuffer, int32_t)
3357 void impl_CommonMethod_focusBox(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3358         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3359         Deserializer thisDeserializer(thisArray, thisLength);
3360         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3361         Opt_FocusBoxStyle value_value_buf = {};
3362         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3363         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3364         {
3365             value_value_buf.value = thisDeserializer.readFocusBoxStyle();
3366         }
3367         Opt_FocusBoxStyle value_value = value_value_buf;;
3368         GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, (const Opt_FocusBoxStyle*)&value_value);
3369 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusBox,Ark_NativePointer,KSerializerBuffer,int32_t)3370 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusBox, Ark_NativePointer, KSerializerBuffer, int32_t)
3371 void impl_CommonMethod_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3372         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3373         Deserializer thisDeserializer(thisArray, thisLength);
3374         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3375         Opt_AnimateParam value_value_buf = {};
3376         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3377         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3378         {
3379             value_value_buf.value = thisDeserializer.readAnimateParam();
3380         }
3381         Opt_AnimateParam value_value = value_value_buf;;
3382         GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, (const Opt_AnimateParam*)&value_value);
3383 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_animation,Ark_NativePointer,KSerializerBuffer,int32_t)3384 KOALA_INTEROP_DIRECT_V3(CommonMethod_animation, Ark_NativePointer, KSerializerBuffer, int32_t)
3385 void impl_CommonMethod_transition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3386         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3387         Deserializer thisDeserializer(thisArray, thisLength);
3388         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3389         Opt_Union_TransitionOptions_TransitionEffect value_value_buf = {};
3390         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3391         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3392         {
3393             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3394             Ark_Union_TransitionOptions_TransitionEffect value_value_buf_ = {};
3395             value_value_buf_.selector = value_value_buf__selector;
3396             if (value_value_buf__selector == 0) {
3397                 value_value_buf_.selector = 0;
3398                 value_value_buf_.value0 = thisDeserializer.readTransitionOptions();
3399             }
3400             else if (value_value_buf__selector == 1) {
3401                 value_value_buf_.selector = 1;
3402                 value_value_buf_.value1 = static_cast<Ark_TransitionEffect>(thisDeserializer.readTransitionEffect());
3403             }
3404             else {
3405                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3406             }
3407             value_value_buf.value = static_cast<Ark_Union_TransitionOptions_TransitionEffect>(value_value_buf_);
3408         }
3409         Opt_Union_TransitionOptions_TransitionEffect value_value = value_value_buf;;
3410         GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, (const Opt_Union_TransitionOptions_TransitionEffect*)&value_value);
3411 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_transition0,Ark_NativePointer,KSerializerBuffer,int32_t)3412 KOALA_INTEROP_DIRECT_V3(CommonMethod_transition0, Ark_NativePointer, KSerializerBuffer, int32_t)
3413 void impl_CommonMethod_transition1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3414         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3415         Deserializer thisDeserializer(thisArray, thisLength);
3416         const auto effect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3417         Opt_TransitionEffect effect_value_buf = {};
3418         effect_value_buf.tag = effect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3419         if ((INTEROP_RUNTIME_UNDEFINED) != (effect_value_buf_runtimeType))
3420         {
3421             effect_value_buf.value = static_cast<Ark_TransitionEffect>(thisDeserializer.readTransitionEffect());
3422         }
3423         Opt_TransitionEffect effect_value = effect_value_buf;;
3424         const auto onFinish_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3425         Opt_TransitionFinishCallback onFinish_value_buf = {};
3426         onFinish_value_buf.tag = onFinish_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3427         if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_value_buf_runtimeType))
3428         {
3429             onFinish_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean transitionIn)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TransitionFinishCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean transitionIn)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TransitionFinishCallback))))};
3430         }
3431         Opt_TransitionFinishCallback onFinish_value = onFinish_value_buf;;
3432         GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, (const Opt_TransitionEffect*)&effect_value, (const Opt_TransitionFinishCallback*)&onFinish_value);
3433 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_transition1,Ark_NativePointer,KSerializerBuffer,int32_t)3434 KOALA_INTEROP_DIRECT_V3(CommonMethod_transition1, Ark_NativePointer, KSerializerBuffer, int32_t)
3435 void impl_CommonMethod_motionBlur0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3436         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3437         Deserializer thisDeserializer(thisArray, thisLength);
3438         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3439         Opt_MotionBlurOptions value_value_buf = {};
3440         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3441         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3442         {
3443             value_value_buf.value = thisDeserializer.readMotionBlurOptions();
3444         }
3445         Opt_MotionBlurOptions value_value = value_value_buf;;
3446         GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur0(self, (const Opt_MotionBlurOptions*)&value_value);
3447 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur0,Ark_NativePointer,KSerializerBuffer,int32_t)3448 KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur0, Ark_NativePointer, KSerializerBuffer, int32_t)
3449 void impl_CommonMethod_motionBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3450         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3451         Deserializer thisDeserializer(thisArray, thisLength);
3452         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3453         Opt_MotionBlurOptions value_value_buf = {};
3454         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3455         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3456         {
3457             value_value_buf.value = thisDeserializer.readMotionBlurOptions();
3458         }
3459         Opt_MotionBlurOptions value_value = value_value_buf;;
3460         GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur1(self, (const Opt_MotionBlurOptions*)&value_value);
3461 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur1,Ark_NativePointer,KSerializerBuffer,int32_t)3462 KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur1, Ark_NativePointer, KSerializerBuffer, int32_t)
3463 void impl_CommonMethod_brightness0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3464         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3465         Deserializer thisDeserializer(thisArray, thisLength);
3466         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3467         Opt_Number value_value_buf = {};
3468         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3469         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3470         {
3471             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3472         }
3473         Opt_Number value_value = value_value_buf;;
3474         GetNodeModifiers()->getCommonMethodModifier()->setBrightness0(self, (const Opt_Number*)&value_value);
3475 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_brightness0,Ark_NativePointer,KSerializerBuffer,int32_t)3476 KOALA_INTEROP_DIRECT_V3(CommonMethod_brightness0, Ark_NativePointer, KSerializerBuffer, int32_t)
3477 void impl_CommonMethod_brightness1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3478         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3479         Deserializer thisDeserializer(thisArray, thisLength);
3480         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3481         Opt_Number value_value_buf = {};
3482         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3483         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3484         {
3485             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3486         }
3487         Opt_Number value_value = value_value_buf;;
3488         GetNodeModifiers()->getCommonMethodModifier()->setBrightness1(self, (const Opt_Number*)&value_value);
3489 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_brightness1,Ark_NativePointer,KSerializerBuffer,int32_t)3490 KOALA_INTEROP_DIRECT_V3(CommonMethod_brightness1, Ark_NativePointer, KSerializerBuffer, int32_t)
3491 void impl_CommonMethod_contrast0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3492         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3493         Deserializer thisDeserializer(thisArray, thisLength);
3494         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3495         Opt_Number value_value_buf = {};
3496         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3497         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3498         {
3499             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3500         }
3501         Opt_Number value_value = value_value_buf;;
3502         GetNodeModifiers()->getCommonMethodModifier()->setContrast0(self, (const Opt_Number*)&value_value);
3503 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_contrast0,Ark_NativePointer,KSerializerBuffer,int32_t)3504 KOALA_INTEROP_DIRECT_V3(CommonMethod_contrast0, Ark_NativePointer, KSerializerBuffer, int32_t)
3505 void impl_CommonMethod_contrast1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3506         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3507         Deserializer thisDeserializer(thisArray, thisLength);
3508         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3509         Opt_Number value_value_buf = {};
3510         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3511         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3512         {
3513             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3514         }
3515         Opt_Number value_value = value_value_buf;;
3516         GetNodeModifiers()->getCommonMethodModifier()->setContrast1(self, (const Opt_Number*)&value_value);
3517 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_contrast1,Ark_NativePointer,KSerializerBuffer,int32_t)3518 KOALA_INTEROP_DIRECT_V3(CommonMethod_contrast1, Ark_NativePointer, KSerializerBuffer, int32_t)
3519 void impl_CommonMethod_grayscale0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3520         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3521         Deserializer thisDeserializer(thisArray, thisLength);
3522         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3523         Opt_Number value_value_buf = {};
3524         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3525         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3526         {
3527             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3528         }
3529         Opt_Number value_value = value_value_buf;;
3530         GetNodeModifiers()->getCommonMethodModifier()->setGrayscale0(self, (const Opt_Number*)&value_value);
3531 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_grayscale0,Ark_NativePointer,KSerializerBuffer,int32_t)3532 KOALA_INTEROP_DIRECT_V3(CommonMethod_grayscale0, Ark_NativePointer, KSerializerBuffer, int32_t)
3533 void impl_CommonMethod_grayscale1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3534         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3535         Deserializer thisDeserializer(thisArray, thisLength);
3536         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3537         Opt_Number value_value_buf = {};
3538         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3539         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3540         {
3541             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3542         }
3543         Opt_Number value_value = value_value_buf;;
3544         GetNodeModifiers()->getCommonMethodModifier()->setGrayscale1(self, (const Opt_Number*)&value_value);
3545 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_grayscale1,Ark_NativePointer,KSerializerBuffer,int32_t)3546 KOALA_INTEROP_DIRECT_V3(CommonMethod_grayscale1, Ark_NativePointer, KSerializerBuffer, int32_t)
3547 void impl_CommonMethod_colorBlend0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3548         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3549         Deserializer thisDeserializer(thisArray, thisLength);
3550         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3551         Opt_Union_Color_String_Resource value_value_buf = {};
3552         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3553         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3554         {
3555             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3556             Ark_Union_Color_String_Resource value_value_buf_ = {};
3557             value_value_buf_.selector = value_value_buf__selector;
3558             if (value_value_buf__selector == 0) {
3559                 value_value_buf_.selector = 0;
3560                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
3561             }
3562             else if (value_value_buf__selector == 1) {
3563                 value_value_buf_.selector = 1;
3564                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
3565             }
3566             else if (value_value_buf__selector == 2) {
3567                 value_value_buf_.selector = 2;
3568                 value_value_buf_.value2 = thisDeserializer.readResource();
3569             }
3570             else {
3571                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3572             }
3573             value_value_buf.value = static_cast<Ark_Union_Color_String_Resource>(value_value_buf_);
3574         }
3575         Opt_Union_Color_String_Resource value_value = value_value_buf;;
3576         GetNodeModifiers()->getCommonMethodModifier()->setColorBlend0(self, (const Opt_Union_Color_String_Resource*)&value_value);
3577 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend0,Ark_NativePointer,KSerializerBuffer,int32_t)3578 KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend0, Ark_NativePointer, KSerializerBuffer, int32_t)
3579 void impl_CommonMethod_colorBlend1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3580         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3581         Deserializer thisDeserializer(thisArray, thisLength);
3582         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3583         Opt_Union_Color_String_Resource value_value_buf = {};
3584         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3585         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3586         {
3587             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3588             Ark_Union_Color_String_Resource value_value_buf_ = {};
3589             value_value_buf_.selector = value_value_buf__selector;
3590             if (value_value_buf__selector == 0) {
3591                 value_value_buf_.selector = 0;
3592                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
3593             }
3594             else if (value_value_buf__selector == 1) {
3595                 value_value_buf_.selector = 1;
3596                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
3597             }
3598             else if (value_value_buf__selector == 2) {
3599                 value_value_buf_.selector = 2;
3600                 value_value_buf_.value2 = thisDeserializer.readResource();
3601             }
3602             else {
3603                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3604             }
3605             value_value_buf.value = static_cast<Ark_Union_Color_String_Resource>(value_value_buf_);
3606         }
3607         Opt_Union_Color_String_Resource value_value = value_value_buf;;
3608         GetNodeModifiers()->getCommonMethodModifier()->setColorBlend1(self, (const Opt_Union_Color_String_Resource*)&value_value);
3609 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend1,Ark_NativePointer,KSerializerBuffer,int32_t)3610 KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend1, Ark_NativePointer, KSerializerBuffer, int32_t)
3611 void impl_CommonMethod_saturate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3612         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3613         Deserializer thisDeserializer(thisArray, thisLength);
3614         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3615         Opt_Number value_value_buf = {};
3616         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3617         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3618         {
3619             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3620         }
3621         Opt_Number value_value = value_value_buf;;
3622         GetNodeModifiers()->getCommonMethodModifier()->setSaturate0(self, (const Opt_Number*)&value_value);
3623 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_saturate0,Ark_NativePointer,KSerializerBuffer,int32_t)3624 KOALA_INTEROP_DIRECT_V3(CommonMethod_saturate0, Ark_NativePointer, KSerializerBuffer, int32_t)
3625 void impl_CommonMethod_saturate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3626         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3627         Deserializer thisDeserializer(thisArray, thisLength);
3628         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3629         Opt_Number value_value_buf = {};
3630         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3631         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3632         {
3633             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3634         }
3635         Opt_Number value_value = value_value_buf;;
3636         GetNodeModifiers()->getCommonMethodModifier()->setSaturate1(self, (const Opt_Number*)&value_value);
3637 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_saturate1,Ark_NativePointer,KSerializerBuffer,int32_t)3638 KOALA_INTEROP_DIRECT_V3(CommonMethod_saturate1, Ark_NativePointer, KSerializerBuffer, int32_t)
3639 void impl_CommonMethod_sepia0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3640         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3641         Deserializer thisDeserializer(thisArray, thisLength);
3642         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3643         Opt_Number value_value_buf = {};
3644         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3645         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3646         {
3647             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3648         }
3649         Opt_Number value_value = value_value_buf;;
3650         GetNodeModifiers()->getCommonMethodModifier()->setSepia0(self, (const Opt_Number*)&value_value);
3651 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sepia0,Ark_NativePointer,KSerializerBuffer,int32_t)3652 KOALA_INTEROP_DIRECT_V3(CommonMethod_sepia0, Ark_NativePointer, KSerializerBuffer, int32_t)
3653 void impl_CommonMethod_sepia1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3654         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3655         Deserializer thisDeserializer(thisArray, thisLength);
3656         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3657         Opt_Number value_value_buf = {};
3658         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3659         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3660         {
3661             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3662         }
3663         Opt_Number value_value = value_value_buf;;
3664         GetNodeModifiers()->getCommonMethodModifier()->setSepia1(self, (const Opt_Number*)&value_value);
3665 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sepia1,Ark_NativePointer,KSerializerBuffer,int32_t)3666 KOALA_INTEROP_DIRECT_V3(CommonMethod_sepia1, Ark_NativePointer, KSerializerBuffer, int32_t)
3667 void impl_CommonMethod_invert0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3668         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3669         Deserializer thisDeserializer(thisArray, thisLength);
3670         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3671         Opt_Union_Number_InvertOptions value_value_buf = {};
3672         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3673         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3674         {
3675             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3676             Ark_Union_Number_InvertOptions value_value_buf_ = {};
3677             value_value_buf_.selector = value_value_buf__selector;
3678             if (value_value_buf__selector == 0) {
3679                 value_value_buf_.selector = 0;
3680                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
3681             }
3682             else if (value_value_buf__selector == 1) {
3683                 value_value_buf_.selector = 1;
3684                 value_value_buf_.value1 = thisDeserializer.readInvertOptions();
3685             }
3686             else {
3687                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3688             }
3689             value_value_buf.value = static_cast<Ark_Union_Number_InvertOptions>(value_value_buf_);
3690         }
3691         Opt_Union_Number_InvertOptions value_value = value_value_buf;;
3692         GetNodeModifiers()->getCommonMethodModifier()->setInvert0(self, (const Opt_Union_Number_InvertOptions*)&value_value);
3693 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_invert0,Ark_NativePointer,KSerializerBuffer,int32_t)3694 KOALA_INTEROP_DIRECT_V3(CommonMethod_invert0, Ark_NativePointer, KSerializerBuffer, int32_t)
3695 void impl_CommonMethod_invert1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3696         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3697         Deserializer thisDeserializer(thisArray, thisLength);
3698         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3699         Opt_Union_Number_InvertOptions value_value_buf = {};
3700         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3701         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3702         {
3703             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3704             Ark_Union_Number_InvertOptions value_value_buf_ = {};
3705             value_value_buf_.selector = value_value_buf__selector;
3706             if (value_value_buf__selector == 0) {
3707                 value_value_buf_.selector = 0;
3708                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
3709             }
3710             else if (value_value_buf__selector == 1) {
3711                 value_value_buf_.selector = 1;
3712                 value_value_buf_.value1 = thisDeserializer.readInvertOptions();
3713             }
3714             else {
3715                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3716             }
3717             value_value_buf.value = static_cast<Ark_Union_Number_InvertOptions>(value_value_buf_);
3718         }
3719         Opt_Union_Number_InvertOptions value_value = value_value_buf;;
3720         GetNodeModifiers()->getCommonMethodModifier()->setInvert1(self, (const Opt_Union_Number_InvertOptions*)&value_value);
3721 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_invert1,Ark_NativePointer,KSerializerBuffer,int32_t)3722 KOALA_INTEROP_DIRECT_V3(CommonMethod_invert1, Ark_NativePointer, KSerializerBuffer, int32_t)
3723 void impl_CommonMethod_hueRotate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3724         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3725         Deserializer thisDeserializer(thisArray, thisLength);
3726         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3727         Opt_Union_Number_String value_value_buf = {};
3728         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3729         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3730         {
3731             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3732             Ark_Union_Number_String value_value_buf_ = {};
3733             value_value_buf_.selector = value_value_buf__selector;
3734             if (value_value_buf__selector == 0) {
3735                 value_value_buf_.selector = 0;
3736                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
3737             }
3738             else if (value_value_buf__selector == 1) {
3739                 value_value_buf_.selector = 1;
3740                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
3741             }
3742             else {
3743                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3744             }
3745             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
3746         }
3747         Opt_Union_Number_String value_value = value_value_buf;;
3748         GetNodeModifiers()->getCommonMethodModifier()->setHueRotate0(self, (const Opt_Union_Number_String*)&value_value);
3749 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate0,Ark_NativePointer,KSerializerBuffer,int32_t)3750 KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate0, Ark_NativePointer, KSerializerBuffer, int32_t)
3751 void impl_CommonMethod_hueRotate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3752         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3753         Deserializer thisDeserializer(thisArray, thisLength);
3754         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3755         Opt_Union_Number_String value_value_buf = {};
3756         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3757         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3758         {
3759             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
3760             Ark_Union_Number_String value_value_buf_ = {};
3761             value_value_buf_.selector = value_value_buf__selector;
3762             if (value_value_buf__selector == 0) {
3763                 value_value_buf_.selector = 0;
3764                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
3765             }
3766             else if (value_value_buf__selector == 1) {
3767                 value_value_buf_.selector = 1;
3768                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
3769             }
3770             else {
3771                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
3772             }
3773             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
3774         }
3775         Opt_Union_Number_String value_value = value_value_buf;;
3776         GetNodeModifiers()->getCommonMethodModifier()->setHueRotate1(self, (const Opt_Union_Number_String*)&value_value);
3777 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate1,Ark_NativePointer,KSerializerBuffer,int32_t)3778 KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate1, Ark_NativePointer, KSerializerBuffer, int32_t)
3779 void impl_CommonMethod_useShadowBatching0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3780         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3781         Deserializer thisDeserializer(thisArray, thisLength);
3782         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3783         Opt_Boolean value_value_buf = {};
3784         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3785         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3786         {
3787             value_value_buf.value = thisDeserializer.readBoolean();
3788         }
3789         Opt_Boolean value_value = value_value_buf;;
3790         GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching0(self, (const Opt_Boolean*)&value_value);
3791 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useShadowBatching0,Ark_NativePointer,KSerializerBuffer,int32_t)3792 KOALA_INTEROP_DIRECT_V3(CommonMethod_useShadowBatching0, Ark_NativePointer, KSerializerBuffer, int32_t)
3793 void impl_CommonMethod_useShadowBatching1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3794         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3795         Deserializer thisDeserializer(thisArray, thisLength);
3796         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3797         Opt_Boolean value_value_buf = {};
3798         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3799         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3800         {
3801             value_value_buf.value = thisDeserializer.readBoolean();
3802         }
3803         Opt_Boolean value_value = value_value_buf;;
3804         GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching1(self, (const Opt_Boolean*)&value_value);
3805 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useShadowBatching1,Ark_NativePointer,KSerializerBuffer,int32_t)3806 KOALA_INTEROP_DIRECT_V3(CommonMethod_useShadowBatching1, Ark_NativePointer, KSerializerBuffer, int32_t)
3807 void impl_CommonMethod_useEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3808         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3809         Deserializer thisDeserializer(thisArray, thisLength);
3810         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3811         Opt_Boolean value_value_buf = {};
3812         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3813         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3814         {
3815             value_value_buf.value = thisDeserializer.readBoolean();
3816         }
3817         Opt_Boolean value_value = value_value_buf;;
3818         GetNodeModifiers()->getCommonMethodModifier()->setUseEffect0(self, (const Opt_Boolean*)&value_value);
3819 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)3820 KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
3821 void impl_CommonMethod_useEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3822         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3823         Deserializer thisDeserializer(thisArray, thisLength);
3824         const auto useEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3825         Opt_Boolean useEffect_value_buf = {};
3826         useEffect_value_buf.tag = useEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3827         if ((INTEROP_RUNTIME_UNDEFINED) != (useEffect_value_buf_runtimeType))
3828         {
3829             useEffect_value_buf.value = thisDeserializer.readBoolean();
3830         }
3831         Opt_Boolean useEffect_value = useEffect_value_buf;;
3832         const auto effectType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3833         Opt_EffectType effectType_value_buf = {};
3834         effectType_value_buf.tag = effectType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3835         if ((INTEROP_RUNTIME_UNDEFINED) != (effectType_value_buf_runtimeType))
3836         {
3837             effectType_value_buf.value = static_cast<Ark_EffectType>(thisDeserializer.readInt32());
3838         }
3839         Opt_EffectType effectType_value = effectType_value_buf;;
3840         GetNodeModifiers()->getCommonMethodModifier()->setUseEffect1(self, (const Opt_Boolean*)&useEffect_value, (const Opt_EffectType*)&effectType_value);
3841 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)3842 KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
3843 void impl_CommonMethod_useEffect2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3844         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3845         Deserializer thisDeserializer(thisArray, thisLength);
3846         const auto useEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3847         Opt_Boolean useEffect_value_buf = {};
3848         useEffect_value_buf.tag = useEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3849         if ((INTEROP_RUNTIME_UNDEFINED) != (useEffect_value_buf_runtimeType))
3850         {
3851             useEffect_value_buf.value = thisDeserializer.readBoolean();
3852         }
3853         Opt_Boolean useEffect_value = useEffect_value_buf;;
3854         const auto effectType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3855         Opt_EffectType effectType_value_buf = {};
3856         effectType_value_buf.tag = effectType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3857         if ((INTEROP_RUNTIME_UNDEFINED) != (effectType_value_buf_runtimeType))
3858         {
3859             effectType_value_buf.value = static_cast<Ark_EffectType>(thisDeserializer.readInt32());
3860         }
3861         Opt_EffectType effectType_value = effectType_value_buf;;
3862         GetNodeModifiers()->getCommonMethodModifier()->setUseEffect2(self, (const Opt_Boolean*)&useEffect_value, (const Opt_EffectType*)&effectType_value);
3863 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect2,Ark_NativePointer,KSerializerBuffer,int32_t)3864 KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect2, Ark_NativePointer, KSerializerBuffer, int32_t)
3865 void impl_CommonMethod_renderGroup0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3866         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3867         Deserializer thisDeserializer(thisArray, thisLength);
3868         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3869         Opt_Boolean value_value_buf = {};
3870         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3871         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3872         {
3873             value_value_buf.value = thisDeserializer.readBoolean();
3874         }
3875         Opt_Boolean value_value = value_value_buf;;
3876         GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup0(self, (const Opt_Boolean*)&value_value);
3877 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_renderGroup0,Ark_NativePointer,KSerializerBuffer,int32_t)3878 KOALA_INTEROP_DIRECT_V3(CommonMethod_renderGroup0, Ark_NativePointer, KSerializerBuffer, int32_t)
3879 void impl_CommonMethod_renderGroup1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3880         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3881         Deserializer thisDeserializer(thisArray, thisLength);
3882         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3883         Opt_Boolean value_value_buf = {};
3884         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3885         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3886         {
3887             value_value_buf.value = thisDeserializer.readBoolean();
3888         }
3889         Opt_Boolean value_value = value_value_buf;;
3890         GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup1(self, (const Opt_Boolean*)&value_value);
3891 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_renderGroup1,Ark_NativePointer,KSerializerBuffer,int32_t)3892 KOALA_INTEROP_DIRECT_V3(CommonMethod_renderGroup1, Ark_NativePointer, KSerializerBuffer, int32_t)
3893 void impl_CommonMethod_freeze0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3894         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3895         Deserializer thisDeserializer(thisArray, thisLength);
3896         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3897         Opt_Boolean value_value_buf = {};
3898         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3899         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3900         {
3901             value_value_buf.value = thisDeserializer.readBoolean();
3902         }
3903         Opt_Boolean value_value = value_value_buf;;
3904         GetNodeModifiers()->getCommonMethodModifier()->setFreeze0(self, (const Opt_Boolean*)&value_value);
3905 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_freeze0,Ark_NativePointer,KSerializerBuffer,int32_t)3906 KOALA_INTEROP_DIRECT_V3(CommonMethod_freeze0, Ark_NativePointer, KSerializerBuffer, int32_t)
3907 void impl_CommonMethod_freeze1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3908         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3909         Deserializer thisDeserializer(thisArray, thisLength);
3910         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3911         Opt_Boolean value_value_buf = {};
3912         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3913         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3914         {
3915             value_value_buf.value = thisDeserializer.readBoolean();
3916         }
3917         Opt_Boolean value_value = value_value_buf;;
3918         GetNodeModifiers()->getCommonMethodModifier()->setFreeze1(self, (const Opt_Boolean*)&value_value);
3919 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_freeze1,Ark_NativePointer,KSerializerBuffer,int32_t)3920 KOALA_INTEROP_DIRECT_V3(CommonMethod_freeze1, Ark_NativePointer, KSerializerBuffer, int32_t)
3921 void impl_CommonMethod_translate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3922         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3923         Deserializer thisDeserializer(thisArray, thisLength);
3924         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3925         Opt_TranslateOptions value_value_buf = {};
3926         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3927         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3928         {
3929             value_value_buf.value = thisDeserializer.readTranslateOptions();
3930         }
3931         Opt_TranslateOptions value_value = value_value_buf;;
3932         GetNodeModifiers()->getCommonMethodModifier()->setTranslate0(self, (const Opt_TranslateOptions*)&value_value);
3933 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_translate0,Ark_NativePointer,KSerializerBuffer,int32_t)3934 KOALA_INTEROP_DIRECT_V3(CommonMethod_translate0, Ark_NativePointer, KSerializerBuffer, int32_t)
3935 void impl_CommonMethod_translate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3936         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3937         Deserializer thisDeserializer(thisArray, thisLength);
3938         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3939         Opt_TranslateOptions value_value_buf = {};
3940         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3941         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3942         {
3943             value_value_buf.value = thisDeserializer.readTranslateOptions();
3944         }
3945         Opt_TranslateOptions value_value = value_value_buf;;
3946         GetNodeModifiers()->getCommonMethodModifier()->setTranslate1(self, (const Opt_TranslateOptions*)&value_value);
3947 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_translate1,Ark_NativePointer,KSerializerBuffer,int32_t)3948 KOALA_INTEROP_DIRECT_V3(CommonMethod_translate1, Ark_NativePointer, KSerializerBuffer, int32_t)
3949 void impl_CommonMethod_scale0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3950         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3951         Deserializer thisDeserializer(thisArray, thisLength);
3952         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3953         Opt_ScaleOptions value_value_buf = {};
3954         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3955         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3956         {
3957             value_value_buf.value = thisDeserializer.readScaleOptions();
3958         }
3959         Opt_ScaleOptions value_value = value_value_buf;;
3960         GetNodeModifiers()->getCommonMethodModifier()->setScale0(self, (const Opt_ScaleOptions*)&value_value);
3961 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_scale0,Ark_NativePointer,KSerializerBuffer,int32_t)3962 KOALA_INTEROP_DIRECT_V3(CommonMethod_scale0, Ark_NativePointer, KSerializerBuffer, int32_t)
3963 void impl_CommonMethod_scale1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3964         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3965         Deserializer thisDeserializer(thisArray, thisLength);
3966         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3967         Opt_ScaleOptions value_value_buf = {};
3968         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3969         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3970         {
3971             value_value_buf.value = thisDeserializer.readScaleOptions();
3972         }
3973         Opt_ScaleOptions value_value = value_value_buf;;
3974         GetNodeModifiers()->getCommonMethodModifier()->setScale1(self, (const Opt_ScaleOptions*)&value_value);
3975 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_scale1,Ark_NativePointer,KSerializerBuffer,int32_t)3976 KOALA_INTEROP_DIRECT_V3(CommonMethod_scale1, Ark_NativePointer, KSerializerBuffer, int32_t)
3977 void impl_CommonMethod_gridSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3978         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3979         Deserializer thisDeserializer(thisArray, thisLength);
3980         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3981         Opt_Number value_value_buf = {};
3982         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3983         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3984         {
3985             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
3986         }
3987         Opt_Number value_value = value_value_buf;;
3988         GetNodeModifiers()->getCommonMethodModifier()->setGridSpan(self, (const Opt_Number*)&value_value);
3989 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_gridSpan,Ark_NativePointer,KSerializerBuffer,int32_t)3990 KOALA_INTEROP_DIRECT_V3(CommonMethod_gridSpan, Ark_NativePointer, KSerializerBuffer, int32_t)
3991 void impl_CommonMethod_gridOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
3992         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
3993         Deserializer thisDeserializer(thisArray, thisLength);
3994         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
3995         Opt_Number value_value_buf = {};
3996         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
3997         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
3998         {
3999             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4000         }
4001         Opt_Number value_value = value_value_buf;;
4002         GetNodeModifiers()->getCommonMethodModifier()->setGridOffset(self, (const Opt_Number*)&value_value);
4003 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_gridOffset,Ark_NativePointer,KSerializerBuffer,int32_t)4004 KOALA_INTEROP_DIRECT_V3(CommonMethod_gridOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
4005 void impl_CommonMethod_rotate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4006         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4007         Deserializer thisDeserializer(thisArray, thisLength);
4008         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4009         Opt_RotateOptions value_value_buf = {};
4010         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4011         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4012         {
4013             value_value_buf.value = thisDeserializer.readRotateOptions();
4014         }
4015         Opt_RotateOptions value_value = value_value_buf;;
4016         GetNodeModifiers()->getCommonMethodModifier()->setRotate0(self, (const Opt_RotateOptions*)&value_value);
4017 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate0,Ark_NativePointer,KSerializerBuffer,int32_t)4018 KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate0, Ark_NativePointer, KSerializerBuffer, int32_t)
4019 void impl_CommonMethod_rotate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4020         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4021         Deserializer thisDeserializer(thisArray, thisLength);
4022         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4023         Opt_RotateOptions value_value_buf = {};
4024         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4025         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4026         {
4027             value_value_buf.value = thisDeserializer.readRotateOptions();
4028         }
4029         Opt_RotateOptions value_value = value_value_buf;;
4030         GetNodeModifiers()->getCommonMethodModifier()->setRotate1(self, (const Opt_RotateOptions*)&value_value);
4031 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate1,Ark_NativePointer,KSerializerBuffer,int32_t)4032 KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate1, Ark_NativePointer, KSerializerBuffer, int32_t)
4033 void impl_CommonMethod_transform0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4034         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4035         Deserializer thisDeserializer(thisArray, thisLength);
4036         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4037         Opt_TransformationMatrix value_value_buf = {};
4038         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4039         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4040         {
4041             value_value_buf.value = thisDeserializer.readTransformationMatrix();
4042         }
4043         Opt_TransformationMatrix value_value = value_value_buf;;
4044         GetNodeModifiers()->getCommonMethodModifier()->setTransform0(self, (const Opt_TransformationMatrix*)&value_value);
4045 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_transform0,Ark_NativePointer,KSerializerBuffer,int32_t)4046 KOALA_INTEROP_DIRECT_V3(CommonMethod_transform0, Ark_NativePointer, KSerializerBuffer, int32_t)
4047 void impl_CommonMethod_transform1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4048         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4049         Deserializer thisDeserializer(thisArray, thisLength);
4050         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4051         Opt_Object value_value_buf = {};
4052         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4053         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4054         {
4055             value_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
4056         }
4057         Opt_Object value_value = value_value_buf;;
4058         GetNodeModifiers()->getCommonMethodModifier()->setTransform1(self, (const Opt_Object*)&value_value);
4059 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_transform1,Ark_NativePointer,KSerializerBuffer,int32_t)4060 KOALA_INTEROP_DIRECT_V3(CommonMethod_transform1, Ark_NativePointer, KSerializerBuffer, int32_t)
4061 void impl_CommonMethod_onAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4062         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4063         Deserializer thisDeserializer(thisArray, thisLength);
4064         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4065         Opt_Callback_Void value_value_buf = {};
4066         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4067         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4068         {
4069             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
4070         }
4071         Opt_Callback_Void value_value = value_value_buf;;
4072         GetNodeModifiers()->getCommonMethodModifier()->setOnAppear(self, (const Opt_Callback_Void*)&value_value);
4073 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAppear,Ark_NativePointer,KSerializerBuffer,int32_t)4074 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAppear, Ark_NativePointer, KSerializerBuffer, int32_t)
4075 void impl_CommonMethod_onDisAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4076         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4077         Deserializer thisDeserializer(thisArray, thisLength);
4078         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4079         Opt_Callback_Void value_value_buf = {};
4080         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4081         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4082         {
4083             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
4084         }
4085         Opt_Callback_Void value_value = value_value_buf;;
4086         GetNodeModifiers()->getCommonMethodModifier()->setOnDisAppear(self, (const Opt_Callback_Void*)&value_value);
4087 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDisAppear,Ark_NativePointer,KSerializerBuffer,int32_t)4088 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDisAppear, Ark_NativePointer, KSerializerBuffer, int32_t)
4089 void impl_CommonMethod_onAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4090         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4091         Deserializer thisDeserializer(thisArray, thisLength);
4092         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4093         Opt_Callback_Void value_value_buf = {};
4094         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4095         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4096         {
4097             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
4098         }
4099         Opt_Callback_Void value_value = value_value_buf;;
4100         GetNodeModifiers()->getCommonMethodModifier()->setOnAttach(self, (const Opt_Callback_Void*)&value_value);
4101 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAttach,Ark_NativePointer,KSerializerBuffer,int32_t)4102 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAttach, Ark_NativePointer, KSerializerBuffer, int32_t)
4103 void impl_CommonMethod_onDetach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4104         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4105         Deserializer thisDeserializer(thisArray, thisLength);
4106         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4107         Opt_Callback_Void value_value_buf = {};
4108         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4109         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4110         {
4111             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
4112         }
4113         Opt_Callback_Void value_value = value_value_buf;;
4114         GetNodeModifiers()->getCommonMethodModifier()->setOnDetach(self, (const Opt_Callback_Void*)&value_value);
4115 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDetach,Ark_NativePointer,KSerializerBuffer,int32_t)4116 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDetach, Ark_NativePointer, KSerializerBuffer, int32_t)
4117 void impl_CommonMethod_onAreaChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4118         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4119         Deserializer thisDeserializer(thisArray, thisLength);
4120         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4121         Opt_Callback_Area_Area_Void value_value_buf = {};
4122         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4123         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4124         {
4125             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Area_Area_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Area_Area_Void))))};
4126         }
4127         Opt_Callback_Area_Area_Void value_value = value_value_buf;;
4128         GetNodeModifiers()->getCommonMethodModifier()->setOnAreaChange(self, (const Opt_Callback_Area_Area_Void*)&value_value);
4129 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAreaChange,Ark_NativePointer,KSerializerBuffer,int32_t)4130 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAreaChange, Ark_NativePointer, KSerializerBuffer, int32_t)
4131 void impl_CommonMethod_visibility(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4132         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4133         Deserializer thisDeserializer(thisArray, thisLength);
4134         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4135         Opt_Visibility value_value_buf = {};
4136         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4137         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4138         {
4139             value_value_buf.value = static_cast<Ark_Visibility>(thisDeserializer.readInt32());
4140         }
4141         Opt_Visibility value_value = value_value_buf;;
4142         GetNodeModifiers()->getCommonMethodModifier()->setVisibility(self, (const Opt_Visibility*)&value_value);
4143 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_visibility,Ark_NativePointer,KSerializerBuffer,int32_t)4144 KOALA_INTEROP_DIRECT_V3(CommonMethod_visibility, Ark_NativePointer, KSerializerBuffer, int32_t)
4145 void impl_CommonMethod_flexGrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4146         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4147         Deserializer thisDeserializer(thisArray, thisLength);
4148         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4149         Opt_Number value_value_buf = {};
4150         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4151         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4152         {
4153             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4154         }
4155         Opt_Number value_value = value_value_buf;;
4156         GetNodeModifiers()->getCommonMethodModifier()->setFlexGrow(self, (const Opt_Number*)&value_value);
4157 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_flexGrow,Ark_NativePointer,KSerializerBuffer,int32_t)4158 KOALA_INTEROP_DIRECT_V3(CommonMethod_flexGrow, Ark_NativePointer, KSerializerBuffer, int32_t)
4159 void impl_CommonMethod_flexShrink(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4160         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4161         Deserializer thisDeserializer(thisArray, thisLength);
4162         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4163         Opt_Number value_value_buf = {};
4164         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4165         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4166         {
4167             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4168         }
4169         Opt_Number value_value = value_value_buf;;
4170         GetNodeModifiers()->getCommonMethodModifier()->setFlexShrink(self, (const Opt_Number*)&value_value);
4171 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_flexShrink,Ark_NativePointer,KSerializerBuffer,int32_t)4172 KOALA_INTEROP_DIRECT_V3(CommonMethod_flexShrink, Ark_NativePointer, KSerializerBuffer, int32_t)
4173 void impl_CommonMethod_flexBasis(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4174         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4175         Deserializer thisDeserializer(thisArray, thisLength);
4176         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4177         Opt_Union_Number_String value_value_buf = {};
4178         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4179         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4180         {
4181             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4182             Ark_Union_Number_String value_value_buf_ = {};
4183             value_value_buf_.selector = value_value_buf__selector;
4184             if (value_value_buf__selector == 0) {
4185                 value_value_buf_.selector = 0;
4186                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
4187             }
4188             else if (value_value_buf__selector == 1) {
4189                 value_value_buf_.selector = 1;
4190                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
4191             }
4192             else {
4193                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4194             }
4195             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
4196         }
4197         Opt_Union_Number_String value_value = value_value_buf;;
4198         GetNodeModifiers()->getCommonMethodModifier()->setFlexBasis(self, (const Opt_Union_Number_String*)&value_value);
4199 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_flexBasis,Ark_NativePointer,KSerializerBuffer,int32_t)4200 KOALA_INTEROP_DIRECT_V3(CommonMethod_flexBasis, Ark_NativePointer, KSerializerBuffer, int32_t)
4201 void impl_CommonMethod_alignSelf(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4202         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4203         Deserializer thisDeserializer(thisArray, thisLength);
4204         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4205         Opt_ItemAlign value_value_buf = {};
4206         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4207         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4208         {
4209             value_value_buf.value = static_cast<Ark_ItemAlign>(thisDeserializer.readInt32());
4210         }
4211         Opt_ItemAlign value_value = value_value_buf;;
4212         GetNodeModifiers()->getCommonMethodModifier()->setAlignSelf(self, (const Opt_ItemAlign*)&value_value);
4213 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_alignSelf,Ark_NativePointer,KSerializerBuffer,int32_t)4214 KOALA_INTEROP_DIRECT_V3(CommonMethod_alignSelf, Ark_NativePointer, KSerializerBuffer, int32_t)
4215 void impl_CommonMethod_displayPriority(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4216         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4217         Deserializer thisDeserializer(thisArray, thisLength);
4218         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4219         Opt_Number value_value_buf = {};
4220         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4221         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4222         {
4223             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4224         }
4225         Opt_Number value_value = value_value_buf;;
4226         GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, (const Opt_Number*)&value_value);
4227 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_displayPriority,Ark_NativePointer,KSerializerBuffer,int32_t)4228 KOALA_INTEROP_DIRECT_V3(CommonMethod_displayPriority, Ark_NativePointer, KSerializerBuffer, int32_t)
4229 void impl_CommonMethod_zIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4230         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4231         Deserializer thisDeserializer(thisArray, thisLength);
4232         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4233         Opt_Number value_value_buf = {};
4234         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4235         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4236         {
4237             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4238         }
4239         Opt_Number value_value = value_value_buf;;
4240         GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, (const Opt_Number*)&value_value);
4241 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_zIndex,Ark_NativePointer,KSerializerBuffer,int32_t)4242 KOALA_INTEROP_DIRECT_V3(CommonMethod_zIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
4243 void impl_CommonMethod_direction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4244         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4245         Deserializer thisDeserializer(thisArray, thisLength);
4246         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4247         Opt_Direction value_value_buf = {};
4248         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4249         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4250         {
4251             value_value_buf.value = static_cast<Ark_Direction>(thisDeserializer.readInt32());
4252         }
4253         Opt_Direction value_value = value_value_buf;;
4254         GetNodeModifiers()->getCommonMethodModifier()->setDirection(self, (const Opt_Direction*)&value_value);
4255 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_direction,Ark_NativePointer,KSerializerBuffer,int32_t)4256 KOALA_INTEROP_DIRECT_V3(CommonMethod_direction, Ark_NativePointer, KSerializerBuffer, int32_t)
4257 void impl_CommonMethod_align(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4258         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4259         Deserializer thisDeserializer(thisArray, thisLength);
4260         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4261         Opt_Alignment value_value_buf = {};
4262         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4263         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4264         {
4265             value_value_buf.value = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
4266         }
4267         Opt_Alignment value_value = value_value_buf;;
4268         GetNodeModifiers()->getCommonMethodModifier()->setAlign(self, (const Opt_Alignment*)&value_value);
4269 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_align,Ark_NativePointer,KSerializerBuffer,int32_t)4270 KOALA_INTEROP_DIRECT_V3(CommonMethod_align, Ark_NativePointer, KSerializerBuffer, int32_t)
4271 void impl_CommonMethod_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4272         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4273         Deserializer thisDeserializer(thisArray, thisLength);
4274         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4275         Opt_Union_Position_Edges_LocalizedEdges value_value_buf = {};
4276         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4277         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4278         {
4279             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4280             Ark_Union_Position_Edges_LocalizedEdges value_value_buf_ = {};
4281             value_value_buf_.selector = value_value_buf__selector;
4282             if (value_value_buf__selector == 0) {
4283                 value_value_buf_.selector = 0;
4284                 value_value_buf_.value0 = thisDeserializer.readPosition();
4285             }
4286             else if (value_value_buf__selector == 1) {
4287                 value_value_buf_.selector = 1;
4288                 value_value_buf_.value1 = thisDeserializer.readEdges();
4289             }
4290             else if (value_value_buf__selector == 2) {
4291                 value_value_buf_.selector = 2;
4292                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdges();
4293             }
4294             else {
4295                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4296             }
4297             value_value_buf.value = static_cast<Ark_Union_Position_Edges_LocalizedEdges>(value_value_buf_);
4298         }
4299         Opt_Union_Position_Edges_LocalizedEdges value_value = value_value_buf;;
4300         GetNodeModifiers()->getCommonMethodModifier()->setPosition(self, (const Opt_Union_Position_Edges_LocalizedEdges*)&value_value);
4301 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_position,Ark_NativePointer,KSerializerBuffer,int32_t)4302 KOALA_INTEROP_DIRECT_V3(CommonMethod_position, Ark_NativePointer, KSerializerBuffer, int32_t)
4303 void impl_CommonMethod_markAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4304         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4305         Deserializer thisDeserializer(thisArray, thisLength);
4306         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4307         Opt_Union_Position_LocalizedPosition value_value_buf = {};
4308         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4309         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4310         {
4311             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4312             Ark_Union_Position_LocalizedPosition value_value_buf_ = {};
4313             value_value_buf_.selector = value_value_buf__selector;
4314             if (value_value_buf__selector == 0) {
4315                 value_value_buf_.selector = 0;
4316                 value_value_buf_.value0 = thisDeserializer.readPosition();
4317             }
4318             else if (value_value_buf__selector == 1) {
4319                 value_value_buf_.selector = 1;
4320                 value_value_buf_.value1 = thisDeserializer.readLocalizedPosition();
4321             }
4322             else {
4323                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4324             }
4325             value_value_buf.value = static_cast<Ark_Union_Position_LocalizedPosition>(value_value_buf_);
4326         }
4327         Opt_Union_Position_LocalizedPosition value_value = value_value_buf;;
4328         GetNodeModifiers()->getCommonMethodModifier()->setMarkAnchor(self, (const Opt_Union_Position_LocalizedPosition*)&value_value);
4329 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_markAnchor,Ark_NativePointer,KSerializerBuffer,int32_t)4330 KOALA_INTEROP_DIRECT_V3(CommonMethod_markAnchor, Ark_NativePointer, KSerializerBuffer, int32_t)
4331 void impl_CommonMethod_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4332         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4333         Deserializer thisDeserializer(thisArray, thisLength);
4334         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4335         Opt_Union_Position_Edges_LocalizedEdges value_value_buf = {};
4336         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4337         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4338         {
4339             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4340             Ark_Union_Position_Edges_LocalizedEdges value_value_buf_ = {};
4341             value_value_buf_.selector = value_value_buf__selector;
4342             if (value_value_buf__selector == 0) {
4343                 value_value_buf_.selector = 0;
4344                 value_value_buf_.value0 = thisDeserializer.readPosition();
4345             }
4346             else if (value_value_buf__selector == 1) {
4347                 value_value_buf_.selector = 1;
4348                 value_value_buf_.value1 = thisDeserializer.readEdges();
4349             }
4350             else if (value_value_buf__selector == 2) {
4351                 value_value_buf_.selector = 2;
4352                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdges();
4353             }
4354             else {
4355                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4356             }
4357             value_value_buf.value = static_cast<Ark_Union_Position_Edges_LocalizedEdges>(value_value_buf_);
4358         }
4359         Opt_Union_Position_Edges_LocalizedEdges value_value = value_value_buf;;
4360         GetNodeModifiers()->getCommonMethodModifier()->setOffset(self, (const Opt_Union_Position_Edges_LocalizedEdges*)&value_value);
4361 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_offset,Ark_NativePointer,KSerializerBuffer,int32_t)4362 KOALA_INTEROP_DIRECT_V3(CommonMethod_offset, Ark_NativePointer, KSerializerBuffer, int32_t)
4363 void impl_CommonMethod_enabled(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4364         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4365         Deserializer thisDeserializer(thisArray, thisLength);
4366         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4367         Opt_Boolean value_value_buf = {};
4368         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4369         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4370         {
4371             value_value_buf.value = thisDeserializer.readBoolean();
4372         }
4373         Opt_Boolean value_value = value_value_buf;;
4374         GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, (const Opt_Boolean*)&value_value);
4375 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_enabled,Ark_NativePointer,KSerializerBuffer,int32_t)4376 KOALA_INTEROP_DIRECT_V3(CommonMethod_enabled, Ark_NativePointer, KSerializerBuffer, int32_t)
4377 void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4378         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4379         Deserializer thisDeserializer(thisArray, thisLength);
4380         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4381         Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs value_value_buf = {};
4382         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4383         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4384         {
4385             Ark_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs value_value_buf_ = {};
4386             const auto value_value_buf__xs_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4387             Opt_Union_Number_Literal_Number_offset_span value_value_buf__xs_buf = {};
4388             value_value_buf__xs_buf.tag = value_value_buf__xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4389             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__xs_buf_runtimeType))
4390             {
4391                 const Ark_Int8 value_value_buf__xs_buf__selector = thisDeserializer.readInt8();
4392                 Ark_Union_Number_Literal_Number_offset_span value_value_buf__xs_buf_ = {};
4393                 value_value_buf__xs_buf_.selector = value_value_buf__xs_buf__selector;
4394                 if (value_value_buf__xs_buf__selector == 0) {
4395                     value_value_buf__xs_buf_.selector = 0;
4396                     value_value_buf__xs_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
4397                 }
4398                 else if (value_value_buf__xs_buf__selector == 1) {
4399                     value_value_buf__xs_buf_.selector = 1;
4400                     Ark_Literal_Number_offset_span value_value_buf__xs_buf__u = {};
4401                     value_value_buf__xs_buf__u.span = static_cast<Ark_Number>(thisDeserializer.readNumber());
4402                     value_value_buf__xs_buf__u.offset = static_cast<Ark_Number>(thisDeserializer.readNumber());
4403                     value_value_buf__xs_buf_.value1 = value_value_buf__xs_buf__u;
4404                 }
4405                 else {
4406                     INTEROP_FATAL("One of the branches for value_value_buf__xs_buf_ has to be chosen through deserialisation.");
4407                 }
4408                 value_value_buf__xs_buf.value = static_cast<Ark_Union_Number_Literal_Number_offset_span>(value_value_buf__xs_buf_);
4409             }
4410             value_value_buf_.xs = value_value_buf__xs_buf;
4411             const auto value_value_buf__sm_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4412             Opt_Union_Number_Literal_Number_offset_span value_value_buf__sm_buf = {};
4413             value_value_buf__sm_buf.tag = value_value_buf__sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4414             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__sm_buf_runtimeType))
4415             {
4416                 const Ark_Int8 value_value_buf__sm_buf__selector = thisDeserializer.readInt8();
4417                 Ark_Union_Number_Literal_Number_offset_span value_value_buf__sm_buf_ = {};
4418                 value_value_buf__sm_buf_.selector = value_value_buf__sm_buf__selector;
4419                 if (value_value_buf__sm_buf__selector == 0) {
4420                     value_value_buf__sm_buf_.selector = 0;
4421                     value_value_buf__sm_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
4422                 }
4423                 else if (value_value_buf__sm_buf__selector == 1) {
4424                     value_value_buf__sm_buf_.selector = 1;
4425                     Ark_Literal_Number_offset_span value_value_buf__sm_buf__u = {};
4426                     value_value_buf__sm_buf__u.span = static_cast<Ark_Number>(thisDeserializer.readNumber());
4427                     value_value_buf__sm_buf__u.offset = static_cast<Ark_Number>(thisDeserializer.readNumber());
4428                     value_value_buf__sm_buf_.value1 = value_value_buf__sm_buf__u;
4429                 }
4430                 else {
4431                     INTEROP_FATAL("One of the branches for value_value_buf__sm_buf_ has to be chosen through deserialisation.");
4432                 }
4433                 value_value_buf__sm_buf.value = static_cast<Ark_Union_Number_Literal_Number_offset_span>(value_value_buf__sm_buf_);
4434             }
4435             value_value_buf_.sm = value_value_buf__sm_buf;
4436             const auto value_value_buf__md_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4437             Opt_Union_Number_Literal_Number_offset_span value_value_buf__md_buf = {};
4438             value_value_buf__md_buf.tag = value_value_buf__md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4439             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__md_buf_runtimeType))
4440             {
4441                 const Ark_Int8 value_value_buf__md_buf__selector = thisDeserializer.readInt8();
4442                 Ark_Union_Number_Literal_Number_offset_span value_value_buf__md_buf_ = {};
4443                 value_value_buf__md_buf_.selector = value_value_buf__md_buf__selector;
4444                 if (value_value_buf__md_buf__selector == 0) {
4445                     value_value_buf__md_buf_.selector = 0;
4446                     value_value_buf__md_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
4447                 }
4448                 else if (value_value_buf__md_buf__selector == 1) {
4449                     value_value_buf__md_buf_.selector = 1;
4450                     Ark_Literal_Number_offset_span value_value_buf__md_buf__u = {};
4451                     value_value_buf__md_buf__u.span = static_cast<Ark_Number>(thisDeserializer.readNumber());
4452                     value_value_buf__md_buf__u.offset = static_cast<Ark_Number>(thisDeserializer.readNumber());
4453                     value_value_buf__md_buf_.value1 = value_value_buf__md_buf__u;
4454                 }
4455                 else {
4456                     INTEROP_FATAL("One of the branches for value_value_buf__md_buf_ has to be chosen through deserialisation.");
4457                 }
4458                 value_value_buf__md_buf.value = static_cast<Ark_Union_Number_Literal_Number_offset_span>(value_value_buf__md_buf_);
4459             }
4460             value_value_buf_.md = value_value_buf__md_buf;
4461             const auto value_value_buf__lg_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4462             Opt_Union_Number_Literal_Number_offset_span value_value_buf__lg_buf = {};
4463             value_value_buf__lg_buf.tag = value_value_buf__lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4464             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__lg_buf_runtimeType))
4465             {
4466                 const Ark_Int8 value_value_buf__lg_buf__selector = thisDeserializer.readInt8();
4467                 Ark_Union_Number_Literal_Number_offset_span value_value_buf__lg_buf_ = {};
4468                 value_value_buf__lg_buf_.selector = value_value_buf__lg_buf__selector;
4469                 if (value_value_buf__lg_buf__selector == 0) {
4470                     value_value_buf__lg_buf_.selector = 0;
4471                     value_value_buf__lg_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
4472                 }
4473                 else if (value_value_buf__lg_buf__selector == 1) {
4474                     value_value_buf__lg_buf_.selector = 1;
4475                     Ark_Literal_Number_offset_span value_value_buf__lg_buf__u = {};
4476                     value_value_buf__lg_buf__u.span = static_cast<Ark_Number>(thisDeserializer.readNumber());
4477                     value_value_buf__lg_buf__u.offset = static_cast<Ark_Number>(thisDeserializer.readNumber());
4478                     value_value_buf__lg_buf_.value1 = value_value_buf__lg_buf__u;
4479                 }
4480                 else {
4481                     INTEROP_FATAL("One of the branches for value_value_buf__lg_buf_ has to be chosen through deserialisation.");
4482                 }
4483                 value_value_buf__lg_buf.value = static_cast<Ark_Union_Number_Literal_Number_offset_span>(value_value_buf__lg_buf_);
4484             }
4485             value_value_buf_.lg = value_value_buf__lg_buf;
4486             value_value_buf.value = value_value_buf_;
4487         }
4488         Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs value_value = value_value_buf;;
4489         GetNodeModifiers()->getCommonMethodModifier()->setUseSizeType(self, (const Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs*)&value_value);
4490 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_useSizeType,Ark_NativePointer,KSerializerBuffer,int32_t)4491 KOALA_INTEROP_DIRECT_V3(CommonMethod_useSizeType, Ark_NativePointer, KSerializerBuffer, int32_t)
4492 void impl_CommonMethod_alignRules0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4493         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4494         Deserializer thisDeserializer(thisArray, thisLength);
4495         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4496         Opt_AlignRuleOption value_value_buf = {};
4497         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4498         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4499         {
4500             value_value_buf.value = thisDeserializer.readAlignRuleOption();
4501         }
4502         Opt_AlignRuleOption value_value = value_value_buf;;
4503         GetNodeModifiers()->getCommonMethodModifier()->setAlignRules0(self, (const Opt_AlignRuleOption*)&value_value);
4504 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_alignRules0,Ark_NativePointer,KSerializerBuffer,int32_t)4505 KOALA_INTEROP_DIRECT_V3(CommonMethod_alignRules0, Ark_NativePointer, KSerializerBuffer, int32_t)
4506 void impl_CommonMethod_alignRules1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4507         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4508         Deserializer thisDeserializer(thisArray, thisLength);
4509         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4510         Opt_LocalizedAlignRuleOptions value_value_buf = {};
4511         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4512         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4513         {
4514             value_value_buf.value = thisDeserializer.readLocalizedAlignRuleOptions();
4515         }
4516         Opt_LocalizedAlignRuleOptions value_value = value_value_buf;;
4517         GetNodeModifiers()->getCommonMethodModifier()->setAlignRules1(self, (const Opt_LocalizedAlignRuleOptions*)&value_value);
4518 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_alignRules1,Ark_NativePointer,KSerializerBuffer,int32_t)4519 KOALA_INTEROP_DIRECT_V3(CommonMethod_alignRules1, Ark_NativePointer, KSerializerBuffer, int32_t)
4520 void impl_CommonMethod_aspectRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4521         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4522         Deserializer thisDeserializer(thisArray, thisLength);
4523         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4524         Opt_Number value_value_buf = {};
4525         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4526         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4527         {
4528             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
4529         }
4530         Opt_Number value_value = value_value_buf;;
4531         GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, (const Opt_Number*)&value_value);
4532 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_aspectRatio,Ark_NativePointer,KSerializerBuffer,int32_t)4533 KOALA_INTEROP_DIRECT_V3(CommonMethod_aspectRatio, Ark_NativePointer, KSerializerBuffer, int32_t)
4534 void impl_CommonMethod_clickEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4535         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4536         Deserializer thisDeserializer(thisArray, thisLength);
4537         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4538         Opt_ClickEffect value_value_buf = {};
4539         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4540         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4541         {
4542             value_value_buf.value = thisDeserializer.readClickEffect();
4543         }
4544         Opt_ClickEffect value_value = value_value_buf;;
4545         GetNodeModifiers()->getCommonMethodModifier()->setClickEffect0(self, (const Opt_ClickEffect*)&value_value);
4546 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)4547 KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
4548 void impl_CommonMethod_clickEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4549         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4550         Deserializer thisDeserializer(thisArray, thisLength);
4551         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4552         Opt_ClickEffect value_value_buf = {};
4553         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4554         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4555         {
4556             value_value_buf.value = thisDeserializer.readClickEffect();
4557         }
4558         Opt_ClickEffect value_value = value_value_buf;;
4559         GetNodeModifiers()->getCommonMethodModifier()->setClickEffect1(self, (const Opt_ClickEffect*)&value_value);
4560 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)4561 KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
4562 void impl_CommonMethod_onDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4564         Deserializer thisDeserializer(thisArray, thisLength);
4565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4566         Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo value_value_buf = {};
4567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4569         {
4570             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo))))};
4571         }
4572         Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo value_value = value_value_buf;;
4573         GetNodeModifiers()->getCommonMethodModifier()->setOnDragStart(self, (const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*)&value_value);
4574 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragStart,Ark_NativePointer,KSerializerBuffer,int32_t)4575 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragStart, Ark_NativePointer, KSerializerBuffer, int32_t)
4576 void impl_CommonMethod_onDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4577         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4578         Deserializer thisDeserializer(thisArray, thisLength);
4579         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4580         Opt_Callback_DragEvent_String_Void value_value_buf = {};
4581         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4582         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4583         {
4584             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};
4585         }
4586         Opt_Callback_DragEvent_String_Void value_value = value_value_buf;;
4587         GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnter(self, (const Opt_Callback_DragEvent_String_Void*)&value_value);
4588 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragEnter,Ark_NativePointer,KSerializerBuffer,int32_t)4589 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t)
4590 void impl_CommonMethod_onDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4591         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4592         Deserializer thisDeserializer(thisArray, thisLength);
4593         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4594         Opt_Callback_DragEvent_String_Void value_value_buf = {};
4595         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4596         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4597         {
4598             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};
4599         }
4600         Opt_Callback_DragEvent_String_Void value_value = value_value_buf;;
4601         GetNodeModifiers()->getCommonMethodModifier()->setOnDragMove(self, (const Opt_Callback_DragEvent_String_Void*)&value_value);
4602 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragMove,Ark_NativePointer,KSerializerBuffer,int32_t)4603 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragMove, Ark_NativePointer, KSerializerBuffer, int32_t)
4604 void impl_CommonMethod_onDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4605         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4606         Deserializer thisDeserializer(thisArray, thisLength);
4607         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4608         Opt_Callback_DragEvent_String_Void value_value_buf = {};
4609         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4610         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4611         {
4612             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};
4613         }
4614         Opt_Callback_DragEvent_String_Void value_value = value_value_buf;;
4615         GetNodeModifiers()->getCommonMethodModifier()->setOnDragLeave(self, (const Opt_Callback_DragEvent_String_Void*)&value_value);
4616 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragLeave,Ark_NativePointer,KSerializerBuffer,int32_t)4617 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t)
4618 void impl_CommonMethod_onDrop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4619         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4620         Deserializer thisDeserializer(thisArray, thisLength);
4621         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4622         Opt_Callback_DragEvent_String_Void value_value_buf = {};
4623         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4624         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4625         {
4626             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};
4627         }
4628         Opt_Callback_DragEvent_String_Void value_value = value_value_buf;;
4629         GetNodeModifiers()->getCommonMethodModifier()->setOnDrop0(self, (const Opt_Callback_DragEvent_String_Void*)&value_value);
4630 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop0,Ark_NativePointer,KSerializerBuffer,int32_t)4631 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop0, Ark_NativePointer, KSerializerBuffer, int32_t)
4632 void impl_CommonMethod_onDrop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4633         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4634         Deserializer thisDeserializer(thisArray, thisLength);
4635         const auto eventCallback_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4636         Opt_OnDragEventCallback eventCallback_value_buf = {};
4637         eventCallback_value_buf.tag = eventCallback_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4638         if ((INTEROP_RUNTIME_UNDEFINED) != (eventCallback_value_buf_runtimeType))
4639         {
4640             eventCallback_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnDragEventCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnDragEventCallback))))};
4641         }
4642         Opt_OnDragEventCallback eventCallback_value = eventCallback_value_buf;;
4643         const auto dropOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4644         Opt_DropOptions dropOptions_value_buf = {};
4645         dropOptions_value_buf.tag = dropOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4646         if ((INTEROP_RUNTIME_UNDEFINED) != (dropOptions_value_buf_runtimeType))
4647         {
4648             dropOptions_value_buf.value = thisDeserializer.readDropOptions();
4649         }
4650         Opt_DropOptions dropOptions_value = dropOptions_value_buf;;
4651         GetNodeModifiers()->getCommonMethodModifier()->setOnDrop1(self, (const Opt_OnDragEventCallback*)&eventCallback_value, (const Opt_DropOptions*)&dropOptions_value);
4652 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop1,Ark_NativePointer,KSerializerBuffer,int32_t)4653 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop1, Ark_NativePointer, KSerializerBuffer, int32_t)
4654 void impl_CommonMethod_onDragEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4655         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4656         Deserializer thisDeserializer(thisArray, thisLength);
4657         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4658         Opt_Callback_DragEvent_String_Void value_value_buf = {};
4659         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4660         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4661         {
4662             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};
4663         }
4664         Opt_Callback_DragEvent_String_Void value_value = value_value_buf;;
4665         GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnd(self, (const Opt_Callback_DragEvent_String_Void*)&value_value);
4666 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragEnd,Ark_NativePointer,KSerializerBuffer,int32_t)4667 KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
4668 void impl_CommonMethod_allowDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4669         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4670         Deserializer thisDeserializer(thisArray, thisLength);
4671         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4672         Opt_Array_UniformDataType value_value_buf = {};
4673         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4674         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4675         {
4676             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
4677             Array_UniformDataType value_value_buf_ = {};
4678             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
4679         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
4680             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
4681                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_UniformDataType>(thisDeserializer.readInt32());
4682             }
4683             value_value_buf.value = value_value_buf_;
4684         }
4685         Opt_Array_UniformDataType value_value = value_value_buf;;
4686         GetNodeModifiers()->getCommonMethodModifier()->setAllowDrop(self, (const Opt_Array_UniformDataType*)&value_value);
4687 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_allowDrop,Ark_NativePointer,KSerializerBuffer,int32_t)4688 KOALA_INTEROP_DIRECT_V3(CommonMethod_allowDrop, Ark_NativePointer, KSerializerBuffer, int32_t)
4689 void impl_CommonMethod_draggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4690         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4691         Deserializer thisDeserializer(thisArray, thisLength);
4692         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4693         Opt_Boolean value_value_buf = {};
4694         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4695         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4696         {
4697             value_value_buf.value = thisDeserializer.readBoolean();
4698         }
4699         Opt_Boolean value_value = value_value_buf;;
4700         GetNodeModifiers()->getCommonMethodModifier()->setDraggable(self, (const Opt_Boolean*)&value_value);
4701 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_draggable,Ark_NativePointer,KSerializerBuffer,int32_t)4702 KOALA_INTEROP_DIRECT_V3(CommonMethod_draggable, Ark_NativePointer, KSerializerBuffer, int32_t)
4703 void impl_CommonMethod_dragPreview0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4704         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4705         Deserializer thisDeserializer(thisArray, thisLength);
4706         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4707         Opt_Union_CustomBuilder_DragItemInfo_String value_value_buf = {};
4708         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4709         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4710         {
4711             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4712             Ark_Union_CustomBuilder_DragItemInfo_String value_value_buf_ = {};
4713             value_value_buf_.selector = value_value_buf__selector;
4714             if (value_value_buf__selector == 0) {
4715                 value_value_buf_.selector = 0;
4716                 value_value_buf_.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
4717             }
4718             else if (value_value_buf__selector == 1) {
4719                 value_value_buf_.selector = 1;
4720                 value_value_buf_.value1 = thisDeserializer.readDragItemInfo();
4721             }
4722             else if (value_value_buf__selector == 2) {
4723                 value_value_buf_.selector = 2;
4724                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
4725             }
4726             else {
4727                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4728             }
4729             value_value_buf.value = static_cast<Ark_Union_CustomBuilder_DragItemInfo_String>(value_value_buf_);
4730         }
4731         Opt_Union_CustomBuilder_DragItemInfo_String value_value = value_value_buf;;
4732         GetNodeModifiers()->getCommonMethodModifier()->setDragPreview0(self, (const Opt_Union_CustomBuilder_DragItemInfo_String*)&value_value);
4733 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview0,Ark_NativePointer,KSerializerBuffer,int32_t)4734 KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview0, Ark_NativePointer, KSerializerBuffer, int32_t)
4735 void impl_CommonMethod_dragPreview1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4736         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4737         Deserializer thisDeserializer(thisArray, thisLength);
4738         const auto preview_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4739         Opt_Union_CustomBuilder_DragItemInfo_String preview_value_buf = {};
4740         preview_value_buf.tag = preview_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4741         if ((INTEROP_RUNTIME_UNDEFINED) != (preview_value_buf_runtimeType))
4742         {
4743             const Ark_Int8 preview_value_buf__selector = thisDeserializer.readInt8();
4744             Ark_Union_CustomBuilder_DragItemInfo_String preview_value_buf_ = {};
4745             preview_value_buf_.selector = preview_value_buf__selector;
4746             if (preview_value_buf__selector == 0) {
4747                 preview_value_buf_.selector = 0;
4748                 preview_value_buf_.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
4749             }
4750             else if (preview_value_buf__selector == 1) {
4751                 preview_value_buf_.selector = 1;
4752                 preview_value_buf_.value1 = thisDeserializer.readDragItemInfo();
4753             }
4754             else if (preview_value_buf__selector == 2) {
4755                 preview_value_buf_.selector = 2;
4756                 preview_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
4757             }
4758             else {
4759                 INTEROP_FATAL("One of the branches for preview_value_buf_ has to be chosen through deserialisation.");
4760             }
4761             preview_value_buf.value = static_cast<Ark_Union_CustomBuilder_DragItemInfo_String>(preview_value_buf_);
4762         }
4763         Opt_Union_CustomBuilder_DragItemInfo_String preview_value = preview_value_buf;;
4764         const auto config_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4765         Opt_PreviewConfiguration config_value_buf = {};
4766         config_value_buf.tag = config_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4767         if ((INTEROP_RUNTIME_UNDEFINED) != (config_value_buf_runtimeType))
4768         {
4769             config_value_buf.value = thisDeserializer.readPreviewConfiguration();
4770         }
4771         Opt_PreviewConfiguration config_value = config_value_buf;;
4772         GetNodeModifiers()->getCommonMethodModifier()->setDragPreview1(self, (const Opt_Union_CustomBuilder_DragItemInfo_String*)&preview_value, (const Opt_PreviewConfiguration*)&config_value);
4773 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview1,Ark_NativePointer,KSerializerBuffer,int32_t)4774 KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview1, Ark_NativePointer, KSerializerBuffer, int32_t)
4775 void impl_CommonMethod_onPreDrag(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4776         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4777         Deserializer thisDeserializer(thisArray, thisLength);
4778         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4779         Opt_Callback_PreDragStatus_Void value_value_buf = {};
4780         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4781         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4782         {
4783             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_PreDragStatus parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PreDragStatus_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_PreDragStatus parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PreDragStatus_Void))))};
4784         }
4785         Opt_Callback_PreDragStatus_Void value_value = value_value_buf;;
4786         GetNodeModifiers()->getCommonMethodModifier()->setOnPreDrag(self, (const Opt_Callback_PreDragStatus_Void*)&value_value);
4787 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onPreDrag,Ark_NativePointer,KSerializerBuffer,int32_t)4788 KOALA_INTEROP_DIRECT_V3(CommonMethod_onPreDrag, Ark_NativePointer, KSerializerBuffer, int32_t)
4789 void impl_CommonMethod_linearGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4790         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4791         Deserializer thisDeserializer(thisArray, thisLength);
4792         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4793         Opt_LinearGradientOptions value_value_buf = {};
4794         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4795         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4796         {
4797             value_value_buf.value = thisDeserializer.readLinearGradientOptions();
4798         }
4799         Opt_LinearGradientOptions value_value = value_value_buf;;
4800         GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient0(self, (const Opt_LinearGradientOptions*)&value_value);
4801 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient0,Ark_NativePointer,KSerializerBuffer,int32_t)4802 KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient0, Ark_NativePointer, KSerializerBuffer, int32_t)
4803 void impl_CommonMethod_linearGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4804         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4805         Deserializer thisDeserializer(thisArray, thisLength);
4806         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4807         Opt_LinearGradientOptions value_value_buf = {};
4808         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4809         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4810         {
4811             value_value_buf.value = thisDeserializer.readLinearGradientOptions();
4812         }
4813         Opt_LinearGradientOptions value_value = value_value_buf;;
4814         GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient1(self, (const Opt_LinearGradientOptions*)&value_value);
4815 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient1,Ark_NativePointer,KSerializerBuffer,int32_t)4816 KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient1, Ark_NativePointer, KSerializerBuffer, int32_t)
4817 void impl_CommonMethod_sweepGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4818         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4819         Deserializer thisDeserializer(thisArray, thisLength);
4820         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4821         Opt_SweepGradientOptions value_value_buf = {};
4822         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4823         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4824         {
4825             value_value_buf.value = thisDeserializer.readSweepGradientOptions();
4826         }
4827         Opt_SweepGradientOptions value_value = value_value_buf;;
4828         GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient0(self, (const Opt_SweepGradientOptions*)&value_value);
4829 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient0,Ark_NativePointer,KSerializerBuffer,int32_t)4830 KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient0, Ark_NativePointer, KSerializerBuffer, int32_t)
4831 void impl_CommonMethod_sweepGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4832         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4833         Deserializer thisDeserializer(thisArray, thisLength);
4834         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4835         Opt_SweepGradientOptions value_value_buf = {};
4836         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4837         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4838         {
4839             value_value_buf.value = thisDeserializer.readSweepGradientOptions();
4840         }
4841         Opt_SweepGradientOptions value_value = value_value_buf;;
4842         GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient1(self, (const Opt_SweepGradientOptions*)&value_value);
4843 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient1,Ark_NativePointer,KSerializerBuffer,int32_t)4844 KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient1, Ark_NativePointer, KSerializerBuffer, int32_t)
4845 void impl_CommonMethod_radialGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4846         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4847         Deserializer thisDeserializer(thisArray, thisLength);
4848         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4849         Opt_RadialGradientOptions value_value_buf = {};
4850         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4851         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4852         {
4853             value_value_buf.value = thisDeserializer.readRadialGradientOptions();
4854         }
4855         Opt_RadialGradientOptions value_value = value_value_buf;;
4856         GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient0(self, (const Opt_RadialGradientOptions*)&value_value);
4857 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient0,Ark_NativePointer,KSerializerBuffer,int32_t)4858 KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient0, Ark_NativePointer, KSerializerBuffer, int32_t)
4859 void impl_CommonMethod_radialGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4860         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4861         Deserializer thisDeserializer(thisArray, thisLength);
4862         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4863         Opt_RadialGradientOptions value_value_buf = {};
4864         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4865         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4866         {
4867             value_value_buf.value = thisDeserializer.readRadialGradientOptions();
4868         }
4869         Opt_RadialGradientOptions value_value = value_value_buf;;
4870         GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient1(self, (const Opt_RadialGradientOptions*)&value_value);
4871 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient1,Ark_NativePointer,KSerializerBuffer,int32_t)4872 KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient1, Ark_NativePointer, KSerializerBuffer, int32_t)
4873 void impl_CommonMethod_motionPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4874         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4875         Deserializer thisDeserializer(thisArray, thisLength);
4876         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4877         Opt_MotionPathOptions value_value_buf = {};
4878         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4879         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4880         {
4881             value_value_buf.value = thisDeserializer.readMotionPathOptions();
4882         }
4883         Opt_MotionPathOptions value_value = value_value_buf;;
4884         GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, (const Opt_MotionPathOptions*)&value_value);
4885 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_motionPath,Ark_NativePointer,KSerializerBuffer,int32_t)4886 KOALA_INTEROP_DIRECT_V3(CommonMethod_motionPath, Ark_NativePointer, KSerializerBuffer, int32_t)
4887 void impl_CommonMethod_shadow0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4888         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4889         Deserializer thisDeserializer(thisArray, thisLength);
4890         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4891         Opt_Union_ShadowOptions_ShadowStyle value_value_buf = {};
4892         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4893         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4894         {
4895             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4896             Ark_Union_ShadowOptions_ShadowStyle value_value_buf_ = {};
4897             value_value_buf_.selector = value_value_buf__selector;
4898             if (value_value_buf__selector == 0) {
4899                 value_value_buf_.selector = 0;
4900                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
4901             }
4902             else if (value_value_buf__selector == 1) {
4903                 value_value_buf_.selector = 1;
4904                 value_value_buf_.value1 = static_cast<Ark_ShadowStyle>(thisDeserializer.readInt32());
4905             }
4906             else {
4907                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4908             }
4909             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_ShadowStyle>(value_value_buf_);
4910         }
4911         Opt_Union_ShadowOptions_ShadowStyle value_value = value_value_buf;;
4912         GetNodeModifiers()->getCommonMethodModifier()->setShadow0(self, (const Opt_Union_ShadowOptions_ShadowStyle*)&value_value);
4913 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow0,Ark_NativePointer,KSerializerBuffer,int32_t)4914 KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow0, Ark_NativePointer, KSerializerBuffer, int32_t)
4915 void impl_CommonMethod_shadow1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4916         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4917         Deserializer thisDeserializer(thisArray, thisLength);
4918         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4919         Opt_Union_ShadowOptions_ShadowStyle value_value_buf = {};
4920         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4921         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4922         {
4923             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4924             Ark_Union_ShadowOptions_ShadowStyle value_value_buf_ = {};
4925             value_value_buf_.selector = value_value_buf__selector;
4926             if (value_value_buf__selector == 0) {
4927                 value_value_buf_.selector = 0;
4928                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
4929             }
4930             else if (value_value_buf__selector == 1) {
4931                 value_value_buf_.selector = 1;
4932                 value_value_buf_.value1 = static_cast<Ark_ShadowStyle>(thisDeserializer.readInt32());
4933             }
4934             else {
4935                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
4936             }
4937             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_ShadowStyle>(value_value_buf_);
4938         }
4939         Opt_Union_ShadowOptions_ShadowStyle value_value = value_value_buf;;
4940         GetNodeModifiers()->getCommonMethodModifier()->setShadow1(self, (const Opt_Union_ShadowOptions_ShadowStyle*)&value_value);
4941 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow1,Ark_NativePointer,KSerializerBuffer,int32_t)4942 KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow1, Ark_NativePointer, KSerializerBuffer, int32_t)
4943 void impl_CommonMethod_clip0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4944         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4945         Deserializer thisDeserializer(thisArray, thisLength);
4946         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4947         Opt_Boolean value_value_buf = {};
4948         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4949         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4950         {
4951             value_value_buf.value = thisDeserializer.readBoolean();
4952         }
4953         Opt_Boolean value_value = value_value_buf;;
4954         GetNodeModifiers()->getCommonMethodModifier()->setClip0(self, (const Opt_Boolean*)&value_value);
4955 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clip0,Ark_NativePointer,KSerializerBuffer,int32_t)4956 KOALA_INTEROP_DIRECT_V3(CommonMethod_clip0, Ark_NativePointer, KSerializerBuffer, int32_t)
4957 void impl_CommonMethod_clip1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4958         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4959         Deserializer thisDeserializer(thisArray, thisLength);
4960         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4961         Opt_Boolean value_value_buf = {};
4962         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4963         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4964         {
4965             value_value_buf.value = thisDeserializer.readBoolean();
4966         }
4967         Opt_Boolean value_value = value_value_buf;;
4968         GetNodeModifiers()->getCommonMethodModifier()->setClip1(self, (const Opt_Boolean*)&value_value);
4969 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clip1,Ark_NativePointer,KSerializerBuffer,int32_t)4970 KOALA_INTEROP_DIRECT_V3(CommonMethod_clip1, Ark_NativePointer, KSerializerBuffer, int32_t)
4971 void impl_CommonMethod_clip2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4972         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4973         Deserializer thisDeserializer(thisArray, thisLength);
4974         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4975         Opt_Boolean value_value_buf = {};
4976         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4977         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4978         {
4979             value_value_buf.value = thisDeserializer.readBoolean();
4980         }
4981         Opt_Boolean value_value = value_value_buf;;
4982         GetNodeModifiers()->getCommonMethodModifier()->setClip2(self, (const Opt_Boolean*)&value_value);
4983 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clip2,Ark_NativePointer,KSerializerBuffer,int32_t)4984 KOALA_INTEROP_DIRECT_V3(CommonMethod_clip2, Ark_NativePointer, KSerializerBuffer, int32_t)
4985 void impl_CommonMethod_clipShape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
4986         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
4987         Deserializer thisDeserializer(thisArray, thisLength);
4988         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
4989         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {};
4990         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
4991         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
4992         {
4993             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
4994             Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {};
4995             value_value_buf_.selector = value_value_buf__selector;
4996             if (value_value_buf__selector == 0) {
4997                 value_value_buf_.selector = 0;
4998                 value_value_buf_.value0 = static_cast<Ark_CircleShape>(thisDeserializer.readCircleShape());
4999             }
5000             else if (value_value_buf__selector == 1) {
5001                 value_value_buf_.selector = 1;
5002                 value_value_buf_.value1 = static_cast<Ark_EllipseShape>(thisDeserializer.readEllipseShape());
5003             }
5004             else if (value_value_buf__selector == 2) {
5005                 value_value_buf_.selector = 2;
5006                 value_value_buf_.value2 = static_cast<Ark_PathShape>(thisDeserializer.readPathShape());
5007             }
5008             else if (value_value_buf__selector == 3) {
5009                 value_value_buf_.selector = 3;
5010                 value_value_buf_.value3 = static_cast<Ark_RectShape>(thisDeserializer.readRectShape());
5011             }
5012             else {
5013                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
5014             }
5015             value_value_buf.value = static_cast<Ark_Union_CircleShape_EllipseShape_PathShape_RectShape>(value_value_buf_);
5016         }
5017         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;;
5018         GetNodeModifiers()->getCommonMethodModifier()->setClipShape0(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value);
5019 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape0,Ark_NativePointer,KSerializerBuffer,int32_t)5020 KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape0, Ark_NativePointer, KSerializerBuffer, int32_t)
5021 void impl_CommonMethod_clipShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5022         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5023         Deserializer thisDeserializer(thisArray, thisLength);
5024         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5025         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {};
5026         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5027         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5028         {
5029             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
5030             Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {};
5031             value_value_buf_.selector = value_value_buf__selector;
5032             if (value_value_buf__selector == 0) {
5033                 value_value_buf_.selector = 0;
5034                 value_value_buf_.value0 = static_cast<Ark_CircleShape>(thisDeserializer.readCircleShape());
5035             }
5036             else if (value_value_buf__selector == 1) {
5037                 value_value_buf_.selector = 1;
5038                 value_value_buf_.value1 = static_cast<Ark_EllipseShape>(thisDeserializer.readEllipseShape());
5039             }
5040             else if (value_value_buf__selector == 2) {
5041                 value_value_buf_.selector = 2;
5042                 value_value_buf_.value2 = static_cast<Ark_PathShape>(thisDeserializer.readPathShape());
5043             }
5044             else if (value_value_buf__selector == 3) {
5045                 value_value_buf_.selector = 3;
5046                 value_value_buf_.value3 = static_cast<Ark_RectShape>(thisDeserializer.readRectShape());
5047             }
5048             else {
5049                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
5050             }
5051             value_value_buf.value = static_cast<Ark_Union_CircleShape_EllipseShape_PathShape_RectShape>(value_value_buf_);
5052         }
5053         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;;
5054         GetNodeModifiers()->getCommonMethodModifier()->setClipShape1(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value);
5055 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape1,Ark_NativePointer,KSerializerBuffer,int32_t)5056 KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape1, Ark_NativePointer, KSerializerBuffer, int32_t)
5057 void impl_CommonMethod_mask0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5058         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5059         Deserializer thisDeserializer(thisArray, thisLength);
5060         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5061         Opt_ProgressMask value_value_buf = {};
5062         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5063         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5064         {
5065             value_value_buf.value = static_cast<Ark_ProgressMask>(thisDeserializer.readProgressMask());
5066         }
5067         Opt_ProgressMask value_value = value_value_buf;;
5068         GetNodeModifiers()->getCommonMethodModifier()->setMask0(self, (const Opt_ProgressMask*)&value_value);
5069 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_mask0,Ark_NativePointer,KSerializerBuffer,int32_t)5070 KOALA_INTEROP_DIRECT_V3(CommonMethod_mask0, Ark_NativePointer, KSerializerBuffer, int32_t)
5071 void impl_CommonMethod_mask1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5072         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5073         Deserializer thisDeserializer(thisArray, thisLength);
5074         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5075         Opt_ProgressMask value_value_buf = {};
5076         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5077         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5078         {
5079             value_value_buf.value = static_cast<Ark_ProgressMask>(thisDeserializer.readProgressMask());
5080         }
5081         Opt_ProgressMask value_value = value_value_buf;;
5082         GetNodeModifiers()->getCommonMethodModifier()->setMask1(self, (const Opt_ProgressMask*)&value_value);
5083 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_mask1,Ark_NativePointer,KSerializerBuffer,int32_t)5084 KOALA_INTEROP_DIRECT_V3(CommonMethod_mask1, Ark_NativePointer, KSerializerBuffer, int32_t)
5085 void impl_CommonMethod_mask2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5086         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5087         Deserializer thisDeserializer(thisArray, thisLength);
5088         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5089         Opt_ProgressMask value_value_buf = {};
5090         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5091         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5092         {
5093             value_value_buf.value = static_cast<Ark_ProgressMask>(thisDeserializer.readProgressMask());
5094         }
5095         Opt_ProgressMask value_value = value_value_buf;;
5096         GetNodeModifiers()->getCommonMethodModifier()->setMask2(self, (const Opt_ProgressMask*)&value_value);
5097 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_mask2,Ark_NativePointer,KSerializerBuffer,int32_t)5098 KOALA_INTEROP_DIRECT_V3(CommonMethod_mask2, Ark_NativePointer, KSerializerBuffer, int32_t)
5099 void impl_CommonMethod_maskShape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5100         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5101         Deserializer thisDeserializer(thisArray, thisLength);
5102         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5103         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {};
5104         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5105         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5106         {
5107             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
5108             Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {};
5109             value_value_buf_.selector = value_value_buf__selector;
5110             if (value_value_buf__selector == 0) {
5111                 value_value_buf_.selector = 0;
5112                 value_value_buf_.value0 = static_cast<Ark_CircleShape>(thisDeserializer.readCircleShape());
5113             }
5114             else if (value_value_buf__selector == 1) {
5115                 value_value_buf_.selector = 1;
5116                 value_value_buf_.value1 = static_cast<Ark_EllipseShape>(thisDeserializer.readEllipseShape());
5117             }
5118             else if (value_value_buf__selector == 2) {
5119                 value_value_buf_.selector = 2;
5120                 value_value_buf_.value2 = static_cast<Ark_PathShape>(thisDeserializer.readPathShape());
5121             }
5122             else if (value_value_buf__selector == 3) {
5123                 value_value_buf_.selector = 3;
5124                 value_value_buf_.value3 = static_cast<Ark_RectShape>(thisDeserializer.readRectShape());
5125             }
5126             else {
5127                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
5128             }
5129             value_value_buf.value = static_cast<Ark_Union_CircleShape_EllipseShape_PathShape_RectShape>(value_value_buf_);
5130         }
5131         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;;
5132         GetNodeModifiers()->getCommonMethodModifier()->setMaskShape0(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value);
5133 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape0,Ark_NativePointer,KSerializerBuffer,int32_t)5134 KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape0, Ark_NativePointer, KSerializerBuffer, int32_t)
5135 void impl_CommonMethod_maskShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5136         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5137         Deserializer thisDeserializer(thisArray, thisLength);
5138         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5139         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {};
5140         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5141         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5142         {
5143             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
5144             Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {};
5145             value_value_buf_.selector = value_value_buf__selector;
5146             if (value_value_buf__selector == 0) {
5147                 value_value_buf_.selector = 0;
5148                 value_value_buf_.value0 = static_cast<Ark_CircleShape>(thisDeserializer.readCircleShape());
5149             }
5150             else if (value_value_buf__selector == 1) {
5151                 value_value_buf_.selector = 1;
5152                 value_value_buf_.value1 = static_cast<Ark_EllipseShape>(thisDeserializer.readEllipseShape());
5153             }
5154             else if (value_value_buf__selector == 2) {
5155                 value_value_buf_.selector = 2;
5156                 value_value_buf_.value2 = static_cast<Ark_PathShape>(thisDeserializer.readPathShape());
5157             }
5158             else if (value_value_buf__selector == 3) {
5159                 value_value_buf_.selector = 3;
5160                 value_value_buf_.value3 = static_cast<Ark_RectShape>(thisDeserializer.readRectShape());
5161             }
5162             else {
5163                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
5164             }
5165             value_value_buf.value = static_cast<Ark_Union_CircleShape_EllipseShape_PathShape_RectShape>(value_value_buf_);
5166         }
5167         Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;;
5168         GetNodeModifiers()->getCommonMethodModifier()->setMaskShape1(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value);
5169 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape1,Ark_NativePointer,KSerializerBuffer,int32_t)5170 KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape1, Ark_NativePointer, KSerializerBuffer, int32_t)
5171 void impl_CommonMethod_key(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5172         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5173         Deserializer thisDeserializer(thisArray, thisLength);
5174         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5175         Opt_String value_value_buf = {};
5176         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5177         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5178         {
5179             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5180         }
5181         Opt_String value_value = value_value_buf;;
5182         GetNodeModifiers()->getCommonMethodModifier()->setKey(self, (const Opt_String*)&value_value);
5183 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_key,Ark_NativePointer,KSerializerBuffer,int32_t)5184 KOALA_INTEROP_DIRECT_V3(CommonMethod_key, Ark_NativePointer, KSerializerBuffer, int32_t)
5185 void impl_CommonMethod_id(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5186         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5187         Deserializer thisDeserializer(thisArray, thisLength);
5188         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5189         Opt_String value_value_buf = {};
5190         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5191         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5192         {
5193             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5194         }
5195         Opt_String value_value = value_value_buf;;
5196         GetNodeModifiers()->getCommonMethodModifier()->setId(self, (const Opt_String*)&value_value);
5197 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_id,Ark_NativePointer,KSerializerBuffer,int32_t)5198 KOALA_INTEROP_DIRECT_V3(CommonMethod_id, Ark_NativePointer, KSerializerBuffer, int32_t)
5199 void impl_CommonMethod_geometryTransition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5200         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5201         Deserializer thisDeserializer(thisArray, thisLength);
5202         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5203         Opt_String value_value_buf = {};
5204         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5205         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5206         {
5207             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5208         }
5209         Opt_String value_value = value_value_buf;;
5210         GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition0(self, (const Opt_String*)&value_value);
5211 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_geometryTransition0,Ark_NativePointer,KSerializerBuffer,int32_t)5212 KOALA_INTEROP_DIRECT_V3(CommonMethod_geometryTransition0, Ark_NativePointer, KSerializerBuffer, int32_t)
5213 void impl_CommonMethod_geometryTransition1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5214         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5215         Deserializer thisDeserializer(thisArray, thisLength);
5216         const auto id_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5217         Opt_String id_value_buf = {};
5218         id_value_buf.tag = id_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5219         if ((INTEROP_RUNTIME_UNDEFINED) != (id_value_buf_runtimeType))
5220         {
5221             id_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5222         }
5223         Opt_String id_value = id_value_buf;;
5224         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5225         Opt_GeometryTransitionOptions options_value_buf = {};
5226         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5227         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
5228         {
5229             options_value_buf.value = thisDeserializer.readGeometryTransitionOptions();
5230         }
5231         Opt_GeometryTransitionOptions options_value = options_value_buf;;
5232         GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition1(self, (const Opt_String*)&id_value, (const Opt_GeometryTransitionOptions*)&options_value);
5233 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_geometryTransition1,Ark_NativePointer,KSerializerBuffer,int32_t)5234 KOALA_INTEROP_DIRECT_V3(CommonMethod_geometryTransition1, Ark_NativePointer, KSerializerBuffer, int32_t)
5235 void impl_CommonMethod_stateStyles(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5236         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5237         Deserializer thisDeserializer(thisArray, thisLength);
5238         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5239         Opt_StateStyles value_value_buf = {};
5240         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5241         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5242         {
5243             value_value_buf.value = thisDeserializer.readStateStyles();
5244         }
5245         Opt_StateStyles value_value = value_value_buf;;
5246         GetNodeModifiers()->getCommonMethodModifier()->setStateStyles(self, (const Opt_StateStyles*)&value_value);
5247 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_stateStyles,Ark_NativePointer,KSerializerBuffer,int32_t)5248 KOALA_INTEROP_DIRECT_V3(CommonMethod_stateStyles, Ark_NativePointer, KSerializerBuffer, int32_t)
5249 void impl_CommonMethod_restoreId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5250         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5251         Deserializer thisDeserializer(thisArray, thisLength);
5252         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5253         Opt_Number value_value_buf = {};
5254         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5255         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5256         {
5257             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
5258         }
5259         Opt_Number value_value = value_value_buf;;
5260         GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, (const Opt_Number*)&value_value);
5261 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_restoreId,Ark_NativePointer,KSerializerBuffer,int32_t)5262 KOALA_INTEROP_DIRECT_V3(CommonMethod_restoreId, Ark_NativePointer, KSerializerBuffer, int32_t)
5263 void impl_CommonMethod_sphericalEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5264         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5265         Deserializer thisDeserializer(thisArray, thisLength);
5266         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5267         Opt_Number value_value_buf = {};
5268         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5269         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5270         {
5271             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
5272         }
5273         Opt_Number value_value = value_value_buf;;
5274         GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect0(self, (const Opt_Number*)&value_value);
5275 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sphericalEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)5276 KOALA_INTEROP_DIRECT_V3(CommonMethod_sphericalEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
5277 void impl_CommonMethod_sphericalEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5278         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5279         Deserializer thisDeserializer(thisArray, thisLength);
5280         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5281         Opt_Number value_value_buf = {};
5282         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5283         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5284         {
5285             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
5286         }
5287         Opt_Number value_value = value_value_buf;;
5288         GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect1(self, (const Opt_Number*)&value_value);
5289 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sphericalEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)5290 KOALA_INTEROP_DIRECT_V3(CommonMethod_sphericalEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
5291 void impl_CommonMethod_lightUpEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5292         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5293         Deserializer thisDeserializer(thisArray, thisLength);
5294         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5295         Opt_Number value_value_buf = {};
5296         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5297         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5298         {
5299             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
5300         }
5301         Opt_Number value_value = value_value_buf;;
5302         GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect0(self, (const Opt_Number*)&value_value);
5303 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_lightUpEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)5304 KOALA_INTEROP_DIRECT_V3(CommonMethod_lightUpEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
5305 void impl_CommonMethod_lightUpEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5306         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5307         Deserializer thisDeserializer(thisArray, thisLength);
5308         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5309         Opt_Number value_value_buf = {};
5310         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5311         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5312         {
5313             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
5314         }
5315         Opt_Number value_value = value_value_buf;;
5316         GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect1(self, (const Opt_Number*)&value_value);
5317 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_lightUpEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)5318 KOALA_INTEROP_DIRECT_V3(CommonMethod_lightUpEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
5319 void impl_CommonMethod_pixelStretchEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5320         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5321         Deserializer thisDeserializer(thisArray, thisLength);
5322         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5323         Opt_PixelStretchEffectOptions value_value_buf = {};
5324         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5325         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5326         {
5327             value_value_buf.value = thisDeserializer.readPixelStretchEffectOptions();
5328         }
5329         Opt_PixelStretchEffectOptions value_value = value_value_buf;;
5330         GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect0(self, (const Opt_PixelStretchEffectOptions*)&value_value);
5331 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)5332 KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
5333 void impl_CommonMethod_pixelStretchEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5334         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5335         Deserializer thisDeserializer(thisArray, thisLength);
5336         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5337         Opt_PixelStretchEffectOptions value_value_buf = {};
5338         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5339         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5340         {
5341             value_value_buf.value = thisDeserializer.readPixelStretchEffectOptions();
5342         }
5343         Opt_PixelStretchEffectOptions value_value = value_value_buf;;
5344         GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect1(self, (const Opt_PixelStretchEffectOptions*)&value_value);
5345 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)5346 KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
5347 void impl_CommonMethod_accessibilityGroup0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5348         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5349         Deserializer thisDeserializer(thisArray, thisLength);
5350         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5351         Opt_Boolean value_value_buf = {};
5352         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5353         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5354         {
5355             value_value_buf.value = thisDeserializer.readBoolean();
5356         }
5357         Opt_Boolean value_value = value_value_buf;;
5358         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup0(self, (const Opt_Boolean*)&value_value);
5359 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityGroup0,Ark_NativePointer,KSerializerBuffer,int32_t)5360 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityGroup0, Ark_NativePointer, KSerializerBuffer, int32_t)
5361 void impl_CommonMethod_accessibilityGroup1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5362         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5363         Deserializer thisDeserializer(thisArray, thisLength);
5364         const auto isGroup_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5365         Opt_Boolean isGroup_value_buf = {};
5366         isGroup_value_buf.tag = isGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5367         if ((INTEROP_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType))
5368         {
5369             isGroup_value_buf.value = thisDeserializer.readBoolean();
5370         }
5371         Opt_Boolean isGroup_value = isGroup_value_buf;;
5372         const auto accessibilityOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5373         Opt_AccessibilityOptions accessibilityOptions_value_buf = {};
5374         accessibilityOptions_value_buf.tag = accessibilityOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5375         if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityOptions_value_buf_runtimeType))
5376         {
5377             accessibilityOptions_value_buf.value = thisDeserializer.readAccessibilityOptions();
5378         }
5379         Opt_AccessibilityOptions accessibilityOptions_value = accessibilityOptions_value_buf;;
5380         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup1(self, (const Opt_Boolean*)&isGroup_value, (const Opt_AccessibilityOptions*)&accessibilityOptions_value);
5381 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityGroup1,Ark_NativePointer,KSerializerBuffer,int32_t)5382 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityGroup1, Ark_NativePointer, KSerializerBuffer, int32_t)
5383 void impl_CommonMethod_accessibilityText0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5384         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5385         Deserializer thisDeserializer(thisArray, thisLength);
5386         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5387         Opt_String value_value_buf = {};
5388         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5389         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5390         {
5391             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5392         }
5393         Opt_String value_value = value_value_buf;;
5394         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText0(self, (const Opt_String*)&value_value);
5395 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityText0,Ark_NativePointer,KSerializerBuffer,int32_t)5396 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityText0, Ark_NativePointer, KSerializerBuffer, int32_t)
5397 void impl_CommonMethod_accessibilityText1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5398         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5399         Deserializer thisDeserializer(thisArray, thisLength);
5400         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5401         Opt_Resource value_value_buf = {};
5402         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5403         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5404         {
5405             value_value_buf.value = thisDeserializer.readResource();
5406         }
5407         Opt_Resource value_value = value_value_buf;;
5408         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText1(self, (const Opt_Resource*)&value_value);
5409 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityText1,Ark_NativePointer,KSerializerBuffer,int32_t)5410 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityText1, Ark_NativePointer, KSerializerBuffer, int32_t)
5411 void impl_CommonMethod_accessibilityNextFocusId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5412         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5413         Deserializer thisDeserializer(thisArray, thisLength);
5414         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5415         Opt_String value_value_buf = {};
5416         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5417         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5418         {
5419             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5420         }
5421         Opt_String value_value = value_value_buf;;
5422         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityNextFocusId(self, (const Opt_String*)&value_value);
5423 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityNextFocusId,Ark_NativePointer,KSerializerBuffer,int32_t)5424 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityNextFocusId, Ark_NativePointer, KSerializerBuffer, int32_t)
5425 void impl_CommonMethod_accessibilityDefaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5426         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5427         Deserializer thisDeserializer(thisArray, thisLength);
5428         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5429         Opt_Boolean value_value_buf = {};
5430         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5431         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5432         {
5433             value_value_buf.value = thisDeserializer.readBoolean();
5434         }
5435         Opt_Boolean value_value = value_value_buf;;
5436         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDefaultFocus(self, (const Opt_Boolean*)&value_value);
5437 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDefaultFocus,Ark_NativePointer,KSerializerBuffer,int32_t)5438 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDefaultFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
5439 void impl_CommonMethod_accessibilityUseSamePage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5440         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5441         Deserializer thisDeserializer(thisArray, thisLength);
5442         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5443         Opt_AccessibilitySamePageMode value_value_buf = {};
5444         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5445         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5446         {
5447             value_value_buf.value = static_cast<Ark_AccessibilitySamePageMode>(thisDeserializer.readInt32());
5448         }
5449         Opt_AccessibilitySamePageMode value_value = value_value_buf;;
5450         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityUseSamePage(self, (const Opt_AccessibilitySamePageMode*)&value_value);
5451 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityUseSamePage,Ark_NativePointer,KSerializerBuffer,int32_t)5452 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityUseSamePage, Ark_NativePointer, KSerializerBuffer, int32_t)
5453 void impl_CommonMethod_accessibilityScrollTriggerable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5454         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5455         Deserializer thisDeserializer(thisArray, thisLength);
5456         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5457         Opt_Boolean value_value_buf = {};
5458         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5459         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5460         {
5461             value_value_buf.value = thisDeserializer.readBoolean();
5462         }
5463         Opt_Boolean value_value = value_value_buf;;
5464         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityScrollTriggerable(self, (const Opt_Boolean*)&value_value);
5465 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityScrollTriggerable,Ark_NativePointer,KSerializerBuffer,int32_t)5466 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityScrollTriggerable, Ark_NativePointer, KSerializerBuffer, int32_t)
5467 void impl_CommonMethod_accessibilityRole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5468         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5469         Deserializer thisDeserializer(thisArray, thisLength);
5470         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5471         Opt_AccessibilityRoleType value_value_buf = {};
5472         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5473         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5474         {
5475             value_value_buf.value = static_cast<Ark_AccessibilityRoleType>(thisDeserializer.readInt32());
5476         }
5477         Opt_AccessibilityRoleType value_value = value_value_buf;;
5478         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityRole(self, (const Opt_AccessibilityRoleType*)&value_value);
5479 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityRole,Ark_NativePointer,KSerializerBuffer,int32_t)5480 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityRole, Ark_NativePointer, KSerializerBuffer, int32_t)
5481 void impl_CommonMethod_onAccessibilityFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5482         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5483         Deserializer thisDeserializer(thisArray, thisLength);
5484         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5485         Opt_AccessibilityFocusCallback value_value_buf = {};
5486         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5487         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5488         {
5489             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isFocus)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_AccessibilityFocusCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isFocus)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_AccessibilityFocusCallback))))};
5490         }
5491         Opt_AccessibilityFocusCallback value_value = value_value_buf;;
5492         GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityFocus(self, (const Opt_AccessibilityFocusCallback*)&value_value);
5493 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityFocus,Ark_NativePointer,KSerializerBuffer,int32_t)5494 KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
5495 void impl_CommonMethod_accessibilityTextHint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5496         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5497         Deserializer thisDeserializer(thisArray, thisLength);
5498         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5499         Opt_String value_value_buf = {};
5500         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5501         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5502         {
5503             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5504         }
5505         Opt_String value_value = value_value_buf;;
5506         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, (const Opt_String*)&value_value);
5507 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityTextHint,Ark_NativePointer,KSerializerBuffer,int32_t)5508 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityTextHint, Ark_NativePointer, KSerializerBuffer, int32_t)
5509 void impl_CommonMethod_accessibilityDescription0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5511         Deserializer thisDeserializer(thisArray, thisLength);
5512         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5513         Opt_String value_value_buf = {};
5514         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5515         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5516         {
5517             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5518         }
5519         Opt_String value_value = value_value_buf;;
5520         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription0(self, (const Opt_String*)&value_value);
5521 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDescription0,Ark_NativePointer,KSerializerBuffer,int32_t)5522 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDescription0, Ark_NativePointer, KSerializerBuffer, int32_t)
5523 void impl_CommonMethod_accessibilityDescription1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5524         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5525         Deserializer thisDeserializer(thisArray, thisLength);
5526         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5527         Opt_Resource value_value_buf = {};
5528         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5529         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5530         {
5531             value_value_buf.value = thisDeserializer.readResource();
5532         }
5533         Opt_Resource value_value = value_value_buf;;
5534         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription1(self, (const Opt_Resource*)&value_value);
5535 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDescription1,Ark_NativePointer,KSerializerBuffer,int32_t)5536 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityDescription1, Ark_NativePointer, KSerializerBuffer, int32_t)
5537 void impl_CommonMethod_accessibilityLevel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5538         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5539         Deserializer thisDeserializer(thisArray, thisLength);
5540         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5541         Opt_String value_value_buf = {};
5542         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5543         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5544         {
5545             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5546         }
5547         Opt_String value_value = value_value_buf;;
5548         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, (const Opt_String*)&value_value);
5549 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityLevel,Ark_NativePointer,KSerializerBuffer,int32_t)5550 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityLevel, Ark_NativePointer, KSerializerBuffer, int32_t)
5551 void impl_CommonMethod_accessibilityVirtualNode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5552         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5553         Deserializer thisDeserializer(thisArray, thisLength);
5554         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5555         Opt_CustomNodeBuilder value_value_buf = {};
5556         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5557         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5558         {
5559             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
5560         }
5561         Opt_CustomNodeBuilder value_value = value_value_buf;;
5562         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityVirtualNode(self, (const Opt_CustomNodeBuilder*)&value_value);
5563 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityVirtualNode,Ark_NativePointer,KSerializerBuffer,int32_t)5564 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityVirtualNode, Ark_NativePointer, KSerializerBuffer, int32_t)
5565 void impl_CommonMethod_accessibilityChecked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5566         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5567         Deserializer thisDeserializer(thisArray, thisLength);
5568         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5569         Opt_Boolean value_value_buf = {};
5570         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5571         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5572         {
5573             value_value_buf.value = thisDeserializer.readBoolean();
5574         }
5575         Opt_Boolean value_value = value_value_buf;;
5576         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityChecked(self, (const Opt_Boolean*)&value_value);
5577 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityChecked,Ark_NativePointer,KSerializerBuffer,int32_t)5578 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityChecked, Ark_NativePointer, KSerializerBuffer, int32_t)
5579 void impl_CommonMethod_accessibilitySelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5580         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5581         Deserializer thisDeserializer(thisArray, thisLength);
5582         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5583         Opt_Boolean value_value_buf = {};
5584         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5585         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5586         {
5587             value_value_buf.value = thisDeserializer.readBoolean();
5588         }
5589         Opt_Boolean value_value = value_value_buf;;
5590         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilitySelected(self, (const Opt_Boolean*)&value_value);
5591 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilitySelected,Ark_NativePointer,KSerializerBuffer,int32_t)5592 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilitySelected, Ark_NativePointer, KSerializerBuffer, int32_t)
5593 void impl_CommonMethod_obscured(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5594         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5595         Deserializer thisDeserializer(thisArray, thisLength);
5596         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5597         Opt_Array_ObscuredReasons value_value_buf = {};
5598         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5599         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5600         {
5601             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
5602             Array_ObscuredReasons value_value_buf_ = {};
5603             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
5604         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
5605             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
5606                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_ObscuredReasons>(thisDeserializer.readInt32());
5607             }
5608             value_value_buf.value = value_value_buf_;
5609         }
5610         Opt_Array_ObscuredReasons value_value = value_value_buf;;
5611         GetNodeModifiers()->getCommonMethodModifier()->setObscured(self, (const Opt_Array_ObscuredReasons*)&value_value);
5612 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_obscured,Ark_NativePointer,KSerializerBuffer,int32_t)5613 KOALA_INTEROP_DIRECT_V3(CommonMethod_obscured, Ark_NativePointer, KSerializerBuffer, int32_t)
5614 void impl_CommonMethod_reuseId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5615         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5616         Deserializer thisDeserializer(thisArray, thisLength);
5617         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5618         Opt_String value_value_buf = {};
5619         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5620         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5621         {
5622             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5623         }
5624         Opt_String value_value = value_value_buf;;
5625         GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, (const Opt_String*)&value_value);
5626 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_reuseId,Ark_NativePointer,KSerializerBuffer,int32_t)5627 KOALA_INTEROP_DIRECT_V3(CommonMethod_reuseId, Ark_NativePointer, KSerializerBuffer, int32_t)
5628 void impl_CommonMethod_reuse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5629         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5630         Deserializer thisDeserializer(thisArray, thisLength);
5631         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5632         Opt_ReuseOptions value_value_buf = {};
5633         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5634         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5635         {
5636             value_value_buf.value = thisDeserializer.readReuseOptions();
5637         }
5638         Opt_ReuseOptions value_value = value_value_buf;;
5639         GetNodeModifiers()->getCommonMethodModifier()->setReuse(self, (const Opt_ReuseOptions*)&value_value);
5640 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_reuse,Ark_NativePointer,KSerializerBuffer,int32_t)5641 KOALA_INTEROP_DIRECT_V3(CommonMethod_reuse, Ark_NativePointer, KSerializerBuffer, int32_t)
5642 void impl_CommonMethod_renderFit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5643         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5644         Deserializer thisDeserializer(thisArray, thisLength);
5645         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5646         Opt_RenderFit value_value_buf = {};
5647         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5648         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5649         {
5650             value_value_buf.value = static_cast<Ark_RenderFit>(thisDeserializer.readInt32());
5651         }
5652         Opt_RenderFit value_value = value_value_buf;;
5653         GetNodeModifiers()->getCommonMethodModifier()->setRenderFit0(self, (const Opt_RenderFit*)&value_value);
5654 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_renderFit0,Ark_NativePointer,KSerializerBuffer,int32_t)5655 KOALA_INTEROP_DIRECT_V3(CommonMethod_renderFit0, Ark_NativePointer, KSerializerBuffer, int32_t)
5656 void impl_CommonMethod_renderFit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5657         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5658         Deserializer thisDeserializer(thisArray, thisLength);
5659         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5660         Opt_RenderFit value_value_buf = {};
5661         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5662         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5663         {
5664             value_value_buf.value = static_cast<Ark_RenderFit>(thisDeserializer.readInt32());
5665         }
5666         Opt_RenderFit value_value = value_value_buf;;
5667         GetNodeModifiers()->getCommonMethodModifier()->setRenderFit1(self, (const Opt_RenderFit*)&value_value);
5668 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_renderFit1,Ark_NativePointer,KSerializerBuffer,int32_t)5669 KOALA_INTEROP_DIRECT_V3(CommonMethod_renderFit1, Ark_NativePointer, KSerializerBuffer, int32_t)
5670 void impl_CommonMethod_gestureModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5671         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5672         Deserializer thisDeserializer(thisArray, thisLength);
5673         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5674         Opt_GestureModifier value_value_buf = {};
5675         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5676         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5677         {
5678             value_value_buf.value = static_cast<Ark_GestureModifier>(thisDeserializer.readGestureModifier());
5679         }
5680         Opt_GestureModifier value_value = value_value_buf;;
5681         GetNodeModifiers()->getCommonMethodModifier()->setGestureModifier(self, (const Opt_GestureModifier*)&value_value);
5682 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_gestureModifier,Ark_NativePointer,KSerializerBuffer,int32_t)5683 KOALA_INTEROP_DIRECT_V3(CommonMethod_gestureModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
5684 void impl_CommonMethod_backgroundBrightness0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5685         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5686         Deserializer thisDeserializer(thisArray, thisLength);
5687         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5688         Opt_BackgroundBrightnessOptions value_value_buf = {};
5689         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5690         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5691         {
5692             value_value_buf.value = thisDeserializer.readBackgroundBrightnessOptions();
5693         }
5694         Opt_BackgroundBrightnessOptions value_value = value_value_buf;;
5695         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness0(self, (const Opt_BackgroundBrightnessOptions*)&value_value);
5696 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness0,Ark_NativePointer,KSerializerBuffer,int32_t)5697 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness0, Ark_NativePointer, KSerializerBuffer, int32_t)
5698 void impl_CommonMethod_backgroundBrightness1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5699         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5700         Deserializer thisDeserializer(thisArray, thisLength);
5701         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5702         Opt_BackgroundBrightnessOptions value_value_buf = {};
5703         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5704         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5705         {
5706             value_value_buf.value = thisDeserializer.readBackgroundBrightnessOptions();
5707         }
5708         Opt_BackgroundBrightnessOptions value_value = value_value_buf;;
5709         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness1(self, (const Opt_BackgroundBrightnessOptions*)&value_value);
5710 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness1,Ark_NativePointer,KSerializerBuffer,int32_t)5711 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness1, Ark_NativePointer, KSerializerBuffer, int32_t)
5712 void impl_CommonMethod_onGestureJudgeBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5713         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5714         Deserializer thisDeserializer(thisArray, thisLength);
5715         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5716         Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult value_value_buf = {};
5717         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5718         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5719         {
5720             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult))))};
5721         }
5722         Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult value_value = value_value_buf;;
5723         GetNodeModifiers()->getCommonMethodModifier()->setOnGestureJudgeBegin(self, (const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult*)&value_value);
5724 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureJudgeBegin,Ark_NativePointer,KSerializerBuffer,int32_t)5725 KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureJudgeBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
5726 void impl_CommonMethod_onGestureRecognizerJudgeBegin0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5727         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5728         Deserializer thisDeserializer(thisArray, thisLength);
5729         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5730         Opt_GestureRecognizerJudgeBeginCallback value_value_buf = {};
5731         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5732         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5733         {
5734             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_BaseGestureEvent event, const Ark_GestureRecognizer current, const Array_GestureRecognizer recognizers, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_GestureRecognizerJudgeBeginCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_BaseGestureEvent event, const Ark_GestureRecognizer current, const Array_GestureRecognizer recognizers, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_GestureRecognizerJudgeBeginCallback))))};
5735         }
5736         Opt_GestureRecognizerJudgeBeginCallback value_value = value_value_buf;;
5737         GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin0(self, (const Opt_GestureRecognizerJudgeBeginCallback*)&value_value);
5738 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureRecognizerJudgeBegin0,Ark_NativePointer,KSerializerBuffer,int32_t)5739 KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureRecognizerJudgeBegin0, Ark_NativePointer, KSerializerBuffer, int32_t)
5740 void impl_CommonMethod_onGestureRecognizerJudgeBegin1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5741         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5742         Deserializer thisDeserializer(thisArray, thisLength);
5743         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5744         Opt_GestureRecognizerJudgeBeginCallback callback__value_buf = {};
5745         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5746         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
5747         {
5748             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_BaseGestureEvent event, const Ark_GestureRecognizer current, const Array_GestureRecognizer recognizers, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_GestureRecognizerJudgeBeginCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_BaseGestureEvent event, const Ark_GestureRecognizer current, const Array_GestureRecognizer recognizers, const Callback_GestureJudgeResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_GestureRecognizerJudgeBeginCallback))))};
5749         }
5750         Opt_GestureRecognizerJudgeBeginCallback callback__value = callback__value_buf;;
5751         const auto exposeInnerGesture_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5752         Opt_Boolean exposeInnerGesture_value_buf = {};
5753         exposeInnerGesture_value_buf.tag = exposeInnerGesture_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5754         if ((INTEROP_RUNTIME_UNDEFINED) != (exposeInnerGesture_value_buf_runtimeType))
5755         {
5756             exposeInnerGesture_value_buf.value = thisDeserializer.readBoolean();
5757         }
5758         Opt_Boolean exposeInnerGesture_value = exposeInnerGesture_value_buf;;
5759         GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin1(self, (const Opt_GestureRecognizerJudgeBeginCallback*)&callback__value, (const Opt_Boolean*)&exposeInnerGesture_value);
5760 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureRecognizerJudgeBegin1,Ark_NativePointer,KSerializerBuffer,int32_t)5761 KOALA_INTEROP_DIRECT_V3(CommonMethod_onGestureRecognizerJudgeBegin1, Ark_NativePointer, KSerializerBuffer, int32_t)
5762 void impl_CommonMethod_shouldBuiltInRecognizerParallelWith(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5763         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5764         Deserializer thisDeserializer(thisArray, thisLength);
5765         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5766         Opt_ShouldBuiltInRecognizerParallelWithCallback value_value_buf = {};
5767         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5768         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5769         {
5770             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ShouldBuiltInRecognizerParallelWithCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ShouldBuiltInRecognizerParallelWithCallback))))};
5771         }
5772         Opt_ShouldBuiltInRecognizerParallelWithCallback value_value = value_value_buf;;
5773         GetNodeModifiers()->getCommonMethodModifier()->setShouldBuiltInRecognizerParallelWith(self, (const Opt_ShouldBuiltInRecognizerParallelWithCallback*)&value_value);
5774 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_shouldBuiltInRecognizerParallelWith,Ark_NativePointer,KSerializerBuffer,int32_t)5775 KOALA_INTEROP_DIRECT_V3(CommonMethod_shouldBuiltInRecognizerParallelWith, Ark_NativePointer, KSerializerBuffer, int32_t)
5776 void impl_CommonMethod_monopolizeEvents(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5777         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5778         Deserializer thisDeserializer(thisArray, thisLength);
5779         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5780         Opt_Boolean value_value_buf = {};
5781         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5782         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5783         {
5784             value_value_buf.value = thisDeserializer.readBoolean();
5785         }
5786         Opt_Boolean value_value = value_value_buf;;
5787         GetNodeModifiers()->getCommonMethodModifier()->setMonopolizeEvents(self, (const Opt_Boolean*)&value_value);
5788 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_monopolizeEvents,Ark_NativePointer,KSerializerBuffer,int32_t)5789 KOALA_INTEROP_DIRECT_V3(CommonMethod_monopolizeEvents, Ark_NativePointer, KSerializerBuffer, int32_t)
5790 void impl_CommonMethod_onTouchIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5791         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5792         Deserializer thisDeserializer(thisArray, thisLength);
5793         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5794         Opt_Callback_TouchEvent_HitTestMode value_value_buf = {};
5795         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5796         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5797         {
5798             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TouchEvent_HitTestMode)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_HitTestMode))))};
5799         }
5800         Opt_Callback_TouchEvent_HitTestMode value_value = value_value_buf;;
5801         GetNodeModifiers()->getCommonMethodModifier()->setOnTouchIntercept(self, (const Opt_Callback_TouchEvent_HitTestMode*)&value_value);
5802 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouchIntercept,Ark_NativePointer,KSerializerBuffer,int32_t)5803 KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouchIntercept, Ark_NativePointer, KSerializerBuffer, int32_t)
5804 void impl_CommonMethod_onSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5805         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5806         Deserializer thisDeserializer(thisArray, thisLength);
5807         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5808         Opt_SizeChangeCallback value_value_buf = {};
5809         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5810         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5811         {
5812             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SizeChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SizeChangeCallback))))};
5813         }
5814         Opt_SizeChangeCallback value_value = value_value_buf;;
5815         GetNodeModifiers()->getCommonMethodModifier()->setOnSizeChange(self, (const Opt_SizeChangeCallback*)&value_value);
5816 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onSizeChange,Ark_NativePointer,KSerializerBuffer,int32_t)5817 KOALA_INTEROP_DIRECT_V3(CommonMethod_onSizeChange, Ark_NativePointer, KSerializerBuffer, int32_t)
5818 void impl_CommonMethod_accessibilityFocusDrawLevel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5819         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5820         Deserializer thisDeserializer(thisArray, thisLength);
5821         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5822         Opt_FocusDrawLevel value_value_buf = {};
5823         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5824         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5825         {
5826             value_value_buf.value = static_cast<Ark_FocusDrawLevel>(thisDeserializer.readInt32());
5827         }
5828         Opt_FocusDrawLevel value_value = value_value_buf;;
5829         GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityFocusDrawLevel(self, (const Opt_FocusDrawLevel*)&value_value);
5830 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityFocusDrawLevel,Ark_NativePointer,KSerializerBuffer,int32_t)5831 KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityFocusDrawLevel, Ark_NativePointer, KSerializerBuffer, int32_t)
5832 void impl_CommonMethod_customProperty(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5833         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5834         Deserializer thisDeserializer(thisArray, thisLength);
5835         const auto name_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5836         Opt_String name_value_buf = {};
5837         name_value_buf.tag = name_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5838         if ((INTEROP_RUNTIME_UNDEFINED) != (name_value_buf_runtimeType))
5839         {
5840             name_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
5841         }
5842         Opt_String name_value = name_value_buf;;
5843         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5844         Opt_Object value_value_buf = {};
5845         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5846         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
5847         {
5848             value_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
5849         }
5850         Opt_Object value_value = value_value_buf;;
5851         GetNodeModifiers()->getCommonMethodModifier()->setCustomProperty(self, (const Opt_String*)&name_value, (const Opt_Object*)&value_value);
5852 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_customProperty,Ark_NativePointer,KSerializerBuffer,int32_t)5853 KOALA_INTEROP_DIRECT_V3(CommonMethod_customProperty, Ark_NativePointer, KSerializerBuffer, int32_t)
5854 void impl_CommonMethod_expandSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5855         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5856         Deserializer thisDeserializer(thisArray, thisLength);
5857         const auto types_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5858         Opt_Array_SafeAreaType types_value_buf = {};
5859         types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5860         if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType))
5861         {
5862             const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32();
5863             Array_SafeAreaType types_value_buf_ = {};
5864             thisDeserializer.resizeArray<std::decay<decltype(types_value_buf_)>::type,
5865         std::decay<decltype(*types_value_buf_.array)>::type>(&types_value_buf_, types_value_buf__length);
5866             for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) {
5867                 types_value_buf_.array[types_value_buf__i] = static_cast<Ark_SafeAreaType>(thisDeserializer.readInt32());
5868             }
5869             types_value_buf.value = types_value_buf_;
5870         }
5871         Opt_Array_SafeAreaType types_value = types_value_buf;;
5872         const auto edges_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5873         Opt_Array_SafeAreaEdge edges_value_buf = {};
5874         edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5875         if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType))
5876         {
5877             const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32();
5878             Array_SafeAreaEdge edges_value_buf_ = {};
5879             thisDeserializer.resizeArray<std::decay<decltype(edges_value_buf_)>::type,
5880         std::decay<decltype(*edges_value_buf_.array)>::type>(&edges_value_buf_, edges_value_buf__length);
5881             for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) {
5882                 edges_value_buf_.array[edges_value_buf__i] = static_cast<Ark_SafeAreaEdge>(thisDeserializer.readInt32());
5883             }
5884             edges_value_buf.value = edges_value_buf_;
5885         }
5886         Opt_Array_SafeAreaEdge edges_value = edges_value_buf;;
5887         GetNodeModifiers()->getCommonMethodModifier()->setExpandSafeArea(self, (const Opt_Array_SafeAreaType*)&types_value, (const Opt_Array_SafeAreaEdge*)&edges_value);
5888 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_expandSafeArea,Ark_NativePointer,KSerializerBuffer,int32_t)5889 KOALA_INTEROP_DIRECT_V3(CommonMethod_expandSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t)
5890 void impl_CommonMethod_background(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5891         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5892         Deserializer thisDeserializer(thisArray, thisLength);
5893         const auto builder_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5894         Opt_CustomNodeBuilder builder_value_buf = {};
5895         builder_value_buf.tag = builder_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5896         if ((INTEROP_RUNTIME_UNDEFINED) != (builder_value_buf_runtimeType))
5897         {
5898             builder_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
5899         }
5900         Opt_CustomNodeBuilder builder_value = builder_value_buf;;
5901         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5902         Opt_Literal_Alignment_align options_value_buf = {};
5903         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5904         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
5905         {
5906             Ark_Literal_Alignment_align options_value_buf_ = {};
5907             const auto options_value_buf__align_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5908             Opt_Alignment options_value_buf__align_buf = {};
5909             options_value_buf__align_buf.tag = options_value_buf__align_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5910             if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf__align_buf_runtimeType))
5911             {
5912                 options_value_buf__align_buf.value = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
5913             }
5914             options_value_buf_.align = options_value_buf__align_buf;
5915             options_value_buf.value = options_value_buf_;
5916         }
5917         Opt_Literal_Alignment_align options_value = options_value_buf;;
5918         GetNodeModifiers()->getCommonMethodModifier()->setBackground(self, (const Opt_CustomNodeBuilder*)&builder_value, (const Opt_Literal_Alignment_align*)&options_value);
5919 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_background,Ark_NativePointer,KSerializerBuffer,int32_t)5920 KOALA_INTEROP_DIRECT_V3(CommonMethod_background, Ark_NativePointer, KSerializerBuffer, int32_t)
5921 void impl_CommonMethod_backgroundImage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5922         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5923         Deserializer thisDeserializer(thisArray, thisLength);
5924         const auto src_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5925         Opt_Union_ResourceStr_PixelMap src_value_buf = {};
5926         src_value_buf.tag = src_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5927         if ((INTEROP_RUNTIME_UNDEFINED) != (src_value_buf_runtimeType))
5928         {
5929             const Ark_Int8 src_value_buf__selector = thisDeserializer.readInt8();
5930             Ark_Union_ResourceStr_PixelMap src_value_buf_ = {};
5931             src_value_buf_.selector = src_value_buf__selector;
5932             if (src_value_buf__selector == 0) {
5933                 src_value_buf_.selector = 0;
5934                 const Ark_Int8 src_value_buf__u_selector = thisDeserializer.readInt8();
5935                 Ark_ResourceStr src_value_buf__u = {};
5936                 src_value_buf__u.selector = src_value_buf__u_selector;
5937                 if (src_value_buf__u_selector == 0) {
5938                     src_value_buf__u.selector = 0;
5939                     src_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
5940                 }
5941                 else if (src_value_buf__u_selector == 1) {
5942                     src_value_buf__u.selector = 1;
5943                     src_value_buf__u.value1 = thisDeserializer.readResource();
5944                 }
5945                 else {
5946                     INTEROP_FATAL("One of the branches for src_value_buf__u has to be chosen through deserialisation.");
5947                 }
5948                 src_value_buf_.value0 = static_cast<Ark_ResourceStr>(src_value_buf__u);
5949             }
5950             else if (src_value_buf__selector == 1) {
5951                 src_value_buf_.selector = 1;
5952                 src_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
5953             }
5954             else {
5955                 INTEROP_FATAL("One of the branches for src_value_buf_ has to be chosen through deserialisation.");
5956             }
5957             src_value_buf.value = static_cast<Ark_Union_ResourceStr_PixelMap>(src_value_buf_);
5958         }
5959         Opt_Union_ResourceStr_PixelMap src_value = src_value_buf;;
5960         const auto repeat_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5961         Opt_ImageRepeat repeat_value_buf = {};
5962         repeat_value_buf.tag = repeat_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5963         if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_value_buf_runtimeType))
5964         {
5965             repeat_value_buf.value = static_cast<Ark_ImageRepeat>(thisDeserializer.readInt32());
5966         }
5967         Opt_ImageRepeat repeat_value = repeat_value_buf;;
5968         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage0(self, (const Opt_Union_ResourceStr_PixelMap*)&src_value, (const Opt_ImageRepeat*)&repeat_value);
5969 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage0,Ark_NativePointer,KSerializerBuffer,int32_t)5970 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage0, Ark_NativePointer, KSerializerBuffer, int32_t)
5971 void impl_CommonMethod_backgroundImage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
5972         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
5973         Deserializer thisDeserializer(thisArray, thisLength);
5974         const auto src_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
5975         Opt_Union_ResourceStr_PixelMap src_value_buf = {};
5976         src_value_buf.tag = src_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
5977         if ((INTEROP_RUNTIME_UNDEFINED) != (src_value_buf_runtimeType))
5978         {
5979             const Ark_Int8 src_value_buf__selector = thisDeserializer.readInt8();
5980             Ark_Union_ResourceStr_PixelMap src_value_buf_ = {};
5981             src_value_buf_.selector = src_value_buf__selector;
5982             if (src_value_buf__selector == 0) {
5983                 src_value_buf_.selector = 0;
5984                 const Ark_Int8 src_value_buf__u_selector = thisDeserializer.readInt8();
5985                 Ark_ResourceStr src_value_buf__u = {};
5986                 src_value_buf__u.selector = src_value_buf__u_selector;
5987                 if (src_value_buf__u_selector == 0) {
5988                     src_value_buf__u.selector = 0;
5989                     src_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
5990                 }
5991                 else if (src_value_buf__u_selector == 1) {
5992                     src_value_buf__u.selector = 1;
5993                     src_value_buf__u.value1 = thisDeserializer.readResource();
5994                 }
5995                 else {
5996                     INTEROP_FATAL("One of the branches for src_value_buf__u has to be chosen through deserialisation.");
5997                 }
5998                 src_value_buf_.value0 = static_cast<Ark_ResourceStr>(src_value_buf__u);
5999             }
6000             else if (src_value_buf__selector == 1) {
6001                 src_value_buf_.selector = 1;
6002                 src_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
6003             }
6004             else {
6005                 INTEROP_FATAL("One of the branches for src_value_buf_ has to be chosen through deserialisation.");
6006             }
6007             src_value_buf.value = static_cast<Ark_Union_ResourceStr_PixelMap>(src_value_buf_);
6008         }
6009         Opt_Union_ResourceStr_PixelMap src_value = src_value_buf;;
6010         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6011         Opt_BackgroundImageOptions options_value_buf = {};
6012         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6013         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6014         {
6015             options_value_buf.value = thisDeserializer.readBackgroundImageOptions();
6016         }
6017         Opt_BackgroundImageOptions options_value = options_value_buf;;
6018         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage1(self, (const Opt_Union_ResourceStr_PixelMap*)&src_value, (const Opt_BackgroundImageOptions*)&options_value);
6019 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage1,Ark_NativePointer,KSerializerBuffer,int32_t)6020 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage1, Ark_NativePointer, KSerializerBuffer, int32_t)
6021 void impl_CommonMethod_backgroundBlurStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6022         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6023         Deserializer thisDeserializer(thisArray, thisLength);
6024         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6025         Opt_BlurStyle value_value_buf = {};
6026         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6027         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6028         {
6029             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
6030         }
6031         Opt_BlurStyle value_value = value_value_buf;;
6032         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6033         Opt_BackgroundBlurStyleOptions options_value_buf = {};
6034         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6035         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6036         {
6037             options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions();
6038         }
6039         Opt_BackgroundBlurStyleOptions options_value = options_value_buf;;
6040         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle0(self, (const Opt_BlurStyle*)&value_value, (const Opt_BackgroundBlurStyleOptions*)&options_value);
6041 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBlurStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)6042 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBlurStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
6043 void impl_CommonMethod_backgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6044         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6045         Deserializer thisDeserializer(thisArray, thisLength);
6046         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6047         Opt_BlurStyle style_value_buf = {};
6048         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6049         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
6050         {
6051             style_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
6052         }
6053         Opt_BlurStyle style_value = style_value_buf;;
6054         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6055         Opt_BackgroundBlurStyleOptions options_value_buf = {};
6056         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6057         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6058         {
6059             options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions();
6060         }
6061         Opt_BackgroundBlurStyleOptions options_value = options_value_buf;;
6062         const auto sysOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6063         Opt_SystemAdaptiveOptions sysOptions_value_buf = {};
6064         sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6065         if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType))
6066         {
6067             sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions();
6068         }
6069         Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;;
6070         GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle1(self, (const Opt_BlurStyle*)&style_value, (const Opt_BackgroundBlurStyleOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value);
6071 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBlurStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)6072 KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
6073 void impl_CommonMethod_foregroundBlurStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6074         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6075         Deserializer thisDeserializer(thisArray, thisLength);
6076         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6077         Opt_BlurStyle value_value_buf = {};
6078         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6079         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6080         {
6081             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
6082         }
6083         Opt_BlurStyle value_value = value_value_buf;;
6084         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6085         Opt_ForegroundBlurStyleOptions options_value_buf = {};
6086         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6087         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6088         {
6089             options_value_buf.value = thisDeserializer.readForegroundBlurStyleOptions();
6090         }
6091         Opt_ForegroundBlurStyleOptions options_value = options_value_buf;;
6092         GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle0(self, (const Opt_BlurStyle*)&value_value, (const Opt_ForegroundBlurStyleOptions*)&options_value);
6093 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundBlurStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)6094 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundBlurStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
6095 void impl_CommonMethod_foregroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6096         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6097         Deserializer thisDeserializer(thisArray, thisLength);
6098         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6099         Opt_BlurStyle style_value_buf = {};
6100         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6101         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
6102         {
6103             style_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
6104         }
6105         Opt_BlurStyle style_value = style_value_buf;;
6106         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6107         Opt_ForegroundBlurStyleOptions options_value_buf = {};
6108         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6109         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6110         {
6111             options_value_buf.value = thisDeserializer.readForegroundBlurStyleOptions();
6112         }
6113         Opt_ForegroundBlurStyleOptions options_value = options_value_buf;;
6114         const auto sysOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6115         Opt_SystemAdaptiveOptions sysOptions_value_buf = {};
6116         sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6117         if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType))
6118         {
6119             sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions();
6120         }
6121         Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;;
6122         GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle1(self, (const Opt_BlurStyle*)&style_value, (const Opt_ForegroundBlurStyleOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value);
6123 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundBlurStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)6124 KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
6125 void impl_CommonMethod_focusScopeId0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6126         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6127         Deserializer thisDeserializer(thisArray, thisLength);
6128         const auto id_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6129         Opt_String id_value_buf = {};
6130         id_value_buf.tag = id_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6131         if ((INTEROP_RUNTIME_UNDEFINED) != (id_value_buf_runtimeType))
6132         {
6133             id_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
6134         }
6135         Opt_String id_value = id_value_buf;;
6136         const auto isGroup_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6137         Opt_Boolean isGroup_value_buf = {};
6138         isGroup_value_buf.tag = isGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6139         if ((INTEROP_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType))
6140         {
6141             isGroup_value_buf.value = thisDeserializer.readBoolean();
6142         }
6143         Opt_Boolean isGroup_value = isGroup_value_buf;;
6144         GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId0(self, (const Opt_String*)&id_value, (const Opt_Boolean*)&isGroup_value);
6145 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopeId0,Ark_NativePointer,KSerializerBuffer,int32_t)6146 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopeId0, Ark_NativePointer, KSerializerBuffer, int32_t)
6147 void impl_CommonMethod_focusScopeId1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6148         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6149         Deserializer thisDeserializer(thisArray, thisLength);
6150         const auto id_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6151         Opt_String id_value_buf = {};
6152         id_value_buf.tag = id_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6153         if ((INTEROP_RUNTIME_UNDEFINED) != (id_value_buf_runtimeType))
6154         {
6155             id_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
6156         }
6157         Opt_String id_value = id_value_buf;;
6158         const auto isGroup_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6159         Opt_Boolean isGroup_value_buf = {};
6160         isGroup_value_buf.tag = isGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6161         if ((INTEROP_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType))
6162         {
6163             isGroup_value_buf.value = thisDeserializer.readBoolean();
6164         }
6165         Opt_Boolean isGroup_value = isGroup_value_buf;;
6166         const auto arrowStepOut_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6167         Opt_Boolean arrowStepOut_value_buf = {};
6168         arrowStepOut_value_buf.tag = arrowStepOut_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6169         if ((INTEROP_RUNTIME_UNDEFINED) != (arrowStepOut_value_buf_runtimeType))
6170         {
6171             arrowStepOut_value_buf.value = thisDeserializer.readBoolean();
6172         }
6173         Opt_Boolean arrowStepOut_value = arrowStepOut_value_buf;;
6174         GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId1(self, (const Opt_String*)&id_value, (const Opt_Boolean*)&isGroup_value, (const Opt_Boolean*)&arrowStepOut_value);
6175 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopeId1,Ark_NativePointer,KSerializerBuffer,int32_t)6176 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopeId1, Ark_NativePointer, KSerializerBuffer, int32_t)
6177 void impl_CommonMethod_focusScopePriority(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6178         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6179         Deserializer thisDeserializer(thisArray, thisLength);
6180         const auto scopeId_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6181         Opt_String scopeId_value_buf = {};
6182         scopeId_value_buf.tag = scopeId_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6183         if ((INTEROP_RUNTIME_UNDEFINED) != (scopeId_value_buf_runtimeType))
6184         {
6185             scopeId_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
6186         }
6187         Opt_String scopeId_value = scopeId_value_buf;;
6188         const auto priority_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6189         Opt_FocusPriority priority_value_buf = {};
6190         priority_value_buf.tag = priority_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6191         if ((INTEROP_RUNTIME_UNDEFINED) != (priority_value_buf_runtimeType))
6192         {
6193             priority_value_buf.value = static_cast<Ark_FocusPriority>(thisDeserializer.readInt32());
6194         }
6195         Opt_FocusPriority priority_value = priority_value_buf;;
6196         GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, (const Opt_String*)&scopeId_value, (const Opt_FocusPriority*)&priority_value);
6197 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopePriority,Ark_NativePointer,KSerializerBuffer,int32_t)6198 KOALA_INTEROP_DIRECT_V3(CommonMethod_focusScopePriority, Ark_NativePointer, KSerializerBuffer, int32_t)
6199 void impl_CommonMethod_gesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6200         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6201         Deserializer thisDeserializer(thisArray, thisLength);
6202         const auto gesture_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6203         Opt_GestureType gesture_value_buf = {};
6204         gesture_value_buf.tag = gesture_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6205         if ((INTEROP_RUNTIME_UNDEFINED) != (gesture_value_buf_runtimeType))
6206         {
6207             const Ark_Int8 gesture_value_buf__selector = thisDeserializer.readInt8();
6208             Ark_GestureType gesture_value_buf_ = {};
6209             gesture_value_buf_.selector = gesture_value_buf__selector;
6210             if (gesture_value_buf__selector == 0) {
6211                 gesture_value_buf_.selector = 0;
6212                 gesture_value_buf_.value0 = static_cast<Ark_TapGestureInterface>(thisDeserializer.readTapGestureInterface());
6213             }
6214             else if (gesture_value_buf__selector == 1) {
6215                 gesture_value_buf_.selector = 1;
6216                 gesture_value_buf_.value1 = static_cast<Ark_LongPressGestureInterface>(thisDeserializer.readLongPressGestureInterface());
6217             }
6218             else if (gesture_value_buf__selector == 2) {
6219                 gesture_value_buf_.selector = 2;
6220                 gesture_value_buf_.value2 = static_cast<Ark_PanGestureInterface>(thisDeserializer.readPanGestureInterface());
6221             }
6222             else if (gesture_value_buf__selector == 3) {
6223                 gesture_value_buf_.selector = 3;
6224                 gesture_value_buf_.value3 = static_cast<Ark_PinchGestureInterface>(thisDeserializer.readPinchGestureInterface());
6225             }
6226             else if (gesture_value_buf__selector == 4) {
6227                 gesture_value_buf_.selector = 4;
6228                 gesture_value_buf_.value4 = static_cast<Ark_SwipeGestureInterface>(thisDeserializer.readSwipeGestureInterface());
6229             }
6230             else if (gesture_value_buf__selector == 5) {
6231                 gesture_value_buf_.selector = 5;
6232                 gesture_value_buf_.value5 = static_cast<Ark_RotationGestureInterface>(thisDeserializer.readRotationGestureInterface());
6233             }
6234             else if (gesture_value_buf__selector == 6) {
6235                 gesture_value_buf_.selector = 6;
6236                 gesture_value_buf_.value6 = static_cast<Ark_GestureGroupInterface>(thisDeserializer.readGestureGroupInterface());
6237             }
6238             else {
6239                 INTEROP_FATAL("One of the branches for gesture_value_buf_ has to be chosen through deserialisation.");
6240             }
6241             gesture_value_buf.value = static_cast<Ark_GestureType>(gesture_value_buf_);
6242         }
6243         Opt_GestureType gesture_value = gesture_value_buf;;
6244         const auto mask_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6245         Opt_GestureMask mask_value_buf = {};
6246         mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6247         if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType))
6248         {
6249             mask_value_buf.value = static_cast<Ark_GestureMask>(thisDeserializer.readInt32());
6250         }
6251         Opt_GestureMask mask_value = mask_value_buf;;
6252         GetNodeModifiers()->getCommonMethodModifier()->setGesture(self, (const Opt_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value);
6253 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_gesture,Ark_NativePointer,KSerializerBuffer,int32_t)6254 KOALA_INTEROP_DIRECT_V3(CommonMethod_gesture, Ark_NativePointer, KSerializerBuffer, int32_t)
6255 void impl_CommonMethod_priorityGesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6256         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6257         Deserializer thisDeserializer(thisArray, thisLength);
6258         const auto gesture_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6259         Opt_GestureType gesture_value_buf = {};
6260         gesture_value_buf.tag = gesture_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6261         if ((INTEROP_RUNTIME_UNDEFINED) != (gesture_value_buf_runtimeType))
6262         {
6263             const Ark_Int8 gesture_value_buf__selector = thisDeserializer.readInt8();
6264             Ark_GestureType gesture_value_buf_ = {};
6265             gesture_value_buf_.selector = gesture_value_buf__selector;
6266             if (gesture_value_buf__selector == 0) {
6267                 gesture_value_buf_.selector = 0;
6268                 gesture_value_buf_.value0 = static_cast<Ark_TapGestureInterface>(thisDeserializer.readTapGestureInterface());
6269             }
6270             else if (gesture_value_buf__selector == 1) {
6271                 gesture_value_buf_.selector = 1;
6272                 gesture_value_buf_.value1 = static_cast<Ark_LongPressGestureInterface>(thisDeserializer.readLongPressGestureInterface());
6273             }
6274             else if (gesture_value_buf__selector == 2) {
6275                 gesture_value_buf_.selector = 2;
6276                 gesture_value_buf_.value2 = static_cast<Ark_PanGestureInterface>(thisDeserializer.readPanGestureInterface());
6277             }
6278             else if (gesture_value_buf__selector == 3) {
6279                 gesture_value_buf_.selector = 3;
6280                 gesture_value_buf_.value3 = static_cast<Ark_PinchGestureInterface>(thisDeserializer.readPinchGestureInterface());
6281             }
6282             else if (gesture_value_buf__selector == 4) {
6283                 gesture_value_buf_.selector = 4;
6284                 gesture_value_buf_.value4 = static_cast<Ark_SwipeGestureInterface>(thisDeserializer.readSwipeGestureInterface());
6285             }
6286             else if (gesture_value_buf__selector == 5) {
6287                 gesture_value_buf_.selector = 5;
6288                 gesture_value_buf_.value5 = static_cast<Ark_RotationGestureInterface>(thisDeserializer.readRotationGestureInterface());
6289             }
6290             else if (gesture_value_buf__selector == 6) {
6291                 gesture_value_buf_.selector = 6;
6292                 gesture_value_buf_.value6 = static_cast<Ark_GestureGroupInterface>(thisDeserializer.readGestureGroupInterface());
6293             }
6294             else {
6295                 INTEROP_FATAL("One of the branches for gesture_value_buf_ has to be chosen through deserialisation.");
6296             }
6297             gesture_value_buf.value = static_cast<Ark_GestureType>(gesture_value_buf_);
6298         }
6299         Opt_GestureType gesture_value = gesture_value_buf;;
6300         const auto mask_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6301         Opt_GestureMask mask_value_buf = {};
6302         mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6303         if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType))
6304         {
6305             mask_value_buf.value = static_cast<Ark_GestureMask>(thisDeserializer.readInt32());
6306         }
6307         Opt_GestureMask mask_value = mask_value_buf;;
6308         GetNodeModifiers()->getCommonMethodModifier()->setPriorityGesture(self, (const Opt_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value);
6309 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_priorityGesture,Ark_NativePointer,KSerializerBuffer,int32_t)6310 KOALA_INTEROP_DIRECT_V3(CommonMethod_priorityGesture, Ark_NativePointer, KSerializerBuffer, int32_t)
6311 void impl_CommonMethod_parallelGesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6312         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6313         Deserializer thisDeserializer(thisArray, thisLength);
6314         const auto gesture_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6315         Opt_GestureType gesture_value_buf = {};
6316         gesture_value_buf.tag = gesture_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6317         if ((INTEROP_RUNTIME_UNDEFINED) != (gesture_value_buf_runtimeType))
6318         {
6319             const Ark_Int8 gesture_value_buf__selector = thisDeserializer.readInt8();
6320             Ark_GestureType gesture_value_buf_ = {};
6321             gesture_value_buf_.selector = gesture_value_buf__selector;
6322             if (gesture_value_buf__selector == 0) {
6323                 gesture_value_buf_.selector = 0;
6324                 gesture_value_buf_.value0 = static_cast<Ark_TapGestureInterface>(thisDeserializer.readTapGestureInterface());
6325             }
6326             else if (gesture_value_buf__selector == 1) {
6327                 gesture_value_buf_.selector = 1;
6328                 gesture_value_buf_.value1 = static_cast<Ark_LongPressGestureInterface>(thisDeserializer.readLongPressGestureInterface());
6329             }
6330             else if (gesture_value_buf__selector == 2) {
6331                 gesture_value_buf_.selector = 2;
6332                 gesture_value_buf_.value2 = static_cast<Ark_PanGestureInterface>(thisDeserializer.readPanGestureInterface());
6333             }
6334             else if (gesture_value_buf__selector == 3) {
6335                 gesture_value_buf_.selector = 3;
6336                 gesture_value_buf_.value3 = static_cast<Ark_PinchGestureInterface>(thisDeserializer.readPinchGestureInterface());
6337             }
6338             else if (gesture_value_buf__selector == 4) {
6339                 gesture_value_buf_.selector = 4;
6340                 gesture_value_buf_.value4 = static_cast<Ark_SwipeGestureInterface>(thisDeserializer.readSwipeGestureInterface());
6341             }
6342             else if (gesture_value_buf__selector == 5) {
6343                 gesture_value_buf_.selector = 5;
6344                 gesture_value_buf_.value5 = static_cast<Ark_RotationGestureInterface>(thisDeserializer.readRotationGestureInterface());
6345             }
6346             else if (gesture_value_buf__selector == 6) {
6347                 gesture_value_buf_.selector = 6;
6348                 gesture_value_buf_.value6 = static_cast<Ark_GestureGroupInterface>(thisDeserializer.readGestureGroupInterface());
6349             }
6350             else {
6351                 INTEROP_FATAL("One of the branches for gesture_value_buf_ has to be chosen through deserialisation.");
6352             }
6353             gesture_value_buf.value = static_cast<Ark_GestureType>(gesture_value_buf_);
6354         }
6355         Opt_GestureType gesture_value = gesture_value_buf;;
6356         const auto mask_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6357         Opt_GestureMask mask_value_buf = {};
6358         mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6359         if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType))
6360         {
6361             mask_value_buf.value = static_cast<Ark_GestureMask>(thisDeserializer.readInt32());
6362         }
6363         Opt_GestureMask mask_value = mask_value_buf;;
6364         GetNodeModifiers()->getCommonMethodModifier()->setParallelGesture(self, (const Opt_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value);
6365 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_parallelGesture,Ark_NativePointer,KSerializerBuffer,int32_t)6366 KOALA_INTEROP_DIRECT_V3(CommonMethod_parallelGesture, Ark_NativePointer, KSerializerBuffer, int32_t)
6367 void impl_CommonMethod_blur0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6368         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6369         Deserializer thisDeserializer(thisArray, thisLength);
6370         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6371         Opt_Number value_value_buf = {};
6372         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6373         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6374         {
6375             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6376         }
6377         Opt_Number value_value = value_value_buf;;
6378         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6379         Opt_BlurOptions options_value_buf = {};
6380         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6381         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6382         {
6383             options_value_buf.value = thisDeserializer.readBlurOptions();
6384         }
6385         Opt_BlurOptions options_value = options_value_buf;;
6386         GetNodeModifiers()->getCommonMethodModifier()->setBlur0(self, (const Opt_Number*)&value_value, (const Opt_BlurOptions*)&options_value);
6387 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_blur0,Ark_NativePointer,KSerializerBuffer,int32_t)6388 KOALA_INTEROP_DIRECT_V3(CommonMethod_blur0, Ark_NativePointer, KSerializerBuffer, int32_t)
6389 void impl_CommonMethod_blur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6390         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6391         Deserializer thisDeserializer(thisArray, thisLength);
6392         const auto blurRadius_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6393         Opt_Number blurRadius_value_buf = {};
6394         blurRadius_value_buf.tag = blurRadius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6395         if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_value_buf_runtimeType))
6396         {
6397             blurRadius_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6398         }
6399         Opt_Number blurRadius_value = blurRadius_value_buf;;
6400         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6401         Opt_BlurOptions options_value_buf = {};
6402         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6403         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6404         {
6405             options_value_buf.value = thisDeserializer.readBlurOptions();
6406         }
6407         Opt_BlurOptions options_value = options_value_buf;;
6408         const auto sysOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6409         Opt_SystemAdaptiveOptions sysOptions_value_buf = {};
6410         sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6411         if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType))
6412         {
6413             sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions();
6414         }
6415         Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;;
6416         GetNodeModifiers()->getCommonMethodModifier()->setBlur1(self, (const Opt_Number*)&blurRadius_value, (const Opt_BlurOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value);
6417 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_blur1,Ark_NativePointer,KSerializerBuffer,int32_t)6418 KOALA_INTEROP_DIRECT_V3(CommonMethod_blur1, Ark_NativePointer, KSerializerBuffer, int32_t)
6419 void impl_CommonMethod_linearGradientBlur0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6420         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6421         Deserializer thisDeserializer(thisArray, thisLength);
6422         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6423         Opt_Number value_value_buf = {};
6424         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6425         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6426         {
6427             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6428         }
6429         Opt_Number value_value = value_value_buf;;
6430         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6431         Opt_LinearGradientBlurOptions options_value_buf = {};
6432         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6433         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6434         {
6435             options_value_buf.value = thisDeserializer.readLinearGradientBlurOptions();
6436         }
6437         Opt_LinearGradientBlurOptions options_value = options_value_buf;;
6438         GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur0(self, (const Opt_Number*)&value_value, (const Opt_LinearGradientBlurOptions*)&options_value);
6439 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradientBlur0,Ark_NativePointer,KSerializerBuffer,int32_t)6440 KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradientBlur0, Ark_NativePointer, KSerializerBuffer, int32_t)
6441 void impl_CommonMethod_linearGradientBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6442         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6443         Deserializer thisDeserializer(thisArray, thisLength);
6444         const auto blurRadius_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6445         Opt_Number blurRadius_value_buf = {};
6446         blurRadius_value_buf.tag = blurRadius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6447         if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_value_buf_runtimeType))
6448         {
6449             blurRadius_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6450         }
6451         Opt_Number blurRadius_value = blurRadius_value_buf;;
6452         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6453         Opt_LinearGradientBlurOptions options_value_buf = {};
6454         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6455         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6456         {
6457             options_value_buf.value = thisDeserializer.readLinearGradientBlurOptions();
6458         }
6459         Opt_LinearGradientBlurOptions options_value = options_value_buf;;
6460         GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur1(self, (const Opt_Number*)&blurRadius_value, (const Opt_LinearGradientBlurOptions*)&options_value);
6461 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradientBlur1,Ark_NativePointer,KSerializerBuffer,int32_t)6462 KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradientBlur1, Ark_NativePointer, KSerializerBuffer, int32_t)
6463 void impl_CommonMethod_systemBarEffect(Ark_NativePointer thisPtr) {
6464         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6465         GetNodeModifiers()->getCommonMethodModifier()->setSystemBarEffect(self);
6466 }
KOALA_INTEROP_DIRECT_V1(CommonMethod_systemBarEffect,Ark_NativePointer)6467 KOALA_INTEROP_DIRECT_V1(CommonMethod_systemBarEffect, Ark_NativePointer)
6468 void impl_CommonMethod_backdropBlur0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6469         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6470         Deserializer thisDeserializer(thisArray, thisLength);
6471         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6472         Opt_Number value_value_buf = {};
6473         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6474         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6475         {
6476             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6477         }
6478         Opt_Number value_value = value_value_buf;;
6479         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6480         Opt_BlurOptions options_value_buf = {};
6481         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6482         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6483         {
6484             options_value_buf.value = thisDeserializer.readBlurOptions();
6485         }
6486         Opt_BlurOptions options_value = options_value_buf;;
6487         GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur0(self, (const Opt_Number*)&value_value, (const Opt_BlurOptions*)&options_value);
6488 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backdropBlur0,Ark_NativePointer,KSerializerBuffer,int32_t)6489 KOALA_INTEROP_DIRECT_V3(CommonMethod_backdropBlur0, Ark_NativePointer, KSerializerBuffer, int32_t)
6490 void impl_CommonMethod_backdropBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6491         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6492         Deserializer thisDeserializer(thisArray, thisLength);
6493         const auto radius_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6494         Opt_Number radius_value_buf = {};
6495         radius_value_buf.tag = radius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6496         if ((INTEROP_RUNTIME_UNDEFINED) != (radius_value_buf_runtimeType))
6497         {
6498             radius_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
6499         }
6500         Opt_Number radius_value = radius_value_buf;;
6501         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6502         Opt_BlurOptions options_value_buf = {};
6503         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6504         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6505         {
6506             options_value_buf.value = thisDeserializer.readBlurOptions();
6507         }
6508         Opt_BlurOptions options_value = options_value_buf;;
6509         const auto sysOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6510         Opt_SystemAdaptiveOptions sysOptions_value_buf = {};
6511         sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6512         if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType))
6513         {
6514             sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions();
6515         }
6516         Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;;
6517         GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur1(self, (const Opt_Number*)&radius_value, (const Opt_BlurOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value);
6518 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_backdropBlur1,Ark_NativePointer,KSerializerBuffer,int32_t)6519 KOALA_INTEROP_DIRECT_V3(CommonMethod_backdropBlur1, Ark_NativePointer, KSerializerBuffer, int32_t)
6520 void impl_CommonMethod_sharedTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6521         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6522         Deserializer thisDeserializer(thisArray, thisLength);
6523         const auto id_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6524         Opt_String id_value_buf = {};
6525         id_value_buf.tag = id_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6526         if ((INTEROP_RUNTIME_UNDEFINED) != (id_value_buf_runtimeType))
6527         {
6528             id_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
6529         }
6530         Opt_String id_value = id_value_buf;;
6531         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6532         Opt_sharedTransitionOptions options_value_buf = {};
6533         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6534         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6535         {
6536             options_value_buf.value = thisDeserializer.readsharedTransitionOptions();
6537         }
6538         Opt_sharedTransitionOptions options_value = options_value_buf;;
6539         GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, (const Opt_String*)&id_value, (const Opt_sharedTransitionOptions*)&options_value);
6540 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_sharedTransition,Ark_NativePointer,KSerializerBuffer,int32_t)6541 KOALA_INTEROP_DIRECT_V3(CommonMethod_sharedTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
6542 void impl_CommonMethod_chainMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6543         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6544         Deserializer thisDeserializer(thisArray, thisLength);
6545         const auto direction_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6546         Opt_Axis direction_value_buf = {};
6547         direction_value_buf.tag = direction_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6548         if ((INTEROP_RUNTIME_UNDEFINED) != (direction_value_buf_runtimeType))
6549         {
6550             direction_value_buf.value = static_cast<Ark_Axis>(thisDeserializer.readInt32());
6551         }
6552         Opt_Axis direction_value = direction_value_buf;;
6553         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6554         Opt_ChainStyle style_value_buf = {};
6555         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6556         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
6557         {
6558             style_value_buf.value = static_cast<Ark_ChainStyle>(thisDeserializer.readInt32());
6559         }
6560         Opt_ChainStyle style_value = style_value_buf;;
6561         GetNodeModifiers()->getCommonMethodModifier()->setChainMode(self, (const Opt_Axis*)&direction_value, (const Opt_ChainStyle*)&style_value);
6562 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_chainMode,Ark_NativePointer,KSerializerBuffer,int32_t)6563 KOALA_INTEROP_DIRECT_V3(CommonMethod_chainMode, Ark_NativePointer, KSerializerBuffer, int32_t)
6564 void impl_CommonMethod_dragPreviewOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6565         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6566         Deserializer thisDeserializer(thisArray, thisLength);
6567         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6568         Opt_DragPreviewOptions value_value_buf = {};
6569         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6570         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6571         {
6572             value_value_buf.value = thisDeserializer.readDragPreviewOptions();
6573         }
6574         Opt_DragPreviewOptions value_value = value_value_buf;;
6575         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6576         Opt_DragInteractionOptions options_value_buf = {};
6577         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6578         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6579         {
6580             options_value_buf.value = thisDeserializer.readDragInteractionOptions();
6581         }
6582         Opt_DragInteractionOptions options_value = options_value_buf;;
6583         GetNodeModifiers()->getCommonMethodModifier()->setDragPreviewOptions(self, (const Opt_DragPreviewOptions*)&value_value, (const Opt_DragInteractionOptions*)&options_value);
6584 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreviewOptions,Ark_NativePointer,KSerializerBuffer,int32_t)6585 KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreviewOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
6586 void impl_CommonMethod_overlay(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6587         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6588         Deserializer thisDeserializer(thisArray, thisLength);
6589         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6590         Opt_Union_String_CustomBuilder_ComponentContent value_value_buf = {};
6591         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6592         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6593         {
6594             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
6595             Ark_Union_String_CustomBuilder_ComponentContent value_value_buf_ = {};
6596             value_value_buf_.selector = value_value_buf__selector;
6597             if (value_value_buf__selector == 0) {
6598                 value_value_buf_.selector = 0;
6599                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
6600             }
6601             else if (value_value_buf__selector == 1) {
6602                 value_value_buf_.selector = 1;
6603                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6604             }
6605             else if (value_value_buf__selector == 2) {
6606                 value_value_buf_.selector = 2;
6607                 value_value_buf_.value2 = static_cast<Ark_ComponentContent>(thisDeserializer.readComponentContent());
6608             }
6609             else {
6610                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
6611             }
6612             value_value_buf.value = static_cast<Ark_Union_String_CustomBuilder_ComponentContent>(value_value_buf_);
6613         }
6614         Opt_Union_String_CustomBuilder_ComponentContent value_value = value_value_buf;;
6615         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6616         Opt_OverlayOptions options_value_buf = {};
6617         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6618         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6619         {
6620             options_value_buf.value = thisDeserializer.readOverlayOptions();
6621         }
6622         Opt_OverlayOptions options_value = options_value_buf;;
6623         GetNodeModifiers()->getCommonMethodModifier()->setOverlay(self, (const Opt_Union_String_CustomBuilder_ComponentContent*)&value_value, (const Opt_OverlayOptions*)&options_value);
6624 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_overlay,Ark_NativePointer,KSerializerBuffer,int32_t)6625 KOALA_INTEROP_DIRECT_V3(CommonMethod_overlay, Ark_NativePointer, KSerializerBuffer, int32_t)
6626 void impl_CommonMethod_blendMode0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6627         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6628         Deserializer thisDeserializer(thisArray, thisLength);
6629         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6630         Opt_BlendMode value_value_buf = {};
6631         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6632         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
6633         {
6634             value_value_buf.value = static_cast<Ark_BlendMode>(thisDeserializer.readInt32());
6635         }
6636         Opt_BlendMode value_value = value_value_buf;;
6637         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6638         Opt_BlendApplyType type_value_buf = {};
6639         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6640         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
6641         {
6642             type_value_buf.value = static_cast<Ark_BlendApplyType>(thisDeserializer.readInt32());
6643         }
6644         Opt_BlendApplyType type_value = type_value_buf;;
6645         GetNodeModifiers()->getCommonMethodModifier()->setBlendMode0(self, (const Opt_BlendMode*)&value_value, (const Opt_BlendApplyType*)&type_value);
6646 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_blendMode0,Ark_NativePointer,KSerializerBuffer,int32_t)6647 KOALA_INTEROP_DIRECT_V3(CommonMethod_blendMode0, Ark_NativePointer, KSerializerBuffer, int32_t)
6648 void impl_CommonMethod_blendMode1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6649         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6650         Deserializer thisDeserializer(thisArray, thisLength);
6651         const auto mode_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6652         Opt_BlendMode mode_value_buf = {};
6653         mode_value_buf.tag = mode_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6654         if ((INTEROP_RUNTIME_UNDEFINED) != (mode_value_buf_runtimeType))
6655         {
6656             mode_value_buf.value = static_cast<Ark_BlendMode>(thisDeserializer.readInt32());
6657         }
6658         Opt_BlendMode mode_value = mode_value_buf;;
6659         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6660         Opt_BlendApplyType type_value_buf = {};
6661         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6662         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
6663         {
6664             type_value_buf.value = static_cast<Ark_BlendApplyType>(thisDeserializer.readInt32());
6665         }
6666         Opt_BlendApplyType type_value = type_value_buf;;
6667         GetNodeModifiers()->getCommonMethodModifier()->setBlendMode1(self, (const Opt_BlendMode*)&mode_value, (const Opt_BlendApplyType*)&type_value);
6668 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_blendMode1,Ark_NativePointer,KSerializerBuffer,int32_t)6669 KOALA_INTEROP_DIRECT_V3(CommonMethod_blendMode1, Ark_NativePointer, KSerializerBuffer, int32_t)
6670 void impl_CommonMethod_advancedBlendMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6671         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6672         Deserializer thisDeserializer(thisArray, thisLength);
6673         const auto effect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6674         Opt_Union_BlendMode_Blender effect_value_buf = {};
6675         effect_value_buf.tag = effect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6676         if ((INTEROP_RUNTIME_UNDEFINED) != (effect_value_buf_runtimeType))
6677         {
6678             const Ark_Int8 effect_value_buf__selector = thisDeserializer.readInt8();
6679             Ark_Union_BlendMode_Blender effect_value_buf_ = {};
6680             effect_value_buf_.selector = effect_value_buf__selector;
6681             if (effect_value_buf__selector == 0) {
6682                 effect_value_buf_.selector = 0;
6683                 effect_value_buf_.value0 = static_cast<Ark_BlendMode>(thisDeserializer.readInt32());
6684             }
6685             else if (effect_value_buf__selector == 1) {
6686                 effect_value_buf_.selector = 1;
6687                 effect_value_buf_.value1 = thisDeserializer.readBrightnessBlender();
6688             }
6689             else {
6690                 INTEROP_FATAL("One of the branches for effect_value_buf_ has to be chosen through deserialisation.");
6691             }
6692             effect_value_buf.value = static_cast<Ark_Union_BlendMode_Blender>(effect_value_buf_);
6693         }
6694         Opt_Union_BlendMode_Blender effect_value = effect_value_buf;;
6695         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6696         Opt_BlendApplyType type_value_buf = {};
6697         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6698         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
6699         {
6700             type_value_buf.value = static_cast<Ark_BlendApplyType>(thisDeserializer.readInt32());
6701         }
6702         Opt_BlendApplyType type_value = type_value_buf;;
6703         GetNodeModifiers()->getCommonMethodModifier()->setAdvancedBlendMode(self, (const Opt_Union_BlendMode_Blender*)&effect_value, (const Opt_BlendApplyType*)&type_value);
6704 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_advancedBlendMode,Ark_NativePointer,KSerializerBuffer,int32_t)6705 KOALA_INTEROP_DIRECT_V3(CommonMethod_advancedBlendMode, Ark_NativePointer, KSerializerBuffer, int32_t)
6706 void impl_CommonMethod_bindTips(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6707         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6708         Deserializer thisDeserializer(thisArray, thisLength);
6709         const auto message_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6710         Opt_TipsMessageType message_value_buf = {};
6711         message_value_buf.tag = message_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6712         if ((INTEROP_RUNTIME_UNDEFINED) != (message_value_buf_runtimeType))
6713         {
6714             const Ark_Int8 message_value_buf__selector = thisDeserializer.readInt8();
6715             Ark_TipsMessageType message_value_buf_ = {};
6716             message_value_buf_.selector = message_value_buf__selector;
6717             if (message_value_buf__selector == 0) {
6718                 message_value_buf_.selector = 0;
6719                 const Ark_Int8 message_value_buf__u_selector = thisDeserializer.readInt8();
6720                 Ark_ResourceStr message_value_buf__u = {};
6721                 message_value_buf__u.selector = message_value_buf__u_selector;
6722                 if (message_value_buf__u_selector == 0) {
6723                     message_value_buf__u.selector = 0;
6724                     message_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
6725                 }
6726                 else if (message_value_buf__u_selector == 1) {
6727                     message_value_buf__u.selector = 1;
6728                     message_value_buf__u.value1 = thisDeserializer.readResource();
6729                 }
6730                 else {
6731                     INTEROP_FATAL("One of the branches for message_value_buf__u has to be chosen through deserialisation.");
6732                 }
6733                 message_value_buf_.value0 = static_cast<Ark_ResourceStr>(message_value_buf__u);
6734             }
6735             else if (message_value_buf__selector == 1) {
6736                 message_value_buf_.selector = 1;
6737                 message_value_buf_.value1 = static_cast<Ark_StyledString>(thisDeserializer.readStyledString());
6738             }
6739             else {
6740                 INTEROP_FATAL("One of the branches for message_value_buf_ has to be chosen through deserialisation.");
6741             }
6742             message_value_buf.value = static_cast<Ark_TipsMessageType>(message_value_buf_);
6743         }
6744         Opt_TipsMessageType message_value = message_value_buf;;
6745         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6746         Opt_TipsOptions options_value_buf = {};
6747         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6748         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6749         {
6750             options_value_buf.value = thisDeserializer.readTipsOptions();
6751         }
6752         Opt_TipsOptions options_value = options_value_buf;;
6753         GetNodeModifiers()->getCommonMethodModifier()->setBindTips(self, (const Opt_TipsMessageType*)&message_value, (const Opt_TipsOptions*)&options_value);
6754 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindTips,Ark_NativePointer,KSerializerBuffer,int32_t)6755 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindTips, Ark_NativePointer, KSerializerBuffer, int32_t)
6756 void impl_CommonMethod_bindPopup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6757         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6758         Deserializer thisDeserializer(thisArray, thisLength);
6759         const auto show_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6760         Opt_Boolean show_value_buf = {};
6761         show_value_buf.tag = show_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6762         if ((INTEROP_RUNTIME_UNDEFINED) != (show_value_buf_runtimeType))
6763         {
6764             show_value_buf.value = thisDeserializer.readBoolean();
6765         }
6766         Opt_Boolean show_value = show_value_buf;;
6767         const auto popup_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6768         Opt_Union_PopupOptions_CustomPopupOptions popup_value_buf = {};
6769         popup_value_buf.tag = popup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6770         if ((INTEROP_RUNTIME_UNDEFINED) != (popup_value_buf_runtimeType))
6771         {
6772             const Ark_Int8 popup_value_buf__selector = thisDeserializer.readInt8();
6773             Ark_Union_PopupOptions_CustomPopupOptions popup_value_buf_ = {};
6774             popup_value_buf_.selector = popup_value_buf__selector;
6775             if (popup_value_buf__selector == 0) {
6776                 popup_value_buf_.selector = 0;
6777                 popup_value_buf_.value0 = thisDeserializer.readPopupOptions();
6778             }
6779             else if (popup_value_buf__selector == 1) {
6780                 popup_value_buf_.selector = 1;
6781                 popup_value_buf_.value1 = thisDeserializer.readCustomPopupOptions();
6782             }
6783             else {
6784                 INTEROP_FATAL("One of the branches for popup_value_buf_ has to be chosen through deserialisation.");
6785             }
6786             popup_value_buf.value = static_cast<Ark_Union_PopupOptions_CustomPopupOptions>(popup_value_buf_);
6787         }
6788         Opt_Union_PopupOptions_CustomPopupOptions popup_value = popup_value_buf;;
6789         GetNodeModifiers()->getCommonMethodModifier()->setBindPopup(self, (const Opt_Boolean*)&show_value, (const Opt_Union_PopupOptions_CustomPopupOptions*)&popup_value);
6790 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindPopup,Ark_NativePointer,KSerializerBuffer,int32_t)6791 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindPopup, Ark_NativePointer, KSerializerBuffer, int32_t)
6792 void impl_CommonMethod_bindMenu0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6793         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6794         Deserializer thisDeserializer(thisArray, thisLength);
6795         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6796         Opt_Union_Array_MenuElement_CustomBuilder content_value_buf = {};
6797         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6798         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
6799         {
6800             const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8();
6801             Ark_Union_Array_MenuElement_CustomBuilder content_value_buf_ = {};
6802             content_value_buf_.selector = content_value_buf__selector;
6803             if (content_value_buf__selector == 0) {
6804                 content_value_buf_.selector = 0;
6805                 const Ark_Int32 content_value_buf__u_length = thisDeserializer.readInt32();
6806                 Array_MenuElement content_value_buf__u = {};
6807                 thisDeserializer.resizeArray<std::decay<decltype(content_value_buf__u)>::type,
6808         std::decay<decltype(*content_value_buf__u.array)>::type>(&content_value_buf__u, content_value_buf__u_length);
6809                 for (int content_value_buf__u_i = 0; content_value_buf__u_i < content_value_buf__u_length; content_value_buf__u_i++) {
6810                     content_value_buf__u.array[content_value_buf__u_i] = thisDeserializer.readMenuElement();
6811                 }
6812                 content_value_buf_.value0 = content_value_buf__u;
6813             }
6814             else if (content_value_buf__selector == 1) {
6815                 content_value_buf_.selector = 1;
6816                 content_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6817             }
6818             else {
6819                 INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation.");
6820             }
6821             content_value_buf.value = static_cast<Ark_Union_Array_MenuElement_CustomBuilder>(content_value_buf_);
6822         }
6823         Opt_Union_Array_MenuElement_CustomBuilder content_value = content_value_buf;;
6824         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6825         Opt_MenuOptions options_value_buf = {};
6826         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6827         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6828         {
6829             options_value_buf.value = thisDeserializer.readMenuOptions();
6830         }
6831         Opt_MenuOptions options_value = options_value_buf;;
6832         GetNodeModifiers()->getCommonMethodModifier()->setBindMenu0(self, (const Opt_Union_Array_MenuElement_CustomBuilder*)&content_value, (const Opt_MenuOptions*)&options_value);
6833 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindMenu0,Ark_NativePointer,KSerializerBuffer,int32_t)6834 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindMenu0, Ark_NativePointer, KSerializerBuffer, int32_t)
6835 void impl_CommonMethod_bindMenu1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6836         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6837         Deserializer thisDeserializer(thisArray, thisLength);
6838         const auto isShow_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6839         Opt_Boolean isShow_value_buf = {};
6840         isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6841         if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType))
6842         {
6843             isShow_value_buf.value = thisDeserializer.readBoolean();
6844         }
6845         Opt_Boolean isShow_value = isShow_value_buf;;
6846         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6847         Opt_Union_Array_MenuElement_CustomBuilder content_value_buf = {};
6848         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6849         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
6850         {
6851             const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8();
6852             Ark_Union_Array_MenuElement_CustomBuilder content_value_buf_ = {};
6853             content_value_buf_.selector = content_value_buf__selector;
6854             if (content_value_buf__selector == 0) {
6855                 content_value_buf_.selector = 0;
6856                 const Ark_Int32 content_value_buf__u_length = thisDeserializer.readInt32();
6857                 Array_MenuElement content_value_buf__u = {};
6858                 thisDeserializer.resizeArray<std::decay<decltype(content_value_buf__u)>::type,
6859         std::decay<decltype(*content_value_buf__u.array)>::type>(&content_value_buf__u, content_value_buf__u_length);
6860                 for (int content_value_buf__u_i = 0; content_value_buf__u_i < content_value_buf__u_length; content_value_buf__u_i++) {
6861                     content_value_buf__u.array[content_value_buf__u_i] = thisDeserializer.readMenuElement();
6862                 }
6863                 content_value_buf_.value0 = content_value_buf__u;
6864             }
6865             else if (content_value_buf__selector == 1) {
6866                 content_value_buf_.selector = 1;
6867                 content_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6868             }
6869             else {
6870                 INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation.");
6871             }
6872             content_value_buf.value = static_cast<Ark_Union_Array_MenuElement_CustomBuilder>(content_value_buf_);
6873         }
6874         Opt_Union_Array_MenuElement_CustomBuilder content_value = content_value_buf;;
6875         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6876         Opt_MenuOptions options_value_buf = {};
6877         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6878         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6879         {
6880             options_value_buf.value = thisDeserializer.readMenuOptions();
6881         }
6882         Opt_MenuOptions options_value = options_value_buf;;
6883         GetNodeModifiers()->getCommonMethodModifier()->setBindMenu1(self, (const Opt_Boolean*)&isShow_value, (const Opt_Union_Array_MenuElement_CustomBuilder*)&content_value, (const Opt_MenuOptions*)&options_value);
6884 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindMenu1,Ark_NativePointer,KSerializerBuffer,int32_t)6885 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindMenu1, Ark_NativePointer, KSerializerBuffer, int32_t)
6886 void impl_CommonMethod_bindContextMenu0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6887         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6888         Deserializer thisDeserializer(thisArray, thisLength);
6889         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6890         Opt_CustomNodeBuilder content_value_buf = {};
6891         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6892         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
6893         {
6894             content_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6895         }
6896         Opt_CustomNodeBuilder content_value = content_value_buf;;
6897         const auto responseType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6898         Opt_ResponseType responseType_value_buf = {};
6899         responseType_value_buf.tag = responseType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6900         if ((INTEROP_RUNTIME_UNDEFINED) != (responseType_value_buf_runtimeType))
6901         {
6902             responseType_value_buf.value = static_cast<Ark_ResponseType>(thisDeserializer.readInt32());
6903         }
6904         Opt_ResponseType responseType_value = responseType_value_buf;;
6905         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6906         Opt_ContextMenuOptions options_value_buf = {};
6907         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6908         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6909         {
6910             options_value_buf.value = thisDeserializer.readContextMenuOptions();
6911         }
6912         Opt_ContextMenuOptions options_value = options_value_buf;;
6913         GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu0(self, (const Opt_CustomNodeBuilder*)&content_value, (const Opt_ResponseType*)&responseType_value, (const Opt_ContextMenuOptions*)&options_value);
6914 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContextMenu0,Ark_NativePointer,KSerializerBuffer,int32_t)6915 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContextMenu0, Ark_NativePointer, KSerializerBuffer, int32_t)
6916 void impl_CommonMethod_bindContextMenu1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6917         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6918         Deserializer thisDeserializer(thisArray, thisLength);
6919         const auto isShown_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6920         Opt_Boolean isShown_value_buf = {};
6921         isShown_value_buf.tag = isShown_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6922         if ((INTEROP_RUNTIME_UNDEFINED) != (isShown_value_buf_runtimeType))
6923         {
6924             isShown_value_buf.value = thisDeserializer.readBoolean();
6925         }
6926         Opt_Boolean isShown_value = isShown_value_buf;;
6927         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6928         Opt_CustomNodeBuilder content_value_buf = {};
6929         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6930         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
6931         {
6932             content_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6933         }
6934         Opt_CustomNodeBuilder content_value = content_value_buf;;
6935         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6936         Opt_ContextMenuOptions options_value_buf = {};
6937         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6938         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6939         {
6940             options_value_buf.value = thisDeserializer.readContextMenuOptions();
6941         }
6942         Opt_ContextMenuOptions options_value = options_value_buf;;
6943         GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu1(self, (const Opt_Boolean*)&isShown_value, (const Opt_CustomNodeBuilder*)&content_value, (const Opt_ContextMenuOptions*)&options_value);
6944 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContextMenu1,Ark_NativePointer,KSerializerBuffer,int32_t)6945 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContextMenu1, Ark_NativePointer, KSerializerBuffer, int32_t)
6946 void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6947         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6948         Deserializer thisDeserializer(thisArray, thisLength);
6949         const auto isShow_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6950         Opt_Boolean isShow_value_buf = {};
6951         isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6952         if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType))
6953         {
6954             isShow_value_buf.value = thisDeserializer.readBoolean();
6955         }
6956         Opt_Boolean isShow_value = isShow_value_buf;;
6957         const auto builder_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6958         Opt_CustomNodeBuilder builder_value_buf = {};
6959         builder_value_buf.tag = builder_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6960         if ((INTEROP_RUNTIME_UNDEFINED) != (builder_value_buf_runtimeType))
6961         {
6962             builder_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6963         }
6964         Opt_CustomNodeBuilder builder_value = builder_value_buf;;
6965         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6966         Opt_ModalTransition type_value_buf = {};
6967         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6968         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
6969         {
6970             type_value_buf.value = static_cast<Ark_ModalTransition>(thisDeserializer.readInt32());
6971         }
6972         Opt_ModalTransition type_value = type_value_buf;;
6973         GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, (const Opt_Boolean*)&isShow_value, (const Opt_CustomNodeBuilder*)&builder_value, (const Opt_ModalTransition*)&type_value);
6974 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover0,Ark_NativePointer,KSerializerBuffer,int32_t)6975 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover0, Ark_NativePointer, KSerializerBuffer, int32_t)
6976 void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
6977         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
6978         Deserializer thisDeserializer(thisArray, thisLength);
6979         const auto isShow_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6980         Opt_Boolean isShow_value_buf = {};
6981         isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6982         if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType))
6983         {
6984             isShow_value_buf.value = thisDeserializer.readBoolean();
6985         }
6986         Opt_Boolean isShow_value = isShow_value_buf;;
6987         const auto builder_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6988         Opt_CustomNodeBuilder builder_value_buf = {};
6989         builder_value_buf.tag = builder_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6990         if ((INTEROP_RUNTIME_UNDEFINED) != (builder_value_buf_runtimeType))
6991         {
6992             builder_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
6993         }
6994         Opt_CustomNodeBuilder builder_value = builder_value_buf;;
6995         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
6996         Opt_ContentCoverOptions options_value_buf = {};
6997         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
6998         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
6999         {
7000             options_value_buf.value = thisDeserializer.readContentCoverOptions();
7001         }
7002         Opt_ContentCoverOptions options_value = options_value_buf;;
7003         GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, (const Opt_Boolean*)&isShow_value, (const Opt_CustomNodeBuilder*)&builder_value, (const Opt_ContentCoverOptions*)&options_value);
7004 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover1,Ark_NativePointer,KSerializerBuffer,int32_t)7005 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover1, Ark_NativePointer, KSerializerBuffer, int32_t)
7006 void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7007         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7008         Deserializer thisDeserializer(thisArray, thisLength);
7009         const auto isShow_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7010         Opt_Boolean isShow_value_buf = {};
7011         isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7012         if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType))
7013         {
7014             isShow_value_buf.value = thisDeserializer.readBoolean();
7015         }
7016         Opt_Boolean isShow_value = isShow_value_buf;;
7017         const auto builder_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7018         Opt_CustomNodeBuilder builder_value_buf = {};
7019         builder_value_buf.tag = builder_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7020         if ((INTEROP_RUNTIME_UNDEFINED) != (builder_value_buf_runtimeType))
7021         {
7022             builder_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
7023         }
7024         Opt_CustomNodeBuilder builder_value = builder_value_buf;;
7025         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7026         Opt_SheetOptions options_value_buf = {};
7027         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7028         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
7029         {
7030             options_value_buf.value = thisDeserializer.readSheetOptions();
7031         }
7032         Opt_SheetOptions options_value = options_value_buf;;
7033         GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, (const Opt_Boolean*)&isShow_value, (const Opt_CustomNodeBuilder*)&builder_value, (const Opt_SheetOptions*)&options_value);
7034 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_bindSheet,Ark_NativePointer,KSerializerBuffer,int32_t)7035 KOALA_INTEROP_DIRECT_V3(CommonMethod_bindSheet, Ark_NativePointer, KSerializerBuffer, int32_t)
7036 void impl_CommonMethod_onVisibleAreaChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7037         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7038         Deserializer thisDeserializer(thisArray, thisLength);
7039         const auto ratios_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7040         Opt_Array_Number ratios_value_buf = {};
7041         ratios_value_buf.tag = ratios_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7042         if ((INTEROP_RUNTIME_UNDEFINED) != (ratios_value_buf_runtimeType))
7043         {
7044             const Ark_Int32 ratios_value_buf__length = thisDeserializer.readInt32();
7045             Array_Number ratios_value_buf_ = {};
7046             thisDeserializer.resizeArray<std::decay<decltype(ratios_value_buf_)>::type,
7047         std::decay<decltype(*ratios_value_buf_.array)>::type>(&ratios_value_buf_, ratios_value_buf__length);
7048             for (int ratios_value_buf__i = 0; ratios_value_buf__i < ratios_value_buf__length; ratios_value_buf__i++) {
7049                 ratios_value_buf_.array[ratios_value_buf__i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
7050             }
7051             ratios_value_buf.value = ratios_value_buf_;
7052         }
7053         Opt_Array_Number ratios_value = ratios_value_buf;;
7054         const auto event_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7055         Opt_VisibleAreaChangeCallback event_value_buf = {};
7056         event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7057         if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType))
7058         {
7059             event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))};
7060         }
7061         Opt_VisibleAreaChangeCallback event_value = event_value_buf;;
7062         GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaChange(self, (const Opt_Array_Number*)&ratios_value, (const Opt_VisibleAreaChangeCallback*)&event_value);
7063 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaChange,Ark_NativePointer,KSerializerBuffer,int32_t)7064 KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaChange, Ark_NativePointer, KSerializerBuffer, int32_t)
7065 void impl_CommonMethod_onVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7066         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7067         Deserializer thisDeserializer(thisArray, thisLength);
7068         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7069         Opt_VisibleAreaEventOptions options_value_buf = {};
7070         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7071         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
7072         {
7073             options_value_buf.value = thisDeserializer.readVisibleAreaEventOptions();
7074         }
7075         Opt_VisibleAreaEventOptions options_value = options_value_buf;;
7076         const auto event_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7077         Opt_VisibleAreaChangeCallback event_value_buf = {};
7078         event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7079         if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType))
7080         {
7081             event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))};
7082         }
7083         Opt_VisibleAreaChangeCallback event_value = event_value_buf;;
7084         GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaApproximateChange(self, (const Opt_VisibleAreaEventOptions*)&options_value, (const Opt_VisibleAreaChangeCallback*)&event_value);
7085 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaApproximateChange,Ark_NativePointer,KSerializerBuffer,int32_t)7086 KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
7087 void impl_CommonMethod_keyboardShortcut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7088         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7089         Deserializer thisDeserializer(thisArray, thisLength);
7090         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7091         Opt_Union_String_FunctionKey value_value_buf = {};
7092         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7093         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7094         {
7095             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7096             Ark_Union_String_FunctionKey value_value_buf_ = {};
7097             value_value_buf_.selector = value_value_buf__selector;
7098             if (value_value_buf__selector == 0) {
7099                 value_value_buf_.selector = 0;
7100                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
7101             }
7102             else if (value_value_buf__selector == 1) {
7103                 value_value_buf_.selector = 1;
7104                 value_value_buf_.value1 = static_cast<Ark_FunctionKey>(thisDeserializer.readInt32());
7105             }
7106             else {
7107                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7108             }
7109             value_value_buf.value = static_cast<Ark_Union_String_FunctionKey>(value_value_buf_);
7110         }
7111         Opt_Union_String_FunctionKey value_value = value_value_buf;;
7112         const auto keys_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7113         Opt_Array_ModifierKey keys_value_buf = {};
7114         keys_value_buf.tag = keys_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7115         if ((INTEROP_RUNTIME_UNDEFINED) != (keys_value_buf_runtimeType))
7116         {
7117             const Ark_Int32 keys_value_buf__length = thisDeserializer.readInt32();
7118             Array_ModifierKey keys_value_buf_ = {};
7119             thisDeserializer.resizeArray<std::decay<decltype(keys_value_buf_)>::type,
7120         std::decay<decltype(*keys_value_buf_.array)>::type>(&keys_value_buf_, keys_value_buf__length);
7121             for (int keys_value_buf__i = 0; keys_value_buf__i < keys_value_buf__length; keys_value_buf__i++) {
7122                 keys_value_buf_.array[keys_value_buf__i] = static_cast<Ark_ModifierKey>(thisDeserializer.readInt32());
7123             }
7124             keys_value_buf.value = keys_value_buf_;
7125         }
7126         Opt_Array_ModifierKey keys_value = keys_value_buf;;
7127         const auto action_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7128         Opt_Callback_Void action_value_buf = {};
7129         action_value_buf.tag = action_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7130         if ((INTEROP_RUNTIME_UNDEFINED) != (action_value_buf_runtimeType))
7131         {
7132             action_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
7133         }
7134         Opt_Callback_Void action_value = action_value_buf;;
7135         GetNodeModifiers()->getCommonMethodModifier()->setKeyboardShortcut(self, (const Opt_Union_String_FunctionKey*)&value_value, (const Opt_Array_ModifierKey*)&keys_value, (const Opt_Callback_Void*)&action_value);
7136 }
KOALA_INTEROP_DIRECT_V3(CommonMethod_keyboardShortcut,Ark_NativePointer,KSerializerBuffer,int32_t)7137 KOALA_INTEROP_DIRECT_V3(CommonMethod_keyboardShortcut, Ark_NativePointer, KSerializerBuffer, int32_t)
7138 Ark_NativePointer impl_CommonShapeMethod_construct(Ark_Int32 id, Ark_Int32 flags) {
7139         return GetNodeModifiers()->getCommonShapeMethodModifier()->construct(id, flags);
7140 }
KOALA_INTEROP_DIRECT_2(CommonShapeMethod_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)7141 KOALA_INTEROP_DIRECT_2(CommonShapeMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
7142 void impl_CommonShapeMethod_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7143         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7144         Deserializer thisDeserializer(thisArray, thisLength);
7145         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7146         Opt_ResourceColor value_value_buf = {};
7147         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7148         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7149         {
7150             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7151             Ark_ResourceColor value_value_buf_ = {};
7152             value_value_buf_.selector = value_value_buf__selector;
7153             if (value_value_buf__selector == 0) {
7154                 value_value_buf_.selector = 0;
7155                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
7156             }
7157             else if (value_value_buf__selector == 1) {
7158                 value_value_buf_.selector = 1;
7159                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7160             }
7161             else if (value_value_buf__selector == 2) {
7162                 value_value_buf_.selector = 2;
7163                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
7164             }
7165             else if (value_value_buf__selector == 3) {
7166                 value_value_buf_.selector = 3;
7167                 value_value_buf_.value3 = thisDeserializer.readResource();
7168             }
7169             else {
7170                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7171             }
7172             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
7173         }
7174         Opt_ResourceColor value_value = value_value_buf;;
7175         GetNodeModifiers()->getCommonShapeMethodModifier()->setStroke(self, (const Opt_ResourceColor*)&value_value);
7176 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_stroke,Ark_NativePointer,KSerializerBuffer,int32_t)7177 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_stroke, Ark_NativePointer, KSerializerBuffer, int32_t)
7178 void impl_CommonShapeMethod_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7179         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7180         Deserializer thisDeserializer(thisArray, thisLength);
7181         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7182         Opt_ResourceColor value_value_buf = {};
7183         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7184         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7185         {
7186             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7187             Ark_ResourceColor value_value_buf_ = {};
7188             value_value_buf_.selector = value_value_buf__selector;
7189             if (value_value_buf__selector == 0) {
7190                 value_value_buf_.selector = 0;
7191                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
7192             }
7193             else if (value_value_buf__selector == 1) {
7194                 value_value_buf_.selector = 1;
7195                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7196             }
7197             else if (value_value_buf__selector == 2) {
7198                 value_value_buf_.selector = 2;
7199                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
7200             }
7201             else if (value_value_buf__selector == 3) {
7202                 value_value_buf_.selector = 3;
7203                 value_value_buf_.value3 = thisDeserializer.readResource();
7204             }
7205             else {
7206                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7207             }
7208             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
7209         }
7210         Opt_ResourceColor value_value = value_value_buf;;
7211         GetNodeModifiers()->getCommonShapeMethodModifier()->setFill(self, (const Opt_ResourceColor*)&value_value);
7212 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_fill,Ark_NativePointer,KSerializerBuffer,int32_t)7213 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_fill, Ark_NativePointer, KSerializerBuffer, int32_t)
7214 void impl_CommonShapeMethod_strokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7215         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7216         Deserializer thisDeserializer(thisArray, thisLength);
7217         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7218         Opt_Union_Number_String value_value_buf = {};
7219         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7220         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7221         {
7222             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7223             Ark_Union_Number_String value_value_buf_ = {};
7224             value_value_buf_.selector = value_value_buf__selector;
7225             if (value_value_buf__selector == 0) {
7226                 value_value_buf_.selector = 0;
7227                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7228             }
7229             else if (value_value_buf__selector == 1) {
7230                 value_value_buf_.selector = 1;
7231                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
7232             }
7233             else {
7234                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7235             }
7236             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
7237         }
7238         Opt_Union_Number_String value_value = value_value_buf;;
7239         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashOffset(self, (const Opt_Union_Number_String*)&value_value);
7240 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeDashOffset,Ark_NativePointer,KSerializerBuffer,int32_t)7241 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeDashOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
7242 void impl_CommonShapeMethod_strokeLineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7243         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7244         Deserializer thisDeserializer(thisArray, thisLength);
7245         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7246         Opt_LineCapStyle value_value_buf = {};
7247         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7248         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7249         {
7250             value_value_buf.value = static_cast<Ark_LineCapStyle>(thisDeserializer.readInt32());
7251         }
7252         Opt_LineCapStyle value_value = value_value_buf;;
7253         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineCap(self, (const Opt_LineCapStyle*)&value_value);
7254 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeLineCap,Ark_NativePointer,KSerializerBuffer,int32_t)7255 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeLineCap, Ark_NativePointer, KSerializerBuffer, int32_t)
7256 void impl_CommonShapeMethod_strokeLineJoin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7257         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7258         Deserializer thisDeserializer(thisArray, thisLength);
7259         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7260         Opt_LineJoinStyle value_value_buf = {};
7261         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7262         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7263         {
7264             value_value_buf.value = static_cast<Ark_LineJoinStyle>(thisDeserializer.readInt32());
7265         }
7266         Opt_LineJoinStyle value_value = value_value_buf;;
7267         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineJoin(self, (const Opt_LineJoinStyle*)&value_value);
7268 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeLineJoin,Ark_NativePointer,KSerializerBuffer,int32_t)7269 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeLineJoin, Ark_NativePointer, KSerializerBuffer, int32_t)
7270 void impl_CommonShapeMethod_strokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7271         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7272         Deserializer thisDeserializer(thisArray, thisLength);
7273         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7274         Opt_Union_Number_String value_value_buf = {};
7275         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7276         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7277         {
7278             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7279             Ark_Union_Number_String value_value_buf_ = {};
7280             value_value_buf_.selector = value_value_buf__selector;
7281             if (value_value_buf__selector == 0) {
7282                 value_value_buf_.selector = 0;
7283                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7284             }
7285             else if (value_value_buf__selector == 1) {
7286                 value_value_buf_.selector = 1;
7287                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
7288             }
7289             else {
7290                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7291             }
7292             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
7293         }
7294         Opt_Union_Number_String value_value = value_value_buf;;
7295         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeMiterLimit(self, (const Opt_Union_Number_String*)&value_value);
7296 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeMiterLimit,Ark_NativePointer,KSerializerBuffer,int32_t)7297 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeMiterLimit, Ark_NativePointer, KSerializerBuffer, int32_t)
7298 void impl_CommonShapeMethod_strokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7299         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7300         Deserializer thisDeserializer(thisArray, thisLength);
7301         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7302         Opt_Union_Number_String_Resource value_value_buf = {};
7303         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7304         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7305         {
7306             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7307             Ark_Union_Number_String_Resource value_value_buf_ = {};
7308             value_value_buf_.selector = value_value_buf__selector;
7309             if (value_value_buf__selector == 0) {
7310                 value_value_buf_.selector = 0;
7311                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7312             }
7313             else if (value_value_buf__selector == 1) {
7314                 value_value_buf_.selector = 1;
7315                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
7316             }
7317             else if (value_value_buf__selector == 2) {
7318                 value_value_buf_.selector = 2;
7319                 value_value_buf_.value2 = thisDeserializer.readResource();
7320             }
7321             else {
7322                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7323             }
7324             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
7325         }
7326         Opt_Union_Number_String_Resource value_value = value_value_buf;;
7327         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeOpacity(self, (const Opt_Union_Number_String_Resource*)&value_value);
7328 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeOpacity,Ark_NativePointer,KSerializerBuffer,int32_t)7329 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeOpacity, Ark_NativePointer, KSerializerBuffer, int32_t)
7330 void impl_CommonShapeMethod_fillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7331         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7332         Deserializer thisDeserializer(thisArray, thisLength);
7333         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7334         Opt_Union_Number_String_Resource value_value_buf = {};
7335         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7336         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7337         {
7338             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7339             Ark_Union_Number_String_Resource value_value_buf_ = {};
7340             value_value_buf_.selector = value_value_buf__selector;
7341             if (value_value_buf__selector == 0) {
7342                 value_value_buf_.selector = 0;
7343                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7344             }
7345             else if (value_value_buf__selector == 1) {
7346                 value_value_buf_.selector = 1;
7347                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
7348             }
7349             else if (value_value_buf__selector == 2) {
7350                 value_value_buf_.selector = 2;
7351                 value_value_buf_.value2 = thisDeserializer.readResource();
7352             }
7353             else {
7354                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7355             }
7356             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
7357         }
7358         Opt_Union_Number_String_Resource value_value = value_value_buf;;
7359         GetNodeModifiers()->getCommonShapeMethodModifier()->setFillOpacity(self, (const Opt_Union_Number_String_Resource*)&value_value);
7360 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_fillOpacity,Ark_NativePointer,KSerializerBuffer,int32_t)7361 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_fillOpacity, Ark_NativePointer, KSerializerBuffer, int32_t)
7362 void impl_CommonShapeMethod_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7363         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7364         Deserializer thisDeserializer(thisArray, thisLength);
7365         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7366         Opt_Length value_value_buf = {};
7367         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7368         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7369         {
7370             value_value_buf.value = thisDeserializer.readLength();
7371         }
7372         Opt_Length value_value = value_value_buf;;
7373         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeWidth(self, (const Opt_Length*)&value_value);
7374 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)7375 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
7376 void impl_CommonShapeMethod_antiAlias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7377         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7378         Deserializer thisDeserializer(thisArray, thisLength);
7379         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7380         Opt_Boolean value_value_buf = {};
7381         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7382         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7383         {
7384             value_value_buf.value = thisDeserializer.readBoolean();
7385         }
7386         Opt_Boolean value_value = value_value_buf;;
7387         GetNodeModifiers()->getCommonShapeMethodModifier()->setAntiAlias(self, (const Opt_Boolean*)&value_value);
7388 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_antiAlias,Ark_NativePointer,KSerializerBuffer,int32_t)7389 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_antiAlias, Ark_NativePointer, KSerializerBuffer, int32_t)
7390 void impl_CommonShapeMethod_strokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7391         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7392         Deserializer thisDeserializer(thisArray, thisLength);
7393         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7394         Opt_Array_Length value_value_buf = {};
7395         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7396         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7397         {
7398             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
7399             Array_Length value_value_buf_ = {};
7400             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
7401         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
7402             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
7403                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readLength();
7404             }
7405             value_value_buf.value = value_value_buf_;
7406         }
7407         Opt_Array_Length value_value = value_value_buf;;
7408         GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, (const Opt_Array_Length*)&value_value);
7409 }
KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeDashArray,Ark_NativePointer,KSerializerBuffer,int32_t)7410 KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeDashArray, Ark_NativePointer, KSerializerBuffer, int32_t)
7411 Ark_NativePointer impl_ScrollableCommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) {
7412         return GetNodeModifiers()->getScrollableCommonMethodModifier()->construct(id, flags);
7413 }
KOALA_INTEROP_DIRECT_2(ScrollableCommonMethod_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)7414 KOALA_INTEROP_DIRECT_2(ScrollableCommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
7415 void impl_ScrollableCommonMethod_scrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7416         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7417         Deserializer thisDeserializer(thisArray, thisLength);
7418         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7419         Opt_BarState value_value_buf = {};
7420         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7421         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7422         {
7423             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
7424         }
7425         Opt_BarState value_value = value_value_buf;;
7426         GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBar(self, (const Opt_BarState*)&value_value);
7427 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBar,Ark_NativePointer,KSerializerBuffer,int32_t)7428 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBar, Ark_NativePointer, KSerializerBuffer, int32_t)
7429 void impl_ScrollableCommonMethod_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7430         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7431         Deserializer thisDeserializer(thisArray, thisLength);
7432         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7433         Opt_Union_Color_Number_String value_value_buf = {};
7434         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7435         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7436         {
7437             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7438             Ark_Union_Color_Number_String value_value_buf_ = {};
7439             value_value_buf_.selector = value_value_buf__selector;
7440             if (value_value_buf__selector == 0) {
7441                 value_value_buf_.selector = 0;
7442                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
7443             }
7444             else if (value_value_buf__selector == 1) {
7445                 value_value_buf_.selector = 1;
7446                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7447             }
7448             else if (value_value_buf__selector == 2) {
7449                 value_value_buf_.selector = 2;
7450                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
7451             }
7452             else {
7453                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7454             }
7455             value_value_buf.value = static_cast<Ark_Union_Color_Number_String>(value_value_buf_);
7456         }
7457         Opt_Union_Color_Number_String value_value = value_value_buf;;
7458         GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarColor(self, (const Opt_Union_Color_Number_String*)&value_value);
7459 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBarColor,Ark_NativePointer,KSerializerBuffer,int32_t)7460 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t)
7461 void impl_ScrollableCommonMethod_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7462         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7463         Deserializer thisDeserializer(thisArray, thisLength);
7464         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7465         Opt_Union_Number_String value_value_buf = {};
7466         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7467         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7468         {
7469             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7470             Ark_Union_Number_String value_value_buf_ = {};
7471             value_value_buf_.selector = value_value_buf__selector;
7472             if (value_value_buf__selector == 0) {
7473                 value_value_buf_.selector = 0;
7474                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7475             }
7476             else if (value_value_buf__selector == 1) {
7477                 value_value_buf_.selector = 1;
7478                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
7479             }
7480             else {
7481                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7482             }
7483             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
7484         }
7485         Opt_Union_Number_String value_value = value_value_buf;;
7486         GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarWidth(self, (const Opt_Union_Number_String*)&value_value);
7487 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBarWidth,Ark_NativePointer,KSerializerBuffer,int32_t)7488 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
7489 void impl_ScrollableCommonMethod_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7490         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7491         Deserializer thisDeserializer(thisArray, thisLength);
7492         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7493         Opt_NestedScrollOptions value_value_buf = {};
7494         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7495         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7496         {
7497             value_value_buf.value = thisDeserializer.readNestedScrollOptions();
7498         }
7499         Opt_NestedScrollOptions value_value = value_value_buf;;
7500         GetNodeModifiers()->getScrollableCommonMethodModifier()->setNestedScroll(self, (const Opt_NestedScrollOptions*)&value_value);
7501 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)7502 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
7503 void impl_ScrollableCommonMethod_enableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7504         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7505         Deserializer thisDeserializer(thisArray, thisLength);
7506         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7507         Opt_Boolean value_value_buf = {};
7508         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7509         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7510         {
7511             value_value_buf.value = thisDeserializer.readBoolean();
7512         }
7513         Opt_Boolean value_value = value_value_buf;;
7514         GetNodeModifiers()->getScrollableCommonMethodModifier()->setEnableScrollInteraction(self, (const Opt_Boolean*)&value_value);
7515 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_enableScrollInteraction,Ark_NativePointer,KSerializerBuffer,int32_t)7516 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_enableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t)
7517 void impl_ScrollableCommonMethod_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7518         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7519         Deserializer thisDeserializer(thisArray, thisLength);
7520         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7521         Opt_Union_Number_Resource value_value_buf = {};
7522         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7523         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7524         {
7525             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7526             Ark_Union_Number_Resource value_value_buf_ = {};
7527             value_value_buf_.selector = value_value_buf__selector;
7528             if (value_value_buf__selector == 0) {
7529                 value_value_buf_.selector = 0;
7530                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
7531             }
7532             else if (value_value_buf__selector == 1) {
7533                 value_value_buf_.selector = 1;
7534                 value_value_buf_.value1 = thisDeserializer.readResource();
7535             }
7536             else {
7537                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7538             }
7539             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
7540         }
7541         Opt_Union_Number_Resource value_value = value_value_buf;;
7542         GetNodeModifiers()->getScrollableCommonMethodModifier()->setFriction(self, (const Opt_Union_Number_Resource*)&value_value);
7543 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_friction,Ark_NativePointer,KSerializerBuffer,int32_t)7544 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_friction, Ark_NativePointer, KSerializerBuffer, int32_t)
7545 void impl_ScrollableCommonMethod_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7546         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7547         Deserializer thisDeserializer(thisArray, thisLength);
7548         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7549         Opt_Callback_Number_Number_Void value_value_buf = {};
7550         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7551         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7552         {
7553             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
7554         }
7555         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
7556         GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScroll(self, (const Opt_Callback_Number_Number_Void*)&value_value);
7557 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScroll,Ark_NativePointer,KSerializerBuffer,int32_t)7558 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
7559 void impl_ScrollableCommonMethod_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7560         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7561         Deserializer thisDeserializer(thisArray, thisLength);
7562         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7563         Opt_Callback_Void value_value_buf = {};
7564         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7565         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7566         {
7567             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
7568         }
7569         Opt_Callback_Void value_value = value_value_buf;;
7570         GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachStart(self, (const Opt_Callback_Void*)&value_value);
7571 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onReachStart,Ark_NativePointer,KSerializerBuffer,int32_t)7572 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t)
7573 void impl_ScrollableCommonMethod_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7574         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7575         Deserializer thisDeserializer(thisArray, thisLength);
7576         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7577         Opt_Callback_Void value_value_buf = {};
7578         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7579         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7580         {
7581             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
7582         }
7583         Opt_Callback_Void value_value = value_value_buf;;
7584         GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachEnd(self, (const Opt_Callback_Void*)&value_value);
7585 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onReachEnd,Ark_NativePointer,KSerializerBuffer,int32_t)7586 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
7587 void impl_ScrollableCommonMethod_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7588         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7589         Deserializer thisDeserializer(thisArray, thisLength);
7590         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7591         Opt_Callback_Void value_value_buf = {};
7592         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7593         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7594         {
7595             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
7596         }
7597         Opt_Callback_Void value_value = value_value_buf;;
7598         GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStart(self, (const Opt_Callback_Void*)&value_value);
7599 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScrollStart,Ark_NativePointer,KSerializerBuffer,int32_t)7600 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t)
7601 void impl_ScrollableCommonMethod_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7602         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7603         Deserializer thisDeserializer(thisArray, thisLength);
7604         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7605         Opt_Callback_Void value_value_buf = {};
7606         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7607         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7608         {
7609             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
7610         }
7611         Opt_Callback_Void value_value = value_value_buf;;
7612         GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStop(self, (const Opt_Callback_Void*)&value_value);
7613 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScrollStop,Ark_NativePointer,KSerializerBuffer,int32_t)7614 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t)
7615 void impl_ScrollableCommonMethod_flingSpeedLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7616         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7617         Deserializer thisDeserializer(thisArray, thisLength);
7618         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7619         Opt_Number value_value_buf = {};
7620         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7621         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7622         {
7623             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
7624         }
7625         Opt_Number value_value = value_value_buf;;
7626         GetNodeModifiers()->getScrollableCommonMethodModifier()->setFlingSpeedLimit(self, (const Opt_Number*)&value_value);
7627 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_flingSpeedLimit,Ark_NativePointer,KSerializerBuffer,int32_t)7628 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_flingSpeedLimit, Ark_NativePointer, KSerializerBuffer, int32_t)
7629 void impl_ScrollableCommonMethod_clipContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7630         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7631         Deserializer thisDeserializer(thisArray, thisLength);
7632         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7633         Opt_Union_ContentClipMode_RectShape value_value_buf = {};
7634         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7635         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7636         {
7637             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7638             Ark_Union_ContentClipMode_RectShape value_value_buf_ = {};
7639             value_value_buf_.selector = value_value_buf__selector;
7640             if (value_value_buf__selector == 0) {
7641                 value_value_buf_.selector = 0;
7642                 value_value_buf_.value0 = static_cast<Ark_ContentClipMode>(thisDeserializer.readInt32());
7643             }
7644             else if (value_value_buf__selector == 1) {
7645                 value_value_buf_.selector = 1;
7646                 value_value_buf_.value1 = static_cast<Ark_RectShape>(thisDeserializer.readRectShape());
7647             }
7648             else {
7649                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7650             }
7651             value_value_buf.value = static_cast<Ark_Union_ContentClipMode_RectShape>(value_value_buf_);
7652         }
7653         Opt_Union_ContentClipMode_RectShape value_value = value_value_buf;;
7654         GetNodeModifiers()->getScrollableCommonMethodModifier()->setClipContent(self, (const Opt_Union_ContentClipMode_RectShape*)&value_value);
7655 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_clipContent,Ark_NativePointer,KSerializerBuffer,int32_t)7656 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_clipContent, Ark_NativePointer, KSerializerBuffer, int32_t)
7657 void impl_ScrollableCommonMethod_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7658         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7659         Deserializer thisDeserializer(thisArray, thisLength);
7660         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7661         Opt_CrownSensitivity value_value_buf = {};
7662         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7663         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7664         {
7665             value_value_buf.value = static_cast<Ark_CrownSensitivity>(thisDeserializer.readInt32());
7666         }
7667         Opt_CrownSensitivity value_value = value_value_buf;;
7668         GetNodeModifiers()->getScrollableCommonMethodModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value);
7669 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_digitalCrownSensitivity,Ark_NativePointer,KSerializerBuffer,int32_t)7670 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t)
7671 void impl_ScrollableCommonMethod_backToTop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7672         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7673         Deserializer thisDeserializer(thisArray, thisLength);
7674         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7675         Opt_Boolean value_value_buf = {};
7676         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7677         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7678         {
7679             value_value_buf.value = thisDeserializer.readBoolean();
7680         }
7681         Opt_Boolean value_value = value_value_buf;;
7682         GetNodeModifiers()->getScrollableCommonMethodModifier()->setBackToTop(self, (const Opt_Boolean*)&value_value);
7683 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_backToTop,Ark_NativePointer,KSerializerBuffer,int32_t)7684 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_backToTop, Ark_NativePointer, KSerializerBuffer, int32_t)
7685 void impl_ScrollableCommonMethod_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7686         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7687         Deserializer thisDeserializer(thisArray, thisLength);
7688         const auto edgeEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7689         Opt_EdgeEffect edgeEffect_value_buf = {};
7690         edgeEffect_value_buf.tag = edgeEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7691         if ((INTEROP_RUNTIME_UNDEFINED) != (edgeEffect_value_buf_runtimeType))
7692         {
7693             edgeEffect_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
7694         }
7695         Opt_EdgeEffect edgeEffect_value = edgeEffect_value_buf;;
7696         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7697         Opt_EdgeEffectOptions options_value_buf = {};
7698         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7699         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
7700         {
7701             options_value_buf.value = thisDeserializer.readEdgeEffectOptions();
7702         }
7703         Opt_EdgeEffectOptions options_value = options_value_buf;;
7704         GetNodeModifiers()->getScrollableCommonMethodModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&edgeEffect_value, (const Opt_EdgeEffectOptions*)&options_value);
7705 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_edgeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)7706 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
7707 void impl_ScrollableCommonMethod_fadingEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7708         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7709         Deserializer thisDeserializer(thisArray, thisLength);
7710         const auto enabled_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7711         Opt_Boolean enabled_value_buf = {};
7712         enabled_value_buf.tag = enabled_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7713         if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_value_buf_runtimeType))
7714         {
7715             enabled_value_buf.value = thisDeserializer.readBoolean();
7716         }
7717         Opt_Boolean enabled_value = enabled_value_buf;;
7718         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7719         Opt_FadingEdgeOptions options_value_buf = {};
7720         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7721         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
7722         {
7723             options_value_buf.value = thisDeserializer.readFadingEdgeOptions();
7724         }
7725         Opt_FadingEdgeOptions options_value = options_value_buf;;
7726         GetNodeModifiers()->getScrollableCommonMethodModifier()->setFadingEdge(self, (const Opt_Boolean*)&enabled_value, (const Opt_FadingEdgeOptions*)&options_value);
7727 }
KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_fadingEdge,Ark_NativePointer,KSerializerBuffer,int32_t)7728 KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_fadingEdge, Ark_NativePointer, KSerializerBuffer, int32_t)
7729 Ark_NativePointer impl_Navigation_construct(Ark_Int32 id, Ark_Int32 flags) {
7730         return GetNodeModifiers()->getNavigationModifier()->construct(id, flags);
7731 }
KOALA_INTEROP_DIRECT_2(Navigation_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)7732 KOALA_INTEROP_DIRECT_2(Navigation_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
7733 void impl_NavigationInterface_setNavigationOptions0(Ark_NativePointer thisPtr) {
7734         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7735         GetNodeModifiers()->getNavigationModifier()->setNavigationOptions0(self);
7736 }
KOALA_INTEROP_DIRECT_V1(NavigationInterface_setNavigationOptions0,Ark_NativePointer)7737 KOALA_INTEROP_DIRECT_V1(NavigationInterface_setNavigationOptions0, Ark_NativePointer)
7738 void impl_NavigationInterface_setNavigationOptions1(Ark_NativePointer thisPtr, Ark_NativePointer pathInfos) {
7739         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7740         GetNodeModifiers()->getNavigationModifier()->setNavigationOptions1(self, static_cast<Ark_NavPathStack>(pathInfos));
7741 }
KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions1,Ark_NativePointer,Ark_NativePointer)7742 KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions1, Ark_NativePointer, Ark_NativePointer)
7743 void impl_NavigationAttribute_navBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7744         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7745         Deserializer thisDeserializer(thisArray, thisLength);
7746         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7747         Opt_Length value_value_buf = {};
7748         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7749         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7750         {
7751             value_value_buf.value = thisDeserializer.readLength();
7752         }
7753         Opt_Length value_value = value_value_buf;;
7754         GetNodeModifiers()->getNavigationModifier()->setNavBarWidth(self, (const Opt_Length*)&value_value);
7755 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidth,Ark_NativePointer,KSerializerBuffer,int32_t)7756 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
7757 void impl_NavigationAttribute_navBarPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7758         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7759         Deserializer thisDeserializer(thisArray, thisLength);
7760         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7761         Opt_NavBarPosition value_value_buf = {};
7762         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7763         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7764         {
7765             value_value_buf.value = static_cast<Ark_NavBarPosition>(thisDeserializer.readInt32());
7766         }
7767         Opt_NavBarPosition value_value = value_value_buf;;
7768         GetNodeModifiers()->getNavigationModifier()->setNavBarPosition(self, (const Opt_NavBarPosition*)&value_value);
7769 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarPosition,Ark_NativePointer,KSerializerBuffer,int32_t)7770 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
7771 void impl_NavigationAttribute_navBarWidthRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7772         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7773         Deserializer thisDeserializer(thisArray, thisLength);
7774         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7775         Opt_Tuple_Dimension_Dimension value_value_buf = {};
7776         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7777         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7778         {
7779             Ark_Tuple_Dimension_Dimension value_value_buf_ = {};
7780             value_value_buf_.value0 = thisDeserializer.readLength();
7781             value_value_buf_.value1 = thisDeserializer.readLength();
7782             value_value_buf.value = value_value_buf_;
7783         }
7784         Opt_Tuple_Dimension_Dimension value_value = value_value_buf;;
7785         GetNodeModifiers()->getNavigationModifier()->setNavBarWidthRange(self, (const Opt_Tuple_Dimension_Dimension*)&value_value);
7786 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidthRange,Ark_NativePointer,KSerializerBuffer,int32_t)7787 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidthRange, Ark_NativePointer, KSerializerBuffer, int32_t)
7788 void impl_NavigationAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7789         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7790         Deserializer thisDeserializer(thisArray, thisLength);
7791         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7792         Opt_Length value_value_buf = {};
7793         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7794         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7795         {
7796             value_value_buf.value = thisDeserializer.readLength();
7797         }
7798         Opt_Length value_value = value_value_buf;;
7799         GetNodeModifiers()->getNavigationModifier()->setMinContentWidth(self, (const Opt_Length*)&value_value);
7800 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_minContentWidth,Ark_NativePointer,KSerializerBuffer,int32_t)7801 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
7802 void impl_NavigationAttribute_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7803         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7804         Deserializer thisDeserializer(thisArray, thisLength);
7805         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7806         Opt_NavigationMode value_value_buf = {};
7807         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7808         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7809         {
7810             value_value_buf.value = static_cast<Ark_NavigationMode>(thisDeserializer.readInt32());
7811         }
7812         Opt_NavigationMode value_value = value_value_buf;;
7813         GetNodeModifiers()->getNavigationModifier()->setMode(self, (const Opt_NavigationMode*)&value_value);
7814 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_mode,Ark_NativePointer,KSerializerBuffer,int32_t)7815 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_mode, Ark_NativePointer, KSerializerBuffer, int32_t)
7816 void impl_NavigationAttribute_backButtonIcon0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7817         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7818         Deserializer thisDeserializer(thisArray, thisLength);
7819         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7820         Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value_buf = {};
7821         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7822         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7823         {
7824             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
7825             Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value_buf_ = {};
7826             value_value_buf_.selector = value_value_buf__selector;
7827             if (value_value_buf__selector == 0) {
7828                 value_value_buf_.selector = 0;
7829                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
7830             }
7831             else if (value_value_buf__selector == 1) {
7832                 value_value_buf_.selector = 1;
7833                 value_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
7834             }
7835             else if (value_value_buf__selector == 2) {
7836                 value_value_buf_.selector = 2;
7837                 value_value_buf_.value2 = thisDeserializer.readResource();
7838             }
7839             else if (value_value_buf__selector == 3) {
7840                 value_value_buf_.selector = 3;
7841                 value_value_buf_.value3 = thisDeserializer.readSymbolGlyphModifier();
7842             }
7843             else {
7844                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
7845             }
7846             value_value_buf.value = static_cast<Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier>(value_value_buf_);
7847         }
7848         Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value = value_value_buf;;
7849         GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon0(self, (const Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier*)&value_value);
7850 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon0,Ark_NativePointer,KSerializerBuffer,int32_t)7851 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon0, Ark_NativePointer, KSerializerBuffer, int32_t)
7852 void impl_NavigationAttribute_backButtonIcon1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7853         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7854         Deserializer thisDeserializer(thisArray, thisLength);
7855         const auto icon_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7856         Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier icon_value_buf = {};
7857         icon_value_buf.tag = icon_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7858         if ((INTEROP_RUNTIME_UNDEFINED) != (icon_value_buf_runtimeType))
7859         {
7860             const Ark_Int8 icon_value_buf__selector = thisDeserializer.readInt8();
7861             Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier icon_value_buf_ = {};
7862             icon_value_buf_.selector = icon_value_buf__selector;
7863             if (icon_value_buf__selector == 0) {
7864                 icon_value_buf_.selector = 0;
7865                 icon_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
7866             }
7867             else if (icon_value_buf__selector == 1) {
7868                 icon_value_buf_.selector = 1;
7869                 icon_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
7870             }
7871             else if (icon_value_buf__selector == 2) {
7872                 icon_value_buf_.selector = 2;
7873                 icon_value_buf_.value2 = thisDeserializer.readResource();
7874             }
7875             else if (icon_value_buf__selector == 3) {
7876                 icon_value_buf_.selector = 3;
7877                 icon_value_buf_.value3 = thisDeserializer.readSymbolGlyphModifier();
7878             }
7879             else {
7880                 INTEROP_FATAL("One of the branches for icon_value_buf_ has to be chosen through deserialisation.");
7881             }
7882             icon_value_buf.value = static_cast<Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier>(icon_value_buf_);
7883         }
7884         Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier icon_value = icon_value_buf;;
7885         const auto accessibilityText_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7886         Opt_ResourceStr accessibilityText_value_buf = {};
7887         accessibilityText_value_buf.tag = accessibilityText_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7888         if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityText_value_buf_runtimeType))
7889         {
7890             const Ark_Int8 accessibilityText_value_buf__selector = thisDeserializer.readInt8();
7891             Ark_ResourceStr accessibilityText_value_buf_ = {};
7892             accessibilityText_value_buf_.selector = accessibilityText_value_buf__selector;
7893             if (accessibilityText_value_buf__selector == 0) {
7894                 accessibilityText_value_buf_.selector = 0;
7895                 accessibilityText_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
7896             }
7897             else if (accessibilityText_value_buf__selector == 1) {
7898                 accessibilityText_value_buf_.selector = 1;
7899                 accessibilityText_value_buf_.value1 = thisDeserializer.readResource();
7900             }
7901             else {
7902                 INTEROP_FATAL("One of the branches for accessibilityText_value_buf_ has to be chosen through deserialisation.");
7903             }
7904             accessibilityText_value_buf.value = static_cast<Ark_ResourceStr>(accessibilityText_value_buf_);
7905         }
7906         Opt_ResourceStr accessibilityText_value = accessibilityText_value_buf;;
7907         GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon1(self, (const Opt_Union_String_PixelMap_Resource_SymbolGlyphModifier*)&icon_value, (const Opt_ResourceStr*)&accessibilityText_value);
7908 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon1,Ark_NativePointer,KSerializerBuffer,int32_t)7909 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon1, Ark_NativePointer, KSerializerBuffer, int32_t)
7910 void impl_NavigationAttribute_hideNavBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7911         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7912         Deserializer thisDeserializer(thisArray, thisLength);
7913         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7914         Opt_Boolean value_value_buf = {};
7915         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7916         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7917         {
7918             value_value_buf.value = thisDeserializer.readBoolean();
7919         }
7920         Opt_Boolean value_value = value_value_buf;;
7921         GetNodeModifiers()->getNavigationModifier()->setHideNavBar(self, (const Opt_Boolean*)&value_value);
7922 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideNavBar,Ark_NativePointer,KSerializerBuffer,int32_t)7923 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideNavBar, Ark_NativePointer, KSerializerBuffer, int32_t)
7924 void impl_NavigationAttribute_subTitle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7925         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7926         Deserializer thisDeserializer(thisArray, thisLength);
7927         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7928         Opt_String value_value_buf = {};
7929         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7930         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7931         {
7932             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
7933         }
7934         Opt_String value_value = value_value_buf;;
7935         GetNodeModifiers()->getNavigationModifier()->setSubTitle(self, (const Opt_String*)&value_value);
7936 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_subTitle,Ark_NativePointer,KSerializerBuffer,int32_t)7937 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_subTitle, Ark_NativePointer, KSerializerBuffer, int32_t)
7938 void impl_NavigationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7939         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7940         Deserializer thisDeserializer(thisArray, thisLength);
7941         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7942         Opt_Boolean value_value_buf = {};
7943         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7944         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7945         {
7946             value_value_buf.value = thisDeserializer.readBoolean();
7947         }
7948         Opt_Boolean value_value = value_value_buf;;
7949         GetNodeModifiers()->getNavigationModifier()->setHideTitleBar0(self, (const Opt_Boolean*)&value_value);
7950 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar0,Ark_NativePointer,KSerializerBuffer,int32_t)7951 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar0, Ark_NativePointer, KSerializerBuffer, int32_t)
7952 void impl_NavigationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7953         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7954         Deserializer thisDeserializer(thisArray, thisLength);
7955         const auto hide_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7956         Opt_Boolean hide_value_buf = {};
7957         hide_value_buf.tag = hide_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7958         if ((INTEROP_RUNTIME_UNDEFINED) != (hide_value_buf_runtimeType))
7959         {
7960             hide_value_buf.value = thisDeserializer.readBoolean();
7961         }
7962         Opt_Boolean hide_value = hide_value_buf;;
7963         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7964         Opt_Boolean animated_value_buf = {};
7965         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7966         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
7967         {
7968             animated_value_buf.value = thisDeserializer.readBoolean();
7969         }
7970         Opt_Boolean animated_value = animated_value_buf;;
7971         GetNodeModifiers()->getNavigationModifier()->setHideTitleBar1(self, (const Opt_Boolean*)&hide_value, (const Opt_Boolean*)&animated_value);
7972 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar1,Ark_NativePointer,KSerializerBuffer,int32_t)7973 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar1, Ark_NativePointer, KSerializerBuffer, int32_t)
7974 void impl_NavigationAttribute_hideBackButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7975         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7976         Deserializer thisDeserializer(thisArray, thisLength);
7977         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7978         Opt_Boolean value_value_buf = {};
7979         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7980         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7981         {
7982             value_value_buf.value = thisDeserializer.readBoolean();
7983         }
7984         Opt_Boolean value_value = value_value_buf;;
7985         GetNodeModifiers()->getNavigationModifier()->setHideBackButton(self, (const Opt_Boolean*)&value_value);
7986 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideBackButton,Ark_NativePointer,KSerializerBuffer,int32_t)7987 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideBackButton, Ark_NativePointer, KSerializerBuffer, int32_t)
7988 void impl_NavigationAttribute_titleMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
7989         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
7990         Deserializer thisDeserializer(thisArray, thisLength);
7991         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
7992         Opt_NavigationTitleMode value_value_buf = {};
7993         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
7994         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
7995         {
7996             value_value_buf.value = static_cast<Ark_NavigationTitleMode>(thisDeserializer.readInt32());
7997         }
7998         Opt_NavigationTitleMode value_value = value_value_buf;;
7999         GetNodeModifiers()->getNavigationModifier()->setTitleMode(self, (const Opt_NavigationTitleMode*)&value_value);
8000 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_titleMode,Ark_NativePointer,KSerializerBuffer,int32_t)8001 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_titleMode, Ark_NativePointer, KSerializerBuffer, int32_t)
8002 void impl_NavigationAttribute_menus0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8003         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8004         Deserializer thisDeserializer(thisArray, thisLength);
8005         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8006         Opt_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {};
8007         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8008         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8009         {
8010             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8011             Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf_ = {};
8012             value_value_buf_.selector = value_value_buf__selector;
8013             if (value_value_buf__selector == 0) {
8014                 value_value_buf_.selector = 0;
8015                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
8016                 Array_NavigationMenuItem value_value_buf__u = {};
8017                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
8018         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
8019                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
8020                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readNavigationMenuItem();
8021                 }
8022                 value_value_buf_.value0 = value_value_buf__u;
8023             }
8024             else if (value_value_buf__selector == 1) {
8025                 value_value_buf_.selector = 1;
8026                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
8027             }
8028             else {
8029                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8030             }
8031             value_value_buf.value = static_cast<Ark_Union_Array_NavigationMenuItem_CustomBuilder>(value_value_buf_);
8032         }
8033         Opt_Union_Array_NavigationMenuItem_CustomBuilder value_value = value_value_buf;;
8034         GetNodeModifiers()->getNavigationModifier()->setMenus0(self, (const Opt_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value);
8035 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus0,Ark_NativePointer,KSerializerBuffer,int32_t)8036 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus0, Ark_NativePointer, KSerializerBuffer, int32_t)
8037 void impl_NavigationAttribute_menus1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8038         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8039         Deserializer thisDeserializer(thisArray, thisLength);
8040         const auto items_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8041         Opt_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf = {};
8042         items_value_buf.tag = items_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8043         if ((INTEROP_RUNTIME_UNDEFINED) != (items_value_buf_runtimeType))
8044         {
8045             const Ark_Int8 items_value_buf__selector = thisDeserializer.readInt8();
8046             Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf_ = {};
8047             items_value_buf_.selector = items_value_buf__selector;
8048             if (items_value_buf__selector == 0) {
8049                 items_value_buf_.selector = 0;
8050                 const Ark_Int32 items_value_buf__u_length = thisDeserializer.readInt32();
8051                 Array_NavigationMenuItem items_value_buf__u = {};
8052                 thisDeserializer.resizeArray<std::decay<decltype(items_value_buf__u)>::type,
8053         std::decay<decltype(*items_value_buf__u.array)>::type>(&items_value_buf__u, items_value_buf__u_length);
8054                 for (int items_value_buf__u_i = 0; items_value_buf__u_i < items_value_buf__u_length; items_value_buf__u_i++) {
8055                     items_value_buf__u.array[items_value_buf__u_i] = thisDeserializer.readNavigationMenuItem();
8056                 }
8057                 items_value_buf_.value0 = items_value_buf__u;
8058             }
8059             else if (items_value_buf__selector == 1) {
8060                 items_value_buf_.selector = 1;
8061                 items_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
8062             }
8063             else {
8064                 INTEROP_FATAL("One of the branches for items_value_buf_ has to be chosen through deserialisation.");
8065             }
8066             items_value_buf.value = static_cast<Ark_Union_Array_NavigationMenuItem_CustomBuilder>(items_value_buf_);
8067         }
8068         Opt_Union_Array_NavigationMenuItem_CustomBuilder items_value = items_value_buf;;
8069         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8070         Opt_NavigationMenuOptions options_value_buf = {};
8071         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8072         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
8073         {
8074             options_value_buf.value = thisDeserializer.readNavigationMenuOptions();
8075         }
8076         Opt_NavigationMenuOptions options_value = options_value_buf;;
8077         GetNodeModifiers()->getNavigationModifier()->setMenus1(self, (const Opt_Union_Array_NavigationMenuItem_CustomBuilder*)&items_value, (const Opt_NavigationMenuOptions*)&options_value);
8078 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus1,Ark_NativePointer,KSerializerBuffer,int32_t)8079 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus1, Ark_NativePointer, KSerializerBuffer, int32_t)
8080 void impl_NavigationAttribute_toolBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8081         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8082         Deserializer thisDeserializer(thisArray, thisLength);
8083         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8084         Opt_CustomNodeBuilder value_value_buf = {};
8085         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8086         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8087         {
8088             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
8089         }
8090         Opt_CustomNodeBuilder value_value = value_value_buf;;
8091         GetNodeModifiers()->getNavigationModifier()->setToolBar(self, (const Opt_CustomNodeBuilder*)&value_value);
8092 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolBar,Ark_NativePointer,KSerializerBuffer,int32_t)8093 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolBar, Ark_NativePointer, KSerializerBuffer, int32_t)
8094 void impl_NavigationAttribute_hideToolBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8095         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8096         Deserializer thisDeserializer(thisArray, thisLength);
8097         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8098         Opt_Boolean value_value_buf = {};
8099         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8100         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8101         {
8102             value_value_buf.value = thisDeserializer.readBoolean();
8103         }
8104         Opt_Boolean value_value = value_value_buf;;
8105         GetNodeModifiers()->getNavigationModifier()->setHideToolBar0(self, (const Opt_Boolean*)&value_value);
8106 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar0,Ark_NativePointer,KSerializerBuffer,int32_t)8107 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar0, Ark_NativePointer, KSerializerBuffer, int32_t)
8108 void impl_NavigationAttribute_hideToolBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8109         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8110         Deserializer thisDeserializer(thisArray, thisLength);
8111         const auto hide_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8112         Opt_Boolean hide_value_buf = {};
8113         hide_value_buf.tag = hide_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8114         if ((INTEROP_RUNTIME_UNDEFINED) != (hide_value_buf_runtimeType))
8115         {
8116             hide_value_buf.value = thisDeserializer.readBoolean();
8117         }
8118         Opt_Boolean hide_value = hide_value_buf;;
8119         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8120         Opt_Boolean animated_value_buf = {};
8121         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8122         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
8123         {
8124             animated_value_buf.value = thisDeserializer.readBoolean();
8125         }
8126         Opt_Boolean animated_value = animated_value_buf;;
8127         GetNodeModifiers()->getNavigationModifier()->setHideToolBar1(self, (const Opt_Boolean*)&hide_value, (const Opt_Boolean*)&animated_value);
8128 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar1,Ark_NativePointer,KSerializerBuffer,int32_t)8129 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar1, Ark_NativePointer, KSerializerBuffer, int32_t)
8130 void impl_NavigationAttribute_enableToolBarAdaptation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8131         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8132         Deserializer thisDeserializer(thisArray, thisLength);
8133         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8134         Opt_Boolean value_value_buf = {};
8135         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8136         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8137         {
8138             value_value_buf.value = thisDeserializer.readBoolean();
8139         }
8140         Opt_Boolean value_value = value_value_buf;;
8141         GetNodeModifiers()->getNavigationModifier()->setEnableToolBarAdaptation(self, (const Opt_Boolean*)&value_value);
8142 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableToolBarAdaptation,Ark_NativePointer,KSerializerBuffer,int32_t)8143 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableToolBarAdaptation, Ark_NativePointer, KSerializerBuffer, int32_t)
8144 void impl_NavigationAttribute_onTitleModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8145         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8146         Deserializer thisDeserializer(thisArray, thisLength);
8147         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8148         Opt_Callback_NavigationTitleMode_Void value_value_buf = {};
8149         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8150         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8151         {
8152             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavigationTitleMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavigationTitleMode_Void))))};
8153         }
8154         Opt_Callback_NavigationTitleMode_Void value_value = value_value_buf;;
8155         GetNodeModifiers()->getNavigationModifier()->setOnTitleModeChange(self, (const Opt_Callback_NavigationTitleMode_Void*)&value_value);
8156 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onTitleModeChange,Ark_NativePointer,KSerializerBuffer,int32_t)8157 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t)
8158 void impl_NavigationAttribute_onNavBarStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8159         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8160         Deserializer thisDeserializer(thisArray, thisLength);
8161         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8162         Opt_Callback_Boolean_Void value_value_buf = {};
8163         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8164         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8165         {
8166             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
8167         }
8168         Opt_Callback_Boolean_Void value_value = value_value_buf;;
8169         GetNodeModifiers()->getNavigationModifier()->setOnNavBarStateChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
8170 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavBarStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)8171 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavBarStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
8172 void impl_NavigationAttribute_onNavigationModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8173         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8174         Deserializer thisDeserializer(thisArray, thisLength);
8175         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8176         Opt_Callback_NavigationMode_Void value_value_buf = {};
8177         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8178         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8179         {
8180             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavigationMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavigationMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavigationMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavigationMode_Void))))};
8181         }
8182         Opt_Callback_NavigationMode_Void value_value = value_value_buf;;
8183         GetNodeModifiers()->getNavigationModifier()->setOnNavigationModeChange(self, (const Opt_Callback_NavigationMode_Void*)&value_value);
8184 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavigationModeChange,Ark_NativePointer,KSerializerBuffer,int32_t)8185 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavigationModeChange, Ark_NativePointer, KSerializerBuffer, int32_t)
8186 void impl_NavigationAttribute_navDestination(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8187         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8188         Deserializer thisDeserializer(thisArray, thisLength);
8189         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8190         Opt_Callback_String_Opt_Object_Void value_value_buf = {};
8191         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8192         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8193         {
8194             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String name, const Opt_Object param)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Opt_Object_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String name, const Opt_Object param)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Opt_Object_Void))))};
8195         }
8196         Opt_Callback_String_Opt_Object_Void value_value = value_value_buf;;
8197         GetNodeModifiers()->getNavigationModifier()->setNavDestination(self, (const Opt_Callback_String_Opt_Object_Void*)&value_value);
8198 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navDestination,Ark_NativePointer,KSerializerBuffer,int32_t)8199 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navDestination, Ark_NativePointer, KSerializerBuffer, int32_t)
8200 void impl_NavigationAttribute_customNavContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8201         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8202         Deserializer thisDeserializer(thisArray, thisLength);
8203         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8204         Opt_Type_NavigationAttribute_customNavContentTransition_delegate value_value_buf = {};
8205         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8206         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8207         {
8208             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Type_NavigationAttribute_customNavContentTransition_delegate)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Type_NavigationAttribute_customNavContentTransition_delegate))))};
8209         }
8210         Opt_Type_NavigationAttribute_customNavContentTransition_delegate value_value = value_value_buf;;
8211         GetNodeModifiers()->getNavigationModifier()->setCustomNavContentTransition(self, (const Opt_Type_NavigationAttribute_customNavContentTransition_delegate*)&value_value);
8212 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_customNavContentTransition,Ark_NativePointer,KSerializerBuffer,int32_t)8213 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_customNavContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
8214 void impl_NavigationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8215         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8216         Deserializer thisDeserializer(thisArray, thisLength);
8217         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8218         Opt_SystemBarStyle value_value_buf = {};
8219         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8220         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8221         {
8222             value_value_buf.value = thisDeserializer.readSystemBarStyle();
8223         }
8224         Opt_SystemBarStyle value_value = value_value_buf;;
8225         GetNodeModifiers()->getNavigationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value);
8226 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_systemBarStyle,Ark_NativePointer,KSerializerBuffer,int32_t)8227 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
8228 void impl_NavigationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8229         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8230         Deserializer thisDeserializer(thisArray, thisLength);
8231         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8232         Opt_Boolean value_value_buf = {};
8233         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8234         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8235         {
8236             value_value_buf.value = thisDeserializer.readBoolean();
8237         }
8238         Opt_Boolean value_value = value_value_buf;;
8239         GetNodeModifiers()->getNavigationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value);
8240 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_recoverable,Ark_NativePointer,KSerializerBuffer,int32_t)8241 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t)
8242 void impl_NavigationAttribute_enableDragBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8243         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8244         Deserializer thisDeserializer(thisArray, thisLength);
8245         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8246         Opt_Boolean value_value_buf = {};
8247         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8248         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8249         {
8250             value_value_buf.value = thisDeserializer.readBoolean();
8251         }
8252         Opt_Boolean value_value = value_value_buf;;
8253         GetNodeModifiers()->getNavigationModifier()->setEnableDragBar(self, (const Opt_Boolean*)&value_value);
8254 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableDragBar,Ark_NativePointer,KSerializerBuffer,int32_t)8255 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableDragBar, Ark_NativePointer, KSerializerBuffer, int32_t)
8256 void impl_NavigationAttribute_enableModeChangeAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8257         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8258         Deserializer thisDeserializer(thisArray, thisLength);
8259         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8260         Opt_Boolean value_value_buf = {};
8261         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8262         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8263         {
8264             value_value_buf.value = thisDeserializer.readBoolean();
8265         }
8266         Opt_Boolean value_value = value_value_buf;;
8267         GetNodeModifiers()->getNavigationModifier()->setEnableModeChangeAnimation(self, (const Opt_Boolean*)&value_value);
8268 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableModeChangeAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)8269 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableModeChangeAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
8270 void impl_NavigationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8271         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8272         Deserializer thisDeserializer(thisArray, thisLength);
8273         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8274         Opt_Type_NavigationAttribute_title_value value_value_buf = {};
8275         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8276         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8277         {
8278             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8279             Ark_Type_NavigationAttribute_title_value value_value_buf_ = {};
8280             value_value_buf_.selector = value_value_buf__selector;
8281             if (value_value_buf__selector == 0) {
8282                 value_value_buf_.selector = 0;
8283                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
8284                 Ark_ResourceStr value_value_buf__u = {};
8285                 value_value_buf__u.selector = value_value_buf__u_selector;
8286                 if (value_value_buf__u_selector == 0) {
8287                     value_value_buf__u.selector = 0;
8288                     value_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
8289                 }
8290                 else if (value_value_buf__u_selector == 1) {
8291                     value_value_buf__u.selector = 1;
8292                     value_value_buf__u.value1 = thisDeserializer.readResource();
8293                 }
8294                 else {
8295                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
8296                 }
8297                 value_value_buf_.value0 = static_cast<Ark_ResourceStr>(value_value_buf__u);
8298             }
8299             else if (value_value_buf__selector == 1) {
8300                 value_value_buf_.selector = 1;
8301                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
8302             }
8303             else if (value_value_buf__selector == 2) {
8304                 value_value_buf_.selector = 2;
8305                 value_value_buf_.value2 = thisDeserializer.readNavigationCommonTitle();
8306             }
8307             else if (value_value_buf__selector == 3) {
8308                 value_value_buf_.selector = 3;
8309                 value_value_buf_.value3 = thisDeserializer.readNavigationCustomTitle();
8310             }
8311             else {
8312                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8313             }
8314             value_value_buf.value = static_cast<Ark_Type_NavigationAttribute_title_value>(value_value_buf_);
8315         }
8316         Opt_Type_NavigationAttribute_title_value value_value = value_value_buf;;
8317         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8318         Opt_NavigationTitleOptions options_value_buf = {};
8319         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8320         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
8321         {
8322             options_value_buf.value = thisDeserializer.readNavigationTitleOptions();
8323         }
8324         Opt_NavigationTitleOptions options_value = options_value_buf;;
8325         GetNodeModifiers()->getNavigationModifier()->setTitle(self, (const Opt_Type_NavigationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value);
8326 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_title,Ark_NativePointer,KSerializerBuffer,int32_t)8327 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t)
8328 void impl_NavigationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8329         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8330         Deserializer thisDeserializer(thisArray, thisLength);
8331         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8332         Opt_Union_Array_ToolbarItem_CustomBuilder value_value_buf = {};
8333         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8334         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8335         {
8336             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8337             Ark_Union_Array_ToolbarItem_CustomBuilder value_value_buf_ = {};
8338             value_value_buf_.selector = value_value_buf__selector;
8339             if (value_value_buf__selector == 0) {
8340                 value_value_buf_.selector = 0;
8341                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
8342                 Array_ToolbarItem value_value_buf__u = {};
8343                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
8344         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
8345                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
8346                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readToolbarItem();
8347                 }
8348                 value_value_buf_.value0 = value_value_buf__u;
8349             }
8350             else if (value_value_buf__selector == 1) {
8351                 value_value_buf_.selector = 1;
8352                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
8353             }
8354             else {
8355                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8356             }
8357             value_value_buf.value = static_cast<Ark_Union_Array_ToolbarItem_CustomBuilder>(value_value_buf_);
8358         }
8359         Opt_Union_Array_ToolbarItem_CustomBuilder value_value = value_value_buf;;
8360         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8361         Opt_NavigationToolbarOptions options_value_buf = {};
8362         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8363         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
8364         {
8365             options_value_buf.value = thisDeserializer.readNavigationToolbarOptions();
8366         }
8367         Opt_NavigationToolbarOptions options_value = options_value_buf;;
8368         GetNodeModifiers()->getNavigationModifier()->setToolbarConfiguration(self, (const Opt_Union_Array_ToolbarItem_CustomBuilder*)&value_value, (const Opt_NavigationToolbarOptions*)&options_value);
8369 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolbarConfiguration,Ark_NativePointer,KSerializerBuffer,int32_t)8370 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t)
8371 void impl_NavigationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8372         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8373         Deserializer thisDeserializer(thisArray, thisLength);
8374         const auto types_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8375         Opt_Array_LayoutSafeAreaType types_value_buf = {};
8376         types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8377         if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType))
8378         {
8379             const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32();
8380             Array_LayoutSafeAreaType types_value_buf_ = {};
8381             thisDeserializer.resizeArray<std::decay<decltype(types_value_buf_)>::type,
8382         std::decay<decltype(*types_value_buf_.array)>::type>(&types_value_buf_, types_value_buf__length);
8383             for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) {
8384                 types_value_buf_.array[types_value_buf__i] = static_cast<Ark_LayoutSafeAreaType>(thisDeserializer.readInt32());
8385             }
8386             types_value_buf.value = types_value_buf_;
8387         }
8388         Opt_Array_LayoutSafeAreaType types_value = types_value_buf;;
8389         const auto edges_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8390         Opt_Array_LayoutSafeAreaEdge edges_value_buf = {};
8391         edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8392         if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType))
8393         {
8394             const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32();
8395             Array_LayoutSafeAreaEdge edges_value_buf_ = {};
8396             thisDeserializer.resizeArray<std::decay<decltype(edges_value_buf_)>::type,
8397         std::decay<decltype(*edges_value_buf_.array)>::type>(&edges_value_buf_, edges_value_buf__length);
8398             for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) {
8399                 edges_value_buf_.array[edges_value_buf__i] = static_cast<Ark_LayoutSafeAreaEdge>(thisDeserializer.readInt32());
8400             }
8401             edges_value_buf.value = edges_value_buf_;
8402         }
8403         Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;;
8404         GetNodeModifiers()->getNavigationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value);
8405 }
KOALA_INTEROP_DIRECT_V3(NavigationAttribute_ignoreLayoutSafeArea,Ark_NativePointer,KSerializerBuffer,int32_t)8406 KOALA_INTEROP_DIRECT_V3(NavigationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t)
8407 Ark_NativePointer impl_Canvas_construct(Ark_Int32 id, Ark_Int32 flags) {
8408         return GetNodeModifiers()->getCanvasModifier()->construct(id, flags);
8409 }
KOALA_INTEROP_DIRECT_2(Canvas_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)8410 KOALA_INTEROP_DIRECT_2(Canvas_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
8411 void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8412         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8413         Deserializer thisDeserializer(thisArray, thisLength);
8414         const auto context_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8415         Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {};
8416         context_value_buf.tag = context_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8417         if ((INTEROP_RUNTIME_UNDEFINED) != (context_value_buf_runtimeType))
8418         {
8419             const Ark_Int8 context_value_buf__selector = thisDeserializer.readInt8();
8420             Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf_ = {};
8421             context_value_buf_.selector = context_value_buf__selector;
8422             if (context_value_buf__selector == 0) {
8423                 context_value_buf_.selector = 0;
8424                 context_value_buf_.value0 = static_cast<Ark_CanvasRenderingContext2D>(thisDeserializer.readCanvasRenderingContext2D());
8425             }
8426             else if (context_value_buf__selector == 1) {
8427                 context_value_buf_.selector = 1;
8428                 context_value_buf_.value1 = static_cast<Ark_DrawingRenderingContext>(thisDeserializer.readDrawingRenderingContext());
8429             }
8430             else {
8431                 INTEROP_FATAL("One of the branches for context_value_buf_ has to be chosen through deserialisation.");
8432             }
8433             context_value_buf.value = static_cast<Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext>(context_value_buf_);
8434         }
8435         Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = context_value_buf;;
8436         GetNodeModifiers()->getCanvasModifier()->setCanvasOptions0(self, (const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value);
8437 }
KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)8438 KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
8439 void impl_CanvasInterface_setCanvasOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8440         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8441         Deserializer thisDeserializer(thisArray, thisLength);
8442         const Ark_Int8 context_value_buf_selector = thisDeserializer.readInt8();
8443         Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {};
8444         context_value_buf.selector = context_value_buf_selector;
8445         if (context_value_buf_selector == 0) {
8446             context_value_buf.selector = 0;
8447             context_value_buf.value0 = static_cast<Ark_CanvasRenderingContext2D>(thisDeserializer.readCanvasRenderingContext2D());
8448         }
8449         else if (context_value_buf_selector == 1) {
8450             context_value_buf.selector = 1;
8451             context_value_buf.value1 = static_cast<Ark_DrawingRenderingContext>(thisDeserializer.readDrawingRenderingContext());
8452         }
8453         else {
8454             INTEROP_FATAL("One of the branches for context_value_buf has to be chosen through deserialisation.");
8455         }
8456         Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = static_cast<Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext>(context_value_buf);;
8457         Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();;
8458         GetNodeModifiers()->getCanvasModifier()->setCanvasOptions1(self, (const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value, (const Ark_ImageAIOptions*)&imageAIOptions_value);
8459 }
KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)8460 KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
8461 void impl_CanvasAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8462         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8463         Deserializer thisDeserializer(thisArray, thisLength);
8464         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8465         Opt_VoidCallback value_value_buf = {};
8466         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8467         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8468         {
8469             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
8470         }
8471         Opt_VoidCallback value_value = value_value_buf;;
8472         GetNodeModifiers()->getCanvasModifier()->setOnReady(self, (const Opt_VoidCallback*)&value_value);
8473 }
KOALA_INTEROP_DIRECT_V3(CanvasAttribute_onReady,Ark_NativePointer,KSerializerBuffer,int32_t)8474 KOALA_INTEROP_DIRECT_V3(CanvasAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t)
8475 void impl_CanvasAttribute_enableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8476         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8477         Deserializer thisDeserializer(thisArray, thisLength);
8478         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8479         Opt_Boolean value_value_buf = {};
8480         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8481         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8482         {
8483             value_value_buf.value = thisDeserializer.readBoolean();
8484         }
8485         Opt_Boolean value_value = value_value_buf;;
8486         GetNodeModifiers()->getCanvasModifier()->setEnableAnalyzer(self, (const Opt_Boolean*)&value_value);
8487 }
KOALA_INTEROP_DIRECT_V3(CanvasAttribute_enableAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)8488 KOALA_INTEROP_DIRECT_V3(CanvasAttribute_enableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
8489 Ark_NativePointer impl_Checkbox_construct(Ark_Int32 id, Ark_Int32 flags) {
8490         return GetNodeModifiers()->getCheckboxModifier()->construct(id, flags);
8491 }
KOALA_INTEROP_DIRECT_2(Checkbox_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)8492 KOALA_INTEROP_DIRECT_2(Checkbox_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
8493 void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8494         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8495         Deserializer thisDeserializer(thisArray, thisLength);
8496         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8497         Opt_CheckboxOptions options_value_buf = {};
8498         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8499         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
8500         {
8501             options_value_buf.value = thisDeserializer.readCheckboxOptions();
8502         }
8503         Opt_CheckboxOptions options_value = options_value_buf;;
8504         GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, (const Opt_CheckboxOptions*)&options_value);
8505 }
KOALA_INTEROP_DIRECT_V3(CheckboxInterface_setCheckboxOptions,Ark_NativePointer,KSerializerBuffer,int32_t)8506 KOALA_INTEROP_DIRECT_V3(CheckboxInterface_setCheckboxOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
8507 void impl_CheckboxAttribute_select0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8508         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8509         Deserializer thisDeserializer(thisArray, thisLength);
8510         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8511         Opt_Boolean value_value_buf = {};
8512         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8513         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8514         {
8515             value_value_buf.value = thisDeserializer.readBoolean();
8516         }
8517         Opt_Boolean value_value = value_value_buf;;
8518         GetNodeModifiers()->getCheckboxModifier()->setSelect0(self, (const Opt_Boolean*)&value_value);
8519 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_select0,Ark_NativePointer,KSerializerBuffer,int32_t)8520 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_select0, Ark_NativePointer, KSerializerBuffer, int32_t)
8521 void impl_CheckboxAttribute_select1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8522         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8523         Deserializer thisDeserializer(thisArray, thisLength);
8524         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8525         Opt_Boolean value_value_buf = {};
8526         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8527         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8528         {
8529             value_value_buf.value = thisDeserializer.readBoolean();
8530         }
8531         Opt_Boolean value_value = value_value_buf;;
8532         GetNodeModifiers()->getCheckboxModifier()->setSelect1(self, (const Opt_Boolean*)&value_value);
8533 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_select1,Ark_NativePointer,KSerializerBuffer,int32_t)8534 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_select1, Ark_NativePointer, KSerializerBuffer, int32_t)
8535 void impl_CheckboxAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8536         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8537         Deserializer thisDeserializer(thisArray, thisLength);
8538         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8539         Opt_ResourceColor value_value_buf = {};
8540         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8541         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8542         {
8543             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8544             Ark_ResourceColor value_value_buf_ = {};
8545             value_value_buf_.selector = value_value_buf__selector;
8546             if (value_value_buf__selector == 0) {
8547                 value_value_buf_.selector = 0;
8548                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8549             }
8550             else if (value_value_buf__selector == 1) {
8551                 value_value_buf_.selector = 1;
8552                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8553             }
8554             else if (value_value_buf__selector == 2) {
8555                 value_value_buf_.selector = 2;
8556                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8557             }
8558             else if (value_value_buf__selector == 3) {
8559                 value_value_buf_.selector = 3;
8560                 value_value_buf_.value3 = thisDeserializer.readResource();
8561             }
8562             else {
8563                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8564             }
8565             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8566         }
8567         Opt_ResourceColor value_value = value_value_buf;;
8568         GetNodeModifiers()->getCheckboxModifier()->setSelectedColor0(self, (const Opt_ResourceColor*)&value_value);
8569 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor0,Ark_NativePointer,KSerializerBuffer,int32_t)8570 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
8571 void impl_CheckboxAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8572         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8573         Deserializer thisDeserializer(thisArray, thisLength);
8574         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8575         Opt_ResourceColor value_value_buf = {};
8576         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8577         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8578         {
8579             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8580             Ark_ResourceColor value_value_buf_ = {};
8581             value_value_buf_.selector = value_value_buf__selector;
8582             if (value_value_buf__selector == 0) {
8583                 value_value_buf_.selector = 0;
8584                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8585             }
8586             else if (value_value_buf__selector == 1) {
8587                 value_value_buf_.selector = 1;
8588                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8589             }
8590             else if (value_value_buf__selector == 2) {
8591                 value_value_buf_.selector = 2;
8592                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8593             }
8594             else if (value_value_buf__selector == 3) {
8595                 value_value_buf_.selector = 3;
8596                 value_value_buf_.value3 = thisDeserializer.readResource();
8597             }
8598             else {
8599                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8600             }
8601             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8602         }
8603         Opt_ResourceColor value_value = value_value_buf;;
8604         GetNodeModifiers()->getCheckboxModifier()->setSelectedColor1(self, (const Opt_ResourceColor*)&value_value);
8605 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor1,Ark_NativePointer,KSerializerBuffer,int32_t)8606 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
8607 void impl_CheckboxAttribute_shape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8608         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8609         Deserializer thisDeserializer(thisArray, thisLength);
8610         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8611         Opt_CheckBoxShape value_value_buf = {};
8612         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8613         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8614         {
8615             value_value_buf.value = static_cast<Ark_CheckBoxShape>(thisDeserializer.readInt32());
8616         }
8617         Opt_CheckBoxShape value_value = value_value_buf;;
8618         GetNodeModifiers()->getCheckboxModifier()->setShape0(self, (const Opt_CheckBoxShape*)&value_value);
8619 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_shape0,Ark_NativePointer,KSerializerBuffer,int32_t)8620 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_shape0, Ark_NativePointer, KSerializerBuffer, int32_t)
8621 void impl_CheckboxAttribute_shape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8622         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8623         Deserializer thisDeserializer(thisArray, thisLength);
8624         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8625         Opt_CheckBoxShape value_value_buf = {};
8626         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8627         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8628         {
8629             value_value_buf.value = static_cast<Ark_CheckBoxShape>(thisDeserializer.readInt32());
8630         }
8631         Opt_CheckBoxShape value_value = value_value_buf;;
8632         GetNodeModifiers()->getCheckboxModifier()->setShape1(self, (const Opt_CheckBoxShape*)&value_value);
8633 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_shape1,Ark_NativePointer,KSerializerBuffer,int32_t)8634 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_shape1, Ark_NativePointer, KSerializerBuffer, int32_t)
8635 void impl_CheckboxAttribute_unselectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8636         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8637         Deserializer thisDeserializer(thisArray, thisLength);
8638         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8639         Opt_ResourceColor value_value_buf = {};
8640         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8641         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8642         {
8643             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8644             Ark_ResourceColor value_value_buf_ = {};
8645             value_value_buf_.selector = value_value_buf__selector;
8646             if (value_value_buf__selector == 0) {
8647                 value_value_buf_.selector = 0;
8648                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8649             }
8650             else if (value_value_buf__selector == 1) {
8651                 value_value_buf_.selector = 1;
8652                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8653             }
8654             else if (value_value_buf__selector == 2) {
8655                 value_value_buf_.selector = 2;
8656                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8657             }
8658             else if (value_value_buf__selector == 3) {
8659                 value_value_buf_.selector = 3;
8660                 value_value_buf_.value3 = thisDeserializer.readResource();
8661             }
8662             else {
8663                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8664             }
8665             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8666         }
8667         Opt_ResourceColor value_value = value_value_buf;;
8668         GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor0(self, (const Opt_ResourceColor*)&value_value);
8669 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor0,Ark_NativePointer,KSerializerBuffer,int32_t)8670 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
8671 void impl_CheckboxAttribute_unselectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8672         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8673         Deserializer thisDeserializer(thisArray, thisLength);
8674         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8675         Opt_ResourceColor value_value_buf = {};
8676         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8677         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8678         {
8679             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8680             Ark_ResourceColor value_value_buf_ = {};
8681             value_value_buf_.selector = value_value_buf__selector;
8682             if (value_value_buf__selector == 0) {
8683                 value_value_buf_.selector = 0;
8684                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8685             }
8686             else if (value_value_buf__selector == 1) {
8687                 value_value_buf_.selector = 1;
8688                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8689             }
8690             else if (value_value_buf__selector == 2) {
8691                 value_value_buf_.selector = 2;
8692                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8693             }
8694             else if (value_value_buf__selector == 3) {
8695                 value_value_buf_.selector = 3;
8696                 value_value_buf_.value3 = thisDeserializer.readResource();
8697             }
8698             else {
8699                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8700             }
8701             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8702         }
8703         Opt_ResourceColor value_value = value_value_buf;;
8704         GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor1(self, (const Opt_ResourceColor*)&value_value);
8705 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor1,Ark_NativePointer,KSerializerBuffer,int32_t)8706 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
8707 void impl_CheckboxAttribute_mark0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8708         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8709         Deserializer thisDeserializer(thisArray, thisLength);
8710         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8711         Opt_MarkStyle value_value_buf = {};
8712         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8713         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8714         {
8715             value_value_buf.value = thisDeserializer.readMarkStyle();
8716         }
8717         Opt_MarkStyle value_value = value_value_buf;;
8718         GetNodeModifiers()->getCheckboxModifier()->setMark0(self, (const Opt_MarkStyle*)&value_value);
8719 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark0,Ark_NativePointer,KSerializerBuffer,int32_t)8720 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark0, Ark_NativePointer, KSerializerBuffer, int32_t)
8721 void impl_CheckboxAttribute_mark1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8722         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8723         Deserializer thisDeserializer(thisArray, thisLength);
8724         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8725         Opt_MarkStyle value_value_buf = {};
8726         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8727         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8728         {
8729             value_value_buf.value = thisDeserializer.readMarkStyle();
8730         }
8731         Opt_MarkStyle value_value = value_value_buf;;
8732         GetNodeModifiers()->getCheckboxModifier()->setMark1(self, (const Opt_MarkStyle*)&value_value);
8733 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark1,Ark_NativePointer,KSerializerBuffer,int32_t)8734 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark1, Ark_NativePointer, KSerializerBuffer, int32_t)
8735 void impl_CheckboxAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8736         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8737         Deserializer thisDeserializer(thisArray, thisLength);
8738         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8739         Opt_OnCheckboxChangeCallback value_value_buf = {};
8740         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8741         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8742         {
8743             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnCheckboxChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnCheckboxChangeCallback))))};
8744         }
8745         Opt_OnCheckboxChangeCallback value_value = value_value_buf;;
8746         GetNodeModifiers()->getCheckboxModifier()->setOnChange0(self, (const Opt_OnCheckboxChangeCallback*)&value_value);
8747 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)8748 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
8749 void impl_CheckboxAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8750         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8751         Deserializer thisDeserializer(thisArray, thisLength);
8752         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8753         Opt_OnCheckboxChangeCallback value_value_buf = {};
8754         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8755         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8756         {
8757             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnCheckboxChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnCheckboxChangeCallback))))};
8758         }
8759         Opt_OnCheckboxChangeCallback value_value = value_value_buf;;
8760         GetNodeModifiers()->getCheckboxModifier()->setOnChange1(self, (const Opt_OnCheckboxChangeCallback*)&value_value);
8761 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)8762 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
8763 void impl_CheckboxAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8764         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8765         Deserializer thisDeserializer(thisArray, thisLength);
8766         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8767         Opt_ContentModifier value_value_buf = {};
8768         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8769         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8770         {
8771             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
8772         }
8773         Opt_ContentModifier value_value = value_value_buf;;
8774         GetNodeModifiers()->getCheckboxModifier()->setContentModifier0(self, (const Opt_ContentModifier*)&value_value);
8775 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier0,Ark_NativePointer,KSerializerBuffer,int32_t)8776 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t)
8777 void impl_CheckboxAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8778         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8779         Deserializer thisDeserializer(thisArray, thisLength);
8780         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8781         Opt_ContentModifier value_value_buf = {};
8782         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8783         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8784         {
8785             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
8786         }
8787         Opt_ContentModifier value_value = value_value_buf;;
8788         GetNodeModifiers()->getCheckboxModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value);
8789 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier1,Ark_NativePointer,KSerializerBuffer,int32_t)8790 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t)
8791 void impl_CheckboxAttribute__onChangeEvent_select(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8792         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8793         Deserializer thisDeserializer(thisArray, thisLength);
8794         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
8795         GetNodeModifiers()->getCheckboxModifier()->set_onChangeEvent_select(self, (const Callback_Opt_Boolean_Void*)&callback_value);
8796 }
KOALA_INTEROP_DIRECT_V3(CheckboxAttribute__onChangeEvent_select,Ark_NativePointer,KSerializerBuffer,int32_t)8797 KOALA_INTEROP_DIRECT_V3(CheckboxAttribute__onChangeEvent_select, Ark_NativePointer, KSerializerBuffer, int32_t)
8798 Ark_NativePointer impl_CheckboxGroup_construct(Ark_Int32 id, Ark_Int32 flags) {
8799         return GetNodeModifiers()->getCheckboxGroupModifier()->construct(id, flags);
8800 }
KOALA_INTEROP_DIRECT_2(CheckboxGroup_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)8801 KOALA_INTEROP_DIRECT_2(CheckboxGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
8802 void impl_CheckboxGroupInterface_setCheckboxGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8803         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8804         Deserializer thisDeserializer(thisArray, thisLength);
8805         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8806         Opt_CheckboxGroupOptions options_value_buf = {};
8807         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8808         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
8809         {
8810             options_value_buf.value = thisDeserializer.readCheckboxGroupOptions();
8811         }
8812         Opt_CheckboxGroupOptions options_value = options_value_buf;;
8813         GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxGroupOptions(self, (const Opt_CheckboxGroupOptions*)&options_value);
8814 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupInterface_setCheckboxGroupOptions,Ark_NativePointer,KSerializerBuffer,int32_t)8815 KOALA_INTEROP_DIRECT_V3(CheckboxGroupInterface_setCheckboxGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
8816 void impl_CheckboxGroupAttribute_selectAll0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8817         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8818         Deserializer thisDeserializer(thisArray, thisLength);
8819         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8820         Opt_Boolean value_value_buf = {};
8821         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8822         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8823         {
8824             value_value_buf.value = thisDeserializer.readBoolean();
8825         }
8826         Opt_Boolean value_value = value_value_buf;;
8827         GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll0(self, (const Opt_Boolean*)&value_value);
8828 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectAll0,Ark_NativePointer,KSerializerBuffer,int32_t)8829 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectAll0, Ark_NativePointer, KSerializerBuffer, int32_t)
8830 void impl_CheckboxGroupAttribute_selectAll1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8831         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8832         Deserializer thisDeserializer(thisArray, thisLength);
8833         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8834         Opt_Boolean value_value_buf = {};
8835         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8836         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8837         {
8838             value_value_buf.value = thisDeserializer.readBoolean();
8839         }
8840         Opt_Boolean value_value = value_value_buf;;
8841         GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll1(self, (const Opt_Boolean*)&value_value);
8842 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectAll1,Ark_NativePointer,KSerializerBuffer,int32_t)8843 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectAll1, Ark_NativePointer, KSerializerBuffer, int32_t)
8844 void impl_CheckboxGroupAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8845         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8846         Deserializer thisDeserializer(thisArray, thisLength);
8847         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8848         Opt_ResourceColor value_value_buf = {};
8849         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8850         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8851         {
8852             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8853             Ark_ResourceColor value_value_buf_ = {};
8854             value_value_buf_.selector = value_value_buf__selector;
8855             if (value_value_buf__selector == 0) {
8856                 value_value_buf_.selector = 0;
8857                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8858             }
8859             else if (value_value_buf__selector == 1) {
8860                 value_value_buf_.selector = 1;
8861                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8862             }
8863             else if (value_value_buf__selector == 2) {
8864                 value_value_buf_.selector = 2;
8865                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8866             }
8867             else if (value_value_buf__selector == 3) {
8868                 value_value_buf_.selector = 3;
8869                 value_value_buf_.value3 = thisDeserializer.readResource();
8870             }
8871             else {
8872                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8873             }
8874             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8875         }
8876         Opt_ResourceColor value_value = value_value_buf;;
8877         GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor0(self, (const Opt_ResourceColor*)&value_value);
8878 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor0,Ark_NativePointer,KSerializerBuffer,int32_t)8879 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
8880 void impl_CheckboxGroupAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8881         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8882         Deserializer thisDeserializer(thisArray, thisLength);
8883         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8884         Opt_ResourceColor value_value_buf = {};
8885         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8886         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8887         {
8888             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8889             Ark_ResourceColor value_value_buf_ = {};
8890             value_value_buf_.selector = value_value_buf__selector;
8891             if (value_value_buf__selector == 0) {
8892                 value_value_buf_.selector = 0;
8893                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8894             }
8895             else if (value_value_buf__selector == 1) {
8896                 value_value_buf_.selector = 1;
8897                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8898             }
8899             else if (value_value_buf__selector == 2) {
8900                 value_value_buf_.selector = 2;
8901                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8902             }
8903             else if (value_value_buf__selector == 3) {
8904                 value_value_buf_.selector = 3;
8905                 value_value_buf_.value3 = thisDeserializer.readResource();
8906             }
8907             else {
8908                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8909             }
8910             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8911         }
8912         Opt_ResourceColor value_value = value_value_buf;;
8913         GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor1(self, (const Opt_ResourceColor*)&value_value);
8914 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor1,Ark_NativePointer,KSerializerBuffer,int32_t)8915 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
8916 void impl_CheckboxGroupAttribute_unselectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8917         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8918         Deserializer thisDeserializer(thisArray, thisLength);
8919         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8920         Opt_ResourceColor value_value_buf = {};
8921         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8922         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8923         {
8924             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8925             Ark_ResourceColor value_value_buf_ = {};
8926             value_value_buf_.selector = value_value_buf__selector;
8927             if (value_value_buf__selector == 0) {
8928                 value_value_buf_.selector = 0;
8929                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8930             }
8931             else if (value_value_buf__selector == 1) {
8932                 value_value_buf_.selector = 1;
8933                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8934             }
8935             else if (value_value_buf__selector == 2) {
8936                 value_value_buf_.selector = 2;
8937                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8938             }
8939             else if (value_value_buf__selector == 3) {
8940                 value_value_buf_.selector = 3;
8941                 value_value_buf_.value3 = thisDeserializer.readResource();
8942             }
8943             else {
8944                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8945             }
8946             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8947         }
8948         Opt_ResourceColor value_value = value_value_buf;;
8949         GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor0(self, (const Opt_ResourceColor*)&value_value);
8950 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor0,Ark_NativePointer,KSerializerBuffer,int32_t)8951 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
8952 void impl_CheckboxGroupAttribute_unselectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8953         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8954         Deserializer thisDeserializer(thisArray, thisLength);
8955         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8956         Opt_ResourceColor value_value_buf = {};
8957         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8958         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8959         {
8960             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
8961             Ark_ResourceColor value_value_buf_ = {};
8962             value_value_buf_.selector = value_value_buf__selector;
8963             if (value_value_buf__selector == 0) {
8964                 value_value_buf_.selector = 0;
8965                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
8966             }
8967             else if (value_value_buf__selector == 1) {
8968                 value_value_buf_.selector = 1;
8969                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
8970             }
8971             else if (value_value_buf__selector == 2) {
8972                 value_value_buf_.selector = 2;
8973                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
8974             }
8975             else if (value_value_buf__selector == 3) {
8976                 value_value_buf_.selector = 3;
8977                 value_value_buf_.value3 = thisDeserializer.readResource();
8978             }
8979             else {
8980                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
8981             }
8982             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
8983         }
8984         Opt_ResourceColor value_value = value_value_buf;;
8985         GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor1(self, (const Opt_ResourceColor*)&value_value);
8986 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor1,Ark_NativePointer,KSerializerBuffer,int32_t)8987 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
8988 void impl_CheckboxGroupAttribute_mark0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
8989         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
8990         Deserializer thisDeserializer(thisArray, thisLength);
8991         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
8992         Opt_MarkStyle value_value_buf = {};
8993         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
8994         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
8995         {
8996             value_value_buf.value = thisDeserializer.readMarkStyle();
8997         }
8998         Opt_MarkStyle value_value = value_value_buf;;
8999         GetNodeModifiers()->getCheckboxGroupModifier()->setMark0(self, (const Opt_MarkStyle*)&value_value);
9000 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark0,Ark_NativePointer,KSerializerBuffer,int32_t)9001 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark0, Ark_NativePointer, KSerializerBuffer, int32_t)
9002 void impl_CheckboxGroupAttribute_mark1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9003         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9004         Deserializer thisDeserializer(thisArray, thisLength);
9005         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9006         Opt_MarkStyle value_value_buf = {};
9007         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9008         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9009         {
9010             value_value_buf.value = thisDeserializer.readMarkStyle();
9011         }
9012         Opt_MarkStyle value_value = value_value_buf;;
9013         GetNodeModifiers()->getCheckboxGroupModifier()->setMark1(self, (const Opt_MarkStyle*)&value_value);
9014 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark1,Ark_NativePointer,KSerializerBuffer,int32_t)9015 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark1, Ark_NativePointer, KSerializerBuffer, int32_t)
9016 void impl_CheckboxGroupAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9017         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9018         Deserializer thisDeserializer(thisArray, thisLength);
9019         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9020         Opt_OnCheckboxGroupChangeCallback value_value_buf = {};
9021         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9022         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9023         {
9024             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CheckboxGroupResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnCheckboxGroupChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CheckboxGroupResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnCheckboxGroupChangeCallback))))};
9025         }
9026         Opt_OnCheckboxGroupChangeCallback value_value = value_value_buf;;
9027         GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange0(self, (const Opt_OnCheckboxGroupChangeCallback*)&value_value);
9028 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)9029 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
9030 void impl_CheckboxGroupAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9031         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9032         Deserializer thisDeserializer(thisArray, thisLength);
9033         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9034         Opt_OnCheckboxGroupChangeCallback value_value_buf = {};
9035         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9036         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9037         {
9038             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CheckboxGroupResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnCheckboxGroupChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CheckboxGroupResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnCheckboxGroupChangeCallback))))};
9039         }
9040         Opt_OnCheckboxGroupChangeCallback value_value = value_value_buf;;
9041         GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange1(self, (const Opt_OnCheckboxGroupChangeCallback*)&value_value);
9042 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)9043 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
9044 void impl_CheckboxGroupAttribute_checkboxShape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9045         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9046         Deserializer thisDeserializer(thisArray, thisLength);
9047         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9048         Opt_CheckBoxShape value_value_buf = {};
9049         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9050         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9051         {
9052             value_value_buf.value = static_cast<Ark_CheckBoxShape>(thisDeserializer.readInt32());
9053         }
9054         Opt_CheckBoxShape value_value = value_value_buf;;
9055         GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape0(self, (const Opt_CheckBoxShape*)&value_value);
9056 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_checkboxShape0,Ark_NativePointer,KSerializerBuffer,int32_t)9057 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_checkboxShape0, Ark_NativePointer, KSerializerBuffer, int32_t)
9058 void impl_CheckboxGroupAttribute_checkboxShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9059         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9060         Deserializer thisDeserializer(thisArray, thisLength);
9061         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9062         Opt_CheckBoxShape value_value_buf = {};
9063         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9064         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9065         {
9066             value_value_buf.value = static_cast<Ark_CheckBoxShape>(thisDeserializer.readInt32());
9067         }
9068         Opt_CheckBoxShape value_value = value_value_buf;;
9069         GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape1(self, (const Opt_CheckBoxShape*)&value_value);
9070 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_checkboxShape1,Ark_NativePointer,KSerializerBuffer,int32_t)9071 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_checkboxShape1, Ark_NativePointer, KSerializerBuffer, int32_t)
9072 void impl_CheckboxGroupAttribute__onChangeEvent_selectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9073         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9074         Deserializer thisDeserializer(thisArray, thisLength);
9075         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
9076         GetNodeModifiers()->getCheckboxGroupModifier()->set_onChangeEvent_selectAll(self, (const Callback_Opt_Boolean_Void*)&callback_value);
9077 }
KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute__onChangeEvent_selectAll,Ark_NativePointer,KSerializerBuffer,int32_t)9078 KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute__onChangeEvent_selectAll, Ark_NativePointer, KSerializerBuffer, int32_t)
9079 Ark_NativePointer impl_Circle_construct(Ark_Int32 id, Ark_Int32 flags) {
9080         return GetNodeModifiers()->getCircleModifier()->construct(id, flags);
9081 }
KOALA_INTEROP_DIRECT_2(Circle_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9082 KOALA_INTEROP_DIRECT_2(Circle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9083 void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9084         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9085         Deserializer thisDeserializer(thisArray, thisLength);
9086         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9087         Opt_CircleOptions value_value_buf = {};
9088         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9089         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9090         {
9091             value_value_buf.value = thisDeserializer.readCircleOptions();
9092         }
9093         Opt_CircleOptions value_value = value_value_buf;;
9094         GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, (const Opt_CircleOptions*)&value_value);
9095 }
KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions,Ark_NativePointer,KSerializerBuffer,int32_t)9096 KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
9097 Ark_NativePointer impl_Column_construct(Ark_Int32 id, Ark_Int32 flags) {
9098         return GetNodeModifiers()->getColumnModifier()->construct(id, flags);
9099 }
KOALA_INTEROP_DIRECT_2(Column_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9100 KOALA_INTEROP_DIRECT_2(Column_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9101 void impl_ColumnInterface_setColumnOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9102         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9103         Deserializer thisDeserializer(thisArray, thisLength);
9104         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9105         Opt_ColumnOptions options_value_buf = {};
9106         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9107         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
9108         {
9109             options_value_buf.value = thisDeserializer.readColumnOptions();
9110         }
9111         Opt_ColumnOptions options_value = options_value_buf;;
9112         GetNodeModifiers()->getColumnModifier()->setColumnOptions0(self, (const Opt_ColumnOptions*)&options_value);
9113 }
KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)9114 KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
9115 void impl_ColumnInterface_setColumnOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9116         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9117         Deserializer thisDeserializer(thisArray, thisLength);
9118         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9119         Opt_Union_ColumnOptions_ColumnOptionsV2 options_value_buf = {};
9120         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9121         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
9122         {
9123             const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8();
9124             Ark_Union_ColumnOptions_ColumnOptionsV2 options_value_buf_ = {};
9125             options_value_buf_.selector = options_value_buf__selector;
9126             if (options_value_buf__selector == 0) {
9127                 options_value_buf_.selector = 0;
9128                 options_value_buf_.value0 = thisDeserializer.readColumnOptions();
9129             }
9130             else if (options_value_buf__selector == 1) {
9131                 options_value_buf_.selector = 1;
9132                 options_value_buf_.value1 = thisDeserializer.readColumnOptionsV2();
9133             }
9134             else {
9135                 INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation.");
9136             }
9137             options_value_buf.value = static_cast<Ark_Union_ColumnOptions_ColumnOptionsV2>(options_value_buf_);
9138         }
9139         Opt_Union_ColumnOptions_ColumnOptionsV2 options_value = options_value_buf;;
9140         GetNodeModifiers()->getColumnModifier()->setColumnOptions1(self, (const Opt_Union_ColumnOptions_ColumnOptionsV2*)&options_value);
9141 }
KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)9142 KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
9143 void impl_ColumnAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9144         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9145         Deserializer thisDeserializer(thisArray, thisLength);
9146         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9147         Opt_HorizontalAlign value_value_buf = {};
9148         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9149         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9150         {
9151             value_value_buf.value = static_cast<Ark_HorizontalAlign>(thisDeserializer.readInt32());
9152         }
9153         Opt_HorizontalAlign value_value = value_value_buf;;
9154         GetNodeModifiers()->getColumnModifier()->setAlignItems(self, (const Opt_HorizontalAlign*)&value_value);
9155 }
KOALA_INTEROP_DIRECT_V3(ColumnAttribute_alignItems,Ark_NativePointer,KSerializerBuffer,int32_t)9156 KOALA_INTEROP_DIRECT_V3(ColumnAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t)
9157 void impl_ColumnAttribute_justifyContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9158         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9159         Deserializer thisDeserializer(thisArray, thisLength);
9160         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9161         Opt_FlexAlign value_value_buf = {};
9162         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9163         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9164         {
9165             value_value_buf.value = static_cast<Ark_FlexAlign>(thisDeserializer.readInt32());
9166         }
9167         Opt_FlexAlign value_value = value_value_buf;;
9168         GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, (const Opt_FlexAlign*)&value_value);
9169 }
KOALA_INTEROP_DIRECT_V3(ColumnAttribute_justifyContent,Ark_NativePointer,KSerializerBuffer,int32_t)9170 KOALA_INTEROP_DIRECT_V3(ColumnAttribute_justifyContent, Ark_NativePointer, KSerializerBuffer, int32_t)
9171 void impl_ColumnAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9172         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9173         Deserializer thisDeserializer(thisArray, thisLength);
9174         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9175         Opt_PointLightStyle value_value_buf = {};
9176         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9177         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9178         {
9179             value_value_buf.value = thisDeserializer.readPointLightStyle();
9180         }
9181         Opt_PointLightStyle value_value = value_value_buf;;
9182         GetNodeModifiers()->getColumnModifier()->setPointLight(self, (const Opt_PointLightStyle*)&value_value);
9183 }
KOALA_INTEROP_DIRECT_V3(ColumnAttribute_pointLight,Ark_NativePointer,KSerializerBuffer,int32_t)9184 KOALA_INTEROP_DIRECT_V3(ColumnAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t)
9185 void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9186         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9187         Deserializer thisDeserializer(thisArray, thisLength);
9188         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9189         Opt_Boolean value_value_buf = {};
9190         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9191         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9192         {
9193             value_value_buf.value = thisDeserializer.readBoolean();
9194         }
9195         Opt_Boolean value_value = value_value_buf;;
9196         GetNodeModifiers()->getColumnModifier()->setReverse(self, (const Opt_Boolean*)&value_value);
9197 }
KOALA_INTEROP_DIRECT_V3(ColumnAttribute_reverse,Ark_NativePointer,KSerializerBuffer,int32_t)9198 KOALA_INTEROP_DIRECT_V3(ColumnAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t)
9199 Ark_NativePointer impl_ColumnSplit_construct(Ark_Int32 id, Ark_Int32 flags) {
9200         return GetNodeModifiers()->getColumnSplitModifier()->construct(id, flags);
9201 }
KOALA_INTEROP_DIRECT_2(ColumnSplit_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9202 KOALA_INTEROP_DIRECT_2(ColumnSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9203 void impl_ColumnSplitInterface_setColumnSplitOptions(Ark_NativePointer thisPtr) {
9204         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9205         GetNodeModifiers()->getColumnSplitModifier()->setColumnSplitOptions(self);
9206 }
KOALA_INTEROP_DIRECT_V1(ColumnSplitInterface_setColumnSplitOptions,Ark_NativePointer)9207 KOALA_INTEROP_DIRECT_V1(ColumnSplitInterface_setColumnSplitOptions, Ark_NativePointer)
9208 void impl_ColumnSplitAttribute_resizeable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9209         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9210         Deserializer thisDeserializer(thisArray, thisLength);
9211         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9212         Opt_Boolean value_value_buf = {};
9213         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9214         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9215         {
9216             value_value_buf.value = thisDeserializer.readBoolean();
9217         }
9218         Opt_Boolean value_value = value_value_buf;;
9219         GetNodeModifiers()->getColumnSplitModifier()->setResizeable(self, (const Opt_Boolean*)&value_value);
9220 }
KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_resizeable,Ark_NativePointer,KSerializerBuffer,int32_t)9221 KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_resizeable, Ark_NativePointer, KSerializerBuffer, int32_t)
9222 void impl_ColumnSplitAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9223         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9224         Deserializer thisDeserializer(thisArray, thisLength);
9225         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9226         Opt_ColumnSplitDividerStyle value_value_buf = {};
9227         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9228         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9229         {
9230             value_value_buf.value = thisDeserializer.readColumnSplitDividerStyle();
9231         }
9232         Opt_ColumnSplitDividerStyle value_value = value_value_buf;;
9233         GetNodeModifiers()->getColumnSplitModifier()->setDivider(self, (const Opt_ColumnSplitDividerStyle*)&value_value);
9234 }
KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)9235 KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
9236 Ark_NativePointer impl_Component3D_construct(Ark_Int32 id, Ark_Int32 flags) {
9237         return GetNodeModifiers()->getComponent3DModifier()->construct(id, flags);
9238 }
KOALA_INTEROP_DIRECT_2(Component3D_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9239 KOALA_INTEROP_DIRECT_2(Component3D_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9240 void impl_Component3DInterface_setComponent3DOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9241         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9242         Deserializer thisDeserializer(thisArray, thisLength);
9243         const auto sceneOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9244         Opt_SceneOptions sceneOptions_value_buf = {};
9245         sceneOptions_value_buf.tag = sceneOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9246         if ((INTEROP_RUNTIME_UNDEFINED) != (sceneOptions_value_buf_runtimeType))
9247         {
9248             sceneOptions_value_buf.value = thisDeserializer.readSceneOptions();
9249         }
9250         Opt_SceneOptions sceneOptions_value = sceneOptions_value_buf;;
9251         GetNodeModifiers()->getComponent3DModifier()->setComponent3DOptions(self, (const Opt_SceneOptions*)&sceneOptions_value);
9252 }
KOALA_INTEROP_DIRECT_V3(Component3DInterface_setComponent3DOptions,Ark_NativePointer,KSerializerBuffer,int32_t)9253 KOALA_INTEROP_DIRECT_V3(Component3DInterface_setComponent3DOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
9254 void impl_Component3DAttribute_environment(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9255         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9256         Deserializer thisDeserializer(thisArray, thisLength);
9257         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9258         Opt_ResourceStr value_value_buf = {};
9259         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9260         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9261         {
9262             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9263             Ark_ResourceStr value_value_buf_ = {};
9264             value_value_buf_.selector = value_value_buf__selector;
9265             if (value_value_buf__selector == 0) {
9266                 value_value_buf_.selector = 0;
9267                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
9268             }
9269             else if (value_value_buf__selector == 1) {
9270                 value_value_buf_.selector = 1;
9271                 value_value_buf_.value1 = thisDeserializer.readResource();
9272             }
9273             else {
9274                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9275             }
9276             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
9277         }
9278         Opt_ResourceStr value_value = value_value_buf;;
9279         GetNodeModifiers()->getComponent3DModifier()->setEnvironment(self, (const Opt_ResourceStr*)&value_value);
9280 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_environment,Ark_NativePointer,KSerializerBuffer,int32_t)9281 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_environment, Ark_NativePointer, KSerializerBuffer, int32_t)
9282 void impl_Component3DAttribute_shader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9283         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9284         Deserializer thisDeserializer(thisArray, thisLength);
9285         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9286         Opt_ResourceStr value_value_buf = {};
9287         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9288         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9289         {
9290             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9291             Ark_ResourceStr value_value_buf_ = {};
9292             value_value_buf_.selector = value_value_buf__selector;
9293             if (value_value_buf__selector == 0) {
9294                 value_value_buf_.selector = 0;
9295                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
9296             }
9297             else if (value_value_buf__selector == 1) {
9298                 value_value_buf_.selector = 1;
9299                 value_value_buf_.value1 = thisDeserializer.readResource();
9300             }
9301             else {
9302                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9303             }
9304             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
9305         }
9306         Opt_ResourceStr value_value = value_value_buf;;
9307         GetNodeModifiers()->getComponent3DModifier()->setShader(self, (const Opt_ResourceStr*)&value_value);
9308 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shader,Ark_NativePointer,KSerializerBuffer,int32_t)9309 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shader, Ark_NativePointer, KSerializerBuffer, int32_t)
9310 void impl_Component3DAttribute_shaderImageTexture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9311         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9312         Deserializer thisDeserializer(thisArray, thisLength);
9313         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9314         Opt_ResourceStr value_value_buf = {};
9315         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9316         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9317         {
9318             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9319             Ark_ResourceStr value_value_buf_ = {};
9320             value_value_buf_.selector = value_value_buf__selector;
9321             if (value_value_buf__selector == 0) {
9322                 value_value_buf_.selector = 0;
9323                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
9324             }
9325             else if (value_value_buf__selector == 1) {
9326                 value_value_buf_.selector = 1;
9327                 value_value_buf_.value1 = thisDeserializer.readResource();
9328             }
9329             else {
9330                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9331             }
9332             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
9333         }
9334         Opt_ResourceStr value_value = value_value_buf;;
9335         GetNodeModifiers()->getComponent3DModifier()->setShaderImageTexture(self, (const Opt_ResourceStr*)&value_value);
9336 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderImageTexture,Ark_NativePointer,KSerializerBuffer,int32_t)9337 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderImageTexture, Ark_NativePointer, KSerializerBuffer, int32_t)
9338 void impl_Component3DAttribute_shaderInputBuffer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9339         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9340         Deserializer thisDeserializer(thisArray, thisLength);
9341         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9342         Opt_Array_Number value_value_buf = {};
9343         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9344         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9345         {
9346             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
9347             Array_Number value_value_buf_ = {};
9348             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
9349         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
9350             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
9351                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
9352             }
9353             value_value_buf.value = value_value_buf_;
9354         }
9355         Opt_Array_Number value_value = value_value_buf;;
9356         GetNodeModifiers()->getComponent3DModifier()->setShaderInputBuffer(self, (const Opt_Array_Number*)&value_value);
9357 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderInputBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)9358 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderInputBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
9359 void impl_Component3DAttribute_renderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9360         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9361         Deserializer thisDeserializer(thisArray, thisLength);
9362         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9363         Opt_Length value_value_buf = {};
9364         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9365         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9366         {
9367             value_value_buf.value = thisDeserializer.readLength();
9368         }
9369         Opt_Length value_value = value_value_buf;;
9370         GetNodeModifiers()->getComponent3DModifier()->setRenderWidth(self, (const Opt_Length*)&value_value);
9371 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderWidth,Ark_NativePointer,KSerializerBuffer,int32_t)9372 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
9373 void impl_Component3DAttribute_renderHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9374         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9375         Deserializer thisDeserializer(thisArray, thisLength);
9376         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9377         Opt_Length value_value_buf = {};
9378         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9379         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9380         {
9381             value_value_buf.value = thisDeserializer.readLength();
9382         }
9383         Opt_Length value_value = value_value_buf;;
9384         GetNodeModifiers()->getComponent3DModifier()->setRenderHeight(self, (const Opt_Length*)&value_value);
9385 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderHeight,Ark_NativePointer,KSerializerBuffer,int32_t)9386 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
9387 void impl_Component3DAttribute_customRender(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9388         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9389         Deserializer thisDeserializer(thisArray, thisLength);
9390         const auto uri_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9391         Opt_ResourceStr uri_value_buf = {};
9392         uri_value_buf.tag = uri_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9393         if ((INTEROP_RUNTIME_UNDEFINED) != (uri_value_buf_runtimeType))
9394         {
9395             const Ark_Int8 uri_value_buf__selector = thisDeserializer.readInt8();
9396             Ark_ResourceStr uri_value_buf_ = {};
9397             uri_value_buf_.selector = uri_value_buf__selector;
9398             if (uri_value_buf__selector == 0) {
9399                 uri_value_buf_.selector = 0;
9400                 uri_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
9401             }
9402             else if (uri_value_buf__selector == 1) {
9403                 uri_value_buf_.selector = 1;
9404                 uri_value_buf_.value1 = thisDeserializer.readResource();
9405             }
9406             else {
9407                 INTEROP_FATAL("One of the branches for uri_value_buf_ has to be chosen through deserialisation.");
9408             }
9409             uri_value_buf.value = static_cast<Ark_ResourceStr>(uri_value_buf_);
9410         }
9411         Opt_ResourceStr uri_value = uri_value_buf;;
9412         const auto selfRenderUpdate_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9413         Opt_Boolean selfRenderUpdate_value_buf = {};
9414         selfRenderUpdate_value_buf.tag = selfRenderUpdate_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9415         if ((INTEROP_RUNTIME_UNDEFINED) != (selfRenderUpdate_value_buf_runtimeType))
9416         {
9417             selfRenderUpdate_value_buf.value = thisDeserializer.readBoolean();
9418         }
9419         Opt_Boolean selfRenderUpdate_value = selfRenderUpdate_value_buf;;
9420         GetNodeModifiers()->getComponent3DModifier()->setCustomRender(self, (const Opt_ResourceStr*)&uri_value, (const Opt_Boolean*)&selfRenderUpdate_value);
9421 }
KOALA_INTEROP_DIRECT_V3(Component3DAttribute_customRender,Ark_NativePointer,KSerializerBuffer,int32_t)9422 KOALA_INTEROP_DIRECT_V3(Component3DAttribute_customRender, Ark_NativePointer, KSerializerBuffer, int32_t)
9423 Ark_NativePointer impl_ContainerSpan_construct(Ark_Int32 id, Ark_Int32 flags) {
9424         return GetNodeModifiers()->getContainerSpanModifier()->construct(id, flags);
9425 }
KOALA_INTEROP_DIRECT_2(ContainerSpan_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9426 KOALA_INTEROP_DIRECT_2(ContainerSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9427 void impl_ContainerSpanInterface_setContainerSpanOptions(Ark_NativePointer thisPtr) {
9428         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9429         GetNodeModifiers()->getContainerSpanModifier()->setContainerSpanOptions(self);
9430 }
KOALA_INTEROP_DIRECT_V1(ContainerSpanInterface_setContainerSpanOptions,Ark_NativePointer)9431 KOALA_INTEROP_DIRECT_V1(ContainerSpanInterface_setContainerSpanOptions, Ark_NativePointer)
9432 void impl_ContainerSpanAttribute_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9433         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9434         Deserializer thisDeserializer(thisArray, thisLength);
9435         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9436         Opt_TextBackgroundStyle value_value_buf = {};
9437         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9438         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9439         {
9440             value_value_buf.value = thisDeserializer.readTextBackgroundStyle();
9441         }
9442         Opt_TextBackgroundStyle value_value = value_value_buf;;
9443         GetNodeModifiers()->getContainerSpanModifier()->setTextBackgroundStyle(self, (const Opt_TextBackgroundStyle*)&value_value);
9444 }
KOALA_INTEROP_DIRECT_V3(ContainerSpanAttribute_textBackgroundStyle,Ark_NativePointer,KSerializerBuffer,int32_t)9445 KOALA_INTEROP_DIRECT_V3(ContainerSpanAttribute_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
9446 Ark_NativePointer impl_Counter_construct(Ark_Int32 id, Ark_Int32 flags) {
9447         return GetNodeModifiers()->getCounterModifier()->construct(id, flags);
9448 }
KOALA_INTEROP_DIRECT_2(Counter_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9449 KOALA_INTEROP_DIRECT_2(Counter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9450 void impl_CounterInterface_setCounterOptions(Ark_NativePointer thisPtr) {
9451         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9452         GetNodeModifiers()->getCounterModifier()->setCounterOptions(self);
9453 }
KOALA_INTEROP_DIRECT_V1(CounterInterface_setCounterOptions,Ark_NativePointer)9454 KOALA_INTEROP_DIRECT_V1(CounterInterface_setCounterOptions, Ark_NativePointer)
9455 void impl_CounterAttribute_onInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9456         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9457         Deserializer thisDeserializer(thisArray, thisLength);
9458         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9459         Opt_VoidCallback value_value_buf = {};
9460         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9461         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9462         {
9463             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
9464         }
9465         Opt_VoidCallback value_value = value_value_buf;;
9466         GetNodeModifiers()->getCounterModifier()->setOnInc(self, (const Opt_VoidCallback*)&value_value);
9467 }
KOALA_INTEROP_DIRECT_V3(CounterAttribute_onInc,Ark_NativePointer,KSerializerBuffer,int32_t)9468 KOALA_INTEROP_DIRECT_V3(CounterAttribute_onInc, Ark_NativePointer, KSerializerBuffer, int32_t)
9469 void impl_CounterAttribute_onDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9470         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9471         Deserializer thisDeserializer(thisArray, thisLength);
9472         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9473         Opt_VoidCallback value_value_buf = {};
9474         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9475         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9476         {
9477             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
9478         }
9479         Opt_VoidCallback value_value = value_value_buf;;
9480         GetNodeModifiers()->getCounterModifier()->setOnDec(self, (const Opt_VoidCallback*)&value_value);
9481 }
KOALA_INTEROP_DIRECT_V3(CounterAttribute_onDec,Ark_NativePointer,KSerializerBuffer,int32_t)9482 KOALA_INTEROP_DIRECT_V3(CounterAttribute_onDec, Ark_NativePointer, KSerializerBuffer, int32_t)
9483 void impl_CounterAttribute_enableDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9484         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9485         Deserializer thisDeserializer(thisArray, thisLength);
9486         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9487         Opt_Boolean value_value_buf = {};
9488         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9489         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9490         {
9491             value_value_buf.value = thisDeserializer.readBoolean();
9492         }
9493         Opt_Boolean value_value = value_value_buf;;
9494         GetNodeModifiers()->getCounterModifier()->setEnableDec(self, (const Opt_Boolean*)&value_value);
9495 }
KOALA_INTEROP_DIRECT_V3(CounterAttribute_enableDec,Ark_NativePointer,KSerializerBuffer,int32_t)9496 KOALA_INTEROP_DIRECT_V3(CounterAttribute_enableDec, Ark_NativePointer, KSerializerBuffer, int32_t)
9497 void impl_CounterAttribute_enableInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9498         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9499         Deserializer thisDeserializer(thisArray, thisLength);
9500         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9501         Opt_Boolean value_value_buf = {};
9502         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9503         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9504         {
9505             value_value_buf.value = thisDeserializer.readBoolean();
9506         }
9507         Opt_Boolean value_value = value_value_buf;;
9508         GetNodeModifiers()->getCounterModifier()->setEnableInc(self, (const Opt_Boolean*)&value_value);
9509 }
KOALA_INTEROP_DIRECT_V3(CounterAttribute_enableInc,Ark_NativePointer,KSerializerBuffer,int32_t)9510 KOALA_INTEROP_DIRECT_V3(CounterAttribute_enableInc, Ark_NativePointer, KSerializerBuffer, int32_t)
9511 Ark_NativePointer impl_DataPanel_construct(Ark_Int32 id, Ark_Int32 flags) {
9512         return GetNodeModifiers()->getDataPanelModifier()->construct(id, flags);
9513 }
KOALA_INTEROP_DIRECT_2(DataPanel_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9514 KOALA_INTEROP_DIRECT_2(DataPanel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9515 void impl_DataPanelInterface_setDataPanelOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9516         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9517         Deserializer thisDeserializer(thisArray, thisLength);
9518         Ark_DataPanelOptions options_value = thisDeserializer.readDataPanelOptions();;
9519         GetNodeModifiers()->getDataPanelModifier()->setDataPanelOptions(self, (const Ark_DataPanelOptions*)&options_value);
9520 }
KOALA_INTEROP_DIRECT_V3(DataPanelInterface_setDataPanelOptions,Ark_NativePointer,KSerializerBuffer,int32_t)9521 KOALA_INTEROP_DIRECT_V3(DataPanelInterface_setDataPanelOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
9522 void impl_DataPanelAttribute_closeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9523         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9524         Deserializer thisDeserializer(thisArray, thisLength);
9525         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9526         Opt_Boolean value_value_buf = {};
9527         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9528         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9529         {
9530             value_value_buf.value = thisDeserializer.readBoolean();
9531         }
9532         Opt_Boolean value_value = value_value_buf;;
9533         GetNodeModifiers()->getDataPanelModifier()->setCloseEffect(self, (const Opt_Boolean*)&value_value);
9534 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_closeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)9535 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_closeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
9536 void impl_DataPanelAttribute_valueColors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9537         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9538         Deserializer thisDeserializer(thisArray, thisLength);
9539         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9540         Opt_Array_Union_ResourceColor_LinearGradient value_value_buf = {};
9541         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9542         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9543         {
9544             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
9545             Array_Union_ResourceColor_LinearGradient value_value_buf_ = {};
9546             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
9547         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
9548             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
9549                 const Ark_Int8 value_value_buf__buf_selector = thisDeserializer.readInt8();
9550                 Ark_Union_ResourceColor_LinearGradient value_value_buf__buf = {};
9551                 value_value_buf__buf.selector = value_value_buf__buf_selector;
9552                 if (value_value_buf__buf_selector == 0) {
9553                     value_value_buf__buf.selector = 0;
9554                     const Ark_Int8 value_value_buf__buf_u_selector = thisDeserializer.readInt8();
9555                     Ark_ResourceColor value_value_buf__buf_u = {};
9556                     value_value_buf__buf_u.selector = value_value_buf__buf_u_selector;
9557                     if (value_value_buf__buf_u_selector == 0) {
9558                         value_value_buf__buf_u.selector = 0;
9559                         value_value_buf__buf_u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
9560                     }
9561                     else if (value_value_buf__buf_u_selector == 1) {
9562                         value_value_buf__buf_u.selector = 1;
9563                         value_value_buf__buf_u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
9564                     }
9565                     else if (value_value_buf__buf_u_selector == 2) {
9566                         value_value_buf__buf_u.selector = 2;
9567                         value_value_buf__buf_u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
9568                     }
9569                     else if (value_value_buf__buf_u_selector == 3) {
9570                         value_value_buf__buf_u.selector = 3;
9571                         value_value_buf__buf_u.value3 = thisDeserializer.readResource();
9572                     }
9573                     else {
9574                         INTEROP_FATAL("One of the branches for value_value_buf__buf_u has to be chosen through deserialisation.");
9575                     }
9576                     value_value_buf__buf.value0 = static_cast<Ark_ResourceColor>(value_value_buf__buf_u);
9577                 }
9578                 else if (value_value_buf__buf_selector == 1) {
9579                     value_value_buf__buf.selector = 1;
9580                     value_value_buf__buf.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
9581                 }
9582                 else {
9583                     INTEROP_FATAL("One of the branches for value_value_buf__buf has to be chosen through deserialisation.");
9584                 }
9585                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_Union_ResourceColor_LinearGradient>(value_value_buf__buf);
9586             }
9587             value_value_buf.value = value_value_buf_;
9588         }
9589         Opt_Array_Union_ResourceColor_LinearGradient value_value = value_value_buf;;
9590         GetNodeModifiers()->getDataPanelModifier()->setValueColors(self, (const Opt_Array_Union_ResourceColor_LinearGradient*)&value_value);
9591 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_valueColors,Ark_NativePointer,KSerializerBuffer,int32_t)9592 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_valueColors, Ark_NativePointer, KSerializerBuffer, int32_t)
9593 void impl_DataPanelAttribute_trackBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9594         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9595         Deserializer thisDeserializer(thisArray, thisLength);
9596         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9597         Opt_ResourceColor value_value_buf = {};
9598         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9599         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9600         {
9601             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9602             Ark_ResourceColor value_value_buf_ = {};
9603             value_value_buf_.selector = value_value_buf__selector;
9604             if (value_value_buf__selector == 0) {
9605                 value_value_buf_.selector = 0;
9606                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
9607             }
9608             else if (value_value_buf__selector == 1) {
9609                 value_value_buf_.selector = 1;
9610                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
9611             }
9612             else if (value_value_buf__selector == 2) {
9613                 value_value_buf_.selector = 2;
9614                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
9615             }
9616             else if (value_value_buf__selector == 3) {
9617                 value_value_buf_.selector = 3;
9618                 value_value_buf_.value3 = thisDeserializer.readResource();
9619             }
9620             else {
9621                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9622             }
9623             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
9624         }
9625         Opt_ResourceColor value_value = value_value_buf;;
9626         GetNodeModifiers()->getDataPanelModifier()->setTrackBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
9627 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)9628 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
9629 void impl_DataPanelAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9630         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9631         Deserializer thisDeserializer(thisArray, thisLength);
9632         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9633         Opt_Length value_value_buf = {};
9634         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9635         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9636         {
9637             value_value_buf.value = thisDeserializer.readLength();
9638         }
9639         Opt_Length value_value = value_value_buf;;
9640         GetNodeModifiers()->getDataPanelModifier()->setStrokeWidth(self, (const Opt_Length*)&value_value);
9641 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_strokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)9642 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
9643 void impl_DataPanelAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9644         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9645         Deserializer thisDeserializer(thisArray, thisLength);
9646         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9647         Opt_DataPanelShadowOptions value_value_buf = {};
9648         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9649         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9650         {
9651             value_value_buf.value = thisDeserializer.readDataPanelShadowOptions();
9652         }
9653         Opt_DataPanelShadowOptions value_value = value_value_buf;;
9654         GetNodeModifiers()->getDataPanelModifier()->setTrackShadow(self, (const Opt_DataPanelShadowOptions*)&value_value);
9655 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackShadow,Ark_NativePointer,KSerializerBuffer,int32_t)9656 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
9657 void impl_DataPanelAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9658         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9659         Deserializer thisDeserializer(thisArray, thisLength);
9660         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9661         Opt_ContentModifier value_value_buf = {};
9662         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9663         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9664         {
9665             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
9666         }
9667         Opt_ContentModifier value_value = value_value_buf;;
9668         GetNodeModifiers()->getDataPanelModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
9669 }
KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)9670 KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
9671 Ark_NativePointer impl_DatePicker_construct(Ark_Int32 id, Ark_Int32 flags) {
9672         return GetNodeModifiers()->getDatePickerModifier()->construct(id, flags);
9673 }
KOALA_INTEROP_DIRECT_2(DatePicker_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9674 KOALA_INTEROP_DIRECT_2(DatePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9675 void impl_DatePickerInterface_setDatePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9676         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9677         Deserializer thisDeserializer(thisArray, thisLength);
9678         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9679         Opt_DatePickerOptions options_value_buf = {};
9680         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9681         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
9682         {
9683             options_value_buf.value = thisDeserializer.readDatePickerOptions();
9684         }
9685         Opt_DatePickerOptions options_value = options_value_buf;;
9686         GetNodeModifiers()->getDatePickerModifier()->setDatePickerOptions(self, (const Opt_DatePickerOptions*)&options_value);
9687 }
KOALA_INTEROP_DIRECT_V3(DatePickerInterface_setDatePickerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)9688 KOALA_INTEROP_DIRECT_V3(DatePickerInterface_setDatePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
9689 void impl_DatePickerAttribute_lunar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9690         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9691         Deserializer thisDeserializer(thisArray, thisLength);
9692         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9693         Opt_Boolean value_value_buf = {};
9694         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9695         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9696         {
9697             value_value_buf.value = thisDeserializer.readBoolean();
9698         }
9699         Opt_Boolean value_value = value_value_buf;;
9700         GetNodeModifiers()->getDatePickerModifier()->setLunar0(self, (const Opt_Boolean*)&value_value);
9701 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_lunar0,Ark_NativePointer,KSerializerBuffer,int32_t)9702 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_lunar0, Ark_NativePointer, KSerializerBuffer, int32_t)
9703 void impl_DatePickerAttribute_lunar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9704         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9705         Deserializer thisDeserializer(thisArray, thisLength);
9706         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9707         Opt_Boolean value_value_buf = {};
9708         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9709         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9710         {
9711             value_value_buf.value = thisDeserializer.readBoolean();
9712         }
9713         Opt_Boolean value_value = value_value_buf;;
9714         GetNodeModifiers()->getDatePickerModifier()->setLunar1(self, (const Opt_Boolean*)&value_value);
9715 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_lunar1,Ark_NativePointer,KSerializerBuffer,int32_t)9716 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_lunar1, Ark_NativePointer, KSerializerBuffer, int32_t)
9717 void impl_DatePickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9718         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9719         Deserializer thisDeserializer(thisArray, thisLength);
9720         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9721         Opt_PickerTextStyle value_value_buf = {};
9722         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9723         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9724         {
9725             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9726         }
9727         Opt_PickerTextStyle value_value = value_value_buf;;
9728         GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
9729 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)9730 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
9731 void impl_DatePickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9732         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9733         Deserializer thisDeserializer(thisArray, thisLength);
9734         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9735         Opt_PickerTextStyle value_value_buf = {};
9736         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9737         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9738         {
9739             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9740         }
9741         Opt_PickerTextStyle value_value = value_value_buf;;
9742         GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
9743 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)9744 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
9745 void impl_DatePickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9746         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9747         Deserializer thisDeserializer(thisArray, thisLength);
9748         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9749         Opt_PickerTextStyle value_value_buf = {};
9750         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9751         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9752         {
9753             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9754         }
9755         Opt_PickerTextStyle value_value = value_value_buf;;
9756         GetNodeModifiers()->getDatePickerModifier()->setTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
9757 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)9758 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
9759 void impl_DatePickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9760         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9761         Deserializer thisDeserializer(thisArray, thisLength);
9762         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9763         Opt_PickerTextStyle value_value_buf = {};
9764         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9765         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9766         {
9767             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9768         }
9769         Opt_PickerTextStyle value_value = value_value_buf;;
9770         GetNodeModifiers()->getDatePickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
9771 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)9772 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
9773 void impl_DatePickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9774         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9775         Deserializer thisDeserializer(thisArray, thisLength);
9776         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9777         Opt_PickerTextStyle value_value_buf = {};
9778         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9779         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9780         {
9781             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9782         }
9783         Opt_PickerTextStyle value_value = value_value_buf;;
9784         GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
9785 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)9786 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
9787 void impl_DatePickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9788         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9789         Deserializer thisDeserializer(thisArray, thisLength);
9790         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9791         Opt_PickerTextStyle value_value_buf = {};
9792         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9793         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9794         {
9795             value_value_buf.value = thisDeserializer.readPickerTextStyle();
9796         }
9797         Opt_PickerTextStyle value_value = value_value_buf;;
9798         GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
9799 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)9800 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
9801 void impl_DatePickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9802         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9803         Deserializer thisDeserializer(thisArray, thisLength);
9804         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9805         Opt_Callback_DatePickerResult_Void value_value_buf = {};
9806         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9807         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9808         {
9809             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DatePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DatePickerResult_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DatePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DatePickerResult_Void))))};
9810         }
9811         Opt_Callback_DatePickerResult_Void value_value = value_value_buf;;
9812         GetNodeModifiers()->getDatePickerModifier()->setOnChange(self, (const Opt_Callback_DatePickerResult_Void*)&value_value);
9813 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)9814 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
9815 void impl_DatePickerAttribute_onDateChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9816         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9817         Deserializer thisDeserializer(thisArray, thisLength);
9818         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9819         Opt_Callback_Date_Void value_value_buf = {};
9820         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9821         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9822         {
9823             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};
9824         }
9825         Opt_Callback_Date_Void value_value = value_value_buf;;
9826         GetNodeModifiers()->getDatePickerModifier()->setOnDateChange0(self, (const Opt_Callback_Date_Void*)&value_value);
9827 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange0,Ark_NativePointer,KSerializerBuffer,int32_t)9828 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
9829 void impl_DatePickerAttribute_onDateChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9830         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9831         Deserializer thisDeserializer(thisArray, thisLength);
9832         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9833         Opt_Callback_Date_Void value_value_buf = {};
9834         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9835         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9836         {
9837             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};
9838         }
9839         Opt_Callback_Date_Void value_value = value_value_buf;;
9840         GetNodeModifiers()->getDatePickerModifier()->setOnDateChange1(self, (const Opt_Callback_Date_Void*)&value_value);
9841 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange1,Ark_NativePointer,KSerializerBuffer,int32_t)9842 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
9843 void impl_DatePickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9844         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9845         Deserializer thisDeserializer(thisArray, thisLength);
9846         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9847         Opt_CrownSensitivity value_value_buf = {};
9848         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9849         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9850         {
9851             value_value_buf.value = static_cast<Ark_CrownSensitivity>(thisDeserializer.readInt32());
9852         }
9853         Opt_CrownSensitivity value_value = value_value_buf;;
9854         GetNodeModifiers()->getDatePickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value);
9855 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_digitalCrownSensitivity,Ark_NativePointer,KSerializerBuffer,int32_t)9856 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t)
9857 void impl_DatePickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9858         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9859         Deserializer thisDeserializer(thisArray, thisLength);
9860         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9861         Opt_Boolean value_value_buf = {};
9862         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9863         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9864         {
9865             value_value_buf.value = thisDeserializer.readBoolean();
9866         }
9867         Opt_Boolean value_value = value_value_buf;;
9868         GetNodeModifiers()->getDatePickerModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
9869 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)9870 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
9871 void impl_DatePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9872         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9873         Deserializer thisDeserializer(thisArray, thisLength);
9874         Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};;
9875         GetNodeModifiers()->getDatePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value);
9876 }
KOALA_INTEROP_DIRECT_V3(DatePickerAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)9877 KOALA_INTEROP_DIRECT_V3(DatePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
9878 void impl_NodeContainerInterface_addNodeContainerRootNode(Ark_NativePointer thisPtr, Ark_NativePointer childPtr) {
9879     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9880     Ark_NodeHandle child = reinterpret_cast<Ark_NodeHandle>(childPtr);
9881     GetNodeModifiers()->getNodeContainerModifier()->addNodeContainerRootNode(self, child);
9882 }
KOALA_INTEROP_DIRECT_V2(NodeContainerInterface_addNodeContainerRootNode,Ark_NativePointer,Ark_NativePointer)9883 KOALA_INTEROP_DIRECT_V2(NodeContainerInterface_addNodeContainerRootNode, Ark_NativePointer, Ark_NativePointer)
9884 void impl_NodeContainerInterface_setAboutToAppear(
9885 Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
9886 {
9887     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9888     Deserializer thisDeserializer(thisArray, thisLength);
9889     Callback_Void value_value = { thisDeserializer.readCallbackResource(),
9890         reinterpret_cast<void (*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(
9891             reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))),
9892         reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(
9893             thisDeserializer.readPointerOrDefault(
9894                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void)))) };
9895     GetNodeModifiers()->getNodeContainerModifier()->setAboutToAppear(self, (const Callback_Void*)&value_value);
9896 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToAppear,Ark_NativePointer,KSerializerBuffer,Ark_Int32)9897 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToAppear, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
9898 Ark_NativePointer impl_Divider_construct(Ark_Int32 id, Ark_Int32 flags) {
9899         return GetNodeModifiers()->getDividerModifier()->construct(id, flags);
9900 }
KOALA_INTEROP_DIRECT_2(Divider_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)9901 KOALA_INTEROP_DIRECT_2(Divider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
9902 void impl_DividerInterface_setDividerOptions(Ark_NativePointer thisPtr) {
9903         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9904         GetNodeModifiers()->getDividerModifier()->setDividerOptions(self);
9905 }
KOALA_INTEROP_DIRECT_V1(DividerInterface_setDividerOptions,Ark_NativePointer)9906 KOALA_INTEROP_DIRECT_V1(DividerInterface_setDividerOptions, Ark_NativePointer)
9907 void impl_DividerAttribute_vertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9908         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9909         Deserializer thisDeserializer(thisArray, thisLength);
9910         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9911         Opt_Boolean value_value_buf = {};
9912         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9913         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9914         {
9915             value_value_buf.value = thisDeserializer.readBoolean();
9916         }
9917         Opt_Boolean value_value = value_value_buf;;
9918         GetNodeModifiers()->getDividerModifier()->setVertical(self, (const Opt_Boolean*)&value_value);
9919 }
KOALA_INTEROP_DIRECT_V3(DividerAttribute_vertical,Ark_NativePointer,KSerializerBuffer,int32_t)9920 KOALA_INTEROP_DIRECT_V3(DividerAttribute_vertical, Ark_NativePointer, KSerializerBuffer, int32_t)
9921 void impl_DividerAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9922         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9923         Deserializer thisDeserializer(thisArray, thisLength);
9924         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9925         Opt_ResourceColor value_value_buf = {};
9926         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9927         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9928         {
9929             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9930             Ark_ResourceColor value_value_buf_ = {};
9931             value_value_buf_.selector = value_value_buf__selector;
9932             if (value_value_buf__selector == 0) {
9933                 value_value_buf_.selector = 0;
9934                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
9935             }
9936             else if (value_value_buf__selector == 1) {
9937                 value_value_buf_.selector = 1;
9938                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
9939             }
9940             else if (value_value_buf__selector == 2) {
9941                 value_value_buf_.selector = 2;
9942                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
9943             }
9944             else if (value_value_buf__selector == 3) {
9945                 value_value_buf_.selector = 3;
9946                 value_value_buf_.value3 = thisDeserializer.readResource();
9947             }
9948             else {
9949                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9950             }
9951             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
9952         }
9953         Opt_ResourceColor value_value = value_value_buf;;
9954         GetNodeModifiers()->getDividerModifier()->setColor(self, (const Opt_ResourceColor*)&value_value);
9955 }
KOALA_INTEROP_DIRECT_V3(DividerAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)9956 KOALA_INTEROP_DIRECT_V3(DividerAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
9957 void impl_DividerAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9958         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9959         Deserializer thisDeserializer(thisArray, thisLength);
9960         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9961         Opt_Union_Number_String value_value_buf = {};
9962         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9963         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9964         {
9965             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
9966             Ark_Union_Number_String value_value_buf_ = {};
9967             value_value_buf_.selector = value_value_buf__selector;
9968             if (value_value_buf__selector == 0) {
9969                 value_value_buf_.selector = 0;
9970                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
9971             }
9972             else if (value_value_buf__selector == 1) {
9973                 value_value_buf_.selector = 1;
9974                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
9975             }
9976             else {
9977                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
9978             }
9979             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
9980         }
9981         Opt_Union_Number_String value_value = value_value_buf;;
9982         GetNodeModifiers()->getDividerModifier()->setStrokeWidth(self, (const Opt_Union_Number_String*)&value_value);
9983 }
KOALA_INTEROP_DIRECT_V3(DividerAttribute_strokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)9984 KOALA_INTEROP_DIRECT_V3(DividerAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
9985 void impl_DividerAttribute_lineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
9986         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
9987         Deserializer thisDeserializer(thisArray, thisLength);
9988         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
9989         Opt_LineCapStyle value_value_buf = {};
9990         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
9991         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
9992         {
9993             value_value_buf.value = static_cast<Ark_LineCapStyle>(thisDeserializer.readInt32());
9994         }
9995         Opt_LineCapStyle value_value = value_value_buf;;
9996         GetNodeModifiers()->getDividerModifier()->setLineCap(self, (const Opt_LineCapStyle*)&value_value);
9997 }
KOALA_INTEROP_DIRECT_V3(DividerAttribute_lineCap,Ark_NativePointer,KSerializerBuffer,int32_t)9998 KOALA_INTEROP_DIRECT_V3(DividerAttribute_lineCap, Ark_NativePointer, KSerializerBuffer, int32_t)
9999 Ark_NativePointer impl_EffectComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
10000         return GetNodeModifiers()->getEffectComponentModifier()->construct(id, flags);
10001 }
KOALA_INTEROP_DIRECT_2(EffectComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10002 KOALA_INTEROP_DIRECT_2(EffectComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10003 void impl_EffectComponentInterface_setEffectComponentOptions(Ark_NativePointer thisPtr) {
10004         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10005         GetNodeModifiers()->getEffectComponentModifier()->setEffectComponentOptions(self);
10006 }
KOALA_INTEROP_DIRECT_V1(EffectComponentInterface_setEffectComponentOptions,Ark_NativePointer)10007 KOALA_INTEROP_DIRECT_V1(EffectComponentInterface_setEffectComponentOptions, Ark_NativePointer)
10008 Ark_NativePointer impl_Ellipse_construct(Ark_Int32 id, Ark_Int32 flags) {
10009         return GetNodeModifiers()->getEllipseModifier()->construct(id, flags);
10010 }
KOALA_INTEROP_DIRECT_2(Ellipse_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10011 KOALA_INTEROP_DIRECT_2(Ellipse_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10012 void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10013         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10014         Deserializer thisDeserializer(thisArray, thisLength);
10015         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10016         Opt_EllipseOptions options_value_buf = {};
10017         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10018         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
10019         {
10020             options_value_buf.value = thisDeserializer.readEllipseOptions();
10021         }
10022         Opt_EllipseOptions options_value = options_value_buf;;
10023         GetNodeModifiers()->getEllipseModifier()->setEllipseOptions(self, (const Opt_EllipseOptions*)&options_value);
10024 }
KOALA_INTEROP_DIRECT_V3(EllipseInterface_setEllipseOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10025 KOALA_INTEROP_DIRECT_V3(EllipseInterface_setEllipseOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10026 Ark_NativePointer impl_EmbeddedComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
10027         return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags);
10028 }
KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10029 KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10030 void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 type) {
10031         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10032         Deserializer thisDeserializer(thisArray, thisLength);
10033         Ark_Want loader_value = thisDeserializer.readWant();;
10034         GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, (const Ark_Want*)&loader_value, static_cast<Ark_EmbeddedType>(type));
10035 }
KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t,Ark_Int32)10036 KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32)
10037 void impl_EmbeddedComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10038         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10039         Deserializer thisDeserializer(thisArray, thisLength);
10040         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10041         Opt_Callback_TerminationInfo_Void value_value_buf = {};
10042         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10043         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10044         {
10045             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TerminationInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TerminationInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};
10046         }
10047         Opt_Callback_TerminationInfo_Void value_value = value_value_buf;;
10048         GetNodeModifiers()->getEmbeddedComponentModifier()->setOnTerminated(self, (const Opt_Callback_TerminationInfo_Void*)&value_value);
10049 }
KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onTerminated,Ark_NativePointer,KSerializerBuffer,int32_t)10050 KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t)
10051 void impl_EmbeddedComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10052         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10053         Deserializer thisDeserializer(thisArray, thisLength);
10054         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10055         Opt_ErrorCallback value_value_buf = {};
10056         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10057         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10058         {
10059             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_BusinessError err)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_BusinessError err)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ErrorCallback))))};
10060         }
10061         Opt_ErrorCallback value_value = value_value_buf;;
10062         GetNodeModifiers()->getEmbeddedComponentModifier()->setOnError(self, (const Opt_ErrorCallback*)&value_value);
10063 }
KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)10064 KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
10065 Ark_NativePointer impl_Flex_construct(Ark_Int32 id, Ark_Int32 flags) {
10066         return GetNodeModifiers()->getFlexModifier()->construct(id, flags);
10067 }
KOALA_INTEROP_DIRECT_2(Flex_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10068 KOALA_INTEROP_DIRECT_2(Flex_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10069 void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10070         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10071         Deserializer thisDeserializer(thisArray, thisLength);
10072         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10073         Opt_FlexOptions value_value_buf = {};
10074         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10075         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10076         {
10077             value_value_buf.value = thisDeserializer.readFlexOptions();
10078         }
10079         Opt_FlexOptions value_value = value_value_buf;;
10080         GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, (const Opt_FlexOptions*)&value_value);
10081 }
KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10082 KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10083 void impl_FlexAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10084         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10085         Deserializer thisDeserializer(thisArray, thisLength);
10086         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10087         Opt_PointLightStyle value_value_buf = {};
10088         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10089         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10090         {
10091             value_value_buf.value = thisDeserializer.readPointLightStyle();
10092         }
10093         Opt_PointLightStyle value_value = value_value_buf;;
10094         GetNodeModifiers()->getFlexModifier()->setPointLight(self, (const Opt_PointLightStyle*)&value_value);
10095 }
KOALA_INTEROP_DIRECT_V3(FlexAttribute_pointLight,Ark_NativePointer,KSerializerBuffer,int32_t)10096 KOALA_INTEROP_DIRECT_V3(FlexAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t)
10097 Ark_NativePointer impl_FlowItem_construct(Ark_Int32 id, Ark_Int32 flags) {
10098         return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags);
10099 }
KOALA_INTEROP_DIRECT_2(FlowItem_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10100 KOALA_INTEROP_DIRECT_2(FlowItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10101 void impl_FlowItemInterface_setFlowItemOptions(Ark_NativePointer thisPtr) {
10102         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10103         GetNodeModifiers()->getFlowItemModifier()->setFlowItemOptions(self);
10104 }
KOALA_INTEROP_DIRECT_V1(FlowItemInterface_setFlowItemOptions,Ark_NativePointer)10105 KOALA_INTEROP_DIRECT_V1(FlowItemInterface_setFlowItemOptions, Ark_NativePointer)
10106 Ark_NativePointer impl_FolderStack_construct(Ark_Int32 id, Ark_Int32 flags) {
10107         return GetNodeModifiers()->getFolderStackModifier()->construct(id, flags);
10108 }
KOALA_INTEROP_DIRECT_2(FolderStack_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10109 KOALA_INTEROP_DIRECT_2(FolderStack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10110 void impl_FolderStackInterface_setFolderStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10111         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10112         Deserializer thisDeserializer(thisArray, thisLength);
10113         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10114         Opt_FolderStackOptions options_value_buf = {};
10115         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10116         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
10117         {
10118             options_value_buf.value = thisDeserializer.readFolderStackOptions();
10119         }
10120         Opt_FolderStackOptions options_value = options_value_buf;;
10121         GetNodeModifiers()->getFolderStackModifier()->setFolderStackOptions(self, (const Opt_FolderStackOptions*)&options_value);
10122 }
KOALA_INTEROP_DIRECT_V3(FolderStackInterface_setFolderStackOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10123 KOALA_INTEROP_DIRECT_V3(FolderStackInterface_setFolderStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10124 void impl_FolderStackAttribute_alignContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10125         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10126         Deserializer thisDeserializer(thisArray, thisLength);
10127         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10128         Opt_Alignment value_value_buf = {};
10129         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10130         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10131         {
10132             value_value_buf.value = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
10133         }
10134         Opt_Alignment value_value = value_value_buf;;
10135         GetNodeModifiers()->getFolderStackModifier()->setAlignContent(self, (const Opt_Alignment*)&value_value);
10136 }
KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_alignContent,Ark_NativePointer,KSerializerBuffer,int32_t)10137 KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_alignContent, Ark_NativePointer, KSerializerBuffer, int32_t)
10138 void impl_FolderStackAttribute_onFolderStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10139         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10140         Deserializer thisDeserializer(thisArray, thisLength);
10141         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10142         Opt_OnFoldStatusChangeCallback value_value_buf = {};
10143         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10144         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10145         {
10146             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnFoldStatusChangeInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnFoldStatusChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnFoldStatusChangeInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnFoldStatusChangeCallback))))};
10147         }
10148         Opt_OnFoldStatusChangeCallback value_value = value_value_buf;;
10149         GetNodeModifiers()->getFolderStackModifier()->setOnFolderStateChange(self, (const Opt_OnFoldStatusChangeCallback*)&value_value);
10150 }
KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onFolderStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)10151 KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onFolderStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
10152 void impl_FolderStackAttribute_onHoverStatusChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10153         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10154         Deserializer thisDeserializer(thisArray, thisLength);
10155         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10156         Opt_OnHoverStatusChangeCallback value_value_buf = {};
10157         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10158         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10159         {
10160             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_HoverEventParam param)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnHoverStatusChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_HoverEventParam param)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnHoverStatusChangeCallback))))};
10161         }
10162         Opt_OnHoverStatusChangeCallback value_value = value_value_buf;;
10163         GetNodeModifiers()->getFolderStackModifier()->setOnHoverStatusChange(self, (const Opt_OnHoverStatusChangeCallback*)&value_value);
10164 }
KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onHoverStatusChange,Ark_NativePointer,KSerializerBuffer,int32_t)10165 KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onHoverStatusChange, Ark_NativePointer, KSerializerBuffer, int32_t)
10166 void impl_FolderStackAttribute_enableAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10167         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10168         Deserializer thisDeserializer(thisArray, thisLength);
10169         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10170         Opt_Boolean value_value_buf = {};
10171         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10172         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10173         {
10174             value_value_buf.value = thisDeserializer.readBoolean();
10175         }
10176         Opt_Boolean value_value = value_value_buf;;
10177         GetNodeModifiers()->getFolderStackModifier()->setEnableAnimation(self, (const Opt_Boolean*)&value_value);
10178 }
KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_enableAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)10179 KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_enableAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
10180 void impl_FolderStackAttribute_autoHalfFold(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10181         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10182         Deserializer thisDeserializer(thisArray, thisLength);
10183         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10184         Opt_Boolean value_value_buf = {};
10185         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10186         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10187         {
10188             value_value_buf.value = thisDeserializer.readBoolean();
10189         }
10190         Opt_Boolean value_value = value_value_buf;;
10191         GetNodeModifiers()->getFolderStackModifier()->setAutoHalfFold(self, (const Opt_Boolean*)&value_value);
10192 }
KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_autoHalfFold,Ark_NativePointer,KSerializerBuffer,int32_t)10193 KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_autoHalfFold, Ark_NativePointer, KSerializerBuffer, int32_t)
10194 Ark_NativePointer impl_FormComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
10195         return GetNodeModifiers()->getFormComponentModifier()->construct(id, flags);
10196 }
KOALA_INTEROP_DIRECT_2(FormComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10197 KOALA_INTEROP_DIRECT_2(FormComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10198 void impl_FormComponentInterface_setFormComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10199         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10200         Deserializer thisDeserializer(thisArray, thisLength);
10201         Ark_FormInfo value_value = thisDeserializer.readFormInfo();;
10202         GetNodeModifiers()->getFormComponentModifier()->setFormComponentOptions(self, (const Ark_FormInfo*)&value_value);
10203 }
KOALA_INTEROP_DIRECT_V3(FormComponentInterface_setFormComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10204 KOALA_INTEROP_DIRECT_V3(FormComponentInterface_setFormComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10205 void impl_FormComponentAttribute_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10206         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10207         Deserializer thisDeserializer(thisArray, thisLength);
10208         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10209         Opt_SizeOptions value_value_buf = {};
10210         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10211         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10212         {
10213             value_value_buf.value = thisDeserializer.readSizeOptions();
10214         }
10215         Opt_SizeOptions value_value = value_value_buf;;
10216         GetNodeModifiers()->getFormComponentModifier()->setSize(self, (const Opt_SizeOptions*)&value_value);
10217 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_size,Ark_NativePointer,KSerializerBuffer,int32_t)10218 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_size, Ark_NativePointer, KSerializerBuffer, int32_t)
10219 void impl_FormComponentAttribute_moduleName(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10220         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10221         Deserializer thisDeserializer(thisArray, thisLength);
10222         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10223         Opt_String value_value_buf = {};
10224         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10225         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10226         {
10227             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
10228         }
10229         Opt_String value_value = value_value_buf;;
10230         GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, (const Opt_String*)&value_value);
10231 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_moduleName,Ark_NativePointer,KSerializerBuffer,int32_t)10232 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_moduleName, Ark_NativePointer, KSerializerBuffer, int32_t)
10233 void impl_FormComponentAttribute_dimension(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10234         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10235         Deserializer thisDeserializer(thisArray, thisLength);
10236         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10237         Opt_FormDimension value_value_buf = {};
10238         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10239         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10240         {
10241             value_value_buf.value = static_cast<Ark_FormDimension>(thisDeserializer.readInt32());
10242         }
10243         Opt_FormDimension value_value = value_value_buf;;
10244         GetNodeModifiers()->getFormComponentModifier()->setDimension(self, (const Opt_FormDimension*)&value_value);
10245 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_dimension,Ark_NativePointer,KSerializerBuffer,int32_t)10246 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_dimension, Ark_NativePointer, KSerializerBuffer, int32_t)
10247 void impl_FormComponentAttribute_allowUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10248         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10249         Deserializer thisDeserializer(thisArray, thisLength);
10250         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10251         Opt_Boolean value_value_buf = {};
10252         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10253         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10254         {
10255             value_value_buf.value = thisDeserializer.readBoolean();
10256         }
10257         Opt_Boolean value_value = value_value_buf;;
10258         GetNodeModifiers()->getFormComponentModifier()->setAllowUpdate(self, (const Opt_Boolean*)&value_value);
10259 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_allowUpdate,Ark_NativePointer,KSerializerBuffer,int32_t)10260 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_allowUpdate, Ark_NativePointer, KSerializerBuffer, int32_t)
10261 void impl_FormComponentAttribute_visibility(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10262         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10263         Deserializer thisDeserializer(thisArray, thisLength);
10264         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10265         Opt_Visibility value_value_buf = {};
10266         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10267         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10268         {
10269             value_value_buf.value = static_cast<Ark_Visibility>(thisDeserializer.readInt32());
10270         }
10271         Opt_Visibility value_value = value_value_buf;;
10272         GetNodeModifiers()->getFormComponentModifier()->setVisibility(self, (const Opt_Visibility*)&value_value);
10273 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_visibility,Ark_NativePointer,KSerializerBuffer,int32_t)10274 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_visibility, Ark_NativePointer, KSerializerBuffer, int32_t)
10275 void impl_FormComponentAttribute_onAcquired(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10276         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10277         Deserializer thisDeserializer(thisArray, thisLength);
10278         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10279         Opt_Callback_FormCallbackInfo_Void value_value_buf = {};
10280         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10281         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10282         {
10283             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FormCallbackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FormCallbackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};
10284         }
10285         Opt_Callback_FormCallbackInfo_Void value_value = value_value_buf;;
10286         GetNodeModifiers()->getFormComponentModifier()->setOnAcquired(self, (const Opt_Callback_FormCallbackInfo_Void*)&value_value);
10287 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onAcquired,Ark_NativePointer,KSerializerBuffer,int32_t)10288 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onAcquired, Ark_NativePointer, KSerializerBuffer, int32_t)
10289 void impl_FormComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10290         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10291         Deserializer thisDeserializer(thisArray, thisLength);
10292         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10293         Opt_Callback_Literal_Number_errcode_String_msg_Void value_value_buf = {};
10294         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10295         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10296         {
10297             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Literal_Number_errcode_String_msg info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Literal_Number_errcode_String_msg_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Literal_Number_errcode_String_msg info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_errcode_String_msg_Void))))};
10298         }
10299         Opt_Callback_Literal_Number_errcode_String_msg_Void value_value = value_value_buf;;
10300         GetNodeModifiers()->getFormComponentModifier()->setOnError(self, (const Opt_Callback_Literal_Number_errcode_String_msg_Void*)&value_value);
10301 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)10302 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
10303 void impl_FormComponentAttribute_onRouter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10304         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10305         Deserializer thisDeserializer(thisArray, thisLength);
10306         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10307         Opt_Callback_Any_Void value_value_buf = {};
10308         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10309         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10310         {
10311             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Object info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Any_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Object info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Any_Void))))};
10312         }
10313         Opt_Callback_Any_Void value_value = value_value_buf;;
10314         GetNodeModifiers()->getFormComponentModifier()->setOnRouter(self, (const Opt_Callback_Any_Void*)&value_value);
10315 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onRouter,Ark_NativePointer,KSerializerBuffer,int32_t)10316 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onRouter, Ark_NativePointer, KSerializerBuffer, int32_t)
10317 void impl_FormComponentAttribute_onUninstall(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10318         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10319         Deserializer thisDeserializer(thisArray, thisLength);
10320         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10321         Opt_Callback_FormCallbackInfo_Void value_value_buf = {};
10322         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10323         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10324         {
10325             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FormCallbackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FormCallbackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};
10326         }
10327         Opt_Callback_FormCallbackInfo_Void value_value = value_value_buf;;
10328         GetNodeModifiers()->getFormComponentModifier()->setOnUninstall(self, (const Opt_Callback_FormCallbackInfo_Void*)&value_value);
10329 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onUninstall,Ark_NativePointer,KSerializerBuffer,int32_t)10330 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onUninstall, Ark_NativePointer, KSerializerBuffer, int32_t)
10331 void impl_FormComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10332         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10333         Deserializer thisDeserializer(thisArray, thisLength);
10334         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10335         Opt_Callback_Void value_value_buf = {};
10336         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10337         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10338         {
10339             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
10340         }
10341         Opt_Callback_Void value_value = value_value_buf;;
10342         GetNodeModifiers()->getFormComponentModifier()->setOnLoad(self, (const Opt_Callback_Void*)&value_value);
10343 }
KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onLoad,Ark_NativePointer,KSerializerBuffer,int32_t)10344 KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t)
10345 Ark_NativePointer impl_FormLink_construct(Ark_Int32 id, Ark_Int32 flags) {
10346         return GetNodeModifiers()->getFormLinkModifier()->construct(id, flags);
10347 }
KOALA_INTEROP_DIRECT_2(FormLink_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10348 KOALA_INTEROP_DIRECT_2(FormLink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10349 void impl_FormLinkInterface_setFormLinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10350         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10351         Deserializer thisDeserializer(thisArray, thisLength);
10352         Ark_FormLinkOptions options_value = thisDeserializer.readFormLinkOptions();;
10353         GetNodeModifiers()->getFormLinkModifier()->setFormLinkOptions(self, (const Ark_FormLinkOptions*)&options_value);
10354 }
KOALA_INTEROP_DIRECT_V3(FormLinkInterface_setFormLinkOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10355 KOALA_INTEROP_DIRECT_V3(FormLinkInterface_setFormLinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10356 Ark_NativePointer impl_Gauge_construct(Ark_Int32 id, Ark_Int32 flags) {
10357         return GetNodeModifiers()->getGaugeModifier()->construct(id, flags);
10358 }
KOALA_INTEROP_DIRECT_2(Gauge_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10359 KOALA_INTEROP_DIRECT_2(Gauge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10360 void impl_GaugeInterface_setGaugeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10361         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10362         Deserializer thisDeserializer(thisArray, thisLength);
10363         Ark_GaugeOptions options_value = thisDeserializer.readGaugeOptions();;
10364         GetNodeModifiers()->getGaugeModifier()->setGaugeOptions(self, (const Ark_GaugeOptions*)&options_value);
10365 }
KOALA_INTEROP_DIRECT_V3(GaugeInterface_setGaugeOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10366 KOALA_INTEROP_DIRECT_V3(GaugeInterface_setGaugeOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10367 void impl_GaugeAttribute_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10368         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10369         Deserializer thisDeserializer(thisArray, thisLength);
10370         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10371         Opt_Number value_value_buf = {};
10372         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10373         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10374         {
10375             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10376         }
10377         Opt_Number value_value = value_value_buf;;
10378         GetNodeModifiers()->getGaugeModifier()->setValue(self, (const Opt_Number*)&value_value);
10379 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_value,Ark_NativePointer,KSerializerBuffer,int32_t)10380 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_value, Ark_NativePointer, KSerializerBuffer, int32_t)
10381 void impl_GaugeAttribute_startAngle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10382         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10383         Deserializer thisDeserializer(thisArray, thisLength);
10384         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10385         Opt_Number value_value_buf = {};
10386         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10387         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10388         {
10389             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10390         }
10391         Opt_Number value_value = value_value_buf;;
10392         GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, (const Opt_Number*)&value_value);
10393 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_startAngle,Ark_NativePointer,KSerializerBuffer,int32_t)10394 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_startAngle, Ark_NativePointer, KSerializerBuffer, int32_t)
10395 void impl_GaugeAttribute_endAngle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10396         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10397         Deserializer thisDeserializer(thisArray, thisLength);
10398         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10399         Opt_Number value_value_buf = {};
10400         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10401         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10402         {
10403             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10404         }
10405         Opt_Number value_value = value_value_buf;;
10406         GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, (const Opt_Number*)&value_value);
10407 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_endAngle,Ark_NativePointer,KSerializerBuffer,int32_t)10408 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_endAngle, Ark_NativePointer, KSerializerBuffer, int32_t)
10409 void impl_GaugeAttribute_colors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10410         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10411         Deserializer thisDeserializer(thisArray, thisLength);
10412         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10413         Opt_Type_GaugeAttribute_colors_colors value_value_buf = {};
10414         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10415         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10416         {
10417             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
10418             Ark_Type_GaugeAttribute_colors_colors value_value_buf_ = {};
10419             value_value_buf_.selector = value_value_buf__selector;
10420             if (value_value_buf__selector == 0) {
10421                 value_value_buf_.selector = 0;
10422                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
10423                 Ark_ResourceColor value_value_buf__u = {};
10424                 value_value_buf__u.selector = value_value_buf__u_selector;
10425                 if (value_value_buf__u_selector == 0) {
10426                     value_value_buf__u.selector = 0;
10427                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
10428                 }
10429                 else if (value_value_buf__u_selector == 1) {
10430                     value_value_buf__u.selector = 1;
10431                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
10432                 }
10433                 else if (value_value_buf__u_selector == 2) {
10434                     value_value_buf__u.selector = 2;
10435                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
10436                 }
10437                 else if (value_value_buf__u_selector == 3) {
10438                     value_value_buf__u.selector = 3;
10439                     value_value_buf__u.value3 = thisDeserializer.readResource();
10440                 }
10441                 else {
10442                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
10443                 }
10444                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
10445             }
10446             else if (value_value_buf__selector == 1) {
10447                 value_value_buf_.selector = 1;
10448                 value_value_buf_.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
10449             }
10450             else if (value_value_buf__selector == 2) {
10451                 value_value_buf_.selector = 2;
10452                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
10453                 Array_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf__u = {};
10454                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
10455         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
10456                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
10457                     Ark_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf__u_buf = {};
10458                     const Ark_Int8 value_value_buf__u_buf_value0_buf_selector = thisDeserializer.readInt8();
10459                     Ark_Union_ResourceColor_LinearGradient value_value_buf__u_buf_value0_buf = {};
10460                     value_value_buf__u_buf_value0_buf.selector = value_value_buf__u_buf_value0_buf_selector;
10461                     if (value_value_buf__u_buf_value0_buf_selector == 0) {
10462                         value_value_buf__u_buf_value0_buf.selector = 0;
10463                         const Ark_Int8 value_value_buf__u_buf_value0_buf_u_selector = thisDeserializer.readInt8();
10464                         Ark_ResourceColor value_value_buf__u_buf_value0_buf_u = {};
10465                         value_value_buf__u_buf_value0_buf_u.selector = value_value_buf__u_buf_value0_buf_u_selector;
10466                         if (value_value_buf__u_buf_value0_buf_u_selector == 0) {
10467                             value_value_buf__u_buf_value0_buf_u.selector = 0;
10468                             value_value_buf__u_buf_value0_buf_u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
10469                         }
10470                         else if (value_value_buf__u_buf_value0_buf_u_selector == 1) {
10471                             value_value_buf__u_buf_value0_buf_u.selector = 1;
10472                             value_value_buf__u_buf_value0_buf_u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
10473                         }
10474                         else if (value_value_buf__u_buf_value0_buf_u_selector == 2) {
10475                             value_value_buf__u_buf_value0_buf_u.selector = 2;
10476                             value_value_buf__u_buf_value0_buf_u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
10477                         }
10478                         else if (value_value_buf__u_buf_value0_buf_u_selector == 3) {
10479                             value_value_buf__u_buf_value0_buf_u.selector = 3;
10480                             value_value_buf__u_buf_value0_buf_u.value3 = thisDeserializer.readResource();
10481                         }
10482                         else {
10483                             INTEROP_FATAL("One of the branches for value_value_buf__u_buf_value0_buf_u has to be chosen through deserialisation.");
10484                         }
10485                         value_value_buf__u_buf_value0_buf.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u_buf_value0_buf_u);
10486                     }
10487                     else if (value_value_buf__u_buf_value0_buf_selector == 1) {
10488                         value_value_buf__u_buf_value0_buf.selector = 1;
10489                         value_value_buf__u_buf_value0_buf.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
10490                     }
10491                     else {
10492                         INTEROP_FATAL("One of the branches for value_value_buf__u_buf_value0_buf has to be chosen through deserialisation.");
10493                     }
10494                     value_value_buf__u_buf.value0 = static_cast<Ark_Union_ResourceColor_LinearGradient>(value_value_buf__u_buf_value0_buf);
10495                     value_value_buf__u_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
10496                     value_value_buf__u.array[value_value_buf__u_i] = value_value_buf__u_buf;
10497                 }
10498                 value_value_buf_.value2 = value_value_buf__u;
10499             }
10500             else {
10501                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
10502             }
10503             value_value_buf.value = static_cast<Ark_Type_GaugeAttribute_colors_colors>(value_value_buf_);
10504         }
10505         Opt_Type_GaugeAttribute_colors_colors value_value = value_value_buf;;
10506         GetNodeModifiers()->getGaugeModifier()->setColors(self, (const Opt_Type_GaugeAttribute_colors_colors*)&value_value);
10507 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_colors,Ark_NativePointer,KSerializerBuffer,int32_t)10508 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_colors, Ark_NativePointer, KSerializerBuffer, int32_t)
10509 void impl_GaugeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10511         Deserializer thisDeserializer(thisArray, thisLength);
10512         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10513         Opt_Length value_value_buf = {};
10514         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10515         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10516         {
10517             value_value_buf.value = thisDeserializer.readLength();
10518         }
10519         Opt_Length value_value = value_value_buf;;
10520         GetNodeModifiers()->getGaugeModifier()->setStrokeWidth(self, (const Opt_Length*)&value_value);
10521 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_strokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)10522 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
10523 void impl_GaugeAttribute_description(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10524         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10525         Deserializer thisDeserializer(thisArray, thisLength);
10526         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10527         Opt_CustomNodeBuilder value_value_buf = {};
10528         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10529         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10530         {
10531             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
10532         }
10533         Opt_CustomNodeBuilder value_value = value_value_buf;;
10534         GetNodeModifiers()->getGaugeModifier()->setDescription(self, (const Opt_CustomNodeBuilder*)&value_value);
10535 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_description,Ark_NativePointer,KSerializerBuffer,int32_t)10536 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_description, Ark_NativePointer, KSerializerBuffer, int32_t)
10537 void impl_NodeContainerInterface_setAboutToDisappear(
10538     Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
10539 {
10540         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10541         Deserializer thisDeserializer(thisArray, thisLength);
10542         Callback_Void value_value = { thisDeserializer.readCallbackResource(),
10543             reinterpret_cast<void (*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(
10544                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))),
10545             reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(
10546                 thisDeserializer.readPointerOrDefault(
10547                     reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void)))) };
10548         GetNodeModifiers()->getNodeContainerModifier()->setAboutToDisappear(self, (const Callback_Void*)&value_value);
10549 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToDisappear,Ark_NativePointer,KSerializerBuffer,Ark_Int32)10550 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToDisappear, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
10551 void impl_NodeContainerInterface_setAboutToResize(
10552     Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
10553 {
10554         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10555         Deserializer thisDeserializer(thisArray, thisLength);
10556         NodeContainer_AboutToResizeCallback callback_value = { thisDeserializer.readCallbackResource(),
10557             reinterpret_cast<void (*)(const Ark_Int32 resourceId, const Ark_Size size)>(
10558                 thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(
10559                     getManagedCallbackCaller(Kind_NodeContainer_AboutToResizeCallback)))),
10560             reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Size size)>(
10561                 thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(
10562                     getManagedCallbackCallerSync(Kind_NodeContainer_AboutToResizeCallback)))) };
10563         ;
10564         GetNodeModifiers()->getNodeContainerModifier()->setAboutToResize(
10565             self, (const NodeContainer_AboutToResizeCallback*)&callback_value);
10566 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToResize,Ark_NativePointer,KSerializerBuffer,Ark_Int32)10567 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setAboutToResize, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
10568 void impl_NodeContainerInterface_setOnAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
10569 {
10570         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10571         Deserializer thisDeserializer(thisArray, thisLength);
10572         Callback_Void value_value = { thisDeserializer.readCallbackResource(),
10573             reinterpret_cast<void (*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(
10574                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))),
10575             reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(
10576                 thisDeserializer.readPointerOrDefault(
10577                     reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void)))) };
10578         GetNodeModifiers()->getNodeContainerModifier()->setOnAttach(self, (const Callback_Void*)&value_value);
10579 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnAttach,Ark_NativePointer,KSerializerBuffer,Ark_Int32)10580 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnAttach, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
10581 void impl_NodeContainerInterface_setOnDetach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
10582 {
10583         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10584         Deserializer thisDeserializer(thisArray, thisLength);
10585         Callback_Void value_value = { thisDeserializer.readCallbackResource(),
10586             reinterpret_cast<void (*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(
10587                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))),
10588             reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(
10589                 thisDeserializer.readPointerOrDefault(
10590                     reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void)))) };
10591         GetNodeModifiers()->getNodeContainerModifier()->setOnDetach(self, (const Callback_Void*)&value_value);
10592 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnDetach,Ark_NativePointer,KSerializerBuffer,Ark_Int32)10593 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnDetach, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
10594 void impl_NodeContainerInterface_setOnTouchEvent(
10595     Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength)
10596 {
10597         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10598         Deserializer thisDeserializer(thisArray, thisLength);
10599         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10600         Opt_Callback_TouchEvent_Void value_value_buf = {};
10601         value_value_buf.tag =
10602             value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10603         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) {
10604             value_value_buf.value = { thisDeserializer.readCallbackResource(),
10605                 reinterpret_cast<void (*)(const Ark_Int32 resourceId, const Ark_TouchEvent event)>(
10606                     thisDeserializer.readPointerOrDefault(
10607                         reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))),
10608                 reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TouchEvent event)>(
10609                     thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(
10610                         getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void)))) };
10611         }
10612         Opt_Callback_TouchEvent_Void value_value = value_value_buf;
10613         GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, (const Opt_Callback_TouchEvent_Void*)&value_value);
10614 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnTouchEvent,Ark_NativePointer,KSerializerBuffer,Ark_Int32)10615 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setOnTouchEvent, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
10616 void impl_GaugeAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10617         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10618         Deserializer thisDeserializer(thisArray, thisLength);
10619         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10620         Opt_GaugeShadowOptions value_value_buf = {};
10621         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10622         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10623         {
10624             value_value_buf.value = thisDeserializer.readGaugeShadowOptions();
10625         }
10626         Opt_GaugeShadowOptions value_value = value_value_buf;;
10627         GetNodeModifiers()->getGaugeModifier()->setTrackShadow(self, (const Opt_GaugeShadowOptions*)&value_value);
10628 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_trackShadow,Ark_NativePointer,KSerializerBuffer,int32_t)10629 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
10630 void impl_GaugeAttribute_indicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10631         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10632         Deserializer thisDeserializer(thisArray, thisLength);
10633         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10634         Opt_GaugeIndicatorOptions value_value_buf = {};
10635         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10636         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10637         {
10638             value_value_buf.value = thisDeserializer.readGaugeIndicatorOptions();
10639         }
10640         Opt_GaugeIndicatorOptions value_value = value_value_buf;;
10641         GetNodeModifiers()->getGaugeModifier()->setIndicator(self, (const Opt_GaugeIndicatorOptions*)&value_value);
10642 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_indicator,Ark_NativePointer,KSerializerBuffer,int32_t)10643 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_indicator, Ark_NativePointer, KSerializerBuffer, int32_t)
10644 void impl_GaugeAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10645         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10646         Deserializer thisDeserializer(thisArray, thisLength);
10647         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10648         Opt_Boolean value_value_buf = {};
10649         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10650         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10651         {
10652             value_value_buf.value = thisDeserializer.readBoolean();
10653         }
10654         Opt_Boolean value_value = value_value_buf;;
10655         GetNodeModifiers()->getGaugeModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value);
10656 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_privacySensitive,Ark_NativePointer,KSerializerBuffer,int32_t)10657 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t)
10658 void impl_GaugeAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10659         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10660         Deserializer thisDeserializer(thisArray, thisLength);
10661         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10662         Opt_ContentModifier value_value_buf = {};
10663         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10664         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10665         {
10666             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
10667         }
10668         Opt_ContentModifier value_value = value_value_buf;;
10669         GetNodeModifiers()->getGaugeModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
10670 }
KOALA_INTEROP_DIRECT_V3(GaugeAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)10671 KOALA_INTEROP_DIRECT_V3(GaugeAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
10672 Ark_NativePointer impl_Grid_construct(Ark_Int32 id, Ark_Int32 flags) {
10673         return GetNodeModifiers()->getGridModifier()->construct(id, flags);
10674 }
KOALA_INTEROP_DIRECT_2(Grid_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)10675 KOALA_INTEROP_DIRECT_2(Grid_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
10676 void impl_GridInterface_setGridOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10677         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10678         Deserializer thisDeserializer(thisArray, thisLength);
10679         const auto scroller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10680         Opt_Scroller scroller_value_buf = {};
10681         scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10682         if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType))
10683         {
10684             scroller_value_buf.value = static_cast<Ark_Scroller>(thisDeserializer.readScroller());
10685         }
10686         Opt_Scroller scroller_value = scroller_value_buf;;
10687         const auto layoutOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10688         Opt_GridLayoutOptions layoutOptions_value_buf = {};
10689         layoutOptions_value_buf.tag = layoutOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10690         if ((INTEROP_RUNTIME_UNDEFINED) != (layoutOptions_value_buf_runtimeType))
10691         {
10692             layoutOptions_value_buf.value = thisDeserializer.readGridLayoutOptions();
10693         }
10694         Opt_GridLayoutOptions layoutOptions_value = layoutOptions_value_buf;;
10695         GetNodeModifiers()->getGridModifier()->setGridOptions(self, (const Opt_Scroller*)&scroller_value, (const Opt_GridLayoutOptions*)&layoutOptions_value);
10696 }
KOALA_INTEROP_DIRECT_V3(GridInterface_setGridOptions,Ark_NativePointer,KSerializerBuffer,int32_t)10697 KOALA_INTEROP_DIRECT_V3(GridInterface_setGridOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
10698 void impl_GridAttribute_columnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10699         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10700         Deserializer thisDeserializer(thisArray, thisLength);
10701         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10702         Opt_String value_value_buf = {};
10703         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10704         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10705         {
10706             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
10707         }
10708         Opt_String value_value = value_value_buf;;
10709         GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, (const Opt_String*)&value_value);
10710 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsTemplate,Ark_NativePointer,KSerializerBuffer,int32_t)10711 KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t)
10712 void impl_GridAttribute_rowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10713         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10714         Deserializer thisDeserializer(thisArray, thisLength);
10715         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10716         Opt_String value_value_buf = {};
10717         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10718         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10719         {
10720             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
10721         }
10722         Opt_String value_value = value_value_buf;;
10723         GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, (const Opt_String*)&value_value);
10724 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsTemplate,Ark_NativePointer,KSerializerBuffer,int32_t)10725 KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t)
10726 void impl_GridAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10727         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10728         Deserializer thisDeserializer(thisArray, thisLength);
10729         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10730         Opt_Length value_value_buf = {};
10731         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10732         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10733         {
10734             value_value_buf.value = thisDeserializer.readLength();
10735         }
10736         Opt_Length value_value = value_value_buf;;
10737         GetNodeModifiers()->getGridModifier()->setColumnsGap(self, (const Opt_Length*)&value_value);
10738 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsGap,Ark_NativePointer,KSerializerBuffer,int32_t)10739 KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
10740 void impl_GridAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10741         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10742         Deserializer thisDeserializer(thisArray, thisLength);
10743         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10744         Opt_Length value_value_buf = {};
10745         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10746         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10747         {
10748             value_value_buf.value = thisDeserializer.readLength();
10749         }
10750         Opt_Length value_value = value_value_buf;;
10751         GetNodeModifiers()->getGridModifier()->setRowsGap(self, (const Opt_Length*)&value_value);
10752 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsGap,Ark_NativePointer,KSerializerBuffer,int32_t)10753 KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
10754 void impl_GridAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10755         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10756         Deserializer thisDeserializer(thisArray, thisLength);
10757         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10758         Opt_Union_Number_String value_value_buf = {};
10759         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10760         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10761         {
10762             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
10763             Ark_Union_Number_String value_value_buf_ = {};
10764             value_value_buf_.selector = value_value_buf__selector;
10765             if (value_value_buf__selector == 0) {
10766                 value_value_buf_.selector = 0;
10767                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
10768             }
10769             else if (value_value_buf__selector == 1) {
10770                 value_value_buf_.selector = 1;
10771                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
10772             }
10773             else {
10774                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
10775             }
10776             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
10777         }
10778         Opt_Union_Number_String value_value = value_value_buf;;
10779         GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, (const Opt_Union_Number_String*)&value_value);
10780 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarWidth,Ark_NativePointer,KSerializerBuffer,int32_t)10781 KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
10782 void impl_GridAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10783         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10784         Deserializer thisDeserializer(thisArray, thisLength);
10785         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10786         Opt_Union_Color_Number_String value_value_buf = {};
10787         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10788         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10789         {
10790             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
10791             Ark_Union_Color_Number_String value_value_buf_ = {};
10792             value_value_buf_.selector = value_value_buf__selector;
10793             if (value_value_buf__selector == 0) {
10794                 value_value_buf_.selector = 0;
10795                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
10796             }
10797             else if (value_value_buf__selector == 1) {
10798                 value_value_buf_.selector = 1;
10799                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
10800             }
10801             else if (value_value_buf__selector == 2) {
10802                 value_value_buf_.selector = 2;
10803                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
10804             }
10805             else {
10806                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
10807             }
10808             value_value_buf.value = static_cast<Ark_Union_Color_Number_String>(value_value_buf_);
10809         }
10810         Opt_Union_Color_Number_String value_value = value_value_buf;;
10811         GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, (const Opt_Union_Color_Number_String*)&value_value);
10812 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarColor,Ark_NativePointer,KSerializerBuffer,int32_t)10813 KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t)
10814 void impl_GridAttribute_scrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10815         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10816         Deserializer thisDeserializer(thisArray, thisLength);
10817         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10818         Opt_BarState value_value_buf = {};
10819         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10820         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10821         {
10822             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
10823         }
10824         Opt_BarState value_value = value_value_buf;;
10825         GetNodeModifiers()->getGridModifier()->setScrollBar(self, (const Opt_BarState*)&value_value);
10826 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBar,Ark_NativePointer,KSerializerBuffer,int32_t)10827 KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBar, Ark_NativePointer, KSerializerBuffer, int32_t)
10828 void impl_GridAttribute_onScrollBarUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10829         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10830         Deserializer thisDeserializer(thisArray, thisLength);
10831         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10832         Opt_Callback_Number_Number_ComputedBarAttribute value_value_buf = {};
10833         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10834         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10835         {
10836             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number offset, const Callback_ComputedBarAttribute_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_ComputedBarAttribute)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number offset, const Callback_ComputedBarAttribute_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_ComputedBarAttribute))))};
10837         }
10838         Opt_Callback_Number_Number_ComputedBarAttribute value_value = value_value_buf;;
10839         GetNodeModifiers()->getGridModifier()->setOnScrollBarUpdate(self, (const Opt_Callback_Number_Number_ComputedBarAttribute*)&value_value);
10840 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollBarUpdate,Ark_NativePointer,KSerializerBuffer,int32_t)10841 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollBarUpdate, Ark_NativePointer, KSerializerBuffer, int32_t)
10842 void impl_GridAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10843         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10844         Deserializer thisDeserializer(thisArray, thisLength);
10845         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10846         Opt_Callback_Number_Number_Void value_value_buf = {};
10847         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10848         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10849         {
10850             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
10851         }
10852         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
10853         GetNodeModifiers()->getGridModifier()->setOnScrollIndex(self, (const Opt_Callback_Number_Number_Void*)&value_value);
10854 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollIndex,Ark_NativePointer,KSerializerBuffer,int32_t)10855 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
10856 void impl_GridAttribute_cachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10857         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10858         Deserializer thisDeserializer(thisArray, thisLength);
10859         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10860         Opt_Number value_value_buf = {};
10861         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10862         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10863         {
10864             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10865         }
10866         Opt_Number value_value = value_value_buf;;
10867         GetNodeModifiers()->getGridModifier()->setCachedCount0(self, (const Opt_Number*)&value_value);
10868 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount0,Ark_NativePointer,KSerializerBuffer,int32_t)10869 KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t)
10870 void impl_GridAttribute_cachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10871         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10872         Deserializer thisDeserializer(thisArray, thisLength);
10873         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10874         Opt_Number count_value_buf = {};
10875         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10876         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
10877         {
10878             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10879         }
10880         Opt_Number count_value = count_value_buf;;
10881         const auto show_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10882         Opt_Boolean show_value_buf = {};
10883         show_value_buf.tag = show_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10884         if ((INTEROP_RUNTIME_UNDEFINED) != (show_value_buf_runtimeType))
10885         {
10886             show_value_buf.value = thisDeserializer.readBoolean();
10887         }
10888         Opt_Boolean show_value = show_value_buf;;
10889         GetNodeModifiers()->getGridModifier()->setCachedCount1(self, (const Opt_Number*)&count_value, (const Opt_Boolean*)&show_value);
10890 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount1,Ark_NativePointer,KSerializerBuffer,int32_t)10891 KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t)
10892 void impl_GridAttribute_editMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10893         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10894         Deserializer thisDeserializer(thisArray, thisLength);
10895         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10896         Opt_Boolean value_value_buf = {};
10897         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10898         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10899         {
10900             value_value_buf.value = thisDeserializer.readBoolean();
10901         }
10902         Opt_Boolean value_value = value_value_buf;;
10903         GetNodeModifiers()->getGridModifier()->setEditMode(self, (const Opt_Boolean*)&value_value);
10904 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_editMode,Ark_NativePointer,KSerializerBuffer,int32_t)10905 KOALA_INTEROP_DIRECT_V3(GridAttribute_editMode, Ark_NativePointer, KSerializerBuffer, int32_t)
10906 void impl_GridAttribute_multiSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10907         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10908         Deserializer thisDeserializer(thisArray, thisLength);
10909         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10910         Opt_Boolean value_value_buf = {};
10911         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10912         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10913         {
10914             value_value_buf.value = thisDeserializer.readBoolean();
10915         }
10916         Opt_Boolean value_value = value_value_buf;;
10917         GetNodeModifiers()->getGridModifier()->setMultiSelectable(self, (const Opt_Boolean*)&value_value);
10918 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_multiSelectable,Ark_NativePointer,KSerializerBuffer,int32_t)10919 KOALA_INTEROP_DIRECT_V3(GridAttribute_multiSelectable, Ark_NativePointer, KSerializerBuffer, int32_t)
10920 void impl_GridAttribute_maxCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10921         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10922         Deserializer thisDeserializer(thisArray, thisLength);
10923         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10924         Opt_Number value_value_buf = {};
10925         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10926         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10927         {
10928             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10929         }
10930         Opt_Number value_value = value_value_buf;;
10931         GetNodeModifiers()->getGridModifier()->setMaxCount(self, (const Opt_Number*)&value_value);
10932 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_maxCount,Ark_NativePointer,KSerializerBuffer,int32_t)10933 KOALA_INTEROP_DIRECT_V3(GridAttribute_maxCount, Ark_NativePointer, KSerializerBuffer, int32_t)
10934 void impl_GridAttribute_minCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10935         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10936         Deserializer thisDeserializer(thisArray, thisLength);
10937         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10938         Opt_Number value_value_buf = {};
10939         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10940         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10941         {
10942             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10943         }
10944         Opt_Number value_value = value_value_buf;;
10945         GetNodeModifiers()->getGridModifier()->setMinCount(self, (const Opt_Number*)&value_value);
10946 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_minCount,Ark_NativePointer,KSerializerBuffer,int32_t)10947 KOALA_INTEROP_DIRECT_V3(GridAttribute_minCount, Ark_NativePointer, KSerializerBuffer, int32_t)
10948 void impl_GridAttribute_cellLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10949         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10950         Deserializer thisDeserializer(thisArray, thisLength);
10951         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10952         Opt_Number value_value_buf = {};
10953         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10954         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10955         {
10956             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
10957         }
10958         Opt_Number value_value = value_value_buf;;
10959         GetNodeModifiers()->getGridModifier()->setCellLength(self, (const Opt_Number*)&value_value);
10960 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_cellLength,Ark_NativePointer,KSerializerBuffer,int32_t)10961 KOALA_INTEROP_DIRECT_V3(GridAttribute_cellLength, Ark_NativePointer, KSerializerBuffer, int32_t)
10962 void impl_GridAttribute_layoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10963         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10964         Deserializer thisDeserializer(thisArray, thisLength);
10965         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10966         Opt_GridDirection value_value_buf = {};
10967         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10968         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10969         {
10970             value_value_buf.value = static_cast<Ark_GridDirection>(thisDeserializer.readInt32());
10971         }
10972         Opt_GridDirection value_value = value_value_buf;;
10973         GetNodeModifiers()->getGridModifier()->setLayoutDirection(self, (const Opt_GridDirection*)&value_value);
10974 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_layoutDirection,Ark_NativePointer,KSerializerBuffer,int32_t)10975 KOALA_INTEROP_DIRECT_V3(GridAttribute_layoutDirection, Ark_NativePointer, KSerializerBuffer, int32_t)
10976 void impl_GridAttribute_supportAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10977         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10978         Deserializer thisDeserializer(thisArray, thisLength);
10979         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10980         Opt_Boolean value_value_buf = {};
10981         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10982         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10983         {
10984             value_value_buf.value = thisDeserializer.readBoolean();
10985         }
10986         Opt_Boolean value_value = value_value_buf;;
10987         GetNodeModifiers()->getGridModifier()->setSupportAnimation(self, (const Opt_Boolean*)&value_value);
10988 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_supportAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)10989 KOALA_INTEROP_DIRECT_V3(GridAttribute_supportAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
10990 void impl_GridAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
10991         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
10992         Deserializer thisDeserializer(thisArray, thisLength);
10993         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
10994         Opt_GridAttribute_onItemDragStart_event_type value_value_buf = {};
10995         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
10996         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
10997         {
10998             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_GridAttribute_onItemDragStart_event_type)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_GridAttribute_onItemDragStart_event_type))))};
10999         }
11000         Opt_GridAttribute_onItemDragStart_event_type value_value = value_value_buf;;
11001         GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, (const Opt_GridAttribute_onItemDragStart_event_type*)&value_value);
11002 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragStart,Ark_NativePointer,KSerializerBuffer,int32_t)11003 KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t)
11004 void impl_GridAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11005         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11006         Deserializer thisDeserializer(thisArray, thisLength);
11007         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11008         Opt_Callback_ItemDragInfo_Void value_value_buf = {};
11009         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11010         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11011         {
11012             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Void))))};
11013         }
11014         Opt_Callback_ItemDragInfo_Void value_value = value_value_buf;;
11015         GetNodeModifiers()->getGridModifier()->setOnItemDragEnter(self, (const Opt_Callback_ItemDragInfo_Void*)&value_value);
11016 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragEnter,Ark_NativePointer,KSerializerBuffer,int32_t)11017 KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t)
11018 void impl_GridAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11019         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11020         Deserializer thisDeserializer(thisArray, thisLength);
11021         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11022         Opt_Callback_ItemDragInfo_Number_Number_Void value_value_buf = {};
11023         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11024         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11025         {
11026             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Void))))};
11027         }
11028         Opt_Callback_ItemDragInfo_Number_Number_Void value_value = value_value_buf;;
11029         GetNodeModifiers()->getGridModifier()->setOnItemDragMove(self, (const Opt_Callback_ItemDragInfo_Number_Number_Void*)&value_value);
11030 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragMove,Ark_NativePointer,KSerializerBuffer,int32_t)11031 KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t)
11032 void impl_GridAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11033         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11034         Deserializer thisDeserializer(thisArray, thisLength);
11035         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11036         Opt_Callback_ItemDragInfo_Number_Void value_value_buf = {};
11037         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11038         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11039         {
11040             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Void))))};
11041         }
11042         Opt_Callback_ItemDragInfo_Number_Void value_value = value_value_buf;;
11043         GetNodeModifiers()->getGridModifier()->setOnItemDragLeave(self, (const Opt_Callback_ItemDragInfo_Number_Void*)&value_value);
11044 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragLeave,Ark_NativePointer,KSerializerBuffer,int32_t)11045 KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t)
11046 void impl_GridAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11047         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11048         Deserializer thisDeserializer(thisArray, thisLength);
11049         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11050         Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void value_value_buf = {};
11051         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11052         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11053         {
11054             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void))))};
11055         }
11056         Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void value_value = value_value_buf;;
11057         GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, (const Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value);
11058 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDrop,Ark_NativePointer,KSerializerBuffer,int32_t)11059 KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t)
11060 void impl_GridAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11061         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11062         Deserializer thisDeserializer(thisArray, thisLength);
11063         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11064         Opt_NestedScrollOptions value_value_buf = {};
11065         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11066         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11067         {
11068             value_value_buf.value = thisDeserializer.readNestedScrollOptions();
11069         }
11070         Opt_NestedScrollOptions value_value = value_value_buf;;
11071         GetNodeModifiers()->getGridModifier()->setNestedScroll(self, (const Opt_NestedScrollOptions*)&value_value);
11072 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)11073 KOALA_INTEROP_DIRECT_V3(GridAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
11074 void impl_GridAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11075         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11076         Deserializer thisDeserializer(thisArray, thisLength);
11077         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11078         Opt_Boolean value_value_buf = {};
11079         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11080         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11081         {
11082             value_value_buf.value = thisDeserializer.readBoolean();
11083         }
11084         Opt_Boolean value_value = value_value_buf;;
11085         GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, (const Opt_Boolean*)&value_value);
11086 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_enableScrollInteraction,Ark_NativePointer,KSerializerBuffer,int32_t)11087 KOALA_INTEROP_DIRECT_V3(GridAttribute_enableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t)
11088 void impl_GridAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11089         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11090         Deserializer thisDeserializer(thisArray, thisLength);
11091         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11092         Opt_Union_Number_Resource value_value_buf = {};
11093         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11094         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11095         {
11096             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11097             Ark_Union_Number_Resource value_value_buf_ = {};
11098             value_value_buf_.selector = value_value_buf__selector;
11099             if (value_value_buf__selector == 0) {
11100                 value_value_buf_.selector = 0;
11101                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11102             }
11103             else if (value_value_buf__selector == 1) {
11104                 value_value_buf_.selector = 1;
11105                 value_value_buf_.value1 = thisDeserializer.readResource();
11106             }
11107             else {
11108                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11109             }
11110             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
11111         }
11112         Opt_Union_Number_Resource value_value = value_value_buf;;
11113         GetNodeModifiers()->getGridModifier()->setFriction(self, (const Opt_Union_Number_Resource*)&value_value);
11114 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_friction,Ark_NativePointer,KSerializerBuffer,int32_t)11115 KOALA_INTEROP_DIRECT_V3(GridAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t)
11116 void impl_GridAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11117         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11118         Deserializer thisDeserializer(thisArray, thisLength);
11119         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11120         Opt_GridItemAlignment value_value_buf = {};
11121         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11122         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11123         {
11124             value_value_buf.value = static_cast<Ark_GridItemAlignment>(thisDeserializer.readInt32());
11125         }
11126         Opt_GridItemAlignment value_value = value_value_buf;;
11127         GetNodeModifiers()->getGridModifier()->setAlignItems(self, (const Opt_GridItemAlignment*)&value_value);
11128 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_alignItems,Ark_NativePointer,KSerializerBuffer,int32_t)11129 KOALA_INTEROP_DIRECT_V3(GridAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t)
11130 void impl_GridAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11131         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11132         Deserializer thisDeserializer(thisArray, thisLength);
11133         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11134         Opt_Callback_Number_Number_Void value_value_buf = {};
11135         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11136         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11137         {
11138             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
11139         }
11140         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
11141         GetNodeModifiers()->getGridModifier()->setOnScroll(self, (const Opt_Callback_Number_Number_Void*)&value_value);
11142 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScroll,Ark_NativePointer,KSerializerBuffer,int32_t)11143 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
11144 void impl_GridAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11145         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11146         Deserializer thisDeserializer(thisArray, thisLength);
11147         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11148         Opt_Callback_Void value_value_buf = {};
11149         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11150         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11151         {
11152             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
11153         }
11154         Opt_Callback_Void value_value = value_value_buf;;
11155         GetNodeModifiers()->getGridModifier()->setOnReachStart(self, (const Opt_Callback_Void*)&value_value);
11156 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachStart,Ark_NativePointer,KSerializerBuffer,int32_t)11157 KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t)
11158 void impl_GridAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11159         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11160         Deserializer thisDeserializer(thisArray, thisLength);
11161         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11162         Opt_Callback_Void value_value_buf = {};
11163         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11164         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11165         {
11166             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
11167         }
11168         Opt_Callback_Void value_value = value_value_buf;;
11169         GetNodeModifiers()->getGridModifier()->setOnReachEnd(self, (const Opt_Callback_Void*)&value_value);
11170 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachEnd,Ark_NativePointer,KSerializerBuffer,int32_t)11171 KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
11172 void impl_GridAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11173         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11174         Deserializer thisDeserializer(thisArray, thisLength);
11175         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11176         Opt_Callback_Void value_value_buf = {};
11177         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11178         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11179         {
11180             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
11181         }
11182         Opt_Callback_Void value_value = value_value_buf;;
11183         GetNodeModifiers()->getGridModifier()->setOnScrollStart(self, (const Opt_Callback_Void*)&value_value);
11184 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStart,Ark_NativePointer,KSerializerBuffer,int32_t)11185 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t)
11186 void impl_GridAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11187         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11188         Deserializer thisDeserializer(thisArray, thisLength);
11189         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11190         Opt_Callback_Void value_value_buf = {};
11191         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11192         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11193         {
11194             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
11195         }
11196         Opt_Callback_Void value_value = value_value_buf;;
11197         GetNodeModifiers()->getGridModifier()->setOnScrollStop(self, (const Opt_Callback_Void*)&value_value);
11198 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStop,Ark_NativePointer,KSerializerBuffer,int32_t)11199 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t)
11200 void impl_GridAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11201         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11202         Deserializer thisDeserializer(thisArray, thisLength);
11203         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11204         Opt_OnScrollFrameBeginCallback value_value_buf = {};
11205         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11206         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11207         {
11208             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))};
11209         }
11210         Opt_OnScrollFrameBeginCallback value_value = value_value_buf;;
11211         GetNodeModifiers()->getGridModifier()->setOnScrollFrameBegin(self, (const Opt_OnScrollFrameBeginCallback*)&value_value);
11212 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollFrameBegin,Ark_NativePointer,KSerializerBuffer,int32_t)11213 KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
11214 void impl_GridAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11215         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11216         Deserializer thisDeserializer(thisArray, thisLength);
11217         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11218         Opt_OnWillScrollCallback value_value_buf = {};
11219         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11220         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11221         {
11222             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnWillScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnWillScrollCallback))))};
11223         }
11224         Opt_OnWillScrollCallback value_value = value_value_buf;;
11225         GetNodeModifiers()->getGridModifier()->setOnWillScroll(self, (const Opt_OnWillScrollCallback*)&value_value);
11226 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onWillScroll,Ark_NativePointer,KSerializerBuffer,int32_t)11227 KOALA_INTEROP_DIRECT_V3(GridAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
11228 void impl_GridAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11229         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11230         Deserializer thisDeserializer(thisArray, thisLength);
11231         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11232         Opt_OnScrollCallback value_value_buf = {};
11233         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11234         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11235         {
11236             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollCallback))))};
11237         }
11238         Opt_OnScrollCallback value_value = value_value_buf;;
11239         GetNodeModifiers()->getGridModifier()->setOnDidScroll(self, (const Opt_OnScrollCallback*)&value_value);
11240 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_onDidScroll,Ark_NativePointer,KSerializerBuffer,int32_t)11241 KOALA_INTEROP_DIRECT_V3(GridAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
11242 void impl_GridAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11243         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11244         Deserializer thisDeserializer(thisArray, thisLength);
11245         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11246         Opt_EdgeEffect value_value_buf = {};
11247         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11248         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11249         {
11250             value_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
11251         }
11252         Opt_EdgeEffect value_value = value_value_buf;;
11253         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11254         Opt_EdgeEffectOptions options_value_buf = {};
11255         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11256         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
11257         {
11258             options_value_buf.value = thisDeserializer.readEdgeEffectOptions();
11259         }
11260         Opt_EdgeEffectOptions options_value = options_value_buf;;
11261         GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&value_value, (const Opt_EdgeEffectOptions*)&options_value);
11262 }
KOALA_INTEROP_DIRECT_V3(GridAttribute_edgeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)11263 KOALA_INTEROP_DIRECT_V3(GridAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
11264 Ark_NativePointer impl_GridItem_construct(Ark_Int32 id, Ark_Int32 flags) {
11265         return GetNodeModifiers()->getGridItemModifier()->construct(id, flags);
11266 }
KOALA_INTEROP_DIRECT_2(GridItem_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11267 KOALA_INTEROP_DIRECT_2(GridItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11268 void impl_GridItemInterface_setGridItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11269         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11270         Deserializer thisDeserializer(thisArray, thisLength);
11271         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11272         Opt_GridItemOptions value_value_buf = {};
11273         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11274         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11275         {
11276             value_value_buf.value = thisDeserializer.readGridItemOptions();
11277         }
11278         Opt_GridItemOptions value_value = value_value_buf;;
11279         GetNodeModifiers()->getGridItemModifier()->setGridItemOptions(self, (const Opt_GridItemOptions*)&value_value);
11280 }
KOALA_INTEROP_DIRECT_V3(GridItemInterface_setGridItemOptions,Ark_NativePointer,KSerializerBuffer,int32_t)11281 KOALA_INTEROP_DIRECT_V3(GridItemInterface_setGridItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
11282 void impl_GridItemAttribute_rowStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11283         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11284         Deserializer thisDeserializer(thisArray, thisLength);
11285         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11286         Opt_Number value_value_buf = {};
11287         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11288         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11289         {
11290             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
11291         }
11292         Opt_Number value_value = value_value_buf;;
11293         GetNodeModifiers()->getGridItemModifier()->setRowStart(self, (const Opt_Number*)&value_value);
11294 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_rowStart,Ark_NativePointer,KSerializerBuffer,int32_t)11295 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_rowStart, Ark_NativePointer, KSerializerBuffer, int32_t)
11296 void impl_GridItemAttribute_rowEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11297         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11298         Deserializer thisDeserializer(thisArray, thisLength);
11299         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11300         Opt_Number value_value_buf = {};
11301         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11302         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11303         {
11304             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
11305         }
11306         Opt_Number value_value = value_value_buf;;
11307         GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, (const Opt_Number*)&value_value);
11308 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_rowEnd,Ark_NativePointer,KSerializerBuffer,int32_t)11309 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_rowEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
11310 void impl_GridItemAttribute_columnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11311         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11312         Deserializer thisDeserializer(thisArray, thisLength);
11313         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11314         Opt_Number value_value_buf = {};
11315         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11316         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11317         {
11318             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
11319         }
11320         Opt_Number value_value = value_value_buf;;
11321         GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, (const Opt_Number*)&value_value);
11322 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_columnStart,Ark_NativePointer,KSerializerBuffer,int32_t)11323 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_columnStart, Ark_NativePointer, KSerializerBuffer, int32_t)
11324 void impl_GridItemAttribute_columnEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11325         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11326         Deserializer thisDeserializer(thisArray, thisLength);
11327         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11328         Opt_Number value_value_buf = {};
11329         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11330         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11331         {
11332             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
11333         }
11334         Opt_Number value_value = value_value_buf;;
11335         GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, (const Opt_Number*)&value_value);
11336 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_columnEnd,Ark_NativePointer,KSerializerBuffer,int32_t)11337 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_columnEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
11338 void impl_GridItemAttribute_forceRebuild(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11339         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11340         Deserializer thisDeserializer(thisArray, thisLength);
11341         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11342         Opt_Boolean value_value_buf = {};
11343         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11344         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11345         {
11346             value_value_buf.value = thisDeserializer.readBoolean();
11347         }
11348         Opt_Boolean value_value = value_value_buf;;
11349         GetNodeModifiers()->getGridItemModifier()->setForceRebuild(self, (const Opt_Boolean*)&value_value);
11350 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_forceRebuild,Ark_NativePointer,KSerializerBuffer,int32_t)11351 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_forceRebuild, Ark_NativePointer, KSerializerBuffer, int32_t)
11352 void impl_GridItemAttribute_selectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11353         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11354         Deserializer thisDeserializer(thisArray, thisLength);
11355         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11356         Opt_Boolean value_value_buf = {};
11357         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11358         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11359         {
11360             value_value_buf.value = thisDeserializer.readBoolean();
11361         }
11362         Opt_Boolean value_value = value_value_buf;;
11363         GetNodeModifiers()->getGridItemModifier()->setSelectable(self, (const Opt_Boolean*)&value_value);
11364 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_selectable,Ark_NativePointer,KSerializerBuffer,int32_t)11365 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_selectable, Ark_NativePointer, KSerializerBuffer, int32_t)
11366 void impl_GridItemAttribute_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11367         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11368         Deserializer thisDeserializer(thisArray, thisLength);
11369         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11370         Opt_Boolean value_value_buf = {};
11371         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11372         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11373         {
11374             value_value_buf.value = thisDeserializer.readBoolean();
11375         }
11376         Opt_Boolean value_value = value_value_buf;;
11377         GetNodeModifiers()->getGridItemModifier()->setSelected(self, (const Opt_Boolean*)&value_value);
11378 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_selected,Ark_NativePointer,KSerializerBuffer,int32_t)11379 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
11380 void impl_GridItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11381         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11382         Deserializer thisDeserializer(thisArray, thisLength);
11383         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11384         Opt_Callback_Boolean_Void value_value_buf = {};
11385         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11386         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11387         {
11388             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
11389         }
11390         Opt_Callback_Boolean_Void value_value = value_value_buf;;
11391         GetNodeModifiers()->getGridItemModifier()->setOnSelect(self, (const Opt_Callback_Boolean_Void*)&value_value);
11392 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute_onSelect,Ark_NativePointer,KSerializerBuffer,int32_t)11393 KOALA_INTEROP_DIRECT_V3(GridItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t)
11394 void impl_GridItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11395         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11396         Deserializer thisDeserializer(thisArray, thisLength);
11397         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
11398         GetNodeModifiers()->getGridItemModifier()->set_onChangeEvent_selected(self, (const Callback_Opt_Boolean_Void*)&callback_value);
11399 }
KOALA_INTEROP_DIRECT_V3(GridItemAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)11400 KOALA_INTEROP_DIRECT_V3(GridItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
11401 Ark_NativePointer impl_GridCol_construct(Ark_Int32 id, Ark_Int32 flags) {
11402         return GetNodeModifiers()->getGridColModifier()->construct(id, flags);
11403 }
KOALA_INTEROP_DIRECT_2(GridCol_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11404 KOALA_INTEROP_DIRECT_2(GridCol_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11405 void impl_GridColInterface_setGridColOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11406         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11407         Deserializer thisDeserializer(thisArray, thisLength);
11408         const auto option_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11409         Opt_GridColOptions option_value_buf = {};
11410         option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11411         if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType))
11412         {
11413             option_value_buf.value = thisDeserializer.readGridColOptions();
11414         }
11415         Opt_GridColOptions option_value = option_value_buf;;
11416         GetNodeModifiers()->getGridColModifier()->setGridColOptions(self, (const Opt_GridColOptions*)&option_value);
11417 }
KOALA_INTEROP_DIRECT_V3(GridColInterface_setGridColOptions,Ark_NativePointer,KSerializerBuffer,int32_t)11418 KOALA_INTEROP_DIRECT_V3(GridColInterface_setGridColOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
11419 void impl_GridColAttribute_span(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11420         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11421         Deserializer thisDeserializer(thisArray, thisLength);
11422         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11423         Opt_Union_Number_GridColColumnOption value_value_buf = {};
11424         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11425         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11426         {
11427             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11428             Ark_Union_Number_GridColColumnOption value_value_buf_ = {};
11429             value_value_buf_.selector = value_value_buf__selector;
11430             if (value_value_buf__selector == 0) {
11431                 value_value_buf_.selector = 0;
11432                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11433             }
11434             else if (value_value_buf__selector == 1) {
11435                 value_value_buf_.selector = 1;
11436                 value_value_buf_.value1 = thisDeserializer.readGridColColumnOption();
11437             }
11438             else {
11439                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11440             }
11441             value_value_buf.value = static_cast<Ark_Union_Number_GridColColumnOption>(value_value_buf_);
11442         }
11443         Opt_Union_Number_GridColColumnOption value_value = value_value_buf;;
11444         GetNodeModifiers()->getGridColModifier()->setSpan(self, (const Opt_Union_Number_GridColColumnOption*)&value_value);
11445 }
KOALA_INTEROP_DIRECT_V3(GridColAttribute_span,Ark_NativePointer,KSerializerBuffer,int32_t)11446 KOALA_INTEROP_DIRECT_V3(GridColAttribute_span, Ark_NativePointer, KSerializerBuffer, int32_t)
11447 void impl_GridColAttribute_gridColOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11448         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11449         Deserializer thisDeserializer(thisArray, thisLength);
11450         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11451         Opt_Union_Number_GridColColumnOption value_value_buf = {};
11452         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11453         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11454         {
11455             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11456             Ark_Union_Number_GridColColumnOption value_value_buf_ = {};
11457             value_value_buf_.selector = value_value_buf__selector;
11458             if (value_value_buf__selector == 0) {
11459                 value_value_buf_.selector = 0;
11460                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11461             }
11462             else if (value_value_buf__selector == 1) {
11463                 value_value_buf_.selector = 1;
11464                 value_value_buf_.value1 = thisDeserializer.readGridColColumnOption();
11465             }
11466             else {
11467                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11468             }
11469             value_value_buf.value = static_cast<Ark_Union_Number_GridColColumnOption>(value_value_buf_);
11470         }
11471         Opt_Union_Number_GridColColumnOption value_value = value_value_buf;;
11472         GetNodeModifiers()->getGridColModifier()->setGridColOffset(self, (const Opt_Union_Number_GridColColumnOption*)&value_value);
11473 }
KOALA_INTEROP_DIRECT_V3(GridColAttribute_gridColOffset,Ark_NativePointer,KSerializerBuffer,int32_t)11474 KOALA_INTEROP_DIRECT_V3(GridColAttribute_gridColOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
11475 void impl_GridColAttribute_order(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11476         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11477         Deserializer thisDeserializer(thisArray, thisLength);
11478         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11479         Opt_Union_Number_GridColColumnOption value_value_buf = {};
11480         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11481         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11482         {
11483             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11484             Ark_Union_Number_GridColColumnOption value_value_buf_ = {};
11485             value_value_buf_.selector = value_value_buf__selector;
11486             if (value_value_buf__selector == 0) {
11487                 value_value_buf_.selector = 0;
11488                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11489             }
11490             else if (value_value_buf__selector == 1) {
11491                 value_value_buf_.selector = 1;
11492                 value_value_buf_.value1 = thisDeserializer.readGridColColumnOption();
11493             }
11494             else {
11495                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11496             }
11497             value_value_buf.value = static_cast<Ark_Union_Number_GridColColumnOption>(value_value_buf_);
11498         }
11499         Opt_Union_Number_GridColColumnOption value_value = value_value_buf;;
11500         GetNodeModifiers()->getGridColModifier()->setOrder(self, (const Opt_Union_Number_GridColColumnOption*)&value_value);
11501 }
KOALA_INTEROP_DIRECT_V3(GridColAttribute_order,Ark_NativePointer,KSerializerBuffer,int32_t)11502 KOALA_INTEROP_DIRECT_V3(GridColAttribute_order, Ark_NativePointer, KSerializerBuffer, int32_t)
11503 Ark_NativePointer impl_GridContainer_construct(Ark_Int32 id, Ark_Int32 flags) {
11504         return GetNodeModifiers()->getGridContainerModifier()->construct(id, flags);
11505 }
KOALA_INTEROP_DIRECT_2(GridContainer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11506 KOALA_INTEROP_DIRECT_2(GridContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11507 void impl_GridContainerInterface_setGridContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11508         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11509         Deserializer thisDeserializer(thisArray, thisLength);
11510         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11511         Opt_GridContainerOptions value_value_buf = {};
11512         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11513         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11514         {
11515             value_value_buf.value = thisDeserializer.readGridContainerOptions();
11516         }
11517         Opt_GridContainerOptions value_value = value_value_buf;;
11518         GetNodeModifiers()->getGridContainerModifier()->setGridContainerOptions(self, (const Opt_GridContainerOptions*)&value_value);
11519 }
KOALA_INTEROP_DIRECT_V3(GridContainerInterface_setGridContainerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)11520 KOALA_INTEROP_DIRECT_V3(GridContainerInterface_setGridContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
11521 Ark_NativePointer impl_GridRow_construct(Ark_Int32 id, Ark_Int32 flags) {
11522         return GetNodeModifiers()->getGridRowModifier()->construct(id, flags);
11523 }
KOALA_INTEROP_DIRECT_2(GridRow_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11524 KOALA_INTEROP_DIRECT_2(GridRow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11525 void impl_GridRowInterface_setGridRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11526         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11527         Deserializer thisDeserializer(thisArray, thisLength);
11528         const auto option_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11529         Opt_GridRowOptions option_value_buf = {};
11530         option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11531         if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType))
11532         {
11533             option_value_buf.value = thisDeserializer.readGridRowOptions();
11534         }
11535         Opt_GridRowOptions option_value = option_value_buf;;
11536         GetNodeModifiers()->getGridRowModifier()->setGridRowOptions(self, (const Opt_GridRowOptions*)&option_value);
11537 }
KOALA_INTEROP_DIRECT_V3(GridRowInterface_setGridRowOptions,Ark_NativePointer,KSerializerBuffer,int32_t)11538 KOALA_INTEROP_DIRECT_V3(GridRowInterface_setGridRowOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
11539 void impl_GridRowAttribute_onBreakpointChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11540         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11541         Deserializer thisDeserializer(thisArray, thisLength);
11542         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11543         Opt_Callback_String_Void value_value_buf = {};
11544         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11545         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11546         {
11547             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
11548         }
11549         Opt_Callback_String_Void value_value = value_value_buf;;
11550         GetNodeModifiers()->getGridRowModifier()->setOnBreakpointChange(self, (const Opt_Callback_String_Void*)&value_value);
11551 }
KOALA_INTEROP_DIRECT_V3(GridRowAttribute_onBreakpointChange,Ark_NativePointer,KSerializerBuffer,int32_t)11552 KOALA_INTEROP_DIRECT_V3(GridRowAttribute_onBreakpointChange, Ark_NativePointer, KSerializerBuffer, int32_t)
11553 void impl_GridRowAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11554         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11555         Deserializer thisDeserializer(thisArray, thisLength);
11556         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11557         Opt_ItemAlign value_value_buf = {};
11558         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11559         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11560         {
11561             value_value_buf.value = static_cast<Ark_ItemAlign>(thisDeserializer.readInt32());
11562         }
11563         Opt_ItemAlign value_value = value_value_buf;;
11564         GetNodeModifiers()->getGridRowModifier()->setAlignItems(self, (const Opt_ItemAlign*)&value_value);
11565 }
KOALA_INTEROP_DIRECT_V3(GridRowAttribute_alignItems,Ark_NativePointer,KSerializerBuffer,int32_t)11566 KOALA_INTEROP_DIRECT_V3(GridRowAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t)
11567 Ark_NativePointer impl_Hyperlink_construct(Ark_Int32 id, Ark_Int32 flags) {
11568         return GetNodeModifiers()->getHyperlinkModifier()->construct(id, flags);
11569 }
KOALA_INTEROP_DIRECT_2(Hyperlink_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11570 KOALA_INTEROP_DIRECT_2(Hyperlink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11571 void impl_HyperlinkInterface_setHyperlinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11572         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11573         Deserializer thisDeserializer(thisArray, thisLength);
11574         const Ark_Int8 address_value_buf_selector = thisDeserializer.readInt8();
11575         Ark_Union_String_Resource address_value_buf = {};
11576         address_value_buf.selector = address_value_buf_selector;
11577         if (address_value_buf_selector == 0) {
11578             address_value_buf.selector = 0;
11579             address_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11580         }
11581         else if (address_value_buf_selector == 1) {
11582             address_value_buf.selector = 1;
11583             address_value_buf.value1 = thisDeserializer.readResource();
11584         }
11585         else {
11586             INTEROP_FATAL("One of the branches for address_value_buf has to be chosen through deserialisation.");
11587         }
11588         Ark_Union_String_Resource address_value = static_cast<Ark_Union_String_Resource>(address_value_buf);;
11589         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11590         Opt_Union_String_Resource content_value_buf = {};
11591         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11592         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
11593         {
11594             const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8();
11595             Ark_Union_String_Resource content_value_buf_ = {};
11596             content_value_buf_.selector = content_value_buf__selector;
11597             if (content_value_buf__selector == 0) {
11598                 content_value_buf_.selector = 0;
11599                 content_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11600             }
11601             else if (content_value_buf__selector == 1) {
11602                 content_value_buf_.selector = 1;
11603                 content_value_buf_.value1 = thisDeserializer.readResource();
11604             }
11605             else {
11606                 INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation.");
11607             }
11608             content_value_buf.value = static_cast<Ark_Union_String_Resource>(content_value_buf_);
11609         }
11610         Opt_Union_String_Resource content_value = content_value_buf;;
11611         GetNodeModifiers()->getHyperlinkModifier()->setHyperlinkOptions(self, (const Ark_Union_String_Resource*)&address_value, (const Opt_Union_String_Resource*)&content_value);
11612 }
KOALA_INTEROP_DIRECT_V3(HyperlinkInterface_setHyperlinkOptions,Ark_NativePointer,KSerializerBuffer,int32_t)11613 KOALA_INTEROP_DIRECT_V3(HyperlinkInterface_setHyperlinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
11614 void impl_HyperlinkAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11615         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11616         Deserializer thisDeserializer(thisArray, thisLength);
11617         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11618         Opt_Union_Color_Number_String_Resource value_value_buf = {};
11619         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11620         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11621         {
11622             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11623             Ark_Union_Color_Number_String_Resource value_value_buf_ = {};
11624             value_value_buf_.selector = value_value_buf__selector;
11625             if (value_value_buf__selector == 0) {
11626                 value_value_buf_.selector = 0;
11627                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
11628             }
11629             else if (value_value_buf__selector == 1) {
11630                 value_value_buf_.selector = 1;
11631                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11632             }
11633             else if (value_value_buf__selector == 2) {
11634                 value_value_buf_.selector = 2;
11635                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
11636             }
11637             else if (value_value_buf__selector == 3) {
11638                 value_value_buf_.selector = 3;
11639                 value_value_buf_.value3 = thisDeserializer.readResource();
11640             }
11641             else {
11642                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11643             }
11644             value_value_buf.value = static_cast<Ark_Union_Color_Number_String_Resource>(value_value_buf_);
11645         }
11646         Opt_Union_Color_Number_String_Resource value_value = value_value_buf;;
11647         GetNodeModifiers()->getHyperlinkModifier()->setColor(self, (const Opt_Union_Color_Number_String_Resource*)&value_value);
11648 }
KOALA_INTEROP_DIRECT_V3(HyperlinkAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)11649 KOALA_INTEROP_DIRECT_V3(HyperlinkAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
11650 Ark_NativePointer impl_Image_construct(Ark_Int32 id, Ark_Int32 flags) {
11651         return GetNodeModifiers()->getImageModifier()->construct(id, flags);
11652 }
KOALA_INTEROP_DIRECT_2(Image_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)11653 KOALA_INTEROP_DIRECT_2(Image_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
11654 void impl_ImageInterface_setImageOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11655         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11656         Deserializer thisDeserializer(thisArray, thisLength);
11657         const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8();
11658         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {};
11659         src_value_buf.selector = src_value_buf_selector;
11660         if (src_value_buf_selector == 0) {
11661             src_value_buf.selector = 0;
11662             src_value_buf.value0 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
11663         }
11664         else if (src_value_buf_selector == 1) {
11665             src_value_buf.selector = 1;
11666             const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8();
11667             Ark_ResourceStr src_value_buf_u = {};
11668             src_value_buf_u.selector = src_value_buf_u_selector;
11669             if (src_value_buf_u_selector == 0) {
11670                 src_value_buf_u.selector = 0;
11671                 src_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11672             }
11673             else if (src_value_buf_u_selector == 1) {
11674                 src_value_buf_u.selector = 1;
11675                 src_value_buf_u.value1 = thisDeserializer.readResource();
11676             }
11677             else {
11678                 INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation.");
11679             }
11680             src_value_buf.value1 = static_cast<Ark_ResourceStr>(src_value_buf_u);
11681         }
11682         else if (src_value_buf_selector == 2) {
11683             src_value_buf.selector = 2;
11684             src_value_buf.value2 = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
11685         }
11686         else {
11687             INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation.");
11688         }
11689         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast<Ark_Union_PixelMap_ResourceStr_DrawableDescriptor>(src_value_buf);;
11690         GetNodeModifiers()->getImageModifier()->setImageOptions0(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value);
11691 }
KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)11692 KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
11693 void impl_ImageInterface_setImageOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11694         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11695         Deserializer thisDeserializer(thisArray, thisLength);
11696         const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8();
11697         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value_buf = {};
11698         src_value_buf.selector = src_value_buf_selector;
11699         if (src_value_buf_selector == 0) {
11700             src_value_buf.selector = 0;
11701             src_value_buf.value0 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
11702         }
11703         else if (src_value_buf_selector == 1) {
11704             src_value_buf.selector = 1;
11705             const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8();
11706             Ark_ResourceStr src_value_buf_u = {};
11707             src_value_buf_u.selector = src_value_buf_u_selector;
11708             if (src_value_buf_u_selector == 0) {
11709                 src_value_buf_u.selector = 0;
11710                 src_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11711             }
11712             else if (src_value_buf_u_selector == 1) {
11713                 src_value_buf_u.selector = 1;
11714                 src_value_buf_u.value1 = thisDeserializer.readResource();
11715             }
11716             else {
11717                 INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation.");
11718             }
11719             src_value_buf.value1 = static_cast<Ark_ResourceStr>(src_value_buf_u);
11720         }
11721         else if (src_value_buf_selector == 2) {
11722             src_value_buf.selector = 2;
11723             src_value_buf.value2 = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
11724         }
11725         else if (src_value_buf_selector == 3) {
11726             src_value_buf.selector = 3;
11727             src_value_buf.value3 = static_cast<Ark_ImageContent>(thisDeserializer.readInt32());
11728         }
11729         else {
11730             INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation.");
11731         }
11732         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value = static_cast<Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent>(src_value_buf);;
11733         GetNodeModifiers()->getImageModifier()->setImageOptions1(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent*)&src_value);
11734 }
KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)11735 KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
11736 void impl_ImageInterface_setImageOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11737         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11738         Deserializer thisDeserializer(thisArray, thisLength);
11739         const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8();
11740         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {};
11741         src_value_buf.selector = src_value_buf_selector;
11742         if (src_value_buf_selector == 0) {
11743             src_value_buf.selector = 0;
11744             src_value_buf.value0 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
11745         }
11746         else if (src_value_buf_selector == 1) {
11747             src_value_buf.selector = 1;
11748             const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8();
11749             Ark_ResourceStr src_value_buf_u = {};
11750             src_value_buf_u.selector = src_value_buf_u_selector;
11751             if (src_value_buf_u_selector == 0) {
11752                 src_value_buf_u.selector = 0;
11753                 src_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11754             }
11755             else if (src_value_buf_u_selector == 1) {
11756                 src_value_buf_u.selector = 1;
11757                 src_value_buf_u.value1 = thisDeserializer.readResource();
11758             }
11759             else {
11760                 INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation.");
11761             }
11762             src_value_buf.value1 = static_cast<Ark_ResourceStr>(src_value_buf_u);
11763         }
11764         else if (src_value_buf_selector == 2) {
11765             src_value_buf.selector = 2;
11766             src_value_buf.value2 = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
11767         }
11768         else {
11769             INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation.");
11770         }
11771         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast<Ark_Union_PixelMap_ResourceStr_DrawableDescriptor>(src_value_buf);;
11772         Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();;
11773         GetNodeModifiers()->getImageModifier()->setImageOptions2(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value, (const Ark_ImageAIOptions*)&imageAIOptions_value);
11774 }
KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions2,Ark_NativePointer,KSerializerBuffer,int32_t)11775 KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions2, Ark_NativePointer, KSerializerBuffer, int32_t)
11776 void impl_ImageAttribute_alt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11777         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11778         Deserializer thisDeserializer(thisArray, thisLength);
11779         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11780         Opt_Union_String_Resource_PixelMap value_value_buf = {};
11781         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11782         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11783         {
11784             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11785             Ark_Union_String_Resource_PixelMap value_value_buf_ = {};
11786             value_value_buf_.selector = value_value_buf__selector;
11787             if (value_value_buf__selector == 0) {
11788                 value_value_buf_.selector = 0;
11789                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
11790             }
11791             else if (value_value_buf__selector == 1) {
11792                 value_value_buf_.selector = 1;
11793                 value_value_buf_.value1 = thisDeserializer.readResource();
11794             }
11795             else if (value_value_buf__selector == 2) {
11796                 value_value_buf_.selector = 2;
11797                 value_value_buf_.value2 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
11798             }
11799             else {
11800                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11801             }
11802             value_value_buf.value = static_cast<Ark_Union_String_Resource_PixelMap>(value_value_buf_);
11803         }
11804         Opt_Union_String_Resource_PixelMap value_value = value_value_buf;;
11805         GetNodeModifiers()->getImageModifier()->setAlt(self, (const Opt_Union_String_Resource_PixelMap*)&value_value);
11806 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_alt,Ark_NativePointer,KSerializerBuffer,int32_t)11807 KOALA_INTEROP_DIRECT_V3(ImageAttribute_alt, Ark_NativePointer, KSerializerBuffer, int32_t)
11808 void impl_ImageAttribute_matchTextDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11809         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11810         Deserializer thisDeserializer(thisArray, thisLength);
11811         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11812         Opt_Boolean value_value_buf = {};
11813         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11814         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11815         {
11816             value_value_buf.value = thisDeserializer.readBoolean();
11817         }
11818         Opt_Boolean value_value = value_value_buf;;
11819         GetNodeModifiers()->getImageModifier()->setMatchTextDirection(self, (const Opt_Boolean*)&value_value);
11820 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_matchTextDirection,Ark_NativePointer,KSerializerBuffer,int32_t)11821 KOALA_INTEROP_DIRECT_V3(ImageAttribute_matchTextDirection, Ark_NativePointer, KSerializerBuffer, int32_t)
11822 void impl_ImageAttribute_fitOriginalSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11823         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11824         Deserializer thisDeserializer(thisArray, thisLength);
11825         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11826         Opt_Boolean value_value_buf = {};
11827         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11828         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11829         {
11830             value_value_buf.value = thisDeserializer.readBoolean();
11831         }
11832         Opt_Boolean value_value = value_value_buf;;
11833         GetNodeModifiers()->getImageModifier()->setFitOriginalSize(self, (const Opt_Boolean*)&value_value);
11834 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_fitOriginalSize,Ark_NativePointer,KSerializerBuffer,int32_t)11835 KOALA_INTEROP_DIRECT_V3(ImageAttribute_fitOriginalSize, Ark_NativePointer, KSerializerBuffer, int32_t)
11836 void impl_ImageAttribute_fillColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11837         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11838         Deserializer thisDeserializer(thisArray, thisLength);
11839         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11840         Opt_ResourceColor value_value_buf = {};
11841         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11842         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11843         {
11844             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11845             Ark_ResourceColor value_value_buf_ = {};
11846             value_value_buf_.selector = value_value_buf__selector;
11847             if (value_value_buf__selector == 0) {
11848                 value_value_buf_.selector = 0;
11849                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
11850             }
11851             else if (value_value_buf__selector == 1) {
11852                 value_value_buf_.selector = 1;
11853                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11854             }
11855             else if (value_value_buf__selector == 2) {
11856                 value_value_buf_.selector = 2;
11857                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
11858             }
11859             else if (value_value_buf__selector == 3) {
11860                 value_value_buf_.selector = 3;
11861                 value_value_buf_.value3 = thisDeserializer.readResource();
11862             }
11863             else {
11864                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11865             }
11866             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
11867         }
11868         Opt_ResourceColor value_value = value_value_buf;;
11869         GetNodeModifiers()->getImageModifier()->setFillColor0(self, (const Opt_ResourceColor*)&value_value);
11870 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor0,Ark_NativePointer,KSerializerBuffer,int32_t)11871 KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
11872 void impl_ImageAttribute_fillColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11873         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11874         Deserializer thisDeserializer(thisArray, thisLength);
11875         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11876         Opt_Union_ResourceColor_ColorContent value_value_buf = {};
11877         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11878         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11879         {
11880             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
11881             Ark_Union_ResourceColor_ColorContent value_value_buf_ = {};
11882             value_value_buf_.selector = value_value_buf__selector;
11883             if (value_value_buf__selector == 0) {
11884                 value_value_buf_.selector = 0;
11885                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
11886                 Ark_ResourceColor value_value_buf__u = {};
11887                 value_value_buf__u.selector = value_value_buf__u_selector;
11888                 if (value_value_buf__u_selector == 0) {
11889                     value_value_buf__u.selector = 0;
11890                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
11891                 }
11892                 else if (value_value_buf__u_selector == 1) {
11893                     value_value_buf__u.selector = 1;
11894                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
11895                 }
11896                 else if (value_value_buf__u_selector == 2) {
11897                     value_value_buf__u.selector = 2;
11898                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
11899                 }
11900                 else if (value_value_buf__u_selector == 3) {
11901                     value_value_buf__u.selector = 3;
11902                     value_value_buf__u.value3 = thisDeserializer.readResource();
11903                 }
11904                 else {
11905                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
11906                 }
11907                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
11908             }
11909             else if (value_value_buf__selector == 1) {
11910                 value_value_buf_.selector = 1;
11911                 value_value_buf_.value1 = thisDeserializer.readColorContent();
11912             }
11913             else {
11914                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
11915             }
11916             value_value_buf.value = static_cast<Ark_Union_ResourceColor_ColorContent>(value_value_buf_);
11917         }
11918         Opt_Union_ResourceColor_ColorContent value_value = value_value_buf;;
11919         GetNodeModifiers()->getImageModifier()->setFillColor1(self, (const Opt_Union_ResourceColor_ColorContent*)&value_value);
11920 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor1,Ark_NativePointer,KSerializerBuffer,int32_t)11921 KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
11922 void impl_ImageAttribute_objectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11923         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11924         Deserializer thisDeserializer(thisArray, thisLength);
11925         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11926         Opt_ImageFit value_value_buf = {};
11927         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11928         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11929         {
11930             value_value_buf.value = static_cast<Ark_ImageFit>(thisDeserializer.readInt32());
11931         }
11932         Opt_ImageFit value_value = value_value_buf;;
11933         GetNodeModifiers()->getImageModifier()->setObjectFit(self, (const Opt_ImageFit*)&value_value);
11934 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_objectFit,Ark_NativePointer,KSerializerBuffer,int32_t)11935 KOALA_INTEROP_DIRECT_V3(ImageAttribute_objectFit, Ark_NativePointer, KSerializerBuffer, int32_t)
11936 void impl_ImageAttribute_imageMatrix(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11937         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11938         Deserializer thisDeserializer(thisArray, thisLength);
11939         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11940         Opt_Matrix4Transit value_value_buf = {};
11941         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11942         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11943         {
11944             value_value_buf.value = static_cast<Ark_Matrix4Transit>(thisDeserializer.readMatrix4Transit());
11945         }
11946         Opt_Matrix4Transit value_value = value_value_buf;;
11947         GetNodeModifiers()->getImageModifier()->setImageMatrix(self, (const Opt_Matrix4Transit*)&value_value);
11948 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_imageMatrix,Ark_NativePointer,KSerializerBuffer,int32_t)11949 KOALA_INTEROP_DIRECT_V3(ImageAttribute_imageMatrix, Ark_NativePointer, KSerializerBuffer, int32_t)
11950 void impl_ImageAttribute_objectRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11951         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11952         Deserializer thisDeserializer(thisArray, thisLength);
11953         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11954         Opt_ImageRepeat value_value_buf = {};
11955         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11956         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11957         {
11958             value_value_buf.value = static_cast<Ark_ImageRepeat>(thisDeserializer.readInt32());
11959         }
11960         Opt_ImageRepeat value_value = value_value_buf;;
11961         GetNodeModifiers()->getImageModifier()->setObjectRepeat(self, (const Opt_ImageRepeat*)&value_value);
11962 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_objectRepeat,Ark_NativePointer,KSerializerBuffer,int32_t)11963 KOALA_INTEROP_DIRECT_V3(ImageAttribute_objectRepeat, Ark_NativePointer, KSerializerBuffer, int32_t)
11964 void impl_ImageAttribute_autoResize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11965         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11966         Deserializer thisDeserializer(thisArray, thisLength);
11967         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11968         Opt_Boolean value_value_buf = {};
11969         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11970         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11971         {
11972             value_value_buf.value = thisDeserializer.readBoolean();
11973         }
11974         Opt_Boolean value_value = value_value_buf;;
11975         GetNodeModifiers()->getImageModifier()->setAutoResize(self, (const Opt_Boolean*)&value_value);
11976 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_autoResize,Ark_NativePointer,KSerializerBuffer,int32_t)11977 KOALA_INTEROP_DIRECT_V3(ImageAttribute_autoResize, Ark_NativePointer, KSerializerBuffer, int32_t)
11978 void impl_ImageAttribute_renderMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11979         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11980         Deserializer thisDeserializer(thisArray, thisLength);
11981         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11982         Opt_ImageRenderMode value_value_buf = {};
11983         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11984         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11985         {
11986             value_value_buf.value = static_cast<Ark_ImageRenderMode>(thisDeserializer.readInt32());
11987         }
11988         Opt_ImageRenderMode value_value = value_value_buf;;
11989         GetNodeModifiers()->getImageModifier()->setRenderMode(self, (const Opt_ImageRenderMode*)&value_value);
11990 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_renderMode,Ark_NativePointer,KSerializerBuffer,int32_t)11991 KOALA_INTEROP_DIRECT_V3(ImageAttribute_renderMode, Ark_NativePointer, KSerializerBuffer, int32_t)
11992 void impl_ImageAttribute_dynamicRangeMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
11993         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
11994         Deserializer thisDeserializer(thisArray, thisLength);
11995         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
11996         Opt_DynamicRangeMode value_value_buf = {};
11997         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
11998         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
11999         {
12000             value_value_buf.value = static_cast<Ark_DynamicRangeMode>(thisDeserializer.readInt32());
12001         }
12002         Opt_DynamicRangeMode value_value = value_value_buf;;
12003         GetNodeModifiers()->getImageModifier()->setDynamicRangeMode(self, (const Opt_DynamicRangeMode*)&value_value);
12004 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_dynamicRangeMode,Ark_NativePointer,KSerializerBuffer,int32_t)12005 KOALA_INTEROP_DIRECT_V3(ImageAttribute_dynamicRangeMode, Ark_NativePointer, KSerializerBuffer, int32_t)
12006 void impl_ImageAttribute_interpolation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12007         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12008         Deserializer thisDeserializer(thisArray, thisLength);
12009         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12010         Opt_ImageInterpolation value_value_buf = {};
12011         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12012         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12013         {
12014             value_value_buf.value = static_cast<Ark_ImageInterpolation>(thisDeserializer.readInt32());
12015         }
12016         Opt_ImageInterpolation value_value = value_value_buf;;
12017         GetNodeModifiers()->getImageModifier()->setInterpolation(self, (const Opt_ImageInterpolation*)&value_value);
12018 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_interpolation,Ark_NativePointer,KSerializerBuffer,int32_t)12019 KOALA_INTEROP_DIRECT_V3(ImageAttribute_interpolation, Ark_NativePointer, KSerializerBuffer, int32_t)
12020 void impl_ImageAttribute_sourceSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12021         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12022         Deserializer thisDeserializer(thisArray, thisLength);
12023         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12024         Opt_ImageSourceSize value_value_buf = {};
12025         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12026         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12027         {
12028             value_value_buf.value = thisDeserializer.readImageSourceSize();
12029         }
12030         Opt_ImageSourceSize value_value = value_value_buf;;
12031         GetNodeModifiers()->getImageModifier()->setSourceSize(self, (const Opt_ImageSourceSize*)&value_value);
12032 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_sourceSize,Ark_NativePointer,KSerializerBuffer,int32_t)12033 KOALA_INTEROP_DIRECT_V3(ImageAttribute_sourceSize, Ark_NativePointer, KSerializerBuffer, int32_t)
12034 void impl_ImageAttribute_syncLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12035         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12036         Deserializer thisDeserializer(thisArray, thisLength);
12037         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12038         Opt_Boolean value_value_buf = {};
12039         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12040         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12041         {
12042             value_value_buf.value = thisDeserializer.readBoolean();
12043         }
12044         Opt_Boolean value_value = value_value_buf;;
12045         GetNodeModifiers()->getImageModifier()->setSyncLoad(self, (const Opt_Boolean*)&value_value);
12046 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_syncLoad,Ark_NativePointer,KSerializerBuffer,int32_t)12047 KOALA_INTEROP_DIRECT_V3(ImageAttribute_syncLoad, Ark_NativePointer, KSerializerBuffer, int32_t)
12048 void impl_ImageAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12049         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12050         Deserializer thisDeserializer(thisArray, thisLength);
12051         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12052         Opt_Union_ColorFilter_DrawingColorFilter value_value_buf = {};
12053         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12054         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12055         {
12056             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
12057             Ark_Union_ColorFilter_DrawingColorFilter value_value_buf_ = {};
12058             value_value_buf_.selector = value_value_buf__selector;
12059             if (value_value_buf__selector == 0) {
12060                 value_value_buf_.selector = 0;
12061                 value_value_buf_.value0 = static_cast<Ark_ColorFilter>(thisDeserializer.readColorFilter());
12062             }
12063             else if (value_value_buf__selector == 1) {
12064                 value_value_buf_.selector = 1;
12065                 value_value_buf_.value1 = static_cast<Ark_DrawingColorFilter>(thisDeserializer.readDrawingColorFilter());
12066             }
12067             else {
12068                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
12069             }
12070             value_value_buf.value = static_cast<Ark_Union_ColorFilter_DrawingColorFilter>(value_value_buf_);
12071         }
12072         Opt_Union_ColorFilter_DrawingColorFilter value_value = value_value_buf;;
12073         GetNodeModifiers()->getImageModifier()->setColorFilter(self, (const Opt_Union_ColorFilter_DrawingColorFilter*)&value_value);
12074 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_colorFilter,Ark_NativePointer,KSerializerBuffer,int32_t)12075 KOALA_INTEROP_DIRECT_V3(ImageAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
12076 void impl_ImageAttribute_copyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12077         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12078         Deserializer thisDeserializer(thisArray, thisLength);
12079         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12080         Opt_CopyOptions value_value_buf = {};
12081         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12082         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12083         {
12084             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
12085         }
12086         Opt_CopyOptions value_value = value_value_buf;;
12087         GetNodeModifiers()->getImageModifier()->setCopyOption(self, (const Opt_CopyOptions*)&value_value);
12088 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_copyOption,Ark_NativePointer,KSerializerBuffer,int32_t)12089 KOALA_INTEROP_DIRECT_V3(ImageAttribute_copyOption, Ark_NativePointer, KSerializerBuffer, int32_t)
12090 void impl_ImageAttribute_draggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12091         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12092         Deserializer thisDeserializer(thisArray, thisLength);
12093         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12094         Opt_Boolean value_value_buf = {};
12095         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12096         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12097         {
12098             value_value_buf.value = thisDeserializer.readBoolean();
12099         }
12100         Opt_Boolean value_value = value_value_buf;;
12101         GetNodeModifiers()->getImageModifier()->setDraggable(self, (const Opt_Boolean*)&value_value);
12102 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_draggable,Ark_NativePointer,KSerializerBuffer,int32_t)12103 KOALA_INTEROP_DIRECT_V3(ImageAttribute_draggable, Ark_NativePointer, KSerializerBuffer, int32_t)
12104 void impl_ImageAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12105         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12106         Deserializer thisDeserializer(thisArray, thisLength);
12107         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12108         Opt_PointLightStyle value_value_buf = {};
12109         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12110         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12111         {
12112             value_value_buf.value = thisDeserializer.readPointLightStyle();
12113         }
12114         Opt_PointLightStyle value_value = value_value_buf;;
12115         GetNodeModifiers()->getImageModifier()->setPointLight(self, (const Opt_PointLightStyle*)&value_value);
12116 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_pointLight,Ark_NativePointer,KSerializerBuffer,int32_t)12117 KOALA_INTEROP_DIRECT_V3(ImageAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t)
12118 void impl_ImageAttribute_edgeAntialiasing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12119         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12120         Deserializer thisDeserializer(thisArray, thisLength);
12121         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12122         Opt_Number value_value_buf = {};
12123         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12124         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12125         {
12126             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12127         }
12128         Opt_Number value_value = value_value_buf;;
12129         GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, (const Opt_Number*)&value_value);
12130 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_edgeAntialiasing,Ark_NativePointer,KSerializerBuffer,int32_t)12131 KOALA_INTEROP_DIRECT_V3(ImageAttribute_edgeAntialiasing, Ark_NativePointer, KSerializerBuffer, int32_t)
12132 void impl_ImageAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12133         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12134         Deserializer thisDeserializer(thisArray, thisLength);
12135         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12136         Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void value_value_buf = {};
12137         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12138         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12139         {
12140             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Type_ImageAttribute_onComplete_callback_event event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Type_ImageAttribute_onComplete_callback_event event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void))))};
12141         }
12142         Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void value_value = value_value_buf;;
12143         GetNodeModifiers()->getImageModifier()->setOnComplete(self, (const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void*)&value_value);
12144 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_onComplete,Ark_NativePointer,KSerializerBuffer,int32_t)12145 KOALA_INTEROP_DIRECT_V3(ImageAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
12146 void impl_ImageAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12147         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12148         Deserializer thisDeserializer(thisArray, thisLength);
12149         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12150         Opt_ImageErrorCallback value_value_buf = {};
12151         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12152         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12153         {
12154             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ImageError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ImageError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};
12155         }
12156         Opt_ImageErrorCallback value_value = value_value_buf;;
12157         GetNodeModifiers()->getImageModifier()->setOnError(self, (const Opt_ImageErrorCallback*)&value_value);
12158 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)12159 KOALA_INTEROP_DIRECT_V3(ImageAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
12160 void impl_ImageAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12161         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12162         Deserializer thisDeserializer(thisArray, thisLength);
12163         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12164         Opt_Callback_Void value_value_buf = {};
12165         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12166         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12167         {
12168             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12169         }
12170         Opt_Callback_Void value_value = value_value_buf;;
12171         GetNodeModifiers()->getImageModifier()->setOnFinish(self, (const Opt_Callback_Void*)&value_value);
12172 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)12173 KOALA_INTEROP_DIRECT_V3(ImageAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
12174 void impl_ImageAttribute_enableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12175         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12176         Deserializer thisDeserializer(thisArray, thisLength);
12177         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12178         Opt_Boolean value_value_buf = {};
12179         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12180         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12181         {
12182             value_value_buf.value = thisDeserializer.readBoolean();
12183         }
12184         Opt_Boolean value_value = value_value_buf;;
12185         GetNodeModifiers()->getImageModifier()->setEnableAnalyzer(self, (const Opt_Boolean*)&value_value);
12186 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_enableAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)12187 KOALA_INTEROP_DIRECT_V3(ImageAttribute_enableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
12188 void impl_ImageAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12189         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12190         Deserializer thisDeserializer(thisArray, thisLength);
12191         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12192         Opt_ImageAnalyzerConfig value_value_buf = {};
12193         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12194         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12195         {
12196             value_value_buf.value = thisDeserializer.readImageAnalyzerConfig();
12197         }
12198         Opt_ImageAnalyzerConfig value_value = value_value_buf;;
12199         GetNodeModifiers()->getImageModifier()->setAnalyzerConfig(self, (const Opt_ImageAnalyzerConfig*)&value_value);
12200 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_analyzerConfig,Ark_NativePointer,KSerializerBuffer,int32_t)12201 KOALA_INTEROP_DIRECT_V3(ImageAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t)
12202 void impl_ImageAttribute_resizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12203         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12204         Deserializer thisDeserializer(thisArray, thisLength);
12205         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12206         Opt_ResizableOptions value_value_buf = {};
12207         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12208         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12209         {
12210             value_value_buf.value = thisDeserializer.readResizableOptions();
12211         }
12212         Opt_ResizableOptions value_value = value_value_buf;;
12213         GetNodeModifiers()->getImageModifier()->setResizable(self, (const Opt_ResizableOptions*)&value_value);
12214 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_resizable,Ark_NativePointer,KSerializerBuffer,int32_t)12215 KOALA_INTEROP_DIRECT_V3(ImageAttribute_resizable, Ark_NativePointer, KSerializerBuffer, int32_t)
12216 void impl_ImageAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12217         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12218         Deserializer thisDeserializer(thisArray, thisLength);
12219         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12220         Opt_Boolean value_value_buf = {};
12221         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12222         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12223         {
12224             value_value_buf.value = thisDeserializer.readBoolean();
12225         }
12226         Opt_Boolean value_value = value_value_buf;;
12227         GetNodeModifiers()->getImageModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value);
12228 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_privacySensitive,Ark_NativePointer,KSerializerBuffer,int32_t)12229 KOALA_INTEROP_DIRECT_V3(ImageAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t)
12230 void impl_ImageAttribute_enhancedImageQuality(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12231         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12232         Deserializer thisDeserializer(thisArray, thisLength);
12233         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12234         Opt_ResolutionQuality value_value_buf = {};
12235         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12236         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12237         {
12238             value_value_buf.value = static_cast<Ark_ResolutionQuality>(thisDeserializer.readInt32());
12239         }
12240         Opt_ResolutionQuality value_value = value_value_buf;;
12241         GetNodeModifiers()->getImageModifier()->setEnhancedImageQuality(self, (const Opt_ResolutionQuality*)&value_value);
12242 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_enhancedImageQuality,Ark_NativePointer,KSerializerBuffer,int32_t)12243 KOALA_INTEROP_DIRECT_V3(ImageAttribute_enhancedImageQuality, Ark_NativePointer, KSerializerBuffer, int32_t)
12244 void impl_ImageAttribute_orientation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12245         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12246         Deserializer thisDeserializer(thisArray, thisLength);
12247         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12248         Opt_ImageRotateOrientation value_value_buf = {};
12249         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12250         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12251         {
12252             value_value_buf.value = static_cast<Ark_ImageRotateOrientation>(thisDeserializer.readInt32());
12253         }
12254         Opt_ImageRotateOrientation value_value = value_value_buf;;
12255         GetNodeModifiers()->getImageModifier()->setOrientation(self, (const Opt_ImageRotateOrientation*)&value_value);
12256 }
KOALA_INTEROP_DIRECT_V3(ImageAttribute_orientation,Ark_NativePointer,KSerializerBuffer,int32_t)12257 KOALA_INTEROP_DIRECT_V3(ImageAttribute_orientation, Ark_NativePointer, KSerializerBuffer, int32_t)
12258 Ark_NativePointer impl_ImageAnimator_construct(Ark_Int32 id, Ark_Int32 flags) {
12259         return GetNodeModifiers()->getImageAnimatorModifier()->construct(id, flags);
12260 }
KOALA_INTEROP_DIRECT_2(ImageAnimator_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12261 KOALA_INTEROP_DIRECT_2(ImageAnimator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12262 void impl_ImageAnimatorInterface_setImageAnimatorOptions(Ark_NativePointer thisPtr) {
12263         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12264         GetNodeModifiers()->getImageAnimatorModifier()->setImageAnimatorOptions(self);
12265 }
KOALA_INTEROP_DIRECT_V1(ImageAnimatorInterface_setImageAnimatorOptions,Ark_NativePointer)12266 KOALA_INTEROP_DIRECT_V1(ImageAnimatorInterface_setImageAnimatorOptions, Ark_NativePointer)
12267 void impl_ImageAnimatorAttribute_images(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12268         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12269         Deserializer thisDeserializer(thisArray, thisLength);
12270         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12271         Opt_Array_ImageFrameInfo value_value_buf = {};
12272         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12273         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12274         {
12275             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
12276             Array_ImageFrameInfo value_value_buf_ = {};
12277             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
12278         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
12279             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
12280                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readImageFrameInfo();
12281             }
12282             value_value_buf.value = value_value_buf_;
12283         }
12284         Opt_Array_ImageFrameInfo value_value = value_value_buf;;
12285         GetNodeModifiers()->getImageAnimatorModifier()->setImages(self, (const Opt_Array_ImageFrameInfo*)&value_value);
12286 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_images,Ark_NativePointer,KSerializerBuffer,int32_t)12287 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_images, Ark_NativePointer, KSerializerBuffer, int32_t)
12288 void impl_ImageAnimatorAttribute_state(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12289         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12290         Deserializer thisDeserializer(thisArray, thisLength);
12291         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12292         Opt_AnimationStatus value_value_buf = {};
12293         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12294         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12295         {
12296             value_value_buf.value = static_cast<Ark_AnimationStatus>(thisDeserializer.readInt32());
12297         }
12298         Opt_AnimationStatus value_value = value_value_buf;;
12299         GetNodeModifiers()->getImageAnimatorModifier()->setState(self, (const Opt_AnimationStatus*)&value_value);
12300 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_state,Ark_NativePointer,KSerializerBuffer,int32_t)12301 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_state, Ark_NativePointer, KSerializerBuffer, int32_t)
12302 void impl_ImageAnimatorAttribute_duration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12303         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12304         Deserializer thisDeserializer(thisArray, thisLength);
12305         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12306         Opt_Number value_value_buf = {};
12307         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12308         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12309         {
12310             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12311         }
12312         Opt_Number value_value = value_value_buf;;
12313         GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, (const Opt_Number*)&value_value);
12314 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_duration,Ark_NativePointer,KSerializerBuffer,int32_t)12315 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_duration, Ark_NativePointer, KSerializerBuffer, int32_t)
12316 void impl_ImageAnimatorAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12317         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12318         Deserializer thisDeserializer(thisArray, thisLength);
12319         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12320         Opt_Boolean value_value_buf = {};
12321         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12322         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12323         {
12324             value_value_buf.value = thisDeserializer.readBoolean();
12325         }
12326         Opt_Boolean value_value = value_value_buf;;
12327         GetNodeModifiers()->getImageAnimatorModifier()->setReverse(self, (const Opt_Boolean*)&value_value);
12328 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_reverse,Ark_NativePointer,KSerializerBuffer,int32_t)12329 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t)
12330 void impl_ImageAnimatorAttribute_fixedSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12331         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12332         Deserializer thisDeserializer(thisArray, thisLength);
12333         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12334         Opt_Boolean value_value_buf = {};
12335         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12336         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12337         {
12338             value_value_buf.value = thisDeserializer.readBoolean();
12339         }
12340         Opt_Boolean value_value = value_value_buf;;
12341         GetNodeModifiers()->getImageAnimatorModifier()->setFixedSize(self, (const Opt_Boolean*)&value_value);
12342 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_fixedSize,Ark_NativePointer,KSerializerBuffer,int32_t)12343 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_fixedSize, Ark_NativePointer, KSerializerBuffer, int32_t)
12344 void impl_ImageAnimatorAttribute_preDecode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12345         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12346         Deserializer thisDeserializer(thisArray, thisLength);
12347         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12348         Opt_Number value_value_buf = {};
12349         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12350         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12351         {
12352             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12353         }
12354         Opt_Number value_value = value_value_buf;;
12355         GetNodeModifiers()->getImageAnimatorModifier()->setPreDecode(self, (const Opt_Number*)&value_value);
12356 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_preDecode,Ark_NativePointer,KSerializerBuffer,int32_t)12357 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_preDecode, Ark_NativePointer, KSerializerBuffer, int32_t)
12358 void impl_ImageAnimatorAttribute_fillMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12359         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12360         Deserializer thisDeserializer(thisArray, thisLength);
12361         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12362         Opt_FillMode value_value_buf = {};
12363         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12364         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12365         {
12366             value_value_buf.value = static_cast<Ark_FillMode>(thisDeserializer.readInt32());
12367         }
12368         Opt_FillMode value_value = value_value_buf;;
12369         GetNodeModifiers()->getImageAnimatorModifier()->setFillMode(self, (const Opt_FillMode*)&value_value);
12370 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_fillMode,Ark_NativePointer,KSerializerBuffer,int32_t)12371 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_fillMode, Ark_NativePointer, KSerializerBuffer, int32_t)
12372 void impl_ImageAnimatorAttribute_iterations(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12373         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12374         Deserializer thisDeserializer(thisArray, thisLength);
12375         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12376         Opt_Number value_value_buf = {};
12377         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12378         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12379         {
12380             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12381         }
12382         Opt_Number value_value = value_value_buf;;
12383         GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, (const Opt_Number*)&value_value);
12384 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_iterations,Ark_NativePointer,KSerializerBuffer,int32_t)12385 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_iterations, Ark_NativePointer, KSerializerBuffer, int32_t)
12386 void impl_ImageAnimatorAttribute_monitorInvisibleArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12387         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12388         Deserializer thisDeserializer(thisArray, thisLength);
12389         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12390         Opt_Boolean value_value_buf = {};
12391         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12392         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12393         {
12394             value_value_buf.value = thisDeserializer.readBoolean();
12395         }
12396         Opt_Boolean value_value = value_value_buf;;
12397         GetNodeModifiers()->getImageAnimatorModifier()->setMonitorInvisibleArea(self, (const Opt_Boolean*)&value_value);
12398 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_monitorInvisibleArea,Ark_NativePointer,KSerializerBuffer,int32_t)12399 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_monitorInvisibleArea, Ark_NativePointer, KSerializerBuffer, int32_t)
12400 void impl_ImageAnimatorAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12401         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12402         Deserializer thisDeserializer(thisArray, thisLength);
12403         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12404         Opt_Callback_Void value_value_buf = {};
12405         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12406         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12407         {
12408             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12409         }
12410         Opt_Callback_Void value_value = value_value_buf;;
12411         GetNodeModifiers()->getImageAnimatorModifier()->setOnStart(self, (const Opt_Callback_Void*)&value_value);
12412 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onStart,Ark_NativePointer,KSerializerBuffer,int32_t)12413 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t)
12414 void impl_ImageAnimatorAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12415         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12416         Deserializer thisDeserializer(thisArray, thisLength);
12417         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12418         Opt_Callback_Void value_value_buf = {};
12419         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12420         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12421         {
12422             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12423         }
12424         Opt_Callback_Void value_value = value_value_buf;;
12425         GetNodeModifiers()->getImageAnimatorModifier()->setOnPause(self, (const Opt_Callback_Void*)&value_value);
12426 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onPause,Ark_NativePointer,KSerializerBuffer,int32_t)12427 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t)
12428 void impl_ImageAnimatorAttribute_onRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12429         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12430         Deserializer thisDeserializer(thisArray, thisLength);
12431         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12432         Opt_Callback_Void value_value_buf = {};
12433         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12434         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12435         {
12436             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12437         }
12438         Opt_Callback_Void value_value = value_value_buf;;
12439         GetNodeModifiers()->getImageAnimatorModifier()->setOnRepeat(self, (const Opt_Callback_Void*)&value_value);
12440 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onRepeat,Ark_NativePointer,KSerializerBuffer,int32_t)12441 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onRepeat, Ark_NativePointer, KSerializerBuffer, int32_t)
12442 void impl_ImageAnimatorAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12443         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12444         Deserializer thisDeserializer(thisArray, thisLength);
12445         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12446         Opt_Callback_Void value_value_buf = {};
12447         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12448         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12449         {
12450             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12451         }
12452         Opt_Callback_Void value_value = value_value_buf;;
12453         GetNodeModifiers()->getImageAnimatorModifier()->setOnCancel(self, (const Opt_Callback_Void*)&value_value);
12454 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onCancel,Ark_NativePointer,KSerializerBuffer,int32_t)12455 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t)
12456 void impl_ImageAnimatorAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12457         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12458         Deserializer thisDeserializer(thisArray, thisLength);
12459         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12460         Opt_Callback_Void value_value_buf = {};
12461         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12462         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12463         {
12464             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
12465         }
12466         Opt_Callback_Void value_value = value_value_buf;;
12467         GetNodeModifiers()->getImageAnimatorModifier()->setOnFinish(self, (const Opt_Callback_Void*)&value_value);
12468 }
KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)12469 KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
12470 Ark_NativePointer impl_ImageSpan_construct(Ark_Int32 id, Ark_Int32 flags) {
12471         return GetNodeModifiers()->getImageSpanModifier()->construct(id, flags);
12472 }
KOALA_INTEROP_DIRECT_2(ImageSpan_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12473 KOALA_INTEROP_DIRECT_2(ImageSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12474 void impl_ImageSpanInterface_setImageSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12475         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12476         Deserializer thisDeserializer(thisArray, thisLength);
12477         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
12478         Ark_Union_ResourceStr_PixelMap value_value_buf = {};
12479         value_value_buf.selector = value_value_buf_selector;
12480         if (value_value_buf_selector == 0) {
12481             value_value_buf.selector = 0;
12482             const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8();
12483             Ark_ResourceStr value_value_buf_u = {};
12484             value_value_buf_u.selector = value_value_buf_u_selector;
12485             if (value_value_buf_u_selector == 0) {
12486                 value_value_buf_u.selector = 0;
12487                 value_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
12488             }
12489             else if (value_value_buf_u_selector == 1) {
12490                 value_value_buf_u.selector = 1;
12491                 value_value_buf_u.value1 = thisDeserializer.readResource();
12492             }
12493             else {
12494                 INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation.");
12495             }
12496             value_value_buf.value0 = static_cast<Ark_ResourceStr>(value_value_buf_u);
12497         }
12498         else if (value_value_buf_selector == 1) {
12499             value_value_buf.selector = 1;
12500             value_value_buf.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
12501         }
12502         else {
12503             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
12504         }
12505         Ark_Union_ResourceStr_PixelMap value_value = static_cast<Ark_Union_ResourceStr_PixelMap>(value_value_buf);;
12506         GetNodeModifiers()->getImageSpanModifier()->setImageSpanOptions(self, (const Ark_Union_ResourceStr_PixelMap*)&value_value);
12507 }
KOALA_INTEROP_DIRECT_V3(ImageSpanInterface_setImageSpanOptions,Ark_NativePointer,KSerializerBuffer,int32_t)12508 KOALA_INTEROP_DIRECT_V3(ImageSpanInterface_setImageSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
12509 void impl_ImageSpanAttribute_verticalAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12511         Deserializer thisDeserializer(thisArray, thisLength);
12512         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12513         Opt_ImageSpanAlignment value_value_buf = {};
12514         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12515         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12516         {
12517             value_value_buf.value = static_cast<Ark_ImageSpanAlignment>(thisDeserializer.readInt32());
12518         }
12519         Opt_ImageSpanAlignment value_value = value_value_buf;;
12520         GetNodeModifiers()->getImageSpanModifier()->setVerticalAlign(self, (const Opt_ImageSpanAlignment*)&value_value);
12521 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_verticalAlign,Ark_NativePointer,KSerializerBuffer,int32_t)12522 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_verticalAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
12523 void impl_ImageSpanAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12524         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12525         Deserializer thisDeserializer(thisArray, thisLength);
12526         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12527         Opt_Union_ColorFilter_DrawingColorFilter value_value_buf = {};
12528         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12529         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12530         {
12531             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
12532             Ark_Union_ColorFilter_DrawingColorFilter value_value_buf_ = {};
12533             value_value_buf_.selector = value_value_buf__selector;
12534             if (value_value_buf__selector == 0) {
12535                 value_value_buf_.selector = 0;
12536                 value_value_buf_.value0 = static_cast<Ark_ColorFilter>(thisDeserializer.readColorFilter());
12537             }
12538             else if (value_value_buf__selector == 1) {
12539                 value_value_buf_.selector = 1;
12540                 value_value_buf_.value1 = static_cast<Ark_DrawingColorFilter>(thisDeserializer.readDrawingColorFilter());
12541             }
12542             else {
12543                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
12544             }
12545             value_value_buf.value = static_cast<Ark_Union_ColorFilter_DrawingColorFilter>(value_value_buf_);
12546         }
12547         Opt_Union_ColorFilter_DrawingColorFilter value_value = value_value_buf;;
12548         GetNodeModifiers()->getImageSpanModifier()->setColorFilter(self, (const Opt_Union_ColorFilter_DrawingColorFilter*)&value_value);
12549 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_colorFilter,Ark_NativePointer,KSerializerBuffer,int32_t)12550 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
12551 void impl_ImageSpanAttribute_objectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12552         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12553         Deserializer thisDeserializer(thisArray, thisLength);
12554         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12555         Opt_ImageFit value_value_buf = {};
12556         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12557         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12558         {
12559             value_value_buf.value = static_cast<Ark_ImageFit>(thisDeserializer.readInt32());
12560         }
12561         Opt_ImageFit value_value = value_value_buf;;
12562         GetNodeModifiers()->getImageSpanModifier()->setObjectFit(self, (const Opt_ImageFit*)&value_value);
12563 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_objectFit,Ark_NativePointer,KSerializerBuffer,int32_t)12564 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_objectFit, Ark_NativePointer, KSerializerBuffer, int32_t)
12565 void impl_ImageSpanAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12566         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12567         Deserializer thisDeserializer(thisArray, thisLength);
12568         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12569         Opt_ImageCompleteCallback value_value_buf = {};
12570         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12571         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12572         {
12573             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ImageLoadResult result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ImageCompleteCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ImageLoadResult result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ImageCompleteCallback))))};
12574         }
12575         Opt_ImageCompleteCallback value_value = value_value_buf;;
12576         GetNodeModifiers()->getImageSpanModifier()->setOnComplete(self, (const Opt_ImageCompleteCallback*)&value_value);
12577 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onComplete,Ark_NativePointer,KSerializerBuffer,int32_t)12578 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
12579 void impl_ImageSpanAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12580         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12581         Deserializer thisDeserializer(thisArray, thisLength);
12582         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12583         Opt_ImageErrorCallback value_value_buf = {};
12584         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12585         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12586         {
12587             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ImageError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ImageError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};
12588         }
12589         Opt_ImageErrorCallback value_value = value_value_buf;;
12590         GetNodeModifiers()->getImageSpanModifier()->setOnError(self, (const Opt_ImageErrorCallback*)&value_value);
12591 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)12592 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
12593 void impl_ImageSpanAttribute_alt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12594         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12595         Deserializer thisDeserializer(thisArray, thisLength);
12596         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12597         Opt_PixelMap value_value_buf = {};
12598         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12599         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12600         {
12601             value_value_buf.value = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
12602         }
12603         Opt_PixelMap value_value = value_value_buf;;
12604         GetNodeModifiers()->getImageSpanModifier()->setAlt(self, (const Opt_PixelMap*)&value_value);
12605 }
KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_alt,Ark_NativePointer,KSerializerBuffer,int32_t)12606 KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_alt, Ark_NativePointer, KSerializerBuffer, int32_t)
12607 Ark_NativePointer impl_LazyGridLayout_construct(Ark_Int32 id, Ark_Int32 flags) {
12608         return GetNodeModifiers()->getLazyGridLayoutModifier()->construct(id, flags);
12609 }
KOALA_INTEROP_DIRECT_2(LazyGridLayout_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12610 KOALA_INTEROP_DIRECT_2(LazyGridLayout_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12611 void impl_LazyGridLayoutAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12612         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12613         Deserializer thisDeserializer(thisArray, thisLength);
12614         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12615         Opt_LengthMetrics value_value_buf = {};
12616         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12617         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12618         {
12619             value_value_buf.value = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
12620         }
12621         Opt_LengthMetrics value_value = value_value_buf;;
12622         GetNodeModifiers()->getLazyGridLayoutModifier()->setRowsGap(self, (const Opt_LengthMetrics*)&value_value);
12623 }
KOALA_INTEROP_DIRECT_V3(LazyGridLayoutAttribute_rowsGap,Ark_NativePointer,KSerializerBuffer,int32_t)12624 KOALA_INTEROP_DIRECT_V3(LazyGridLayoutAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
12625 void impl_LazyGridLayoutAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12626         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12627         Deserializer thisDeserializer(thisArray, thisLength);
12628         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12629         Opt_LengthMetrics value_value_buf = {};
12630         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12631         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12632         {
12633             value_value_buf.value = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
12634         }
12635         Opt_LengthMetrics value_value = value_value_buf;;
12636         GetNodeModifiers()->getLazyGridLayoutModifier()->setColumnsGap(self, (const Opt_LengthMetrics*)&value_value);
12637 }
KOALA_INTEROP_DIRECT_V3(LazyGridLayoutAttribute_columnsGap,Ark_NativePointer,KSerializerBuffer,int32_t)12638 KOALA_INTEROP_DIRECT_V3(LazyGridLayoutAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
12639 Ark_NativePointer impl_LazyVGridLayout_construct(Ark_Int32 id, Ark_Int32 flags) {
12640         return GetNodeModifiers()->getLazyVGridLayoutModifier()->construct(id, flags);
12641 }
KOALA_INTEROP_DIRECT_2(LazyVGridLayout_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12642 KOALA_INTEROP_DIRECT_2(LazyVGridLayout_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12643 void impl_LazyVGridLayoutInterface_setLazyVGridLayoutOptions(Ark_NativePointer thisPtr) {
12644         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12645         GetNodeModifiers()->getLazyVGridLayoutModifier()->setLazyVGridLayoutOptions(self);
12646 }
KOALA_INTEROP_DIRECT_V1(LazyVGridLayoutInterface_setLazyVGridLayoutOptions,Ark_NativePointer)12647 KOALA_INTEROP_DIRECT_V1(LazyVGridLayoutInterface_setLazyVGridLayoutOptions, Ark_NativePointer)
12648 void impl_LazyVGridLayoutAttribute_columnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12649         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12650         Deserializer thisDeserializer(thisArray, thisLength);
12651         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12652         Opt_String value_value_buf = {};
12653         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12654         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12655         {
12656             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
12657         }
12658         Opt_String value_value = value_value_buf;;
12659         GetNodeModifiers()->getLazyVGridLayoutModifier()->setColumnsTemplate(self, (const Opt_String*)&value_value);
12660 }
KOALA_INTEROP_DIRECT_V3(LazyVGridLayoutAttribute_columnsTemplate,Ark_NativePointer,KSerializerBuffer,int32_t)12661 KOALA_INTEROP_DIRECT_V3(LazyVGridLayoutAttribute_columnsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t)
12662 Ark_NativePointer impl_Line_construct(Ark_Int32 id, Ark_Int32 flags) {
12663         return GetNodeModifiers()->getLineModifier()->construct(id, flags);
12664 }
KOALA_INTEROP_DIRECT_2(Line_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12665 KOALA_INTEROP_DIRECT_2(Line_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12666 void impl_LineInterface_setLineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12667         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12668         Deserializer thisDeserializer(thisArray, thisLength);
12669         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12670         Opt_LineOptions options_value_buf = {};
12671         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12672         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
12673         {
12674             options_value_buf.value = thisDeserializer.readLineOptions();
12675         }
12676         Opt_LineOptions options_value = options_value_buf;;
12677         GetNodeModifiers()->getLineModifier()->setLineOptions(self, (const Opt_LineOptions*)&options_value);
12678 }
KOALA_INTEROP_DIRECT_V3(LineInterface_setLineOptions,Ark_NativePointer,KSerializerBuffer,int32_t)12679 KOALA_INTEROP_DIRECT_V3(LineInterface_setLineOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
12680 void impl_LineAttribute_startPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12681     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12682     Deserializer thisDeserializer(thisArray, thisLength);
12683     const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12684     Opt_ShapePoint value_value_buf = {};
12685     value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12686     if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12687     {
12688         Ark_ShapePoint value_value_buf_ = {};
12689         value_value_buf_.value0 = thisDeserializer.readLength();
12690         value_value_buf_.value1 = thisDeserializer.readLength();
12691         value_value_buf.value = value_value_buf_;
12692     }
12693     Opt_ShapePoint value_value = value_value_buf;;
12694     GetNodeModifiers()->getLineModifier()->setStartPoint(self, (const Opt_ShapePoint*)&value_value);
12695 }
KOALA_INTEROP_DIRECT_V3(LineAttribute_startPoint,Ark_NativePointer,KSerializerBuffer,int32_t)12696 KOALA_INTEROP_DIRECT_V3(LineAttribute_startPoint, Ark_NativePointer, KSerializerBuffer, int32_t)
12697 void impl_LineAttribute_endPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12698     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12699     Deserializer thisDeserializer(thisArray, thisLength);
12700     const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12701     Opt_ShapePoint value_value_buf = {};
12702     value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12703     if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12704     {
12705         Ark_ShapePoint value_value_buf_ = {};
12706         value_value_buf_.value0 = thisDeserializer.readLength();
12707         value_value_buf_.value1 = thisDeserializer.readLength();
12708         value_value_buf.value = value_value_buf_;
12709     }
12710     Opt_ShapePoint value_value = value_value_buf;;
12711     GetNodeModifiers()->getLineModifier()->setEndPoint(self, (const Opt_ShapePoint*)&value_value);
12712 }
KOALA_INTEROP_DIRECT_V3(LineAttribute_endPoint,Ark_NativePointer,KSerializerBuffer,int32_t)12713 KOALA_INTEROP_DIRECT_V3(LineAttribute_endPoint, Ark_NativePointer, KSerializerBuffer, int32_t)
12714 Ark_NativePointer impl_List_construct(Ark_Int32 id, Ark_Int32 flags) {
12715         return GetNodeModifiers()->getListModifier()->construct(id, flags);
12716 }
KOALA_INTEROP_DIRECT_2(List_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)12717 KOALA_INTEROP_DIRECT_2(List_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
12718 void impl_ListInterface_setListOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12719         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12720         Deserializer thisDeserializer(thisArray, thisLength);
12721         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12722         Opt_ListOptions options_value_buf = {};
12723         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12724         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
12725         {
12726             options_value_buf.value = thisDeserializer.readListOptions();
12727         }
12728         Opt_ListOptions options_value = options_value_buf;;
12729         GetNodeModifiers()->getListModifier()->setListOptions(self, (const Opt_ListOptions*)&options_value);
12730 }
KOALA_INTEROP_DIRECT_V3(ListInterface_setListOptions,Ark_NativePointer,KSerializerBuffer,int32_t)12731 KOALA_INTEROP_DIRECT_V3(ListInterface_setListOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
12732 void impl_ListAttribute_alignListItem(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12733         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12734         Deserializer thisDeserializer(thisArray, thisLength);
12735         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12736         Opt_ListItemAlign value_value_buf = {};
12737         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12738         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12739         {
12740             value_value_buf.value = static_cast<Ark_ListItemAlign>(thisDeserializer.readInt32());
12741         }
12742         Opt_ListItemAlign value_value = value_value_buf;;
12743         GetNodeModifiers()->getListModifier()->setAlignListItem(self, (const Opt_ListItemAlign*)&value_value);
12744 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_alignListItem,Ark_NativePointer,KSerializerBuffer,int32_t)12745 KOALA_INTEROP_DIRECT_V3(ListAttribute_alignListItem, Ark_NativePointer, KSerializerBuffer, int32_t)
12746 void impl_ListAttribute_listDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12747         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12748         Deserializer thisDeserializer(thisArray, thisLength);
12749         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12750         Opt_Axis value_value_buf = {};
12751         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12752         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12753         {
12754             value_value_buf.value = static_cast<Ark_Axis>(thisDeserializer.readInt32());
12755         }
12756         Opt_Axis value_value = value_value_buf;;
12757         GetNodeModifiers()->getListModifier()->setListDirection(self, (const Opt_Axis*)&value_value);
12758 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_listDirection,Ark_NativePointer,KSerializerBuffer,int32_t)12759 KOALA_INTEROP_DIRECT_V3(ListAttribute_listDirection, Ark_NativePointer, KSerializerBuffer, int32_t)
12760 void impl_ListAttribute_scrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12761         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12762         Deserializer thisDeserializer(thisArray, thisLength);
12763         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12764         Opt_BarState value_value_buf = {};
12765         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12766         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12767         {
12768             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
12769         }
12770         Opt_BarState value_value = value_value_buf;;
12771         GetNodeModifiers()->getListModifier()->setScrollBar(self, (const Opt_BarState*)&value_value);
12772 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_scrollBar,Ark_NativePointer,KSerializerBuffer,int32_t)12773 KOALA_INTEROP_DIRECT_V3(ListAttribute_scrollBar, Ark_NativePointer, KSerializerBuffer, int32_t)
12774 void impl_ListAttribute_contentStartOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12775         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12776         Deserializer thisDeserializer(thisArray, thisLength);
12777         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12778         Opt_Number value_value_buf = {};
12779         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12780         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12781         {
12782             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12783         }
12784         Opt_Number value_value = value_value_buf;;
12785         GetNodeModifiers()->getListModifier()->setContentStartOffset(self, (const Opt_Number*)&value_value);
12786 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_contentStartOffset,Ark_NativePointer,KSerializerBuffer,int32_t)12787 KOALA_INTEROP_DIRECT_V3(ListAttribute_contentStartOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
12788 void impl_ListAttribute_contentEndOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12789         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12790         Deserializer thisDeserializer(thisArray, thisLength);
12791         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12792         Opt_Number value_value_buf = {};
12793         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12794         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12795         {
12796             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12797         }
12798         Opt_Number value_value = value_value_buf;;
12799         GetNodeModifiers()->getListModifier()->setContentEndOffset(self, (const Opt_Number*)&value_value);
12800 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_contentEndOffset,Ark_NativePointer,KSerializerBuffer,int32_t)12801 KOALA_INTEROP_DIRECT_V3(ListAttribute_contentEndOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
12802 void impl_ListAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12803         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12804         Deserializer thisDeserializer(thisArray, thisLength);
12805         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12806         Opt_ListDividerOptions value_value_buf = {};
12807         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12808         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12809         {
12810             value_value_buf.value = thisDeserializer.readListDividerOptions();
12811         }
12812         Opt_ListDividerOptions value_value = value_value_buf;;
12813         GetNodeModifiers()->getListModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value);
12814 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)12815 KOALA_INTEROP_DIRECT_V3(ListAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
12816 void impl_ListAttribute_editMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12817         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12818         Deserializer thisDeserializer(thisArray, thisLength);
12819         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12820         Opt_Boolean value_value_buf = {};
12821         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12822         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12823         {
12824             value_value_buf.value = thisDeserializer.readBoolean();
12825         }
12826         Opt_Boolean value_value = value_value_buf;;
12827         GetNodeModifiers()->getListModifier()->setEditMode(self, (const Opt_Boolean*)&value_value);
12828 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_editMode,Ark_NativePointer,KSerializerBuffer,int32_t)12829 KOALA_INTEROP_DIRECT_V3(ListAttribute_editMode, Ark_NativePointer, KSerializerBuffer, int32_t)
12830 void impl_ListAttribute_multiSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12831         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12832         Deserializer thisDeserializer(thisArray, thisLength);
12833         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12834         Opt_Boolean value_value_buf = {};
12835         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12836         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12837         {
12838             value_value_buf.value = thisDeserializer.readBoolean();
12839         }
12840         Opt_Boolean value_value = value_value_buf;;
12841         GetNodeModifiers()->getListModifier()->setMultiSelectable(self, (const Opt_Boolean*)&value_value);
12842 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_multiSelectable,Ark_NativePointer,KSerializerBuffer,int32_t)12843 KOALA_INTEROP_DIRECT_V3(ListAttribute_multiSelectable, Ark_NativePointer, KSerializerBuffer, int32_t)
12844 void impl_ListAttribute_cachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12845         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12846         Deserializer thisDeserializer(thisArray, thisLength);
12847         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12848         Opt_Number value_value_buf = {};
12849         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12850         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12851         {
12852             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12853         }
12854         Opt_Number value_value = value_value_buf;;
12855         GetNodeModifiers()->getListModifier()->setCachedCount0(self, (const Opt_Number*)&value_value);
12856 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount0,Ark_NativePointer,KSerializerBuffer,int32_t)12857 KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t)
12858 void impl_ListAttribute_cachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12859         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12860         Deserializer thisDeserializer(thisArray, thisLength);
12861         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12862         Opt_Number count_value_buf = {};
12863         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12864         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
12865         {
12866             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
12867         }
12868         Opt_Number count_value = count_value_buf;;
12869         const auto show_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12870         Opt_Boolean show_value_buf = {};
12871         show_value_buf.tag = show_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12872         if ((INTEROP_RUNTIME_UNDEFINED) != (show_value_buf_runtimeType))
12873         {
12874             show_value_buf.value = thisDeserializer.readBoolean();
12875         }
12876         Opt_Boolean show_value = show_value_buf;;
12877         GetNodeModifiers()->getListModifier()->setCachedCount1(self, (const Opt_Number*)&count_value, (const Opt_Boolean*)&show_value);
12878 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount1,Ark_NativePointer,KSerializerBuffer,int32_t)12879 KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t)
12880 void impl_ListAttribute_chainAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12881         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12882         Deserializer thisDeserializer(thisArray, thisLength);
12883         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12884         Opt_Boolean value_value_buf = {};
12885         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12886         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12887         {
12888             value_value_buf.value = thisDeserializer.readBoolean();
12889         }
12890         Opt_Boolean value_value = value_value_buf;;
12891         GetNodeModifiers()->getListModifier()->setChainAnimation(self, (const Opt_Boolean*)&value_value);
12892 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)12893 KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
12894 void impl_ListAttribute_chainAnimationOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12895         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12896         Deserializer thisDeserializer(thisArray, thisLength);
12897         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12898         Opt_ChainAnimationOptions value_value_buf = {};
12899         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12900         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12901         {
12902             value_value_buf.value = thisDeserializer.readChainAnimationOptions();
12903         }
12904         Opt_ChainAnimationOptions value_value = value_value_buf;;
12905         GetNodeModifiers()->getListModifier()->setChainAnimationOptions(self, (const Opt_ChainAnimationOptions*)&value_value);
12906 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimationOptions,Ark_NativePointer,KSerializerBuffer,int32_t)12907 KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimationOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
12908 void impl_ListAttribute_sticky(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12909         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12910         Deserializer thisDeserializer(thisArray, thisLength);
12911         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12912         Opt_StickyStyle value_value_buf = {};
12913         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12914         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12915         {
12916             value_value_buf.value = static_cast<Ark_StickyStyle>(thisDeserializer.readInt32());
12917         }
12918         Opt_StickyStyle value_value = value_value_buf;;
12919         GetNodeModifiers()->getListModifier()->setSticky(self, (const Opt_StickyStyle*)&value_value);
12920 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_sticky,Ark_NativePointer,KSerializerBuffer,int32_t)12921 KOALA_INTEROP_DIRECT_V3(ListAttribute_sticky, Ark_NativePointer, KSerializerBuffer, int32_t)
12922 void impl_ListAttribute_scrollSnapAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12923         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12924         Deserializer thisDeserializer(thisArray, thisLength);
12925         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12926         Opt_ScrollSnapAlign value_value_buf = {};
12927         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12928         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12929         {
12930             value_value_buf.value = static_cast<Ark_ScrollSnapAlign>(thisDeserializer.readInt32());
12931         }
12932         Opt_ScrollSnapAlign value_value = value_value_buf;;
12933         GetNodeModifiers()->getListModifier()->setScrollSnapAlign(self, (const Opt_ScrollSnapAlign*)&value_value);
12934 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_scrollSnapAlign,Ark_NativePointer,KSerializerBuffer,int32_t)12935 KOALA_INTEROP_DIRECT_V3(ListAttribute_scrollSnapAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
12936 void impl_ListAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12937         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12938         Deserializer thisDeserializer(thisArray, thisLength);
12939         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12940         Opt_NestedScrollOptions value_value_buf = {};
12941         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12942         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12943         {
12944             value_value_buf.value = thisDeserializer.readNestedScrollOptions();
12945         }
12946         Opt_NestedScrollOptions value_value = value_value_buf;;
12947         GetNodeModifiers()->getListModifier()->setNestedScroll(self, (const Opt_NestedScrollOptions*)&value_value);
12948 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)12949 KOALA_INTEROP_DIRECT_V3(ListAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
12950 void impl_ListAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12951         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12952         Deserializer thisDeserializer(thisArray, thisLength);
12953         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12954         Opt_Boolean value_value_buf = {};
12955         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12956         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12957         {
12958             value_value_buf.value = thisDeserializer.readBoolean();
12959         }
12960         Opt_Boolean value_value = value_value_buf;;
12961         GetNodeModifiers()->getListModifier()->setEnableScrollInteraction(self, (const Opt_Boolean*)&value_value);
12962 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_enableScrollInteraction,Ark_NativePointer,KSerializerBuffer,int32_t)12963 KOALA_INTEROP_DIRECT_V3(ListAttribute_enableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t)
12964 void impl_ListAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12965         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12966         Deserializer thisDeserializer(thisArray, thisLength);
12967         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12968         Opt_Union_Number_Resource value_value_buf = {};
12969         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12970         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12971         {
12972             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
12973             Ark_Union_Number_Resource value_value_buf_ = {};
12974             value_value_buf_.selector = value_value_buf__selector;
12975             if (value_value_buf__selector == 0) {
12976                 value_value_buf_.selector = 0;
12977                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
12978             }
12979             else if (value_value_buf__selector == 1) {
12980                 value_value_buf_.selector = 1;
12981                 value_value_buf_.value1 = thisDeserializer.readResource();
12982             }
12983             else {
12984                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
12985             }
12986             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
12987         }
12988         Opt_Union_Number_Resource value_value = value_value_buf;;
12989         GetNodeModifiers()->getListModifier()->setFriction(self, (const Opt_Union_Number_Resource*)&value_value);
12990 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_friction,Ark_NativePointer,KSerializerBuffer,int32_t)12991 KOALA_INTEROP_DIRECT_V3(ListAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t)
12992 void impl_ListAttribute_childrenMainSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
12993         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
12994         Deserializer thisDeserializer(thisArray, thisLength);
12995         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
12996         Opt_ChildrenMainSize value_value_buf = {};
12997         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
12998         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
12999         {
13000             value_value_buf.value = static_cast<Ark_ChildrenMainSize>(thisDeserializer.readChildrenMainSize());
13001         }
13002         Opt_ChildrenMainSize value_value = value_value_buf;;
13003         GetNodeModifiers()->getListModifier()->setChildrenMainSize(self, (const Opt_ChildrenMainSize*)&value_value);
13004 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_childrenMainSize,Ark_NativePointer,KSerializerBuffer,int32_t)13005 KOALA_INTEROP_DIRECT_V3(ListAttribute_childrenMainSize, Ark_NativePointer, KSerializerBuffer, int32_t)
13006 void impl_ListAttribute_maintainVisibleContentPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13007         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13008         Deserializer thisDeserializer(thisArray, thisLength);
13009         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13010         Opt_Boolean value_value_buf = {};
13011         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13012         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13013         {
13014             value_value_buf.value = thisDeserializer.readBoolean();
13015         }
13016         Opt_Boolean value_value = value_value_buf;;
13017         GetNodeModifiers()->getListModifier()->setMaintainVisibleContentPosition(self, (const Opt_Boolean*)&value_value);
13018 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_maintainVisibleContentPosition,Ark_NativePointer,KSerializerBuffer,int32_t)13019 KOALA_INTEROP_DIRECT_V3(ListAttribute_maintainVisibleContentPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
13020 void impl_ListAttribute_stackFromEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13021         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13022         Deserializer thisDeserializer(thisArray, thisLength);
13023         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13024         Opt_Boolean value_value_buf = {};
13025         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13026         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13027         {
13028             value_value_buf.value = thisDeserializer.readBoolean();
13029         }
13030         Opt_Boolean value_value = value_value_buf;;
13031         GetNodeModifiers()->getListModifier()->setStackFromEnd(self, (const Opt_Boolean*)&value_value);
13032 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_stackFromEnd,Ark_NativePointer,KSerializerBuffer,int32_t)13033 KOALA_INTEROP_DIRECT_V3(ListAttribute_stackFromEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
13034 void impl_ListAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13035         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13036         Deserializer thisDeserializer(thisArray, thisLength);
13037         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13038         Opt_Callback_Number_Number_Void value_value_buf = {};
13039         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13040         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13041         {
13042             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
13043         }
13044         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
13045         GetNodeModifiers()->getListModifier()->setOnScroll(self, (const Opt_Callback_Number_Number_Void*)&value_value);
13046 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScroll,Ark_NativePointer,KSerializerBuffer,int32_t)13047 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
13048 void impl_ListAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13049         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13050         Deserializer thisDeserializer(thisArray, thisLength);
13051         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13052         Opt_Callback_Number_Number_Number_Void value_value_buf = {};
13053         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13054         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13055         {
13056             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number start, const Ark_Number end, const Ark_Number center)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number start, const Ark_Number end, const Ark_Number center)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Number_Void))))};
13057         }
13058         Opt_Callback_Number_Number_Number_Void value_value = value_value_buf;;
13059         GetNodeModifiers()->getListModifier()->setOnScrollIndex(self, (const Opt_Callback_Number_Number_Number_Void*)&value_value);
13060 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollIndex,Ark_NativePointer,KSerializerBuffer,int32_t)13061 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
13062 void impl_ListAttribute_onScrollVisibleContentChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13063         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13064         Deserializer thisDeserializer(thisArray, thisLength);
13065         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13066         Opt_OnScrollVisibleContentChangeCallback value_value_buf = {};
13067         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13068         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13069         {
13070             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollVisibleContentChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollVisibleContentChangeCallback))))};
13071         }
13072         Opt_OnScrollVisibleContentChangeCallback value_value = value_value_buf;;
13073         GetNodeModifiers()->getListModifier()->setOnScrollVisibleContentChange(self, (const Opt_OnScrollVisibleContentChangeCallback*)&value_value);
13074 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollVisibleContentChange,Ark_NativePointer,KSerializerBuffer,int32_t)13075 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollVisibleContentChange, Ark_NativePointer, KSerializerBuffer, int32_t)
13076 void impl_ListAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13077         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13078         Deserializer thisDeserializer(thisArray, thisLength);
13079         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13080         Opt_Callback_Void value_value_buf = {};
13081         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13082         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13083         {
13084             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13085         }
13086         Opt_Callback_Void value_value = value_value_buf;;
13087         GetNodeModifiers()->getListModifier()->setOnReachStart(self, (const Opt_Callback_Void*)&value_value);
13088 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachStart,Ark_NativePointer,KSerializerBuffer,int32_t)13089 KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t)
13090 void impl_ListAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13091         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13092         Deserializer thisDeserializer(thisArray, thisLength);
13093         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13094         Opt_Callback_Void value_value_buf = {};
13095         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13096         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13097         {
13098             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13099         }
13100         Opt_Callback_Void value_value = value_value_buf;;
13101         GetNodeModifiers()->getListModifier()->setOnReachEnd(self, (const Opt_Callback_Void*)&value_value);
13102 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachEnd,Ark_NativePointer,KSerializerBuffer,int32_t)13103 KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
13104 void impl_ListAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13105         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13106         Deserializer thisDeserializer(thisArray, thisLength);
13107         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13108         Opt_Callback_Void value_value_buf = {};
13109         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13110         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13111         {
13112             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13113         }
13114         Opt_Callback_Void value_value = value_value_buf;;
13115         GetNodeModifiers()->getListModifier()->setOnScrollStart(self, (const Opt_Callback_Void*)&value_value);
13116 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStart,Ark_NativePointer,KSerializerBuffer,int32_t)13117 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t)
13118 void impl_ListAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13119         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13120         Deserializer thisDeserializer(thisArray, thisLength);
13121         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13122         Opt_Callback_Void value_value_buf = {};
13123         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13124         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13125         {
13126             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13127         }
13128         Opt_Callback_Void value_value = value_value_buf;;
13129         GetNodeModifiers()->getListModifier()->setOnScrollStop(self, (const Opt_Callback_Void*)&value_value);
13130 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStop,Ark_NativePointer,KSerializerBuffer,int32_t)13131 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t)
13132 void impl_ListAttribute_onItemDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13133         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13134         Deserializer thisDeserializer(thisArray, thisLength);
13135         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13136         Opt_Callback_Number_Boolean value_value_buf = {};
13137         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13138         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13139         {
13140             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Boolean))))};
13141         }
13142         Opt_Callback_Number_Boolean value_value = value_value_buf;;
13143         GetNodeModifiers()->getListModifier()->setOnItemDelete(self, (const Opt_Callback_Number_Boolean*)&value_value);
13144 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDelete,Ark_NativePointer,KSerializerBuffer,int32_t)13145 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
13146 void impl_ListAttribute_onItemMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13147         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13148         Deserializer thisDeserializer(thisArray, thisLength);
13149         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13150         Opt_Callback_Number_Number_Boolean value_value_buf = {};
13151         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13152         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13153         {
13154             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Boolean))))};
13155         }
13156         Opt_Callback_Number_Number_Boolean value_value = value_value_buf;;
13157         GetNodeModifiers()->getListModifier()->setOnItemMove(self, (const Opt_Callback_Number_Number_Boolean*)&value_value);
13158 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemMove,Ark_NativePointer,KSerializerBuffer,int32_t)13159 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemMove, Ark_NativePointer, KSerializerBuffer, int32_t)
13160 void impl_ListAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13161         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13162         Deserializer thisDeserializer(thisArray, thisLength);
13163         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13164         Opt_ListAttribute_onItemDragStart_event_type value_value_buf = {};
13165         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13166         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13167         {
13168             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ListAttribute_onItemDragStart_event_type)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ListAttribute_onItemDragStart_event_type))))};
13169         }
13170         Opt_ListAttribute_onItemDragStart_event_type value_value = value_value_buf;;
13171         GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, (const Opt_ListAttribute_onItemDragStart_event_type*)&value_value);
13172 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragStart,Ark_NativePointer,KSerializerBuffer,int32_t)13173 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t)
13174 void impl_ListAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13175         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13176         Deserializer thisDeserializer(thisArray, thisLength);
13177         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13178         Opt_Callback_ItemDragInfo_Void value_value_buf = {};
13179         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13180         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13181         {
13182             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Void))))};
13183         }
13184         Opt_Callback_ItemDragInfo_Void value_value = value_value_buf;;
13185         GetNodeModifiers()->getListModifier()->setOnItemDragEnter(self, (const Opt_Callback_ItemDragInfo_Void*)&value_value);
13186 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragEnter,Ark_NativePointer,KSerializerBuffer,int32_t)13187 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t)
13188 void impl_ListAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13189         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13190         Deserializer thisDeserializer(thisArray, thisLength);
13191         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13192         Opt_Callback_ItemDragInfo_Number_Number_Void value_value_buf = {};
13193         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13194         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13195         {
13196             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Void))))};
13197         }
13198         Opt_Callback_ItemDragInfo_Number_Number_Void value_value = value_value_buf;;
13199         GetNodeModifiers()->getListModifier()->setOnItemDragMove(self, (const Opt_Callback_ItemDragInfo_Number_Number_Void*)&value_value);
13200 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragMove,Ark_NativePointer,KSerializerBuffer,int32_t)13201 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t)
13202 void impl_ListAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13203         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13204         Deserializer thisDeserializer(thisArray, thisLength);
13205         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13206         Opt_Callback_ItemDragInfo_Number_Void value_value_buf = {};
13207         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13208         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13209         {
13210             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Void))))};
13211         }
13212         Opt_Callback_ItemDragInfo_Number_Void value_value = value_value_buf;;
13213         GetNodeModifiers()->getListModifier()->setOnItemDragLeave(self, (const Opt_Callback_ItemDragInfo_Number_Void*)&value_value);
13214 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragLeave,Ark_NativePointer,KSerializerBuffer,int32_t)13215 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t)
13216 void impl_ListAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13217         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13218         Deserializer thisDeserializer(thisArray, thisLength);
13219         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13220         Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void value_value_buf = {};
13221         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13222         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13223         {
13224             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void))))};
13225         }
13226         Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void value_value = value_value_buf;;
13227         GetNodeModifiers()->getListModifier()->setOnItemDrop(self, (const Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value);
13228 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDrop,Ark_NativePointer,KSerializerBuffer,int32_t)13229 KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t)
13230 void impl_ListAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13231         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13232         Deserializer thisDeserializer(thisArray, thisLength);
13233         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13234         Opt_Callback_Number_ScrollState_Literal_Number_offsetRemain value_value_buf = {};
13235         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13236         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13237         {
13238             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_Literal_Number_offsetRemain_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_Literal_Number_offsetRemain_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};
13239         }
13240         Opt_Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = value_value_buf;;
13241         GetNodeModifiers()->getListModifier()->setOnScrollFrameBegin(self, (const Opt_Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value);
13242 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollFrameBegin,Ark_NativePointer,KSerializerBuffer,int32_t)13243 KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
13244 void impl_ListAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13245         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13246         Deserializer thisDeserializer(thisArray, thisLength);
13247         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13248         Opt_OnWillScrollCallback value_value_buf = {};
13249         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13250         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13251         {
13252             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnWillScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnWillScrollCallback))))};
13253         }
13254         Opt_OnWillScrollCallback value_value = value_value_buf;;
13255         GetNodeModifiers()->getListModifier()->setOnWillScroll(self, (const Opt_OnWillScrollCallback*)&value_value);
13256 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onWillScroll,Ark_NativePointer,KSerializerBuffer,int32_t)13257 KOALA_INTEROP_DIRECT_V3(ListAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
13258 void impl_ListAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13259         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13260         Deserializer thisDeserializer(thisArray, thisLength);
13261         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13262         Opt_OnScrollCallback value_value_buf = {};
13263         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13264         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13265         {
13266             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollCallback))))};
13267         }
13268         Opt_OnScrollCallback value_value = value_value_buf;;
13269         GetNodeModifiers()->getListModifier()->setOnDidScroll(self, (const Opt_OnScrollCallback*)&value_value);
13270 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_onDidScroll,Ark_NativePointer,KSerializerBuffer,int32_t)13271 KOALA_INTEROP_DIRECT_V3(ListAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
13272 void impl_ListAttribute_lanes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13273         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13274         Deserializer thisDeserializer(thisArray, thisLength);
13275         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13276         Opt_Union_Number_LengthConstrain value_value_buf = {};
13277         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13278         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13279         {
13280             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13281             Ark_Union_Number_LengthConstrain value_value_buf_ = {};
13282             value_value_buf_.selector = value_value_buf__selector;
13283             if (value_value_buf__selector == 0) {
13284                 value_value_buf_.selector = 0;
13285                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13286             }
13287             else if (value_value_buf__selector == 1) {
13288                 value_value_buf_.selector = 1;
13289                 value_value_buf_.value1 = thisDeserializer.readLengthConstrain();
13290             }
13291             else {
13292                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13293             }
13294             value_value_buf.value = static_cast<Ark_Union_Number_LengthConstrain>(value_value_buf_);
13295         }
13296         Opt_Union_Number_LengthConstrain value_value = value_value_buf;;
13297         const auto gutter_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13298         Opt_Length gutter_value_buf = {};
13299         gutter_value_buf.tag = gutter_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13300         if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_value_buf_runtimeType))
13301         {
13302             gutter_value_buf.value = thisDeserializer.readLength();
13303         }
13304         Opt_Length gutter_value = gutter_value_buf;;
13305         GetNodeModifiers()->getListModifier()->setLanes(self, (const Opt_Union_Number_LengthConstrain*)&value_value, (const Opt_Length*)&gutter_value);
13306 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_lanes,Ark_NativePointer,KSerializerBuffer,int32_t)13307 KOALA_INTEROP_DIRECT_V3(ListAttribute_lanes, Ark_NativePointer, KSerializerBuffer, int32_t)
13308 void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13309         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13310         Deserializer thisDeserializer(thisArray, thisLength);
13311         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13312         Opt_EdgeEffect value_value_buf = {};
13313         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13314         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13315         {
13316             value_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
13317         }
13318         Opt_EdgeEffect value_value = value_value_buf;;
13319         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13320         Opt_EdgeEffectOptions options_value_buf = {};
13321         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13322         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
13323         {
13324             options_value_buf.value = thisDeserializer.readEdgeEffectOptions();
13325         }
13326         Opt_EdgeEffectOptions options_value = options_value_buf;;
13327         GetNodeModifiers()->getListModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&value_value, (const Opt_EdgeEffectOptions*)&options_value);
13328 }
KOALA_INTEROP_DIRECT_V3(ListAttribute_edgeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)13329 KOALA_INTEROP_DIRECT_V3(ListAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
13330 Ark_NativePointer impl_ListItem_construct(Ark_Int32 id, Ark_Int32 flags) {
13331         return GetNodeModifiers()->getListItemModifier()->construct(id, flags);
13332 }
KOALA_INTEROP_DIRECT_2(ListItem_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13333 KOALA_INTEROP_DIRECT_2(ListItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13334 void impl_ListItemInterface_setListItemOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13335         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13336         Deserializer thisDeserializer(thisArray, thisLength);
13337         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13338         Opt_ListItemOptions value_value_buf = {};
13339         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13340         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13341         {
13342             value_value_buf.value = thisDeserializer.readListItemOptions();
13343         }
13344         Opt_ListItemOptions value_value = value_value_buf;;
13345         GetNodeModifiers()->getListItemModifier()->setListItemOptions0(self, (const Opt_ListItemOptions*)&value_value);
13346 }
KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)13347 KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
13348 void impl_ListItemInterface_setListItemOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13349         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13350         Deserializer thisDeserializer(thisArray, thisLength);
13351         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13352         Opt_String value_value_buf = {};
13353         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13354         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13355         {
13356             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
13357         }
13358         Opt_String value_value = value_value_buf;;
13359         GetNodeModifiers()->getListItemModifier()->setListItemOptions1(self, (const Opt_String*)&value_value);
13360 }
KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)13361 KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
13362 void impl_ListItemAttribute_sticky(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13363         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13364         Deserializer thisDeserializer(thisArray, thisLength);
13365         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13366         Opt_Sticky value_value_buf = {};
13367         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13368         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13369         {
13370             value_value_buf.value = static_cast<Ark_Sticky>(thisDeserializer.readInt32());
13371         }
13372         Opt_Sticky value_value = value_value_buf;;
13373         GetNodeModifiers()->getListItemModifier()->setSticky(self, (const Opt_Sticky*)&value_value);
13374 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_sticky,Ark_NativePointer,KSerializerBuffer,int32_t)13375 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_sticky, Ark_NativePointer, KSerializerBuffer, int32_t)
13376 void impl_ListItemAttribute_editable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13377         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13378         Deserializer thisDeserializer(thisArray, thisLength);
13379         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13380         Opt_Union_Boolean_EditMode value_value_buf = {};
13381         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13382         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13383         {
13384             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13385             Ark_Union_Boolean_EditMode value_value_buf_ = {};
13386             value_value_buf_.selector = value_value_buf__selector;
13387             if (value_value_buf__selector == 0) {
13388                 value_value_buf_.selector = 0;
13389                 value_value_buf_.value0 = thisDeserializer.readBoolean();
13390             }
13391             else if (value_value_buf__selector == 1) {
13392                 value_value_buf_.selector = 1;
13393                 value_value_buf_.value1 = static_cast<Ark_EditMode>(thisDeserializer.readInt32());
13394             }
13395             else {
13396                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13397             }
13398             value_value_buf.value = static_cast<Ark_Union_Boolean_EditMode>(value_value_buf_);
13399         }
13400         Opt_Union_Boolean_EditMode value_value = value_value_buf;;
13401         GetNodeModifiers()->getListItemModifier()->setEditable(self, (const Opt_Union_Boolean_EditMode*)&value_value);
13402 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_editable,Ark_NativePointer,KSerializerBuffer,int32_t)13403 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_editable, Ark_NativePointer, KSerializerBuffer, int32_t)
13404 void impl_ListItemAttribute_selectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13405         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13406         Deserializer thisDeserializer(thisArray, thisLength);
13407         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13408         Opt_Boolean value_value_buf = {};
13409         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13410         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13411         {
13412             value_value_buf.value = thisDeserializer.readBoolean();
13413         }
13414         Opt_Boolean value_value = value_value_buf;;
13415         GetNodeModifiers()->getListItemModifier()->setSelectable(self, (const Opt_Boolean*)&value_value);
13416 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_selectable,Ark_NativePointer,KSerializerBuffer,int32_t)13417 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_selectable, Ark_NativePointer, KSerializerBuffer, int32_t)
13418 void impl_ListItemAttribute_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13419         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13420         Deserializer thisDeserializer(thisArray, thisLength);
13421         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13422         Opt_Boolean value_value_buf = {};
13423         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13424         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13425         {
13426             value_value_buf.value = thisDeserializer.readBoolean();
13427         }
13428         Opt_Boolean value_value = value_value_buf;;
13429         GetNodeModifiers()->getListItemModifier()->setSelected(self, (const Opt_Boolean*)&value_value);
13430 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_selected,Ark_NativePointer,KSerializerBuffer,int32_t)13431 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
13432 void impl_ListItemAttribute_swipeAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13433         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13434         Deserializer thisDeserializer(thisArray, thisLength);
13435         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13436         Opt_SwipeActionOptions value_value_buf = {};
13437         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13438         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13439         {
13440             value_value_buf.value = thisDeserializer.readSwipeActionOptions();
13441         }
13442         Opt_SwipeActionOptions value_value = value_value_buf;;
13443         GetNodeModifiers()->getListItemModifier()->setSwipeAction(self, (const Opt_SwipeActionOptions*)&value_value);
13444 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_swipeAction,Ark_NativePointer,KSerializerBuffer,int32_t)13445 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_swipeAction, Ark_NativePointer, KSerializerBuffer, int32_t)
13446 void impl_ListItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13447         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13448         Deserializer thisDeserializer(thisArray, thisLength);
13449         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13450         Opt_Callback_Boolean_Void value_value_buf = {};
13451         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13452         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13453         {
13454             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
13455         }
13456         Opt_Callback_Boolean_Void value_value = value_value_buf;;
13457         GetNodeModifiers()->getListItemModifier()->setOnSelect(self, (const Opt_Callback_Boolean_Void*)&value_value);
13458 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute_onSelect,Ark_NativePointer,KSerializerBuffer,int32_t)13459 KOALA_INTEROP_DIRECT_V3(ListItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t)
13460 void impl_ListItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13461         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13462         Deserializer thisDeserializer(thisArray, thisLength);
13463         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
13464         GetNodeModifiers()->getListItemModifier()->set_onChangeEvent_selected(self, (const Callback_Opt_Boolean_Void*)&callback_value);
13465 }
KOALA_INTEROP_DIRECT_V3(ListItemAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)13466 KOALA_INTEROP_DIRECT_V3(ListItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
13467 Ark_NativePointer impl_ListItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) {
13468         return GetNodeModifiers()->getListItemGroupModifier()->construct(id, flags);
13469 }
KOALA_INTEROP_DIRECT_2(ListItemGroup_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13470 KOALA_INTEROP_DIRECT_2(ListItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13471 void impl_ListItemGroupInterface_setListItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13472         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13473         Deserializer thisDeserializer(thisArray, thisLength);
13474         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13475         Opt_ListItemGroupOptions options_value_buf = {};
13476         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13477         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
13478         {
13479             options_value_buf.value = thisDeserializer.readListItemGroupOptions();
13480         }
13481         Opt_ListItemGroupOptions options_value = options_value_buf;;
13482         GetNodeModifiers()->getListItemGroupModifier()->setListItemGroupOptions(self, (const Opt_ListItemGroupOptions*)&options_value);
13483 }
KOALA_INTEROP_DIRECT_V3(ListItemGroupInterface_setListItemGroupOptions,Ark_NativePointer,KSerializerBuffer,int32_t)13484 KOALA_INTEROP_DIRECT_V3(ListItemGroupInterface_setListItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
13485 void impl_ListItemGroupAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13486         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13487         Deserializer thisDeserializer(thisArray, thisLength);
13488         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13489         Opt_ListDividerOptions value_value_buf = {};
13490         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13491         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13492         {
13493             value_value_buf.value = thisDeserializer.readListDividerOptions();
13494         }
13495         Opt_ListDividerOptions value_value = value_value_buf;;
13496         GetNodeModifiers()->getListItemGroupModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value);
13497 }
KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)13498 KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
13499 void impl_ListItemGroupAttribute_childrenMainSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13500         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13501         Deserializer thisDeserializer(thisArray, thisLength);
13502         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13503         Opt_ChildrenMainSize value_value_buf = {};
13504         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13505         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13506         {
13507             value_value_buf.value = static_cast<Ark_ChildrenMainSize>(thisDeserializer.readChildrenMainSize());
13508         }
13509         Opt_ChildrenMainSize value_value = value_value_buf;;
13510         GetNodeModifiers()->getListItemGroupModifier()->setChildrenMainSize(self, (const Opt_ChildrenMainSize*)&value_value);
13511 }
KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_childrenMainSize,Ark_NativePointer,KSerializerBuffer,int32_t)13512 KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_childrenMainSize, Ark_NativePointer, KSerializerBuffer, int32_t)
13513 Ark_NativePointer impl_LoadingProgress_construct(Ark_Int32 id, Ark_Int32 flags) {
13514         return GetNodeModifiers()->getLoadingProgressModifier()->construct(id, flags);
13515 }
KOALA_INTEROP_DIRECT_2(LoadingProgress_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13516 KOALA_INTEROP_DIRECT_2(LoadingProgress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13517 void impl_LoadingProgressInterface_setLoadingProgressOptions(Ark_NativePointer thisPtr) {
13518         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13519         GetNodeModifiers()->getLoadingProgressModifier()->setLoadingProgressOptions(self);
13520 }
KOALA_INTEROP_DIRECT_V1(LoadingProgressInterface_setLoadingProgressOptions,Ark_NativePointer)13521 KOALA_INTEROP_DIRECT_V1(LoadingProgressInterface_setLoadingProgressOptions, Ark_NativePointer)
13522 void impl_LoadingProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13523         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13524         Deserializer thisDeserializer(thisArray, thisLength);
13525         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13526         Opt_ResourceColor value_value_buf = {};
13527         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13528         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13529         {
13530             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13531             Ark_ResourceColor value_value_buf_ = {};
13532             value_value_buf_.selector = value_value_buf__selector;
13533             if (value_value_buf__selector == 0) {
13534                 value_value_buf_.selector = 0;
13535                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
13536             }
13537             else if (value_value_buf__selector == 1) {
13538                 value_value_buf_.selector = 1;
13539                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13540             }
13541             else if (value_value_buf__selector == 2) {
13542                 value_value_buf_.selector = 2;
13543                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
13544             }
13545             else if (value_value_buf__selector == 3) {
13546                 value_value_buf_.selector = 3;
13547                 value_value_buf_.value3 = thisDeserializer.readResource();
13548             }
13549             else {
13550                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13551             }
13552             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
13553         }
13554         Opt_ResourceColor value_value = value_value_buf;;
13555         GetNodeModifiers()->getLoadingProgressModifier()->setColor(self, (const Opt_ResourceColor*)&value_value);
13556 }
KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)13557 KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
13558 void impl_LoadingProgressAttribute_enableLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13559         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13560         Deserializer thisDeserializer(thisArray, thisLength);
13561         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13562         Opt_Boolean value_value_buf = {};
13563         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13564         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13565         {
13566             value_value_buf.value = thisDeserializer.readBoolean();
13567         }
13568         Opt_Boolean value_value = value_value_buf;;
13569         GetNodeModifiers()->getLoadingProgressModifier()->setEnableLoading(self, (const Opt_Boolean*)&value_value);
13570 }
KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_enableLoading,Ark_NativePointer,KSerializerBuffer,int32_t)13571 KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_enableLoading, Ark_NativePointer, KSerializerBuffer, int32_t)
13572 void impl_LoadingProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13573         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13574         Deserializer thisDeserializer(thisArray, thisLength);
13575         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13576         Opt_ContentModifier value_value_buf = {};
13577         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13578         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13579         {
13580             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
13581         }
13582         Opt_ContentModifier value_value = value_value_buf;;
13583         GetNodeModifiers()->getLoadingProgressModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
13584 }
KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)13585 KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
13586 Ark_NativePointer impl_LocationButton_construct(Ark_Int32 id, Ark_Int32 flags) {
13587         return GetNodeModifiers()->getLocationButtonModifier()->construct(id, flags);
13588 }
KOALA_INTEROP_DIRECT_2(LocationButton_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13589 KOALA_INTEROP_DIRECT_2(LocationButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13590 void impl_LocationButtonInterface_setLocationButtonOptions0(Ark_NativePointer thisPtr) {
13591         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13592         GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions0(self);
13593 }
KOALA_INTEROP_DIRECT_V1(LocationButtonInterface_setLocationButtonOptions0,Ark_NativePointer)13594 KOALA_INTEROP_DIRECT_V1(LocationButtonInterface_setLocationButtonOptions0, Ark_NativePointer)
13595 void impl_LocationButtonInterface_setLocationButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13596         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13597         Deserializer thisDeserializer(thisArray, thisLength);
13598         Ark_LocationButtonOptions options_value = thisDeserializer.readLocationButtonOptions();;
13599         GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions1(self, (const Ark_LocationButtonOptions*)&options_value);
13600 }
KOALA_INTEROP_DIRECT_V3(LocationButtonInterface_setLocationButtonOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)13601 KOALA_INTEROP_DIRECT_V3(LocationButtonInterface_setLocationButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
13602 void impl_LocationButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13603         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13604         Deserializer thisDeserializer(thisArray, thisLength);
13605         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13606         Opt_LocationButtonCallback value_value_buf = {};
13607         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13608         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13609         {
13610             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_LocationButtonCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_LocationButtonCallback))))};
13611         }
13612         Opt_LocationButtonCallback value_value = value_value_buf;;
13613         GetNodeModifiers()->getLocationButtonModifier()->setOnClick(self, (const Opt_LocationButtonCallback*)&value_value);
13614 }
KOALA_INTEROP_DIRECT_V3(LocationButtonAttribute_onClick,Ark_NativePointer,KSerializerBuffer,int32_t)13615 KOALA_INTEROP_DIRECT_V3(LocationButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t)
13616 Ark_NativePointer impl_Marquee_construct(Ark_Int32 id, Ark_Int32 flags) {
13617         return GetNodeModifiers()->getMarqueeModifier()->construct(id, flags);
13618 }
KOALA_INTEROP_DIRECT_2(Marquee_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13619 KOALA_INTEROP_DIRECT_2(Marquee_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13620 void impl_MarqueeInterface_setMarqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13621         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13622         Deserializer thisDeserializer(thisArray, thisLength);
13623         Ark_MarqueeOptions options_value = thisDeserializer.readMarqueeOptions();;
13624         GetNodeModifiers()->getMarqueeModifier()->setMarqueeOptions(self, (const Ark_MarqueeOptions*)&options_value);
13625 }
KOALA_INTEROP_DIRECT_V3(MarqueeInterface_setMarqueeOptions,Ark_NativePointer,KSerializerBuffer,int32_t)13626 KOALA_INTEROP_DIRECT_V3(MarqueeInterface_setMarqueeOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
13627 void impl_MarqueeAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13628         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13629         Deserializer thisDeserializer(thisArray, thisLength);
13630         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13631         Opt_ResourceColor value_value_buf = {};
13632         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13633         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13634         {
13635             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13636             Ark_ResourceColor value_value_buf_ = {};
13637             value_value_buf_.selector = value_value_buf__selector;
13638             if (value_value_buf__selector == 0) {
13639                 value_value_buf_.selector = 0;
13640                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
13641             }
13642             else if (value_value_buf__selector == 1) {
13643                 value_value_buf_.selector = 1;
13644                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13645             }
13646             else if (value_value_buf__selector == 2) {
13647                 value_value_buf_.selector = 2;
13648                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
13649             }
13650             else if (value_value_buf__selector == 3) {
13651                 value_value_buf_.selector = 3;
13652                 value_value_buf_.value3 = thisDeserializer.readResource();
13653             }
13654             else {
13655                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13656             }
13657             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
13658         }
13659         Opt_ResourceColor value_value = value_value_buf;;
13660         GetNodeModifiers()->getMarqueeModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
13661 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)13662 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
13663 void impl_MarqueeAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13664         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13665         Deserializer thisDeserializer(thisArray, thisLength);
13666         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13667         Opt_Union_Number_String_Resource value_value_buf = {};
13668         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13669         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13670         {
13671             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13672             Ark_Union_Number_String_Resource value_value_buf_ = {};
13673             value_value_buf_.selector = value_value_buf__selector;
13674             if (value_value_buf__selector == 0) {
13675                 value_value_buf_.selector = 0;
13676                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13677             }
13678             else if (value_value_buf__selector == 1) {
13679                 value_value_buf_.selector = 1;
13680                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
13681             }
13682             else if (value_value_buf__selector == 2) {
13683                 value_value_buf_.selector = 2;
13684                 value_value_buf_.value2 = thisDeserializer.readResource();
13685             }
13686             else {
13687                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13688             }
13689             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
13690         }
13691         Opt_Union_Number_String_Resource value_value = value_value_buf;
13692         GetNodeModifiers()->getMarqueeModifier()->setFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
13693 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)13694 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
13695 void impl_MarqueeAttribute_allowScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13696         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13697         Deserializer thisDeserializer(thisArray, thisLength);
13698         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13699         Opt_Boolean value_value_buf = {};
13700         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13701         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13702         {
13703             value_value_buf.value = thisDeserializer.readBoolean();
13704         }
13705         Opt_Boolean value_value = value_value_buf;;
13706         GetNodeModifiers()->getMarqueeModifier()->setAllowScale(self, (const Opt_Boolean*)&value_value);
13707 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_allowScale,Ark_NativePointer,KSerializerBuffer,int32_t)13708 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_allowScale, Ark_NativePointer, KSerializerBuffer, int32_t)
13709 void impl_MarqueeAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13710         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13711         Deserializer thisDeserializer(thisArray, thisLength);
13712         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13713         Opt_Union_Number_FontWeight_String value_value_buf = {};
13714         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13715         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13716         {
13717             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13718             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
13719             value_value_buf_.selector = value_value_buf__selector;
13720             if (value_value_buf__selector == 0) {
13721                 value_value_buf_.selector = 0;
13722                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13723             }
13724             else if (value_value_buf__selector == 1) {
13725                 value_value_buf_.selector = 1;
13726                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
13727             }
13728             else if (value_value_buf__selector == 2) {
13729                 value_value_buf_.selector = 2;
13730                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
13731             }
13732             else {
13733                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13734             }
13735             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
13736         }
13737         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
13738         GetNodeModifiers()->getMarqueeModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
13739 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)13740 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
13741 void impl_MarqueeAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13742         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13743         Deserializer thisDeserializer(thisArray, thisLength);
13744         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13745         Opt_Union_String_Resource value_value_buf = {};
13746         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13747         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13748         {
13749             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13750             Ark_Union_String_Resource value_value_buf_ = {};
13751             value_value_buf_.selector = value_value_buf__selector;
13752             if (value_value_buf__selector == 0) {
13753                 value_value_buf_.selector = 0;
13754                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
13755             }
13756             else if (value_value_buf__selector == 1) {
13757                 value_value_buf_.selector = 1;
13758                 value_value_buf_.value1 = thisDeserializer.readResource();
13759             }
13760             else {
13761                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13762             }
13763             value_value_buf.value = static_cast<Ark_Union_String_Resource>(value_value_buf_);
13764         }
13765         Opt_Union_String_Resource value_value = value_value_buf;;
13766         GetNodeModifiers()->getMarqueeModifier()->setFontFamily(self, (const Opt_Union_String_Resource*)&value_value);
13767 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)13768 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
13769 void impl_MarqueeAttribute_marqueeUpdateStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13770         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13771         Deserializer thisDeserializer(thisArray, thisLength);
13772         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13773         Opt_MarqueeUpdateStrategy value_value_buf = {};
13774         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13775         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13776         {
13777             value_value_buf.value = static_cast<Ark_MarqueeUpdateStrategy>(thisDeserializer.readInt32());
13778         }
13779         Opt_MarqueeUpdateStrategy value_value = value_value_buf;;
13780         GetNodeModifiers()->getMarqueeModifier()->setMarqueeUpdateStrategy(self, (const Opt_MarqueeUpdateStrategy*)&value_value);
13781 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_marqueeUpdateStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)13782 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_marqueeUpdateStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
13783 void impl_MarqueeAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13784         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13785         Deserializer thisDeserializer(thisArray, thisLength);
13786         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13787         Opt_Callback_Void value_value_buf = {};
13788         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13789         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13790         {
13791             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13792         }
13793         Opt_Callback_Void value_value = value_value_buf;;
13794         GetNodeModifiers()->getMarqueeModifier()->setOnStart(self, (const Opt_Callback_Void*)&value_value);
13795 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onStart,Ark_NativePointer,KSerializerBuffer,int32_t)13796 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t)
13797 void impl_MarqueeAttribute_onBounce(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13798         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13799         Deserializer thisDeserializer(thisArray, thisLength);
13800         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13801         Opt_Callback_Void value_value_buf = {};
13802         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13803         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13804         {
13805             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13806         }
13807         Opt_Callback_Void value_value = value_value_buf;;
13808         GetNodeModifiers()->getMarqueeModifier()->setOnBounce(self, (const Opt_Callback_Void*)&value_value);
13809 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onBounce,Ark_NativePointer,KSerializerBuffer,int32_t)13810 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onBounce, Ark_NativePointer, KSerializerBuffer, int32_t)
13811 void impl_MarqueeAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13812         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13813         Deserializer thisDeserializer(thisArray, thisLength);
13814         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13815         Opt_Callback_Void value_value_buf = {};
13816         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13817         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13818         {
13819             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
13820         }
13821         Opt_Callback_Void value_value = value_value_buf;;
13822         GetNodeModifiers()->getMarqueeModifier()->setOnFinish(self, (const Opt_Callback_Void*)&value_value);
13823 }
KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)13824 KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
13825 Ark_NativePointer impl_MediaCachedImage_construct(Ark_Int32 id, Ark_Int32 flags) {
13826         return GetNodeModifiers()->getMediaCachedImageModifier()->construct(id, flags);
13827 }
KOALA_INTEROP_DIRECT_2(MediaCachedImage_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13828 KOALA_INTEROP_DIRECT_2(MediaCachedImage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13829 void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13830         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13831         Deserializer thisDeserializer(thisArray, thisLength);
13832         const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8();
13833         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value_buf = {};
13834         src_value_buf.selector = src_value_buf_selector;
13835         if (src_value_buf_selector == 0) {
13836             src_value_buf.selector = 0;
13837             src_value_buf.value0 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
13838         }
13839         else if (src_value_buf_selector == 1) {
13840             src_value_buf.selector = 1;
13841             const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8();
13842             Ark_ResourceStr src_value_buf_u = {};
13843             src_value_buf_u.selector = src_value_buf_u_selector;
13844             if (src_value_buf_u_selector == 0) {
13845                 src_value_buf_u.selector = 0;
13846                 src_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
13847             }
13848             else if (src_value_buf_u_selector == 1) {
13849                 src_value_buf_u.selector = 1;
13850                 src_value_buf_u.value1 = thisDeserializer.readResource();
13851             }
13852             else {
13853                 INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation.");
13854             }
13855             src_value_buf.value1 = static_cast<Ark_ResourceStr>(src_value_buf_u);
13856         }
13857         else if (src_value_buf_selector == 2) {
13858             src_value_buf.selector = 2;
13859             src_value_buf.value2 = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
13860         }
13861         else if (src_value_buf_selector == 3) {
13862             src_value_buf.selector = 3;
13863             src_value_buf.value3 = thisDeserializer.readASTCResource();
13864         }
13865         else {
13866             INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation.");
13867         }
13868         Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value = static_cast<Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource>(src_value_buf);;
13869         GetNodeModifiers()->getMediaCachedImageModifier()->setMediaCachedImageOptions(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource*)&src_value);
13870 }
KOALA_INTEROP_DIRECT_V3(MediaCachedImageInterface_setMediaCachedImageOptions,Ark_NativePointer,KSerializerBuffer,int32_t)13871 KOALA_INTEROP_DIRECT_V3(MediaCachedImageInterface_setMediaCachedImageOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
13872 Ark_NativePointer impl_Menu_construct(Ark_Int32 id, Ark_Int32 flags) {
13873         return GetNodeModifiers()->getMenuModifier()->construct(id, flags);
13874 }
KOALA_INTEROP_DIRECT_2(Menu_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)13875 KOALA_INTEROP_DIRECT_2(Menu_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
13876 void impl_MenuInterface_setMenuOptions(Ark_NativePointer thisPtr) {
13877         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13878         GetNodeModifiers()->getMenuModifier()->setMenuOptions(self);
13879 }
KOALA_INTEROP_DIRECT_V1(MenuInterface_setMenuOptions,Ark_NativePointer)13880 KOALA_INTEROP_DIRECT_V1(MenuInterface_setMenuOptions, Ark_NativePointer)
13881 void impl_MenuAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13882         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13883         Deserializer thisDeserializer(thisArray, thisLength);
13884         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13885         Opt_Length value_value_buf = {};
13886         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13887         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13888         {
13889             value_value_buf.value = thisDeserializer.readLength();
13890         }
13891         Opt_Length value_value = value_value_buf;;
13892         GetNodeModifiers()->getMenuModifier()->setFontSize(self, (const Opt_Length*)&value_value);
13893 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)13894 KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
13895 void impl_MenuAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13896         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13897         Deserializer thisDeserializer(thisArray, thisLength);
13898         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13899         Opt_Font value_value_buf = {};
13900         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13901         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13902         {
13903             value_value_buf.value = thisDeserializer.readFont();
13904         }
13905         Opt_Font value_value = value_value_buf;;
13906         GetNodeModifiers()->getMenuModifier()->setFont(self, (const Opt_Font*)&value_value);
13907 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_font,Ark_NativePointer,KSerializerBuffer,int32_t)13908 KOALA_INTEROP_DIRECT_V3(MenuAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t)
13909 void impl_MenuAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13910         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13911         Deserializer thisDeserializer(thisArray, thisLength);
13912         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13913         Opt_ResourceColor value_value_buf = {};
13914         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13915         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13916         {
13917             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13918             Ark_ResourceColor value_value_buf_ = {};
13919             value_value_buf_.selector = value_value_buf__selector;
13920             if (value_value_buf__selector == 0) {
13921                 value_value_buf_.selector = 0;
13922                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
13923             }
13924             else if (value_value_buf__selector == 1) {
13925                 value_value_buf_.selector = 1;
13926                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
13927             }
13928             else if (value_value_buf__selector == 2) {
13929                 value_value_buf_.selector = 2;
13930                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
13931             }
13932             else if (value_value_buf__selector == 3) {
13933                 value_value_buf_.selector = 3;
13934                 value_value_buf_.value3 = thisDeserializer.readResource();
13935             }
13936             else {
13937                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13938             }
13939             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
13940         }
13941         Opt_ResourceColor value_value = value_value_buf;;
13942         GetNodeModifiers()->getMenuModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
13943 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)13944 KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
13945 void impl_MenuAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13946         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13947         Deserializer thisDeserializer(thisArray, thisLength);
13948         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13949         Opt_Union_Dimension_BorderRadiuses value_value_buf = {};
13950         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13951         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13952         {
13953             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
13954             Ark_Union_Dimension_BorderRadiuses value_value_buf_ = {};
13955             value_value_buf_.selector = value_value_buf__selector;
13956             if (value_value_buf__selector == 0) {
13957                 value_value_buf_.selector = 0;
13958                 value_value_buf_.value0 = thisDeserializer.readLength();
13959             }
13960             else if (value_value_buf__selector == 1) {
13961                 value_value_buf_.selector = 1;
13962                 value_value_buf_.value1 = thisDeserializer.readBorderRadiuses();
13963             }
13964             else {
13965                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
13966             }
13967             value_value_buf.value = static_cast<Ark_Union_Dimension_BorderRadiuses>(value_value_buf_);
13968         }
13969         Opt_Union_Dimension_BorderRadiuses value_value = value_value_buf;;
13970         GetNodeModifiers()->getMenuModifier()->setRadius(self, (const Opt_Union_Dimension_BorderRadiuses*)&value_value);
13971 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_radius,Ark_NativePointer,KSerializerBuffer,int32_t)13972 KOALA_INTEROP_DIRECT_V3(MenuAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t)
13973 void impl_MenuAttribute_menuItemDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13974         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13975         Deserializer thisDeserializer(thisArray, thisLength);
13976         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13977         Opt_DividerStyleOptions value_value_buf = {};
13978         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13979         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13980         {
13981             value_value_buf.value = thisDeserializer.readDividerStyleOptions();
13982         }
13983         Opt_DividerStyleOptions value_value = value_value_buf;;
13984         GetNodeModifiers()->getMenuModifier()->setMenuItemDivider(self, (const Opt_DividerStyleOptions*)&value_value);
13985 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemDivider,Ark_NativePointer,KSerializerBuffer,int32_t)13986 KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemDivider, Ark_NativePointer, KSerializerBuffer, int32_t)
13987 void impl_MenuAttribute_menuItemGroupDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
13988         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
13989         Deserializer thisDeserializer(thisArray, thisLength);
13990         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
13991         Opt_DividerStyleOptions value_value_buf = {};
13992         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
13993         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
13994         {
13995             value_value_buf.value = thisDeserializer.readDividerStyleOptions();
13996         }
13997         Opt_DividerStyleOptions value_value = value_value_buf;;
13998         GetNodeModifiers()->getMenuModifier()->setMenuItemGroupDivider(self, (const Opt_DividerStyleOptions*)&value_value);
13999 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemGroupDivider,Ark_NativePointer,KSerializerBuffer,int32_t)14000 KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemGroupDivider, Ark_NativePointer, KSerializerBuffer, int32_t)
14001 void impl_MenuAttribute_subMenuExpandingMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14002         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14003         Deserializer thisDeserializer(thisArray, thisLength);
14004         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14005         Opt_SubMenuExpandingMode value_value_buf = {};
14006         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14007         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14008         {
14009             value_value_buf.value = static_cast<Ark_SubMenuExpandingMode>(thisDeserializer.readInt32());
14010         }
14011         Opt_SubMenuExpandingMode value_value = value_value_buf;;
14012         GetNodeModifiers()->getMenuModifier()->setSubMenuExpandingMode(self, (const Opt_SubMenuExpandingMode*)&value_value);
14013 }
KOALA_INTEROP_DIRECT_V3(MenuAttribute_subMenuExpandingMode,Ark_NativePointer,KSerializerBuffer,int32_t)14014 KOALA_INTEROP_DIRECT_V3(MenuAttribute_subMenuExpandingMode, Ark_NativePointer, KSerializerBuffer, int32_t)
14015 Ark_NativePointer impl_MenuItem_construct(Ark_Int32 id, Ark_Int32 flags) {
14016         return GetNodeModifiers()->getMenuItemModifier()->construct(id, flags);
14017 }
KOALA_INTEROP_DIRECT_2(MenuItem_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)14018 KOALA_INTEROP_DIRECT_2(MenuItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
14019 void impl_MenuItemInterface_setMenuItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14020         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14021         Deserializer thisDeserializer(thisArray, thisLength);
14022         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14023         Opt_Union_MenuItemOptions_CustomBuilder value_value_buf = {};
14024         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14025         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14026         {
14027             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14028             Ark_Union_MenuItemOptions_CustomBuilder value_value_buf_ = {};
14029             value_value_buf_.selector = value_value_buf__selector;
14030             if (value_value_buf__selector == 0) {
14031                 value_value_buf_.selector = 0;
14032                 value_value_buf_.value0 = thisDeserializer.readMenuItemOptions();
14033             }
14034             else if (value_value_buf__selector == 1) {
14035                 value_value_buf_.selector = 1;
14036                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
14037             }
14038             else {
14039                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14040             }
14041             value_value_buf.value = static_cast<Ark_Union_MenuItemOptions_CustomBuilder>(value_value_buf_);
14042         }
14043         Opt_Union_MenuItemOptions_CustomBuilder value_value = value_value_buf;;
14044         GetNodeModifiers()->getMenuItemModifier()->setMenuItemOptions(self, (const Opt_Union_MenuItemOptions_CustomBuilder*)&value_value);
14045 }
KOALA_INTEROP_DIRECT_V3(MenuItemInterface_setMenuItemOptions,Ark_NativePointer,KSerializerBuffer,int32_t)14046 KOALA_INTEROP_DIRECT_V3(MenuItemInterface_setMenuItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
14047 void impl_MenuItemAttribute_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14048         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14049         Deserializer thisDeserializer(thisArray, thisLength);
14050         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14051         Opt_Boolean value_value_buf = {};
14052         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14053         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14054         {
14055             value_value_buf.value = thisDeserializer.readBoolean();
14056         }
14057         Opt_Boolean value_value = value_value_buf;;
14058         GetNodeModifiers()->getMenuItemModifier()->setSelected(self, (const Opt_Boolean*)&value_value);
14059 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selected,Ark_NativePointer,KSerializerBuffer,int32_t)14060 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
14061 void impl_MenuItemAttribute_selectIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14062         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14063         Deserializer thisDeserializer(thisArray, thisLength);
14064         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14065         Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value_buf = {};
14066         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14067         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14068         {
14069             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14070             Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value_buf_ = {};
14071             value_value_buf_.selector = value_value_buf__selector;
14072             if (value_value_buf__selector == 0) {
14073                 value_value_buf_.selector = 0;
14074                 value_value_buf_.value0 = thisDeserializer.readBoolean();
14075             }
14076             else if (value_value_buf__selector == 1) {
14077                 value_value_buf_.selector = 1;
14078                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
14079                 Ark_ResourceStr value_value_buf__u = {};
14080                 value_value_buf__u.selector = value_value_buf__u_selector;
14081                 if (value_value_buf__u_selector == 0) {
14082                     value_value_buf__u.selector = 0;
14083                     value_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
14084                 }
14085                 else if (value_value_buf__u_selector == 1) {
14086                     value_value_buf__u.selector = 1;
14087                     value_value_buf__u.value1 = thisDeserializer.readResource();
14088                 }
14089                 else {
14090                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
14091                 }
14092                 value_value_buf_.value1 = static_cast<Ark_ResourceStr>(value_value_buf__u);
14093             }
14094             else if (value_value_buf__selector == 2) {
14095                 value_value_buf_.selector = 2;
14096                 value_value_buf_.value2 = thisDeserializer.readSymbolGlyphModifier();
14097             }
14098             else {
14099                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14100             }
14101             value_value_buf.value = static_cast<Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier>(value_value_buf_);
14102         }
14103         Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value = value_value_buf;;
14104         GetNodeModifiers()->getMenuItemModifier()->setSelectIcon(self, (const Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier*)&value_value);
14105 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selectIcon,Ark_NativePointer,KSerializerBuffer,int32_t)14106 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selectIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
14107 void impl_MenuItemAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14108         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14109         Deserializer thisDeserializer(thisArray, thisLength);
14110         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14111         Opt_Callback_Boolean_Void value_value_buf = {};
14112         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14113         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14114         {
14115             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
14116         }
14117         Opt_Callback_Boolean_Void value_value = value_value_buf;;
14118         GetNodeModifiers()->getMenuItemModifier()->setOnChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
14119 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)14120 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
14121 void impl_MenuItemAttribute_contentFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14122         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14123         Deserializer thisDeserializer(thisArray, thisLength);
14124         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14125         Opt_Font value_value_buf = {};
14126         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14127         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14128         {
14129             value_value_buf.value = thisDeserializer.readFont();
14130         }
14131         Opt_Font value_value = value_value_buf;;
14132         GetNodeModifiers()->getMenuItemModifier()->setContentFont(self, (const Opt_Font*)&value_value);
14133 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFont,Ark_NativePointer,KSerializerBuffer,int32_t)14134 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFont, Ark_NativePointer, KSerializerBuffer, int32_t)
14135 void impl_MenuItemAttribute_contentFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14136         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14137         Deserializer thisDeserializer(thisArray, thisLength);
14138         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14139         Opt_ResourceColor value_value_buf = {};
14140         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14141         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14142         {
14143             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14144             Ark_ResourceColor value_value_buf_ = {};
14145             value_value_buf_.selector = value_value_buf__selector;
14146             if (value_value_buf__selector == 0) {
14147                 value_value_buf_.selector = 0;
14148                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
14149             }
14150             else if (value_value_buf__selector == 1) {
14151                 value_value_buf_.selector = 1;
14152                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
14153             }
14154             else if (value_value_buf__selector == 2) {
14155                 value_value_buf_.selector = 2;
14156                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
14157             }
14158             else if (value_value_buf__selector == 3) {
14159                 value_value_buf_.selector = 3;
14160                 value_value_buf_.value3 = thisDeserializer.readResource();
14161             }
14162             else {
14163                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14164             }
14165             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
14166         }
14167         Opt_ResourceColor value_value = value_value_buf;;
14168         GetNodeModifiers()->getMenuItemModifier()->setContentFontColor(self, (const Opt_ResourceColor*)&value_value);
14169 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFontColor,Ark_NativePointer,KSerializerBuffer,int32_t)14170 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
14171 void impl_MenuItemAttribute_labelFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14172         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14173         Deserializer thisDeserializer(thisArray, thisLength);
14174         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14175         Opt_Font value_value_buf = {};
14176         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14177         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14178         {
14179             value_value_buf.value = thisDeserializer.readFont();
14180         }
14181         Opt_Font value_value = value_value_buf;;
14182         GetNodeModifiers()->getMenuItemModifier()->setLabelFont(self, (const Opt_Font*)&value_value);
14183 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFont,Ark_NativePointer,KSerializerBuffer,int32_t)14184 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFont, Ark_NativePointer, KSerializerBuffer, int32_t)
14185 void impl_MenuItemAttribute_labelFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14186         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14187         Deserializer thisDeserializer(thisArray, thisLength);
14188         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14189         Opt_ResourceColor value_value_buf = {};
14190         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14191         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14192         {
14193             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14194             Ark_ResourceColor value_value_buf_ = {};
14195             value_value_buf_.selector = value_value_buf__selector;
14196             if (value_value_buf__selector == 0) {
14197                 value_value_buf_.selector = 0;
14198                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
14199             }
14200             else if (value_value_buf__selector == 1) {
14201                 value_value_buf_.selector = 1;
14202                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
14203             }
14204             else if (value_value_buf__selector == 2) {
14205                 value_value_buf_.selector = 2;
14206                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
14207             }
14208             else if (value_value_buf__selector == 3) {
14209                 value_value_buf_.selector = 3;
14210                 value_value_buf_.value3 = thisDeserializer.readResource();
14211             }
14212             else {
14213                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14214             }
14215             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
14216         }
14217         Opt_ResourceColor value_value = value_value_buf;;
14218         GetNodeModifiers()->getMenuItemModifier()->setLabelFontColor(self, (const Opt_ResourceColor*)&value_value);
14219 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFontColor,Ark_NativePointer,KSerializerBuffer,int32_t)14220 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
14221 void impl_MenuItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14222         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14223         Deserializer thisDeserializer(thisArray, thisLength);
14224         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
14225         GetNodeModifiers()->getMenuItemModifier()->set_onChangeEvent_selected(self, (const Callback_Opt_Boolean_Void*)&callback_value);
14226 }
KOALA_INTEROP_DIRECT_V3(MenuItemAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)14227 KOALA_INTEROP_DIRECT_V3(MenuItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
14228 Ark_NativePointer impl_MenuItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) {
14229         return GetNodeModifiers()->getMenuItemGroupModifier()->construct(id, flags);
14230 }
KOALA_INTEROP_DIRECT_2(MenuItemGroup_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)14231 KOALA_INTEROP_DIRECT_2(MenuItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
14232 void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14233         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14234         Deserializer thisDeserializer(thisArray, thisLength);
14235         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14236         Opt_MenuItemGroupOptions value_value_buf = {};
14237         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14238         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14239         {
14240             value_value_buf.value = thisDeserializer.readMenuItemGroupOptions();
14241         }
14242         Opt_MenuItemGroupOptions value_value = value_value_buf;;
14243         GetNodeModifiers()->getMenuItemGroupModifier()->setMenuItemGroupOptions(self, (const Opt_MenuItemGroupOptions*)&value_value);
14244 }
KOALA_INTEROP_DIRECT_V3(MenuItemGroupInterface_setMenuItemGroupOptions,Ark_NativePointer,KSerializerBuffer,int32_t)14245 KOALA_INTEROP_DIRECT_V3(MenuItemGroupInterface_setMenuItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
14246 Ark_NativePointer impl_NavDestination_construct(Ark_Int32 id, Ark_Int32 flags) {
14247         return GetNodeModifiers()->getNavDestinationModifier()->construct(id, flags);
14248 }
KOALA_INTEROP_DIRECT_2(NavDestination_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)14249 KOALA_INTEROP_DIRECT_2(NavDestination_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
14250 void impl_NavDestinationInterface_setNavDestinationOptions(Ark_NativePointer thisPtr) {
14251         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14252         GetNodeModifiers()->getNavDestinationModifier()->setNavDestinationOptions(self);
14253 }
KOALA_INTEROP_DIRECT_V1(NavDestinationInterface_setNavDestinationOptions,Ark_NativePointer)14254 KOALA_INTEROP_DIRECT_V1(NavDestinationInterface_setNavDestinationOptions, Ark_NativePointer)
14255 void impl_NavDestinationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14256         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14257         Deserializer thisDeserializer(thisArray, thisLength);
14258         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14259         Opt_Boolean value_value_buf = {};
14260         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14261         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14262         {
14263             value_value_buf.value = thisDeserializer.readBoolean();
14264         }
14265         Opt_Boolean value_value = value_value_buf;;
14266         GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar0(self, (const Opt_Boolean*)&value_value);
14267 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar0,Ark_NativePointer,KSerializerBuffer,int32_t)14268 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar0, Ark_NativePointer, KSerializerBuffer, int32_t)
14269 void impl_NavDestinationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14270         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14271         Deserializer thisDeserializer(thisArray, thisLength);
14272         const auto hide_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14273         Opt_Boolean hide_value_buf = {};
14274         hide_value_buf.tag = hide_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14275         if ((INTEROP_RUNTIME_UNDEFINED) != (hide_value_buf_runtimeType))
14276         {
14277             hide_value_buf.value = thisDeserializer.readBoolean();
14278         }
14279         Opt_Boolean hide_value = hide_value_buf;;
14280         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14281         Opt_Boolean animated_value_buf = {};
14282         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14283         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
14284         {
14285             animated_value_buf.value = thisDeserializer.readBoolean();
14286         }
14287         Opt_Boolean animated_value = animated_value_buf;;
14288         GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar1(self, (const Opt_Boolean*)&hide_value, (const Opt_Boolean*)&animated_value);
14289 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar1,Ark_NativePointer,KSerializerBuffer,int32_t)14290 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar1, Ark_NativePointer, KSerializerBuffer, int32_t)
14291 void impl_NavDestinationAttribute_hideBackButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14292         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14293         Deserializer thisDeserializer(thisArray, thisLength);
14294         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14295         Opt_Boolean value_value_buf = {};
14296         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14297         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14298         {
14299             value_value_buf.value = thisDeserializer.readBoolean();
14300         }
14301         Opt_Boolean value_value = value_value_buf;;
14302         GetNodeModifiers()->getNavDestinationModifier()->setHideBackButton(self, (const Opt_Boolean*)&value_value);
14303 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideBackButton,Ark_NativePointer,KSerializerBuffer,int32_t)14304 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideBackButton, Ark_NativePointer, KSerializerBuffer, int32_t)
14305 void impl_NavDestinationAttribute_onShown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14306         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14307         Deserializer thisDeserializer(thisArray, thisLength);
14308         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14309         Opt_Callback_Void value_value_buf = {};
14310         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14311         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14312         {
14313             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14314         }
14315         Opt_Callback_Void value_value = value_value_buf;;
14316         GetNodeModifiers()->getNavDestinationModifier()->setOnShown(self, (const Opt_Callback_Void*)&value_value);
14317 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onShown,Ark_NativePointer,KSerializerBuffer,int32_t)14318 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onShown, Ark_NativePointer, KSerializerBuffer, int32_t)
14319 void impl_NavDestinationAttribute_onHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14320         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14321         Deserializer thisDeserializer(thisArray, thisLength);
14322         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14323         Opt_Callback_Void value_value_buf = {};
14324         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14325         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14326         {
14327             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14328         }
14329         Opt_Callback_Void value_value = value_value_buf;;
14330         GetNodeModifiers()->getNavDestinationModifier()->setOnHidden(self, (const Opt_Callback_Void*)&value_value);
14331 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onHidden,Ark_NativePointer,KSerializerBuffer,int32_t)14332 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onHidden, Ark_NativePointer, KSerializerBuffer, int32_t)
14333 void impl_NavDestinationAttribute_onBackPressed(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14334         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14335         Deserializer thisDeserializer(thisArray, thisLength);
14336         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14337         Opt_Callback_Boolean value_value_buf = {};
14338         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14339         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14340         {
14341             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean))))};
14342         }
14343         Opt_Callback_Boolean value_value = value_value_buf;;
14344         GetNodeModifiers()->getNavDestinationModifier()->setOnBackPressed(self, (const Opt_Callback_Boolean*)&value_value);
14345 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onBackPressed,Ark_NativePointer,KSerializerBuffer,int32_t)14346 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onBackPressed, Ark_NativePointer, KSerializerBuffer, int32_t)
14347 void impl_NavDestinationAttribute_onResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14348         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14349         Deserializer thisDeserializer(thisArray, thisLength);
14350         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14351         Opt_Callback_Object_Void value_value_buf = {};
14352         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14353         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14354         {
14355             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Object_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Object_Void))))};
14356         }
14357         Opt_Callback_Object_Void value_value = value_value_buf;;
14358         GetNodeModifiers()->getNavDestinationModifier()->setOnResult(self, (const Opt_Callback_Object_Void*)&value_value);
14359 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onResult,Ark_NativePointer,KSerializerBuffer,int32_t)14360 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onResult, Ark_NativePointer, KSerializerBuffer, int32_t)
14361 void impl_NavDestinationAttribute_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14362         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14363         Deserializer thisDeserializer(thisArray, thisLength);
14364         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14365         Opt_NavDestinationMode value_value_buf = {};
14366         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14367         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14368         {
14369             value_value_buf.value = static_cast<Ark_NavDestinationMode>(thisDeserializer.readInt32());
14370         }
14371         Opt_NavDestinationMode value_value = value_value_buf;;
14372         GetNodeModifiers()->getNavDestinationModifier()->setMode(self, (const Opt_NavDestinationMode*)&value_value);
14373 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_mode,Ark_NativePointer,KSerializerBuffer,int32_t)14374 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_mode, Ark_NativePointer, KSerializerBuffer, int32_t)
14375 void impl_NavDestinationAttribute_backButtonIcon0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14376         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14377         Deserializer thisDeserializer(thisArray, thisLength);
14378         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14379         Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value_buf = {};
14380         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14381         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14382         {
14383             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14384             Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value_buf_ = {};
14385             value_value_buf_.selector = value_value_buf__selector;
14386             if (value_value_buf__selector == 0) {
14387                 value_value_buf_.selector = 0;
14388                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
14389                 Ark_ResourceStr value_value_buf__u = {};
14390                 value_value_buf__u.selector = value_value_buf__u_selector;
14391                 if (value_value_buf__u_selector == 0) {
14392                     value_value_buf__u.selector = 0;
14393                     value_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
14394                 }
14395                 else if (value_value_buf__u_selector == 1) {
14396                     value_value_buf__u.selector = 1;
14397                     value_value_buf__u.value1 = thisDeserializer.readResource();
14398                 }
14399                 else {
14400                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
14401                 }
14402                 value_value_buf_.value0 = static_cast<Ark_ResourceStr>(value_value_buf__u);
14403             }
14404             else if (value_value_buf__selector == 1) {
14405                 value_value_buf_.selector = 1;
14406                 value_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
14407             }
14408             else if (value_value_buf__selector == 2) {
14409                 value_value_buf_.selector = 2;
14410                 value_value_buf_.value2 = thisDeserializer.readSymbolGlyphModifier();
14411             }
14412             else {
14413                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14414             }
14415             value_value_buf.value = static_cast<Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier>(value_value_buf_);
14416         }
14417         Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value = value_value_buf;;
14418         GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon0(self, (const Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier*)&value_value);
14419 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon0,Ark_NativePointer,KSerializerBuffer,int32_t)14420 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon0, Ark_NativePointer, KSerializerBuffer, int32_t)
14421 void impl_NavDestinationAttribute_backButtonIcon1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14422         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14423         Deserializer thisDeserializer(thisArray, thisLength);
14424         const auto icon_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14425         Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier icon_value_buf = {};
14426         icon_value_buf.tag = icon_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14427         if ((INTEROP_RUNTIME_UNDEFINED) != (icon_value_buf_runtimeType))
14428         {
14429             const Ark_Int8 icon_value_buf__selector = thisDeserializer.readInt8();
14430             Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier icon_value_buf_ = {};
14431             icon_value_buf_.selector = icon_value_buf__selector;
14432             if (icon_value_buf__selector == 0) {
14433                 icon_value_buf_.selector = 0;
14434                 const Ark_Int8 icon_value_buf__u_selector = thisDeserializer.readInt8();
14435                 Ark_ResourceStr icon_value_buf__u = {};
14436                 icon_value_buf__u.selector = icon_value_buf__u_selector;
14437                 if (icon_value_buf__u_selector == 0) {
14438                     icon_value_buf__u.selector = 0;
14439                     icon_value_buf__u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
14440                 }
14441                 else if (icon_value_buf__u_selector == 1) {
14442                     icon_value_buf__u.selector = 1;
14443                     icon_value_buf__u.value1 = thisDeserializer.readResource();
14444                 }
14445                 else {
14446                     INTEROP_FATAL("One of the branches for icon_value_buf__u has to be chosen through deserialisation.");
14447                 }
14448                 icon_value_buf_.value0 = static_cast<Ark_ResourceStr>(icon_value_buf__u);
14449             }
14450             else if (icon_value_buf__selector == 1) {
14451                 icon_value_buf_.selector = 1;
14452                 icon_value_buf_.value1 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
14453             }
14454             else if (icon_value_buf__selector == 2) {
14455                 icon_value_buf_.selector = 2;
14456                 icon_value_buf_.value2 = thisDeserializer.readSymbolGlyphModifier();
14457             }
14458             else {
14459                 INTEROP_FATAL("One of the branches for icon_value_buf_ has to be chosen through deserialisation.");
14460             }
14461             icon_value_buf.value = static_cast<Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier>(icon_value_buf_);
14462         }
14463         Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier icon_value = icon_value_buf;;
14464         const auto accessibilityText_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14465         Opt_ResourceStr accessibilityText_value_buf = {};
14466         accessibilityText_value_buf.tag = accessibilityText_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14467         if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityText_value_buf_runtimeType))
14468         {
14469             const Ark_Int8 accessibilityText_value_buf__selector = thisDeserializer.readInt8();
14470             Ark_ResourceStr accessibilityText_value_buf_ = {};
14471             accessibilityText_value_buf_.selector = accessibilityText_value_buf__selector;
14472             if (accessibilityText_value_buf__selector == 0) {
14473                 accessibilityText_value_buf_.selector = 0;
14474                 accessibilityText_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
14475             }
14476             else if (accessibilityText_value_buf__selector == 1) {
14477                 accessibilityText_value_buf_.selector = 1;
14478                 accessibilityText_value_buf_.value1 = thisDeserializer.readResource();
14479             }
14480             else {
14481                 INTEROP_FATAL("One of the branches for accessibilityText_value_buf_ has to be chosen through deserialisation.");
14482             }
14483             accessibilityText_value_buf.value = static_cast<Ark_ResourceStr>(accessibilityText_value_buf_);
14484         }
14485         Opt_ResourceStr accessibilityText_value = accessibilityText_value_buf;;
14486         GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon1(self, (const Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier*)&icon_value, (const Opt_ResourceStr*)&accessibilityText_value);
14487 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon1,Ark_NativePointer,KSerializerBuffer,int32_t)14488 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon1, Ark_NativePointer, KSerializerBuffer, int32_t)
14489 void impl_NavDestinationAttribute_menus0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14490         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14491         Deserializer thisDeserializer(thisArray, thisLength);
14492         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14493         Opt_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {};
14494         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14495         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14496         {
14497             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14498             Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf_ = {};
14499             value_value_buf_.selector = value_value_buf__selector;
14500             if (value_value_buf__selector == 0) {
14501                 value_value_buf_.selector = 0;
14502                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
14503                 Array_NavigationMenuItem value_value_buf__u = {};
14504                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
14505         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
14506                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
14507                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readNavigationMenuItem();
14508                 }
14509                 value_value_buf_.value0 = value_value_buf__u;
14510             }
14511             else if (value_value_buf__selector == 1) {
14512                 value_value_buf_.selector = 1;
14513                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
14514             }
14515             else {
14516                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14517             }
14518             value_value_buf.value = static_cast<Ark_Union_Array_NavigationMenuItem_CustomBuilder>(value_value_buf_);
14519         }
14520         Opt_Union_Array_NavigationMenuItem_CustomBuilder value_value = value_value_buf;;
14521         GetNodeModifiers()->getNavDestinationModifier()->setMenus0(self, (const Opt_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value);
14522 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus0,Ark_NativePointer,KSerializerBuffer,int32_t)14523 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus0, Ark_NativePointer, KSerializerBuffer, int32_t)
14524 void impl_NavDestinationAttribute_menus1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14525         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14526         Deserializer thisDeserializer(thisArray, thisLength);
14527         const auto items_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14528         Opt_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf = {};
14529         items_value_buf.tag = items_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14530         if ((INTEROP_RUNTIME_UNDEFINED) != (items_value_buf_runtimeType))
14531         {
14532             const Ark_Int8 items_value_buf__selector = thisDeserializer.readInt8();
14533             Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf_ = {};
14534             items_value_buf_.selector = items_value_buf__selector;
14535             if (items_value_buf__selector == 0) {
14536                 items_value_buf_.selector = 0;
14537                 const Ark_Int32 items_value_buf__u_length = thisDeserializer.readInt32();
14538                 Array_NavigationMenuItem items_value_buf__u = {};
14539                 thisDeserializer.resizeArray<std::decay<decltype(items_value_buf__u)>::type,
14540         std::decay<decltype(*items_value_buf__u.array)>::type>(&items_value_buf__u, items_value_buf__u_length);
14541                 for (int items_value_buf__u_i = 0; items_value_buf__u_i < items_value_buf__u_length; items_value_buf__u_i++) {
14542                     items_value_buf__u.array[items_value_buf__u_i] = thisDeserializer.readNavigationMenuItem();
14543                 }
14544                 items_value_buf_.value0 = items_value_buf__u;
14545             }
14546             else if (items_value_buf__selector == 1) {
14547                 items_value_buf_.selector = 1;
14548                 items_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
14549             }
14550             else {
14551                 INTEROP_FATAL("One of the branches for items_value_buf_ has to be chosen through deserialisation.");
14552             }
14553             items_value_buf.value = static_cast<Ark_Union_Array_NavigationMenuItem_CustomBuilder>(items_value_buf_);
14554         }
14555         Opt_Union_Array_NavigationMenuItem_CustomBuilder items_value = items_value_buf;;
14556         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14557         Opt_NavigationMenuOptions options_value_buf = {};
14558         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14559         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
14560         {
14561             options_value_buf.value = thisDeserializer.readNavigationMenuOptions();
14562         }
14563         Opt_NavigationMenuOptions options_value = options_value_buf;;
14564         GetNodeModifiers()->getNavDestinationModifier()->setMenus1(self, (const Opt_Union_Array_NavigationMenuItem_CustomBuilder*)&items_value, (const Opt_NavigationMenuOptions*)&options_value);
14565 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus1,Ark_NativePointer,KSerializerBuffer,int32_t)14566 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus1, Ark_NativePointer, KSerializerBuffer, int32_t)
14567 void impl_NavDestinationAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14568         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14569         Deserializer thisDeserializer(thisArray, thisLength);
14570         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14571         Opt_Callback_NavDestinationContext_Void value_value_buf = {};
14572         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14573         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14574         {
14575             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavDestinationContext_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavDestinationContext_Void))))};
14576         }
14577         Opt_Callback_NavDestinationContext_Void value_value = value_value_buf;;
14578         GetNodeModifiers()->getNavDestinationModifier()->setOnReady(self, (const Opt_Callback_NavDestinationContext_Void*)&value_value);
14579 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onReady,Ark_NativePointer,KSerializerBuffer,int32_t)14580 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t)
14581 void impl_NavDestinationAttribute_onWillAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14582         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14583         Deserializer thisDeserializer(thisArray, thisLength);
14584         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14585         Opt_Callback_Void value_value_buf = {};
14586         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14587         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14588         {
14589             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14590         }
14591         Opt_Callback_Void value_value = value_value_buf;;
14592         GetNodeModifiers()->getNavDestinationModifier()->setOnWillAppear(self, (const Opt_Callback_Void*)&value_value);
14593 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillAppear,Ark_NativePointer,KSerializerBuffer,int32_t)14594 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillAppear, Ark_NativePointer, KSerializerBuffer, int32_t)
14595 void impl_NavDestinationAttribute_onWillDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14596         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14597         Deserializer thisDeserializer(thisArray, thisLength);
14598         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14599         Opt_Callback_Void value_value_buf = {};
14600         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14601         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14602         {
14603             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14604         }
14605         Opt_Callback_Void value_value = value_value_buf;;
14606         GetNodeModifiers()->getNavDestinationModifier()->setOnWillDisappear(self, (const Opt_Callback_Void*)&value_value);
14607 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillDisappear,Ark_NativePointer,KSerializerBuffer,int32_t)14608 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillDisappear, Ark_NativePointer, KSerializerBuffer, int32_t)
14609 void impl_NavDestinationAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14610         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14611         Deserializer thisDeserializer(thisArray, thisLength);
14612         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14613         Opt_Callback_Void value_value_buf = {};
14614         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14615         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14616         {
14617             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14618         }
14619         Opt_Callback_Void value_value = value_value_buf;;
14620         GetNodeModifiers()->getNavDestinationModifier()->setOnWillShow(self, (const Opt_Callback_Void*)&value_value);
14621 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillShow,Ark_NativePointer,KSerializerBuffer,int32_t)14622 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t)
14623 void impl_NavDestinationAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14624         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14625         Deserializer thisDeserializer(thisArray, thisLength);
14626         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14627         Opt_Callback_Void value_value_buf = {};
14628         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14629         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14630         {
14631             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
14632         }
14633         Opt_Callback_Void value_value = value_value_buf;;
14634         GetNodeModifiers()->getNavDestinationModifier()->setOnWillHide(self, (const Opt_Callback_Void*)&value_value);
14635 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillHide,Ark_NativePointer,KSerializerBuffer,int32_t)14636 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t)
14637 void impl_NavDestinationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14638         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14639         Deserializer thisDeserializer(thisArray, thisLength);
14640         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14641         Opt_SystemBarStyle value_value_buf = {};
14642         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14643         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14644         {
14645             value_value_buf.value = thisDeserializer.readSystemBarStyle();
14646         }
14647         Opt_SystemBarStyle value_value = value_value_buf;;
14648         GetNodeModifiers()->getNavDestinationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value);
14649 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemBarStyle,Ark_NativePointer,KSerializerBuffer,int32_t)14650 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
14651 void impl_NavDestinationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14652         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14653         Deserializer thisDeserializer(thisArray, thisLength);
14654         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14655         Opt_Boolean value_value_buf = {};
14656         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14657         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14658         {
14659             value_value_buf.value = thisDeserializer.readBoolean();
14660         }
14661         Opt_Boolean value_value = value_value_buf;;
14662         GetNodeModifiers()->getNavDestinationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value);
14663 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_recoverable,Ark_NativePointer,KSerializerBuffer,int32_t)14664 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t)
14665 void impl_NavDestinationAttribute_systemTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14666         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14667         Deserializer thisDeserializer(thisArray, thisLength);
14668         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14669         Opt_NavigationSystemTransitionType value_value_buf = {};
14670         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14671         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14672         {
14673             value_value_buf.value = static_cast<Ark_NavigationSystemTransitionType>(thisDeserializer.readInt32());
14674         }
14675         Opt_NavigationSystemTransitionType value_value = value_value_buf;;
14676         GetNodeModifiers()->getNavDestinationModifier()->setSystemTransition(self, (const Opt_NavigationSystemTransitionType*)&value_value);
14677 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemTransition,Ark_NativePointer,KSerializerBuffer,int32_t)14678 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
14679 void impl_NavDestinationAttribute_bindToScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14680         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14681         Deserializer thisDeserializer(thisArray, thisLength);
14682         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14683         Opt_Array_Scroller value_value_buf = {};
14684         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14685         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14686         {
14687             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
14688             Array_Scroller value_value_buf_ = {};
14689             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
14690         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
14691             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
14692                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_Scroller>(thisDeserializer.readScroller());
14693             }
14694             value_value_buf.value = value_value_buf_;
14695         }
14696         Opt_Array_Scroller value_value = value_value_buf;;
14697         GetNodeModifiers()->getNavDestinationModifier()->setBindToScrollable(self, (const Opt_Array_Scroller*)&value_value);
14698 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToScrollable,Ark_NativePointer,KSerializerBuffer,int32_t)14699 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToScrollable, Ark_NativePointer, KSerializerBuffer, int32_t)
14700 void impl_NavDestinationAttribute_bindToNestedScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14701         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14702         Deserializer thisDeserializer(thisArray, thisLength);
14703         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14704         Opt_Array_NestedScrollInfo value_value_buf = {};
14705         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14706         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14707         {
14708             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
14709             Array_NestedScrollInfo value_value_buf_ = {};
14710             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
14711         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
14712             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
14713                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readNestedScrollInfo();
14714             }
14715             value_value_buf.value = value_value_buf_;
14716         }
14717         Opt_Array_NestedScrollInfo value_value = value_value_buf;;
14718         GetNodeModifiers()->getNavDestinationModifier()->setBindToNestedScrollable(self, (const Opt_Array_NestedScrollInfo*)&value_value);
14719 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToNestedScrollable,Ark_NativePointer,KSerializerBuffer,int32_t)14720 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToNestedScrollable, Ark_NativePointer, KSerializerBuffer, int32_t)
14721 void impl_NavDestinationAttribute_onActive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14722         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14723         Deserializer thisDeserializer(thisArray, thisLength);
14724         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14725         Opt_Callback_NavDestinationActiveReason_Void value_value_buf = {};
14726         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14727         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14728         {
14729             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavDestinationActiveReason_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavDestinationActiveReason_Void))))};
14730         }
14731         Opt_Callback_NavDestinationActiveReason_Void value_value = value_value_buf;;
14732         GetNodeModifiers()->getNavDestinationModifier()->setOnActive(self, (const Opt_Callback_NavDestinationActiveReason_Void*)&value_value);
14733 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onActive,Ark_NativePointer,KSerializerBuffer,int32_t)14734 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onActive, Ark_NativePointer, KSerializerBuffer, int32_t)
14735 void impl_NavDestinationAttribute_onInactive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14736         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14737         Deserializer thisDeserializer(thisArray, thisLength);
14738         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14739         Opt_Callback_NavDestinationActiveReason_Void value_value_buf = {};
14740         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14741         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14742         {
14743             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavDestinationActiveReason_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavDestinationActiveReason_Void))))};
14744         }
14745         Opt_Callback_NavDestinationActiveReason_Void value_value = value_value_buf;;
14746         GetNodeModifiers()->getNavDestinationModifier()->setOnInactive(self, (const Opt_Callback_NavDestinationActiveReason_Void*)&value_value);
14747 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onInactive,Ark_NativePointer,KSerializerBuffer,int32_t)14748 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onInactive, Ark_NativePointer, KSerializerBuffer, int32_t)
14749 void impl_NavDestinationAttribute_customTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14750         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14751         Deserializer thisDeserializer(thisArray, thisLength);
14752         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14753         Opt_NavDestinationTransitionDelegate value_value_buf = {};
14754         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14755         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14756         {
14757             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavigationOperation operation, const Ark_Boolean isEnter, const Callback_Opt_Array_NavDestinationTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_NavDestinationTransitionDelegate)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavigationOperation operation, const Ark_Boolean isEnter, const Callback_Opt_Array_NavDestinationTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_NavDestinationTransitionDelegate))))};
14758         }
14759         Opt_NavDestinationTransitionDelegate value_value = value_value_buf;;
14760         GetNodeModifiers()->getNavDestinationModifier()->setCustomTransition(self, (const Opt_NavDestinationTransitionDelegate*)&value_value);
14761 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_customTransition,Ark_NativePointer,KSerializerBuffer,int32_t)14762 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_customTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
14763 void impl_NavDestinationAttribute_onNewParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14764         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14765         Deserializer thisDeserializer(thisArray, thisLength);
14766         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14767         Opt_Callback_Object_Void value_value_buf = {};
14768         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14769         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14770         {
14771             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Object_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Object_Void))))};
14772         }
14773         Opt_Callback_Object_Void value_value = value_value_buf;;
14774         GetNodeModifiers()->getNavDestinationModifier()->setOnNewParam(self, (const Opt_Callback_Object_Void*)&value_value);
14775 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onNewParam,Ark_NativePointer,KSerializerBuffer,int32_t)14776 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onNewParam, Ark_NativePointer, KSerializerBuffer, int32_t)
14777 void impl_NavDestinationAttribute_preferredOrientation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14778         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14779         Deserializer thisDeserializer(thisArray, thisLength);
14780         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14781         Opt_Orientation value_value_buf = {};
14782         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14783         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14784         {
14785             value_value_buf.value = thisDeserializer.readOrientation();
14786         }
14787         Opt_Orientation value_value = value_value_buf;;
14788         GetNodeModifiers()->getNavDestinationModifier()->setPreferredOrientation(self, (const Opt_Orientation*)&value_value);
14789 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_preferredOrientation,Ark_NativePointer,KSerializerBuffer,int32_t)14790 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_preferredOrientation, Ark_NativePointer, KSerializerBuffer, int32_t)
14791 void impl_NavDestinationAttribute_enableNavigationIndicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14792         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14793         Deserializer thisDeserializer(thisArray, thisLength);
14794         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14795         Opt_Boolean value_value_buf = {};
14796         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14797         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14798         {
14799             value_value_buf.value = thisDeserializer.readBoolean();
14800         }
14801         Opt_Boolean value_value = value_value_buf;;
14802         GetNodeModifiers()->getNavDestinationModifier()->setEnableNavigationIndicator(self, (const Opt_Boolean*)&value_value);
14803 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableNavigationIndicator,Ark_NativePointer,KSerializerBuffer,int32_t)14804 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableNavigationIndicator, Ark_NativePointer, KSerializerBuffer, int32_t)
14805 void impl_NavDestinationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14806         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14807         Deserializer thisDeserializer(thisArray, thisLength);
14808         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14809         Opt_Type_NavDestinationAttribute_title_value value_value_buf = {};
14810         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14811         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14812         {
14813             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
14814             Ark_Type_NavDestinationAttribute_title_value value_value_buf_ = {};
14815             value_value_buf_.selector = value_value_buf__selector;
14816             if (value_value_buf__selector == 0) {
14817                 value_value_buf_.selector = 0;
14818                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
14819             }
14820             else if (value_value_buf__selector == 1) {
14821                 value_value_buf_.selector = 1;
14822                 value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
14823             }
14824             else if (value_value_buf__selector == 2) {
14825                 value_value_buf_.selector = 2;
14826                 value_value_buf_.value2 = thisDeserializer.readNavDestinationCommonTitle();
14827             }
14828             else if (value_value_buf__selector == 3) {
14829                 value_value_buf_.selector = 3;
14830                 value_value_buf_.value3 = thisDeserializer.readNavDestinationCustomTitle();
14831             }
14832             else if (value_value_buf__selector == 4) {
14833                 value_value_buf_.selector = 4;
14834                 value_value_buf_.value4 = thisDeserializer.readResource();
14835             }
14836             else {
14837                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
14838             }
14839             value_value_buf.value = static_cast<Ark_Type_NavDestinationAttribute_title_value>(value_value_buf_);
14840         }
14841         Opt_Type_NavDestinationAttribute_title_value value_value = value_value_buf;;
14842         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14843         Opt_NavigationTitleOptions options_value_buf = {};
14844         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14845         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
14846         {
14847             options_value_buf.value = thisDeserializer.readNavigationTitleOptions();
14848         }
14849         Opt_NavigationTitleOptions options_value = options_value_buf;;
14850         GetNodeModifiers()->getNavDestinationModifier()->setTitle(self, (const Opt_Type_NavDestinationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value);
14851 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_title,Ark_NativePointer,KSerializerBuffer,int32_t)14852 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t)
14853 void impl_NavDestinationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14854         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14855         Deserializer thisDeserializer(thisArray, thisLength);
14856         const auto toolbarParam_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14857         Opt_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value_buf = {};
14858         toolbarParam_value_buf.tag = toolbarParam_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14859         if ((INTEROP_RUNTIME_UNDEFINED) != (toolbarParam_value_buf_runtimeType))
14860         {
14861             const Ark_Int8 toolbarParam_value_buf__selector = thisDeserializer.readInt8();
14862             Ark_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value_buf_ = {};
14863             toolbarParam_value_buf_.selector = toolbarParam_value_buf__selector;
14864             if (toolbarParam_value_buf__selector == 0) {
14865                 toolbarParam_value_buf_.selector = 0;
14866                 const Ark_Int32 toolbarParam_value_buf__u_length = thisDeserializer.readInt32();
14867                 Array_ToolbarItem toolbarParam_value_buf__u = {};
14868                 thisDeserializer.resizeArray<std::decay<decltype(toolbarParam_value_buf__u)>::type,
14869         std::decay<decltype(*toolbarParam_value_buf__u.array)>::type>(&toolbarParam_value_buf__u, toolbarParam_value_buf__u_length);
14870                 for (int toolbarParam_value_buf__u_i = 0; toolbarParam_value_buf__u_i < toolbarParam_value_buf__u_length; toolbarParam_value_buf__u_i++) {
14871                     toolbarParam_value_buf__u.array[toolbarParam_value_buf__u_i] = thisDeserializer.readToolbarItem();
14872                 }
14873                 toolbarParam_value_buf_.value0 = toolbarParam_value_buf__u;
14874             }
14875             else if (toolbarParam_value_buf__selector == 1) {
14876                 toolbarParam_value_buf_.selector = 1;
14877                 toolbarParam_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
14878             }
14879             else {
14880                 INTEROP_FATAL("One of the branches for toolbarParam_value_buf_ has to be chosen through deserialisation.");
14881             }
14882             toolbarParam_value_buf.value = static_cast<Ark_Union_Array_ToolbarItem_CustomBuilder>(toolbarParam_value_buf_);
14883         }
14884         Opt_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value = toolbarParam_value_buf;;
14885         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14886         Opt_NavigationToolbarOptions options_value_buf = {};
14887         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14888         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
14889         {
14890             options_value_buf.value = thisDeserializer.readNavigationToolbarOptions();
14891         }
14892         Opt_NavigationToolbarOptions options_value = options_value_buf;;
14893         GetNodeModifiers()->getNavDestinationModifier()->setToolbarConfiguration(self, (const Opt_Union_Array_ToolbarItem_CustomBuilder*)&toolbarParam_value, (const Opt_NavigationToolbarOptions*)&options_value);
14894 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_toolbarConfiguration,Ark_NativePointer,KSerializerBuffer,int32_t)14895 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t)
14896 void impl_NavDestinationAttribute_hideToolBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14897         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14898         Deserializer thisDeserializer(thisArray, thisLength);
14899         const auto hide_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14900         Opt_Boolean hide_value_buf = {};
14901         hide_value_buf.tag = hide_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14902         if ((INTEROP_RUNTIME_UNDEFINED) != (hide_value_buf_runtimeType))
14903         {
14904             hide_value_buf.value = thisDeserializer.readBoolean();
14905         }
14906         Opt_Boolean hide_value = hide_value_buf;;
14907         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14908         Opt_Boolean animated_value_buf = {};
14909         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14910         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
14911         {
14912             animated_value_buf.value = thisDeserializer.readBoolean();
14913         }
14914         Opt_Boolean animated_value = animated_value_buf;;
14915         GetNodeModifiers()->getNavDestinationModifier()->setHideToolBar(self, (const Opt_Boolean*)&hide_value, (const Opt_Boolean*)&animated_value);
14916 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideToolBar,Ark_NativePointer,KSerializerBuffer,int32_t)14917 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideToolBar, Ark_NativePointer, KSerializerBuffer, int32_t)
14918 void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14919         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14920         Deserializer thisDeserializer(thisArray, thisLength);
14921         const auto types_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14922         Opt_Array_LayoutSafeAreaType types_value_buf = {};
14923         types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14924         if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType))
14925         {
14926             const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32();
14927             Array_LayoutSafeAreaType types_value_buf_ = {};
14928             thisDeserializer.resizeArray<std::decay<decltype(types_value_buf_)>::type,
14929         std::decay<decltype(*types_value_buf_.array)>::type>(&types_value_buf_, types_value_buf__length);
14930             for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) {
14931                 types_value_buf_.array[types_value_buf__i] = static_cast<Ark_LayoutSafeAreaType>(thisDeserializer.readInt32());
14932             }
14933             types_value_buf.value = types_value_buf_;
14934         }
14935         Opt_Array_LayoutSafeAreaType types_value = types_value_buf;;
14936         const auto edges_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14937         Opt_Array_LayoutSafeAreaEdge edges_value_buf = {};
14938         edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14939         if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType))
14940         {
14941             const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32();
14942             Array_LayoutSafeAreaEdge edges_value_buf_ = {};
14943             thisDeserializer.resizeArray<std::decay<decltype(edges_value_buf_)>::type,
14944         std::decay<decltype(*edges_value_buf_.array)>::type>(&edges_value_buf_, edges_value_buf__length);
14945             for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) {
14946                 edges_value_buf_.array[edges_value_buf__i] = static_cast<Ark_LayoutSafeAreaEdge>(thisDeserializer.readInt32());
14947             }
14948             edges_value_buf.value = edges_value_buf_;
14949         }
14950         Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;;
14951         GetNodeModifiers()->getNavDestinationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value);
14952 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_ignoreLayoutSafeArea,Ark_NativePointer,KSerializerBuffer,int32_t)14953 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t)
14954 void impl_NavDestinationAttribute_enableStatusBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14955         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14956         Deserializer thisDeserializer(thisArray, thisLength);
14957         const auto enabled_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14958         Opt_Boolean enabled_value_buf = {};
14959         enabled_value_buf.tag = enabled_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14960         if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_value_buf_runtimeType))
14961         {
14962             enabled_value_buf.value = thisDeserializer.readBoolean();
14963         }
14964         Opt_Boolean enabled_value = enabled_value_buf;;
14965         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14966         Opt_Boolean animated_value_buf = {};
14967         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14968         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
14969         {
14970             animated_value_buf.value = thisDeserializer.readBoolean();
14971         }
14972         Opt_Boolean animated_value = animated_value_buf;;
14973         GetNodeModifiers()->getNavDestinationModifier()->setEnableStatusBar(self, (const Opt_Boolean*)&enabled_value, (const Opt_Boolean*)&animated_value);
14974 }
KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableStatusBar,Ark_NativePointer,KSerializerBuffer,int32_t)14975 KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableStatusBar, Ark_NativePointer, KSerializerBuffer, int32_t)
14976 Ark_NativePointer impl_NavRouter_construct(Ark_Int32 id, Ark_Int32 flags) {
14977         return GetNodeModifiers()->getNavRouterModifier()->construct(id, flags);
14978 }
KOALA_INTEROP_DIRECT_2(NavRouter_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)14979 KOALA_INTEROP_DIRECT_2(NavRouter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
14980 void impl_NavRouterInterface_setNavRouterOptions0(Ark_NativePointer thisPtr) {
14981         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14982         GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions0(self);
14983 }
KOALA_INTEROP_DIRECT_V1(NavRouterInterface_setNavRouterOptions0,Ark_NativePointer)14984 KOALA_INTEROP_DIRECT_V1(NavRouterInterface_setNavRouterOptions0, Ark_NativePointer)
14985 void impl_NavRouterInterface_setNavRouterOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14986         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14987         Deserializer thisDeserializer(thisArray, thisLength);
14988         Ark_RouteInfo value_value = thisDeserializer.readRouteInfo();;
14989         GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions1(self, (const Ark_RouteInfo*)&value_value);
14990 }
KOALA_INTEROP_DIRECT_V3(NavRouterInterface_setNavRouterOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)14991 KOALA_INTEROP_DIRECT_V3(NavRouterInterface_setNavRouterOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
14992 void impl_NavRouterAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
14993         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
14994         Deserializer thisDeserializer(thisArray, thisLength);
14995         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
14996         Opt_Callback_Boolean_Void value_value_buf = {};
14997         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
14998         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
14999         {
15000             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
15001         }
15002         Opt_Callback_Boolean_Void value_value = value_value_buf;;
15003         GetNodeModifiers()->getNavRouterModifier()->setOnStateChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
15004 }
KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_onStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)15005 KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
15006 void impl_NavRouterAttribute_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15007         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15008         Deserializer thisDeserializer(thisArray, thisLength);
15009         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15010         Opt_NavRouteMode value_value_buf = {};
15011         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15012         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15013         {
15014             value_value_buf.value = static_cast<Ark_NavRouteMode>(thisDeserializer.readInt32());
15015         }
15016         Opt_NavRouteMode value_value = value_value_buf;;
15017         GetNodeModifiers()->getNavRouterModifier()->setMode(self, (const Opt_NavRouteMode*)&value_value);
15018 }
KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_mode,Ark_NativePointer,KSerializerBuffer,int32_t)15019 KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_mode, Ark_NativePointer, KSerializerBuffer, int32_t)
15020 Ark_NativePointer impl_Navigator_construct(Ark_Int32 id, Ark_Int32 flags) {
15021         return GetNodeModifiers()->getNavigatorModifier()->construct(id, flags);
15022 }
KOALA_INTEROP_DIRECT_2(Navigator_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15023 KOALA_INTEROP_DIRECT_2(Navigator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15024 void impl_NavigatorInterface_setNavigatorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15025         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15026         Deserializer thisDeserializer(thisArray, thisLength);
15027         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15028         Opt_Literal_String_target_NavigationType_type value_value_buf = {};
15029         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15030         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15031         {
15032             Ark_Literal_String_target_NavigationType_type value_value_buf_ = {};
15033             value_value_buf_.target = static_cast<Ark_String>(thisDeserializer.readString());
15034             const auto value_value_buf__type_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15035             Opt_NavigationType value_value_buf__type_buf = {};
15036             value_value_buf__type_buf.tag = value_value_buf__type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15037             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__type_buf_runtimeType))
15038             {
15039                 value_value_buf__type_buf.value = static_cast<Ark_NavigationType>(thisDeserializer.readInt32());
15040             }
15041             value_value_buf_.type = value_value_buf__type_buf;
15042             value_value_buf.value = value_value_buf_;
15043         }
15044         Opt_Literal_String_target_NavigationType_type value_value = value_value_buf;;
15045         GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions0(self, (const Opt_Literal_String_target_NavigationType_type*)&value_value);
15046 }
KOALA_INTEROP_DIRECT_V3(NavigatorInterface_setNavigatorOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)15047 KOALA_INTEROP_DIRECT_V3(NavigatorInterface_setNavigatorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
15048 void impl_NavigatorInterface_setNavigatorOptions1(Ark_NativePointer thisPtr) {
15049         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15050         GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions1(self);
15051 }
KOALA_INTEROP_DIRECT_V1(NavigatorInterface_setNavigatorOptions1,Ark_NativePointer)15052 KOALA_INTEROP_DIRECT_V1(NavigatorInterface_setNavigatorOptions1, Ark_NativePointer)
15053 void impl_NavigatorAttribute_active(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15054         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15055         Deserializer thisDeserializer(thisArray, thisLength);
15056         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15057         Opt_Boolean value_value_buf = {};
15058         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15059         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15060         {
15061             value_value_buf.value = thisDeserializer.readBoolean();
15062         }
15063         Opt_Boolean value_value = value_value_buf;;
15064         GetNodeModifiers()->getNavigatorModifier()->setActive(self, (const Opt_Boolean*)&value_value);
15065 }
KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_active,Ark_NativePointer,KSerializerBuffer,int32_t)15066 KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_active, Ark_NativePointer, KSerializerBuffer, int32_t)
15067 void impl_NavigatorAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15068         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15069         Deserializer thisDeserializer(thisArray, thisLength);
15070         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15071         Opt_NavigationType value_value_buf = {};
15072         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15073         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15074         {
15075             value_value_buf.value = static_cast<Ark_NavigationType>(thisDeserializer.readInt32());
15076         }
15077         Opt_NavigationType value_value = value_value_buf;;
15078         GetNodeModifiers()->getNavigatorModifier()->setType(self, (const Opt_NavigationType*)&value_value);
15079 }
KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)15080 KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
15081 void impl_NavigatorAttribute_target(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15082         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15083         Deserializer thisDeserializer(thisArray, thisLength);
15084         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15085         Opt_String value_value_buf = {};
15086         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15087         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15088         {
15089             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
15090         }
15091         Opt_String value_value = value_value_buf;;
15092         GetNodeModifiers()->getNavigatorModifier()->setTarget(self, (const Opt_String*)&value_value);
15093 }
KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_target,Ark_NativePointer,KSerializerBuffer,int32_t)15094 KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_target, Ark_NativePointer, KSerializerBuffer, int32_t)
15095 void impl_NavigatorAttribute_params(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15096         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15097         Deserializer thisDeserializer(thisArray, thisLength);
15098         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15099         Opt_Object value_value_buf = {};
15100         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15101         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15102         {
15103             value_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
15104         }
15105         Opt_Object value_value = value_value_buf;;
15106         GetNodeModifiers()->getNavigatorModifier()->setParams(self, (const Opt_Object*)&value_value);
15107 }
KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_params,Ark_NativePointer,KSerializerBuffer,int32_t)15108 KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_params, Ark_NativePointer, KSerializerBuffer, int32_t)
15109 Ark_NativePointer impl_NodeContainer_construct(Ark_Int32 id, Ark_Int32 flags) {
15110         return GetNodeModifiers()->getNodeContainerModifier()->construct(id, flags);
15111 }
KOALA_INTEROP_DIRECT_2(NodeContainer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15112 KOALA_INTEROP_DIRECT_2(NodeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15113 void impl_NodeContainerInterface_setNodeContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15114         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15115         Deserializer thisDeserializer(thisArray, thisLength);
15116         Ark_NodeController controller_value = thisDeserializer.readNodeController();
15117         GetNodeModifiers()->getNodeContainerModifier()->setNodeContainerOptions(self, (const Ark_NodeController*)&controller_value);
15118 }
KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setNodeContainerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15119 KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setNodeContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15120 Ark_NativePointer impl_Panel_construct(Ark_Int32 id, Ark_Int32 flags) {
15121         return GetNodeModifiers()->getPanelModifier()->construct(id, flags);
15122 }
KOALA_INTEROP_DIRECT_2(Panel_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15123 KOALA_INTEROP_DIRECT_2(Panel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15124 void impl_PanelInterface_setPanelOptions(Ark_NativePointer thisPtr, Ark_Boolean show) {
15125         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15126         GetNodeModifiers()->getPanelModifier()->setPanelOptions(self, show);
15127 }
KOALA_INTEROP_DIRECT_V2(PanelInterface_setPanelOptions,Ark_NativePointer,Ark_Boolean)15128 KOALA_INTEROP_DIRECT_V2(PanelInterface_setPanelOptions, Ark_NativePointer, Ark_Boolean)
15129 void impl_PanelAttribute_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15130         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15131         Deserializer thisDeserializer(thisArray, thisLength);
15132         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15133         Opt_PanelMode value_value_buf = {};
15134         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15135         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15136         {
15137             value_value_buf.value = static_cast<Ark_PanelMode>(thisDeserializer.readInt32());
15138         }
15139         Opt_PanelMode value_value = value_value_buf;;
15140         GetNodeModifiers()->getPanelModifier()->setMode(self, (const Opt_PanelMode*)&value_value);
15141 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_mode,Ark_NativePointer,KSerializerBuffer,int32_t)15142 KOALA_INTEROP_DIRECT_V3(PanelAttribute_mode, Ark_NativePointer, KSerializerBuffer, int32_t)
15143 void impl_PanelAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15144         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15145         Deserializer thisDeserializer(thisArray, thisLength);
15146         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15147         Opt_PanelType value_value_buf = {};
15148         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15149         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15150         {
15151             value_value_buf.value = static_cast<Ark_PanelType>(thisDeserializer.readInt32());
15152         }
15153         Opt_PanelType value_value = value_value_buf;;
15154         GetNodeModifiers()->getPanelModifier()->setType(self, (const Opt_PanelType*)&value_value);
15155 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)15156 KOALA_INTEROP_DIRECT_V3(PanelAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
15157 void impl_PanelAttribute_dragBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15158         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15159         Deserializer thisDeserializer(thisArray, thisLength);
15160         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15161         Opt_Boolean value_value_buf = {};
15162         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15163         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15164         {
15165             value_value_buf.value = thisDeserializer.readBoolean();
15166         }
15167         Opt_Boolean value_value = value_value_buf;;
15168         GetNodeModifiers()->getPanelModifier()->setDragBar(self, (const Opt_Boolean*)&value_value);
15169 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_dragBar,Ark_NativePointer,KSerializerBuffer,int32_t)15170 KOALA_INTEROP_DIRECT_V3(PanelAttribute_dragBar, Ark_NativePointer, KSerializerBuffer, int32_t)
15171 void impl_PanelAttribute_customHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15172         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15173         Deserializer thisDeserializer(thisArray, thisLength);
15174         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15175         Opt_Union_Dimension_PanelHeight value_value_buf = {};
15176         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15177         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15178         {
15179             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15180             Ark_Union_Dimension_PanelHeight value_value_buf_ = {};
15181             value_value_buf_.selector = value_value_buf__selector;
15182             if (value_value_buf__selector == 0) {
15183                 value_value_buf_.selector = 0;
15184                 value_value_buf_.value0 = thisDeserializer.readLength();
15185             }
15186             else if (value_value_buf__selector == 1) {
15187                 value_value_buf_.selector = 1;
15188                 value_value_buf_.value1 = static_cast<Ark_PanelHeight>(thisDeserializer.readInt32());
15189             }
15190             else {
15191                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15192             }
15193             value_value_buf.value = static_cast<Ark_Union_Dimension_PanelHeight>(value_value_buf_);
15194         }
15195         Opt_Union_Dimension_PanelHeight value_value = value_value_buf;;
15196         GetNodeModifiers()->getPanelModifier()->setCustomHeight(self, (const Opt_Union_Dimension_PanelHeight*)&value_value);
15197 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_customHeight,Ark_NativePointer,KSerializerBuffer,int32_t)15198 KOALA_INTEROP_DIRECT_V3(PanelAttribute_customHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
15199 void impl_PanelAttribute_fullHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15200         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15201         Deserializer thisDeserializer(thisArray, thisLength);
15202         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15203         Opt_Union_Number_String value_value_buf = {};
15204         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15205         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15206         {
15207             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15208             Ark_Union_Number_String value_value_buf_ = {};
15209             value_value_buf_.selector = value_value_buf__selector;
15210             if (value_value_buf__selector == 0) {
15211                 value_value_buf_.selector = 0;
15212                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15213             }
15214             else if (value_value_buf__selector == 1) {
15215                 value_value_buf_.selector = 1;
15216                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
15217             }
15218             else {
15219                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15220             }
15221             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
15222         }
15223         Opt_Union_Number_String value_value = value_value_buf;;
15224         GetNodeModifiers()->getPanelModifier()->setFullHeight(self, (const Opt_Union_Number_String*)&value_value);
15225 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_fullHeight,Ark_NativePointer,KSerializerBuffer,int32_t)15226 KOALA_INTEROP_DIRECT_V3(PanelAttribute_fullHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
15227 void impl_PanelAttribute_halfHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15228         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15229         Deserializer thisDeserializer(thisArray, thisLength);
15230         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15231         Opt_Union_Number_String value_value_buf = {};
15232         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15233         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15234         {
15235             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15236             Ark_Union_Number_String value_value_buf_ = {};
15237             value_value_buf_.selector = value_value_buf__selector;
15238             if (value_value_buf__selector == 0) {
15239                 value_value_buf_.selector = 0;
15240                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15241             }
15242             else if (value_value_buf__selector == 1) {
15243                 value_value_buf_.selector = 1;
15244                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
15245             }
15246             else {
15247                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15248             }
15249             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
15250         }
15251         Opt_Union_Number_String value_value = value_value_buf;;
15252         GetNodeModifiers()->getPanelModifier()->setHalfHeight(self, (const Opt_Union_Number_String*)&value_value);
15253 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_halfHeight,Ark_NativePointer,KSerializerBuffer,int32_t)15254 KOALA_INTEROP_DIRECT_V3(PanelAttribute_halfHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
15255 void impl_PanelAttribute_miniHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15256         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15257         Deserializer thisDeserializer(thisArray, thisLength);
15258         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15259         Opt_Union_Number_String value_value_buf = {};
15260         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15261         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15262         {
15263             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15264             Ark_Union_Number_String value_value_buf_ = {};
15265             value_value_buf_.selector = value_value_buf__selector;
15266             if (value_value_buf__selector == 0) {
15267                 value_value_buf_.selector = 0;
15268                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15269             }
15270             else if (value_value_buf__selector == 1) {
15271                 value_value_buf_.selector = 1;
15272                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
15273             }
15274             else {
15275                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15276             }
15277             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
15278         }
15279         Opt_Union_Number_String value_value = value_value_buf;;
15280         GetNodeModifiers()->getPanelModifier()->setMiniHeight(self, (const Opt_Union_Number_String*)&value_value);
15281 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_miniHeight,Ark_NativePointer,KSerializerBuffer,int32_t)15282 KOALA_INTEROP_DIRECT_V3(PanelAttribute_miniHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
15283 void impl_PanelAttribute_show(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15284         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15285         Deserializer thisDeserializer(thisArray, thisLength);
15286         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15287         Opt_Boolean value_value_buf = {};
15288         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15289         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15290         {
15291             value_value_buf.value = thisDeserializer.readBoolean();
15292         }
15293         Opt_Boolean value_value = value_value_buf;;
15294         GetNodeModifiers()->getPanelModifier()->setShow(self, (const Opt_Boolean*)&value_value);
15295 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_show,Ark_NativePointer,KSerializerBuffer,int32_t)15296 KOALA_INTEROP_DIRECT_V3(PanelAttribute_show, Ark_NativePointer, KSerializerBuffer, int32_t)
15297 void impl_PanelAttribute_backgroundMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15298         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15299         Deserializer thisDeserializer(thisArray, thisLength);
15300         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15301         Opt_ResourceColor value_value_buf = {};
15302         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15303         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15304         {
15305             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15306             Ark_ResourceColor value_value_buf_ = {};
15307             value_value_buf_.selector = value_value_buf__selector;
15308             if (value_value_buf__selector == 0) {
15309                 value_value_buf_.selector = 0;
15310                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15311             }
15312             else if (value_value_buf__selector == 1) {
15313                 value_value_buf_.selector = 1;
15314                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15315             }
15316             else if (value_value_buf__selector == 2) {
15317                 value_value_buf_.selector = 2;
15318                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15319             }
15320             else if (value_value_buf__selector == 3) {
15321                 value_value_buf_.selector = 3;
15322                 value_value_buf_.value3 = thisDeserializer.readResource();
15323             }
15324             else {
15325                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15326             }
15327             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15328         }
15329         Opt_ResourceColor value_value = value_value_buf;;
15330         GetNodeModifiers()->getPanelModifier()->setBackgroundMask(self, (const Opt_ResourceColor*)&value_value);
15331 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_backgroundMask,Ark_NativePointer,KSerializerBuffer,int32_t)15332 KOALA_INTEROP_DIRECT_V3(PanelAttribute_backgroundMask, Ark_NativePointer, KSerializerBuffer, int32_t)
15333 void impl_PanelAttribute_showCloseIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15334         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15335         Deserializer thisDeserializer(thisArray, thisLength);
15336         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15337         Opt_Boolean value_value_buf = {};
15338         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15339         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15340         {
15341             value_value_buf.value = thisDeserializer.readBoolean();
15342         }
15343         Opt_Boolean value_value = value_value_buf;;
15344         GetNodeModifiers()->getPanelModifier()->setShowCloseIcon(self, (const Opt_Boolean*)&value_value);
15345 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_showCloseIcon,Ark_NativePointer,KSerializerBuffer,int32_t)15346 KOALA_INTEROP_DIRECT_V3(PanelAttribute_showCloseIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
15347 void impl_PanelAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15348         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15349         Deserializer thisDeserializer(thisArray, thisLength);
15350         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15351         Opt_Callback_Number_Number_PanelMode_Void value_value_buf = {};
15352         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15353         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15354         {
15355             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_PanelMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_PanelMode_Void))))};
15356         }
15357         Opt_Callback_Number_Number_PanelMode_Void value_value = value_value_buf;;
15358         GetNodeModifiers()->getPanelModifier()->setOnChange(self, (const Opt_Callback_Number_Number_PanelMode_Void*)&value_value);
15359 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)15360 KOALA_INTEROP_DIRECT_V3(PanelAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
15361 void impl_PanelAttribute_onHeightChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15362         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15363         Deserializer thisDeserializer(thisArray, thisLength);
15364         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15365         Opt_Callback_Number_Void value_value_buf = {};
15366         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15367         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15368         {
15369             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
15370         }
15371         Opt_Callback_Number_Void value_value = value_value_buf;;
15372         GetNodeModifiers()->getPanelModifier()->setOnHeightChange(self, (const Opt_Callback_Number_Void*)&value_value);
15373 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute_onHeightChange,Ark_NativePointer,KSerializerBuffer,int32_t)15374 KOALA_INTEROP_DIRECT_V3(PanelAttribute_onHeightChange, Ark_NativePointer, KSerializerBuffer, int32_t)
15375 void impl_PanelAttribute__onChangeEvent_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15376         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15377         Deserializer thisDeserializer(thisArray, thisLength);
15378         Callback_Opt_PanelMode_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_PanelMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_PanelMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_PanelMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_PanelMode_Void))))};;
15379         GetNodeModifiers()->getPanelModifier()->set_onChangeEvent_mode(self, (const Callback_Opt_PanelMode_Void*)&callback_value);
15380 }
KOALA_INTEROP_DIRECT_V3(PanelAttribute__onChangeEvent_mode,Ark_NativePointer,KSerializerBuffer,int32_t)15381 KOALA_INTEROP_DIRECT_V3(PanelAttribute__onChangeEvent_mode, Ark_NativePointer, KSerializerBuffer, int32_t)
15382 Ark_NativePointer impl_PasteButton_construct(Ark_Int32 id, Ark_Int32 flags) {
15383         return GetNodeModifiers()->getPasteButtonModifier()->construct(id, flags);
15384 }
KOALA_INTEROP_DIRECT_2(PasteButton_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15385 KOALA_INTEROP_DIRECT_2(PasteButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15386 void impl_PasteButtonInterface_setPasteButtonOptions0(Ark_NativePointer thisPtr) {
15387         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15388         GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions0(self);
15389 }
KOALA_INTEROP_DIRECT_V1(PasteButtonInterface_setPasteButtonOptions0,Ark_NativePointer)15390 KOALA_INTEROP_DIRECT_V1(PasteButtonInterface_setPasteButtonOptions0, Ark_NativePointer)
15391 void impl_PasteButtonInterface_setPasteButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15392         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15393         Deserializer thisDeserializer(thisArray, thisLength);
15394         Ark_PasteButtonOptions options_value = thisDeserializer.readPasteButtonOptions();;
15395         GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions1(self, (const Ark_PasteButtonOptions*)&options_value);
15396 }
KOALA_INTEROP_DIRECT_V3(PasteButtonInterface_setPasteButtonOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)15397 KOALA_INTEROP_DIRECT_V3(PasteButtonInterface_setPasteButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
15398 void impl_PasteButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15399         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15400         Deserializer thisDeserializer(thisArray, thisLength);
15401         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15402         Opt_PasteButtonCallback value_value_buf = {};
15403         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15404         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15405         {
15406             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_PasteButtonCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_PasteButtonCallback))))};
15407         }
15408         Opt_PasteButtonCallback value_value = value_value_buf;;
15409         GetNodeModifiers()->getPasteButtonModifier()->setOnClick(self, (const Opt_PasteButtonCallback*)&value_value);
15410 }
KOALA_INTEROP_DIRECT_V3(PasteButtonAttribute_onClick,Ark_NativePointer,KSerializerBuffer,int32_t)15411 KOALA_INTEROP_DIRECT_V3(PasteButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t)
15412 Ark_NativePointer impl_Path_construct(Ark_Int32 id, Ark_Int32 flags) {
15413         return GetNodeModifiers()->getPathModifier()->construct(id, flags);
15414 }
KOALA_INTEROP_DIRECT_2(Path_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15415 KOALA_INTEROP_DIRECT_2(Path_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15416 void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15417         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15418         Deserializer thisDeserializer(thisArray, thisLength);
15419         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15420         Opt_PathOptions options_value_buf = {};
15421         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15422         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
15423         {
15424             options_value_buf.value = thisDeserializer.readPathOptions();
15425         }
15426         Opt_PathOptions options_value = options_value_buf;;
15427         GetNodeModifiers()->getPathModifier()->setPathOptions(self, (const Opt_PathOptions*)&options_value);
15428 }
KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15429 KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15430 void impl_PathAttribute_commands(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15431         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15432         Deserializer thisDeserializer(thisArray, thisLength);
15433         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15434         Opt_String value_value_buf = {};
15435         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15436         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15437         {
15438             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
15439         }
15440         Opt_String value_value = value_value_buf;;
15441         GetNodeModifiers()->getPathModifier()->setCommands(self, (const Opt_String*)&value_value);
15442 }
KOALA_INTEROP_DIRECT_V3(PathAttribute_commands,Ark_NativePointer,KSerializerBuffer,int32_t)15443 KOALA_INTEROP_DIRECT_V3(PathAttribute_commands, Ark_NativePointer, KSerializerBuffer, int32_t)
15444 Ark_NativePointer impl_PatternLock_construct(Ark_Int32 id, Ark_Int32 flags) {
15445         return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags);
15446 }
KOALA_INTEROP_DIRECT_2(PatternLock_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15447 KOALA_INTEROP_DIRECT_2(PatternLock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15448 void impl_PatternLockInterface_setPatternLockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15449         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15450         Deserializer thisDeserializer(thisArray, thisLength);
15451         const auto controller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15452         Opt_PatternLockController controller_value_buf = {};
15453         controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15454         if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType))
15455         {
15456             controller_value_buf.value = static_cast<Ark_PatternLockController>(thisDeserializer.readPatternLockController());
15457         }
15458         Opt_PatternLockController controller_value = controller_value_buf;;
15459         GetNodeModifiers()->getPatternLockModifier()->setPatternLockOptions(self, (const Opt_PatternLockController*)&controller_value);
15460 }
KOALA_INTEROP_DIRECT_V3(PatternLockInterface_setPatternLockOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15461 KOALA_INTEROP_DIRECT_V3(PatternLockInterface_setPatternLockOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15462 void impl_PatternLockAttribute_sideLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15463         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15464         Deserializer thisDeserializer(thisArray, thisLength);
15465         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15466         Opt_Length value_value_buf = {};
15467         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15468         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15469         {
15470             value_value_buf.value = thisDeserializer.readLength();
15471         }
15472         Opt_Length value_value = value_value_buf;;
15473         GetNodeModifiers()->getPatternLockModifier()->setSideLength(self, (const Opt_Length*)&value_value);
15474 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_sideLength,Ark_NativePointer,KSerializerBuffer,int32_t)15475 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_sideLength, Ark_NativePointer, KSerializerBuffer, int32_t)
15476 void impl_PatternLockAttribute_circleRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15477         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15478         Deserializer thisDeserializer(thisArray, thisLength);
15479         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15480         Opt_Length value_value_buf = {};
15481         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15482         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15483         {
15484             value_value_buf.value = thisDeserializer.readLength();
15485         }
15486         Opt_Length value_value = value_value_buf;;
15487         GetNodeModifiers()->getPatternLockModifier()->setCircleRadius(self, (const Opt_Length*)&value_value);
15488 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_circleRadius,Ark_NativePointer,KSerializerBuffer,int32_t)15489 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_circleRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
15490 void impl_PatternLockAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15491         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15492         Deserializer thisDeserializer(thisArray, thisLength);
15493         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15494         Opt_ResourceColor value_value_buf = {};
15495         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15496         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15497         {
15498             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15499             Ark_ResourceColor value_value_buf_ = {};
15500             value_value_buf_.selector = value_value_buf__selector;
15501             if (value_value_buf__selector == 0) {
15502                 value_value_buf_.selector = 0;
15503                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15504             }
15505             else if (value_value_buf__selector == 1) {
15506                 value_value_buf_.selector = 1;
15507                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15508             }
15509             else if (value_value_buf__selector == 2) {
15510                 value_value_buf_.selector = 2;
15511                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15512             }
15513             else if (value_value_buf__selector == 3) {
15514                 value_value_buf_.selector = 3;
15515                 value_value_buf_.value3 = thisDeserializer.readResource();
15516             }
15517             else {
15518                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15519             }
15520             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15521         }
15522         Opt_ResourceColor value_value = value_value_buf;;
15523         GetNodeModifiers()->getPatternLockModifier()->setBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
15524 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_backgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)15525 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
15526 void impl_PatternLockAttribute_regularColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15527         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15528         Deserializer thisDeserializer(thisArray, thisLength);
15529         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15530         Opt_ResourceColor value_value_buf = {};
15531         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15532         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15533         {
15534             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15535             Ark_ResourceColor value_value_buf_ = {};
15536             value_value_buf_.selector = value_value_buf__selector;
15537             if (value_value_buf__selector == 0) {
15538                 value_value_buf_.selector = 0;
15539                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15540             }
15541             else if (value_value_buf__selector == 1) {
15542                 value_value_buf_.selector = 1;
15543                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15544             }
15545             else if (value_value_buf__selector == 2) {
15546                 value_value_buf_.selector = 2;
15547                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15548             }
15549             else if (value_value_buf__selector == 3) {
15550                 value_value_buf_.selector = 3;
15551                 value_value_buf_.value3 = thisDeserializer.readResource();
15552             }
15553             else {
15554                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15555             }
15556             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15557         }
15558         Opt_ResourceColor value_value = value_value_buf;;
15559         GetNodeModifiers()->getPatternLockModifier()->setRegularColor(self, (const Opt_ResourceColor*)&value_value);
15560 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_regularColor,Ark_NativePointer,KSerializerBuffer,int32_t)15561 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_regularColor, Ark_NativePointer, KSerializerBuffer, int32_t)
15562 void impl_PatternLockAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15564         Deserializer thisDeserializer(thisArray, thisLength);
15565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15566         Opt_ResourceColor value_value_buf = {};
15567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15569         {
15570             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15571             Ark_ResourceColor value_value_buf_ = {};
15572             value_value_buf_.selector = value_value_buf__selector;
15573             if (value_value_buf__selector == 0) {
15574                 value_value_buf_.selector = 0;
15575                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15576             }
15577             else if (value_value_buf__selector == 1) {
15578                 value_value_buf_.selector = 1;
15579                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15580             }
15581             else if (value_value_buf__selector == 2) {
15582                 value_value_buf_.selector = 2;
15583                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15584             }
15585             else if (value_value_buf__selector == 3) {
15586                 value_value_buf_.selector = 3;
15587                 value_value_buf_.value3 = thisDeserializer.readResource();
15588             }
15589             else {
15590                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15591             }
15592             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15593         }
15594         Opt_ResourceColor value_value = value_value_buf;;
15595         GetNodeModifiers()->getPatternLockModifier()->setSelectedColor(self, (const Opt_ResourceColor*)&value_value);
15596 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_selectedColor,Ark_NativePointer,KSerializerBuffer,int32_t)15597 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t)
15598 void impl_PatternLockAttribute_activeColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15599         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15600         Deserializer thisDeserializer(thisArray, thisLength);
15601         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15602         Opt_ResourceColor value_value_buf = {};
15603         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15604         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15605         {
15606             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15607             Ark_ResourceColor value_value_buf_ = {};
15608             value_value_buf_.selector = value_value_buf__selector;
15609             if (value_value_buf__selector == 0) {
15610                 value_value_buf_.selector = 0;
15611                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15612             }
15613             else if (value_value_buf__selector == 1) {
15614                 value_value_buf_.selector = 1;
15615                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15616             }
15617             else if (value_value_buf__selector == 2) {
15618                 value_value_buf_.selector = 2;
15619                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15620             }
15621             else if (value_value_buf__selector == 3) {
15622                 value_value_buf_.selector = 3;
15623                 value_value_buf_.value3 = thisDeserializer.readResource();
15624             }
15625             else {
15626                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15627             }
15628             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15629         }
15630         Opt_ResourceColor value_value = value_value_buf;;
15631         GetNodeModifiers()->getPatternLockModifier()->setActiveColor(self, (const Opt_ResourceColor*)&value_value);
15632 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activeColor,Ark_NativePointer,KSerializerBuffer,int32_t)15633 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activeColor, Ark_NativePointer, KSerializerBuffer, int32_t)
15634 void impl_PatternLockAttribute_pathColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15635         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15636         Deserializer thisDeserializer(thisArray, thisLength);
15637         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15638         Opt_ResourceColor value_value_buf = {};
15639         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15640         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15641         {
15642             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15643             Ark_ResourceColor value_value_buf_ = {};
15644             value_value_buf_.selector = value_value_buf__selector;
15645             if (value_value_buf__selector == 0) {
15646                 value_value_buf_.selector = 0;
15647                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15648             }
15649             else if (value_value_buf__selector == 1) {
15650                 value_value_buf_.selector = 1;
15651                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15652             }
15653             else if (value_value_buf__selector == 2) {
15654                 value_value_buf_.selector = 2;
15655                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15656             }
15657             else if (value_value_buf__selector == 3) {
15658                 value_value_buf_.selector = 3;
15659                 value_value_buf_.value3 = thisDeserializer.readResource();
15660             }
15661             else {
15662                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15663             }
15664             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
15665         }
15666         Opt_ResourceColor value_value = value_value_buf;;
15667         GetNodeModifiers()->getPatternLockModifier()->setPathColor(self, (const Opt_ResourceColor*)&value_value);
15668 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathColor,Ark_NativePointer,KSerializerBuffer,int32_t)15669 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathColor, Ark_NativePointer, KSerializerBuffer, int32_t)
15670 void impl_PatternLockAttribute_pathStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15671         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15672         Deserializer thisDeserializer(thisArray, thisLength);
15673         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15674         Opt_Union_Number_String value_value_buf = {};
15675         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15676         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15677         {
15678             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15679             Ark_Union_Number_String value_value_buf_ = {};
15680             value_value_buf_.selector = value_value_buf__selector;
15681             if (value_value_buf__selector == 0) {
15682                 value_value_buf_.selector = 0;
15683                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15684             }
15685             else if (value_value_buf__selector == 1) {
15686                 value_value_buf_.selector = 1;
15687                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
15688             }
15689             else {
15690                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15691             }
15692             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
15693         }
15694         Opt_Union_Number_String value_value = value_value_buf;;
15695         GetNodeModifiers()->getPatternLockModifier()->setPathStrokeWidth(self, (const Opt_Union_Number_String*)&value_value);
15696 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathStrokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)15697 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathStrokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
15698 void impl_PatternLockAttribute_onPatternComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15699         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15700         Deserializer thisDeserializer(thisArray, thisLength);
15701         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15702         Opt_Callback_Array_Number_Void value_value_buf = {};
15703         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15704         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15705         {
15706             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Array_Number input)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Array_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Array_Number input)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Array_Number_Void))))};
15707         }
15708         Opt_Callback_Array_Number_Void value_value = value_value_buf;;
15709         GetNodeModifiers()->getPatternLockModifier()->setOnPatternComplete(self, (const Opt_Callback_Array_Number_Void*)&value_value);
15710 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onPatternComplete,Ark_NativePointer,KSerializerBuffer,int32_t)15711 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onPatternComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
15712 void impl_PatternLockAttribute_autoReset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15713         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15714         Deserializer thisDeserializer(thisArray, thisLength);
15715         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15716         Opt_Boolean value_value_buf = {};
15717         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15718         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15719         {
15720             value_value_buf.value = thisDeserializer.readBoolean();
15721         }
15722         Opt_Boolean value_value = value_value_buf;;
15723         GetNodeModifiers()->getPatternLockModifier()->setAutoReset(self, (const Opt_Boolean*)&value_value);
15724 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_autoReset,Ark_NativePointer,KSerializerBuffer,int32_t)15725 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_autoReset, Ark_NativePointer, KSerializerBuffer, int32_t)
15726 void impl_PatternLockAttribute_onDotConnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15727         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15728         Deserializer thisDeserializer(thisArray, thisLength);
15729         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15730         Opt_Callback_Number_Void value_value_buf = {};
15731         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15732         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15733         {
15734             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
15735         }
15736         Opt_Callback_Number_Void value_value = value_value_buf;;
15737         GetNodeModifiers()->getPatternLockModifier()->setOnDotConnect(self, (const Opt_Callback_Number_Void*)&value_value);
15738 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onDotConnect,Ark_NativePointer,KSerializerBuffer,int32_t)15739 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onDotConnect, Ark_NativePointer, KSerializerBuffer, int32_t)
15740 void impl_PatternLockAttribute_activateCircleStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15741         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15742         Deserializer thisDeserializer(thisArray, thisLength);
15743         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15744         Opt_CircleStyleOptions value_value_buf = {};
15745         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15746         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15747         {
15748             value_value_buf.value = thisDeserializer.readCircleStyleOptions();
15749         }
15750         Opt_CircleStyleOptions value_value = value_value_buf;;
15751         GetNodeModifiers()->getPatternLockModifier()->setActivateCircleStyle(self, (const Opt_CircleStyleOptions*)&value_value);
15752 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activateCircleStyle,Ark_NativePointer,KSerializerBuffer,int32_t)15753 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activateCircleStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
15754 void impl_PatternLockAttribute_skipUnselectedPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15755         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15756         Deserializer thisDeserializer(thisArray, thisLength);
15757         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15758         Opt_Boolean value_value_buf = {};
15759         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15760         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15761         {
15762             value_value_buf.value = thisDeserializer.readBoolean();
15763         }
15764         Opt_Boolean value_value = value_value_buf;;
15765         GetNodeModifiers()->getPatternLockModifier()->setSkipUnselectedPoint(self, (const Opt_Boolean*)&value_value);
15766 }
KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_skipUnselectedPoint,Ark_NativePointer,KSerializerBuffer,int32_t)15767 KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_skipUnselectedPoint, Ark_NativePointer, KSerializerBuffer, int32_t)
15768 Ark_NativePointer impl_PluginComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
15769         return GetNodeModifiers()->getPluginComponentModifier()->construct(id, flags);
15770 }
KOALA_INTEROP_DIRECT_2(PluginComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15771 KOALA_INTEROP_DIRECT_2(PluginComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15772 void impl_PluginComponentInterface_setPluginComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15773         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15774         Deserializer thisDeserializer(thisArray, thisLength);
15775         Ark_PluginComponentOptions options_value = thisDeserializer.readPluginComponentOptions();;
15776         GetNodeModifiers()->getPluginComponentModifier()->setPluginComponentOptions(self, (const Ark_PluginComponentOptions*)&options_value);
15777 }
KOALA_INTEROP_DIRECT_V3(PluginComponentInterface_setPluginComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15778 KOALA_INTEROP_DIRECT_V3(PluginComponentInterface_setPluginComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15779 void impl_PluginComponentAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15780         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15781         Deserializer thisDeserializer(thisArray, thisLength);
15782         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15783         Opt_VoidCallback value_value_buf = {};
15784         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15785         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15786         {
15787             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
15788         }
15789         Opt_VoidCallback value_value = value_value_buf;;
15790         GetNodeModifiers()->getPluginComponentModifier()->setOnComplete(self, (const Opt_VoidCallback*)&value_value);
15791 }
KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onComplete,Ark_NativePointer,KSerializerBuffer,int32_t)15792 KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
15793 void impl_PluginComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15794         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15795         Deserializer thisDeserializer(thisArray, thisLength);
15796         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15797         Opt_PluginErrorCallback value_value_buf = {};
15798         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15799         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15800         {
15801             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PluginErrorData info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_PluginErrorCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PluginErrorData info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_PluginErrorCallback))))};
15802         }
15803         Opt_PluginErrorCallback value_value = value_value_buf;;
15804         GetNodeModifiers()->getPluginComponentModifier()->setOnError(self, (const Opt_PluginErrorCallback*)&value_value);
15805 }
KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)15806 KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
15807 Ark_NativePointer impl_Polygon_construct(Ark_Int32 id, Ark_Int32 flags) {
15808         return GetNodeModifiers()->getPolygonModifier()->construct(id, flags);
15809 }
KOALA_INTEROP_DIRECT_2(Polygon_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15810 KOALA_INTEROP_DIRECT_2(Polygon_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15811 void impl_PolygonInterface_setPolygonOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15812         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15813         Deserializer thisDeserializer(thisArray, thisLength);
15814         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15815         Opt_PolygonOptions options_value_buf = {};
15816         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15817         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
15818         {
15819             options_value_buf.value = thisDeserializer.readPolygonOptions();
15820         }
15821         Opt_PolygonOptions options_value = options_value_buf;;
15822         GetNodeModifiers()->getPolygonModifier()->setPolygonOptions(self, (const Opt_PolygonOptions*)&options_value);
15823 }
KOALA_INTEROP_DIRECT_V3(PolygonInterface_setPolygonOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15824 KOALA_INTEROP_DIRECT_V3(PolygonInterface_setPolygonOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15825 void impl_PolygonAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15826     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15827     Deserializer thisDeserializer(thisArray, thisLength);
15828     const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15829     Opt_Array_ShapePoint value_value_buf = {};
15830     value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15831     if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15832     {
15833         const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
15834         Array_ShapePoint value_value_buf_ = {};
15835         thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
15836     std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
15837         for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
15838             Ark_ShapePoint value_value_buf__buf = {};
15839             value_value_buf__buf.value0 = thisDeserializer.readLength();
15840             value_value_buf__buf.value1 = thisDeserializer.readLength();
15841             value_value_buf_.array[value_value_buf__i] = value_value_buf__buf;
15842         }
15843         value_value_buf.value = value_value_buf_;
15844     }
15845     Opt_Array_ShapePoint value_value = value_value_buf;;
15846     GetNodeModifiers()->getPolygonModifier()->setPoints(self, (const Opt_Array_ShapePoint*)&value_value);
15847 }
KOALA_INTEROP_DIRECT_V3(PolygonAttribute_points,Ark_NativePointer,KSerializerBuffer,int32_t)15848 KOALA_INTEROP_DIRECT_V3(PolygonAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t)
15849 Ark_NativePointer impl_Polyline_construct(Ark_Int32 id, Ark_Int32 flags) {
15850         return GetNodeModifiers()->getPolylineModifier()->construct(id, flags);
15851 }
KOALA_INTEROP_DIRECT_2(Polyline_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15852 KOALA_INTEROP_DIRECT_2(Polyline_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15853 void impl_PolylineInterface_setPolylineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15854         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15855         Deserializer thisDeserializer(thisArray, thisLength);
15856         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15857         Opt_PolylineOptions options_value_buf = {};
15858         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15859         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
15860         {
15861             options_value_buf.value = thisDeserializer.readPolylineOptions();
15862         }
15863         Opt_PolylineOptions options_value = options_value_buf;;
15864         GetNodeModifiers()->getPolylineModifier()->setPolylineOptions(self, (const Opt_PolylineOptions*)&options_value);
15865 }
KOALA_INTEROP_DIRECT_V3(PolylineInterface_setPolylineOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15866 KOALA_INTEROP_DIRECT_V3(PolylineInterface_setPolylineOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15867 void impl_PolylineAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15868     Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15869     Deserializer thisDeserializer(thisArray, thisLength);
15870     const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15871     Opt_Array_ShapePoint value_value_buf = {};
15872     value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15873     if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15874     {
15875         const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
15876         Array_ShapePoint value_value_buf_ = {};
15877         thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
15878     std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
15879         for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
15880             Ark_ShapePoint value_value_buf__buf = {};
15881             value_value_buf__buf.value0 = thisDeserializer.readLength();
15882             value_value_buf__buf.value1 = thisDeserializer.readLength();
15883             value_value_buf_.array[value_value_buf__i] = value_value_buf__buf;
15884         }
15885         value_value_buf.value = value_value_buf_;
15886     }
15887     Opt_Array_ShapePoint value_value = value_value_buf;;
15888     GetNodeModifiers()->getPolylineModifier()->setPoints(self, (const Opt_Array_ShapePoint*)&value_value);
15889 }
KOALA_INTEROP_DIRECT_V3(PolylineAttribute_points,Ark_NativePointer,KSerializerBuffer,int32_t)15890 KOALA_INTEROP_DIRECT_V3(PolylineAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t)
15891 Ark_NativePointer impl_Progress_construct(Ark_Int32 id, Ark_Int32 flags) {
15892         return GetNodeModifiers()->getProgressModifier()->construct(id, flags);
15893 }
KOALA_INTEROP_DIRECT_2(Progress_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)15894 KOALA_INTEROP_DIRECT_2(Progress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
15895 void impl_ProgressInterface_setProgressOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15896         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15897         Deserializer thisDeserializer(thisArray, thisLength);
15898         Ark_ProgressOptions options_value = thisDeserializer.readProgressOptions();;
15899         GetNodeModifiers()->getProgressModifier()->setProgressOptions(self, (const Ark_ProgressOptions*)&options_value);
15900 }
KOALA_INTEROP_DIRECT_V3(ProgressInterface_setProgressOptions,Ark_NativePointer,KSerializerBuffer,int32_t)15901 KOALA_INTEROP_DIRECT_V3(ProgressInterface_setProgressOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
15902 void impl_ProgressAttribute_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15903         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15904         Deserializer thisDeserializer(thisArray, thisLength);
15905         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15906         Opt_Number value_value_buf = {};
15907         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15908         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15909         {
15910             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
15911         }
15912         Opt_Number value_value = value_value_buf;;
15913         GetNodeModifiers()->getProgressModifier()->setValue(self, (const Opt_Number*)&value_value);
15914 }
KOALA_INTEROP_DIRECT_V3(ProgressAttribute_value,Ark_NativePointer,KSerializerBuffer,int32_t)15915 KOALA_INTEROP_DIRECT_V3(ProgressAttribute_value, Ark_NativePointer, KSerializerBuffer, int32_t)
15916 void impl_ProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15917         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15918         Deserializer thisDeserializer(thisArray, thisLength);
15919         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15920         Opt_Union_ResourceColor_LinearGradient value_value_buf = {};
15921         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15922         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15923         {
15924             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15925             Ark_Union_ResourceColor_LinearGradient value_value_buf_ = {};
15926             value_value_buf_.selector = value_value_buf__selector;
15927             if (value_value_buf__selector == 0) {
15928                 value_value_buf_.selector = 0;
15929                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
15930                 Ark_ResourceColor value_value_buf__u = {};
15931                 value_value_buf__u.selector = value_value_buf__u_selector;
15932                 if (value_value_buf__u_selector == 0) {
15933                     value_value_buf__u.selector = 0;
15934                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
15935                 }
15936                 else if (value_value_buf__u_selector == 1) {
15937                     value_value_buf__u.selector = 1;
15938                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
15939                 }
15940                 else if (value_value_buf__u_selector == 2) {
15941                     value_value_buf__u.selector = 2;
15942                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
15943                 }
15944                 else if (value_value_buf__u_selector == 3) {
15945                     value_value_buf__u.selector = 3;
15946                     value_value_buf__u.value3 = thisDeserializer.readResource();
15947                 }
15948                 else {
15949                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
15950                 }
15951                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
15952             }
15953             else if (value_value_buf__selector == 1) {
15954                 value_value_buf_.selector = 1;
15955                 value_value_buf_.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
15956             }
15957             else {
15958                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15959             }
15960             value_value_buf.value = static_cast<Ark_Union_ResourceColor_LinearGradient>(value_value_buf_);
15961         }
15962         Opt_Union_ResourceColor_LinearGradient value_value = value_value_buf;;
15963         GetNodeModifiers()->getProgressModifier()->setColor(self, (const Opt_Union_ResourceColor_LinearGradient*)&value_value);
15964 }
KOALA_INTEROP_DIRECT_V3(ProgressAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)15965 KOALA_INTEROP_DIRECT_V3(ProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
15966 void impl_ProgressAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
15967         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
15968         Deserializer thisDeserializer(thisArray, thisLength);
15969         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
15970         Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value_buf = {};
15971         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
15972         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
15973         {
15974             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
15975             Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value_buf_ = {};
15976             value_value_buf_.selector = value_value_buf__selector;
15977             if (value_value_buf__selector == 0) {
15978                 value_value_buf_.selector = 0;
15979                 value_value_buf_.value0 = thisDeserializer.readLinearStyleOptions();
15980             }
15981             else if (value_value_buf__selector == 1) {
15982                 value_value_buf_.selector = 1;
15983                 value_value_buf_.value1 = thisDeserializer.readRingStyleOptions();
15984             }
15985             else if (value_value_buf__selector == 2) {
15986                 value_value_buf_.selector = 2;
15987                 value_value_buf_.value2 = thisDeserializer.readCapsuleStyleOptions();
15988             }
15989             else if (value_value_buf__selector == 3) {
15990                 value_value_buf_.selector = 3;
15991                 value_value_buf_.value3 = thisDeserializer.readProgressStyleOptions();
15992             }
15993             else {
15994                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
15995             }
15996             value_value_buf.value = static_cast<Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions>(value_value_buf_);
15997         }
15998         Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value = value_value_buf;;
15999         GetNodeModifiers()->getProgressModifier()->setStyle(self, (const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions*)&value_value);
16000 }
KOALA_INTEROP_DIRECT_V3(ProgressAttribute_style,Ark_NativePointer,KSerializerBuffer,int32_t)16001 KOALA_INTEROP_DIRECT_V3(ProgressAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t)
16002 void impl_ProgressAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16003         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16004         Deserializer thisDeserializer(thisArray, thisLength);
16005         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16006         Opt_Boolean value_value_buf = {};
16007         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16008         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16009         {
16010             value_value_buf.value = thisDeserializer.readBoolean();
16011         }
16012         Opt_Boolean value_value = value_value_buf;;
16013         GetNodeModifiers()->getProgressModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value);
16014 }
KOALA_INTEROP_DIRECT_V3(ProgressAttribute_privacySensitive,Ark_NativePointer,KSerializerBuffer,int32_t)16015 KOALA_INTEROP_DIRECT_V3(ProgressAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t)
16016 void impl_ProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16017         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16018         Deserializer thisDeserializer(thisArray, thisLength);
16019         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16020         Opt_ContentModifier value_value_buf = {};
16021         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16022         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16023         {
16024             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
16025         }
16026         Opt_ContentModifier value_value = value_value_buf;;
16027         GetNodeModifiers()->getProgressModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
16028 }
KOALA_INTEROP_DIRECT_V3(ProgressAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)16029 KOALA_INTEROP_DIRECT_V3(ProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
16030 Ark_NativePointer impl_QRCode_construct(Ark_Int32 id, Ark_Int32 flags) {
16031         return GetNodeModifiers()->getQRCodeModifier()->construct(id, flags);
16032 }
KOALA_INTEROP_DIRECT_2(QRCode_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16033 KOALA_INTEROP_DIRECT_2(QRCode_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16034 void impl_QRCodeInterface_setQRCodeOptions(Ark_NativePointer thisPtr, const KStringPtr& value) {
16035         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16036         GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, (const Ark_String*) (&value));
16037 }
KOALA_INTEROP_V2(QRCodeInterface_setQRCodeOptions,Ark_NativePointer,KStringPtr)16038 KOALA_INTEROP_V2(QRCodeInterface_setQRCodeOptions, Ark_NativePointer, KStringPtr)
16039 void impl_QRCodeAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16040         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16041         Deserializer thisDeserializer(thisArray, thisLength);
16042         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16043         Opt_ResourceColor value_value_buf = {};
16044         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16045         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16046         {
16047             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16048             Ark_ResourceColor value_value_buf_ = {};
16049             value_value_buf_.selector = value_value_buf__selector;
16050             if (value_value_buf__selector == 0) {
16051                 value_value_buf_.selector = 0;
16052                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
16053             }
16054             else if (value_value_buf__selector == 1) {
16055                 value_value_buf_.selector = 1;
16056                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16057             }
16058             else if (value_value_buf__selector == 2) {
16059                 value_value_buf_.selector = 2;
16060                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
16061             }
16062             else if (value_value_buf__selector == 3) {
16063                 value_value_buf_.selector = 3;
16064                 value_value_buf_.value3 = thisDeserializer.readResource();
16065             }
16066             else {
16067                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16068             }
16069             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
16070         }
16071         Opt_ResourceColor value_value = value_value_buf;;
16072         GetNodeModifiers()->getQRCodeModifier()->setColor(self, (const Opt_ResourceColor*)&value_value);
16073 }
KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_color,Ark_NativePointer,KSerializerBuffer,int32_t)16074 KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t)
16075 void impl_QRCodeAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16076         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16077         Deserializer thisDeserializer(thisArray, thisLength);
16078         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16079         Opt_ResourceColor value_value_buf = {};
16080         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16081         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16082         {
16083             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16084             Ark_ResourceColor value_value_buf_ = {};
16085             value_value_buf_.selector = value_value_buf__selector;
16086             if (value_value_buf__selector == 0) {
16087                 value_value_buf_.selector = 0;
16088                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
16089             }
16090             else if (value_value_buf__selector == 1) {
16091                 value_value_buf_.selector = 1;
16092                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16093             }
16094             else if (value_value_buf__selector == 2) {
16095                 value_value_buf_.selector = 2;
16096                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
16097             }
16098             else if (value_value_buf__selector == 3) {
16099                 value_value_buf_.selector = 3;
16100                 value_value_buf_.value3 = thisDeserializer.readResource();
16101             }
16102             else {
16103                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16104             }
16105             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
16106         }
16107         Opt_ResourceColor value_value = value_value_buf;;
16108         GetNodeModifiers()->getQRCodeModifier()->setBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
16109 }
KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_backgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)16110 KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
16111 void impl_QRCodeAttribute_contentOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16112         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16113         Deserializer thisDeserializer(thisArray, thisLength);
16114         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16115         Opt_Union_Number_Resource value_value_buf = {};
16116         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16117         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16118         {
16119             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16120             Ark_Union_Number_Resource value_value_buf_ = {};
16121             value_value_buf_.selector = value_value_buf__selector;
16122             if (value_value_buf__selector == 0) {
16123                 value_value_buf_.selector = 0;
16124                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16125             }
16126             else if (value_value_buf__selector == 1) {
16127                 value_value_buf_.selector = 1;
16128                 value_value_buf_.value1 = thisDeserializer.readResource();
16129             }
16130             else {
16131                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16132             }
16133             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
16134         }
16135         Opt_Union_Number_Resource value_value = value_value_buf;;
16136         GetNodeModifiers()->getQRCodeModifier()->setContentOpacity(self, (const Opt_Union_Number_Resource*)&value_value);
16137 }
KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_contentOpacity,Ark_NativePointer,KSerializerBuffer,int32_t)16138 KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_contentOpacity, Ark_NativePointer, KSerializerBuffer, int32_t)
16139 Ark_NativePointer impl_Radio_construct(Ark_Int32 id, Ark_Int32 flags) {
16140         return GetNodeModifiers()->getRadioModifier()->construct(id, flags);
16141 }
KOALA_INTEROP_DIRECT_2(Radio_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16142 KOALA_INTEROP_DIRECT_2(Radio_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16143 void impl_RadioInterface_setRadioOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16144         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16145         Deserializer thisDeserializer(thisArray, thisLength);
16146         Ark_RadioOptions options_value = thisDeserializer.readRadioOptions();;
16147         GetNodeModifiers()->getRadioModifier()->setRadioOptions(self, (const Ark_RadioOptions*)&options_value);
16148 }
KOALA_INTEROP_DIRECT_V3(RadioInterface_setRadioOptions,Ark_NativePointer,KSerializerBuffer,int32_t)16149 KOALA_INTEROP_DIRECT_V3(RadioInterface_setRadioOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
16150 void impl_RadioAttribute_checked0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16151         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16152         Deserializer thisDeserializer(thisArray, thisLength);
16153         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16154         Opt_Boolean value_value_buf = {};
16155         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16156         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16157         {
16158             value_value_buf.value = thisDeserializer.readBoolean();
16159         }
16160         Opt_Boolean value_value = value_value_buf;;
16161         GetNodeModifiers()->getRadioModifier()->setChecked0(self, (const Opt_Boolean*)&value_value);
16162 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_checked0,Ark_NativePointer,KSerializerBuffer,int32_t)16163 KOALA_INTEROP_DIRECT_V3(RadioAttribute_checked0, Ark_NativePointer, KSerializerBuffer, int32_t)
16164 void impl_RadioAttribute_checked1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16165         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16166         Deserializer thisDeserializer(thisArray, thisLength);
16167         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16168         Opt_Boolean value_value_buf = {};
16169         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16170         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16171         {
16172             value_value_buf.value = thisDeserializer.readBoolean();
16173         }
16174         Opt_Boolean value_value = value_value_buf;;
16175         GetNodeModifiers()->getRadioModifier()->setChecked1(self, (const Opt_Boolean*)&value_value);
16176 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_checked1,Ark_NativePointer,KSerializerBuffer,int32_t)16177 KOALA_INTEROP_DIRECT_V3(RadioAttribute_checked1, Ark_NativePointer, KSerializerBuffer, int32_t)
16178 void impl_RadioAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16179         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16180         Deserializer thisDeserializer(thisArray, thisLength);
16181         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16182         Opt_Callback_Boolean_Void value_value_buf = {};
16183         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16184         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16185         {
16186             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
16187         }
16188         Opt_Callback_Boolean_Void value_value = value_value_buf;;
16189         GetNodeModifiers()->getRadioModifier()->setOnChange0(self, (const Opt_Callback_Boolean_Void*)&value_value);
16190 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)16191 KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
16192 void impl_RadioAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16193         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16194         Deserializer thisDeserializer(thisArray, thisLength);
16195         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16196         Opt_OnRadioChangeCallback value_value_buf = {};
16197         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16198         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16199         {
16200             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isChecked)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnRadioChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isChecked)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnRadioChangeCallback))))};
16201         }
16202         Opt_OnRadioChangeCallback value_value = value_value_buf;;
16203         GetNodeModifiers()->getRadioModifier()->setOnChange1(self, (const Opt_OnRadioChangeCallback*)&value_value);
16204 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)16205 KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
16206 void impl_RadioAttribute_radioStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16207         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16208         Deserializer thisDeserializer(thisArray, thisLength);
16209         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16210         Opt_RadioStyle value_value_buf = {};
16211         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16212         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16213         {
16214             value_value_buf.value = thisDeserializer.readRadioStyle();
16215         }
16216         Opt_RadioStyle value_value = value_value_buf;;
16217         GetNodeModifiers()->getRadioModifier()->setRadioStyle(self, (const Opt_RadioStyle*)&value_value);
16218 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_radioStyle,Ark_NativePointer,KSerializerBuffer,int32_t)16219 KOALA_INTEROP_DIRECT_V3(RadioAttribute_radioStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
16220 void impl_RadioAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16221         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16222         Deserializer thisDeserializer(thisArray, thisLength);
16223         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16224         Opt_ContentModifier value_value_buf = {};
16225         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16226         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16227         {
16228             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
16229         }
16230         Opt_ContentModifier value_value = value_value_buf;;
16231         GetNodeModifiers()->getRadioModifier()->setContentModifier0(self, (const Opt_ContentModifier*)&value_value);
16232 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier0,Ark_NativePointer,KSerializerBuffer,int32_t)16233 KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t)
16234 void impl_RadioAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16235         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16236         Deserializer thisDeserializer(thisArray, thisLength);
16237         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16238         Opt_ContentModifier value_value_buf = {};
16239         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16240         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16241         {
16242             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
16243         }
16244         Opt_ContentModifier value_value = value_value_buf;;
16245         GetNodeModifiers()->getRadioModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value);
16246 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier1,Ark_NativePointer,KSerializerBuffer,int32_t)16247 KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t)
16248 void impl_RadioAttribute__onChangeEvent_checked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16249         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16250         Deserializer thisDeserializer(thisArray, thisLength);
16251         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
16252         GetNodeModifiers()->getRadioModifier()->set_onChangeEvent_checked(self, (const Callback_Opt_Boolean_Void*)&callback_value);
16253 }
KOALA_INTEROP_DIRECT_V3(RadioAttribute__onChangeEvent_checked,Ark_NativePointer,KSerializerBuffer,int32_t)16254 KOALA_INTEROP_DIRECT_V3(RadioAttribute__onChangeEvent_checked, Ark_NativePointer, KSerializerBuffer, int32_t)
16255 Ark_NativePointer impl_Rating_construct(Ark_Int32 id, Ark_Int32 flags) {
16256         return GetNodeModifiers()->getRatingModifier()->construct(id, flags);
16257 }
KOALA_INTEROP_DIRECT_2(Rating_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16258 KOALA_INTEROP_DIRECT_2(Rating_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16259 void impl_RatingInterface_setRatingOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16260         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16261         Deserializer thisDeserializer(thisArray, thisLength);
16262         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16263         Opt_RatingOptions options_value_buf = {};
16264         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16265         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
16266         {
16267             options_value_buf.value = thisDeserializer.readRatingOptions();
16268         }
16269         Opt_RatingOptions options_value = options_value_buf;;
16270         GetNodeModifiers()->getRatingModifier()->setRatingOptions(self, (const Opt_RatingOptions*)&options_value);
16271 }
KOALA_INTEROP_DIRECT_V3(RatingInterface_setRatingOptions,Ark_NativePointer,KSerializerBuffer,int32_t)16272 KOALA_INTEROP_DIRECT_V3(RatingInterface_setRatingOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
16273 void impl_RatingAttribute_stars0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16274         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16275         Deserializer thisDeserializer(thisArray, thisLength);
16276         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16277         Opt_Number value_value_buf = {};
16278         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16279         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16280         {
16281             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16282         }
16283         Opt_Number value_value = value_value_buf;;
16284         GetNodeModifiers()->getRatingModifier()->setStars0(self, (const Opt_Number*)&value_value);
16285 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_stars0,Ark_NativePointer,KSerializerBuffer,int32_t)16286 KOALA_INTEROP_DIRECT_V3(RatingAttribute_stars0, Ark_NativePointer, KSerializerBuffer, int32_t)
16287 void impl_RatingAttribute_stars1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16288         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16289         Deserializer thisDeserializer(thisArray, thisLength);
16290         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16291         Opt_Number value_value_buf = {};
16292         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16293         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16294         {
16295             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16296         }
16297         Opt_Number value_value = value_value_buf;;
16298         GetNodeModifiers()->getRatingModifier()->setStars1(self, (const Opt_Number*)&value_value);
16299 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_stars1,Ark_NativePointer,KSerializerBuffer,int32_t)16300 KOALA_INTEROP_DIRECT_V3(RatingAttribute_stars1, Ark_NativePointer, KSerializerBuffer, int32_t)
16301 void impl_RatingAttribute_stepSize0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16302         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16303         Deserializer thisDeserializer(thisArray, thisLength);
16304         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16305         Opt_Number value_value_buf = {};
16306         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16307         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16308         {
16309             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16310         }
16311         Opt_Number value_value = value_value_buf;;
16312         GetNodeModifiers()->getRatingModifier()->setStepSize0(self, (const Opt_Number*)&value_value);
16313 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_stepSize0,Ark_NativePointer,KSerializerBuffer,int32_t)16314 KOALA_INTEROP_DIRECT_V3(RatingAttribute_stepSize0, Ark_NativePointer, KSerializerBuffer, int32_t)
16315 void impl_RatingAttribute_stepSize1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16316         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16317         Deserializer thisDeserializer(thisArray, thisLength);
16318         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16319         Opt_Number value_value_buf = {};
16320         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16321         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16322         {
16323             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16324         }
16325         Opt_Number value_value = value_value_buf;;
16326         GetNodeModifiers()->getRatingModifier()->setStepSize1(self, (const Opt_Number*)&value_value);
16327 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_stepSize1,Ark_NativePointer,KSerializerBuffer,int32_t)16328 KOALA_INTEROP_DIRECT_V3(RatingAttribute_stepSize1, Ark_NativePointer, KSerializerBuffer, int32_t)
16329 void impl_RatingAttribute_starStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16330         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16331         Deserializer thisDeserializer(thisArray, thisLength);
16332         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16333         Opt_StarStyleOptions value_value_buf = {};
16334         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16335         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16336         {
16337             value_value_buf.value = thisDeserializer.readStarStyleOptions();
16338         }
16339         Opt_StarStyleOptions value_value = value_value_buf;;
16340         GetNodeModifiers()->getRatingModifier()->setStarStyle0(self, (const Opt_StarStyleOptions*)&value_value);
16341 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)16342 KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
16343 void impl_RatingAttribute_starStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16344         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16345         Deserializer thisDeserializer(thisArray, thisLength);
16346         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16347         Opt_StarStyleOptions value_value_buf = {};
16348         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16349         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16350         {
16351             value_value_buf.value = thisDeserializer.readStarStyleOptions();
16352         }
16353         Opt_StarStyleOptions value_value = value_value_buf;;
16354         GetNodeModifiers()->getRatingModifier()->setStarStyle1(self, (const Opt_StarStyleOptions*)&value_value);
16355 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)16356 KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
16357 void impl_RatingAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16358         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16359         Deserializer thisDeserializer(thisArray, thisLength);
16360         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16361         Opt_Callback_Number_Void value_value_buf = {};
16362         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16363         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16364         {
16365             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
16366         }
16367         Opt_Callback_Number_Void value_value = value_value_buf;;
16368         GetNodeModifiers()->getRatingModifier()->setOnChange0(self, (const Opt_Callback_Number_Void*)&value_value);
16369 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)16370 KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
16371 void impl_RatingAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16372         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16373         Deserializer thisDeserializer(thisArray, thisLength);
16374         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16375         Opt_OnRatingChangeCallback value_value_buf = {};
16376         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16377         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16378         {
16379             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number rating)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnRatingChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number rating)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnRatingChangeCallback))))};
16380         }
16381         Opt_OnRatingChangeCallback value_value = value_value_buf;;
16382         GetNodeModifiers()->getRatingModifier()->setOnChange1(self, (const Opt_OnRatingChangeCallback*)&value_value);
16383 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)16384 KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
16385 void impl_RatingAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16386         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16387         Deserializer thisDeserializer(thisArray, thisLength);
16388         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16389         Opt_ContentModifier value_value_buf = {};
16390         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16391         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16392         {
16393             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
16394         }
16395         Opt_ContentModifier value_value = value_value_buf;;
16396         GetNodeModifiers()->getRatingModifier()->setContentModifier0(self, (const Opt_ContentModifier*)&value_value);
16397 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier0,Ark_NativePointer,KSerializerBuffer,int32_t)16398 KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t)
16399 void impl_RatingAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16400         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16401         Deserializer thisDeserializer(thisArray, thisLength);
16402         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16403         Opt_ContentModifier value_value_buf = {};
16404         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16405         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16406         {
16407             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
16408         }
16409         Opt_ContentModifier value_value = value_value_buf;;
16410         GetNodeModifiers()->getRatingModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value);
16411 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier1,Ark_NativePointer,KSerializerBuffer,int32_t)16412 KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t)
16413 void impl_RatingAttribute__onChangeEvent_rating(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16414         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16415         Deserializer thisDeserializer(thisArray, thisLength);
16416         Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
16417         GetNodeModifiers()->getRatingModifier()->set_onChangeEvent_rating(self, (const Callback_Number_Void*)&callback_value);
16418 }
KOALA_INTEROP_DIRECT_V3(RatingAttribute__onChangeEvent_rating,Ark_NativePointer,KSerializerBuffer,int32_t)16419 KOALA_INTEROP_DIRECT_V3(RatingAttribute__onChangeEvent_rating, Ark_NativePointer, KSerializerBuffer, int32_t)
16420 Ark_NativePointer impl_Rect_construct(Ark_Int32 id, Ark_Int32 flags) {
16421         return GetNodeModifiers()->getRectModifier()->construct(id, flags);
16422 }
KOALA_INTEROP_DIRECT_2(Rect_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16423 KOALA_INTEROP_DIRECT_2(Rect_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16424 void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16425         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16426         Deserializer thisDeserializer(thisArray, thisLength);
16427         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16428         Opt_Union_RectOptions_RoundedRectOptions options_value_buf = {};
16429         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16430         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
16431         {
16432             const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8();
16433             Ark_Union_RectOptions_RoundedRectOptions options_value_buf_ = {};
16434             options_value_buf_.selector = options_value_buf__selector;
16435             if (options_value_buf__selector == 0) {
16436                 options_value_buf_.selector = 0;
16437                 options_value_buf_.value0 = thisDeserializer.readRectOptions();
16438             }
16439             else if (options_value_buf__selector == 1) {
16440                 options_value_buf_.selector = 1;
16441                 options_value_buf_.value1 = thisDeserializer.readRoundedRectOptions();
16442             }
16443             else {
16444                 INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation.");
16445             }
16446             options_value_buf.value = static_cast<Ark_Union_RectOptions_RoundedRectOptions>(options_value_buf_);
16447         }
16448         Opt_Union_RectOptions_RoundedRectOptions options_value = options_value_buf;;
16449         GetNodeModifiers()->getRectModifier()->setRectOptions(self, (const Opt_Union_RectOptions_RoundedRectOptions*)&options_value);
16450 }
KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions,Ark_NativePointer,KSerializerBuffer,int32_t)16451 KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
16452 void impl_RectAttribute_radiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16453         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16454         Deserializer thisDeserializer(thisArray, thisLength);
16455         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16456         Opt_Union_Number_String value_value_buf = {};
16457         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16458         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16459         {
16460             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16461             Ark_Union_Number_String value_value_buf_ = {};
16462             value_value_buf_.selector = value_value_buf__selector;
16463             if (value_value_buf__selector == 0) {
16464                 value_value_buf_.selector = 0;
16465                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16466             }
16467             else if (value_value_buf__selector == 1) {
16468                 value_value_buf_.selector = 1;
16469                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
16470             }
16471             else {
16472                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16473             }
16474             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
16475         }
16476         Opt_Union_Number_String value_value = value_value_buf;;
16477         GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, (const Opt_Union_Number_String*)&value_value);
16478 }
KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusWidth,Ark_NativePointer,KSerializerBuffer,int32_t)16479 KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
16480 void impl_RectAttribute_radiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16481         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16482         Deserializer thisDeserializer(thisArray, thisLength);
16483         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16484         Opt_Union_Number_String value_value_buf = {};
16485         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16486         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16487         {
16488             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16489             Ark_Union_Number_String value_value_buf_ = {};
16490             value_value_buf_.selector = value_value_buf__selector;
16491             if (value_value_buf__selector == 0) {
16492                 value_value_buf_.selector = 0;
16493                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16494             }
16495             else if (value_value_buf__selector == 1) {
16496                 value_value_buf_.selector = 1;
16497                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
16498             }
16499             else {
16500                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16501             }
16502             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
16503         }
16504         Opt_Union_Number_String value_value = value_value_buf;;
16505         GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, (const Opt_Union_Number_String*)&value_value);
16506 }
KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusHeight,Ark_NativePointer,KSerializerBuffer,int32_t)16507 KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
16508 void impl_RectAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16509         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16510         Deserializer thisDeserializer(thisArray, thisLength);
16511         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16512         Opt_Union_Number_String_Array_Union_Number_String value_value_buf = {};
16513         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16514         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16515         {
16516             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16517             Ark_Union_Number_String_Array_Union_Number_String value_value_buf_ = {};
16518             value_value_buf_.selector = value_value_buf__selector;
16519             if (value_value_buf__selector == 0) {
16520                 value_value_buf_.selector = 0;
16521                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16522             }
16523             else if (value_value_buf__selector == 1) {
16524                 value_value_buf_.selector = 1;
16525                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
16526             }
16527             else if (value_value_buf__selector == 2) {
16528                 value_value_buf_.selector = 2;
16529                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
16530                 Array_Union_Number_String value_value_buf__u = {};
16531                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
16532         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
16533                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
16534                     const Ark_Int8 value_value_buf__u_buf_selector = thisDeserializer.readInt8();
16535                     Ark_Union_Number_String value_value_buf__u_buf = {};
16536                     value_value_buf__u_buf.selector = value_value_buf__u_buf_selector;
16537                     if (value_value_buf__u_buf_selector == 0) {
16538                         value_value_buf__u_buf.selector = 0;
16539                         value_value_buf__u_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16540                     }
16541                     else if (value_value_buf__u_buf_selector == 1) {
16542                         value_value_buf__u_buf.selector = 1;
16543                         value_value_buf__u_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
16544                     }
16545                     else {
16546                         INTEROP_FATAL("One of the branches for value_value_buf__u_buf has to be chosen through deserialisation.");
16547                     }
16548                     value_value_buf__u.array[value_value_buf__u_i] = static_cast<Ark_Union_Number_String>(value_value_buf__u_buf);
16549                 }
16550                 value_value_buf_.value2 = value_value_buf__u;
16551             }
16552             else {
16553                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16554             }
16555             value_value_buf.value = static_cast<Ark_Union_Number_String_Array_Union_Number_String>(value_value_buf_);
16556         }
16557         Opt_Union_Number_String_Array_Union_Number_String value_value = value_value_buf;;
16558         GetNodeModifiers()->getRectModifier()->setRadius(self, (const Opt_Union_Number_String_Array_Union_Number_String*)&value_value);
16559 }
KOALA_INTEROP_DIRECT_V3(RectAttribute_radius,Ark_NativePointer,KSerializerBuffer,int32_t)16560 KOALA_INTEROP_DIRECT_V3(RectAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t)
16561 Ark_NativePointer impl_Refresh_construct(Ark_Int32 id, Ark_Int32 flags) {
16562         return GetNodeModifiers()->getRefreshModifier()->construct(id, flags);
16563 }
KOALA_INTEROP_DIRECT_2(Refresh_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16564 KOALA_INTEROP_DIRECT_2(Refresh_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16565 void impl_RefreshInterface_setRefreshOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16566         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16567         Deserializer thisDeserializer(thisArray, thisLength);
16568         Ark_RefreshOptions value_value = thisDeserializer.readRefreshOptions();;
16569         GetNodeModifiers()->getRefreshModifier()->setRefreshOptions(self, (const Ark_RefreshOptions*)&value_value);
16570 }
KOALA_INTEROP_DIRECT_V3(RefreshInterface_setRefreshOptions,Ark_NativePointer,KSerializerBuffer,int32_t)16571 KOALA_INTEROP_DIRECT_V3(RefreshInterface_setRefreshOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
16572 void impl_RefreshAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16573         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16574         Deserializer thisDeserializer(thisArray, thisLength);
16575         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16576         Opt_Callback_RefreshStatus_Void value_value_buf = {};
16577         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16578         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16579         {
16580             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_RefreshStatus state)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RefreshStatus_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_RefreshStatus state)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RefreshStatus_Void))))};
16581         }
16582         Opt_Callback_RefreshStatus_Void value_value = value_value_buf;;
16583         GetNodeModifiers()->getRefreshModifier()->setOnStateChange(self, (const Opt_Callback_RefreshStatus_Void*)&value_value);
16584 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)16585 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
16586 void impl_RefreshAttribute_onRefreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16587         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16588         Deserializer thisDeserializer(thisArray, thisLength);
16589         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16590         Opt_Callback_Void value_value_buf = {};
16591         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16592         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16593         {
16594             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
16595         }
16596         Opt_Callback_Void value_value = value_value_buf;;
16597         GetNodeModifiers()->getRefreshModifier()->setOnRefreshing(self, (const Opt_Callback_Void*)&value_value);
16598 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onRefreshing,Ark_NativePointer,KSerializerBuffer,int32_t)16599 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onRefreshing, Ark_NativePointer, KSerializerBuffer, int32_t)
16600 void impl_RefreshAttribute_refreshOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16601         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16602         Deserializer thisDeserializer(thisArray, thisLength);
16603         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16604         Opt_Number value_value_buf = {};
16605         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16606         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16607         {
16608             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16609         }
16610         Opt_Number value_value = value_value_buf;;
16611         GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, (const Opt_Number*)&value_value);
16612 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_refreshOffset,Ark_NativePointer,KSerializerBuffer,int32_t)16613 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_refreshOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
16614 void impl_RefreshAttribute_pullToRefresh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16615         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16616         Deserializer thisDeserializer(thisArray, thisLength);
16617         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16618         Opt_Boolean value_value_buf = {};
16619         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16620         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16621         {
16622             value_value_buf.value = thisDeserializer.readBoolean();
16623         }
16624         Opt_Boolean value_value = value_value_buf;;
16625         GetNodeModifiers()->getRefreshModifier()->setPullToRefresh(self, (const Opt_Boolean*)&value_value);
16626 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullToRefresh,Ark_NativePointer,KSerializerBuffer,int32_t)16627 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullToRefresh, Ark_NativePointer, KSerializerBuffer, int32_t)
16628 void impl_RefreshAttribute_onOffsetChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16629         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16630         Deserializer thisDeserializer(thisArray, thisLength);
16631         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16632         Opt_Callback_Number_Void value_value_buf = {};
16633         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16634         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16635         {
16636             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
16637         }
16638         Opt_Callback_Number_Void value_value = value_value_buf;;
16639         GetNodeModifiers()->getRefreshModifier()->setOnOffsetChange(self, (const Opt_Callback_Number_Void*)&value_value);
16640 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onOffsetChange,Ark_NativePointer,KSerializerBuffer,int32_t)16641 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onOffsetChange, Ark_NativePointer, KSerializerBuffer, int32_t)
16642 void impl_RefreshAttribute_pullDownRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16643         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16644         Deserializer thisDeserializer(thisArray, thisLength);
16645         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16646         Opt_Number value_value_buf = {};
16647         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16648         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16649         {
16650             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
16651         }
16652         Opt_Number value_value = value_value_buf;;
16653         GetNodeModifiers()->getRefreshModifier()->setPullDownRatio(self, (const Opt_Number*)&value_value);
16654 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullDownRatio,Ark_NativePointer,KSerializerBuffer,int32_t)16655 KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullDownRatio, Ark_NativePointer, KSerializerBuffer, int32_t)
16656 void impl_RefreshAttribute__onChangeEvent_refreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16657         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16658         Deserializer thisDeserializer(thisArray, thisLength);
16659         Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};;
16660         GetNodeModifiers()->getRefreshModifier()->set_onChangeEvent_refreshing(self, (const Callback_Boolean_Void*)&callback_value);
16661 }
KOALA_INTEROP_DIRECT_V3(RefreshAttribute__onChangeEvent_refreshing,Ark_NativePointer,KSerializerBuffer,int32_t)16662 KOALA_INTEROP_DIRECT_V3(RefreshAttribute__onChangeEvent_refreshing, Ark_NativePointer, KSerializerBuffer, int32_t)
16663 Ark_NativePointer impl_RelativeContainer_construct(Ark_Int32 id, Ark_Int32 flags) {
16664         return GetNodeModifiers()->getRelativeContainerModifier()->construct(id, flags);
16665 }
KOALA_INTEROP_DIRECT_2(RelativeContainer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16666 KOALA_INTEROP_DIRECT_2(RelativeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16667 void impl_RelativeContainerInterface_setRelativeContainerOptions(Ark_NativePointer thisPtr) {
16668         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16669         GetNodeModifiers()->getRelativeContainerModifier()->setRelativeContainerOptions(self);
16670 }
KOALA_INTEROP_DIRECT_V1(RelativeContainerInterface_setRelativeContainerOptions,Ark_NativePointer)16671 KOALA_INTEROP_DIRECT_V1(RelativeContainerInterface_setRelativeContainerOptions, Ark_NativePointer)
16672 void impl_RelativeContainerAttribute_guideLine(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16673         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16674         Deserializer thisDeserializer(thisArray, thisLength);
16675         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16676         Opt_Array_GuideLineStyle value_value_buf = {};
16677         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16678         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16679         {
16680             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
16681             Array_GuideLineStyle value_value_buf_ = {};
16682             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
16683         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
16684             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
16685                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readGuideLineStyle();
16686             }
16687             value_value_buf.value = value_value_buf_;
16688         }
16689         Opt_Array_GuideLineStyle value_value = value_value_buf;;
16690         GetNodeModifiers()->getRelativeContainerModifier()->setGuideLine(self, (const Opt_Array_GuideLineStyle*)&value_value);
16691 }
KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_guideLine,Ark_NativePointer,KSerializerBuffer,int32_t)16692 KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_guideLine, Ark_NativePointer, KSerializerBuffer, int32_t)
16693 void impl_RelativeContainerAttribute_barrier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16694         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16695         Deserializer thisDeserializer(thisArray, thisLength);
16696         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16697         Opt_Array_BarrierStyle value_value_buf = {};
16698         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16699         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16700         {
16701             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
16702             Array_BarrierStyle value_value_buf_ = {};
16703             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
16704         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
16705             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
16706                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readBarrierStyle();
16707             }
16708             value_value_buf.value = value_value_buf_;
16709         }
16710         Opt_Array_BarrierStyle value_value = value_value_buf;;
16711         GetNodeModifiers()->getRelativeContainerModifier()->setBarrier0(self, (const Opt_Array_BarrierStyle*)&value_value);
16712 }
KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier0,Ark_NativePointer,KSerializerBuffer,int32_t)16713 KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier0, Ark_NativePointer, KSerializerBuffer, int32_t)
16714 void impl_RelativeContainerAttribute_barrier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16715         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16716         Deserializer thisDeserializer(thisArray, thisLength);
16717         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16718         Opt_Array_LocalizedBarrierStyle value_value_buf = {};
16719         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16720         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16721         {
16722             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
16723             Array_LocalizedBarrierStyle value_value_buf_ = {};
16724             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
16725         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
16726             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
16727                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readLocalizedBarrierStyle();
16728             }
16729             value_value_buf.value = value_value_buf_;
16730         }
16731         Opt_Array_LocalizedBarrierStyle value_value = value_value_buf;;
16732         GetNodeModifiers()->getRelativeContainerModifier()->setBarrier1(self, (const Opt_Array_LocalizedBarrierStyle*)&value_value);
16733 }
KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier1,Ark_NativePointer,KSerializerBuffer,int32_t)16734 KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier1, Ark_NativePointer, KSerializerBuffer, int32_t)
16735 Ark_NativePointer impl_RichEditor_construct(Ark_Int32 id, Ark_Int32 flags) {
16736         return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags);
16737 }
KOALA_INTEROP_DIRECT_2(RichEditor_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)16738 KOALA_INTEROP_DIRECT_2(RichEditor_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
16739 void impl_RichEditorInterface_setRichEditorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16740         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16741         Deserializer thisDeserializer(thisArray, thisLength);
16742         Ark_RichEditorOptions value_value = thisDeserializer.readRichEditorOptions();;
16743         GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions0(self, (const Ark_RichEditorOptions*)&value_value);
16744 }
KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)16745 KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
16746 void impl_RichEditorInterface_setRichEditorOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16747         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16748         Deserializer thisDeserializer(thisArray, thisLength);
16749         Ark_RichEditorStyledStringOptions options_value = thisDeserializer.readRichEditorStyledStringOptions();;
16750         GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions1(self, (const Ark_RichEditorStyledStringOptions*)&options_value);
16751 }
KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)16752 KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
16753 void impl_RichEditorAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16754         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16755         Deserializer thisDeserializer(thisArray, thisLength);
16756         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16757         Opt_Callback_Void value_value_buf = {};
16758         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16759         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16760         {
16761             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
16762         }
16763         Opt_Callback_Void value_value = value_value_buf;;
16764         GetNodeModifiers()->getRichEditorModifier()->setOnReady(self, (const Opt_Callback_Void*)&value_value);
16765 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onReady,Ark_NativePointer,KSerializerBuffer,int32_t)16766 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t)
16767 void impl_RichEditorAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16768         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16769         Deserializer thisDeserializer(thisArray, thisLength);
16770         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16771         Opt_Callback_RichEditorSelection_Void value_value_buf = {};
16772         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16773         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16774         {
16775             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorSelection parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorSelection_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorSelection parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorSelection_Void))))};
16776         }
16777         Opt_Callback_RichEditorSelection_Void value_value = value_value_buf;;
16778         GetNodeModifiers()->getRichEditorModifier()->setOnSelect(self, (const Opt_Callback_RichEditorSelection_Void*)&value_value);
16779 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelect,Ark_NativePointer,KSerializerBuffer,int32_t)16780 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t)
16781 void impl_RichEditorAttribute_onSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16782         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16783         Deserializer thisDeserializer(thisArray, thisLength);
16784         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16785         Opt_Callback_RichEditorRange_Void value_value_buf = {};
16786         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16787         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16788         {
16789             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorRange parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorRange_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorRange parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorRange_Void))))};
16790         }
16791         Opt_Callback_RichEditorRange_Void value_value = value_value_buf;;
16792         GetNodeModifiers()->getRichEditorModifier()->setOnSelectionChange(self, (const Opt_Callback_RichEditorRange_Void*)&value_value);
16793 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelectionChange,Ark_NativePointer,KSerializerBuffer,int32_t)16794 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t)
16795 void impl_RichEditorAttribute_aboutToIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16796         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16797         Deserializer thisDeserializer(thisArray, thisLength);
16798         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16799         Opt_Callback_RichEditorInsertValue_Boolean value_value_buf = {};
16800         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16801         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16802         {
16803             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorInsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorInsertValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorInsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorInsertValue_Boolean))))};
16804         }
16805         Opt_Callback_RichEditorInsertValue_Boolean value_value = value_value_buf;;
16806         GetNodeModifiers()->getRichEditorModifier()->setAboutToIMEInput(self, (const Opt_Callback_RichEditorInsertValue_Boolean*)&value_value);
16807 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToIMEInput,Ark_NativePointer,KSerializerBuffer,int32_t)16808 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t)
16809 void impl_RichEditorAttribute_onIMEInputComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16810         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16811         Deserializer thisDeserializer(thisArray, thisLength);
16812         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16813         Opt_Callback_RichEditorTextSpanResult_Void value_value_buf = {};
16814         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16815         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16816         {
16817             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorTextSpanResult parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorTextSpanResult_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorTextSpanResult parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorTextSpanResult_Void))))};
16818         }
16819         Opt_Callback_RichEditorTextSpanResult_Void value_value = value_value_buf;;
16820         GetNodeModifiers()->getRichEditorModifier()->setOnIMEInputComplete(self, (const Opt_Callback_RichEditorTextSpanResult_Void*)&value_value);
16821 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onIMEInputComplete,Ark_NativePointer,KSerializerBuffer,int32_t)16822 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onIMEInputComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
16823 void impl_RichEditorAttribute_onDidIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16824         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16825         Deserializer thisDeserializer(thisArray, thisLength);
16826         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16827         Opt_Callback_TextRange_Void value_value_buf = {};
16828         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16829         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16830         {
16831             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TextRange parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TextRange_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TextRange parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TextRange_Void))))};
16832         }
16833         Opt_Callback_TextRange_Void value_value = value_value_buf;;
16834         GetNodeModifiers()->getRichEditorModifier()->setOnDidIMEInput(self, (const Opt_Callback_TextRange_Void*)&value_value);
16835 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidIMEInput,Ark_NativePointer,KSerializerBuffer,int32_t)16836 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t)
16837 void impl_RichEditorAttribute_aboutToDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16838         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16839         Deserializer thisDeserializer(thisArray, thisLength);
16840         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16841         Opt_Callback_RichEditorDeleteValue_Boolean value_value_buf = {};
16842         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16843         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16844         {
16845             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorDeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorDeleteValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorDeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorDeleteValue_Boolean))))};
16846         }
16847         Opt_Callback_RichEditorDeleteValue_Boolean value_value = value_value_buf;;
16848         GetNodeModifiers()->getRichEditorModifier()->setAboutToDelete(self, (const Opt_Callback_RichEditorDeleteValue_Boolean*)&value_value);
16849 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToDelete,Ark_NativePointer,KSerializerBuffer,int32_t)16850 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
16851 void impl_RichEditorAttribute_onDeleteComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16852         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16853         Deserializer thisDeserializer(thisArray, thisLength);
16854         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16855         Opt_Callback_Void value_value_buf = {};
16856         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16857         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16858         {
16859             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
16860         }
16861         Opt_Callback_Void value_value = value_value_buf;;
16862         GetNodeModifiers()->getRichEditorModifier()->setOnDeleteComplete(self, (const Opt_Callback_Void*)&value_value);
16863 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDeleteComplete,Ark_NativePointer,KSerializerBuffer,int32_t)16864 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDeleteComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
16865 void impl_RichEditorAttribute_copyOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16866         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16867         Deserializer thisDeserializer(thisArray, thisLength);
16868         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16869         Opt_CopyOptions value_value_buf = {};
16870         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16871         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16872         {
16873             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
16874         }
16875         Opt_CopyOptions value_value = value_value_buf;;
16876         GetNodeModifiers()->getRichEditorModifier()->setCopyOptions(self, (const Opt_CopyOptions*)&value_value);
16877 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_copyOptions,Ark_NativePointer,KSerializerBuffer,int32_t)16878 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_copyOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
16879 void impl_RichEditorAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16880         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16881         Deserializer thisDeserializer(thisArray, thisLength);
16882         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16883         Opt_PasteEventCallback value_value_buf = {};
16884         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16885         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16886         {
16887             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_PasteEventCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_PasteEventCallback))))};
16888         }
16889         Opt_PasteEventCallback value_value = value_value_buf;;
16890         GetNodeModifiers()->getRichEditorModifier()->setOnPaste(self, (const Opt_PasteEventCallback*)&value_value);
16891 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onPaste,Ark_NativePointer,KSerializerBuffer,int32_t)16892 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t)
16893 void impl_RichEditorAttribute_enableDataDetector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16894         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16895         Deserializer thisDeserializer(thisArray, thisLength);
16896         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16897         Opt_Boolean value_value_buf = {};
16898         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16899         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16900         {
16901             value_value_buf.value = thisDeserializer.readBoolean();
16902         }
16903         Opt_Boolean value_value = value_value_buf;;
16904         GetNodeModifiers()->getRichEditorModifier()->setEnableDataDetector(self, (const Opt_Boolean*)&value_value);
16905 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableDataDetector,Ark_NativePointer,KSerializerBuffer,int32_t)16906 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableDataDetector, Ark_NativePointer, KSerializerBuffer, int32_t)
16907 void impl_RichEditorAttribute_enablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16908         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16909         Deserializer thisDeserializer(thisArray, thisLength);
16910         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16911         Opt_Boolean value_value_buf = {};
16912         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16913         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16914         {
16915             value_value_buf.value = thisDeserializer.readBoolean();
16916         }
16917         Opt_Boolean value_value = value_value_buf;;
16918         GetNodeModifiers()->getRichEditorModifier()->setEnablePreviewText(self, (const Opt_Boolean*)&value_value);
16919 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enablePreviewText,Ark_NativePointer,KSerializerBuffer,int32_t)16920 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enablePreviewText, Ark_NativePointer, KSerializerBuffer, int32_t)
16921 void impl_RichEditorAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16922         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16923         Deserializer thisDeserializer(thisArray, thisLength);
16924         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16925         Opt_TextDataDetectorConfig value_value_buf = {};
16926         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16927         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16928         {
16929             value_value_buf.value = thisDeserializer.readTextDataDetectorConfig();
16930         }
16931         Opt_TextDataDetectorConfig value_value = value_value_buf;;
16932         GetNodeModifiers()->getRichEditorModifier()->setDataDetectorConfig(self, (const Opt_TextDataDetectorConfig*)&value_value);
16933 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_dataDetectorConfig,Ark_NativePointer,KSerializerBuffer,int32_t)16934 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t)
16935 void impl_RichEditorAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16936         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16937         Deserializer thisDeserializer(thisArray, thisLength);
16938         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16939         Opt_ResourceColor value_value_buf = {};
16940         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16941         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16942         {
16943             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16944             Ark_ResourceColor value_value_buf_ = {};
16945             value_value_buf_.selector = value_value_buf__selector;
16946             if (value_value_buf__selector == 0) {
16947                 value_value_buf_.selector = 0;
16948                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
16949             }
16950             else if (value_value_buf__selector == 1) {
16951                 value_value_buf_.selector = 1;
16952                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16953             }
16954             else if (value_value_buf__selector == 2) {
16955                 value_value_buf_.selector = 2;
16956                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
16957             }
16958             else if (value_value_buf__selector == 3) {
16959                 value_value_buf_.selector = 3;
16960                 value_value_buf_.value3 = thisDeserializer.readResource();
16961             }
16962             else {
16963                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
16964             }
16965             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
16966         }
16967         Opt_ResourceColor value_value = value_value_buf;;
16968         GetNodeModifiers()->getRichEditorModifier()->setCaretColor(self, (const Opt_ResourceColor*)&value_value);
16969 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_caretColor,Ark_NativePointer,KSerializerBuffer,int32_t)16970 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t)
16971 void impl_RichEditorAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
16972         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
16973         Deserializer thisDeserializer(thisArray, thisLength);
16974         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
16975         Opt_ResourceColor value_value_buf = {};
16976         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
16977         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
16978         {
16979             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
16980             Ark_ResourceColor value_value_buf_ = {};
16981             value_value_buf_.selector = value_value_buf__selector;
16982             if (value_value_buf__selector == 0) {
16983                 value_value_buf_.selector = 0;
16984                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
16985             }
16986             else if (value_value_buf__selector == 1) {
16987                 value_value_buf_.selector = 1;
16988                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
16989             }
16990             else if (value_value_buf__selector == 2) {
16991                 value_value_buf_.selector = 2;
16992                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
16993             }
16994             else if (value_value_buf__selector == 3) {
16995                 value_value_buf_.selector = 3;
16996                 value_value_buf_.value3 = thisDeserializer.readResource();
16997             }
16998             else {
16999                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17000             }
17001             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
17002         }
17003         Opt_ResourceColor value_value = value_value_buf;;
17004         GetNodeModifiers()->getRichEditorModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
17005 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)17006 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
17007 void impl_RichEditorAttribute_onEditingChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17008         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17009         Deserializer thisDeserializer(thisArray, thisLength);
17010         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17011         Opt_Callback_Boolean_Void value_value_buf = {};
17012         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17013         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17014         {
17015             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
17016         }
17017         Opt_Callback_Boolean_Void value_value = value_value_buf;;
17018         GetNodeModifiers()->getRichEditorModifier()->setOnEditingChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
17019 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onEditingChange,Ark_NativePointer,KSerializerBuffer,int32_t)17020 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onEditingChange, Ark_NativePointer, KSerializerBuffer, int32_t)
17021 void impl_RichEditorAttribute_enterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17022         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17023         Deserializer thisDeserializer(thisArray, thisLength);
17024         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17025         Opt_EnterKeyType value_value_buf = {};
17026         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17027         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17028         {
17029             value_value_buf.value = static_cast<Ark_EnterKeyType>(thisDeserializer.readInt32());
17030         }
17031         Opt_EnterKeyType value_value = value_value_buf;;
17032         GetNodeModifiers()->getRichEditorModifier()->setEnterKeyType(self, (const Opt_EnterKeyType*)&value_value);
17033 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enterKeyType,Ark_NativePointer,KSerializerBuffer,int32_t)17034 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enterKeyType, Ark_NativePointer, KSerializerBuffer, int32_t)
17035 void impl_RichEditorAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17036         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17037         Deserializer thisDeserializer(thisArray, thisLength);
17038         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17039         Opt_SubmitCallback value_value_buf = {};
17040         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17041         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17042         {
17043             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SubmitCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SubmitCallback))))};
17044         }
17045         Opt_SubmitCallback value_value = value_value_buf;;
17046         GetNodeModifiers()->getRichEditorModifier()->setOnSubmit(self, (const Opt_SubmitCallback*)&value_value);
17047 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSubmit,Ark_NativePointer,KSerializerBuffer,int32_t)17048 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t)
17049 void impl_RichEditorAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17050         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17051         Deserializer thisDeserializer(thisArray, thisLength);
17052         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17053         Opt_Callback_RichEditorChangeValue_Boolean value_value_buf = {};
17054         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17055         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17056         {
17057             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RichEditorChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RichEditorChangeValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RichEditorChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RichEditorChangeValue_Boolean))))};
17058         }
17059         Opt_Callback_RichEditorChangeValue_Boolean value_value = value_value_buf;;
17060         GetNodeModifiers()->getRichEditorModifier()->setOnWillChange(self, (const Opt_Callback_RichEditorChangeValue_Boolean*)&value_value);
17061 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onWillChange,Ark_NativePointer,KSerializerBuffer,int32_t)17062 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t)
17063 void impl_RichEditorAttribute_onDidChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17064         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17065         Deserializer thisDeserializer(thisArray, thisLength);
17066         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17067         Opt_OnDidChangeCallback value_value_buf = {};
17068         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17069         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17070         {
17071             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TextRange rangeBefore, const Ark_TextRange rangeAfter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnDidChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TextRange rangeBefore, const Ark_TextRange rangeAfter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnDidChangeCallback))))};
17072         }
17073         Opt_OnDidChangeCallback value_value = value_value_buf;;
17074         GetNodeModifiers()->getRichEditorModifier()->setOnDidChange(self, (const Opt_OnDidChangeCallback*)&value_value);
17075 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidChange,Ark_NativePointer,KSerializerBuffer,int32_t)17076 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidChange, Ark_NativePointer, KSerializerBuffer, int32_t)
17077 void impl_RichEditorAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17078         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17079         Deserializer thisDeserializer(thisArray, thisLength);
17080         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17081         Opt_Callback_CutEvent_Void value_value_buf = {};
17082         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17083         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17084         {
17085             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CutEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CutEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CutEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CutEvent_Void))))};
17086         }
17087         Opt_Callback_CutEvent_Void value_value = value_value_buf;;
17088         GetNodeModifiers()->getRichEditorModifier()->setOnCut(self, (const Opt_Callback_CutEvent_Void*)&value_value);
17089 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCut,Ark_NativePointer,KSerializerBuffer,int32_t)17090 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t)
17091 void impl_RichEditorAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17092         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17093         Deserializer thisDeserializer(thisArray, thisLength);
17094         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17095         Opt_Callback_CopyEvent_Void value_value_buf = {};
17096         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17097         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17098         {
17099             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CopyEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CopyEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CopyEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CopyEvent_Void))))};
17100         }
17101         Opt_Callback_CopyEvent_Void value_value = value_value_buf;;
17102         GetNodeModifiers()->getRichEditorModifier()->setOnCopy(self, (const Opt_Callback_CopyEvent_Void*)&value_value);
17103 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCopy,Ark_NativePointer,KSerializerBuffer,int32_t)17104 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t)
17105 void impl_RichEditorAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17106         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17107         Deserializer thisDeserializer(thisArray, thisLength);
17108         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17109         Opt_EditMenuOptions value_value_buf = {};
17110         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17111         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17112         {
17113             value_value_buf.value = thisDeserializer.readEditMenuOptions();
17114         }
17115         Opt_EditMenuOptions value_value = value_value_buf;;
17116         GetNodeModifiers()->getRichEditorModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
17117 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)17118 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
17119 void impl_RichEditorAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17120         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17121         Deserializer thisDeserializer(thisArray, thisLength);
17122         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17123         Opt_Boolean value_value_buf = {};
17124         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17125         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17126         {
17127             value_value_buf.value = thisDeserializer.readBoolean();
17128         }
17129         Opt_Boolean value_value = value_value_buf;;
17130         GetNodeModifiers()->getRichEditorModifier()->setEnableKeyboardOnFocus(self, (const Opt_Boolean*)&value_value);
17131 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableKeyboardOnFocus,Ark_NativePointer,KSerializerBuffer,int32_t)17132 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
17133 void impl_RichEditorAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17134         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17135         Deserializer thisDeserializer(thisArray, thisLength);
17136         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17137         Opt_Boolean value_value_buf = {};
17138         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17139         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17140         {
17141             value_value_buf.value = thisDeserializer.readBoolean();
17142         }
17143         Opt_Boolean value_value = value_value_buf;;
17144         GetNodeModifiers()->getRichEditorModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
17145 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)17146 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
17147 void impl_RichEditorAttribute_barState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17148         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17149         Deserializer thisDeserializer(thisArray, thisLength);
17150         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17151         Opt_BarState value_value_buf = {};
17152         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17153         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17154         {
17155             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
17156         }
17157         Opt_BarState value_value = value_value_buf;;
17158         GetNodeModifiers()->getRichEditorModifier()->setBarState(self, (const Opt_BarState*)&value_value);
17159 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_barState,Ark_NativePointer,KSerializerBuffer,int32_t)17160 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_barState, Ark_NativePointer, KSerializerBuffer, int32_t)
17161 void impl_RichEditorAttribute_maxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17162         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17163         Deserializer thisDeserializer(thisArray, thisLength);
17164         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17165         Opt_Number value_value_buf = {};
17166         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17167         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17168         {
17169             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
17170         }
17171         Opt_Number value_value = value_value_buf;;
17172         GetNodeModifiers()->getRichEditorModifier()->setMaxLength(self, (const Opt_Number*)&value_value);
17173 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLength,Ark_NativePointer,KSerializerBuffer,int32_t)17174 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLength, Ark_NativePointer, KSerializerBuffer, int32_t)
17175 void impl_RichEditorAttribute_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17176         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17177         Deserializer thisDeserializer(thisArray, thisLength);
17178         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17179         Opt_Number value_value_buf = {};
17180         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17181         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17182         {
17183             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
17184         }
17185         Opt_Number value_value = value_value_buf;;
17186         GetNodeModifiers()->getRichEditorModifier()->setMaxLines(self, (const Opt_Number*)&value_value);
17187 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLines,Ark_NativePointer,KSerializerBuffer,int32_t)17188 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t)
17189 void impl_RichEditorAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17190         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17191         Deserializer thisDeserializer(thisArray, thisLength);
17192         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17193         Opt_KeyboardAppearance value_value_buf = {};
17194         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17195         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17196         {
17197             value_value_buf.value = static_cast<Ark_KeyboardAppearance>(thisDeserializer.readInt32());
17198         }
17199         Opt_KeyboardAppearance value_value = value_value_buf;;
17200         GetNodeModifiers()->getRichEditorModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value);
17201 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_keyboardAppearance,Ark_NativePointer,KSerializerBuffer,int32_t)17202 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t)
17203 void impl_RichEditorAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17204         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17205         Deserializer thisDeserializer(thisArray, thisLength);
17206         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17207         Opt_Boolean value_value_buf = {};
17208         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17209         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17210         {
17211             value_value_buf.value = thisDeserializer.readBoolean();
17212         }
17213         Opt_Boolean value_value = value_value_buf;;
17214         GetNodeModifiers()->getRichEditorModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value);
17215 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_stopBackPress,Ark_NativePointer,KSerializerBuffer,int32_t)17216 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t)
17217 void impl_RichEditorAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17218         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17219         Deserializer thisDeserializer(thisArray, thisLength);
17220         const auto spanType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17221         Opt_RichEditorSpanType spanType_value_buf = {};
17222         spanType_value_buf.tag = spanType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17223         if ((INTEROP_RUNTIME_UNDEFINED) != (spanType_value_buf_runtimeType))
17224         {
17225             spanType_value_buf.value = static_cast<Ark_RichEditorSpanType>(thisDeserializer.readInt32());
17226         }
17227         Opt_RichEditorSpanType spanType_value = spanType_value_buf;;
17228         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17229         Opt_CustomNodeBuilder content_value_buf = {};
17230         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17231         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
17232         {
17233             content_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
17234         }
17235         Opt_CustomNodeBuilder content_value = content_value_buf;;
17236         const auto responseType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17237         Opt_Union_ResponseType_RichEditorResponseType responseType_value_buf = {};
17238         responseType_value_buf.tag = responseType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17239         if ((INTEROP_RUNTIME_UNDEFINED) != (responseType_value_buf_runtimeType))
17240         {
17241             const Ark_Int8 responseType_value_buf__selector = thisDeserializer.readInt8();
17242             Ark_Union_ResponseType_RichEditorResponseType responseType_value_buf_ = {};
17243             responseType_value_buf_.selector = responseType_value_buf__selector;
17244             if (responseType_value_buf__selector == 0) {
17245                 responseType_value_buf_.selector = 0;
17246                 responseType_value_buf_.value0 = static_cast<Ark_ResponseType>(thisDeserializer.readInt32());
17247             }
17248             else if (responseType_value_buf__selector == 1) {
17249                 responseType_value_buf_.selector = 1;
17250                 responseType_value_buf_.value1 = static_cast<Ark_RichEditorResponseType>(thisDeserializer.readInt32());
17251             }
17252             else {
17253                 INTEROP_FATAL("One of the branches for responseType_value_buf_ has to be chosen through deserialisation.");
17254             }
17255             responseType_value_buf.value = static_cast<Ark_Union_ResponseType_RichEditorResponseType>(responseType_value_buf_);
17256         }
17257         Opt_Union_ResponseType_RichEditorResponseType responseType_value = responseType_value_buf;;
17258         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17259         Opt_SelectionMenuOptions options_value_buf = {};
17260         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17261         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17262         {
17263             options_value_buf.value = thisDeserializer.readSelectionMenuOptions();
17264         }
17265         Opt_SelectionMenuOptions options_value = options_value_buf;;
17266         GetNodeModifiers()->getRichEditorModifier()->setBindSelectionMenu(self, (const Opt_RichEditorSpanType*)&spanType_value, (const Opt_CustomNodeBuilder*)&content_value, (const Opt_Union_ResponseType_RichEditorResponseType*)&responseType_value, (const Opt_SelectionMenuOptions*)&options_value);
17267 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_bindSelectionMenu,Ark_NativePointer,KSerializerBuffer,int32_t)17268 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_bindSelectionMenu, Ark_NativePointer, KSerializerBuffer, int32_t)
17269 void impl_RichEditorAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17270         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17271         Deserializer thisDeserializer(thisArray, thisLength);
17272         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17273         Opt_CustomNodeBuilder value_value_buf = {};
17274         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17275         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17276         {
17277             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
17278         }
17279         Opt_CustomNodeBuilder value_value = value_value_buf;;
17280         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17281         Opt_KeyboardOptions options_value_buf = {};
17282         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17283         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17284         {
17285             options_value_buf.value = thisDeserializer.readKeyboardOptions();
17286         }
17287         Opt_KeyboardOptions options_value = options_value_buf;;
17288         GetNodeModifiers()->getRichEditorModifier()->setCustomKeyboard(self, (const Opt_CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value);
17289 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_customKeyboard,Ark_NativePointer,KSerializerBuffer,int32_t)17290 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t)
17291 void impl_RichEditorAttribute_placeholder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17292         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17293         Deserializer thisDeserializer(thisArray, thisLength);
17294         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17295         Opt_ResourceStr value_value_buf = {};
17296         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17297         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17298         {
17299             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17300             Ark_ResourceStr value_value_buf_ = {};
17301             value_value_buf_.selector = value_value_buf__selector;
17302             if (value_value_buf__selector == 0) {
17303                 value_value_buf_.selector = 0;
17304                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
17305             }
17306             else if (value_value_buf__selector == 1) {
17307                 value_value_buf_.selector = 1;
17308                 value_value_buf_.value1 = thisDeserializer.readResource();
17309             }
17310             else {
17311                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17312             }
17313             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
17314         }
17315         Opt_ResourceStr value_value = value_value_buf;;
17316         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17317         Opt_PlaceholderStyle style_value_buf = {};
17318         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17319         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
17320         {
17321             style_value_buf.value = thisDeserializer.readPlaceholderStyle();
17322         }
17323         Opt_PlaceholderStyle style_value = style_value_buf;;
17324         GetNodeModifiers()->getRichEditorModifier()->setPlaceholder(self, (const Opt_ResourceStr*)&value_value, (const Opt_PlaceholderStyle*)&style_value);
17325 }
KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_placeholder,Ark_NativePointer,KSerializerBuffer,int32_t)17326 KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_placeholder, Ark_NativePointer, KSerializerBuffer, int32_t)
17327 Ark_NativePointer impl_RichText_construct(Ark_Int32 id, Ark_Int32 flags) {
17328         return GetNodeModifiers()->getRichTextModifier()->construct(id, flags);
17329 }
KOALA_INTEROP_DIRECT_2(RichText_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17330 KOALA_INTEROP_DIRECT_2(RichText_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17331 void impl_RichTextInterface_setRichTextOptions(Ark_NativePointer thisPtr, const KStringPtr& content) {
17332         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17333         GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, (const Ark_String*) (&content));
17334 }
KOALA_INTEROP_V2(RichTextInterface_setRichTextOptions,Ark_NativePointer,KStringPtr)17335 KOALA_INTEROP_V2(RichTextInterface_setRichTextOptions, Ark_NativePointer, KStringPtr)
17336 void impl_RichTextAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17337         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17338         Deserializer thisDeserializer(thisArray, thisLength);
17339         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17340         Opt_Callback_Void value_value_buf = {};
17341         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17342         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17343         {
17344             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
17345         }
17346         Opt_Callback_Void value_value = value_value_buf;;
17347         GetNodeModifiers()->getRichTextModifier()->setOnStart(self, (const Opt_Callback_Void*)&value_value);
17348 }
KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onStart,Ark_NativePointer,KSerializerBuffer,int32_t)17349 KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t)
17350 void impl_RichTextAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17351         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17352         Deserializer thisDeserializer(thisArray, thisLength);
17353         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17354         Opt_Callback_Void value_value_buf = {};
17355         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17356         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17357         {
17358             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
17359         }
17360         Opt_Callback_Void value_value = value_value_buf;;
17361         GetNodeModifiers()->getRichTextModifier()->setOnComplete(self, (const Opt_Callback_Void*)&value_value);
17362 }
KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onComplete,Ark_NativePointer,KSerializerBuffer,int32_t)17363 KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t)
17364 Ark_NativePointer impl_RootScene_construct(Ark_Int32 id, Ark_Int32 flags) {
17365         return GetNodeModifiers()->getRootSceneModifier()->construct(id, flags);
17366 }
KOALA_INTEROP_DIRECT_2(RootScene_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17367 KOALA_INTEROP_DIRECT_2(RootScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17368 void impl_RootSceneInterface_setRootSceneOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17369         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17370         Deserializer thisDeserializer(thisArray, thisLength);
17371         Ark_RootSceneSession session_value = thisDeserializer.readRootSceneSession();;
17372         GetNodeModifiers()->getRootSceneModifier()->setRootSceneOptions(self, (const Ark_RootSceneSession*)&session_value);
17373 }
KOALA_INTEROP_DIRECT_V3(RootSceneInterface_setRootSceneOptions,Ark_NativePointer,KSerializerBuffer,int32_t)17374 KOALA_INTEROP_DIRECT_V3(RootSceneInterface_setRootSceneOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
17375 Ark_NativePointer impl_Row_construct(Ark_Int32 id, Ark_Int32 flags) {
17376         return GetNodeModifiers()->getRowModifier()->construct(id, flags);
17377 }
KOALA_INTEROP_DIRECT_2(Row_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17378 KOALA_INTEROP_DIRECT_2(Row_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17379 void impl_RowInterface_setRowOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17380         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17381         Deserializer thisDeserializer(thisArray, thisLength);
17382         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17383         Opt_RowOptions options_value_buf = {};
17384         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17385         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17386         {
17387             options_value_buf.value = thisDeserializer.readRowOptions();
17388         }
17389         Opt_RowOptions options_value = options_value_buf;;
17390         GetNodeModifiers()->getRowModifier()->setRowOptions0(self, (const Opt_RowOptions*)&options_value);
17391 }
KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)17392 KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
17393 void impl_RowInterface_setRowOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17394         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17395         Deserializer thisDeserializer(thisArray, thisLength);
17396         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17397         Opt_Union_RowOptions_RowOptionsV2 options_value_buf = {};
17398         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17399         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17400         {
17401             const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8();
17402             Ark_Union_RowOptions_RowOptionsV2 options_value_buf_ = {};
17403             options_value_buf_.selector = options_value_buf__selector;
17404             if (options_value_buf__selector == 0) {
17405                 options_value_buf_.selector = 0;
17406                 options_value_buf_.value0 = thisDeserializer.readRowOptions();
17407             }
17408             else if (options_value_buf__selector == 1) {
17409                 options_value_buf_.selector = 1;
17410                 options_value_buf_.value1 = thisDeserializer.readRowOptionsV2();
17411             }
17412             else {
17413                 INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation.");
17414             }
17415             options_value_buf.value = static_cast<Ark_Union_RowOptions_RowOptionsV2>(options_value_buf_);
17416         }
17417         Opt_Union_RowOptions_RowOptionsV2 options_value = options_value_buf;;
17418         GetNodeModifiers()->getRowModifier()->setRowOptions1(self, (const Opt_Union_RowOptions_RowOptionsV2*)&options_value);
17419 }
KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)17420 KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
17421 void impl_RowAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17422         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17423         Deserializer thisDeserializer(thisArray, thisLength);
17424         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17425         Opt_VerticalAlign value_value_buf = {};
17426         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17427         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17428         {
17429             value_value_buf.value = static_cast<Ark_VerticalAlign>(thisDeserializer.readInt32());
17430         }
17431         Opt_VerticalAlign value_value = value_value_buf;;
17432         GetNodeModifiers()->getRowModifier()->setAlignItems(self, (const Opt_VerticalAlign*)&value_value);
17433 }
KOALA_INTEROP_DIRECT_V3(RowAttribute_alignItems,Ark_NativePointer,KSerializerBuffer,int32_t)17434 KOALA_INTEROP_DIRECT_V3(RowAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t)
17435 void impl_RowAttribute_justifyContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17436         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17437         Deserializer thisDeserializer(thisArray, thisLength);
17438         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17439         Opt_FlexAlign value_value_buf = {};
17440         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17441         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17442         {
17443             value_value_buf.value = static_cast<Ark_FlexAlign>(thisDeserializer.readInt32());
17444         }
17445         Opt_FlexAlign value_value = value_value_buf;;
17446         GetNodeModifiers()->getRowModifier()->setJustifyContent(self, (const Opt_FlexAlign*)&value_value);
17447 }
KOALA_INTEROP_DIRECT_V3(RowAttribute_justifyContent,Ark_NativePointer,KSerializerBuffer,int32_t)17448 KOALA_INTEROP_DIRECT_V3(RowAttribute_justifyContent, Ark_NativePointer, KSerializerBuffer, int32_t)
17449 void impl_RowAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17450         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17451         Deserializer thisDeserializer(thisArray, thisLength);
17452         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17453         Opt_PointLightStyle value_value_buf = {};
17454         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17455         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17456         {
17457             value_value_buf.value = thisDeserializer.readPointLightStyle();
17458         }
17459         Opt_PointLightStyle value_value = value_value_buf;;
17460         GetNodeModifiers()->getRowModifier()->setPointLight(self, (const Opt_PointLightStyle*)&value_value);
17461 }
KOALA_INTEROP_DIRECT_V3(RowAttribute_pointLight,Ark_NativePointer,KSerializerBuffer,int32_t)17462 KOALA_INTEROP_DIRECT_V3(RowAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t)
17463 void impl_RowAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17464         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17465         Deserializer thisDeserializer(thisArray, thisLength);
17466         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17467         Opt_Boolean value_value_buf = {};
17468         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17469         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17470         {
17471             value_value_buf.value = thisDeserializer.readBoolean();
17472         }
17473         Opt_Boolean value_value = value_value_buf;;
17474         GetNodeModifiers()->getRowModifier()->setReverse(self, (const Opt_Boolean*)&value_value);
17475 }
KOALA_INTEROP_DIRECT_V3(RowAttribute_reverse,Ark_NativePointer,KSerializerBuffer,int32_t)17476 KOALA_INTEROP_DIRECT_V3(RowAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t)
17477 Ark_NativePointer impl_RowSplit_construct(Ark_Int32 id, Ark_Int32 flags) {
17478         return GetNodeModifiers()->getRowSplitModifier()->construct(id, flags);
17479 }
KOALA_INTEROP_DIRECT_2(RowSplit_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17480 KOALA_INTEROP_DIRECT_2(RowSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17481 void impl_RowSplitInterface_setRowSplitOptions(Ark_NativePointer thisPtr) {
17482         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17483         GetNodeModifiers()->getRowSplitModifier()->setRowSplitOptions(self);
17484 }
KOALA_INTEROP_DIRECT_V1(RowSplitInterface_setRowSplitOptions,Ark_NativePointer)17485 KOALA_INTEROP_DIRECT_V1(RowSplitInterface_setRowSplitOptions, Ark_NativePointer)
17486 void impl_RowSplitAttribute_resizeable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17487         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17488         Deserializer thisDeserializer(thisArray, thisLength);
17489         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17490         Opt_Boolean value_value_buf = {};
17491         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17492         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17493         {
17494             value_value_buf.value = thisDeserializer.readBoolean();
17495         }
17496         Opt_Boolean value_value = value_value_buf;;
17497         GetNodeModifiers()->getRowSplitModifier()->setResizeable(self, (const Opt_Boolean*)&value_value);
17498 }
KOALA_INTEROP_DIRECT_V3(RowSplitAttribute_resizeable,Ark_NativePointer,KSerializerBuffer,int32_t)17499 KOALA_INTEROP_DIRECT_V3(RowSplitAttribute_resizeable, Ark_NativePointer, KSerializerBuffer, int32_t)
17500 Ark_NativePointer impl_SaveButton_construct(Ark_Int32 id, Ark_Int32 flags) {
17501         return GetNodeModifiers()->getSaveButtonModifier()->construct(id, flags);
17502 }
KOALA_INTEROP_DIRECT_2(SaveButton_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17503 KOALA_INTEROP_DIRECT_2(SaveButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17504 void impl_SaveButtonInterface_setSaveButtonOptions0(Ark_NativePointer thisPtr) {
17505         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17506         GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions0(self);
17507 }
KOALA_INTEROP_DIRECT_V1(SaveButtonInterface_setSaveButtonOptions0,Ark_NativePointer)17508 KOALA_INTEROP_DIRECT_V1(SaveButtonInterface_setSaveButtonOptions0, Ark_NativePointer)
17509 void impl_SaveButtonInterface_setSaveButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17511         Deserializer thisDeserializer(thisArray, thisLength);
17512         Ark_SaveButtonOptions options_value = thisDeserializer.readSaveButtonOptions();;
17513         GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions1(self, (const Ark_SaveButtonOptions*)&options_value);
17514 }
KOALA_INTEROP_DIRECT_V3(SaveButtonInterface_setSaveButtonOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)17515 KOALA_INTEROP_DIRECT_V3(SaveButtonInterface_setSaveButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
17516 void impl_SaveButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17517         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17518         Deserializer thisDeserializer(thisArray, thisLength);
17519         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17520         Opt_SaveButtonCallback value_value_buf = {};
17521         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17522         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17523         {
17524             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SaveButtonCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, const Opt_BusinessError error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SaveButtonCallback))))};
17525         }
17526         Opt_SaveButtonCallback value_value = value_value_buf;;
17527         GetNodeModifiers()->getSaveButtonModifier()->setOnClick(self, (const Opt_SaveButtonCallback*)&value_value);
17528 }
KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_onClick,Ark_NativePointer,KSerializerBuffer,int32_t)17529 KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t)
17530 Ark_NativePointer impl_Screen_construct(Ark_Int32 id, Ark_Int32 flags) {
17531         return GetNodeModifiers()->getScreenModifier()->construct(id, flags);
17532 }
KOALA_INTEROP_DIRECT_2(Screen_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17533 KOALA_INTEROP_DIRECT_2(Screen_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17534 void impl_ScreenInterface_setScreenOptions(Ark_NativePointer thisPtr, KInteropNumber screenId) {
17535         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17536         GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, (const Ark_Number*) (&screenId));
17537 }
KOALA_INTEROP_DIRECT_V2(ScreenInterface_setScreenOptions,Ark_NativePointer,KInteropNumber)17538 KOALA_INTEROP_DIRECT_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KInteropNumber)
17539 Ark_NativePointer impl_Scroll_construct(Ark_Int32 id, Ark_Int32 flags) {
17540         return GetNodeModifiers()->getScrollModifier()->construct(id, flags);
17541 }
KOALA_INTEROP_DIRECT_2(Scroll_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17542 KOALA_INTEROP_DIRECT_2(Scroll_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17543 void impl_ScrollInterface_setScrollOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17544         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17545         Deserializer thisDeserializer(thisArray, thisLength);
17546         const auto scroller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17547         Opt_Scroller scroller_value_buf = {};
17548         scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17549         if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType))
17550         {
17551             scroller_value_buf.value = static_cast<Ark_Scroller>(thisDeserializer.readScroller());
17552         }
17553         Opt_Scroller scroller_value = scroller_value_buf;;
17554         GetNodeModifiers()->getScrollModifier()->setScrollOptions(self, (const Opt_Scroller*)&scroller_value);
17555 }
KOALA_INTEROP_DIRECT_V3(ScrollInterface_setScrollOptions,Ark_NativePointer,KSerializerBuffer,int32_t)17556 KOALA_INTEROP_DIRECT_V3(ScrollInterface_setScrollOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
17557 void impl_ScrollAttribute_scrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17558         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17559         Deserializer thisDeserializer(thisArray, thisLength);
17560         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17561         Opt_ScrollDirection value_value_buf = {};
17562         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17563         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17564         {
17565             value_value_buf.value = static_cast<Ark_ScrollDirection>(thisDeserializer.readInt32());
17566         }
17567         Opt_ScrollDirection value_value = value_value_buf;;
17568         GetNodeModifiers()->getScrollModifier()->setScrollable(self, (const Opt_ScrollDirection*)&value_value);
17569 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollable,Ark_NativePointer,KSerializerBuffer,int32_t)17570 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollable, Ark_NativePointer, KSerializerBuffer, int32_t)
17571 void impl_ScrollAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17572         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17573         Deserializer thisDeserializer(thisArray, thisLength);
17574         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17575         Opt_Callback_Number_Number_Void value_value_buf = {};
17576         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17577         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17578         {
17579             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
17580         }
17581         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
17582         GetNodeModifiers()->getScrollModifier()->setOnScroll(self, (const Opt_Callback_Number_Number_Void*)&value_value);
17583 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScroll,Ark_NativePointer,KSerializerBuffer,int32_t)17584 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
17585 void impl_ScrollAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17586         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17587         Deserializer thisDeserializer(thisArray, thisLength);
17588         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17589         Opt_ScrollOnWillScrollCallback value_value_buf = {};
17590         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17591         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17592         {
17593             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_OffsetResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ScrollOnWillScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_OffsetResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ScrollOnWillScrollCallback))))};
17594         }
17595         Opt_ScrollOnWillScrollCallback value_value = value_value_buf;;
17596         GetNodeModifiers()->getScrollModifier()->setOnWillScroll(self, (const Opt_ScrollOnWillScrollCallback*)&value_value);
17597 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onWillScroll,Ark_NativePointer,KSerializerBuffer,int32_t)17598 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
17599 void impl_ScrollAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17600         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17601         Deserializer thisDeserializer(thisArray, thisLength);
17602         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17603         Opt_ScrollOnScrollCallback value_value_buf = {};
17604         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17605         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17606         {
17607             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ScrollOnScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ScrollOnScrollCallback))))};
17608         }
17609         Opt_ScrollOnScrollCallback value_value = value_value_buf;;
17610         GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, (const Opt_ScrollOnScrollCallback*)&value_value);
17611 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onDidScroll,Ark_NativePointer,KSerializerBuffer,int32_t)17612 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
17613 void impl_ScrollAttribute_onScrollEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17614         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17615         Deserializer thisDeserializer(thisArray, thisLength);
17616         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17617         Opt_OnScrollEdgeCallback value_value_buf = {};
17618         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17619         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17620         {
17621             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_Edge side)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollEdgeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_Edge side)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollEdgeCallback))))};
17622         }
17623         Opt_OnScrollEdgeCallback value_value = value_value_buf;;
17624         GetNodeModifiers()->getScrollModifier()->setOnScrollEdge(self, (const Opt_OnScrollEdgeCallback*)&value_value);
17625 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEdge,Ark_NativePointer,KSerializerBuffer,int32_t)17626 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEdge, Ark_NativePointer, KSerializerBuffer, int32_t)
17627 void impl_ScrollAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17628         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17629         Deserializer thisDeserializer(thisArray, thisLength);
17630         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17631         Opt_VoidCallback value_value_buf = {};
17632         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17633         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17634         {
17635             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
17636         }
17637         Opt_VoidCallback value_value = value_value_buf;;
17638         GetNodeModifiers()->getScrollModifier()->setOnScrollStart(self, (const Opt_VoidCallback*)&value_value);
17639 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStart,Ark_NativePointer,KSerializerBuffer,int32_t)17640 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t)
17641 void impl_ScrollAttribute_onScrollEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17642         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17643         Deserializer thisDeserializer(thisArray, thisLength);
17644         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17645         Opt_Callback_Void value_value_buf = {};
17646         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17647         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17648         {
17649             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
17650         }
17651         Opt_Callback_Void value_value = value_value_buf;;
17652         GetNodeModifiers()->getScrollModifier()->setOnScrollEnd(self, (const Opt_Callback_Void*)&value_value);
17653 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEnd,Ark_NativePointer,KSerializerBuffer,int32_t)17654 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
17655 void impl_ScrollAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17656         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17657         Deserializer thisDeserializer(thisArray, thisLength);
17658         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17659         Opt_VoidCallback value_value_buf = {};
17660         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17661         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17662         {
17663             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
17664         }
17665         Opt_VoidCallback value_value = value_value_buf;;
17666         GetNodeModifiers()->getScrollModifier()->setOnScrollStop(self, (const Opt_VoidCallback*)&value_value);
17667 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStop,Ark_NativePointer,KSerializerBuffer,int32_t)17668 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t)
17669 void impl_ScrollAttribute_scrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17670         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17671         Deserializer thisDeserializer(thisArray, thisLength);
17672         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17673         Opt_BarState value_value_buf = {};
17674         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17675         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17676         {
17677             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
17678         }
17679         Opt_BarState value_value = value_value_buf;;
17680         GetNodeModifiers()->getScrollModifier()->setScrollBar(self, (const Opt_BarState*)&value_value);
17681 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBar,Ark_NativePointer,KSerializerBuffer,int32_t)17682 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBar, Ark_NativePointer, KSerializerBuffer, int32_t)
17683 void impl_ScrollAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17684         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17685         Deserializer thisDeserializer(thisArray, thisLength);
17686         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17687         Opt_Union_Color_Number_String value_value_buf = {};
17688         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17689         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17690         {
17691             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17692             Ark_Union_Color_Number_String value_value_buf_ = {};
17693             value_value_buf_.selector = value_value_buf__selector;
17694             if (value_value_buf__selector == 0) {
17695                 value_value_buf_.selector = 0;
17696                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
17697             }
17698             else if (value_value_buf__selector == 1) {
17699                 value_value_buf_.selector = 1;
17700                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
17701             }
17702             else if (value_value_buf__selector == 2) {
17703                 value_value_buf_.selector = 2;
17704                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
17705             }
17706             else {
17707                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17708             }
17709             value_value_buf.value = static_cast<Ark_Union_Color_Number_String>(value_value_buf_);
17710         }
17711         Opt_Union_Color_Number_String value_value = value_value_buf;;
17712         GetNodeModifiers()->getScrollModifier()->setScrollBarColor(self, (const Opt_Union_Color_Number_String*)&value_value);
17713 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarColor,Ark_NativePointer,KSerializerBuffer,int32_t)17714 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t)
17715 void impl_ScrollAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17716         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17717         Deserializer thisDeserializer(thisArray, thisLength);
17718         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17719         Opt_Union_Number_String value_value_buf = {};
17720         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17721         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17722         {
17723             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17724             Ark_Union_Number_String value_value_buf_ = {};
17725             value_value_buf_.selector = value_value_buf__selector;
17726             if (value_value_buf__selector == 0) {
17727                 value_value_buf_.selector = 0;
17728                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
17729             }
17730             else if (value_value_buf__selector == 1) {
17731                 value_value_buf_.selector = 1;
17732                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
17733             }
17734             else {
17735                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17736             }
17737             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
17738         }
17739         Opt_Union_Number_String value_value = value_value_buf;;
17740         GetNodeModifiers()->getScrollModifier()->setScrollBarWidth(self, (const Opt_Union_Number_String*)&value_value);
17741 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarWidth,Ark_NativePointer,KSerializerBuffer,int32_t)17742 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
17743 void impl_ScrollAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17744         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17745         Deserializer thisDeserializer(thisArray, thisLength);
17746         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17747         Opt_OnScrollFrameBeginCallback value_value_buf = {};
17748         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17749         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17750         {
17751             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))};
17752         }
17753         Opt_OnScrollFrameBeginCallback value_value = value_value_buf;;
17754         GetNodeModifiers()->getScrollModifier()->setOnScrollFrameBegin(self, (const Opt_OnScrollFrameBeginCallback*)&value_value);
17755 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollFrameBegin,Ark_NativePointer,KSerializerBuffer,int32_t)17756 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
17757 void impl_ScrollAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17758         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17759         Deserializer thisDeserializer(thisArray, thisLength);
17760         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17761         Opt_NestedScrollOptions value_value_buf = {};
17762         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17763         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17764         {
17765             value_value_buf.value = thisDeserializer.readNestedScrollOptions();
17766         }
17767         Opt_NestedScrollOptions value_value = value_value_buf;;
17768         GetNodeModifiers()->getScrollModifier()->setNestedScroll(self, (const Opt_NestedScrollOptions*)&value_value);
17769 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)17770 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
17771 void impl_ScrollAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17772         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17773         Deserializer thisDeserializer(thisArray, thisLength);
17774         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17775         Opt_Boolean value_value_buf = {};
17776         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17777         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17778         {
17779             value_value_buf.value = thisDeserializer.readBoolean();
17780         }
17781         Opt_Boolean value_value = value_value_buf;;
17782         GetNodeModifiers()->getScrollModifier()->setEnableScrollInteraction(self, (const Opt_Boolean*)&value_value);
17783 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_enableScrollInteraction,Ark_NativePointer,KSerializerBuffer,int32_t)17784 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_enableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t)
17785 void impl_ScrollAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17786         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17787         Deserializer thisDeserializer(thisArray, thisLength);
17788         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17789         Opt_Union_Number_Resource value_value_buf = {};
17790         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17791         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17792         {
17793             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17794             Ark_Union_Number_Resource value_value_buf_ = {};
17795             value_value_buf_.selector = value_value_buf__selector;
17796             if (value_value_buf__selector == 0) {
17797                 value_value_buf_.selector = 0;
17798                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
17799             }
17800             else if (value_value_buf__selector == 1) {
17801                 value_value_buf_.selector = 1;
17802                 value_value_buf_.value1 = thisDeserializer.readResource();
17803             }
17804             else {
17805                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17806             }
17807             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
17808         }
17809         Opt_Union_Number_Resource value_value = value_value_buf;;
17810         GetNodeModifiers()->getScrollModifier()->setFriction(self, (const Opt_Union_Number_Resource*)&value_value);
17811 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_friction,Ark_NativePointer,KSerializerBuffer,int32_t)17812 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t)
17813 void impl_ScrollAttribute_scrollSnap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17814         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17815         Deserializer thisDeserializer(thisArray, thisLength);
17816         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17817         Opt_ScrollSnapOptions value_value_buf = {};
17818         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17819         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17820         {
17821             value_value_buf.value = thisDeserializer.readScrollSnapOptions();
17822         }
17823         Opt_ScrollSnapOptions value_value = value_value_buf;;
17824         GetNodeModifiers()->getScrollModifier()->setScrollSnap(self, (const Opt_ScrollSnapOptions*)&value_value);
17825 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollSnap,Ark_NativePointer,KSerializerBuffer,int32_t)17826 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollSnap, Ark_NativePointer, KSerializerBuffer, int32_t)
17827 void impl_ScrollAttribute_enablePaging(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17828         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17829         Deserializer thisDeserializer(thisArray, thisLength);
17830         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17831         Opt_Boolean value_value_buf = {};
17832         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17833         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17834         {
17835             value_value_buf.value = thisDeserializer.readBoolean();
17836         }
17837         Opt_Boolean value_value = value_value_buf;;
17838         GetNodeModifiers()->getScrollModifier()->setEnablePaging(self, (const Opt_Boolean*)&value_value);
17839 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_enablePaging,Ark_NativePointer,KSerializerBuffer,int32_t)17840 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_enablePaging, Ark_NativePointer, KSerializerBuffer, int32_t)
17841 void impl_ScrollAttribute_initialOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17842         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17843         Deserializer thisDeserializer(thisArray, thisLength);
17844         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17845         Opt_OffsetOptions value_value_buf = {};
17846         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17847         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17848         {
17849             value_value_buf.value = thisDeserializer.readOffsetOptions();
17850         }
17851         Opt_OffsetOptions value_value = value_value_buf;;
17852         GetNodeModifiers()->getScrollModifier()->setInitialOffset(self, (const Opt_OffsetOptions*)&value_value);
17853 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_initialOffset,Ark_NativePointer,KSerializerBuffer,int32_t)17854 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_initialOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
17855 void impl_ScrollAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17856         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17857         Deserializer thisDeserializer(thisArray, thisLength);
17858         const auto edgeEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17859         Opt_EdgeEffect edgeEffect_value_buf = {};
17860         edgeEffect_value_buf.tag = edgeEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17861         if ((INTEROP_RUNTIME_UNDEFINED) != (edgeEffect_value_buf_runtimeType))
17862         {
17863             edgeEffect_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
17864         }
17865         Opt_EdgeEffect edgeEffect_value = edgeEffect_value_buf;;
17866         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17867         Opt_EdgeEffectOptions options_value_buf = {};
17868         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17869         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17870         {
17871             options_value_buf.value = thisDeserializer.readEdgeEffectOptions();
17872         }
17873         Opt_EdgeEffectOptions options_value = options_value_buf;;
17874         GetNodeModifiers()->getScrollModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&edgeEffect_value, (const Opt_EdgeEffectOptions*)&options_value);
17875 }
KOALA_INTEROP_DIRECT_V3(ScrollAttribute_edgeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)17876 KOALA_INTEROP_DIRECT_V3(ScrollAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
17877 Ark_NativePointer impl_ScrollBar_construct(Ark_Int32 id, Ark_Int32 flags) {
17878         return GetNodeModifiers()->getScrollBarModifier()->construct(id, flags);
17879 }
KOALA_INTEROP_DIRECT_2(ScrollBar_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17880 KOALA_INTEROP_DIRECT_2(ScrollBar_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17881 void impl_ScrollBarInterface_setScrollBarOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17882         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17883         Deserializer thisDeserializer(thisArray, thisLength);
17884         Ark_ScrollBarOptions value_value = thisDeserializer.readScrollBarOptions();;
17885         GetNodeModifiers()->getScrollBarModifier()->setScrollBarOptions(self, (const Ark_ScrollBarOptions*)&value_value);
17886 }
KOALA_INTEROP_DIRECT_V3(ScrollBarInterface_setScrollBarOptions,Ark_NativePointer,KSerializerBuffer,int32_t)17887 KOALA_INTEROP_DIRECT_V3(ScrollBarInterface_setScrollBarOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
17888 void impl_ScrollBarAttribute_enableNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17889         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17890         Deserializer thisDeserializer(thisArray, thisLength);
17891         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17892         Opt_Boolean value_value_buf = {};
17893         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17894         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17895         {
17896             value_value_buf.value = thisDeserializer.readBoolean();
17897         }
17898         Opt_Boolean value_value = value_value_buf;;
17899         GetNodeModifiers()->getScrollBarModifier()->setEnableNestedScroll(self, (const Opt_Boolean*)&value_value);
17900 }
KOALA_INTEROP_DIRECT_V3(ScrollBarAttribute_enableNestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)17901 KOALA_INTEROP_DIRECT_V3(ScrollBarAttribute_enableNestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
17902 Ark_NativePointer impl_Search_construct(Ark_Int32 id, Ark_Int32 flags) {
17903         return GetNodeModifiers()->getSearchModifier()->construct(id, flags);
17904 }
KOALA_INTEROP_DIRECT_2(Search_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)17905 KOALA_INTEROP_DIRECT_2(Search_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
17906 void impl_SearchInterface_setSearchOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17907         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17908         Deserializer thisDeserializer(thisArray, thisLength);
17909         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17910         Opt_SearchOptions options_value_buf = {};
17911         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17912         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
17913         {
17914             options_value_buf.value = thisDeserializer.readSearchOptions();
17915         }
17916         Opt_SearchOptions options_value = options_value_buf;;
17917         GetNodeModifiers()->getSearchModifier()->setSearchOptions(self, (const Opt_SearchOptions*)&options_value);
17918 }
KOALA_INTEROP_DIRECT_V3(SearchInterface_setSearchOptions,Ark_NativePointer,KSerializerBuffer,int32_t)17919 KOALA_INTEROP_DIRECT_V3(SearchInterface_setSearchOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
17920 void impl_SearchAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17921         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17922         Deserializer thisDeserializer(thisArray, thisLength);
17923         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17924         Opt_ResourceColor value_value_buf = {};
17925         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17926         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17927         {
17928             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17929             Ark_ResourceColor value_value_buf_ = {};
17930             value_value_buf_.selector = value_value_buf__selector;
17931             if (value_value_buf__selector == 0) {
17932                 value_value_buf_.selector = 0;
17933                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
17934             }
17935             else if (value_value_buf__selector == 1) {
17936                 value_value_buf_.selector = 1;
17937                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
17938             }
17939             else if (value_value_buf__selector == 2) {
17940                 value_value_buf_.selector = 2;
17941                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
17942             }
17943             else if (value_value_buf__selector == 3) {
17944                 value_value_buf_.selector = 3;
17945                 value_value_buf_.value3 = thisDeserializer.readResource();
17946             }
17947             else {
17948                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17949             }
17950             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
17951         }
17952         Opt_ResourceColor value_value = value_value_buf;;
17953         GetNodeModifiers()->getSearchModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
17954 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)17955 KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
17956 void impl_SearchAttribute_searchIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17957         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17958         Deserializer thisDeserializer(thisArray, thisLength);
17959         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17960         Opt_Union_IconOptions_SymbolGlyphModifier value_value_buf = {};
17961         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17962         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17963         {
17964             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17965             Ark_Union_IconOptions_SymbolGlyphModifier value_value_buf_ = {};
17966             value_value_buf_.selector = value_value_buf__selector;
17967             if (value_value_buf__selector == 0) {
17968                 value_value_buf_.selector = 0;
17969                 value_value_buf_.value0 = thisDeserializer.readIconOptions();
17970             }
17971             else if (value_value_buf__selector == 1) {
17972                 value_value_buf_.selector = 1;
17973                 value_value_buf_.value1 = thisDeserializer.readSymbolGlyphModifier();
17974             }
17975             else {
17976                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
17977             }
17978             value_value_buf.value = static_cast<Ark_Union_IconOptions_SymbolGlyphModifier>(value_value_buf_);
17979         }
17980         Opt_Union_IconOptions_SymbolGlyphModifier value_value = value_value_buf;;
17981         GetNodeModifiers()->getSearchModifier()->setSearchIcon(self, (const Opt_Union_IconOptions_SymbolGlyphModifier*)&value_value);
17982 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchIcon,Ark_NativePointer,KSerializerBuffer,int32_t)17983 KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
17984 void impl_SearchAttribute_cancelButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
17985         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
17986         Deserializer thisDeserializer(thisArray, thisLength);
17987         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
17988         Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value_buf = {};
17989         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
17990         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
17991         {
17992             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
17993             Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value_buf_ = {};
17994             value_value_buf_.selector = value_value_buf__selector;
17995             if (value_value_buf__selector == 0) {
17996                 value_value_buf_.selector = 0;
17997                 value_value_buf_.value0 = thisDeserializer.readCancelButtonOptions();
17998             }
17999             else if (value_value_buf__selector == 1) {
18000                 value_value_buf_.selector = 1;
18001                 value_value_buf_.value1 = thisDeserializer.readCancelButtonSymbolOptions();
18002             }
18003             else {
18004                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18005             }
18006             value_value_buf.value = static_cast<Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions>(value_value_buf_);
18007         }
18008         Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value = value_value_buf;;
18009         GetNodeModifiers()->getSearchModifier()->setCancelButton(self, (const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions*)&value_value);
18010 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_cancelButton,Ark_NativePointer,KSerializerBuffer,int32_t)18011 KOALA_INTEROP_DIRECT_V3(SearchAttribute_cancelButton, Ark_NativePointer, KSerializerBuffer, int32_t)
18012 void impl_SearchAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18013         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18014         Deserializer thisDeserializer(thisArray, thisLength);
18015         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18016         Opt_Length value_value_buf = {};
18017         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18018         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18019         {
18020             value_value_buf.value = thisDeserializer.readLength();
18021         }
18022         Opt_Length value_value = value_value_buf;;
18023         GetNodeModifiers()->getSearchModifier()->setTextIndent(self, (const Opt_Length*)&value_value);
18024 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_textIndent,Ark_NativePointer,KSerializerBuffer,int32_t)18025 KOALA_INTEROP_DIRECT_V3(SearchAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t)
18026 void impl_SearchAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18027         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18028         Deserializer thisDeserializer(thisArray, thisLength);
18029         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18030         Opt_Callback_Boolean_Void value_value_buf = {};
18031         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18032         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18033         {
18034             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
18035         }
18036         Opt_Callback_Boolean_Void value_value = value_value_buf;;
18037         GetNodeModifiers()->getSearchModifier()->setOnEditChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
18038 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onEditChange,Ark_NativePointer,KSerializerBuffer,int32_t)18039 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t)
18040 void impl_SearchAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18041         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18042         Deserializer thisDeserializer(thisArray, thisLength);
18043         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18044         Opt_ResourceColor value_value_buf = {};
18045         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18046         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18047         {
18048             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18049             Ark_ResourceColor value_value_buf_ = {};
18050             value_value_buf_.selector = value_value_buf__selector;
18051             if (value_value_buf__selector == 0) {
18052                 value_value_buf_.selector = 0;
18053                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
18054             }
18055             else if (value_value_buf__selector == 1) {
18056                 value_value_buf_.selector = 1;
18057                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18058             }
18059             else if (value_value_buf__selector == 2) {
18060                 value_value_buf_.selector = 2;
18061                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
18062             }
18063             else if (value_value_buf__selector == 3) {
18064                 value_value_buf_.selector = 3;
18065                 value_value_buf_.value3 = thisDeserializer.readResource();
18066             }
18067             else {
18068                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18069             }
18070             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
18071         }
18072         Opt_ResourceColor value_value = value_value_buf;;
18073         GetNodeModifiers()->getSearchModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
18074 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)18075 KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
18076 void impl_SearchAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18077         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18078         Deserializer thisDeserializer(thisArray, thisLength);
18079         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18080         Opt_CaretStyle value_value_buf = {};
18081         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18082         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18083         {
18084             value_value_buf.value = thisDeserializer.readCaretStyle();
18085         }
18086         Opt_CaretStyle value_value = value_value_buf;;
18087         GetNodeModifiers()->getSearchModifier()->setCaretStyle(self, (const Opt_CaretStyle*)&value_value);
18088 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_caretStyle,Ark_NativePointer,KSerializerBuffer,int32_t)18089 KOALA_INTEROP_DIRECT_V3(SearchAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
18090 void impl_SearchAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18091         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18092         Deserializer thisDeserializer(thisArray, thisLength);
18093         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18094         Opt_ResourceColor value_value_buf = {};
18095         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18096         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18097         {
18098             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18099             Ark_ResourceColor value_value_buf_ = {};
18100             value_value_buf_.selector = value_value_buf__selector;
18101             if (value_value_buf__selector == 0) {
18102                 value_value_buf_.selector = 0;
18103                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
18104             }
18105             else if (value_value_buf__selector == 1) {
18106                 value_value_buf_.selector = 1;
18107                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18108             }
18109             else if (value_value_buf__selector == 2) {
18110                 value_value_buf_.selector = 2;
18111                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
18112             }
18113             else if (value_value_buf__selector == 3) {
18114                 value_value_buf_.selector = 3;
18115                 value_value_buf_.value3 = thisDeserializer.readResource();
18116             }
18117             else {
18118                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18119             }
18120             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
18121         }
18122         Opt_ResourceColor value_value = value_value_buf;;
18123         GetNodeModifiers()->getSearchModifier()->setPlaceholderColor(self, (const Opt_ResourceColor*)&value_value);
18124 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderColor,Ark_NativePointer,KSerializerBuffer,int32_t)18125 KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
18126 void impl_SearchAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18127         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18128         Deserializer thisDeserializer(thisArray, thisLength);
18129         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18130         Opt_Font value_value_buf = {};
18131         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18132         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18133         {
18134             value_value_buf.value = thisDeserializer.readFont();
18135         }
18136         Opt_Font value_value = value_value_buf;;
18137         GetNodeModifiers()->getSearchModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value);
18138 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderFont,Ark_NativePointer,KSerializerBuffer,int32_t)18139 KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t)
18140 void impl_SearchAttribute_textFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18141         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18142         Deserializer thisDeserializer(thisArray, thisLength);
18143         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18144         Opt_Font value_value_buf = {};
18145         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18146         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18147         {
18148             value_value_buf.value = thisDeserializer.readFont();
18149         }
18150         Opt_Font value_value = value_value_buf;;
18151         GetNodeModifiers()->getSearchModifier()->setTextFont(self, (const Opt_Font*)&value_value);
18152 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_textFont,Ark_NativePointer,KSerializerBuffer,int32_t)18153 KOALA_INTEROP_DIRECT_V3(SearchAttribute_textFont, Ark_NativePointer, KSerializerBuffer, int32_t)
18154 void impl_SearchAttribute_enterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18155         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18156         Deserializer thisDeserializer(thisArray, thisLength);
18157         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18158         Opt_EnterKeyType value_value_buf = {};
18159         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18160         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18161         {
18162             value_value_buf.value = static_cast<Ark_EnterKeyType>(thisDeserializer.readInt32());
18163         }
18164         Opt_EnterKeyType value_value = value_value_buf;;
18165         GetNodeModifiers()->getSearchModifier()->setEnterKeyType(self, (const Opt_EnterKeyType*)&value_value);
18166 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_enterKeyType,Ark_NativePointer,KSerializerBuffer,int32_t)18167 KOALA_INTEROP_DIRECT_V3(SearchAttribute_enterKeyType, Ark_NativePointer, KSerializerBuffer, int32_t)
18168 void impl_SearchAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18169         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18170         Deserializer thisDeserializer(thisArray, thisLength);
18171         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18172         Opt_Callback_String_Void value_value_buf = {};
18173         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18174         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18175         {
18176             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
18177         }
18178         Opt_Callback_String_Void value_value = value_value_buf;;
18179         GetNodeModifiers()->getSearchModifier()->setOnSubmit0(self, (const Opt_Callback_String_Void*)&value_value);
18180 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit0,Ark_NativePointer,KSerializerBuffer,int32_t)18181 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t)
18182 void impl_SearchAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18183         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18184         Deserializer thisDeserializer(thisArray, thisLength);
18185         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18186         Opt_SearchSubmitCallback value_value_buf = {};
18187         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18188         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18189         {
18190             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String searchContent, const Opt_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SearchSubmitCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String searchContent, const Opt_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SearchSubmitCallback))))};
18191         }
18192         Opt_SearchSubmitCallback value_value = value_value_buf;;
18193         GetNodeModifiers()->getSearchModifier()->setOnSubmit1(self, (const Opt_SearchSubmitCallback*)&value_value);
18194 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit1,Ark_NativePointer,KSerializerBuffer,int32_t)18195 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t)
18196 void impl_SearchAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18197         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18198         Deserializer thisDeserializer(thisArray, thisLength);
18199         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18200         Opt_EditableTextOnChangeCallback value_value_buf = {};
18201         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18202         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18203         {
18204             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};
18205         }
18206         Opt_EditableTextOnChangeCallback value_value = value_value_buf;;
18207         GetNodeModifiers()->getSearchModifier()->setOnChange(self, (const Opt_EditableTextOnChangeCallback*)&value_value);
18208 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)18209 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
18210 void impl_SearchAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18211         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18212         Deserializer thisDeserializer(thisArray, thisLength);
18213         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18214         Opt_OnTextSelectionChangeCallback value_value_buf = {};
18215         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18216         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18217         {
18218             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};
18219         }
18220         Opt_OnTextSelectionChangeCallback value_value = value_value_buf;;
18221         GetNodeModifiers()->getSearchModifier()->setOnTextSelectionChange(self, (const Opt_OnTextSelectionChangeCallback*)&value_value);
18222 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onTextSelectionChange,Ark_NativePointer,KSerializerBuffer,int32_t)18223 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t)
18224 void impl_SearchAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18225         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18226         Deserializer thisDeserializer(thisArray, thisLength);
18227         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18228         Opt_OnContentScrollCallback value_value_buf = {};
18229         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18230         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18231         {
18232             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};
18233         }
18234         Opt_OnContentScrollCallback value_value = value_value_buf;;
18235         GetNodeModifiers()->getSearchModifier()->setOnContentScroll(self, (const Opt_OnContentScrollCallback*)&value_value);
18236 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onContentScroll,Ark_NativePointer,KSerializerBuffer,int32_t)18237 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
18238 void impl_SearchAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18239         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18240         Deserializer thisDeserializer(thisArray, thisLength);
18241         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18242         Opt_Callback_String_Void value_value_buf = {};
18243         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18244         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18245         {
18246             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
18247         }
18248         Opt_Callback_String_Void value_value = value_value_buf;;
18249         GetNodeModifiers()->getSearchModifier()->setOnCopy(self, (const Opt_Callback_String_Void*)&value_value);
18250 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCopy,Ark_NativePointer,KSerializerBuffer,int32_t)18251 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t)
18252 void impl_SearchAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18253         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18254         Deserializer thisDeserializer(thisArray, thisLength);
18255         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18256         Opt_Callback_String_Void value_value_buf = {};
18257         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18258         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18259         {
18260             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
18261         }
18262         Opt_Callback_String_Void value_value = value_value_buf;;
18263         GetNodeModifiers()->getSearchModifier()->setOnCut(self, (const Opt_Callback_String_Void*)&value_value);
18264 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCut,Ark_NativePointer,KSerializerBuffer,int32_t)18265 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t)
18266 void impl_SearchAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18267         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18268         Deserializer thisDeserializer(thisArray, thisLength);
18269         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18270         Opt_OnPasteCallback value_value_buf = {};
18271         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18272         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18273         {
18274             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};
18275         }
18276         Opt_OnPasteCallback value_value = value_value_buf;;
18277         GetNodeModifiers()->getSearchModifier()->setOnPaste(self, (const Opt_OnPasteCallback*)&value_value);
18278 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onPaste,Ark_NativePointer,KSerializerBuffer,int32_t)18279 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t)
18280 void impl_SearchAttribute_copyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18281         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18282         Deserializer thisDeserializer(thisArray, thisLength);
18283         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18284         Opt_CopyOptions value_value_buf = {};
18285         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18286         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18287         {
18288             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
18289         }
18290         Opt_CopyOptions value_value = value_value_buf;;
18291         GetNodeModifiers()->getSearchModifier()->setCopyOption(self, (const Opt_CopyOptions*)&value_value);
18292 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_copyOption,Ark_NativePointer,KSerializerBuffer,int32_t)18293 KOALA_INTEROP_DIRECT_V3(SearchAttribute_copyOption, Ark_NativePointer, KSerializerBuffer, int32_t)
18294 void impl_SearchAttribute_maxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18295         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18296         Deserializer thisDeserializer(thisArray, thisLength);
18297         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18298         Opt_Number value_value_buf = {};
18299         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18300         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18301         {
18302             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
18303         }
18304         Opt_Number value_value = value_value_buf;;
18305         GetNodeModifiers()->getSearchModifier()->setMaxLength(self, (const Opt_Number*)&value_value);
18306 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxLength,Ark_NativePointer,KSerializerBuffer,int32_t)18307 KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxLength, Ark_NativePointer, KSerializerBuffer, int32_t)
18308 void impl_SearchAttribute_textAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18309         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18310         Deserializer thisDeserializer(thisArray, thisLength);
18311         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18312         Opt_TextAlign value_value_buf = {};
18313         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18314         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18315         {
18316             value_value_buf.value = static_cast<Ark_TextAlign>(thisDeserializer.readInt32());
18317         }
18318         Opt_TextAlign value_value = value_value_buf;;
18319         GetNodeModifiers()->getSearchModifier()->setTextAlign(self, (const Opt_TextAlign*)&value_value);
18320 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_textAlign,Ark_NativePointer,KSerializerBuffer,int32_t)18321 KOALA_INTEROP_DIRECT_V3(SearchAttribute_textAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
18322 void impl_SearchAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18323         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18324         Deserializer thisDeserializer(thisArray, thisLength);
18325         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18326         Opt_Boolean value_value_buf = {};
18327         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18328         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18329         {
18330             value_value_buf.value = thisDeserializer.readBoolean();
18331         }
18332         Opt_Boolean value_value = value_value_buf;;
18333         GetNodeModifiers()->getSearchModifier()->setEnableKeyboardOnFocus(self, (const Opt_Boolean*)&value_value);
18334 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_enableKeyboardOnFocus,Ark_NativePointer,KSerializerBuffer,int32_t)18335 KOALA_INTEROP_DIRECT_V3(SearchAttribute_enableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
18336 void impl_SearchAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18337         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18338         Deserializer thisDeserializer(thisArray, thisLength);
18339         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18340         Opt_Boolean value_value_buf = {};
18341         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18342         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18343         {
18344             value_value_buf.value = thisDeserializer.readBoolean();
18345         }
18346         Opt_Boolean value_value = value_value_buf;;
18347         GetNodeModifiers()->getSearchModifier()->setSelectionMenuHidden(self, (const Opt_Boolean*)&value_value);
18348 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectionMenuHidden,Ark_NativePointer,KSerializerBuffer,int32_t)18349 KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectionMenuHidden, Ark_NativePointer, KSerializerBuffer, int32_t)
18350 void impl_SearchAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18351         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18352         Deserializer thisDeserializer(thisArray, thisLength);
18353         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18354         Opt_Union_Number_String_Resource value_value_buf = {};
18355         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18356         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18357         {
18358             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18359             Ark_Union_Number_String_Resource value_value_buf_ = {};
18360             value_value_buf_.selector = value_value_buf__selector;
18361             if (value_value_buf__selector == 0) {
18362                 value_value_buf_.selector = 0;
18363                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18364             }
18365             else if (value_value_buf__selector == 1) {
18366                 value_value_buf_.selector = 1;
18367                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
18368             }
18369             else if (value_value_buf__selector == 2) {
18370                 value_value_buf_.selector = 2;
18371                 value_value_buf_.value2 = thisDeserializer.readResource();
18372             }
18373             else {
18374                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18375             }
18376             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
18377         }
18378         Opt_Union_Number_String_Resource value_value = value_value_buf;;
18379         GetNodeModifiers()->getSearchModifier()->setMinFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
18380 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)18381 KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
18382 void impl_SearchAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18383         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18384         Deserializer thisDeserializer(thisArray, thisLength);
18385         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18386         Opt_Union_Number_String_Resource value_value_buf = {};
18387         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18388         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18389         {
18390             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18391             Ark_Union_Number_String_Resource value_value_buf_ = {};
18392             value_value_buf_.selector = value_value_buf__selector;
18393             if (value_value_buf__selector == 0) {
18394                 value_value_buf_.selector = 0;
18395                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18396             }
18397             else if (value_value_buf__selector == 1) {
18398                 value_value_buf_.selector = 1;
18399                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
18400             }
18401             else if (value_value_buf__selector == 2) {
18402                 value_value_buf_.selector = 2;
18403                 value_value_buf_.value2 = thisDeserializer.readResource();
18404             }
18405             else {
18406                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18407             }
18408             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
18409         }
18410         Opt_Union_Number_String_Resource value_value = value_value_buf;;
18411         GetNodeModifiers()->getSearchModifier()->setMaxFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
18412 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)18413 KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
18414 void impl_SearchAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18415         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18416         Deserializer thisDeserializer(thisArray, thisLength);
18417         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18418         Opt_Union_Number_Resource value_value_buf = {};
18419         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18420         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18421         {
18422             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18423             Ark_Union_Number_Resource value_value_buf_ = {};
18424             value_value_buf_.selector = value_value_buf__selector;
18425             if (value_value_buf__selector == 0) {
18426                 value_value_buf_.selector = 0;
18427                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18428             }
18429             else if (value_value_buf__selector == 1) {
18430                 value_value_buf_.selector = 1;
18431                 value_value_buf_.value1 = thisDeserializer.readResource();
18432             }
18433             else {
18434                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18435             }
18436             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
18437         }
18438         Opt_Union_Number_Resource value_value = value_value_buf;;
18439         GetNodeModifiers()->getSearchModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
18440 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)18441 KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
18442 void impl_SearchAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18443         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18444         Deserializer thisDeserializer(thisArray, thisLength);
18445         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18446         Opt_Union_Number_Resource value_value_buf = {};
18447         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18448         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18449         {
18450             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18451             Ark_Union_Number_Resource value_value_buf_ = {};
18452             value_value_buf_.selector = value_value_buf__selector;
18453             if (value_value_buf__selector == 0) {
18454                 value_value_buf_.selector = 0;
18455                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18456             }
18457             else if (value_value_buf__selector == 1) {
18458                 value_value_buf_.selector = 1;
18459                 value_value_buf_.value1 = thisDeserializer.readResource();
18460             }
18461             else {
18462                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18463             }
18464             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
18465         }
18466         Opt_Union_Number_Resource value_value = value_value_buf;;
18467         GetNodeModifiers()->getSearchModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
18468 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)18469 KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
18470 void impl_SearchAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18471         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18472         Deserializer thisDeserializer(thisArray, thisLength);
18473         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18474         Opt_TextDecorationOptions value_value_buf = {};
18475         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18476         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18477         {
18478             value_value_buf.value = thisDeserializer.readTextDecorationOptions();
18479         }
18480         Opt_TextDecorationOptions value_value = value_value_buf;;
18481         GetNodeModifiers()->getSearchModifier()->setDecoration(self, (const Opt_TextDecorationOptions*)&value_value);
18482 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_decoration,Ark_NativePointer,KSerializerBuffer,int32_t)18483 KOALA_INTEROP_DIRECT_V3(SearchAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t)
18484 void impl_SearchAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18485         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18486         Deserializer thisDeserializer(thisArray, thisLength);
18487         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18488         Opt_Union_Number_String_Resource value_value_buf = {};
18489         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18490         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18491         {
18492             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18493             Ark_Union_Number_String_Resource value_value_buf_ = {};
18494             value_value_buf_.selector = value_value_buf__selector;
18495             if (value_value_buf__selector == 0) {
18496                 value_value_buf_.selector = 0;
18497                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18498             }
18499             else if (value_value_buf__selector == 1) {
18500                 value_value_buf_.selector = 1;
18501                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
18502             }
18503             else if (value_value_buf__selector == 2) {
18504                 value_value_buf_.selector = 2;
18505                 value_value_buf_.value2 = thisDeserializer.readResource();
18506             }
18507             else {
18508                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18509             }
18510             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
18511         }
18512         Opt_Union_Number_String_Resource value_value = value_value_buf;;
18513         GetNodeModifiers()->getSearchModifier()->setLetterSpacing(self, (const Opt_Union_Number_String_Resource*)&value_value);
18514 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_letterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)18515 KOALA_INTEROP_DIRECT_V3(SearchAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
18516 void impl_SearchAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18517         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18518         Deserializer thisDeserializer(thisArray, thisLength);
18519         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18520         Opt_Union_Number_String_Resource value_value_buf = {};
18521         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18522         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18523         {
18524             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18525             Ark_Union_Number_String_Resource value_value_buf_ = {};
18526             value_value_buf_.selector = value_value_buf__selector;
18527             if (value_value_buf__selector == 0) {
18528                 value_value_buf_.selector = 0;
18529                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18530             }
18531             else if (value_value_buf__selector == 1) {
18532                 value_value_buf_.selector = 1;
18533                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
18534             }
18535             else if (value_value_buf__selector == 2) {
18536                 value_value_buf_.selector = 2;
18537                 value_value_buf_.value2 = thisDeserializer.readResource();
18538             }
18539             else {
18540                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18541             }
18542             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
18543         }
18544         Opt_Union_Number_String_Resource value_value = value_value_buf;;
18545         GetNodeModifiers()->getSearchModifier()->setLineHeight(self, (const Opt_Union_Number_String_Resource*)&value_value);
18546 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_lineHeight,Ark_NativePointer,KSerializerBuffer,int32_t)18547 KOALA_INTEROP_DIRECT_V3(SearchAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
18548 void impl_SearchAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18549         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18550         Deserializer thisDeserializer(thisArray, thisLength);
18551         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18552         Opt_SearchType value_value_buf = {};
18553         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18554         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18555         {
18556             value_value_buf.value = static_cast<Ark_SearchType>(thisDeserializer.readInt32());
18557         }
18558         Opt_SearchType value_value = value_value_buf;;
18559         GetNodeModifiers()->getSearchModifier()->setType(self, (const Opt_SearchType*)&value_value);
18560 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)18561 KOALA_INTEROP_DIRECT_V3(SearchAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
18562 void impl_SearchAttribute_fontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18564         Deserializer thisDeserializer(thisArray, thisLength);
18565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18566         Opt_String value_value_buf = {};
18567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18569         {
18570             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
18571         }
18572         Opt_String value_value = value_value_buf;;
18573         GetNodeModifiers()->getSearchModifier()->setFontFeature(self, (const Opt_String*)&value_value);
18574 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontFeature,Ark_NativePointer,KSerializerBuffer,int32_t)18575 KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontFeature, Ark_NativePointer, KSerializerBuffer, int32_t)
18576 void impl_SearchAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18577         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18578         Deserializer thisDeserializer(thisArray, thisLength);
18579         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18580         Opt_Callback_InsertValue_Boolean value_value_buf = {};
18581         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18582         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18583         {
18584             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};
18585         }
18586         Opt_Callback_InsertValue_Boolean value_value = value_value_buf;;
18587         GetNodeModifiers()->getSearchModifier()->setOnWillInsert(self, (const Opt_Callback_InsertValue_Boolean*)&value_value);
18588 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillInsert,Ark_NativePointer,KSerializerBuffer,int32_t)18589 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
18590 void impl_SearchAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18591         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18592         Deserializer thisDeserializer(thisArray, thisLength);
18593         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18594         Opt_Callback_InsertValue_Void value_value_buf = {};
18595         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18596         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18597         {
18598             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};
18599         }
18600         Opt_Callback_InsertValue_Void value_value = value_value_buf;;
18601         GetNodeModifiers()->getSearchModifier()->setOnDidInsert(self, (const Opt_Callback_InsertValue_Void*)&value_value);
18602 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidInsert,Ark_NativePointer,KSerializerBuffer,int32_t)18603 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
18604 void impl_SearchAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18605         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18606         Deserializer thisDeserializer(thisArray, thisLength);
18607         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18608         Opt_Callback_DeleteValue_Boolean value_value_buf = {};
18609         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18610         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18611         {
18612             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};
18613         }
18614         Opt_Callback_DeleteValue_Boolean value_value = value_value_buf;;
18615         GetNodeModifiers()->getSearchModifier()->setOnWillDelete(self, (const Opt_Callback_DeleteValue_Boolean*)&value_value);
18616 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillDelete,Ark_NativePointer,KSerializerBuffer,int32_t)18617 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
18618 void impl_SearchAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18619         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18620         Deserializer thisDeserializer(thisArray, thisLength);
18621         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18622         Opt_Callback_DeleteValue_Void value_value_buf = {};
18623         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18624         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18625         {
18626             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};
18627         }
18628         Opt_Callback_DeleteValue_Void value_value = value_value_buf;;
18629         GetNodeModifiers()->getSearchModifier()->setOnDidDelete(self, (const Opt_Callback_DeleteValue_Void*)&value_value);
18630 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidDelete,Ark_NativePointer,KSerializerBuffer,int32_t)18631 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
18632 void impl_SearchAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18633         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18634         Deserializer thisDeserializer(thisArray, thisLength);
18635         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18636         Opt_EditMenuOptions value_value_buf = {};
18637         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18638         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18639         {
18640             value_value_buf.value = thisDeserializer.readEditMenuOptions();
18641         }
18642         Opt_EditMenuOptions value_value = value_value_buf;;
18643         GetNodeModifiers()->getSearchModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
18644 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)18645 KOALA_INTEROP_DIRECT_V3(SearchAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
18646 void impl_SearchAttribute_enablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18647         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18648         Deserializer thisDeserializer(thisArray, thisLength);
18649         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18650         Opt_Boolean value_value_buf = {};
18651         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18652         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18653         {
18654             value_value_buf.value = thisDeserializer.readBoolean();
18655         }
18656         Opt_Boolean value_value = value_value_buf;;
18657         GetNodeModifiers()->getSearchModifier()->setEnablePreviewText(self, (const Opt_Boolean*)&value_value);
18658 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_enablePreviewText,Ark_NativePointer,KSerializerBuffer,int32_t)18659 KOALA_INTEROP_DIRECT_V3(SearchAttribute_enablePreviewText, Ark_NativePointer, KSerializerBuffer, int32_t)
18660 void impl_SearchAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18661         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18662         Deserializer thisDeserializer(thisArray, thisLength);
18663         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18664         Opt_Boolean value_value_buf = {};
18665         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18666         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18667         {
18668             value_value_buf.value = thisDeserializer.readBoolean();
18669         }
18670         Opt_Boolean value_value = value_value_buf;;
18671         GetNodeModifiers()->getSearchModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
18672 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)18673 KOALA_INTEROP_DIRECT_V3(SearchAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
18674 void impl_SearchAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18675         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18676         Deserializer thisDeserializer(thisArray, thisLength);
18677         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18678         Opt_AutoCapitalizationMode value_value_buf = {};
18679         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18680         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18681         {
18682             value_value_buf.value = static_cast<Ark_AutoCapitalizationMode>(thisDeserializer.readInt32());
18683         }
18684         Opt_AutoCapitalizationMode value_value = value_value_buf;;
18685         GetNodeModifiers()->getSearchModifier()->setAutoCapitalizationMode(self, (const Opt_AutoCapitalizationMode*)&value_value);
18686 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_autoCapitalizationMode,Ark_NativePointer,KSerializerBuffer,int32_t)18687 KOALA_INTEROP_DIRECT_V3(SearchAttribute_autoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, int32_t)
18688 void impl_SearchAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18689         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18690         Deserializer thisDeserializer(thisArray, thisLength);
18691         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18692         Opt_Boolean value_value_buf = {};
18693         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18694         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18695         {
18696             value_value_buf.value = thisDeserializer.readBoolean();
18697         }
18698         Opt_Boolean value_value = value_value_buf;;
18699         GetNodeModifiers()->getSearchModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value);
18700 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_halfLeading,Ark_NativePointer,KSerializerBuffer,int32_t)18701 KOALA_INTEROP_DIRECT_V3(SearchAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t)
18702 void impl_SearchAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18703         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18704         Deserializer thisDeserializer(thisArray, thisLength);
18705         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18706         Opt_Boolean value_value_buf = {};
18707         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18708         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18709         {
18710             value_value_buf.value = thisDeserializer.readBoolean();
18711         }
18712         Opt_Boolean value_value = value_value_buf;;
18713         GetNodeModifiers()->getSearchModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value);
18714 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_stopBackPress,Ark_NativePointer,KSerializerBuffer,int32_t)18715 KOALA_INTEROP_DIRECT_V3(SearchAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t)
18716 void impl_SearchAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18717         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18718         Deserializer thisDeserializer(thisArray, thisLength);
18719         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18720         Opt_Callback_EditableTextChangeValue_Boolean value_value_buf = {};
18721         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18722         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18723         {
18724             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};
18725         }
18726         Opt_Callback_EditableTextChangeValue_Boolean value_value = value_value_buf;;
18727         GetNodeModifiers()->getSearchModifier()->setOnWillChange(self, (const Opt_Callback_EditableTextChangeValue_Boolean*)&value_value);
18728 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillChange,Ark_NativePointer,KSerializerBuffer,int32_t)18729 KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t)
18730 void impl_SearchAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18731         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18732         Deserializer thisDeserializer(thisArray, thisLength);
18733         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18734         Opt_KeyboardAppearance value_value_buf = {};
18735         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18736         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18737         {
18738             value_value_buf.value = static_cast<Ark_KeyboardAppearance>(thisDeserializer.readInt32());
18739         }
18740         Opt_KeyboardAppearance value_value = value_value_buf;;
18741         GetNodeModifiers()->getSearchModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value);
18742 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_keyboardAppearance,Ark_NativePointer,KSerializerBuffer,int32_t)18743 KOALA_INTEROP_DIRECT_V3(SearchAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t)
18744 void impl_SearchAttribute_searchButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18745         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18746         Deserializer thisDeserializer(thisArray, thisLength);
18747         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18748         Opt_String value_value_buf = {};
18749         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18750         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18751         {
18752             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
18753         }
18754         Opt_String value_value = value_value_buf;;
18755         const auto option_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18756         Opt_SearchButtonOptions option_value_buf = {};
18757         option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18758         if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType))
18759         {
18760             option_value_buf.value = thisDeserializer.readSearchButtonOptions();
18761         }
18762         Opt_SearchButtonOptions option_value = option_value_buf;;
18763         GetNodeModifiers()->getSearchModifier()->setSearchButton(self, (const Opt_String*)&value_value, (const Opt_SearchButtonOptions*)&option_value);
18764 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchButton,Ark_NativePointer,KSerializerBuffer,int32_t)18765 KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchButton, Ark_NativePointer, KSerializerBuffer, int32_t)
18766 void impl_SearchAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18767         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18768         Deserializer thisDeserializer(thisArray, thisLength);
18769         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18770         Opt_ResourceStr value_value_buf = {};
18771         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18772         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18773         {
18774             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18775             Ark_ResourceStr value_value_buf_ = {};
18776             value_value_buf_.selector = value_value_buf__selector;
18777             if (value_value_buf__selector == 0) {
18778                 value_value_buf_.selector = 0;
18779                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
18780             }
18781             else if (value_value_buf__selector == 1) {
18782                 value_value_buf_.selector = 1;
18783                 value_value_buf_.value1 = thisDeserializer.readResource();
18784             }
18785             else {
18786                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18787             }
18788             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
18789         }
18790         Opt_ResourceStr value_value = value_value_buf;;
18791         const auto error_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18792         Opt_Callback_String_Void error_value_buf = {};
18793         error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18794         if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType))
18795         {
18796             error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
18797         }
18798         Opt_Callback_String_Void error_value = error_value_buf;;
18799         GetNodeModifiers()->getSearchModifier()->setInputFilter(self, (const Opt_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value);
18800 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_inputFilter,Ark_NativePointer,KSerializerBuffer,int32_t)18801 KOALA_INTEROP_DIRECT_V3(SearchAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
18802 void impl_SearchAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18803         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18804         Deserializer thisDeserializer(thisArray, thisLength);
18805         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18806         Opt_CustomNodeBuilder value_value_buf = {};
18807         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18808         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18809         {
18810             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
18811         }
18812         Opt_CustomNodeBuilder value_value = value_value_buf;;
18813         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18814         Opt_KeyboardOptions options_value_buf = {};
18815         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18816         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
18817         {
18818             options_value_buf.value = thisDeserializer.readKeyboardOptions();
18819         }
18820         Opt_KeyboardOptions options_value = options_value_buf;;
18821         GetNodeModifiers()->getSearchModifier()->setCustomKeyboard(self, (const Opt_CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value);
18822 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute_customKeyboard,Ark_NativePointer,KSerializerBuffer,int32_t)18823 KOALA_INTEROP_DIRECT_V3(SearchAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t)
18824 void impl_SearchAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18825         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18826         Deserializer thisDeserializer(thisArray, thisLength);
18827         Callback_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};;
18828         GetNodeModifiers()->getSearchModifier()->set_onChangeEvent_value(self, (const Callback_String_Void*)&callback_value);
18829 }
KOALA_INTEROP_DIRECT_V3(SearchAttribute__onChangeEvent_value,Ark_NativePointer,KSerializerBuffer,int32_t)18830 KOALA_INTEROP_DIRECT_V3(SearchAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t)
18831 Ark_NativePointer impl_SecurityComponentMethod_construct(Ark_Int32 id, Ark_Int32 flags) {
18832         return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(id, flags);
18833 }
KOALA_INTEROP_DIRECT_2(SecurityComponentMethod_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)18834 KOALA_INTEROP_DIRECT_2(SecurityComponentMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
18835 void impl_SecurityComponentMethod_iconSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18836         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18837         Deserializer thisDeserializer(thisArray, thisLength);
18838         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18839         Opt_Length value_value_buf = {};
18840         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18841         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18842         {
18843             value_value_buf.value = thisDeserializer.readLength();
18844         }
18845         Opt_Length value_value = value_value_buf;;
18846         GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconSize(self, (const Opt_Length*)&value_value);
18847 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconSize,Ark_NativePointer,KSerializerBuffer,int32_t)18848 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconSize, Ark_NativePointer, KSerializerBuffer, int32_t)
18849 void impl_SecurityComponentMethod_layoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18850         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18851         Deserializer thisDeserializer(thisArray, thisLength);
18852         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18853         Opt_SecurityComponentLayoutDirection value_value_buf = {};
18854         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18855         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18856         {
18857             value_value_buf.value = static_cast<Ark_SecurityComponentLayoutDirection>(thisDeserializer.readInt32());
18858         }
18859         Opt_SecurityComponentLayoutDirection value_value = value_value_buf;;
18860         GetNodeModifiers()->getSecurityComponentMethodModifier()->setLayoutDirection(self, (const Opt_SecurityComponentLayoutDirection*)&value_value);
18861 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_layoutDirection,Ark_NativePointer,KSerializerBuffer,int32_t)18862 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_layoutDirection, Ark_NativePointer, KSerializerBuffer, int32_t)
18863 void impl_SecurityComponentMethod_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18864         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18865         Deserializer thisDeserializer(thisArray, thisLength);
18866         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18867         Opt_Position value_value_buf = {};
18868         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18869         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18870         {
18871             value_value_buf.value = thisDeserializer.readPosition();
18872         }
18873         Opt_Position value_value = value_value_buf;;
18874         GetNodeModifiers()->getSecurityComponentMethodModifier()->setPosition(self, (const Opt_Position*)&value_value);
18875 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_position,Ark_NativePointer,KSerializerBuffer,int32_t)18876 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_position, Ark_NativePointer, KSerializerBuffer, int32_t)
18877 void impl_SecurityComponentMethod_markAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18878         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18879         Deserializer thisDeserializer(thisArray, thisLength);
18880         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18881         Opt_Position value_value_buf = {};
18882         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18883         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18884         {
18885             value_value_buf.value = thisDeserializer.readPosition();
18886         }
18887         Opt_Position value_value = value_value_buf;;
18888         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMarkAnchor(self, (const Opt_Position*)&value_value);
18889 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_markAnchor,Ark_NativePointer,KSerializerBuffer,int32_t)18890 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_markAnchor, Ark_NativePointer, KSerializerBuffer, int32_t)
18891 void impl_SecurityComponentMethod_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18892         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18893         Deserializer thisDeserializer(thisArray, thisLength);
18894         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18895         Opt_Union_Position_Edges_LocalizedEdges value_value_buf = {};
18896         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18897         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18898         {
18899             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18900             Ark_Union_Position_Edges_LocalizedEdges value_value_buf_ = {};
18901             value_value_buf_.selector = value_value_buf__selector;
18902             if (value_value_buf__selector == 0) {
18903                 value_value_buf_.selector = 0;
18904                 value_value_buf_.value0 = thisDeserializer.readPosition();
18905             }
18906             else if (value_value_buf__selector == 1) {
18907                 value_value_buf_.selector = 1;
18908                 value_value_buf_.value1 = thisDeserializer.readEdges();
18909             }
18910             else if (value_value_buf__selector == 2) {
18911                 value_value_buf_.selector = 2;
18912                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdges();
18913             }
18914             else {
18915                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18916             }
18917             value_value_buf.value = static_cast<Ark_Union_Position_Edges_LocalizedEdges>(value_value_buf_);
18918         }
18919         Opt_Union_Position_Edges_LocalizedEdges value_value = value_value_buf;;
18920         GetNodeModifiers()->getSecurityComponentMethodModifier()->setOffset(self, (const Opt_Union_Position_Edges_LocalizedEdges*)&value_value);
18921 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_offset,Ark_NativePointer,KSerializerBuffer,int32_t)18922 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_offset, Ark_NativePointer, KSerializerBuffer, int32_t)
18923 void impl_SecurityComponentMethod_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18924         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18925         Deserializer thisDeserializer(thisArray, thisLength);
18926         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18927         Opt_Length value_value_buf = {};
18928         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18929         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18930         {
18931             value_value_buf.value = thisDeserializer.readLength();
18932         }
18933         Opt_Length value_value = value_value_buf;;
18934         GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontSize(self, (const Opt_Length*)&value_value);
18935 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)18936 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
18937 void impl_SecurityComponentMethod_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18938         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18939         Deserializer thisDeserializer(thisArray, thisLength);
18940         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18941         Opt_FontStyle value_value_buf = {};
18942         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18943         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18944         {
18945             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
18946         }
18947         Opt_FontStyle value_value = value_value_buf;;
18948         GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
18949 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)18950 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
18951 void impl_SecurityComponentMethod_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18952         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18953         Deserializer thisDeserializer(thisArray, thisLength);
18954         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18955         Opt_Union_Number_FontWeight_String value_value_buf = {};
18956         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18957         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18958         {
18959             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18960             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
18961             value_value_buf_.selector = value_value_buf__selector;
18962             if (value_value_buf__selector == 0) {
18963                 value_value_buf_.selector = 0;
18964                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
18965             }
18966             else if (value_value_buf__selector == 1) {
18967                 value_value_buf_.selector = 1;
18968                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
18969             }
18970             else if (value_value_buf__selector == 2) {
18971                 value_value_buf_.selector = 2;
18972                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
18973             }
18974             else {
18975                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
18976             }
18977             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
18978         }
18979         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
18980         GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
18981 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)18982 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
18983 void impl_SecurityComponentMethod_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
18984         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
18985         Deserializer thisDeserializer(thisArray, thisLength);
18986         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
18987         Opt_Union_String_Resource value_value_buf = {};
18988         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
18989         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
18990         {
18991             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
18992             Ark_Union_String_Resource value_value_buf_ = {};
18993             value_value_buf_.selector = value_value_buf__selector;
18994             if (value_value_buf__selector == 0) {
18995                 value_value_buf_.selector = 0;
18996                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
18997             }
18998             else if (value_value_buf__selector == 1) {
18999                 value_value_buf_.selector = 1;
19000                 value_value_buf_.value1 = thisDeserializer.readResource();
19001             }
19002             else {
19003                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19004             }
19005             value_value_buf.value = static_cast<Ark_Union_String_Resource>(value_value_buf_);
19006         }
19007         Opt_Union_String_Resource value_value = value_value_buf;;
19008         GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontFamily(self, (const Opt_Union_String_Resource*)&value_value);
19009 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)19010 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
19011 void impl_SecurityComponentMethod_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19012         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19013         Deserializer thisDeserializer(thisArray, thisLength);
19014         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19015         Opt_ResourceColor value_value_buf = {};
19016         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19017         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19018         {
19019             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19020             Ark_ResourceColor value_value_buf_ = {};
19021             value_value_buf_.selector = value_value_buf__selector;
19022             if (value_value_buf__selector == 0) {
19023                 value_value_buf_.selector = 0;
19024                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19025             }
19026             else if (value_value_buf__selector == 1) {
19027                 value_value_buf_.selector = 1;
19028                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19029             }
19030             else if (value_value_buf__selector == 2) {
19031                 value_value_buf_.selector = 2;
19032                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19033             }
19034             else if (value_value_buf__selector == 3) {
19035                 value_value_buf_.selector = 3;
19036                 value_value_buf_.value3 = thisDeserializer.readResource();
19037             }
19038             else {
19039                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19040             }
19041             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19042         }
19043         Opt_ResourceColor value_value = value_value_buf;;
19044         GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
19045 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)19046 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
19047 void impl_SecurityComponentMethod_iconColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19048         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19049         Deserializer thisDeserializer(thisArray, thisLength);
19050         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19051         Opt_ResourceColor value_value_buf = {};
19052         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19053         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19054         {
19055             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19056             Ark_ResourceColor value_value_buf_ = {};
19057             value_value_buf_.selector = value_value_buf__selector;
19058             if (value_value_buf__selector == 0) {
19059                 value_value_buf_.selector = 0;
19060                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19061             }
19062             else if (value_value_buf__selector == 1) {
19063                 value_value_buf_.selector = 1;
19064                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19065             }
19066             else if (value_value_buf__selector == 2) {
19067                 value_value_buf_.selector = 2;
19068                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19069             }
19070             else if (value_value_buf__selector == 3) {
19071                 value_value_buf_.selector = 3;
19072                 value_value_buf_.value3 = thisDeserializer.readResource();
19073             }
19074             else {
19075                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19076             }
19077             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19078         }
19079         Opt_ResourceColor value_value = value_value_buf;;
19080         GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconColor(self, (const Opt_ResourceColor*)&value_value);
19081 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconColor,Ark_NativePointer,KSerializerBuffer,int32_t)19082 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconColor, Ark_NativePointer, KSerializerBuffer, int32_t)
19083 void impl_SecurityComponentMethod_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19084         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19085         Deserializer thisDeserializer(thisArray, thisLength);
19086         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19087         Opt_ResourceColor value_value_buf = {};
19088         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19089         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19090         {
19091             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19092             Ark_ResourceColor value_value_buf_ = {};
19093             value_value_buf_.selector = value_value_buf__selector;
19094             if (value_value_buf__selector == 0) {
19095                 value_value_buf_.selector = 0;
19096                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19097             }
19098             else if (value_value_buf__selector == 1) {
19099                 value_value_buf_.selector = 1;
19100                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19101             }
19102             else if (value_value_buf__selector == 2) {
19103                 value_value_buf_.selector = 2;
19104                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19105             }
19106             else if (value_value_buf__selector == 3) {
19107                 value_value_buf_.selector = 3;
19108                 value_value_buf_.value3 = thisDeserializer.readResource();
19109             }
19110             else {
19111                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19112             }
19113             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19114         }
19115         Opt_ResourceColor value_value = value_value_buf;;
19116         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
19117 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_backgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)19118 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
19119 void impl_SecurityComponentMethod_borderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19120         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19121         Deserializer thisDeserializer(thisArray, thisLength);
19122         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19123         Opt_BorderStyle value_value_buf = {};
19124         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19125         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19126         {
19127             value_value_buf.value = static_cast<Ark_BorderStyle>(thisDeserializer.readInt32());
19128         }
19129         Opt_BorderStyle value_value = value_value_buf;;
19130         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderStyle(self, (const Opt_BorderStyle*)&value_value);
19131 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderStyle,Ark_NativePointer,KSerializerBuffer,int32_t)19132 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
19133 void impl_SecurityComponentMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19134         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19135         Deserializer thisDeserializer(thisArray, thisLength);
19136         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19137         Opt_Length value_value_buf = {};
19138         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19139         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19140         {
19141             value_value_buf.value = thisDeserializer.readLength();
19142         }
19143         Opt_Length value_value = value_value_buf;;
19144         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderWidth(self, (const Opt_Length*)&value_value);
19145 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderWidth,Ark_NativePointer,KSerializerBuffer,int32_t)19146 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
19147 void impl_SecurityComponentMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19148         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19149         Deserializer thisDeserializer(thisArray, thisLength);
19150         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19151         Opt_ResourceColor value_value_buf = {};
19152         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19153         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19154         {
19155             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19156             Ark_ResourceColor value_value_buf_ = {};
19157             value_value_buf_.selector = value_value_buf__selector;
19158             if (value_value_buf__selector == 0) {
19159                 value_value_buf_.selector = 0;
19160                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19161             }
19162             else if (value_value_buf__selector == 1) {
19163                 value_value_buf_.selector = 1;
19164                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19165             }
19166             else if (value_value_buf__selector == 2) {
19167                 value_value_buf_.selector = 2;
19168                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19169             }
19170             else if (value_value_buf__selector == 3) {
19171                 value_value_buf_.selector = 3;
19172                 value_value_buf_.value3 = thisDeserializer.readResource();
19173             }
19174             else {
19175                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19176             }
19177             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19178         }
19179         Opt_ResourceColor value_value = value_value_buf;;
19180         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderColor(self, (const Opt_ResourceColor*)&value_value);
19181 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderColor,Ark_NativePointer,KSerializerBuffer,int32_t)19182 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
19183 void impl_SecurityComponentMethod_borderRadius0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19184         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19185         Deserializer thisDeserializer(thisArray, thisLength);
19186         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19187         Opt_Length value_value_buf = {};
19188         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19189         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19190         {
19191             value_value_buf.value = thisDeserializer.readLength();
19192         }
19193         Opt_Length value_value = value_value_buf;;
19194         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius0(self, (const Opt_Length*)&value_value);
19195 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius0,Ark_NativePointer,KSerializerBuffer,int32_t)19196 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius0, Ark_NativePointer, KSerializerBuffer, int32_t)
19197 void impl_SecurityComponentMethod_borderRadius1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19198         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19199         Deserializer thisDeserializer(thisArray, thisLength);
19200         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19201         Opt_Union_Dimension_BorderRadiuses value_value_buf = {};
19202         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19203         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19204         {
19205             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19206             Ark_Union_Dimension_BorderRadiuses value_value_buf_ = {};
19207             value_value_buf_.selector = value_value_buf__selector;
19208             if (value_value_buf__selector == 0) {
19209                 value_value_buf_.selector = 0;
19210                 value_value_buf_.value0 = thisDeserializer.readLength();
19211             }
19212             else if (value_value_buf__selector == 1) {
19213                 value_value_buf_.selector = 1;
19214                 value_value_buf_.value1 = thisDeserializer.readBorderRadiuses();
19215             }
19216             else {
19217                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19218             }
19219             value_value_buf.value = static_cast<Ark_Union_Dimension_BorderRadiuses>(value_value_buf_);
19220         }
19221         Opt_Union_Dimension_BorderRadiuses value_value = value_value_buf;;
19222         GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius1(self, (const Opt_Union_Dimension_BorderRadiuses*)&value_value);
19223 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius1,Ark_NativePointer,KSerializerBuffer,int32_t)19224 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius1, Ark_NativePointer, KSerializerBuffer, int32_t)
19225 void impl_SecurityComponentMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19226         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19227         Deserializer thisDeserializer(thisArray, thisLength);
19228         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19229         Opt_Union_Padding_Dimension value_value_buf = {};
19230         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19231         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19232         {
19233             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19234             Ark_Union_Padding_Dimension value_value_buf_ = {};
19235             value_value_buf_.selector = value_value_buf__selector;
19236             if (value_value_buf__selector == 0) {
19237                 value_value_buf_.selector = 0;
19238                 Ark_Padding value_value_buf__u = {};
19239                 const auto value_value_buf__u_top_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19240                 Opt_Length value_value_buf__u_top_buf = {};
19241                 value_value_buf__u_top_buf.tag = value_value_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19242                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_top_buf_runtimeType))
19243                 {
19244                     value_value_buf__u_top_buf.value = thisDeserializer.readLength();
19245                 }
19246                 value_value_buf__u.top = value_value_buf__u_top_buf;
19247                 const auto value_value_buf__u_right_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19248                 Opt_Length value_value_buf__u_right_buf = {};
19249                 value_value_buf__u_right_buf.tag = value_value_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19250                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_right_buf_runtimeType))
19251                 {
19252                     value_value_buf__u_right_buf.value = thisDeserializer.readLength();
19253                 }
19254                 value_value_buf__u.right = value_value_buf__u_right_buf;
19255                 const auto value_value_buf__u_bottom_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19256                 Opt_Length value_value_buf__u_bottom_buf = {};
19257                 value_value_buf__u_bottom_buf.tag = value_value_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19258                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_bottom_buf_runtimeType))
19259                 {
19260                     value_value_buf__u_bottom_buf.value = thisDeserializer.readLength();
19261                 }
19262                 value_value_buf__u.bottom = value_value_buf__u_bottom_buf;
19263                 const auto value_value_buf__u_left_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19264                 Opt_Length value_value_buf__u_left_buf = {};
19265                 value_value_buf__u_left_buf.tag = value_value_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19266                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_left_buf_runtimeType))
19267                 {
19268                     value_value_buf__u_left_buf.value = thisDeserializer.readLength();
19269                 }
19270                 value_value_buf__u.left = value_value_buf__u_left_buf;
19271                 value_value_buf_.value0 = value_value_buf__u;
19272             }
19273             else if (value_value_buf__selector == 1) {
19274                 value_value_buf_.selector = 1;
19275                 value_value_buf_.value1 = thisDeserializer.readLength();
19276             }
19277             else {
19278                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19279             }
19280             value_value_buf.value = static_cast<Ark_Union_Padding_Dimension>(value_value_buf_);
19281         }
19282         Opt_Union_Padding_Dimension value_value = value_value_buf;;
19283         GetNodeModifiers()->getSecurityComponentMethodModifier()->setPadding(self, (const Opt_Union_Padding_Dimension*)&value_value);
19284 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_padding,Ark_NativePointer,KSerializerBuffer,int32_t)19285 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t)
19286 void impl_SecurityComponentMethod_textIconSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19287         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19288         Deserializer thisDeserializer(thisArray, thisLength);
19289         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19290         Opt_Length value_value_buf = {};
19291         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19292         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19293         {
19294             value_value_buf.value = thisDeserializer.readLength();
19295         }
19296         Opt_Length value_value = value_value_buf;;
19297         GetNodeModifiers()->getSecurityComponentMethodModifier()->setTextIconSpace(self, (const Opt_Length*)&value_value);
19298 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_textIconSpace,Ark_NativePointer,KSerializerBuffer,int32_t)19299 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_textIconSpace, Ark_NativePointer, KSerializerBuffer, int32_t)
19300 void impl_SecurityComponentMethod_key(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19301         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19302         Deserializer thisDeserializer(thisArray, thisLength);
19303         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19304         Opt_String value_value_buf = {};
19305         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19306         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19307         {
19308             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
19309         }
19310         Opt_String value_value = value_value_buf;;
19311         GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, (const Opt_String*)&value_value);
19312 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_key,Ark_NativePointer,KSerializerBuffer,int32_t)19313 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_key, Ark_NativePointer, KSerializerBuffer, int32_t)
19314 void impl_SecurityComponentMethod_width(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19315         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19316         Deserializer thisDeserializer(thisArray, thisLength);
19317         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19318         Opt_Length value_value_buf = {};
19319         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19320         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19321         {
19322             value_value_buf.value = thisDeserializer.readLength();
19323         }
19324         Opt_Length value_value = value_value_buf;;
19325         GetNodeModifiers()->getSecurityComponentMethodModifier()->setWidth(self, (const Opt_Length*)&value_value);
19326 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_width,Ark_NativePointer,KSerializerBuffer,int32_t)19327 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_width, Ark_NativePointer, KSerializerBuffer, int32_t)
19328 void impl_SecurityComponentMethod_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19329         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19330         Deserializer thisDeserializer(thisArray, thisLength);
19331         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19332         Opt_Length value_value_buf = {};
19333         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19334         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19335         {
19336             value_value_buf.value = thisDeserializer.readLength();
19337         }
19338         Opt_Length value_value = value_value_buf;;
19339         GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeight(self, (const Opt_Length*)&value_value);
19340 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_height,Ark_NativePointer,KSerializerBuffer,int32_t)19341 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_height, Ark_NativePointer, KSerializerBuffer, int32_t)
19342 void impl_SecurityComponentMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19343         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19344         Deserializer thisDeserializer(thisArray, thisLength);
19345         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19346         Opt_SizeOptions value_value_buf = {};
19347         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19348         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19349         {
19350             value_value_buf.value = thisDeserializer.readSizeOptions();
19351         }
19352         Opt_SizeOptions value_value = value_value_buf;;
19353         GetNodeModifiers()->getSecurityComponentMethodModifier()->setSize(self, (const Opt_SizeOptions*)&value_value);
19354 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_size,Ark_NativePointer,KSerializerBuffer,int32_t)19355 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t)
19356 void impl_SecurityComponentMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19357         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19358         Deserializer thisDeserializer(thisArray, thisLength);
19359         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19360         Opt_ConstraintSizeOptions value_value_buf = {};
19361         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19362         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19363         {
19364             value_value_buf.value = thisDeserializer.readConstraintSizeOptions();
19365         }
19366         Opt_ConstraintSizeOptions value_value = value_value_buf;;
19367         GetNodeModifiers()->getSecurityComponentMethodModifier()->setConstraintSize(self, (const Opt_ConstraintSizeOptions*)&value_value);
19368 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_constraintSize,Ark_NativePointer,KSerializerBuffer,int32_t)19369 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t)
19370 void impl_SecurityComponentMethod_align(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19371         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19372         Deserializer thisDeserializer(thisArray, thisLength);
19373         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19374         Opt_Alignment value_value_buf = {};
19375         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19376         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19377         {
19378             value_value_buf.value = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
19379         }
19380         Opt_Alignment value_value = value_value_buf;;
19381         GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlign(self, (const Opt_Alignment*)&value_value);
19382 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_align,Ark_NativePointer,KSerializerBuffer,int32_t)19383 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_align, Ark_NativePointer, KSerializerBuffer, int32_t)
19384 void impl_SecurityComponentMethod_alignRules0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19385         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19386         Deserializer thisDeserializer(thisArray, thisLength);
19387         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19388         Opt_AlignRuleOption value_value_buf = {};
19389         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19390         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19391         {
19392             value_value_buf.value = thisDeserializer.readAlignRuleOption();
19393         }
19394         Opt_AlignRuleOption value_value = value_value_buf;;
19395         GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules0(self, (const Opt_AlignRuleOption*)&value_value);
19396 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules0,Ark_NativePointer,KSerializerBuffer,int32_t)19397 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules0, Ark_NativePointer, KSerializerBuffer, int32_t)
19398 void impl_SecurityComponentMethod_alignRules1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19399         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19400         Deserializer thisDeserializer(thisArray, thisLength);
19401         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19402         Opt_LocalizedAlignRuleOptions value_value_buf = {};
19403         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19404         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19405         {
19406             value_value_buf.value = thisDeserializer.readLocalizedAlignRuleOptions();
19407         }
19408         Opt_LocalizedAlignRuleOptions value_value = value_value_buf;;
19409         GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules1(self, (const Opt_LocalizedAlignRuleOptions*)&value_value);
19410 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules1,Ark_NativePointer,KSerializerBuffer,int32_t)19411 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules1, Ark_NativePointer, KSerializerBuffer, int32_t)
19412 void impl_SecurityComponentMethod_id(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19413         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19414         Deserializer thisDeserializer(thisArray, thisLength);
19415         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19416         Opt_String value_value_buf = {};
19417         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19418         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19419         {
19420             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
19421         }
19422         Opt_String value_value = value_value_buf;;
19423         GetNodeModifiers()->getSecurityComponentMethodModifier()->setId(self, (const Opt_String*)&value_value);
19424 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_id,Ark_NativePointer,KSerializerBuffer,int32_t)19425 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_id, Ark_NativePointer, KSerializerBuffer, int32_t)
19426 void impl_SecurityComponentMethod_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19427         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19428         Deserializer thisDeserializer(thisArray, thisLength);
19429         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19430         Opt_Union_Number_Resource value_value_buf = {};
19431         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19432         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19433         {
19434             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19435             Ark_Union_Number_Resource value_value_buf_ = {};
19436             value_value_buf_.selector = value_value_buf__selector;
19437             if (value_value_buf__selector == 0) {
19438                 value_value_buf_.selector = 0;
19439                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19440             }
19441             else if (value_value_buf__selector == 1) {
19442                 value_value_buf_.selector = 1;
19443                 value_value_buf_.value1 = thisDeserializer.readResource();
19444             }
19445             else {
19446                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19447             }
19448             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
19449         }
19450         Opt_Union_Number_Resource value_value = value_value_buf;;
19451         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
19452 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)19453 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
19454 void impl_SecurityComponentMethod_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19455         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19456         Deserializer thisDeserializer(thisArray, thisLength);
19457         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19458         Opt_Union_Number_Resource value_value_buf = {};
19459         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19460         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19461         {
19462             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19463             Ark_Union_Number_Resource value_value_buf_ = {};
19464             value_value_buf_.selector = value_value_buf__selector;
19465             if (value_value_buf__selector == 0) {
19466                 value_value_buf_.selector = 0;
19467                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19468             }
19469             else if (value_value_buf__selector == 1) {
19470                 value_value_buf_.selector = 1;
19471                 value_value_buf_.value1 = thisDeserializer.readResource();
19472             }
19473             else {
19474                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19475             }
19476             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
19477         }
19478         Opt_Union_Number_Resource value_value = value_value_buf;;
19479         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
19480 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)19481 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
19482 void impl_SecurityComponentMethod_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19483         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19484         Deserializer thisDeserializer(thisArray, thisLength);
19485         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19486         Opt_Number value_value_buf = {};
19487         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19488         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19489         {
19490             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
19491         }
19492         Opt_Number value_value = value_value_buf;;
19493         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxLines(self, (const Opt_Number*)&value_value);
19494 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxLines,Ark_NativePointer,KSerializerBuffer,int32_t)19495 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t)
19496 void impl_SecurityComponentMethod_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19497         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19498         Deserializer thisDeserializer(thisArray, thisLength);
19499         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19500         Opt_Union_Number_String_Resource value_value_buf = {};
19501         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19502         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19503         {
19504             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19505             Ark_Union_Number_String_Resource value_value_buf_ = {};
19506             value_value_buf_.selector = value_value_buf__selector;
19507             if (value_value_buf__selector == 0) {
19508                 value_value_buf_.selector = 0;
19509                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19510             }
19511             else if (value_value_buf__selector == 1) {
19512                 value_value_buf_.selector = 1;
19513                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
19514             }
19515             else if (value_value_buf__selector == 2) {
19516                 value_value_buf_.selector = 2;
19517                 value_value_buf_.value2 = thisDeserializer.readResource();
19518             }
19519             else {
19520                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19521             }
19522             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
19523         }
19524         Opt_Union_Number_String_Resource value_value = value_value_buf;;
19525         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
19526 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)19527 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
19528 void impl_SecurityComponentMethod_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19529         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19530         Deserializer thisDeserializer(thisArray, thisLength);
19531         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19532         Opt_Union_Number_String_Resource value_value_buf = {};
19533         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19534         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19535         {
19536             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19537             Ark_Union_Number_String_Resource value_value_buf_ = {};
19538             value_value_buf_.selector = value_value_buf__selector;
19539             if (value_value_buf__selector == 0) {
19540                 value_value_buf_.selector = 0;
19541                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19542             }
19543             else if (value_value_buf__selector == 1) {
19544                 value_value_buf_.selector = 1;
19545                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
19546             }
19547             else if (value_value_buf__selector == 2) {
19548                 value_value_buf_.selector = 2;
19549                 value_value_buf_.value2 = thisDeserializer.readResource();
19550             }
19551             else {
19552                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19553             }
19554             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
19555         }
19556         Opt_Union_Number_String_Resource value_value = value_value_buf;;
19557         GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
19558 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)19559 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
19560 void impl_SecurityComponentMethod_heightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19561         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19562         Deserializer thisDeserializer(thisArray, thisLength);
19563         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19564         Opt_TextHeightAdaptivePolicy value_value_buf = {};
19565         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19566         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19567         {
19568             value_value_buf.value = static_cast<Ark_TextHeightAdaptivePolicy>(thisDeserializer.readInt32());
19569         }
19570         Opt_TextHeightAdaptivePolicy value_value = value_value_buf;;
19571         GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeightAdaptivePolicy(self, (const Opt_TextHeightAdaptivePolicy*)&value_value);
19572 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_heightAdaptivePolicy,Ark_NativePointer,KSerializerBuffer,int32_t)19573 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_heightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, int32_t)
19574 void impl_SecurityComponentMethod_enabled(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19575         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19576         Deserializer thisDeserializer(thisArray, thisLength);
19577         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19578         Opt_Boolean value_value_buf = {};
19579         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19580         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19581         {
19582             value_value_buf.value = thisDeserializer.readBoolean();
19583         }
19584         Opt_Boolean value_value = value_value_buf;;
19585         GetNodeModifiers()->getSecurityComponentMethodModifier()->setEnabled(self, (const Opt_Boolean*)&value_value);
19586 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_enabled,Ark_NativePointer,KSerializerBuffer,int32_t)19587 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_enabled, Ark_NativePointer, KSerializerBuffer, int32_t)
19588 void impl_SecurityComponentMethod_chainMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19589         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19590         Deserializer thisDeserializer(thisArray, thisLength);
19591         const auto direction_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19592         Opt_Axis direction_value_buf = {};
19593         direction_value_buf.tag = direction_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19594         if ((INTEROP_RUNTIME_UNDEFINED) != (direction_value_buf_runtimeType))
19595         {
19596             direction_value_buf.value = static_cast<Ark_Axis>(thisDeserializer.readInt32());
19597         }
19598         Opt_Axis direction_value = direction_value_buf;;
19599         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19600         Opt_ChainStyle style_value_buf = {};
19601         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19602         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
19603         {
19604             style_value_buf.value = static_cast<Ark_ChainStyle>(thisDeserializer.readInt32());
19605         }
19606         Opt_ChainStyle style_value = style_value_buf;;
19607         GetNodeModifiers()->getSecurityComponentMethodModifier()->setChainMode(self, (const Opt_Axis*)&direction_value, (const Opt_ChainStyle*)&style_value);
19608 }
KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_chainMode,Ark_NativePointer,KSerializerBuffer,int32_t)19609 KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_chainMode, Ark_NativePointer, KSerializerBuffer, int32_t)
19610 Ark_NativePointer impl_Select_construct(Ark_Int32 id, Ark_Int32 flags) {
19611         return GetNodeModifiers()->getSelectModifier()->construct(id, flags);
19612 }
KOALA_INTEROP_DIRECT_2(Select_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)19613 KOALA_INTEROP_DIRECT_2(Select_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
19614 void impl_SelectInterface_setSelectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19615         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19616         Deserializer thisDeserializer(thisArray, thisLength);
19617         const Ark_Int32 options_value_buf_length = thisDeserializer.readInt32();
19618         Array_SelectOption options_value_buf = {};
19619         thisDeserializer.resizeArray<std::decay<decltype(options_value_buf)>::type,
19620         std::decay<decltype(*options_value_buf.array)>::type>(&options_value_buf, options_value_buf_length);
19621         for (int options_value_buf_i = 0; options_value_buf_i < options_value_buf_length; options_value_buf_i++) {
19622             options_value_buf.array[options_value_buf_i] = thisDeserializer.readSelectOption();
19623         }
19624         Array_SelectOption options_value = options_value_buf;;
19625         GetNodeModifiers()->getSelectModifier()->setSelectOptions(self, (const Array_SelectOption*)&options_value);
19626 }
KOALA_INTEROP_DIRECT_V3(SelectInterface_setSelectOptions,Ark_NativePointer,KSerializerBuffer,int32_t)19627 KOALA_INTEROP_DIRECT_V3(SelectInterface_setSelectOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
19628 void impl_SelectAttribute_selected0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19629         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19630         Deserializer thisDeserializer(thisArray, thisLength);
19631         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19632         Opt_Union_Number_Resource value_value_buf = {};
19633         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19634         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19635         {
19636             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19637             Ark_Union_Number_Resource value_value_buf_ = {};
19638             value_value_buf_.selector = value_value_buf__selector;
19639             if (value_value_buf__selector == 0) {
19640                 value_value_buf_.selector = 0;
19641                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19642             }
19643             else if (value_value_buf__selector == 1) {
19644                 value_value_buf_.selector = 1;
19645                 value_value_buf_.value1 = thisDeserializer.readResource();
19646             }
19647             else {
19648                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19649             }
19650             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
19651         }
19652         Opt_Union_Number_Resource value_value = value_value_buf;;
19653         GetNodeModifiers()->getSelectModifier()->setSelected0(self, (const Opt_Union_Number_Resource*)&value_value);
19654 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected0,Ark_NativePointer,KSerializerBuffer,int32_t)19655 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected0, Ark_NativePointer, KSerializerBuffer, int32_t)
19656 void impl_SelectAttribute_selected1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19657         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19658         Deserializer thisDeserializer(thisArray, thisLength);
19659         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19660         Opt_Union_Number_Resource value_value_buf = {};
19661         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19662         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19663         {
19664             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19665             Ark_Union_Number_Resource value_value_buf_ = {};
19666             value_value_buf_.selector = value_value_buf__selector;
19667             if (value_value_buf__selector == 0) {
19668                 value_value_buf_.selector = 0;
19669                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19670             }
19671             else if (value_value_buf__selector == 1) {
19672                 value_value_buf_.selector = 1;
19673                 value_value_buf_.value1 = thisDeserializer.readResource();
19674             }
19675             else {
19676                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19677             }
19678             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
19679         }
19680         Opt_Union_Number_Resource value_value = value_value_buf;;
19681         GetNodeModifiers()->getSelectModifier()->setSelected1(self, (const Opt_Union_Number_Resource*)&value_value);
19682 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected1,Ark_NativePointer,KSerializerBuffer,int32_t)19683 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected1, Ark_NativePointer, KSerializerBuffer, int32_t)
19684 void impl_SelectAttribute_value0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19685         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19686         Deserializer thisDeserializer(thisArray, thisLength);
19687         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19688         Opt_ResourceStr value_value_buf = {};
19689         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19690         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19691         {
19692             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19693             Ark_ResourceStr value_value_buf_ = {};
19694             value_value_buf_.selector = value_value_buf__selector;
19695             if (value_value_buf__selector == 0) {
19696                 value_value_buf_.selector = 0;
19697                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
19698             }
19699             else if (value_value_buf__selector == 1) {
19700                 value_value_buf_.selector = 1;
19701                 value_value_buf_.value1 = thisDeserializer.readResource();
19702             }
19703             else {
19704                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19705             }
19706             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
19707         }
19708         Opt_ResourceStr value_value = value_value_buf;;
19709         GetNodeModifiers()->getSelectModifier()->setValue0(self, (const Opt_ResourceStr*)&value_value);
19710 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_value0,Ark_NativePointer,KSerializerBuffer,int32_t)19711 KOALA_INTEROP_DIRECT_V3(SelectAttribute_value0, Ark_NativePointer, KSerializerBuffer, int32_t)
19712 void impl_SelectAttribute_value1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19713         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19714         Deserializer thisDeserializer(thisArray, thisLength);
19715         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19716         Opt_ResourceStr value_value_buf = {};
19717         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19718         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19719         {
19720             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19721             Ark_ResourceStr value_value_buf_ = {};
19722             value_value_buf_.selector = value_value_buf__selector;
19723             if (value_value_buf__selector == 0) {
19724                 value_value_buf_.selector = 0;
19725                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
19726             }
19727             else if (value_value_buf__selector == 1) {
19728                 value_value_buf_.selector = 1;
19729                 value_value_buf_.value1 = thisDeserializer.readResource();
19730             }
19731             else {
19732                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19733             }
19734             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
19735         }
19736         Opt_ResourceStr value_value = value_value_buf;;
19737         GetNodeModifiers()->getSelectModifier()->setValue1(self, (const Opt_ResourceStr*)&value_value);
19738 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_value1,Ark_NativePointer,KSerializerBuffer,int32_t)19739 KOALA_INTEROP_DIRECT_V3(SelectAttribute_value1, Ark_NativePointer, KSerializerBuffer, int32_t)
19740 void impl_SelectAttribute_font0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19741         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19742         Deserializer thisDeserializer(thisArray, thisLength);
19743         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19744         Opt_Font value_value_buf = {};
19745         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19746         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19747         {
19748             value_value_buf.value = thisDeserializer.readFont();
19749         }
19750         Opt_Font value_value = value_value_buf;;
19751         GetNodeModifiers()->getSelectModifier()->setFont0(self, (const Opt_Font*)&value_value);
19752 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_font0,Ark_NativePointer,KSerializerBuffer,int32_t)19753 KOALA_INTEROP_DIRECT_V3(SelectAttribute_font0, Ark_NativePointer, KSerializerBuffer, int32_t)
19754 void impl_SelectAttribute_font1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19755         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19756         Deserializer thisDeserializer(thisArray, thisLength);
19757         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19758         Opt_Font value_value_buf = {};
19759         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19760         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19761         {
19762             value_value_buf.value = thisDeserializer.readFont();
19763         }
19764         Opt_Font value_value = value_value_buf;;
19765         GetNodeModifiers()->getSelectModifier()->setFont1(self, (const Opt_Font*)&value_value);
19766 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_font1,Ark_NativePointer,KSerializerBuffer,int32_t)19767 KOALA_INTEROP_DIRECT_V3(SelectAttribute_font1, Ark_NativePointer, KSerializerBuffer, int32_t)
19768 void impl_SelectAttribute_fontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19769         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19770         Deserializer thisDeserializer(thisArray, thisLength);
19771         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19772         Opt_ResourceColor value_value_buf = {};
19773         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19774         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19775         {
19776             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19777             Ark_ResourceColor value_value_buf_ = {};
19778             value_value_buf_.selector = value_value_buf__selector;
19779             if (value_value_buf__selector == 0) {
19780                 value_value_buf_.selector = 0;
19781                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19782             }
19783             else if (value_value_buf__selector == 1) {
19784                 value_value_buf_.selector = 1;
19785                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19786             }
19787             else if (value_value_buf__selector == 2) {
19788                 value_value_buf_.selector = 2;
19789                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19790             }
19791             else if (value_value_buf__selector == 3) {
19792                 value_value_buf_.selector = 3;
19793                 value_value_buf_.value3 = thisDeserializer.readResource();
19794             }
19795             else {
19796                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19797             }
19798             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19799         }
19800         Opt_ResourceColor value_value = value_value_buf;;
19801         GetNodeModifiers()->getSelectModifier()->setFontColor0(self, (const Opt_ResourceColor*)&value_value);
19802 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor0,Ark_NativePointer,KSerializerBuffer,int32_t)19803 KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
19804 void impl_SelectAttribute_fontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19805         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19806         Deserializer thisDeserializer(thisArray, thisLength);
19807         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19808         Opt_ResourceColor value_value_buf = {};
19809         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19810         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19811         {
19812             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19813             Ark_ResourceColor value_value_buf_ = {};
19814             value_value_buf_.selector = value_value_buf__selector;
19815             if (value_value_buf__selector == 0) {
19816                 value_value_buf_.selector = 0;
19817                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19818             }
19819             else if (value_value_buf__selector == 1) {
19820                 value_value_buf_.selector = 1;
19821                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19822             }
19823             else if (value_value_buf__selector == 2) {
19824                 value_value_buf_.selector = 2;
19825                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19826             }
19827             else if (value_value_buf__selector == 3) {
19828                 value_value_buf_.selector = 3;
19829                 value_value_buf_.value3 = thisDeserializer.readResource();
19830             }
19831             else {
19832                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19833             }
19834             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19835         }
19836         Opt_ResourceColor value_value = value_value_buf;;
19837         GetNodeModifiers()->getSelectModifier()->setFontColor1(self, (const Opt_ResourceColor*)&value_value);
19838 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor1,Ark_NativePointer,KSerializerBuffer,int32_t)19839 KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
19840 void impl_SelectAttribute_selectedOptionBgColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19841         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19842         Deserializer thisDeserializer(thisArray, thisLength);
19843         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19844         Opt_ResourceColor value_value_buf = {};
19845         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19846         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19847         {
19848             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19849             Ark_ResourceColor value_value_buf_ = {};
19850             value_value_buf_.selector = value_value_buf__selector;
19851             if (value_value_buf__selector == 0) {
19852                 value_value_buf_.selector = 0;
19853                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19854             }
19855             else if (value_value_buf__selector == 1) {
19856                 value_value_buf_.selector = 1;
19857                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19858             }
19859             else if (value_value_buf__selector == 2) {
19860                 value_value_buf_.selector = 2;
19861                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19862             }
19863             else if (value_value_buf__selector == 3) {
19864                 value_value_buf_.selector = 3;
19865                 value_value_buf_.value3 = thisDeserializer.readResource();
19866             }
19867             else {
19868                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19869             }
19870             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19871         }
19872         Opt_ResourceColor value_value = value_value_buf;;
19873         GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor0(self, (const Opt_ResourceColor*)&value_value);
19874 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor0,Ark_NativePointer,KSerializerBuffer,int32_t)19875 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
19876 void impl_SelectAttribute_selectedOptionBgColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19877         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19878         Deserializer thisDeserializer(thisArray, thisLength);
19879         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19880         Opt_ResourceColor value_value_buf = {};
19881         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19882         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19883         {
19884             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19885             Ark_ResourceColor value_value_buf_ = {};
19886             value_value_buf_.selector = value_value_buf__selector;
19887             if (value_value_buf__selector == 0) {
19888                 value_value_buf_.selector = 0;
19889                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19890             }
19891             else if (value_value_buf__selector == 1) {
19892                 value_value_buf_.selector = 1;
19893                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19894             }
19895             else if (value_value_buf__selector == 2) {
19896                 value_value_buf_.selector = 2;
19897                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19898             }
19899             else if (value_value_buf__selector == 3) {
19900                 value_value_buf_.selector = 3;
19901                 value_value_buf_.value3 = thisDeserializer.readResource();
19902             }
19903             else {
19904                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19905             }
19906             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19907         }
19908         Opt_ResourceColor value_value = value_value_buf;;
19909         GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor1(self, (const Opt_ResourceColor*)&value_value);
19910 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor1,Ark_NativePointer,KSerializerBuffer,int32_t)19911 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
19912 void impl_SelectAttribute_selectedOptionFont0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19913         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19914         Deserializer thisDeserializer(thisArray, thisLength);
19915         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19916         Opt_Font value_value_buf = {};
19917         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19918         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19919         {
19920             value_value_buf.value = thisDeserializer.readFont();
19921         }
19922         Opt_Font value_value = value_value_buf;;
19923         GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont0(self, (const Opt_Font*)&value_value);
19924 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont0,Ark_NativePointer,KSerializerBuffer,int32_t)19925 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont0, Ark_NativePointer, KSerializerBuffer, int32_t)
19926 void impl_SelectAttribute_selectedOptionFont1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19927         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19928         Deserializer thisDeserializer(thisArray, thisLength);
19929         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19930         Opt_Font value_value_buf = {};
19931         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19932         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19933         {
19934             value_value_buf.value = thisDeserializer.readFont();
19935         }
19936         Opt_Font value_value = value_value_buf;;
19937         GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont1(self, (const Opt_Font*)&value_value);
19938 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont1,Ark_NativePointer,KSerializerBuffer,int32_t)19939 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont1, Ark_NativePointer, KSerializerBuffer, int32_t)
19940 void impl_SelectAttribute_selectedOptionFontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19941         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19942         Deserializer thisDeserializer(thisArray, thisLength);
19943         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19944         Opt_ResourceColor value_value_buf = {};
19945         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19946         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19947         {
19948             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19949             Ark_ResourceColor value_value_buf_ = {};
19950             value_value_buf_.selector = value_value_buf__selector;
19951             if (value_value_buf__selector == 0) {
19952                 value_value_buf_.selector = 0;
19953                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19954             }
19955             else if (value_value_buf__selector == 1) {
19956                 value_value_buf_.selector = 1;
19957                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19958             }
19959             else if (value_value_buf__selector == 2) {
19960                 value_value_buf_.selector = 2;
19961                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19962             }
19963             else if (value_value_buf__selector == 3) {
19964                 value_value_buf_.selector = 3;
19965                 value_value_buf_.value3 = thisDeserializer.readResource();
19966             }
19967             else {
19968                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
19969             }
19970             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
19971         }
19972         Opt_ResourceColor value_value = value_value_buf;;
19973         GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor0(self, (const Opt_ResourceColor*)&value_value);
19974 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor0,Ark_NativePointer,KSerializerBuffer,int32_t)19975 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
19976 void impl_SelectAttribute_selectedOptionFontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
19977         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
19978         Deserializer thisDeserializer(thisArray, thisLength);
19979         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
19980         Opt_ResourceColor value_value_buf = {};
19981         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
19982         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
19983         {
19984             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
19985             Ark_ResourceColor value_value_buf_ = {};
19986             value_value_buf_.selector = value_value_buf__selector;
19987             if (value_value_buf__selector == 0) {
19988                 value_value_buf_.selector = 0;
19989                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
19990             }
19991             else if (value_value_buf__selector == 1) {
19992                 value_value_buf_.selector = 1;
19993                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
19994             }
19995             else if (value_value_buf__selector == 2) {
19996                 value_value_buf_.selector = 2;
19997                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
19998             }
19999             else if (value_value_buf__selector == 3) {
20000                 value_value_buf_.selector = 3;
20001                 value_value_buf_.value3 = thisDeserializer.readResource();
20002             }
20003             else {
20004                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20005             }
20006             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20007         }
20008         Opt_ResourceColor value_value = value_value_buf;;
20009         GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor1(self, (const Opt_ResourceColor*)&value_value);
20010 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor1,Ark_NativePointer,KSerializerBuffer,int32_t)20011 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
20012 void impl_SelectAttribute_optionBgColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20013         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20014         Deserializer thisDeserializer(thisArray, thisLength);
20015         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20016         Opt_ResourceColor value_value_buf = {};
20017         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20018         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20019         {
20020             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20021             Ark_ResourceColor value_value_buf_ = {};
20022             value_value_buf_.selector = value_value_buf__selector;
20023             if (value_value_buf__selector == 0) {
20024                 value_value_buf_.selector = 0;
20025                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20026             }
20027             else if (value_value_buf__selector == 1) {
20028                 value_value_buf_.selector = 1;
20029                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20030             }
20031             else if (value_value_buf__selector == 2) {
20032                 value_value_buf_.selector = 2;
20033                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20034             }
20035             else if (value_value_buf__selector == 3) {
20036                 value_value_buf_.selector = 3;
20037                 value_value_buf_.value3 = thisDeserializer.readResource();
20038             }
20039             else {
20040                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20041             }
20042             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20043         }
20044         Opt_ResourceColor value_value = value_value_buf;;
20045         GetNodeModifiers()->getSelectModifier()->setOptionBgColor0(self, (const Opt_ResourceColor*)&value_value);
20046 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor0,Ark_NativePointer,KSerializerBuffer,int32_t)20047 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
20048 void impl_SelectAttribute_optionBgColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20049         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20050         Deserializer thisDeserializer(thisArray, thisLength);
20051         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20052         Opt_ResourceColor value_value_buf = {};
20053         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20054         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20055         {
20056             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20057             Ark_ResourceColor value_value_buf_ = {};
20058             value_value_buf_.selector = value_value_buf__selector;
20059             if (value_value_buf__selector == 0) {
20060                 value_value_buf_.selector = 0;
20061                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20062             }
20063             else if (value_value_buf__selector == 1) {
20064                 value_value_buf_.selector = 1;
20065                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20066             }
20067             else if (value_value_buf__selector == 2) {
20068                 value_value_buf_.selector = 2;
20069                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20070             }
20071             else if (value_value_buf__selector == 3) {
20072                 value_value_buf_.selector = 3;
20073                 value_value_buf_.value3 = thisDeserializer.readResource();
20074             }
20075             else {
20076                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20077             }
20078             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20079         }
20080         Opt_ResourceColor value_value = value_value_buf;;
20081         GetNodeModifiers()->getSelectModifier()->setOptionBgColor1(self, (const Opt_ResourceColor*)&value_value);
20082 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor1,Ark_NativePointer,KSerializerBuffer,int32_t)20083 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
20084 void impl_SelectAttribute_optionFont0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20085         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20086         Deserializer thisDeserializer(thisArray, thisLength);
20087         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20088         Opt_Font value_value_buf = {};
20089         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20090         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20091         {
20092             value_value_buf.value = thisDeserializer.readFont();
20093         }
20094         Opt_Font value_value = value_value_buf;;
20095         GetNodeModifiers()->getSelectModifier()->setOptionFont0(self, (const Opt_Font*)&value_value);
20096 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont0,Ark_NativePointer,KSerializerBuffer,int32_t)20097 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont0, Ark_NativePointer, KSerializerBuffer, int32_t)
20098 void impl_SelectAttribute_optionFont1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20099         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20100         Deserializer thisDeserializer(thisArray, thisLength);
20101         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20102         Opt_Font value_value_buf = {};
20103         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20104         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20105         {
20106             value_value_buf.value = thisDeserializer.readFont();
20107         }
20108         Opt_Font value_value = value_value_buf;;
20109         GetNodeModifiers()->getSelectModifier()->setOptionFont1(self, (const Opt_Font*)&value_value);
20110 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont1,Ark_NativePointer,KSerializerBuffer,int32_t)20111 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont1, Ark_NativePointer, KSerializerBuffer, int32_t)
20112 void impl_SelectAttribute_optionFontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20113         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20114         Deserializer thisDeserializer(thisArray, thisLength);
20115         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20116         Opt_ResourceColor value_value_buf = {};
20117         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20118         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20119         {
20120             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20121             Ark_ResourceColor value_value_buf_ = {};
20122             value_value_buf_.selector = value_value_buf__selector;
20123             if (value_value_buf__selector == 0) {
20124                 value_value_buf_.selector = 0;
20125                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20126             }
20127             else if (value_value_buf__selector == 1) {
20128                 value_value_buf_.selector = 1;
20129                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20130             }
20131             else if (value_value_buf__selector == 2) {
20132                 value_value_buf_.selector = 2;
20133                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20134             }
20135             else if (value_value_buf__selector == 3) {
20136                 value_value_buf_.selector = 3;
20137                 value_value_buf_.value3 = thisDeserializer.readResource();
20138             }
20139             else {
20140                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20141             }
20142             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20143         }
20144         Opt_ResourceColor value_value = value_value_buf;;
20145         GetNodeModifiers()->getSelectModifier()->setOptionFontColor0(self, (const Opt_ResourceColor*)&value_value);
20146 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor0,Ark_NativePointer,KSerializerBuffer,int32_t)20147 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
20148 void impl_SelectAttribute_optionFontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20149         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20150         Deserializer thisDeserializer(thisArray, thisLength);
20151         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20152         Opt_ResourceColor value_value_buf = {};
20153         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20154         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20155         {
20156             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20157             Ark_ResourceColor value_value_buf_ = {};
20158             value_value_buf_.selector = value_value_buf__selector;
20159             if (value_value_buf__selector == 0) {
20160                 value_value_buf_.selector = 0;
20161                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20162             }
20163             else if (value_value_buf__selector == 1) {
20164                 value_value_buf_.selector = 1;
20165                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20166             }
20167             else if (value_value_buf__selector == 2) {
20168                 value_value_buf_.selector = 2;
20169                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20170             }
20171             else if (value_value_buf__selector == 3) {
20172                 value_value_buf_.selector = 3;
20173                 value_value_buf_.value3 = thisDeserializer.readResource();
20174             }
20175             else {
20176                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20177             }
20178             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20179         }
20180         Opt_ResourceColor value_value = value_value_buf;;
20181         GetNodeModifiers()->getSelectModifier()->setOptionFontColor1(self, (const Opt_ResourceColor*)&value_value);
20182 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor1,Ark_NativePointer,KSerializerBuffer,int32_t)20183 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
20184 void impl_SelectAttribute_onSelect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20185         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20186         Deserializer thisDeserializer(thisArray, thisLength);
20187         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20188         Opt_Callback_Number_String_Void value_value_buf = {};
20189         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20190         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20191         {
20192             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_String_Void))))};
20193         }
20194         Opt_Callback_Number_String_Void value_value = value_value_buf;;
20195         GetNodeModifiers()->getSelectModifier()->setOnSelect0(self, (const Opt_Callback_Number_String_Void*)&value_value);
20196 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect0,Ark_NativePointer,KSerializerBuffer,int32_t)20197 KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect0, Ark_NativePointer, KSerializerBuffer, int32_t)
20198 void impl_SelectAttribute_onSelect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20199         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20200         Deserializer thisDeserializer(thisArray, thisLength);
20201         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20202         Opt_OnSelectCallback value_value_buf = {};
20203         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20204         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20205         {
20206             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_String selectStr)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSelectCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_String selectStr)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSelectCallback))))};
20207         }
20208         Opt_OnSelectCallback value_value = value_value_buf;;
20209         GetNodeModifiers()->getSelectModifier()->setOnSelect1(self, (const Opt_OnSelectCallback*)&value_value);
20210 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect1,Ark_NativePointer,KSerializerBuffer,int32_t)20211 KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect1, Ark_NativePointer, KSerializerBuffer, int32_t)
20212 void impl_SelectAttribute_space0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20213         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20214         Deserializer thisDeserializer(thisArray, thisLength);
20215         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20216         Opt_Length value_value_buf = {};
20217         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20218         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20219         {
20220             value_value_buf.value = thisDeserializer.readLength();
20221         }
20222         Opt_Length value_value = value_value_buf;;
20223         GetNodeModifiers()->getSelectModifier()->setSpace0(self, (const Opt_Length*)&value_value);
20224 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_space0,Ark_NativePointer,KSerializerBuffer,int32_t)20225 KOALA_INTEROP_DIRECT_V3(SelectAttribute_space0, Ark_NativePointer, KSerializerBuffer, int32_t)
20226 void impl_SelectAttribute_space1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20227         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20228         Deserializer thisDeserializer(thisArray, thisLength);
20229         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20230         Opt_Length value_value_buf = {};
20231         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20232         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20233         {
20234             value_value_buf.value = thisDeserializer.readLength();
20235         }
20236         Opt_Length value_value = value_value_buf;;
20237         GetNodeModifiers()->getSelectModifier()->setSpace1(self, (const Opt_Length*)&value_value);
20238 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_space1,Ark_NativePointer,KSerializerBuffer,int32_t)20239 KOALA_INTEROP_DIRECT_V3(SelectAttribute_space1, Ark_NativePointer, KSerializerBuffer, int32_t)
20240 void impl_SelectAttribute_arrowPosition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20241         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20242         Deserializer thisDeserializer(thisArray, thisLength);
20243         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20244         Opt_ArrowPosition value_value_buf = {};
20245         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20246         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20247         {
20248             value_value_buf.value = static_cast<Ark_ArrowPosition>(thisDeserializer.readInt32());
20249         }
20250         Opt_ArrowPosition value_value = value_value_buf;;
20251         GetNodeModifiers()->getSelectModifier()->setArrowPosition0(self, (const Opt_ArrowPosition*)&value_value);
20252 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowPosition0,Ark_NativePointer,KSerializerBuffer,int32_t)20253 KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowPosition0, Ark_NativePointer, KSerializerBuffer, int32_t)
20254 void impl_SelectAttribute_arrowPosition1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20255         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20256         Deserializer thisDeserializer(thisArray, thisLength);
20257         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20258         Opt_ArrowPosition value_value_buf = {};
20259         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20260         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20261         {
20262             value_value_buf.value = static_cast<Ark_ArrowPosition>(thisDeserializer.readInt32());
20263         }
20264         Opt_ArrowPosition value_value = value_value_buf;;
20265         GetNodeModifiers()->getSelectModifier()->setArrowPosition1(self, (const Opt_ArrowPosition*)&value_value);
20266 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowPosition1,Ark_NativePointer,KSerializerBuffer,int32_t)20267 KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowPosition1, Ark_NativePointer, KSerializerBuffer, int32_t)
20268 void impl_SelectAttribute_optionWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20269         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20270         Deserializer thisDeserializer(thisArray, thisLength);
20271         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20272         Opt_Union_Dimension_OptionWidthMode value_value_buf = {};
20273         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20274         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20275         {
20276             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20277             Ark_Union_Dimension_OptionWidthMode value_value_buf_ = {};
20278             value_value_buf_.selector = value_value_buf__selector;
20279             if (value_value_buf__selector == 0) {
20280                 value_value_buf_.selector = 0;
20281                 value_value_buf_.value0 = thisDeserializer.readLength();
20282             }
20283             else if (value_value_buf__selector == 1) {
20284                 value_value_buf_.selector = 1;
20285                 value_value_buf_.value1 = static_cast<Ark_OptionWidthMode>(thisDeserializer.readInt32());
20286             }
20287             else {
20288                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20289             }
20290             value_value_buf.value = static_cast<Ark_Union_Dimension_OptionWidthMode>(value_value_buf_);
20291         }
20292         Opt_Union_Dimension_OptionWidthMode value_value = value_value_buf;;
20293         GetNodeModifiers()->getSelectModifier()->setOptionWidth0(self, (const Opt_Union_Dimension_OptionWidthMode*)&value_value);
20294 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth0,Ark_NativePointer,KSerializerBuffer,int32_t)20295 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth0, Ark_NativePointer, KSerializerBuffer, int32_t)
20296 void impl_SelectAttribute_optionWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20297         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20298         Deserializer thisDeserializer(thisArray, thisLength);
20299         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20300         Opt_Union_Dimension_OptionWidthMode value_value_buf = {};
20301         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20302         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20303         {
20304             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20305             Ark_Union_Dimension_OptionWidthMode value_value_buf_ = {};
20306             value_value_buf_.selector = value_value_buf__selector;
20307             if (value_value_buf__selector == 0) {
20308                 value_value_buf_.selector = 0;
20309                 value_value_buf_.value0 = thisDeserializer.readLength();
20310             }
20311             else if (value_value_buf__selector == 1) {
20312                 value_value_buf_.selector = 1;
20313                 value_value_buf_.value1 = static_cast<Ark_OptionWidthMode>(thisDeserializer.readInt32());
20314             }
20315             else {
20316                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20317             }
20318             value_value_buf.value = static_cast<Ark_Union_Dimension_OptionWidthMode>(value_value_buf_);
20319         }
20320         Opt_Union_Dimension_OptionWidthMode value_value = value_value_buf;;
20321         GetNodeModifiers()->getSelectModifier()->setOptionWidth1(self, (const Opt_Union_Dimension_OptionWidthMode*)&value_value);
20322 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth1,Ark_NativePointer,KSerializerBuffer,int32_t)20323 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth1, Ark_NativePointer, KSerializerBuffer, int32_t)
20324 void impl_SelectAttribute_optionHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20325         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20326         Deserializer thisDeserializer(thisArray, thisLength);
20327         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20328         Opt_Length value_value_buf = {};
20329         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20330         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20331         {
20332             value_value_buf.value = thisDeserializer.readLength();
20333         }
20334         Opt_Length value_value = value_value_buf;;
20335         GetNodeModifiers()->getSelectModifier()->setOptionHeight0(self, (const Opt_Length*)&value_value);
20336 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight0,Ark_NativePointer,KSerializerBuffer,int32_t)20337 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight0, Ark_NativePointer, KSerializerBuffer, int32_t)
20338 void impl_SelectAttribute_optionHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20339         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20340         Deserializer thisDeserializer(thisArray, thisLength);
20341         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20342         Opt_Length value_value_buf = {};
20343         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20344         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20345         {
20346             value_value_buf.value = thisDeserializer.readLength();
20347         }
20348         Opt_Length value_value = value_value_buf;;
20349         GetNodeModifiers()->getSelectModifier()->setOptionHeight1(self, (const Opt_Length*)&value_value);
20350 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight1,Ark_NativePointer,KSerializerBuffer,int32_t)20351 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight1, Ark_NativePointer, KSerializerBuffer, int32_t)
20352 void impl_SelectAttribute_menuBackgroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20353         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20354         Deserializer thisDeserializer(thisArray, thisLength);
20355         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20356         Opt_ResourceColor value_value_buf = {};
20357         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20358         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20359         {
20360             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20361             Ark_ResourceColor value_value_buf_ = {};
20362             value_value_buf_.selector = value_value_buf__selector;
20363             if (value_value_buf__selector == 0) {
20364                 value_value_buf_.selector = 0;
20365                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20366             }
20367             else if (value_value_buf__selector == 1) {
20368                 value_value_buf_.selector = 1;
20369                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20370             }
20371             else if (value_value_buf__selector == 2) {
20372                 value_value_buf_.selector = 2;
20373                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20374             }
20375             else if (value_value_buf__selector == 3) {
20376                 value_value_buf_.selector = 3;
20377                 value_value_buf_.value3 = thisDeserializer.readResource();
20378             }
20379             else {
20380                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20381             }
20382             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20383         }
20384         Opt_ResourceColor value_value = value_value_buf;;
20385         GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor0(self, (const Opt_ResourceColor*)&value_value);
20386 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor0,Ark_NativePointer,KSerializerBuffer,int32_t)20387 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
20388 void impl_SelectAttribute_menuBackgroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20389         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20390         Deserializer thisDeserializer(thisArray, thisLength);
20391         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20392         Opt_ResourceColor value_value_buf = {};
20393         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20394         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20395         {
20396             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20397             Ark_ResourceColor value_value_buf_ = {};
20398             value_value_buf_.selector = value_value_buf__selector;
20399             if (value_value_buf__selector == 0) {
20400                 value_value_buf_.selector = 0;
20401                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20402             }
20403             else if (value_value_buf__selector == 1) {
20404                 value_value_buf_.selector = 1;
20405                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20406             }
20407             else if (value_value_buf__selector == 2) {
20408                 value_value_buf_.selector = 2;
20409                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20410             }
20411             else if (value_value_buf__selector == 3) {
20412                 value_value_buf_.selector = 3;
20413                 value_value_buf_.value3 = thisDeserializer.readResource();
20414             }
20415             else {
20416                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20417             }
20418             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20419         }
20420         Opt_ResourceColor value_value = value_value_buf;;
20421         GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor1(self, (const Opt_ResourceColor*)&value_value);
20422 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor1,Ark_NativePointer,KSerializerBuffer,int32_t)20423 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
20424 void impl_SelectAttribute_menuBackgroundBlurStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20425         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20426         Deserializer thisDeserializer(thisArray, thisLength);
20427         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20428         Opt_BlurStyle value_value_buf = {};
20429         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20430         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20431         {
20432             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
20433         }
20434         Opt_BlurStyle value_value = value_value_buf;;
20435         GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle0(self, (const Opt_BlurStyle*)&value_value);
20436 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundBlurStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)20437 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundBlurStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
20438 void impl_SelectAttribute_menuBackgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20439         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20440         Deserializer thisDeserializer(thisArray, thisLength);
20441         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20442         Opt_BlurStyle value_value_buf = {};
20443         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20444         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20445         {
20446             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
20447         }
20448         Opt_BlurStyle value_value = value_value_buf;;
20449         GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle1(self, (const Opt_BlurStyle*)&value_value);
20450 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundBlurStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)20451 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
20452 void impl_SelectAttribute_controlSize0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20453         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20454         Deserializer thisDeserializer(thisArray, thisLength);
20455         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20456         Opt_ControlSize value_value_buf = {};
20457         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20458         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20459         {
20460             value_value_buf.value = static_cast<Ark_ControlSize>(thisDeserializer.readInt32());
20461         }
20462         Opt_ControlSize value_value = value_value_buf;;
20463         GetNodeModifiers()->getSelectModifier()->setControlSize0(self, (const Opt_ControlSize*)&value_value);
20464 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_controlSize0,Ark_NativePointer,KSerializerBuffer,int32_t)20465 KOALA_INTEROP_DIRECT_V3(SelectAttribute_controlSize0, Ark_NativePointer, KSerializerBuffer, int32_t)
20466 void impl_SelectAttribute_controlSize1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20467         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20468         Deserializer thisDeserializer(thisArray, thisLength);
20469         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20470         Opt_ControlSize value_value_buf = {};
20471         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20472         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20473         {
20474             value_value_buf.value = static_cast<Ark_ControlSize>(thisDeserializer.readInt32());
20475         }
20476         Opt_ControlSize value_value = value_value_buf;;
20477         GetNodeModifiers()->getSelectModifier()->setControlSize1(self, (const Opt_ControlSize*)&value_value);
20478 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_controlSize1,Ark_NativePointer,KSerializerBuffer,int32_t)20479 KOALA_INTEROP_DIRECT_V3(SelectAttribute_controlSize1, Ark_NativePointer, KSerializerBuffer, int32_t)
20480 void impl_SelectAttribute_menuItemContentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20481         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20482         Deserializer thisDeserializer(thisArray, thisLength);
20483         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20484         Opt_ContentModifier value_value_buf = {};
20485         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20486         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20487         {
20488             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
20489         }
20490         Opt_ContentModifier value_value = value_value_buf;;
20491         GetNodeModifiers()->getSelectModifier()->setMenuItemContentModifier0(self, (const Opt_ContentModifier*)&value_value);
20492 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier0,Ark_NativePointer,KSerializerBuffer,int32_t)20493 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t)
20494 void impl_SelectAttribute_menuItemContentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20495         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20496         Deserializer thisDeserializer(thisArray, thisLength);
20497         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20498         Opt_ContentModifier value_value_buf = {};
20499         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20500         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20501         {
20502             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
20503         }
20504         Opt_ContentModifier value_value = value_value_buf;;
20505         GetNodeModifiers()->getSelectModifier()->setMenuItemContentModifier1(self, (const Opt_ContentModifier*)&value_value);
20506 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier1,Ark_NativePointer,KSerializerBuffer,int32_t)20507 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t)
20508 void impl_SelectAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20509         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20510         Deserializer thisDeserializer(thisArray, thisLength);
20511         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20512         Opt_DividerOptions value_value_buf = {};
20513         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20514         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20515         {
20516             value_value_buf.value = thisDeserializer.readDividerOptions();
20517         }
20518         Opt_DividerOptions value_value = value_value_buf;;
20519         GetNodeModifiers()->getSelectModifier()->setDivider(self, (const Opt_DividerOptions*)&value_value);
20520 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)20521 KOALA_INTEROP_DIRECT_V3(SelectAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
20522 void impl_SelectAttribute_textModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20523         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20524         Deserializer thisDeserializer(thisArray, thisLength);
20525         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20526         Opt_TextModifier value_value_buf = {};
20527         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20528         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20529         {
20530             value_value_buf.value = thisDeserializer.readTextModifier();
20531         }
20532         Opt_TextModifier value_value = value_value_buf;;
20533         GetNodeModifiers()->getSelectModifier()->setTextModifier(self, (const Opt_TextModifier*)&value_value);
20534 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_textModifier,Ark_NativePointer,KSerializerBuffer,int32_t)20535 KOALA_INTEROP_DIRECT_V3(SelectAttribute_textModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
20536 void impl_SelectAttribute_arrowModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20537         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20538         Deserializer thisDeserializer(thisArray, thisLength);
20539         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20540         Opt_SymbolGlyphModifier value_value_buf = {};
20541         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20542         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20543         {
20544             value_value_buf.value = thisDeserializer.readSymbolGlyphModifier();
20545         }
20546         Opt_SymbolGlyphModifier value_value = value_value_buf;;
20547         GetNodeModifiers()->getSelectModifier()->setArrowModifier(self, (const Opt_SymbolGlyphModifier*)&value_value);
20548 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowModifier,Ark_NativePointer,KSerializerBuffer,int32_t)20549 KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
20550 void impl_SelectAttribute_optionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20551         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20552         Deserializer thisDeserializer(thisArray, thisLength);
20553         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20554         Opt_TextModifier value_value_buf = {};
20555         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20556         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20557         {
20558             value_value_buf.value = thisDeserializer.readTextModifier();
20559         }
20560         Opt_TextModifier value_value = value_value_buf;;
20561         GetNodeModifiers()->getSelectModifier()->setOptionTextModifier(self, (const Opt_TextModifier*)&value_value);
20562 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionTextModifier,Ark_NativePointer,KSerializerBuffer,int32_t)20563 KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionTextModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
20564 void impl_SelectAttribute_selectedOptionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20565         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20566         Deserializer thisDeserializer(thisArray, thisLength);
20567         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20568         Opt_TextModifier value_value_buf = {};
20569         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20570         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20571         {
20572             value_value_buf.value = thisDeserializer.readTextModifier();
20573         }
20574         Opt_TextModifier value_value = value_value_buf;;
20575         GetNodeModifiers()->getSelectModifier()->setSelectedOptionTextModifier(self, (const Opt_TextModifier*)&value_value);
20576 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionTextModifier,Ark_NativePointer,KSerializerBuffer,int32_t)20577 KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionTextModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
20578 void impl_SelectAttribute_dividerStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20579         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20580         Deserializer thisDeserializer(thisArray, thisLength);
20581         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20582         Opt_DividerStyleOptions value_value_buf = {};
20583         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20584         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20585         {
20586             value_value_buf.value = thisDeserializer.readDividerStyleOptions();
20587         }
20588         Opt_DividerStyleOptions value_value = value_value_buf;;
20589         GetNodeModifiers()->getSelectModifier()->setDividerStyle(self, (const Opt_DividerStyleOptions*)&value_value);
20590 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_dividerStyle,Ark_NativePointer,KSerializerBuffer,int32_t)20591 KOALA_INTEROP_DIRECT_V3(SelectAttribute_dividerStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
20592 void impl_SelectAttribute_avoidance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20593         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20594         Deserializer thisDeserializer(thisArray, thisLength);
20595         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20596         Opt_AvoidanceMode value_value_buf = {};
20597         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20598         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20599         {
20600             value_value_buf.value = static_cast<Ark_AvoidanceMode>(thisDeserializer.readInt32());
20601         }
20602         Opt_AvoidanceMode value_value = value_value_buf;;
20603         GetNodeModifiers()->getSelectModifier()->setAvoidance(self, (const Opt_AvoidanceMode*)&value_value);
20604 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_avoidance,Ark_NativePointer,KSerializerBuffer,int32_t)20605 KOALA_INTEROP_DIRECT_V3(SelectAttribute_avoidance, Ark_NativePointer, KSerializerBuffer, int32_t)
20606 void impl_SelectAttribute_menuOutline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20607         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20608         Deserializer thisDeserializer(thisArray, thisLength);
20609         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20610         Opt_MenuOutlineOptions value_value_buf = {};
20611         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20612         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20613         {
20614             value_value_buf.value = thisDeserializer.readMenuOutlineOptions();
20615         }
20616         Opt_MenuOutlineOptions value_value = value_value_buf;;
20617         GetNodeModifiers()->getSelectModifier()->setMenuOutline(self, (const Opt_MenuOutlineOptions*)&value_value);
20618 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuOutline,Ark_NativePointer,KSerializerBuffer,int32_t)20619 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuOutline, Ark_NativePointer, KSerializerBuffer, int32_t)
20620 void impl_SelectAttribute_menuAlign0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20621         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20622         Deserializer thisDeserializer(thisArray, thisLength);
20623         const auto alignType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20624         Opt_MenuAlignType alignType_value_buf = {};
20625         alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20626         if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType))
20627         {
20628             alignType_value_buf.value = static_cast<Ark_MenuAlignType>(thisDeserializer.readInt32());
20629         }
20630         Opt_MenuAlignType alignType_value = alignType_value_buf;;
20631         const auto offset_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20632         Opt_Offset offset_value_buf = {};
20633         offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20634         if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType))
20635         {
20636             offset_value_buf.value = thisDeserializer.readOffset();
20637         }
20638         Opt_Offset offset_value = offset_value_buf;;
20639         GetNodeModifiers()->getSelectModifier()->setMenuAlign0(self, (const Opt_MenuAlignType*)&alignType_value, (const Opt_Offset*)&offset_value);
20640 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuAlign0,Ark_NativePointer,KSerializerBuffer,int32_t)20641 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuAlign0, Ark_NativePointer, KSerializerBuffer, int32_t)
20642 void impl_SelectAttribute_menuAlign1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20643         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20644         Deserializer thisDeserializer(thisArray, thisLength);
20645         const auto alignType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20646         Opt_MenuAlignType alignType_value_buf = {};
20647         alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20648         if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType))
20649         {
20650             alignType_value_buf.value = static_cast<Ark_MenuAlignType>(thisDeserializer.readInt32());
20651         }
20652         Opt_MenuAlignType alignType_value = alignType_value_buf;;
20653         const auto offset_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20654         Opt_Offset offset_value_buf = {};
20655         offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20656         if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType))
20657         {
20658             offset_value_buf.value = thisDeserializer.readOffset();
20659         }
20660         Opt_Offset offset_value = offset_value_buf;;
20661         GetNodeModifiers()->getSelectModifier()->setMenuAlign1(self, (const Opt_MenuAlignType*)&alignType_value, (const Opt_Offset*)&offset_value);
20662 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuAlign1,Ark_NativePointer,KSerializerBuffer,int32_t)20663 KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuAlign1, Ark_NativePointer, KSerializerBuffer, int32_t)
20664 void impl_SelectAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20665         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20666         Deserializer thisDeserializer(thisArray, thisLength);
20667         Callback_Opt_Union_Number_Resource_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Union_Number_Resource selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Union_Number_Resource_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Union_Number_Resource selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Union_Number_Resource_Void))))};;
20668         GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_selected(self, (const Callback_Opt_Union_Number_Resource_Void*)&callback_value);
20669 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)20670 KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
20671 void impl_SelectAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20672         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20673         Deserializer thisDeserializer(thisArray, thisLength);
20674         Callback_Opt_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_ResourceStr value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_ResourceStr_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_ResourceStr value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_ResourceStr_Void))))};;
20675         GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_value(self, (const Callback_Opt_ResourceStr_Void*)&callback_value);
20676 }
KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_value,Ark_NativePointer,KSerializerBuffer,int32_t)20677 KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t)
20678 Ark_NativePointer impl_Shape_construct(Ark_Int32 id, Ark_Int32 flags) {
20679         return GetNodeModifiers()->getShapeModifier()->construct(id, flags);
20680 }
KOALA_INTEROP_DIRECT_2(Shape_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)20681 KOALA_INTEROP_DIRECT_2(Shape_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
20682 void impl_ShapeInterface_setShapeOptions0(Ark_NativePointer thisPtr, Ark_NativePointer value) {
20683         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20684         GetNodeModifiers()->getShapeModifier()->setShapeOptions0(self, static_cast<Ark_PixelMap>(value));
20685 }
KOALA_INTEROP_DIRECT_V2(ShapeInterface_setShapeOptions0,Ark_NativePointer,Ark_NativePointer)20686 KOALA_INTEROP_DIRECT_V2(ShapeInterface_setShapeOptions0, Ark_NativePointer, Ark_NativePointer)
20687 void impl_ShapeInterface_setShapeOptions1(Ark_NativePointer thisPtr) {
20688         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20689         GetNodeModifiers()->getShapeModifier()->setShapeOptions1(self);
20690 }
KOALA_INTEROP_DIRECT_V1(ShapeInterface_setShapeOptions1,Ark_NativePointer)20691 KOALA_INTEROP_DIRECT_V1(ShapeInterface_setShapeOptions1, Ark_NativePointer)
20692 void impl_ShapeAttribute_viewPort(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20693         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20694         Deserializer thisDeserializer(thisArray, thisLength);
20695         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20696         Opt_ViewportRect value_value_buf = {};
20697         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20698         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20699         {
20700             value_value_buf.value = thisDeserializer.readViewportRect();
20701         }
20702         Opt_ViewportRect value_value = value_value_buf;;
20703         GetNodeModifiers()->getShapeModifier()->setViewPort(self, (const Opt_ViewportRect*)&value_value);
20704 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_viewPort,Ark_NativePointer,KSerializerBuffer,int32_t)20705 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_viewPort, Ark_NativePointer, KSerializerBuffer, int32_t)
20706 void impl_ShapeAttribute_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20707         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20708         Deserializer thisDeserializer(thisArray, thisLength);
20709         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20710         Opt_ResourceColor value_value_buf = {};
20711         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20712         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20713         {
20714             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20715             Ark_ResourceColor value_value_buf_ = {};
20716             value_value_buf_.selector = value_value_buf__selector;
20717             if (value_value_buf__selector == 0) {
20718                 value_value_buf_.selector = 0;
20719                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20720             }
20721             else if (value_value_buf__selector == 1) {
20722                 value_value_buf_.selector = 1;
20723                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20724             }
20725             else if (value_value_buf__selector == 2) {
20726                 value_value_buf_.selector = 2;
20727                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20728             }
20729             else if (value_value_buf__selector == 3) {
20730                 value_value_buf_.selector = 3;
20731                 value_value_buf_.value3 = thisDeserializer.readResource();
20732             }
20733             else {
20734                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20735             }
20736             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20737         }
20738         Opt_ResourceColor value_value = value_value_buf;;
20739         GetNodeModifiers()->getShapeModifier()->setStroke(self, (const Opt_ResourceColor*)&value_value);
20740 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_stroke,Ark_NativePointer,KSerializerBuffer,int32_t)20741 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_stroke, Ark_NativePointer, KSerializerBuffer, int32_t)
20742 void impl_ShapeAttribute_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20743         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20744         Deserializer thisDeserializer(thisArray, thisLength);
20745         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20746         Opt_ResourceColor value_value_buf = {};
20747         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20748         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20749         {
20750             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20751             Ark_ResourceColor value_value_buf_ = {};
20752             value_value_buf_.selector = value_value_buf__selector;
20753             if (value_value_buf__selector == 0) {
20754                 value_value_buf_.selector = 0;
20755                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
20756             }
20757             else if (value_value_buf__selector == 1) {
20758                 value_value_buf_.selector = 1;
20759                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20760             }
20761             else if (value_value_buf__selector == 2) {
20762                 value_value_buf_.selector = 2;
20763                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
20764             }
20765             else if (value_value_buf__selector == 3) {
20766                 value_value_buf_.selector = 3;
20767                 value_value_buf_.value3 = thisDeserializer.readResource();
20768             }
20769             else {
20770                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20771             }
20772             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
20773         }
20774         Opt_ResourceColor value_value = value_value_buf;;
20775         GetNodeModifiers()->getShapeModifier()->setFill(self, (const Opt_ResourceColor*)&value_value);
20776 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fill,Ark_NativePointer,KSerializerBuffer,int32_t)20777 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fill, Ark_NativePointer, KSerializerBuffer, int32_t)
20778 void impl_ShapeAttribute_strokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20779         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20780         Deserializer thisDeserializer(thisArray, thisLength);
20781         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20782         Opt_Union_Number_String value_value_buf = {};
20783         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20784         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20785         {
20786             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20787             Ark_Union_Number_String value_value_buf_ = {};
20788             value_value_buf_.selector = value_value_buf__selector;
20789             if (value_value_buf__selector == 0) {
20790                 value_value_buf_.selector = 0;
20791                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20792             }
20793             else if (value_value_buf__selector == 1) {
20794                 value_value_buf_.selector = 1;
20795                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
20796             }
20797             else {
20798                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20799             }
20800             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
20801         }
20802         Opt_Union_Number_String value_value = value_value_buf;;
20803         GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, (const Opt_Union_Number_String*)&value_value);
20804 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashOffset,Ark_NativePointer,KSerializerBuffer,int32_t)20805 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
20806 void impl_ShapeAttribute_strokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20807         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20808         Deserializer thisDeserializer(thisArray, thisLength);
20809         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20810         Opt_Array_Length value_value_buf = {};
20811         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20812         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20813         {
20814             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
20815             Array_Length value_value_buf_ = {};
20816             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
20817         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
20818             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
20819                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readLength();
20820             }
20821             value_value_buf.value = value_value_buf_;
20822         }
20823         Opt_Array_Length value_value = value_value_buf;;
20824         GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, (const Opt_Array_Length*)&value_value);
20825 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashArray,Ark_NativePointer,KSerializerBuffer,int32_t)20826 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashArray, Ark_NativePointer, KSerializerBuffer, int32_t)
20827 void impl_ShapeAttribute_strokeLineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20828         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20829         Deserializer thisDeserializer(thisArray, thisLength);
20830         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20831         Opt_LineCapStyle value_value_buf = {};
20832         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20833         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20834         {
20835             value_value_buf.value = static_cast<Ark_LineCapStyle>(thisDeserializer.readInt32());
20836         }
20837         Opt_LineCapStyle value_value = value_value_buf;;
20838         GetNodeModifiers()->getShapeModifier()->setStrokeLineCap(self, (const Opt_LineCapStyle*)&value_value);
20839 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeLineCap,Ark_NativePointer,KSerializerBuffer,int32_t)20840 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeLineCap, Ark_NativePointer, KSerializerBuffer, int32_t)
20841 void impl_ShapeAttribute_strokeLineJoin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20842         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20843         Deserializer thisDeserializer(thisArray, thisLength);
20844         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20845         Opt_LineJoinStyle value_value_buf = {};
20846         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20847         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20848         {
20849             value_value_buf.value = static_cast<Ark_LineJoinStyle>(thisDeserializer.readInt32());
20850         }
20851         Opt_LineJoinStyle value_value = value_value_buf;;
20852         GetNodeModifiers()->getShapeModifier()->setStrokeLineJoin(self, (const Opt_LineJoinStyle*)&value_value);
20853 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeLineJoin,Ark_NativePointer,KSerializerBuffer,int32_t)20854 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeLineJoin, Ark_NativePointer, KSerializerBuffer, int32_t)
20855 void impl_ShapeAttribute_strokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20856         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20857         Deserializer thisDeserializer(thisArray, thisLength);
20858         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20859         Opt_Union_Number_String value_value_buf = {};
20860         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20861         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20862         {
20863             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20864             Ark_Union_Number_String value_value_buf_ = {};
20865             value_value_buf_.selector = value_value_buf__selector;
20866             if (value_value_buf__selector == 0) {
20867                 value_value_buf_.selector = 0;
20868                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20869             }
20870             else if (value_value_buf__selector == 1) {
20871                 value_value_buf_.selector = 1;
20872                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
20873             }
20874             else {
20875                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20876             }
20877             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
20878         }
20879         Opt_Union_Number_String value_value = value_value_buf;;
20880         GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, (const Opt_Union_Number_String*)&value_value);
20881 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeMiterLimit,Ark_NativePointer,KSerializerBuffer,int32_t)20882 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeMiterLimit, Ark_NativePointer, KSerializerBuffer, int32_t)
20883 void impl_ShapeAttribute_strokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20884         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20885         Deserializer thisDeserializer(thisArray, thisLength);
20886         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20887         Opt_Union_Number_String_Resource value_value_buf = {};
20888         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20889         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20890         {
20891             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20892             Ark_Union_Number_String_Resource value_value_buf_ = {};
20893             value_value_buf_.selector = value_value_buf__selector;
20894             if (value_value_buf__selector == 0) {
20895                 value_value_buf_.selector = 0;
20896                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20897             }
20898             else if (value_value_buf__selector == 1) {
20899                 value_value_buf_.selector = 1;
20900                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
20901             }
20902             else if (value_value_buf__selector == 2) {
20903                 value_value_buf_.selector = 2;
20904                 value_value_buf_.value2 = thisDeserializer.readResource();
20905             }
20906             else {
20907                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20908             }
20909             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
20910         }
20911         Opt_Union_Number_String_Resource value_value = value_value_buf;;
20912         GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, (const Opt_Union_Number_String_Resource*)&value_value);
20913 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeOpacity,Ark_NativePointer,KSerializerBuffer,int32_t)20914 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeOpacity, Ark_NativePointer, KSerializerBuffer, int32_t)
20915 void impl_ShapeAttribute_fillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20916         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20917         Deserializer thisDeserializer(thisArray, thisLength);
20918         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20919         Opt_Union_Number_String_Resource value_value_buf = {};
20920         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20921         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20922         {
20923             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20924             Ark_Union_Number_String_Resource value_value_buf_ = {};
20925             value_value_buf_.selector = value_value_buf__selector;
20926             if (value_value_buf__selector == 0) {
20927                 value_value_buf_.selector = 0;
20928                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20929             }
20930             else if (value_value_buf__selector == 1) {
20931                 value_value_buf_.selector = 1;
20932                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
20933             }
20934             else if (value_value_buf__selector == 2) {
20935                 value_value_buf_.selector = 2;
20936                 value_value_buf_.value2 = thisDeserializer.readResource();
20937             }
20938             else {
20939                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20940             }
20941             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
20942         }
20943         Opt_Union_Number_String_Resource value_value = value_value_buf;;
20944         GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, (const Opt_Union_Number_String_Resource*)&value_value);
20945 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fillOpacity,Ark_NativePointer,KSerializerBuffer,int32_t)20946 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fillOpacity, Ark_NativePointer, KSerializerBuffer, int32_t)
20947 void impl_ShapeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20948         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20949         Deserializer thisDeserializer(thisArray, thisLength);
20950         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20951         Opt_Union_Number_String value_value_buf = {};
20952         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20953         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20954         {
20955             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
20956             Ark_Union_Number_String value_value_buf_ = {};
20957             value_value_buf_.selector = value_value_buf__selector;
20958             if (value_value_buf__selector == 0) {
20959                 value_value_buf_.selector = 0;
20960                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
20961             }
20962             else if (value_value_buf__selector == 1) {
20963                 value_value_buf_.selector = 1;
20964                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
20965             }
20966             else {
20967                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
20968             }
20969             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
20970         }
20971         Opt_Union_Number_String value_value = value_value_buf;;
20972         GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, (const Opt_Union_Number_String*)&value_value);
20973 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeWidth,Ark_NativePointer,KSerializerBuffer,int32_t)20974 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
20975 void impl_ShapeAttribute_antiAlias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
20976         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20977         Deserializer thisDeserializer(thisArray, thisLength);
20978         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
20979         Opt_Boolean value_value_buf = {};
20980         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
20981         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
20982         {
20983             value_value_buf.value = thisDeserializer.readBoolean();
20984         }
20985         Opt_Boolean value_value = value_value_buf;;
20986         GetNodeModifiers()->getShapeModifier()->setAntiAlias(self, (const Opt_Boolean*)&value_value);
20987 }
KOALA_INTEROP_DIRECT_V3(ShapeAttribute_antiAlias,Ark_NativePointer,KSerializerBuffer,int32_t)20988 KOALA_INTEROP_DIRECT_V3(ShapeAttribute_antiAlias, Ark_NativePointer, KSerializerBuffer, int32_t)
20989 void impl_ShapeAttribute_mesh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber column, KInteropNumber row) {
20990         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
20991         Deserializer thisDeserializer(thisArray, thisLength);
20992         const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32();
20993         Array_Number value_value_buf = {};
20994         thisDeserializer.resizeArray<std::decay<decltype(value_value_buf)>::type,
20995         std::decay<decltype(*value_value_buf.array)>::type>(&value_value_buf, value_value_buf_length);
20996         for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) {
20997             value_value_buf.array[value_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
20998         }
20999         Array_Number value_value = value_value_buf;;
21000         GetNodeModifiers()->getShapeModifier()->setMesh(self, (const Array_Number*)&value_value, (const Ark_Number*) (&column), (const Ark_Number*) (&row));
21001 }
KOALA_INTEROP_DIRECT_V5(ShapeAttribute_mesh,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber)21002 KOALA_INTEROP_DIRECT_V5(ShapeAttribute_mesh, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber)
21003 Ark_NativePointer impl_Slider_construct(Ark_Int32 id, Ark_Int32 flags) {
21004         return GetNodeModifiers()->getSliderModifier()->construct(id, flags);
21005 }
KOALA_INTEROP_DIRECT_2(Slider_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)21006 KOALA_INTEROP_DIRECT_2(Slider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
21007 void impl_SliderInterface_setSliderOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21008         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21009         Deserializer thisDeserializer(thisArray, thisLength);
21010         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21011         Opt_SliderOptions options_value_buf = {};
21012         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21013         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
21014         {
21015             options_value_buf.value = thisDeserializer.readSliderOptions();
21016         }
21017         Opt_SliderOptions options_value = options_value_buf;;
21018         GetNodeModifiers()->getSliderModifier()->setSliderOptions(self, (const Opt_SliderOptions*)&options_value);
21019 }
KOALA_INTEROP_DIRECT_V3(SliderInterface_setSliderOptions,Ark_NativePointer,KSerializerBuffer,int32_t)21020 KOALA_INTEROP_DIRECT_V3(SliderInterface_setSliderOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
21021 void impl_SliderAttribute_blockColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21022         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21023         Deserializer thisDeserializer(thisArray, thisLength);
21024         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21025         Opt_ResourceColor value_value_buf = {};
21026         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21027         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21028         {
21029             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21030             Ark_ResourceColor value_value_buf_ = {};
21031             value_value_buf_.selector = value_value_buf__selector;
21032             if (value_value_buf__selector == 0) {
21033                 value_value_buf_.selector = 0;
21034                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21035             }
21036             else if (value_value_buf__selector == 1) {
21037                 value_value_buf_.selector = 1;
21038                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21039             }
21040             else if (value_value_buf__selector == 2) {
21041                 value_value_buf_.selector = 2;
21042                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21043             }
21044             else if (value_value_buf__selector == 3) {
21045                 value_value_buf_.selector = 3;
21046                 value_value_buf_.value3 = thisDeserializer.readResource();
21047             }
21048             else {
21049                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21050             }
21051             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
21052         }
21053         Opt_ResourceColor value_value = value_value_buf;;
21054         GetNodeModifiers()->getSliderModifier()->setBlockColor(self, (const Opt_ResourceColor*)&value_value);
21055 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockColor,Ark_NativePointer,KSerializerBuffer,int32_t)21056 KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockColor, Ark_NativePointer, KSerializerBuffer, int32_t)
21057 void impl_SliderAttribute_trackColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21058         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21059         Deserializer thisDeserializer(thisArray, thisLength);
21060         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21061         Opt_Union_ResourceColor_LinearGradient value_value_buf = {};
21062         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21063         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21064         {
21065             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21066             Ark_Union_ResourceColor_LinearGradient value_value_buf_ = {};
21067             value_value_buf_.selector = value_value_buf__selector;
21068             if (value_value_buf__selector == 0) {
21069                 value_value_buf_.selector = 0;
21070                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
21071                 Ark_ResourceColor value_value_buf__u = {};
21072                 value_value_buf__u.selector = value_value_buf__u_selector;
21073                 if (value_value_buf__u_selector == 0) {
21074                     value_value_buf__u.selector = 0;
21075                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21076                 }
21077                 else if (value_value_buf__u_selector == 1) {
21078                     value_value_buf__u.selector = 1;
21079                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21080                 }
21081                 else if (value_value_buf__u_selector == 2) {
21082                     value_value_buf__u.selector = 2;
21083                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21084                 }
21085                 else if (value_value_buf__u_selector == 3) {
21086                     value_value_buf__u.selector = 3;
21087                     value_value_buf__u.value3 = thisDeserializer.readResource();
21088                 }
21089                 else {
21090                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
21091                 }
21092                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
21093             }
21094             else if (value_value_buf__selector == 1) {
21095                 value_value_buf_.selector = 1;
21096                 value_value_buf_.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
21097             }
21098             else {
21099                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21100             }
21101             value_value_buf.value = static_cast<Ark_Union_ResourceColor_LinearGradient>(value_value_buf_);
21102         }
21103         Opt_Union_ResourceColor_LinearGradient value_value = value_value_buf;;
21104         GetNodeModifiers()->getSliderModifier()->setTrackColor(self, (const Opt_Union_ResourceColor_LinearGradient*)&value_value);
21105 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackColor,Ark_NativePointer,KSerializerBuffer,int32_t)21106 KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackColor, Ark_NativePointer, KSerializerBuffer, int32_t)
21107 void impl_SliderAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21108         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21109         Deserializer thisDeserializer(thisArray, thisLength);
21110         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21111         Opt_ResourceColor value_value_buf = {};
21112         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21113         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21114         {
21115             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21116             Ark_ResourceColor value_value_buf_ = {};
21117             value_value_buf_.selector = value_value_buf__selector;
21118             if (value_value_buf__selector == 0) {
21119                 value_value_buf_.selector = 0;
21120                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21121             }
21122             else if (value_value_buf__selector == 1) {
21123                 value_value_buf_.selector = 1;
21124                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21125             }
21126             else if (value_value_buf__selector == 2) {
21127                 value_value_buf_.selector = 2;
21128                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21129             }
21130             else if (value_value_buf__selector == 3) {
21131                 value_value_buf_.selector = 3;
21132                 value_value_buf_.value3 = thisDeserializer.readResource();
21133             }
21134             else {
21135                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21136             }
21137             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
21138         }
21139         Opt_ResourceColor value_value = value_value_buf;;
21140         GetNodeModifiers()->getSliderModifier()->setSelectedColor0(self, (const Opt_ResourceColor*)&value_value);
21141 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor0,Ark_NativePointer,KSerializerBuffer,int32_t)21142 KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t)
21143 void impl_SliderAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21144         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21145         Deserializer thisDeserializer(thisArray, thisLength);
21146         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21147         Opt_Union_ResourceColor_LinearGradient value_value_buf = {};
21148         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21149         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21150         {
21151             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21152             Ark_Union_ResourceColor_LinearGradient value_value_buf_ = {};
21153             value_value_buf_.selector = value_value_buf__selector;
21154             if (value_value_buf__selector == 0) {
21155                 value_value_buf_.selector = 0;
21156                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
21157                 Ark_ResourceColor value_value_buf__u = {};
21158                 value_value_buf__u.selector = value_value_buf__u_selector;
21159                 if (value_value_buf__u_selector == 0) {
21160                     value_value_buf__u.selector = 0;
21161                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21162                 }
21163                 else if (value_value_buf__u_selector == 1) {
21164                     value_value_buf__u.selector = 1;
21165                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21166                 }
21167                 else if (value_value_buf__u_selector == 2) {
21168                     value_value_buf__u.selector = 2;
21169                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21170                 }
21171                 else if (value_value_buf__u_selector == 3) {
21172                     value_value_buf__u.selector = 3;
21173                     value_value_buf__u.value3 = thisDeserializer.readResource();
21174                 }
21175                 else {
21176                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
21177                 }
21178                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
21179             }
21180             else if (value_value_buf__selector == 1) {
21181                 value_value_buf_.selector = 1;
21182                 value_value_buf_.value1 = static_cast<Ark_LinearGradient>(thisDeserializer.readLinearGradient());
21183             }
21184             else {
21185                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21186             }
21187             value_value_buf.value = static_cast<Ark_Union_ResourceColor_LinearGradient>(value_value_buf_);
21188         }
21189         Opt_Union_ResourceColor_LinearGradient value_value = value_value_buf;;
21190         GetNodeModifiers()->getSliderModifier()->setSelectedColor1(self, (const Opt_Union_ResourceColor_LinearGradient*)&value_value);
21191 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor1,Ark_NativePointer,KSerializerBuffer,int32_t)21192 KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t)
21193 void impl_SliderAttribute_minLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21194         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21195         Deserializer thisDeserializer(thisArray, thisLength);
21196         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21197         Opt_String value_value_buf = {};
21198         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21199         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21200         {
21201             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
21202         }
21203         Opt_String value_value = value_value_buf;;
21204         GetNodeModifiers()->getSliderModifier()->setMinLabel(self, (const Opt_String*)&value_value);
21205 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_minLabel,Ark_NativePointer,KSerializerBuffer,int32_t)21206 KOALA_INTEROP_DIRECT_V3(SliderAttribute_minLabel, Ark_NativePointer, KSerializerBuffer, int32_t)
21207 void impl_SliderAttribute_maxLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21208         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21209         Deserializer thisDeserializer(thisArray, thisLength);
21210         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21211         Opt_String value_value_buf = {};
21212         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21213         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21214         {
21215             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
21216         }
21217         Opt_String value_value = value_value_buf;;
21218         GetNodeModifiers()->getSliderModifier()->setMaxLabel(self, (const Opt_String*)&value_value);
21219 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_maxLabel,Ark_NativePointer,KSerializerBuffer,int32_t)21220 KOALA_INTEROP_DIRECT_V3(SliderAttribute_maxLabel, Ark_NativePointer, KSerializerBuffer, int32_t)
21221 void impl_SliderAttribute_showSteps(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21222         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21223         Deserializer thisDeserializer(thisArray, thisLength);
21224         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21225         Opt_Boolean value_value_buf = {};
21226         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21227         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21228         {
21229             value_value_buf.value = thisDeserializer.readBoolean();
21230         }
21231         Opt_Boolean value_value = value_value_buf;;
21232         GetNodeModifiers()->getSliderModifier()->setShowSteps(self, (const Opt_Boolean*)&value_value);
21233 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_showSteps,Ark_NativePointer,KSerializerBuffer,int32_t)21234 KOALA_INTEROP_DIRECT_V3(SliderAttribute_showSteps, Ark_NativePointer, KSerializerBuffer, int32_t)
21235 void impl_SliderAttribute_trackThickness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21236         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21237         Deserializer thisDeserializer(thisArray, thisLength);
21238         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21239         Opt_Length value_value_buf = {};
21240         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21241         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21242         {
21243             value_value_buf.value = thisDeserializer.readLength();
21244         }
21245         Opt_Length value_value = value_value_buf;;
21246         GetNodeModifiers()->getSliderModifier()->setTrackThickness(self, (const Opt_Length*)&value_value);
21247 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackThickness,Ark_NativePointer,KSerializerBuffer,int32_t)21248 KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackThickness, Ark_NativePointer, KSerializerBuffer, int32_t)
21249 void impl_SliderAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21250         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21251         Deserializer thisDeserializer(thisArray, thisLength);
21252         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21253         Opt_Callback_Number_SliderChangeMode_Void value_value_buf = {};
21254         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21255         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21256         {
21257             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_SliderChangeMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_SliderChangeMode_Void))))};
21258         }
21259         Opt_Callback_Number_SliderChangeMode_Void value_value = value_value_buf;;
21260         GetNodeModifiers()->getSliderModifier()->setOnChange(self, (const Opt_Callback_Number_SliderChangeMode_Void*)&value_value);
21261 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)21262 KOALA_INTEROP_DIRECT_V3(SliderAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
21263 void impl_SliderAttribute_blockBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21264         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21265         Deserializer thisDeserializer(thisArray, thisLength);
21266         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21267         Opt_ResourceColor value_value_buf = {};
21268         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21269         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21270         {
21271             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21272             Ark_ResourceColor value_value_buf_ = {};
21273             value_value_buf_.selector = value_value_buf__selector;
21274             if (value_value_buf__selector == 0) {
21275                 value_value_buf_.selector = 0;
21276                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21277             }
21278             else if (value_value_buf__selector == 1) {
21279                 value_value_buf_.selector = 1;
21280                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21281             }
21282             else if (value_value_buf__selector == 2) {
21283                 value_value_buf_.selector = 2;
21284                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21285             }
21286             else if (value_value_buf__selector == 3) {
21287                 value_value_buf_.selector = 3;
21288                 value_value_buf_.value3 = thisDeserializer.readResource();
21289             }
21290             else {
21291                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21292             }
21293             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
21294         }
21295         Opt_ResourceColor value_value = value_value_buf;;
21296         GetNodeModifiers()->getSliderModifier()->setBlockBorderColor(self, (const Opt_ResourceColor*)&value_value);
21297 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderColor,Ark_NativePointer,KSerializerBuffer,int32_t)21298 KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
21299 void impl_SliderAttribute_blockBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21300         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21301         Deserializer thisDeserializer(thisArray, thisLength);
21302         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21303         Opt_Length value_value_buf = {};
21304         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21305         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21306         {
21307             value_value_buf.value = thisDeserializer.readLength();
21308         }
21309         Opt_Length value_value = value_value_buf;;
21310         GetNodeModifiers()->getSliderModifier()->setBlockBorderWidth(self, (const Opt_Length*)&value_value);
21311 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderWidth,Ark_NativePointer,KSerializerBuffer,int32_t)21312 KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
21313 void impl_SliderAttribute_stepColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21314         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21315         Deserializer thisDeserializer(thisArray, thisLength);
21316         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21317         Opt_ResourceColor value_value_buf = {};
21318         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21319         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21320         {
21321             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21322             Ark_ResourceColor value_value_buf_ = {};
21323             value_value_buf_.selector = value_value_buf__selector;
21324             if (value_value_buf__selector == 0) {
21325                 value_value_buf_.selector = 0;
21326                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21327             }
21328             else if (value_value_buf__selector == 1) {
21329                 value_value_buf_.selector = 1;
21330                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21331             }
21332             else if (value_value_buf__selector == 2) {
21333                 value_value_buf_.selector = 2;
21334                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21335             }
21336             else if (value_value_buf__selector == 3) {
21337                 value_value_buf_.selector = 3;
21338                 value_value_buf_.value3 = thisDeserializer.readResource();
21339             }
21340             else {
21341                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21342             }
21343             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
21344         }
21345         Opt_ResourceColor value_value = value_value_buf;;
21346         GetNodeModifiers()->getSliderModifier()->setStepColor(self, (const Opt_ResourceColor*)&value_value);
21347 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepColor,Ark_NativePointer,KSerializerBuffer,int32_t)21348 KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepColor, Ark_NativePointer, KSerializerBuffer, int32_t)
21349 void impl_SliderAttribute_trackBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21350         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21351         Deserializer thisDeserializer(thisArray, thisLength);
21352         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21353         Opt_Length value_value_buf = {};
21354         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21355         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21356         {
21357             value_value_buf.value = thisDeserializer.readLength();
21358         }
21359         Opt_Length value_value = value_value_buf;;
21360         GetNodeModifiers()->getSliderModifier()->setTrackBorderRadius(self, (const Opt_Length*)&value_value);
21361 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackBorderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)21362 KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
21363 void impl_SliderAttribute_selectedBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21364         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21365         Deserializer thisDeserializer(thisArray, thisLength);
21366         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21367         Opt_Length value_value_buf = {};
21368         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21369         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21370         {
21371             value_value_buf.value = thisDeserializer.readLength();
21372         }
21373         Opt_Length value_value = value_value_buf;;
21374         GetNodeModifiers()->getSliderModifier()->setSelectedBorderRadius(self, (const Opt_Length*)&value_value);
21375 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedBorderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)21376 KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
21377 void impl_SliderAttribute_blockSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21378         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21379         Deserializer thisDeserializer(thisArray, thisLength);
21380         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21381         Opt_SizeOptions value_value_buf = {};
21382         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21383         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21384         {
21385             value_value_buf.value = thisDeserializer.readSizeOptions();
21386         }
21387         Opt_SizeOptions value_value = value_value_buf;;
21388         GetNodeModifiers()->getSliderModifier()->setBlockSize(self, (const Opt_SizeOptions*)&value_value);
21389 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockSize,Ark_NativePointer,KSerializerBuffer,int32_t)21390 KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockSize, Ark_NativePointer, KSerializerBuffer, int32_t)
21391 void impl_SliderAttribute_blockStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21392         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21393         Deserializer thisDeserializer(thisArray, thisLength);
21394         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21395         Opt_SliderBlockStyle value_value_buf = {};
21396         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21397         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21398         {
21399             value_value_buf.value = thisDeserializer.readSliderBlockStyle();
21400         }
21401         Opt_SliderBlockStyle value_value = value_value_buf;;
21402         GetNodeModifiers()->getSliderModifier()->setBlockStyle(self, (const Opt_SliderBlockStyle*)&value_value);
21403 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockStyle,Ark_NativePointer,KSerializerBuffer,int32_t)21404 KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
21405 void impl_SliderAttribute_stepSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21406         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21407         Deserializer thisDeserializer(thisArray, thisLength);
21408         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21409         Opt_Length value_value_buf = {};
21410         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21411         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21412         {
21413             value_value_buf.value = thisDeserializer.readLength();
21414         }
21415         Opt_Length value_value = value_value_buf;;
21416         GetNodeModifiers()->getSliderModifier()->setStepSize(self, (const Opt_Length*)&value_value);
21417 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepSize,Ark_NativePointer,KSerializerBuffer,int32_t)21418 KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepSize, Ark_NativePointer, KSerializerBuffer, int32_t)
21419 void impl_SliderAttribute_sliderInteractionMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21420         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21421         Deserializer thisDeserializer(thisArray, thisLength);
21422         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21423         Opt_SliderInteraction value_value_buf = {};
21424         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21425         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21426         {
21427             value_value_buf.value = static_cast<Ark_SliderInteraction>(thisDeserializer.readInt32());
21428         }
21429         Opt_SliderInteraction value_value = value_value_buf;;
21430         GetNodeModifiers()->getSliderModifier()->setSliderInteractionMode(self, (const Opt_SliderInteraction*)&value_value);
21431 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_sliderInteractionMode,Ark_NativePointer,KSerializerBuffer,int32_t)21432 KOALA_INTEROP_DIRECT_V3(SliderAttribute_sliderInteractionMode, Ark_NativePointer, KSerializerBuffer, int32_t)
21433 void impl_SliderAttribute_minResponsiveDistance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21434         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21435         Deserializer thisDeserializer(thisArray, thisLength);
21436         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21437         Opt_Number value_value_buf = {};
21438         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21439         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21440         {
21441             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
21442         }
21443         Opt_Number value_value = value_value_buf;;
21444         GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, (const Opt_Number*)&value_value);
21445 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_minResponsiveDistance,Ark_NativePointer,KSerializerBuffer,int32_t)21446 KOALA_INTEROP_DIRECT_V3(SliderAttribute_minResponsiveDistance, Ark_NativePointer, KSerializerBuffer, int32_t)
21447 void impl_SliderAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21448         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21449         Deserializer thisDeserializer(thisArray, thisLength);
21450         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21451         Opt_ContentModifier value_value_buf = {};
21452         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21453         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21454         {
21455             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
21456         }
21457         Opt_ContentModifier value_value = value_value_buf;;
21458         GetNodeModifiers()->getSliderModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
21459 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)21460 KOALA_INTEROP_DIRECT_V3(SliderAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
21461 void impl_SliderAttribute_slideRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21462         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21463         Deserializer thisDeserializer(thisArray, thisLength);
21464         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21465         Opt_SlideRange value_value_buf = {};
21466         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21467         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21468         {
21469             value_value_buf.value = thisDeserializer.readSlideRange();
21470         }
21471         Opt_SlideRange value_value = value_value_buf;;
21472         GetNodeModifiers()->getSliderModifier()->setSlideRange(self, (const Opt_SlideRange*)&value_value);
21473 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_slideRange,Ark_NativePointer,KSerializerBuffer,int32_t)21474 KOALA_INTEROP_DIRECT_V3(SliderAttribute_slideRange, Ark_NativePointer, KSerializerBuffer, int32_t)
21475 void impl_SliderAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21476         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21477         Deserializer thisDeserializer(thisArray, thisLength);
21478         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21479         Opt_CrownSensitivity value_value_buf = {};
21480         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21481         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21482         {
21483             value_value_buf.value = static_cast<Ark_CrownSensitivity>(thisDeserializer.readInt32());
21484         }
21485         Opt_CrownSensitivity value_value = value_value_buf;;
21486         GetNodeModifiers()->getSliderModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value);
21487 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_digitalCrownSensitivity,Ark_NativePointer,KSerializerBuffer,int32_t)21488 KOALA_INTEROP_DIRECT_V3(SliderAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t)
21489 void impl_SliderAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21490         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21491         Deserializer thisDeserializer(thisArray, thisLength);
21492         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21493         Opt_Boolean value_value_buf = {};
21494         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21495         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21496         {
21497             value_value_buf.value = thisDeserializer.readBoolean();
21498         }
21499         Opt_Boolean value_value = value_value_buf;;
21500         GetNodeModifiers()->getSliderModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
21501 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)21502 KOALA_INTEROP_DIRECT_V3(SliderAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
21503 void impl_SliderAttribute_showTips(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21504         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21505         Deserializer thisDeserializer(thisArray, thisLength);
21506         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21507         Opt_Boolean value_value_buf = {};
21508         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21509         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21510         {
21511             value_value_buf.value = thisDeserializer.readBoolean();
21512         }
21513         Opt_Boolean value_value = value_value_buf;;
21514         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21515         Opt_ResourceStr content_value_buf = {};
21516         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21517         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
21518         {
21519             const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8();
21520             Ark_ResourceStr content_value_buf_ = {};
21521             content_value_buf_.selector = content_value_buf__selector;
21522             if (content_value_buf__selector == 0) {
21523                 content_value_buf_.selector = 0;
21524                 content_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
21525             }
21526             else if (content_value_buf__selector == 1) {
21527                 content_value_buf_.selector = 1;
21528                 content_value_buf_.value1 = thisDeserializer.readResource();
21529             }
21530             else {
21531                 INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation.");
21532             }
21533             content_value_buf.value = static_cast<Ark_ResourceStr>(content_value_buf_);
21534         }
21535         Opt_ResourceStr content_value = content_value_buf;;
21536         GetNodeModifiers()->getSliderModifier()->setShowTips(self, (const Opt_Boolean*)&value_value, (const Opt_ResourceStr*)&content_value);
21537 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute_showTips,Ark_NativePointer,KSerializerBuffer,int32_t)21538 KOALA_INTEROP_DIRECT_V3(SliderAttribute_showTips, Ark_NativePointer, KSerializerBuffer, int32_t)
21539 void impl_SliderAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21540         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21541         Deserializer thisDeserializer(thisArray, thisLength);
21542         Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
21543         GetNodeModifiers()->getSliderModifier()->set_onChangeEvent_value(self, (const Callback_Number_Void*)&callback_value);
21544 }
KOALA_INTEROP_DIRECT_V3(SliderAttribute__onChangeEvent_value,Ark_NativePointer,KSerializerBuffer,int32_t)21545 KOALA_INTEROP_DIRECT_V3(SliderAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t)
21546 Ark_NativePointer impl_BaseSpan_construct(Ark_Int32 id, Ark_Int32 flags) {
21547         return GetNodeModifiers()->getBaseSpanModifier()->construct(id, flags);
21548 }
KOALA_INTEROP_DIRECT_2(BaseSpan_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)21549 KOALA_INTEROP_DIRECT_2(BaseSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
21550 void impl_BaseSpan_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21551         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21552         Deserializer thisDeserializer(thisArray, thisLength);
21553         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21554         Opt_TextBackgroundStyle value_value_buf = {};
21555         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21556         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21557         {
21558             value_value_buf.value = thisDeserializer.readTextBackgroundStyle();
21559         }
21560         Opt_TextBackgroundStyle value_value = value_value_buf;;
21561         GetNodeModifiers()->getBaseSpanModifier()->setTextBackgroundStyle(self, (const Opt_TextBackgroundStyle*)&value_value);
21562 }
KOALA_INTEROP_DIRECT_V3(BaseSpan_textBackgroundStyle,Ark_NativePointer,KSerializerBuffer,int32_t)21563 KOALA_INTEROP_DIRECT_V3(BaseSpan_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
21564 void impl_BaseSpan_baselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21565         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21566         Deserializer thisDeserializer(thisArray, thisLength);
21567         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21568         Opt_LengthMetrics value_value_buf = {};
21569         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21570         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21571         {
21572             value_value_buf.value = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
21573         }
21574         Opt_LengthMetrics value_value = value_value_buf;;
21575         GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, (const Opt_LengthMetrics*)&value_value);
21576 }
KOALA_INTEROP_DIRECT_V3(BaseSpan_baselineOffset,Ark_NativePointer,KSerializerBuffer,int32_t)21577 KOALA_INTEROP_DIRECT_V3(BaseSpan_baselineOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
21578 Ark_NativePointer impl_Span_construct(Ark_Int32 id, Ark_Int32 flags) {
21579         return GetNodeModifiers()->getSpanModifier()->construct(id, flags);
21580 }
KOALA_INTEROP_DIRECT_2(Span_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)21581 KOALA_INTEROP_DIRECT_2(Span_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
21582 void impl_SpanInterface_setSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21583         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21584         Deserializer thisDeserializer(thisArray, thisLength);
21585         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
21586         Ark_Union_String_Resource value_value_buf = {};
21587         value_value_buf.selector = value_value_buf_selector;
21588         if (value_value_buf_selector == 0) {
21589             value_value_buf.selector = 0;
21590             value_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
21591         }
21592         else if (value_value_buf_selector == 1) {
21593             value_value_buf.selector = 1;
21594             value_value_buf.value1 = thisDeserializer.readResource();
21595         }
21596         else {
21597             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
21598         }
21599         Ark_Union_String_Resource value_value = static_cast<Ark_Union_String_Resource>(value_value_buf);;
21600         GetNodeModifiers()->getSpanModifier()->setSpanOptions(self, (const Ark_Union_String_Resource*)&value_value);
21601 }
KOALA_INTEROP_DIRECT_V3(SpanInterface_setSpanOptions,Ark_NativePointer,KSerializerBuffer,int32_t)21602 KOALA_INTEROP_DIRECT_V3(SpanInterface_setSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
21603 void impl_SpanAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21604         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21605         Deserializer thisDeserializer(thisArray, thisLength);
21606         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21607         Opt_Font value_value_buf = {};
21608         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21609         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21610         {
21611             value_value_buf.value = thisDeserializer.readFont();
21612         }
21613         Opt_Font value_value = value_value_buf;;
21614         GetNodeModifiers()->getSpanModifier()->setFont(self, (const Opt_Font*)&value_value);
21615 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_font,Ark_NativePointer,KSerializerBuffer,int32_t)21616 KOALA_INTEROP_DIRECT_V3(SpanAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t)
21617 void impl_SpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21618         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21619         Deserializer thisDeserializer(thisArray, thisLength);
21620         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21621         Opt_ResourceColor value_value_buf = {};
21622         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21623         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21624         {
21625             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21626             Ark_ResourceColor value_value_buf_ = {};
21627             value_value_buf_.selector = value_value_buf__selector;
21628             if (value_value_buf__selector == 0) {
21629                 value_value_buf_.selector = 0;
21630                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
21631             }
21632             else if (value_value_buf__selector == 1) {
21633                 value_value_buf_.selector = 1;
21634                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21635             }
21636             else if (value_value_buf__selector == 2) {
21637                 value_value_buf_.selector = 2;
21638                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21639             }
21640             else if (value_value_buf__selector == 3) {
21641                 value_value_buf_.selector = 3;
21642                 value_value_buf_.value3 = thisDeserializer.readResource();
21643             }
21644             else {
21645                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21646             }
21647             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
21648         }
21649         Opt_ResourceColor value_value = value_value_buf;;
21650         GetNodeModifiers()->getSpanModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
21651 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)21652 KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
21653 void impl_SpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21654         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21655         Deserializer thisDeserializer(thisArray, thisLength);
21656         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21657         Opt_Union_Number_String_Resource value_value_buf = {};
21658         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21659         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21660         {
21661             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21662             Ark_Union_Number_String_Resource value_value_buf_ = {};
21663             value_value_buf_.selector = value_value_buf__selector;
21664             if (value_value_buf__selector == 0) {
21665                 value_value_buf_.selector = 0;
21666                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21667             }
21668             else if (value_value_buf__selector == 1) {
21669                 value_value_buf_.selector = 1;
21670                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
21671             }
21672             else if (value_value_buf__selector == 2) {
21673                 value_value_buf_.selector = 2;
21674                 value_value_buf_.value2 = thisDeserializer.readResource();
21675             }
21676             else {
21677                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21678             }
21679             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
21680         }
21681         Opt_Union_Number_String_Resource value_value = value_value_buf;;
21682         GetNodeModifiers()->getSpanModifier()->setFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
21683 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)21684 KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
21685 void impl_SpanAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21686         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21687         Deserializer thisDeserializer(thisArray, thisLength);
21688         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21689         Opt_FontStyle value_value_buf = {};
21690         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21691         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21692         {
21693             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
21694         }
21695         Opt_FontStyle value_value = value_value_buf;;
21696         GetNodeModifiers()->getSpanModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
21697 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)21698 KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
21699 void impl_SpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21700         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21701         Deserializer thisDeserializer(thisArray, thisLength);
21702         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21703         Opt_Union_Number_FontWeight_String value_value_buf = {};
21704         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21705         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21706         {
21707             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21708             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
21709             value_value_buf_.selector = value_value_buf__selector;
21710             if (value_value_buf__selector == 0) {
21711                 value_value_buf_.selector = 0;
21712                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21713             }
21714             else if (value_value_buf__selector == 1) {
21715                 value_value_buf_.selector = 1;
21716                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
21717             }
21718             else if (value_value_buf__selector == 2) {
21719                 value_value_buf_.selector = 2;
21720                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
21721             }
21722             else {
21723                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21724             }
21725             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
21726         }
21727         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
21728         GetNodeModifiers()->getSpanModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
21729 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)21730 KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
21731 void impl_SpanAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21732         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21733         Deserializer thisDeserializer(thisArray, thisLength);
21734         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21735         Opt_Union_String_Resource value_value_buf = {};
21736         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21737         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21738         {
21739             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21740             Ark_Union_String_Resource value_value_buf_ = {};
21741             value_value_buf_.selector = value_value_buf__selector;
21742             if (value_value_buf__selector == 0) {
21743                 value_value_buf_.selector = 0;
21744                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
21745             }
21746             else if (value_value_buf__selector == 1) {
21747                 value_value_buf_.selector = 1;
21748                 value_value_buf_.value1 = thisDeserializer.readResource();
21749             }
21750             else {
21751                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21752             }
21753             value_value_buf.value = static_cast<Ark_Union_String_Resource>(value_value_buf_);
21754         }
21755         Opt_Union_String_Resource value_value = value_value_buf;;
21756         GetNodeModifiers()->getSpanModifier()->setFontFamily(self, (const Opt_Union_String_Resource*)&value_value);
21757 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)21758 KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
21759 void impl_SpanAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21760         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21761         Deserializer thisDeserializer(thisArray, thisLength);
21762         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21763         Opt_DecorationStyleInterface value_value_buf = {};
21764         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21765         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21766         {
21767             value_value_buf.value = thisDeserializer.readDecorationStyleInterface();
21768         }
21769         Opt_DecorationStyleInterface value_value = value_value_buf;;
21770         GetNodeModifiers()->getSpanModifier()->setDecoration(self, (const Opt_DecorationStyleInterface*)&value_value);
21771 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_decoration,Ark_NativePointer,KSerializerBuffer,int32_t)21772 KOALA_INTEROP_DIRECT_V3(SpanAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t)
21773 void impl_SpanAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21774         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21775         Deserializer thisDeserializer(thisArray, thisLength);
21776         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21777         Opt_Union_Number_String value_value_buf = {};
21778         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21779         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21780         {
21781             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21782             Ark_Union_Number_String value_value_buf_ = {};
21783             value_value_buf_.selector = value_value_buf__selector;
21784             if (value_value_buf__selector == 0) {
21785                 value_value_buf_.selector = 0;
21786                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
21787             }
21788             else if (value_value_buf__selector == 1) {
21789                 value_value_buf_.selector = 1;
21790                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
21791             }
21792             else {
21793                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21794             }
21795             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
21796         }
21797         Opt_Union_Number_String value_value = value_value_buf;;
21798         GetNodeModifiers()->getSpanModifier()->setLetterSpacing(self, (const Opt_Union_Number_String*)&value_value);
21799 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_letterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)21800 KOALA_INTEROP_DIRECT_V3(SpanAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
21801 void impl_SpanAttribute_textCase(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21802         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21803         Deserializer thisDeserializer(thisArray, thisLength);
21804         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21805         Opt_TextCase value_value_buf = {};
21806         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21807         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21808         {
21809             value_value_buf.value = static_cast<Ark_TextCase>(thisDeserializer.readInt32());
21810         }
21811         Opt_TextCase value_value = value_value_buf;;
21812         GetNodeModifiers()->getSpanModifier()->setTextCase(self, (const Opt_TextCase*)&value_value);
21813 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_textCase,Ark_NativePointer,KSerializerBuffer,int32_t)21814 KOALA_INTEROP_DIRECT_V3(SpanAttribute_textCase, Ark_NativePointer, KSerializerBuffer, int32_t)
21815 void impl_SpanAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21816         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21817         Deserializer thisDeserializer(thisArray, thisLength);
21818         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21819         Opt_Length value_value_buf = {};
21820         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21821         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21822         {
21823             value_value_buf.value = thisDeserializer.readLength();
21824         }
21825         Opt_Length value_value = value_value_buf;;
21826         GetNodeModifiers()->getSpanModifier()->setLineHeight(self, (const Opt_Length*)&value_value);
21827 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_lineHeight,Ark_NativePointer,KSerializerBuffer,int32_t)21828 KOALA_INTEROP_DIRECT_V3(SpanAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
21829 void impl_SpanAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21830         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21831         Deserializer thisDeserializer(thisArray, thisLength);
21832         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21833         Opt_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {};
21834         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21835         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21836         {
21837             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
21838             Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf_ = {};
21839             value_value_buf_.selector = value_value_buf__selector;
21840             if (value_value_buf__selector == 0) {
21841                 value_value_buf_.selector = 0;
21842                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
21843             }
21844             else if (value_value_buf__selector == 1) {
21845                 value_value_buf_.selector = 1;
21846                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
21847                 Array_ShadowOptions value_value_buf__u = {};
21848                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
21849         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
21850                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
21851                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readShadowOptions();
21852                 }
21853                 value_value_buf_.value1 = value_value_buf__u;
21854             }
21855             else {
21856                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
21857             }
21858             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_Array_ShadowOptions>(value_value_buf_);
21859         }
21860         Opt_Union_ShadowOptions_Array_ShadowOptions value_value = value_value_buf;;
21861         GetNodeModifiers()->getSpanModifier()->setTextShadow(self, (const Opt_Union_ShadowOptions_Array_ShadowOptions*)&value_value);
21862 }
KOALA_INTEROP_DIRECT_V3(SpanAttribute_textShadow,Ark_NativePointer,KSerializerBuffer,int32_t)21863 KOALA_INTEROP_DIRECT_V3(SpanAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
21864 Ark_NativePointer impl_Stack_construct(Ark_Int32 id, Ark_Int32 flags) {
21865         return GetNodeModifiers()->getStackModifier()->construct(id, flags);
21866 }
KOALA_INTEROP_DIRECT_2(Stack_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)21867 KOALA_INTEROP_DIRECT_2(Stack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
21868 void impl_StackInterface_setStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21869         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21870         Deserializer thisDeserializer(thisArray, thisLength);
21871         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21872         Opt_StackOptions options_value_buf = {};
21873         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21874         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
21875         {
21876             options_value_buf.value = thisDeserializer.readStackOptions();
21877         }
21878         Opt_StackOptions options_value = options_value_buf;;
21879         GetNodeModifiers()->getStackModifier()->setStackOptions(self, (const Opt_StackOptions*)&options_value);
21880 }
KOALA_INTEROP_DIRECT_V3(StackInterface_setStackOptions,Ark_NativePointer,KSerializerBuffer,int32_t)21881 KOALA_INTEROP_DIRECT_V3(StackInterface_setStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
21882 void impl_StackAttribute_alignContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21883         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21884         Deserializer thisDeserializer(thisArray, thisLength);
21885         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21886         Opt_Alignment value_value_buf = {};
21887         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21888         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21889         {
21890             value_value_buf.value = static_cast<Ark_Alignment>(thisDeserializer.readInt32());
21891         }
21892         Opt_Alignment value_value = value_value_buf;;
21893         GetNodeModifiers()->getStackModifier()->setAlignContent(self, (const Opt_Alignment*)&value_value);
21894 }
KOALA_INTEROP_DIRECT_V3(StackAttribute_alignContent,Ark_NativePointer,KSerializerBuffer,int32_t)21895 KOALA_INTEROP_DIRECT_V3(StackAttribute_alignContent, Ark_NativePointer, KSerializerBuffer, int32_t)
21896 void impl_StackAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21897         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21898         Deserializer thisDeserializer(thisArray, thisLength);
21899         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21900         Opt_PointLightStyle value_value_buf = {};
21901         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21902         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21903         {
21904             value_value_buf.value = thisDeserializer.readPointLightStyle();
21905         }
21906         Opt_PointLightStyle value_value = value_value_buf;;
21907         GetNodeModifiers()->getStackModifier()->setPointLight(self, (const Opt_PointLightStyle*)&value_value);
21908 }
KOALA_INTEROP_DIRECT_V3(StackAttribute_pointLight,Ark_NativePointer,KSerializerBuffer,int32_t)21909 KOALA_INTEROP_DIRECT_V3(StackAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t)
21910 Ark_NativePointer impl_Stepper_construct(Ark_Int32 id, Ark_Int32 flags) {
21911         return GetNodeModifiers()->getStepperModifier()->construct(id, flags);
21912 }
KOALA_INTEROP_DIRECT_2(Stepper_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)21913 KOALA_INTEROP_DIRECT_2(Stepper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
21914 void impl_StepperInterface_setStepperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21915         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21916         Deserializer thisDeserializer(thisArray, thisLength);
21917         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21918         Opt_Literal_Number_index value_value_buf = {};
21919         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21920         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21921         {
21922             Ark_Literal_Number_index value_value_buf_ = {};
21923             const auto value_value_buf__index_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21924             Opt_Number value_value_buf__index_buf = {};
21925             value_value_buf__index_buf.tag = value_value_buf__index_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21926             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__index_buf_runtimeType))
21927             {
21928                 value_value_buf__index_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
21929             }
21930             value_value_buf_.index = value_value_buf__index_buf;
21931             value_value_buf.value = value_value_buf_;
21932         }
21933         Opt_Literal_Number_index value_value = value_value_buf;;
21934         GetNodeModifiers()->getStepperModifier()->setStepperOptions(self, (const Opt_Literal_Number_index*)&value_value);
21935 }
KOALA_INTEROP_DIRECT_V3(StepperInterface_setStepperOptions,Ark_NativePointer,KSerializerBuffer,int32_t)21936 KOALA_INTEROP_DIRECT_V3(StepperInterface_setStepperOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
21937 void impl_StepperAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21938         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21939         Deserializer thisDeserializer(thisArray, thisLength);
21940         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21941         Opt_Callback_Void value_value_buf = {};
21942         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21943         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21944         {
21945             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
21946         }
21947         Opt_Callback_Void value_value = value_value_buf;;
21948         GetNodeModifiers()->getStepperModifier()->setOnFinish(self, (const Opt_Callback_Void*)&value_value);
21949 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)21950 KOALA_INTEROP_DIRECT_V3(StepperAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
21951 void impl_StepperAttribute_onSkip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21952         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21953         Deserializer thisDeserializer(thisArray, thisLength);
21954         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21955         Opt_Callback_Void value_value_buf = {};
21956         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21957         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21958         {
21959             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
21960         }
21961         Opt_Callback_Void value_value = value_value_buf;;
21962         GetNodeModifiers()->getStepperModifier()->setOnSkip(self, (const Opt_Callback_Void*)&value_value);
21963 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute_onSkip,Ark_NativePointer,KSerializerBuffer,int32_t)21964 KOALA_INTEROP_DIRECT_V3(StepperAttribute_onSkip, Ark_NativePointer, KSerializerBuffer, int32_t)
21965 void impl_StepperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21966         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21967         Deserializer thisDeserializer(thisArray, thisLength);
21968         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21969         Opt_Callback_Number_Number_Void value_value_buf = {};
21970         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21971         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21972         {
21973             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
21974         }
21975         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
21976         GetNodeModifiers()->getStepperModifier()->setOnChange(self, (const Opt_Callback_Number_Number_Void*)&value_value);
21977 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)21978 KOALA_INTEROP_DIRECT_V3(StepperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
21979 void impl_StepperAttribute_onNext(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21980         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21981         Deserializer thisDeserializer(thisArray, thisLength);
21982         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21983         Opt_Callback_Number_Number_Void value_value_buf = {};
21984         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21985         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
21986         {
21987             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
21988         }
21989         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
21990         GetNodeModifiers()->getStepperModifier()->setOnNext(self, (const Opt_Callback_Number_Number_Void*)&value_value);
21991 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute_onNext,Ark_NativePointer,KSerializerBuffer,int32_t)21992 KOALA_INTEROP_DIRECT_V3(StepperAttribute_onNext, Ark_NativePointer, KSerializerBuffer, int32_t)
21993 void impl_StepperAttribute_onPrevious(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
21994         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
21995         Deserializer thisDeserializer(thisArray, thisLength);
21996         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
21997         Opt_Callback_Number_Number_Void value_value_buf = {};
21998         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
21999         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22000         {
22001             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
22002         }
22003         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
22004         GetNodeModifiers()->getStepperModifier()->setOnPrevious(self, (const Opt_Callback_Number_Number_Void*)&value_value);
22005 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute_onPrevious,Ark_NativePointer,KSerializerBuffer,int32_t)22006 KOALA_INTEROP_DIRECT_V3(StepperAttribute_onPrevious, Ark_NativePointer, KSerializerBuffer, int32_t)
22007 void impl_StepperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22008         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22009         Deserializer thisDeserializer(thisArray, thisLength);
22010         Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
22011         GetNodeModifiers()->getStepperModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value);
22012 }
KOALA_INTEROP_DIRECT_V3(StepperAttribute__onChangeEvent_index,Ark_NativePointer,KSerializerBuffer,int32_t)22013 KOALA_INTEROP_DIRECT_V3(StepperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t)
22014 Ark_NativePointer impl_StepperItem_construct(Ark_Int32 id, Ark_Int32 flags) {
22015         return GetNodeModifiers()->getStepperItemModifier()->construct(id, flags);
22016 }
KOALA_INTEROP_DIRECT_2(StepperItem_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)22017 KOALA_INTEROP_DIRECT_2(StepperItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
22018 void impl_StepperItemInterface_setStepperItemOptions(Ark_NativePointer thisPtr) {
22019         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22020         GetNodeModifiers()->getStepperItemModifier()->setStepperItemOptions(self);
22021 }
KOALA_INTEROP_DIRECT_V1(StepperItemInterface_setStepperItemOptions,Ark_NativePointer)22022 KOALA_INTEROP_DIRECT_V1(StepperItemInterface_setStepperItemOptions, Ark_NativePointer)
22023 void impl_StepperItemAttribute_prevLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22024         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22025         Deserializer thisDeserializer(thisArray, thisLength);
22026         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22027         Opt_String value_value_buf = {};
22028         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22029         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22030         {
22031             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
22032         }
22033         Opt_String value_value = value_value_buf;;
22034         GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, (const Opt_String*)&value_value);
22035 }
KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_prevLabel,Ark_NativePointer,KSerializerBuffer,int32_t)22036 KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_prevLabel, Ark_NativePointer, KSerializerBuffer, int32_t)
22037 void impl_StepperItemAttribute_nextLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22038         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22039         Deserializer thisDeserializer(thisArray, thisLength);
22040         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22041         Opt_String value_value_buf = {};
22042         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22043         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22044         {
22045             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
22046         }
22047         Opt_String value_value = value_value_buf;;
22048         GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, (const Opt_String*)&value_value);
22049 }
KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_nextLabel,Ark_NativePointer,KSerializerBuffer,int32_t)22050 KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_nextLabel, Ark_NativePointer, KSerializerBuffer, int32_t)
22051 void impl_StepperItemAttribute_status(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22052         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22053         Deserializer thisDeserializer(thisArray, thisLength);
22054         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22055         Opt_ItemState value_value_buf = {};
22056         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22057         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22058         {
22059             value_value_buf.value = static_cast<Ark_ItemState>(thisDeserializer.readInt32());
22060         }
22061         Opt_ItemState value_value = value_value_buf;;
22062         GetNodeModifiers()->getStepperItemModifier()->setStatus(self, (const Opt_ItemState*)&value_value);
22063 }
KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_status,Ark_NativePointer,KSerializerBuffer,int32_t)22064 KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_status, Ark_NativePointer, KSerializerBuffer, int32_t)
22065 Ark_NativePointer impl_Swiper_construct(Ark_Int32 id, Ark_Int32 flags) {
22066         return GetNodeModifiers()->getSwiperModifier()->construct(id, flags);
22067 }
KOALA_INTEROP_DIRECT_2(Swiper_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)22068 KOALA_INTEROP_DIRECT_2(Swiper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
22069 void impl_SwiperInterface_setSwiperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22070         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22071         Deserializer thisDeserializer(thisArray, thisLength);
22072         const auto controller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22073         Opt_SwiperController controller_value_buf = {};
22074         controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22075         if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType))
22076         {
22077             controller_value_buf.value = static_cast<Ark_SwiperController>(thisDeserializer.readSwiperController());
22078         }
22079         Opt_SwiperController controller_value = controller_value_buf;;
22080         GetNodeModifiers()->getSwiperModifier()->setSwiperOptions(self, (const Opt_SwiperController*)&controller_value);
22081 }
KOALA_INTEROP_DIRECT_V3(SwiperInterface_setSwiperOptions,Ark_NativePointer,KSerializerBuffer,int32_t)22082 KOALA_INTEROP_DIRECT_V3(SwiperInterface_setSwiperOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
22083 void impl_SwiperAttribute_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22084         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22085         Deserializer thisDeserializer(thisArray, thisLength);
22086         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22087         Opt_Number value_value_buf = {};
22088         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22089         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22090         {
22091             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22092         }
22093         Opt_Number value_value = value_value_buf;;
22094         GetNodeModifiers()->getSwiperModifier()->setIndex(self, (const Opt_Number*)&value_value);
22095 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_index,Ark_NativePointer,KSerializerBuffer,int32_t)22096 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_index, Ark_NativePointer, KSerializerBuffer, int32_t)
22097 void impl_SwiperAttribute_autoPlay0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22098         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22099         Deserializer thisDeserializer(thisArray, thisLength);
22100         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22101         Opt_Boolean value_value_buf = {};
22102         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22103         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22104         {
22105             value_value_buf.value = thisDeserializer.readBoolean();
22106         }
22107         Opt_Boolean value_value = value_value_buf;;
22108         GetNodeModifiers()->getSwiperModifier()->setAutoPlay0(self, (const Opt_Boolean*)&value_value);
22109 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_autoPlay0,Ark_NativePointer,KSerializerBuffer,int32_t)22110 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_autoPlay0, Ark_NativePointer, KSerializerBuffer, int32_t)
22111 void impl_SwiperAttribute_autoPlay1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22112         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22113         Deserializer thisDeserializer(thisArray, thisLength);
22114         const auto autoPlay_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22115         Opt_Boolean autoPlay_value_buf = {};
22116         autoPlay_value_buf.tag = autoPlay_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22117         if ((INTEROP_RUNTIME_UNDEFINED) != (autoPlay_value_buf_runtimeType))
22118         {
22119             autoPlay_value_buf.value = thisDeserializer.readBoolean();
22120         }
22121         Opt_Boolean autoPlay_value = autoPlay_value_buf;;
22122         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22123         Opt_AutoPlayOptions options_value_buf = {};
22124         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22125         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
22126         {
22127             options_value_buf.value = thisDeserializer.readAutoPlayOptions();
22128         }
22129         Opt_AutoPlayOptions options_value = options_value_buf;;
22130         GetNodeModifiers()->getSwiperModifier()->setAutoPlay1(self, (const Opt_Boolean*)&autoPlay_value, (const Opt_AutoPlayOptions*)&options_value);
22131 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_autoPlay1,Ark_NativePointer,KSerializerBuffer,int32_t)22132 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_autoPlay1, Ark_NativePointer, KSerializerBuffer, int32_t)
22133 void impl_SwiperAttribute_interval(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22134         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22135         Deserializer thisDeserializer(thisArray, thisLength);
22136         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22137         Opt_Number value_value_buf = {};
22138         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22139         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22140         {
22141             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22142         }
22143         Opt_Number value_value = value_value_buf;;
22144         GetNodeModifiers()->getSwiperModifier()->setInterval(self, (const Opt_Number*)&value_value);
22145 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_interval,Ark_NativePointer,KSerializerBuffer,int32_t)22146 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_interval, Ark_NativePointer, KSerializerBuffer, int32_t)
22147 void impl_SwiperAttribute_indicator0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22148         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22149         Deserializer thisDeserializer(thisArray, thisLength);
22150         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22151         Opt_Union_DotIndicator_DigitIndicator_Boolean value_value_buf = {};
22152         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22153         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22154         {
22155             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22156             Ark_Union_DotIndicator_DigitIndicator_Boolean value_value_buf_ = {};
22157             value_value_buf_.selector = value_value_buf__selector;
22158             if (value_value_buf__selector == 0) {
22159                 value_value_buf_.selector = 0;
22160                 value_value_buf_.value0 = thisDeserializer.readDotIndicator();
22161             }
22162             else if (value_value_buf__selector == 1) {
22163                 value_value_buf_.selector = 1;
22164                 value_value_buf_.value1 = thisDeserializer.readDigitIndicator();
22165             }
22166             else if (value_value_buf__selector == 2) {
22167                 value_value_buf_.selector = 2;
22168                 value_value_buf_.value2 = thisDeserializer.readBoolean();
22169             }
22170             else {
22171                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22172             }
22173             value_value_buf.value = static_cast<Ark_Union_DotIndicator_DigitIndicator_Boolean>(value_value_buf_);
22174         }
22175         Opt_Union_DotIndicator_DigitIndicator_Boolean value_value = value_value_buf;;
22176         GetNodeModifiers()->getSwiperModifier()->setIndicator0(self, (const Opt_Union_DotIndicator_DigitIndicator_Boolean*)&value_value);
22177 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator0,Ark_NativePointer,KSerializerBuffer,int32_t)22178 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator0, Ark_NativePointer, KSerializerBuffer, int32_t)
22179 void impl_SwiperAttribute_indicator1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22180         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22181         Deserializer thisDeserializer(thisArray, thisLength);
22182         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22183         Opt_Type_SwiperAttribute_indicator_indicator value_value_buf = {};
22184         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22185         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22186         {
22187             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22188             Ark_Type_SwiperAttribute_indicator_indicator value_value_buf_ = {};
22189             value_value_buf_.selector = value_value_buf__selector;
22190             if (value_value_buf__selector == 0) {
22191                 value_value_buf_.selector = 0;
22192                 value_value_buf_.value0 = static_cast<Ark_IndicatorComponentController>(thisDeserializer.readIndicatorComponentController());
22193             }
22194             else if (value_value_buf__selector == 1) {
22195                 value_value_buf_.selector = 1;
22196                 value_value_buf_.value1 = thisDeserializer.readDotIndicator();
22197             }
22198             else if (value_value_buf__selector == 2) {
22199                 value_value_buf_.selector = 2;
22200                 value_value_buf_.value2 = thisDeserializer.readDigitIndicator();
22201             }
22202             else if (value_value_buf__selector == 3) {
22203                 value_value_buf_.selector = 3;
22204                 value_value_buf_.value3 = thisDeserializer.readBoolean();
22205             }
22206             else {
22207                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22208             }
22209             value_value_buf.value = static_cast<Ark_Type_SwiperAttribute_indicator_indicator>(value_value_buf_);
22210         }
22211         Opt_Type_SwiperAttribute_indicator_indicator value_value = value_value_buf;;
22212         GetNodeModifiers()->getSwiperModifier()->setIndicator1(self, (const Opt_Type_SwiperAttribute_indicator_indicator*)&value_value);
22213 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator1,Ark_NativePointer,KSerializerBuffer,int32_t)22214 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator1, Ark_NativePointer, KSerializerBuffer, int32_t)
22215 void impl_SwiperAttribute_loop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22216         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22217         Deserializer thisDeserializer(thisArray, thisLength);
22218         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22219         Opt_Boolean value_value_buf = {};
22220         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22221         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22222         {
22223             value_value_buf.value = thisDeserializer.readBoolean();
22224         }
22225         Opt_Boolean value_value = value_value_buf;;
22226         GetNodeModifiers()->getSwiperModifier()->setLoop(self, (const Opt_Boolean*)&value_value);
22227 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_loop,Ark_NativePointer,KSerializerBuffer,int32_t)22228 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_loop, Ark_NativePointer, KSerializerBuffer, int32_t)
22229 void impl_SwiperAttribute_duration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22230         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22231         Deserializer thisDeserializer(thisArray, thisLength);
22232         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22233         Opt_Number value_value_buf = {};
22234         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22235         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22236         {
22237             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22238         }
22239         Opt_Number value_value = value_value_buf;;
22240         GetNodeModifiers()->getSwiperModifier()->setDuration(self, (const Opt_Number*)&value_value);
22241 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_duration,Ark_NativePointer,KSerializerBuffer,int32_t)22242 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_duration, Ark_NativePointer, KSerializerBuffer, int32_t)
22243 void impl_SwiperAttribute_vertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22244         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22245         Deserializer thisDeserializer(thisArray, thisLength);
22246         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22247         Opt_Boolean value_value_buf = {};
22248         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22249         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22250         {
22251             value_value_buf.value = thisDeserializer.readBoolean();
22252         }
22253         Opt_Boolean value_value = value_value_buf;;
22254         GetNodeModifiers()->getSwiperModifier()->setVertical(self, (const Opt_Boolean*)&value_value);
22255 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_vertical,Ark_NativePointer,KSerializerBuffer,int32_t)22256 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_vertical, Ark_NativePointer, KSerializerBuffer, int32_t)
22257 void impl_SwiperAttribute_itemSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22258         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22259         Deserializer thisDeserializer(thisArray, thisLength);
22260         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22261         Opt_Union_Number_String value_value_buf = {};
22262         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22263         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22264         {
22265             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22266             Ark_Union_Number_String value_value_buf_ = {};
22267             value_value_buf_.selector = value_value_buf__selector;
22268             if (value_value_buf__selector == 0) {
22269                 value_value_buf_.selector = 0;
22270                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22271             }
22272             else if (value_value_buf__selector == 1) {
22273                 value_value_buf_.selector = 1;
22274                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
22275             }
22276             else {
22277                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22278             }
22279             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
22280         }
22281         Opt_Union_Number_String value_value = value_value_buf;;
22282         GetNodeModifiers()->getSwiperModifier()->setItemSpace(self, (const Opt_Union_Number_String*)&value_value);
22283 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_itemSpace,Ark_NativePointer,KSerializerBuffer,int32_t)22284 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_itemSpace, Ark_NativePointer, KSerializerBuffer, int32_t)
22285 void impl_SwiperAttribute_displayMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22286         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22287         Deserializer thisDeserializer(thisArray, thisLength);
22288         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22289         Opt_SwiperDisplayMode value_value_buf = {};
22290         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22291         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22292         {
22293             value_value_buf.value = static_cast<Ark_SwiperDisplayMode>(thisDeserializer.readInt32());
22294         }
22295         Opt_SwiperDisplayMode value_value = value_value_buf;;
22296         GetNodeModifiers()->getSwiperModifier()->setDisplayMode(self, (const Opt_SwiperDisplayMode*)&value_value);
22297 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayMode,Ark_NativePointer,KSerializerBuffer,int32_t)22298 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayMode, Ark_NativePointer, KSerializerBuffer, int32_t)
22299 void impl_SwiperAttribute_cachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22300         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22301         Deserializer thisDeserializer(thisArray, thisLength);
22302         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22303         Opt_Number value_value_buf = {};
22304         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22305         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22306         {
22307             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22308         }
22309         Opt_Number value_value = value_value_buf;;
22310         GetNodeModifiers()->getSwiperModifier()->setCachedCount0(self, (const Opt_Number*)&value_value);
22311 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_cachedCount0,Ark_NativePointer,KSerializerBuffer,int32_t)22312 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_cachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t)
22313 void impl_SwiperAttribute_cachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22314         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22315         Deserializer thisDeserializer(thisArray, thisLength);
22316         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22317         Opt_Number count_value_buf = {};
22318         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22319         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
22320         {
22321             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22322         }
22323         Opt_Number count_value = count_value_buf;;
22324         const auto isShown_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22325         Opt_Boolean isShown_value_buf = {};
22326         isShown_value_buf.tag = isShown_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22327         if ((INTEROP_RUNTIME_UNDEFINED) != (isShown_value_buf_runtimeType))
22328         {
22329             isShown_value_buf.value = thisDeserializer.readBoolean();
22330         }
22331         Opt_Boolean isShown_value = isShown_value_buf;;
22332         GetNodeModifiers()->getSwiperModifier()->setCachedCount1(self, (const Opt_Number*)&count_value, (const Opt_Boolean*)&isShown_value);
22333 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_cachedCount1,Ark_NativePointer,KSerializerBuffer,int32_t)22334 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_cachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t)
22335 void impl_SwiperAttribute_effectMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22336         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22337         Deserializer thisDeserializer(thisArray, thisLength);
22338         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22339         Opt_EdgeEffect value_value_buf = {};
22340         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22341         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22342         {
22343             value_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
22344         }
22345         Opt_EdgeEffect value_value = value_value_buf;;
22346         GetNodeModifiers()->getSwiperModifier()->setEffectMode(self, (const Opt_EdgeEffect*)&value_value);
22347 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_effectMode,Ark_NativePointer,KSerializerBuffer,int32_t)22348 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_effectMode, Ark_NativePointer, KSerializerBuffer, int32_t)
22349 void impl_SwiperAttribute_disableSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22350         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22351         Deserializer thisDeserializer(thisArray, thisLength);
22352         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22353         Opt_Boolean value_value_buf = {};
22354         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22355         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22356         {
22357             value_value_buf.value = thisDeserializer.readBoolean();
22358         }
22359         Opt_Boolean value_value = value_value_buf;;
22360         GetNodeModifiers()->getSwiperModifier()->setDisableSwipe(self, (const Opt_Boolean*)&value_value);
22361 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_disableSwipe,Ark_NativePointer,KSerializerBuffer,int32_t)22362 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_disableSwipe, Ark_NativePointer, KSerializerBuffer, int32_t)
22363 void impl_SwiperAttribute_curve(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22364         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22365         Deserializer thisDeserializer(thisArray, thisLength);
22366         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22367         Opt_Union_Curve_String_ICurve value_value_buf = {};
22368         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22369         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22370         {
22371             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22372             Ark_Union_Curve_String_ICurve value_value_buf_ = {};
22373             value_value_buf_.selector = value_value_buf__selector;
22374             if (value_value_buf__selector == 0) {
22375                 value_value_buf_.selector = 0;
22376                 value_value_buf_.value0 = static_cast<Ark_Curve>(thisDeserializer.readInt32());
22377             }
22378             else if (value_value_buf__selector == 1) {
22379                 value_value_buf_.selector = 1;
22380                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
22381             }
22382             else if (value_value_buf__selector == 2) {
22383                 value_value_buf_.selector = 2;
22384                 value_value_buf_.value2 = static_cast<Ark_ICurve>(thisDeserializer.readICurve());
22385             }
22386             else {
22387                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22388             }
22389             value_value_buf.value = static_cast<Ark_Union_Curve_String_ICurve>(value_value_buf_);
22390         }
22391         Opt_Union_Curve_String_ICurve value_value = value_value_buf;;
22392         GetNodeModifiers()->getSwiperModifier()->setCurve(self, (const Opt_Union_Curve_String_ICurve*)&value_value);
22393 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_curve,Ark_NativePointer,KSerializerBuffer,int32_t)22394 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_curve, Ark_NativePointer, KSerializerBuffer, int32_t)
22395 void impl_SwiperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22396         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22397         Deserializer thisDeserializer(thisArray, thisLength);
22398         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22399         Opt_Callback_Number_Void value_value_buf = {};
22400         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22401         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22402         {
22403             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
22404         }
22405         Opt_Callback_Number_Void value_value = value_value_buf;;
22406         GetNodeModifiers()->getSwiperModifier()->setOnChange(self, (const Opt_Callback_Number_Void*)&value_value);
22407 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)22408 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
22409 void impl_SwiperAttribute_onSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22410         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22411         Deserializer thisDeserializer(thisArray, thisLength);
22412         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22413         Opt_Callback_Number_Void value_value_buf = {};
22414         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22415         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22416         {
22417             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
22418         }
22419         Opt_Callback_Number_Void value_value = value_value_buf;;
22420         GetNodeModifiers()->getSwiperModifier()->setOnSelected(self, (const Opt_Callback_Number_Void*)&value_value);
22421 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onSelected,Ark_NativePointer,KSerializerBuffer,int32_t)22422 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onSelected, Ark_NativePointer, KSerializerBuffer, int32_t)
22423 void impl_SwiperAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22424         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22425         Deserializer thisDeserializer(thisArray, thisLength);
22426         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22427         Opt_IndicatorStyle value_value_buf = {};
22428         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22429         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22430         {
22431             value_value_buf.value = thisDeserializer.readIndicatorStyle();
22432         }
22433         Opt_IndicatorStyle value_value = value_value_buf;;
22434         GetNodeModifiers()->getSwiperModifier()->setIndicatorStyle(self, (const Opt_IndicatorStyle*)&value_value);
22435 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorStyle,Ark_NativePointer,KSerializerBuffer,int32_t)22436 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
22437 void impl_SwiperAttribute_onUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22438         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22439         Deserializer thisDeserializer(thisArray, thisLength);
22440         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22441         Opt_Callback_Number_Void value_value_buf = {};
22442         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22443         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22444         {
22445             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
22446         }
22447         Opt_Callback_Number_Void value_value = value_value_buf;;
22448         GetNodeModifiers()->getSwiperModifier()->setOnUnselected(self, (const Opt_Callback_Number_Void*)&value_value);
22449 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onUnselected,Ark_NativePointer,KSerializerBuffer,int32_t)22450 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onUnselected, Ark_NativePointer, KSerializerBuffer, int32_t)
22451 void impl_SwiperAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22452         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22453         Deserializer thisDeserializer(thisArray, thisLength);
22454         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22455         Opt_OnSwiperAnimationStartCallback value_value_buf = {};
22456         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22457         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22458         {
22459             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number targetIndex, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSwiperAnimationStartCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number targetIndex, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSwiperAnimationStartCallback))))};
22460         }
22461         Opt_OnSwiperAnimationStartCallback value_value = value_value_buf;;
22462         GetNodeModifiers()->getSwiperModifier()->setOnAnimationStart(self, (const Opt_OnSwiperAnimationStartCallback*)&value_value);
22463 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationStart,Ark_NativePointer,KSerializerBuffer,int32_t)22464 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t)
22465 void impl_SwiperAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22466         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22467         Deserializer thisDeserializer(thisArray, thisLength);
22468         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22469         Opt_OnSwiperAnimationEndCallback value_value_buf = {};
22470         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22471         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22472         {
22473             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSwiperAnimationEndCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSwiperAnimationEndCallback))))};
22474         }
22475         Opt_OnSwiperAnimationEndCallback value_value = value_value_buf;;
22476         GetNodeModifiers()->getSwiperModifier()->setOnAnimationEnd(self, (const Opt_OnSwiperAnimationEndCallback*)&value_value);
22477     }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationEnd,Ark_NativePointer,KSerializerBuffer,int32_t)22478 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
22479 void impl_SwiperAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22480         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22481         Deserializer thisDeserializer(thisArray, thisLength);
22482         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22483         Opt_OnSwiperGestureSwipeCallback value_value_buf = {};
22484         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22485         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22486         {
22487             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSwiperGestureSwipeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSwiperGestureSwipeCallback))))};
22488         }
22489         Opt_OnSwiperGestureSwipeCallback value_value = value_value_buf;;
22490         GetNodeModifiers()->getSwiperModifier()->setOnGestureSwipe(self, (const Opt_OnSwiperGestureSwipeCallback*)&value_value);
22491 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onGestureSwipe,Ark_NativePointer,KSerializerBuffer,int32_t)22492 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t)
22493 void impl_SwiperAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22494         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22495         Deserializer thisDeserializer(thisArray, thisLength);
22496         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22497         Opt_SwiperNestedScrollMode value_value_buf = {};
22498         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22499         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22500         {
22501             value_value_buf.value = static_cast<Ark_SwiperNestedScrollMode>(thisDeserializer.readInt32());
22502         }
22503         Opt_SwiperNestedScrollMode value_value = value_value_buf;;
22504         GetNodeModifiers()->getSwiperModifier()->setNestedScroll(self, (const Opt_SwiperNestedScrollMode*)&value_value);
22505 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)22506 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
22507 void impl_SwiperAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22508         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22509         Deserializer thisDeserializer(thisArray, thisLength);
22510         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22511         Opt_SwiperContentAnimatedTransition value_value_buf = {};
22512         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22513         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22514         {
22515             value_value_buf.value = thisDeserializer.readSwiperContentAnimatedTransition();
22516         }
22517         Opt_SwiperContentAnimatedTransition value_value = value_value_buf;;
22518         GetNodeModifiers()->getSwiperModifier()->setCustomContentTransition(self, (const Opt_SwiperContentAnimatedTransition*)&value_value);
22519 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_customContentTransition,Ark_NativePointer,KSerializerBuffer,int32_t)22520 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
22521 void impl_SwiperAttribute_onContentDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22522         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22523         Deserializer thisDeserializer(thisArray, thisLength);
22524         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22525         Opt_ContentDidScrollCallback value_value_buf = {};
22526         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22527         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22528         {
22529             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number selectedIndex, const Ark_Number index, const Ark_Number position, const Ark_Number mainAxisLength)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ContentDidScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number selectedIndex, const Ark_Number index, const Ark_Number position, const Ark_Number mainAxisLength)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ContentDidScrollCallback))))};
22530         }
22531         Opt_ContentDidScrollCallback value_value = value_value_buf;;
22532         GetNodeModifiers()->getSwiperModifier()->setOnContentDidScroll(self, (const Opt_ContentDidScrollCallback*)&value_value);
22533 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentDidScroll,Ark_NativePointer,KSerializerBuffer,int32_t)22534 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
22535 void impl_SwiperAttribute_indicatorInteractive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22536         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22537         Deserializer thisDeserializer(thisArray, thisLength);
22538         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22539         Opt_Boolean value_value_buf = {};
22540         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22541         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22542         {
22543             value_value_buf.value = thisDeserializer.readBoolean();
22544         }
22545         Opt_Boolean value_value = value_value_buf;;
22546         GetNodeModifiers()->getSwiperModifier()->setIndicatorInteractive(self, (const Opt_Boolean*)&value_value);
22547 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorInteractive,Ark_NativePointer,KSerializerBuffer,int32_t)22548 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorInteractive, Ark_NativePointer, KSerializerBuffer, int32_t)
22549 void impl_SwiperAttribute_pageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22550         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22551         Deserializer thisDeserializer(thisArray, thisLength);
22552         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22553         Opt_PageFlipMode value_value_buf = {};
22554         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22555         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22556         {
22557             value_value_buf.value = static_cast<Ark_PageFlipMode>(thisDeserializer.readInt32());
22558         }
22559         Opt_PageFlipMode value_value = value_value_buf;;
22560         GetNodeModifiers()->getSwiperModifier()->setPageFlipMode(self, (const Opt_PageFlipMode*)&value_value);
22561 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_pageFlipMode,Ark_NativePointer,KSerializerBuffer,int32_t)22562 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_pageFlipMode, Ark_NativePointer, KSerializerBuffer, int32_t)
22563 void impl_SwiperAttribute_onContentWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22564         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22565         Deserializer thisDeserializer(thisArray, thisLength);
22566         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22567         Opt_ContentWillScrollCallback value_value_buf = {};
22568         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22569         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22570         {
22571             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_SwiperContentWillScrollResult result, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ContentWillScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SwiperContentWillScrollResult result, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ContentWillScrollCallback))))};
22572         }
22573         Opt_ContentWillScrollCallback value_value = value_value_buf;;
22574         GetNodeModifiers()->getSwiperModifier()->setOnContentWillScroll(self, (const Opt_ContentWillScrollCallback*)&value_value);
22575 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentWillScroll,Ark_NativePointer,KSerializerBuffer,int32_t)22576 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
22577 void impl_SwiperAttribute_displayArrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22578         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22579         Deserializer thisDeserializer(thisArray, thisLength);
22580         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22581         Opt_Union_ArrowStyle_Boolean value_value_buf = {};
22582         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22583         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22584         {
22585             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22586             Ark_Union_ArrowStyle_Boolean value_value_buf_ = {};
22587             value_value_buf_.selector = value_value_buf__selector;
22588             if (value_value_buf__selector == 0) {
22589                 value_value_buf_.selector = 0;
22590                 value_value_buf_.value0 = thisDeserializer.readArrowStyle();
22591             }
22592             else if (value_value_buf__selector == 1) {
22593                 value_value_buf_.selector = 1;
22594                 value_value_buf_.value1 = thisDeserializer.readBoolean();
22595             }
22596             else {
22597                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22598             }
22599             value_value_buf.value = static_cast<Ark_Union_ArrowStyle_Boolean>(value_value_buf_);
22600         }
22601         Opt_Union_ArrowStyle_Boolean value_value = value_value_buf;;
22602         const auto isHoverShow_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22603         Opt_Boolean isHoverShow_value_buf = {};
22604         isHoverShow_value_buf.tag = isHoverShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22605         if ((INTEROP_RUNTIME_UNDEFINED) != (isHoverShow_value_buf_runtimeType))
22606         {
22607             isHoverShow_value_buf.value = thisDeserializer.readBoolean();
22608         }
22609         Opt_Boolean isHoverShow_value = isHoverShow_value_buf;;
22610         GetNodeModifiers()->getSwiperModifier()->setDisplayArrow(self, (const Opt_Union_ArrowStyle_Boolean*)&value_value, (const Opt_Boolean*)&isHoverShow_value);
22611 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayArrow,Ark_NativePointer,KSerializerBuffer,int32_t)22612 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayArrow, Ark_NativePointer, KSerializerBuffer, int32_t)
22613 void impl_SwiperAttribute_displayCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22614         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22615         Deserializer thisDeserializer(thisArray, thisLength);
22616         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22617         Opt_Union_Number_String_SwiperAutoFill value_value_buf = {};
22618         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22619         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22620         {
22621             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22622             Ark_Union_Number_String_SwiperAutoFill value_value_buf_ = {};
22623             value_value_buf_.selector = value_value_buf__selector;
22624             if (value_value_buf__selector == 0) {
22625                 value_value_buf_.selector = 0;
22626                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22627             }
22628             else if (value_value_buf__selector == 1) {
22629                 value_value_buf_.selector = 1;
22630                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
22631             }
22632             else if (value_value_buf__selector == 2) {
22633                 value_value_buf_.selector = 2;
22634                 value_value_buf_.value2 = thisDeserializer.readSwiperAutoFill();
22635             }
22636             else {
22637                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22638             }
22639             value_value_buf.value = static_cast<Ark_Union_Number_String_SwiperAutoFill>(value_value_buf_);
22640         }
22641         Opt_Union_Number_String_SwiperAutoFill value_value = value_value_buf;;
22642         const auto swipeByGroup_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22643         Opt_Boolean swipeByGroup_value_buf = {};
22644         swipeByGroup_value_buf.tag = swipeByGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22645         if ((INTEROP_RUNTIME_UNDEFINED) != (swipeByGroup_value_buf_runtimeType))
22646         {
22647             swipeByGroup_value_buf.value = thisDeserializer.readBoolean();
22648         }
22649         Opt_Boolean swipeByGroup_value = swipeByGroup_value_buf;;
22650         GetNodeModifiers()->getSwiperModifier()->setDisplayCount(self, (const Opt_Union_Number_String_SwiperAutoFill*)&value_value, (const Opt_Boolean*)&swipeByGroup_value);
22651 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayCount,Ark_NativePointer,KSerializerBuffer,int32_t)22652 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayCount, Ark_NativePointer, KSerializerBuffer, int32_t)
22653 void impl_SwiperAttribute_prevMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22654         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22655         Deserializer thisDeserializer(thisArray, thisLength);
22656         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22657         Opt_Length value_value_buf = {};
22658         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22659         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22660         {
22661             value_value_buf.value = thisDeserializer.readLength();
22662         }
22663         Opt_Length value_value = value_value_buf;;
22664         const auto ignoreBlank_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22665         Opt_Boolean ignoreBlank_value_buf = {};
22666         ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22667         if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType))
22668         {
22669             ignoreBlank_value_buf.value = thisDeserializer.readBoolean();
22670         }
22671         Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;;
22672         GetNodeModifiers()->getSwiperModifier()->setPrevMargin(self, (const Opt_Length*)&value_value, (const Opt_Boolean*)&ignoreBlank_value);
22673 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_prevMargin,Ark_NativePointer,KSerializerBuffer,int32_t)22674 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_prevMargin, Ark_NativePointer, KSerializerBuffer, int32_t)
22675 void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22676         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22677         Deserializer thisDeserializer(thisArray, thisLength);
22678         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22679         Opt_Length value_value_buf = {};
22680         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22681         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22682         {
22683             value_value_buf.value = thisDeserializer.readLength();
22684         }
22685         Opt_Length value_value = value_value_buf;;
22686         const auto ignoreBlank_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22687         Opt_Boolean ignoreBlank_value_buf = {};
22688         ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22689         if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType))
22690         {
22691             ignoreBlank_value_buf.value = thisDeserializer.readBoolean();
22692         }
22693         Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;;
22694         GetNodeModifiers()->getSwiperModifier()->setNextMargin(self, (const Opt_Length*)&value_value, (const Opt_Boolean*)&ignoreBlank_value);
22695 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nextMargin,Ark_NativePointer,KSerializerBuffer,int32_t)22696 KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nextMargin, Ark_NativePointer, KSerializerBuffer, int32_t)
22697 void impl_SwiperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22698         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22699         Deserializer thisDeserializer(thisArray, thisLength);
22700         Callback_Opt_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Number_Void))))};;
22701         GetNodeModifiers()->getSwiperModifier()->set_onChangeEvent_index(self, (const Callback_Opt_Number_Void*)&callback_value);
22702 }
KOALA_INTEROP_DIRECT_V3(SwiperAttribute__onChangeEvent_index,Ark_NativePointer,KSerializerBuffer,int32_t)22703 KOALA_INTEROP_DIRECT_V3(SwiperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t)
22704 Ark_NativePointer impl_IndicatorComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
22705         return GetNodeModifiers()->getIndicatorComponentModifier()->construct(id, flags);
22706 }
KOALA_INTEROP_DIRECT_2(IndicatorComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)22707 KOALA_INTEROP_DIRECT_2(IndicatorComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
22708 void impl_IndicatorComponentInterface_setIndicatorComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22709         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22710         Deserializer thisDeserializer(thisArray, thisLength);
22711         const auto controller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22712         Opt_IndicatorComponentController controller_value_buf = {};
22713         controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22714         if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType))
22715         {
22716             controller_value_buf.value = static_cast<Ark_IndicatorComponentController>(thisDeserializer.readIndicatorComponentController());
22717         }
22718         Opt_IndicatorComponentController controller_value = controller_value_buf;;
22719         GetNodeModifiers()->getIndicatorComponentModifier()->setIndicatorComponentOptions(self, (const Opt_IndicatorComponentController*)&controller_value);
22720 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentInterface_setIndicatorComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t)22721 KOALA_INTEROP_DIRECT_V3(IndicatorComponentInterface_setIndicatorComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
22722 void impl_IndicatorComponentAttribute_initialIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22723         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22724         Deserializer thisDeserializer(thisArray, thisLength);
22725         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22726         Opt_Number value_value_buf = {};
22727         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22728         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22729         {
22730             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22731         }
22732         Opt_Number value_value = value_value_buf;;
22733         GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, (const Opt_Number*)&value_value);
22734 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_initialIndex,Ark_NativePointer,KSerializerBuffer,int32_t)22735 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_initialIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
22736 void impl_IndicatorComponentAttribute_count(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22737         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22738         Deserializer thisDeserializer(thisArray, thisLength);
22739         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22740         Opt_Number value_value_buf = {};
22741         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22742         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22743         {
22744             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
22745         }
22746         Opt_Number value_value = value_value_buf;;
22747         GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, (const Opt_Number*)&value_value);
22748 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_count,Ark_NativePointer,KSerializerBuffer,int32_t)22749 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_count, Ark_NativePointer, KSerializerBuffer, int32_t)
22750 void impl_IndicatorComponentAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22751         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22752         Deserializer thisDeserializer(thisArray, thisLength);
22753         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22754         Opt_Union_DotIndicator_DigitIndicator value_value_buf = {};
22755         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22756         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22757         {
22758             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22759             Ark_Union_DotIndicator_DigitIndicator value_value_buf_ = {};
22760             value_value_buf_.selector = value_value_buf__selector;
22761             if (value_value_buf__selector == 0) {
22762                 value_value_buf_.selector = 0;
22763                 value_value_buf_.value0 = thisDeserializer.readDotIndicator();
22764             }
22765             else if (value_value_buf__selector == 1) {
22766                 value_value_buf_.selector = 1;
22767                 value_value_buf_.value1 = thisDeserializer.readDigitIndicator();
22768             }
22769             else {
22770                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22771             }
22772             value_value_buf.value = static_cast<Ark_Union_DotIndicator_DigitIndicator>(value_value_buf_);
22773         }
22774         Opt_Union_DotIndicator_DigitIndicator value_value = value_value_buf;;
22775         GetNodeModifiers()->getIndicatorComponentModifier()->setStyle(self, (const Opt_Union_DotIndicator_DigitIndicator*)&value_value);
22776 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_style,Ark_NativePointer,KSerializerBuffer,int32_t)22777 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t)
22778 void impl_IndicatorComponentAttribute_loop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22779         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22780         Deserializer thisDeserializer(thisArray, thisLength);
22781         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22782         Opt_Boolean value_value_buf = {};
22783         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22784         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22785         {
22786             value_value_buf.value = thisDeserializer.readBoolean();
22787         }
22788         Opt_Boolean value_value = value_value_buf;;
22789         GetNodeModifiers()->getIndicatorComponentModifier()->setLoop(self, (const Opt_Boolean*)&value_value);
22790 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_loop,Ark_NativePointer,KSerializerBuffer,int32_t)22791 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_loop, Ark_NativePointer, KSerializerBuffer, int32_t)
22792 void impl_IndicatorComponentAttribute_vertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22793         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22794         Deserializer thisDeserializer(thisArray, thisLength);
22795         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22796         Opt_Boolean value_value_buf = {};
22797         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22798         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22799         {
22800             value_value_buf.value = thisDeserializer.readBoolean();
22801         }
22802         Opt_Boolean value_value = value_value_buf;;
22803         GetNodeModifiers()->getIndicatorComponentModifier()->setVertical(self, (const Opt_Boolean*)&value_value);
22804 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_vertical,Ark_NativePointer,KSerializerBuffer,int32_t)22805 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_vertical, Ark_NativePointer, KSerializerBuffer, int32_t)
22806 void impl_IndicatorComponentAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22807         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22808         Deserializer thisDeserializer(thisArray, thisLength);
22809         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22810         Opt_Callback_Number_Void value_value_buf = {};
22811         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22812         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22813         {
22814             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
22815         }
22816         Opt_Callback_Number_Void value_value = value_value_buf;;
22817         GetNodeModifiers()->getIndicatorComponentModifier()->setOnChange(self, (const Opt_Callback_Number_Void*)&value_value);
22818 }
KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)22819 KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
22820 Ark_NativePointer impl_SymbolGlyph_construct(Ark_Int32 id, Ark_Int32 flags) {
22821         return GetNodeModifiers()->getSymbolGlyphModifier()->construct(id, flags);
22822 }
KOALA_INTEROP_DIRECT_2(SymbolGlyph_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)22823 KOALA_INTEROP_DIRECT_2(SymbolGlyph_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
22824 void impl_SymbolGlyphInterface_setSymbolGlyphOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22825         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22826         Deserializer thisDeserializer(thisArray, thisLength);
22827         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22828         Opt_Resource value_value_buf = {};
22829         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22830         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22831         {
22832             value_value_buf.value = thisDeserializer.readResource();
22833         }
22834         Opt_Resource value_value = value_value_buf;;
22835         GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolGlyphOptions(self, (const Opt_Resource*)&value_value);
22836 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphInterface_setSymbolGlyphOptions,Ark_NativePointer,KSerializerBuffer,int32_t)22837 KOALA_INTEROP_DIRECT_V3(SymbolGlyphInterface_setSymbolGlyphOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
22838 void impl_SymbolGlyphAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22839         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22840         Deserializer thisDeserializer(thisArray, thisLength);
22841         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22842         Opt_Union_Number_String_Resource value_value_buf = {};
22843         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22844         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22845         {
22846             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22847             Ark_Union_Number_String_Resource value_value_buf_ = {};
22848             value_value_buf_.selector = value_value_buf__selector;
22849             if (value_value_buf__selector == 0) {
22850                 value_value_buf_.selector = 0;
22851                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22852             }
22853             else if (value_value_buf__selector == 1) {
22854                 value_value_buf_.selector = 1;
22855                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
22856             }
22857             else if (value_value_buf__selector == 2) {
22858                 value_value_buf_.selector = 2;
22859                 value_value_buf_.value2 = thisDeserializer.readResource();
22860             }
22861             else {
22862                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22863             }
22864             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
22865         }
22866         Opt_Union_Number_String_Resource value_value = value_value_buf;;
22867         GetNodeModifiers()->getSymbolGlyphModifier()->setFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
22868 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)22869 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
22870 void impl_SymbolGlyphAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22871         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22872         Deserializer thisDeserializer(thisArray, thisLength);
22873         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22874         Opt_Array_ResourceColor value_value_buf = {};
22875         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22876         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22877         {
22878             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
22879             Array_ResourceColor value_value_buf_ = {};
22880             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
22881         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
22882             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
22883                 const Ark_Int8 value_value_buf__buf_selector = thisDeserializer.readInt8();
22884                 Ark_ResourceColor value_value_buf__buf = {};
22885                 value_value_buf__buf.selector = value_value_buf__buf_selector;
22886                 if (value_value_buf__buf_selector == 0) {
22887                     value_value_buf__buf.selector = 0;
22888                     value_value_buf__buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
22889                 }
22890                 else if (value_value_buf__buf_selector == 1) {
22891                     value_value_buf__buf.selector = 1;
22892                     value_value_buf__buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22893                 }
22894                 else if (value_value_buf__buf_selector == 2) {
22895                     value_value_buf__buf.selector = 2;
22896                     value_value_buf__buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
22897                 }
22898                 else if (value_value_buf__buf_selector == 3) {
22899                     value_value_buf__buf.selector = 3;
22900                     value_value_buf__buf.value3 = thisDeserializer.readResource();
22901                 }
22902                 else {
22903                     INTEROP_FATAL("One of the branches for value_value_buf__buf has to be chosen through deserialisation.");
22904                 }
22905                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_ResourceColor>(value_value_buf__buf);
22906             }
22907             value_value_buf.value = value_value_buf_;
22908         }
22909         Opt_Array_ResourceColor value_value = value_value_buf;;
22910         GetNodeModifiers()->getSymbolGlyphModifier()->setFontColor(self, (const Opt_Array_ResourceColor*)&value_value);
22911 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)22912 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
22913 void impl_SymbolGlyphAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22914         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22915         Deserializer thisDeserializer(thisArray, thisLength);
22916         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22917         Opt_Union_Number_FontWeight_String value_value_buf = {};
22918         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22919         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22920         {
22921             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22922             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
22923             value_value_buf_.selector = value_value_buf__selector;
22924             if (value_value_buf__selector == 0) {
22925                 value_value_buf_.selector = 0;
22926                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22927             }
22928             else if (value_value_buf__selector == 1) {
22929                 value_value_buf_.selector = 1;
22930                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
22931             }
22932             else if (value_value_buf__selector == 2) {
22933                 value_value_buf_.selector = 2;
22934                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
22935             }
22936             else {
22937                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22938             }
22939             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
22940         }
22941         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
22942         GetNodeModifiers()->getSymbolGlyphModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
22943 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)22944 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
22945 void impl_SymbolGlyphAttribute_effectStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22946         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22947         Deserializer thisDeserializer(thisArray, thisLength);
22948         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22949         Opt_SymbolEffectStrategy value_value_buf = {};
22950         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22951         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22952         {
22953             value_value_buf.value = static_cast<Ark_SymbolEffectStrategy>(thisDeserializer.readInt32());
22954         }
22955         Opt_SymbolEffectStrategy value_value = value_value_buf;;
22956         GetNodeModifiers()->getSymbolGlyphModifier()->setEffectStrategy(self, (const Opt_SymbolEffectStrategy*)&value_value);
22957 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_effectStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)22958 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_effectStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
22959 void impl_SymbolGlyphAttribute_renderingStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22960         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22961         Deserializer thisDeserializer(thisArray, thisLength);
22962         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22963         Opt_SymbolRenderingStrategy value_value_buf = {};
22964         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22965         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22966         {
22967             value_value_buf.value = static_cast<Ark_SymbolRenderingStrategy>(thisDeserializer.readInt32());
22968         }
22969         Opt_SymbolRenderingStrategy value_value = value_value_buf;;
22970         GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, (const Opt_SymbolRenderingStrategy*)&value_value);
22971 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_renderingStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)22972 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_renderingStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
22973 void impl_SymbolGlyphAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
22974         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
22975         Deserializer thisDeserializer(thisArray, thisLength);
22976         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
22977         Opt_Union_Number_Resource value_value_buf = {};
22978         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
22979         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
22980         {
22981             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
22982             Ark_Union_Number_Resource value_value_buf_ = {};
22983             value_value_buf_.selector = value_value_buf__selector;
22984             if (value_value_buf__selector == 0) {
22985                 value_value_buf_.selector = 0;
22986                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
22987             }
22988             else if (value_value_buf__selector == 1) {
22989                 value_value_buf_.selector = 1;
22990                 value_value_buf_.value1 = thisDeserializer.readResource();
22991             }
22992             else {
22993                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
22994             }
22995             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
22996         }
22997         Opt_Union_Number_Resource value_value = value_value_buf;;
22998         GetNodeModifiers()->getSymbolGlyphModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
22999 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)23000 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
23001 void impl_SymbolGlyphAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23002         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23003         Deserializer thisDeserializer(thisArray, thisLength);
23004         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23005         Opt_Union_Number_Resource value_value_buf = {};
23006         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23007         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23008         {
23009             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23010             Ark_Union_Number_Resource value_value_buf_ = {};
23011             value_value_buf_.selector = value_value_buf__selector;
23012             if (value_value_buf__selector == 0) {
23013                 value_value_buf_.selector = 0;
23014                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23015             }
23016             else if (value_value_buf__selector == 1) {
23017                 value_value_buf_.selector = 1;
23018                 value_value_buf_.value1 = thisDeserializer.readResource();
23019             }
23020             else {
23021                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23022             }
23023             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
23024         }
23025         Opt_Union_Number_Resource value_value = value_value_buf;;
23026         GetNodeModifiers()->getSymbolGlyphModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
23027 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)23028 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
23029 void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23030         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23031         Deserializer thisDeserializer(thisArray, thisLength);
23032         const auto symbolEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23033         Opt_SymbolEffect symbolEffect_value_buf = {};
23034         symbolEffect_value_buf.tag = symbolEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23035         if ((INTEROP_RUNTIME_UNDEFINED) != (symbolEffect_value_buf_runtimeType))
23036         {
23037             symbolEffect_value_buf.value = static_cast<Ark_SymbolEffect>(thisDeserializer.readSymbolEffect());
23038         }
23039         Opt_SymbolEffect symbolEffect_value = symbolEffect_value_buf;;
23040         const auto isActive_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23041         Opt_Boolean isActive_value_buf = {};
23042         isActive_value_buf.tag = isActive_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23043         if ((INTEROP_RUNTIME_UNDEFINED) != (isActive_value_buf_runtimeType))
23044         {
23045             isActive_value_buf.value = thisDeserializer.readBoolean();
23046         }
23047         Opt_Boolean isActive_value = isActive_value_buf;;
23048         GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, (const Opt_SymbolEffect*)&symbolEffect_value, (const Opt_Boolean*)&isActive_value);
23049 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect0,Ark_NativePointer,KSerializerBuffer,int32_t)23050 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect0, Ark_NativePointer, KSerializerBuffer, int32_t)
23051 void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23052         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23053         Deserializer thisDeserializer(thisArray, thisLength);
23054         const auto symbolEffect_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23055         Opt_SymbolEffect symbolEffect_value_buf = {};
23056         symbolEffect_value_buf.tag = symbolEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23057         if ((INTEROP_RUNTIME_UNDEFINED) != (symbolEffect_value_buf_runtimeType))
23058         {
23059             symbolEffect_value_buf.value = static_cast<Ark_SymbolEffect>(thisDeserializer.readSymbolEffect());
23060         }
23061         Opt_SymbolEffect symbolEffect_value = symbolEffect_value_buf;;
23062         const auto triggerValue_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23063         Opt_Number triggerValue_value_buf = {};
23064         triggerValue_value_buf.tag = triggerValue_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23065         if ((INTEROP_RUNTIME_UNDEFINED) != (triggerValue_value_buf_runtimeType))
23066         {
23067             triggerValue_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
23068         }
23069         Opt_Number triggerValue_value = triggerValue_value_buf;;
23070         GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, (const Opt_SymbolEffect*)&symbolEffect_value, (const Opt_Number*)&triggerValue_value);
23071 }
KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect1,Ark_NativePointer,KSerializerBuffer,int32_t)23072 KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, KSerializerBuffer, int32_t)
23073 Ark_NativePointer impl_SymbolSpan_construct(Ark_Int32 id, Ark_Int32 flags) {
23074         return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags);
23075 }
KOALA_INTEROP_DIRECT_2(SymbolSpan_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)23076 KOALA_INTEROP_DIRECT_2(SymbolSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
23077 void impl_SymbolSpanInterface_setSymbolSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23078         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23079         Deserializer thisDeserializer(thisArray, thisLength);
23080         Ark_Resource value_value = thisDeserializer.readResource();;
23081         GetNodeModifiers()->getSymbolSpanModifier()->setSymbolSpanOptions(self, (const Ark_Resource*)&value_value);
23082 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanInterface_setSymbolSpanOptions,Ark_NativePointer,KSerializerBuffer,int32_t)23083 KOALA_INTEROP_DIRECT_V3(SymbolSpanInterface_setSymbolSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
23084 void impl_SymbolSpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23085         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23086         Deserializer thisDeserializer(thisArray, thisLength);
23087         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23088         Opt_Union_Number_String_Resource value_value_buf = {};
23089         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23090         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23091         {
23092             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23093             Ark_Union_Number_String_Resource value_value_buf_ = {};
23094             value_value_buf_.selector = value_value_buf__selector;
23095             if (value_value_buf__selector == 0) {
23096                 value_value_buf_.selector = 0;
23097                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23098             }
23099             else if (value_value_buf__selector == 1) {
23100                 value_value_buf_.selector = 1;
23101                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
23102             }
23103             else if (value_value_buf__selector == 2) {
23104                 value_value_buf_.selector = 2;
23105                 value_value_buf_.value2 = thisDeserializer.readResource();
23106             }
23107             else {
23108                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23109             }
23110             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
23111         }
23112         Opt_Union_Number_String_Resource value_value = value_value_buf;;
23113         GetNodeModifiers()->getSymbolSpanModifier()->setFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
23114 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)23115 KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
23116 void impl_SymbolSpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23117         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23118         Deserializer thisDeserializer(thisArray, thisLength);
23119         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23120         Opt_Array_ResourceColor value_value_buf = {};
23121         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23122         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23123         {
23124             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
23125             Array_ResourceColor value_value_buf_ = {};
23126             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
23127         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
23128             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
23129                 const Ark_Int8 value_value_buf__buf_selector = thisDeserializer.readInt8();
23130                 Ark_ResourceColor value_value_buf__buf = {};
23131                 value_value_buf__buf.selector = value_value_buf__buf_selector;
23132                 if (value_value_buf__buf_selector == 0) {
23133                     value_value_buf__buf.selector = 0;
23134                     value_value_buf__buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
23135                 }
23136                 else if (value_value_buf__buf_selector == 1) {
23137                     value_value_buf__buf.selector = 1;
23138                     value_value_buf__buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23139                 }
23140                 else if (value_value_buf__buf_selector == 2) {
23141                     value_value_buf__buf.selector = 2;
23142                     value_value_buf__buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
23143                 }
23144                 else if (value_value_buf__buf_selector == 3) {
23145                     value_value_buf__buf.selector = 3;
23146                     value_value_buf__buf.value3 = thisDeserializer.readResource();
23147                 }
23148                 else {
23149                     INTEROP_FATAL("One of the branches for value_value_buf__buf has to be chosen through deserialisation.");
23150                 }
23151                 value_value_buf_.array[value_value_buf__i] = static_cast<Ark_ResourceColor>(value_value_buf__buf);
23152             }
23153             value_value_buf.value = value_value_buf_;
23154         }
23155         Opt_Array_ResourceColor value_value = value_value_buf;;
23156         GetNodeModifiers()->getSymbolSpanModifier()->setFontColor(self, (const Opt_Array_ResourceColor*)&value_value);
23157 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)23158 KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
23159 void impl_SymbolSpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23160         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23161         Deserializer thisDeserializer(thisArray, thisLength);
23162         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23163         Opt_Union_Number_FontWeight_String value_value_buf = {};
23164         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23165         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23166         {
23167             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23168             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
23169             value_value_buf_.selector = value_value_buf__selector;
23170             if (value_value_buf__selector == 0) {
23171                 value_value_buf_.selector = 0;
23172                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23173             }
23174             else if (value_value_buf__selector == 1) {
23175                 value_value_buf_.selector = 1;
23176                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
23177             }
23178             else if (value_value_buf__selector == 2) {
23179                 value_value_buf_.selector = 2;
23180                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
23181             }
23182             else {
23183                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23184             }
23185             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
23186         }
23187         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
23188         GetNodeModifiers()->getSymbolSpanModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
23189 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)23190 KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
23191 void impl_SymbolSpanAttribute_effectStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23192         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23193         Deserializer thisDeserializer(thisArray, thisLength);
23194         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23195         Opt_SymbolEffectStrategy value_value_buf = {};
23196         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23197         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23198         {
23199             value_value_buf.value = static_cast<Ark_SymbolEffectStrategy>(thisDeserializer.readInt32());
23200         }
23201         Opt_SymbolEffectStrategy value_value = value_value_buf;;
23202         GetNodeModifiers()->getSymbolSpanModifier()->setEffectStrategy(self, (const Opt_SymbolEffectStrategy*)&value_value);
23203 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_effectStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)23204 KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_effectStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
23205 void impl_SymbolSpanAttribute_renderingStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23206         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23207         Deserializer thisDeserializer(thisArray, thisLength);
23208         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23209         Opt_SymbolRenderingStrategy value_value_buf = {};
23210         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23211         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23212         {
23213             value_value_buf.value = static_cast<Ark_SymbolRenderingStrategy>(thisDeserializer.readInt32());
23214         }
23215         Opt_SymbolRenderingStrategy value_value = value_value_buf;;
23216         GetNodeModifiers()->getSymbolSpanModifier()->setRenderingStrategy(self, (const Opt_SymbolRenderingStrategy*)&value_value);
23217 }
KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_renderingStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)23218 KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_renderingStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
23219 Ark_NativePointer impl_Tabs_construct(Ark_Int32 id, Ark_Int32 flags) {
23220         return GetNodeModifiers()->getTabsModifier()->construct(id, flags);
23221 }
KOALA_INTEROP_DIRECT_2(Tabs_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)23222 KOALA_INTEROP_DIRECT_2(Tabs_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
23223 void impl_TabsInterface_setTabsOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23224         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23225         Deserializer thisDeserializer(thisArray, thisLength);
23226         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23227         Opt_TabsOptions options_value_buf = {};
23228         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23229         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
23230         {
23231             options_value_buf.value = thisDeserializer.readTabsOptions();
23232         }
23233         Opt_TabsOptions options_value = options_value_buf;;
23234         GetNodeModifiers()->getTabsModifier()->setTabsOptions(self, (const Opt_TabsOptions*)&options_value);
23235 }
KOALA_INTEROP_DIRECT_V3(TabsInterface_setTabsOptions,Ark_NativePointer,KSerializerBuffer,int32_t)23236 KOALA_INTEROP_DIRECT_V3(TabsInterface_setTabsOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
23237 void impl_TabsAttribute_vertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23238         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23239         Deserializer thisDeserializer(thisArray, thisLength);
23240         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23241         Opt_Boolean value_value_buf = {};
23242         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23243         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23244         {
23245             value_value_buf.value = thisDeserializer.readBoolean();
23246         }
23247         Opt_Boolean value_value = value_value_buf;;
23248         GetNodeModifiers()->getTabsModifier()->setVertical(self, (const Opt_Boolean*)&value_value);
23249 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_vertical,Ark_NativePointer,KSerializerBuffer,int32_t)23250 KOALA_INTEROP_DIRECT_V3(TabsAttribute_vertical, Ark_NativePointer, KSerializerBuffer, int32_t)
23251 void impl_TabsAttribute_barPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23252         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23253         Deserializer thisDeserializer(thisArray, thisLength);
23254         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23255         Opt_BarPosition value_value_buf = {};
23256         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23257         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23258         {
23259             value_value_buf.value = static_cast<Ark_BarPosition>(thisDeserializer.readInt32());
23260         }
23261         Opt_BarPosition value_value = value_value_buf;;
23262         GetNodeModifiers()->getTabsModifier()->setBarPosition(self, (const Opt_BarPosition*)&value_value);
23263 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barPosition,Ark_NativePointer,KSerializerBuffer,int32_t)23264 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
23265 void impl_TabsAttribute_scrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23266         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23267         Deserializer thisDeserializer(thisArray, thisLength);
23268         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23269         Opt_Boolean value_value_buf = {};
23270         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23271         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23272         {
23273             value_value_buf.value = thisDeserializer.readBoolean();
23274         }
23275         Opt_Boolean value_value = value_value_buf;;
23276         GetNodeModifiers()->getTabsModifier()->setScrollable(self, (const Opt_Boolean*)&value_value);
23277 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_scrollable,Ark_NativePointer,KSerializerBuffer,int32_t)23278 KOALA_INTEROP_DIRECT_V3(TabsAttribute_scrollable, Ark_NativePointer, KSerializerBuffer, int32_t)
23279 void impl_TabsAttribute_barMode0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23280         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23281         Deserializer thisDeserializer(thisArray, thisLength);
23282         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23283         Opt_BarMode value_value_buf = {};
23284         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23285         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23286         {
23287             value_value_buf.value = static_cast<Ark_BarMode>(thisDeserializer.readInt32());
23288         }
23289         Opt_BarMode value_value = value_value_buf;;
23290         GetNodeModifiers()->getTabsModifier()->setBarMode0(self, (const Opt_BarMode*)&value_value);
23291 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barMode0,Ark_NativePointer,KSerializerBuffer,int32_t)23292 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barMode0, Ark_NativePointer, KSerializerBuffer, int32_t)
23293 void impl_TabsAttribute_barMode1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23294         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23295         Deserializer thisDeserializer(thisArray, thisLength);
23296         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23297         Opt_BarMode value_value_buf = {};
23298         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23299         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23300         {
23301             value_value_buf.value = static_cast<Ark_BarMode>(thisDeserializer.readInt32());
23302         }
23303         Opt_BarMode value_value = value_value_buf;;
23304         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23305         Opt_ScrollableBarModeOptions options_value_buf = {};
23306         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23307         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
23308         {
23309             options_value_buf.value = thisDeserializer.readScrollableBarModeOptions();
23310         }
23311         Opt_ScrollableBarModeOptions options_value = options_value_buf;;
23312         GetNodeModifiers()->getTabsModifier()->setBarMode1(self, (const Opt_BarMode*)&value_value, (const Opt_ScrollableBarModeOptions*)&options_value);
23313 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barMode1,Ark_NativePointer,KSerializerBuffer,int32_t)23314 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barMode1, Ark_NativePointer, KSerializerBuffer, int32_t)
23315 void impl_TabsAttribute_barWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23316         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23317         Deserializer thisDeserializer(thisArray, thisLength);
23318         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23319         Opt_Length value_value_buf = {};
23320         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23321         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23322         {
23323             value_value_buf.value = thisDeserializer.readLength();
23324         }
23325         Opt_Length value_value = value_value_buf;;
23326         GetNodeModifiers()->getTabsModifier()->setBarWidth(self, (const Opt_Length*)&value_value);
23327 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barWidth,Ark_NativePointer,KSerializerBuffer,int32_t)23328 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
23329 void impl_TabsAttribute_barHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23330         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23331         Deserializer thisDeserializer(thisArray, thisLength);
23332         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23333         Opt_Length value_value_buf = {};
23334         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23335         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23336         {
23337             value_value_buf.value = thisDeserializer.readLength();
23338         }
23339         Opt_Length value_value = value_value_buf;;
23340         GetNodeModifiers()->getTabsModifier()->setBarHeight(self, (const Opt_Length*)&value_value);
23341 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barHeight,Ark_NativePointer,KSerializerBuffer,int32_t)23342 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
23343 void impl_TabsAttribute_animationDuration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23344         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23345         Deserializer thisDeserializer(thisArray, thisLength);
23346         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23347         Opt_Number value_value_buf = {};
23348         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23349         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23350         {
23351             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
23352         }
23353         Opt_Number value_value = value_value_buf;;
23354         GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, (const Opt_Number*)&value_value);
23355 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationDuration,Ark_NativePointer,KSerializerBuffer,int32_t)23356 KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationDuration, Ark_NativePointer, KSerializerBuffer, int32_t)
23357 void impl_TabsAttribute_animationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23358         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23359         Deserializer thisDeserializer(thisArray, thisLength);
23360         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23361         Opt_AnimationMode value_value_buf = {};
23362         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23363         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23364         {
23365             value_value_buf.value = static_cast<Ark_AnimationMode>(thisDeserializer.readInt32());
23366         }
23367         Opt_AnimationMode value_value = value_value_buf;;
23368         GetNodeModifiers()->getTabsModifier()->setAnimationMode(self, (const Opt_AnimationMode*)&value_value);
23369 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationMode,Ark_NativePointer,KSerializerBuffer,int32_t)23370 KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationMode, Ark_NativePointer, KSerializerBuffer, int32_t)
23371 void impl_TabsAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23372         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23373         Deserializer thisDeserializer(thisArray, thisLength);
23374         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23375         Opt_EdgeEffect value_value_buf = {};
23376         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23377         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23378         {
23379             value_value_buf.value = static_cast<Ark_EdgeEffect>(thisDeserializer.readInt32());
23380         }
23381         Opt_EdgeEffect value_value = value_value_buf;;
23382         GetNodeModifiers()->getTabsModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&value_value);
23383 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_edgeEffect,Ark_NativePointer,KSerializerBuffer,int32_t)23384 KOALA_INTEROP_DIRECT_V3(TabsAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
23385 void impl_TabsAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23386         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23387         Deserializer thisDeserializer(thisArray, thisLength);
23388         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23389         Opt_Callback_Number_Void value_value_buf = {};
23390         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23391         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23392         {
23393             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
23394         }
23395         Opt_Callback_Number_Void value_value = value_value_buf;;
23396         GetNodeModifiers()->getTabsModifier()->setOnChange(self, (const Opt_Callback_Number_Void*)&value_value);
23397 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)23398 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
23399 void impl_TabsAttribute_onSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23400         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23401         Deserializer thisDeserializer(thisArray, thisLength);
23402         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23403         Opt_Callback_Number_Void value_value_buf = {};
23404         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23405         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23406         {
23407             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
23408         }
23409         Opt_Callback_Number_Void value_value = value_value_buf;;
23410         GetNodeModifiers()->getTabsModifier()->setOnSelected(self, (const Opt_Callback_Number_Void*)&value_value);
23411 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onSelected,Ark_NativePointer,KSerializerBuffer,int32_t)23412 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onSelected, Ark_NativePointer, KSerializerBuffer, int32_t)
23413 void impl_TabsAttribute_onTabBarClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23414         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23415         Deserializer thisDeserializer(thisArray, thisLength);
23416         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23417         Opt_Callback_Number_Void value_value_buf = {};
23418         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23419         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23420         {
23421             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
23422         }
23423         Opt_Callback_Number_Void value_value = value_value_buf;;
23424         GetNodeModifiers()->getTabsModifier()->setOnTabBarClick(self, (const Opt_Callback_Number_Void*)&value_value);
23425 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onTabBarClick,Ark_NativePointer,KSerializerBuffer,int32_t)23426 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onTabBarClick, Ark_NativePointer, KSerializerBuffer, int32_t)
23427 void impl_TabsAttribute_onUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23428         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23429         Deserializer thisDeserializer(thisArray, thisLength);
23430         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23431         Opt_Callback_Number_Void value_value_buf = {};
23432         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23433         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23434         {
23435             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
23436         }
23437         Opt_Callback_Number_Void value_value = value_value_buf;;
23438         GetNodeModifiers()->getTabsModifier()->setOnUnselected(self, (const Opt_Callback_Number_Void*)&value_value);
23439 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onUnselected,Ark_NativePointer,KSerializerBuffer,int32_t)23440 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onUnselected, Ark_NativePointer, KSerializerBuffer, int32_t)
23441 void impl_TabsAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23442         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23443         Deserializer thisDeserializer(thisArray, thisLength);
23444         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23445         Opt_OnTabsAnimationStartCallback value_value_buf = {};
23446         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23447         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23448         {
23449             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number targetIndex, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTabsAnimationStartCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number targetIndex, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTabsAnimationStartCallback))))};
23450         }
23451         Opt_OnTabsAnimationStartCallback value_value = value_value_buf;;
23452         GetNodeModifiers()->getTabsModifier()->setOnAnimationStart(self, (const Opt_OnTabsAnimationStartCallback*)&value_value);
23453 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationStart,Ark_NativePointer,KSerializerBuffer,int32_t)23454 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t)
23455 void impl_TabsAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23456         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23457         Deserializer thisDeserializer(thisArray, thisLength);
23458         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23459         Opt_OnTabsAnimationEndCallback value_value_buf = {};
23460         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23461         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23462         {
23463             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTabsAnimationEndCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTabsAnimationEndCallback))))};
23464         }
23465         Opt_OnTabsAnimationEndCallback value_value = value_value_buf;;
23466         GetNodeModifiers()->getTabsModifier()->setOnAnimationEnd(self, (const Opt_OnTabsAnimationEndCallback*)&value_value);
23467 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationEnd,Ark_NativePointer,KSerializerBuffer,int32_t)23468 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
23469 void impl_TabsAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23470         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23471         Deserializer thisDeserializer(thisArray, thisLength);
23472         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23473         Opt_OnTabsGestureSwipeCallback value_value_buf = {};
23474         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23475         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23476         {
23477             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTabsGestureSwipeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_TabsAnimationEvent extraInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTabsGestureSwipeCallback))))};
23478         }
23479         Opt_OnTabsGestureSwipeCallback value_value = value_value_buf;;
23480         GetNodeModifiers()->getTabsModifier()->setOnGestureSwipe(self, (const Opt_OnTabsGestureSwipeCallback*)&value_value);
23481 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onGestureSwipe,Ark_NativePointer,KSerializerBuffer,int32_t)23482 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t)
23483 void impl_TabsAttribute_fadingEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23484         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23485         Deserializer thisDeserializer(thisArray, thisLength);
23486         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23487         Opt_Boolean value_value_buf = {};
23488         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23489         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23490         {
23491             value_value_buf.value = thisDeserializer.readBoolean();
23492         }
23493         Opt_Boolean value_value = value_value_buf;;
23494         GetNodeModifiers()->getTabsModifier()->setFadingEdge(self, (const Opt_Boolean*)&value_value);
23495 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_fadingEdge,Ark_NativePointer,KSerializerBuffer,int32_t)23496 KOALA_INTEROP_DIRECT_V3(TabsAttribute_fadingEdge, Ark_NativePointer, KSerializerBuffer, int32_t)
23497 void impl_TabsAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23498         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23499         Deserializer thisDeserializer(thisArray, thisLength);
23500         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23501         Opt_DividerStyle value_value_buf = {};
23502         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23503         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23504         {
23505             value_value_buf.value = thisDeserializer.readDividerStyle();
23506         }
23507         Opt_DividerStyle value_value = value_value_buf;;
23508         GetNodeModifiers()->getTabsModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value);
23509 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)23510 KOALA_INTEROP_DIRECT_V3(TabsAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
23511 void impl_TabsAttribute_barOverlap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23512         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23513         Deserializer thisDeserializer(thisArray, thisLength);
23514         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23515         Opt_Boolean value_value_buf = {};
23516         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23517         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23518         {
23519             value_value_buf.value = thisDeserializer.readBoolean();
23520         }
23521         Opt_Boolean value_value = value_value_buf;;
23522         GetNodeModifiers()->getTabsModifier()->setBarOverlap(self, (const Opt_Boolean*)&value_value);
23523 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barOverlap,Ark_NativePointer,KSerializerBuffer,int32_t)23524 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barOverlap, Ark_NativePointer, KSerializerBuffer, int32_t)
23525 void impl_TabsAttribute_barBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23526         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23527         Deserializer thisDeserializer(thisArray, thisLength);
23528         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23529         Opt_ResourceColor value_value_buf = {};
23530         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23531         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23532         {
23533             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23534             Ark_ResourceColor value_value_buf_ = {};
23535             value_value_buf_.selector = value_value_buf__selector;
23536             if (value_value_buf__selector == 0) {
23537                 value_value_buf_.selector = 0;
23538                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
23539             }
23540             else if (value_value_buf__selector == 1) {
23541                 value_value_buf_.selector = 1;
23542                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23543             }
23544             else if (value_value_buf__selector == 2) {
23545                 value_value_buf_.selector = 2;
23546                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
23547             }
23548             else if (value_value_buf__selector == 3) {
23549                 value_value_buf_.selector = 3;
23550                 value_value_buf_.value3 = thisDeserializer.readResource();
23551             }
23552             else {
23553                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23554             }
23555             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
23556         }
23557         Opt_ResourceColor value_value = value_value_buf;;
23558         GetNodeModifiers()->getTabsModifier()->setBarBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
23559 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)23560 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
23561 void impl_TabsAttribute_barGridAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23562         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23563         Deserializer thisDeserializer(thisArray, thisLength);
23564         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23565         Opt_BarGridColumnOptions value_value_buf = {};
23566         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23567         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23568         {
23569             value_value_buf.value = thisDeserializer.readBarGridColumnOptions();
23570         }
23571         Opt_BarGridColumnOptions value_value = value_value_buf;;
23572         GetNodeModifiers()->getTabsModifier()->setBarGridAlign(self, (const Opt_BarGridColumnOptions*)&value_value);
23573 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barGridAlign,Ark_NativePointer,KSerializerBuffer,int32_t)23574 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barGridAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
23575 void impl_TabsAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23576         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23577         Deserializer thisDeserializer(thisArray, thisLength);
23578         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23579         Opt_TabsCustomContentTransitionCallback value_value_buf = {};
23580         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23581         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23582         {
23583             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to, const Callback_Opt_TabContentAnimatedTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TabsCustomContentTransitionCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to, const Callback_Opt_TabContentAnimatedTransition_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TabsCustomContentTransitionCallback))))};
23584         }
23585         Opt_TabsCustomContentTransitionCallback value_value = value_value_buf;;
23586         GetNodeModifiers()->getTabsModifier()->setCustomContentTransition(self, (const Opt_TabsCustomContentTransitionCallback*)&value_value);
23587 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_customContentTransition,Ark_NativePointer,KSerializerBuffer,int32_t)23588 KOALA_INTEROP_DIRECT_V3(TabsAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t)
23589 void impl_TabsAttribute_barBackgroundBlurStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23590         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23591         Deserializer thisDeserializer(thisArray, thisLength);
23592         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23593         Opt_BlurStyle value_value_buf = {};
23594         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23595         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23596         {
23597             value_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
23598         }
23599         Opt_BlurStyle value_value = value_value_buf;;
23600         GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle0(self, (const Opt_BlurStyle*)&value_value);
23601 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundBlurStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)23602 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundBlurStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
23603 void impl_TabsAttribute_barBackgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23604         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23605         Deserializer thisDeserializer(thisArray, thisLength);
23606         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23607         Opt_BlurStyle style_value_buf = {};
23608         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23609         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
23610         {
23611             style_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
23612         }
23613         Opt_BlurStyle style_value = style_value_buf;;
23614         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23615         Opt_BackgroundBlurStyleOptions options_value_buf = {};
23616         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23617         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
23618         {
23619             options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions();
23620         }
23621         Opt_BackgroundBlurStyleOptions options_value = options_value_buf;;
23622         GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle1(self, (const Opt_BlurStyle*)&style_value, (const Opt_BackgroundBlurStyleOptions*)&options_value);
23623 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundBlurStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)23624 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
23625 void impl_TabsAttribute_barBackgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23626         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23627         Deserializer thisDeserializer(thisArray, thisLength);
23628         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23629         Opt_BackgroundEffectOptions value_value_buf = {};
23630         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23631         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23632         {
23633             value_value_buf.value = thisDeserializer.readBackgroundEffectOptions();
23634         }
23635         Opt_BackgroundEffectOptions value_value = value_value_buf;;
23636         GetNodeModifiers()->getTabsModifier()->setBarBackgroundEffect(self, (const Opt_BackgroundEffectOptions*)&value_value);
23637 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundEffect,Ark_NativePointer,KSerializerBuffer,int32_t)23638 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
23639 void impl_TabsAttribute_pageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23640         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23641         Deserializer thisDeserializer(thisArray, thisLength);
23642         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23643         Opt_PageFlipMode value_value_buf = {};
23644         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23645         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23646         {
23647             value_value_buf.value = static_cast<Ark_PageFlipMode>(thisDeserializer.readInt32());
23648         }
23649         Opt_PageFlipMode value_value = value_value_buf;;
23650         GetNodeModifiers()->getTabsModifier()->setPageFlipMode(self, (const Opt_PageFlipMode*)&value_value);
23651 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_pageFlipMode,Ark_NativePointer,KSerializerBuffer,int32_t)23652 KOALA_INTEROP_DIRECT_V3(TabsAttribute_pageFlipMode, Ark_NativePointer, KSerializerBuffer, int32_t)
23653 void impl_TabsAttribute_onContentWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23654         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23655         Deserializer thisDeserializer(thisArray, thisLength);
23656         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23657         Opt_OnTabsContentWillChangeCallback value_value_buf = {};
23658         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23659         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23660         {
23661             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number currentIndex, const Ark_Number comingIndex, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTabsContentWillChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number currentIndex, const Ark_Number comingIndex, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTabsContentWillChangeCallback))))};
23662         }
23663         Opt_OnTabsContentWillChangeCallback value_value = value_value_buf;;
23664         GetNodeModifiers()->getTabsModifier()->setOnContentWillChange(self, (const Opt_OnTabsContentWillChangeCallback*)&value_value);
23665 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_onContentWillChange,Ark_NativePointer,KSerializerBuffer,int32_t)23666 KOALA_INTEROP_DIRECT_V3(TabsAttribute_onContentWillChange, Ark_NativePointer, KSerializerBuffer, int32_t)
23667 void impl_TabsAttribute_barModeScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23668         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23669         Deserializer thisDeserializer(thisArray, thisLength);
23670         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23671         Opt_ScrollableBarModeOptions options_value_buf = {};
23672         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23673         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
23674         {
23675             options_value_buf.value = thisDeserializer.readScrollableBarModeOptions();
23676         }
23677         Opt_ScrollableBarModeOptions options_value = options_value_buf;;
23678         GetNodeModifiers()->getTabsModifier()->setBarModeScrollable(self, (const Opt_ScrollableBarModeOptions*)&options_value);
23679 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_barModeScrollable,Ark_NativePointer,KSerializerBuffer,int32_t)23680 KOALA_INTEROP_DIRECT_V3(TabsAttribute_barModeScrollable, Ark_NativePointer, KSerializerBuffer, int32_t)
23681 void impl_TabsAttribute_cachedMaxCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23682         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23683         Deserializer thisDeserializer(thisArray, thisLength);
23684         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23685         Opt_Number count_value_buf = {};
23686         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23687         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
23688         {
23689             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
23690         }
23691         Opt_Number count_value = count_value_buf;;
23692         const auto mode_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23693         Opt_TabsCacheMode mode_value_buf = {};
23694         mode_value_buf.tag = mode_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23695         if ((INTEROP_RUNTIME_UNDEFINED) != (mode_value_buf_runtimeType))
23696         {
23697             mode_value_buf.value = static_cast<Ark_TabsCacheMode>(thisDeserializer.readInt32());
23698         }
23699         Opt_TabsCacheMode mode_value = mode_value_buf;;
23700         GetNodeModifiers()->getTabsModifier()->setCachedMaxCount(self, (const Opt_Number*)&count_value, (const Opt_TabsCacheMode*)&mode_value);
23701 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute_cachedMaxCount,Ark_NativePointer,KSerializerBuffer,int32_t)23702 KOALA_INTEROP_DIRECT_V3(TabsAttribute_cachedMaxCount, Ark_NativePointer, KSerializerBuffer, int32_t)
23703 void impl_TabsAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23704         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23705         Deserializer thisDeserializer(thisArray, thisLength);
23706         Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
23707         GetNodeModifiers()->getTabsModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value);
23708 }
KOALA_INTEROP_DIRECT_V3(TabsAttribute__onChangeEvent_index,Ark_NativePointer,KSerializerBuffer,int32_t)23709 KOALA_INTEROP_DIRECT_V3(TabsAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t)
23710 Ark_NativePointer impl_TabContent_construct(Ark_Int32 id, Ark_Int32 flags) {
23711         return GetNodeModifiers()->getTabContentModifier()->construct(id, flags);
23712 }
KOALA_INTEROP_DIRECT_2(TabContent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)23713 KOALA_INTEROP_DIRECT_2(TabContent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
23714 void impl_TabContentInterface_setTabContentOptions(Ark_NativePointer thisPtr) {
23715         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23716         GetNodeModifiers()->getTabContentModifier()->setTabContentOptions(self);
23717 }
KOALA_INTEROP_DIRECT_V1(TabContentInterface_setTabContentOptions,Ark_NativePointer)23718 KOALA_INTEROP_DIRECT_V1(TabContentInterface_setTabContentOptions, Ark_NativePointer)
23719 void impl_TabContentAttribute_tabBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23720         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23721         Deserializer thisDeserializer(thisArray, thisLength);
23722         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23723         Opt_Union_String_Resource_CustomBuilder_TabBarOptions value_value_buf = {};
23724         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23725         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23726         {
23727             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23728             Ark_Union_String_Resource_CustomBuilder_TabBarOptions value_value_buf_ = {};
23729             value_value_buf_.selector = value_value_buf__selector;
23730             if (value_value_buf__selector == 0) {
23731                 value_value_buf_.selector = 0;
23732                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
23733             }
23734             else if (value_value_buf__selector == 1) {
23735                 value_value_buf_.selector = 1;
23736                 value_value_buf_.value1 = thisDeserializer.readResource();
23737             }
23738             else if (value_value_buf__selector == 2) {
23739                 value_value_buf_.selector = 2;
23740                 value_value_buf_.value2 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
23741             }
23742             else if (value_value_buf__selector == 3) {
23743                 value_value_buf_.selector = 3;
23744                 value_value_buf_.value3 = thisDeserializer.readTabBarOptions();
23745             }
23746             else {
23747                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23748             }
23749             value_value_buf.value = static_cast<Ark_Union_String_Resource_CustomBuilder_TabBarOptions>(value_value_buf_);
23750         }
23751         Opt_Union_String_Resource_CustomBuilder_TabBarOptions value_value = value_value_buf;;
23752         GetNodeModifiers()->getTabContentModifier()->setTabBar0(self, (const Opt_Union_String_Resource_CustomBuilder_TabBarOptions*)&value_value);
23753 }
KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar0,Ark_NativePointer,KSerializerBuffer,int32_t)23754 KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar0, Ark_NativePointer, KSerializerBuffer, int32_t)
23755 void impl_TabContentAttribute_tabBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23756         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23757         Deserializer thisDeserializer(thisArray, thisLength);
23758         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23759         Opt_Union_SubTabBarStyle_BottomTabBarStyle value_value_buf = {};
23760         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23761         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23762         {
23763             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23764             Ark_Union_SubTabBarStyle_BottomTabBarStyle value_value_buf_ = {};
23765             value_value_buf_.selector = value_value_buf__selector;
23766             if (value_value_buf__selector == 0) {
23767                 value_value_buf_.selector = 0;
23768                 value_value_buf_.value0 = thisDeserializer.readSubTabBarStyle();
23769             }
23770             else if (value_value_buf__selector == 1) {
23771                 value_value_buf_.selector = 1;
23772                 value_value_buf_.value1 = thisDeserializer.readBottomTabBarStyle();
23773             }
23774             else {
23775                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23776             }
23777             value_value_buf.value = static_cast<Ark_Union_SubTabBarStyle_BottomTabBarStyle>(value_value_buf_);
23778         }
23779         Opt_Union_SubTabBarStyle_BottomTabBarStyle value_value = value_value_buf;;
23780         GetNodeModifiers()->getTabContentModifier()->setTabBar1(self, (const Opt_Union_SubTabBarStyle_BottomTabBarStyle*)&value_value);
23781 }
KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar1,Ark_NativePointer,KSerializerBuffer,int32_t)23782 KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar1, Ark_NativePointer, KSerializerBuffer, int32_t)
23783 void impl_TabContentAttribute_tabBar2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23784         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23785         Deserializer thisDeserializer(thisArray, thisLength);
23786         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23787         Opt_Type_TabContentAttribute_tabBar_content value_value_buf = {};
23788         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23789         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23790         {
23791             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23792             Ark_Type_TabContentAttribute_tabBar_content value_value_buf_ = {};
23793             value_value_buf_.selector = value_value_buf__selector;
23794             if (value_value_buf__selector == 0) {
23795                 value_value_buf_.selector = 0;
23796                 value_value_buf_.value0 = static_cast<Ark_ComponentContent>(thisDeserializer.readComponentContent());
23797             }
23798             else if (value_value_buf__selector == 1) {
23799                 value_value_buf_.selector = 1;
23800                 value_value_buf_.value1 = thisDeserializer.readSubTabBarStyle();
23801             }
23802             else if (value_value_buf__selector == 2) {
23803                 value_value_buf_.selector = 2;
23804                 value_value_buf_.value2 = thisDeserializer.readBottomTabBarStyle();
23805             }
23806             else if (value_value_buf__selector == 3) {
23807                 value_value_buf_.selector = 3;
23808                 value_value_buf_.value3 = static_cast<Ark_String>(thisDeserializer.readString());
23809             }
23810             else if (value_value_buf__selector == 4) {
23811                 value_value_buf_.selector = 4;
23812                 value_value_buf_.value4 = thisDeserializer.readResource();
23813             }
23814             else if (value_value_buf__selector == 5) {
23815                 value_value_buf_.selector = 5;
23816                 value_value_buf_.value5 = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
23817             }
23818             else if (value_value_buf__selector == 6) {
23819                 value_value_buf_.selector = 6;
23820                 value_value_buf_.value6 = thisDeserializer.readTabBarOptions();
23821             }
23822             else {
23823                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23824             }
23825             value_value_buf.value = static_cast<Ark_Type_TabContentAttribute_tabBar_content>(value_value_buf_);
23826         }
23827         Opt_Type_TabContentAttribute_tabBar_content value_value = value_value_buf;;
23828         GetNodeModifiers()->getTabContentModifier()->setTabBar2(self, (const Opt_Type_TabContentAttribute_tabBar_content*)&value_value);
23829 }
KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar2,Ark_NativePointer,KSerializerBuffer,int32_t)23830 KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar2, Ark_NativePointer, KSerializerBuffer, int32_t)
23831 void impl_TabContentAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23832         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23833         Deserializer thisDeserializer(thisArray, thisLength);
23834         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23835         Opt_VoidCallback value_value_buf = {};
23836         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23837         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23838         {
23839             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
23840         }
23841         Opt_VoidCallback value_value = value_value_buf;;
23842         GetNodeModifiers()->getTabContentModifier()->setOnWillShow(self, (const Opt_VoidCallback*)&value_value);
23843 }
KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillShow,Ark_NativePointer,KSerializerBuffer,int32_t)23844 KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t)
23845 void impl_TabContentAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23846         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23847         Deserializer thisDeserializer(thisArray, thisLength);
23848         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23849         Opt_VoidCallback value_value_buf = {};
23850         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23851         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23852         {
23853             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
23854         }
23855         Opt_VoidCallback value_value = value_value_buf;;
23856         GetNodeModifiers()->getTabContentModifier()->setOnWillHide(self, (const Opt_VoidCallback*)&value_value);
23857 }
KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillHide,Ark_NativePointer,KSerializerBuffer,int32_t)23858 KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t)
23859 Ark_NativePointer impl_Text_construct(Ark_Int32 id, Ark_Int32 flags) {
23860         return GetNodeModifiers()->getTextModifier()->construct(id, flags);
23861 }
KOALA_INTEROP_DIRECT_2(Text_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)23862 KOALA_INTEROP_DIRECT_2(Text_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
23863 void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23864         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23865         Deserializer thisDeserializer(thisArray, thisLength);
23866         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23867         Opt_Union_String_Resource content_value_buf = {};
23868         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23869         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
23870         {
23871             const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8();
23872             Ark_Union_String_Resource content_value_buf_ = {};
23873             content_value_buf_.selector = content_value_buf__selector;
23874             if (content_value_buf__selector == 0) {
23875                 content_value_buf_.selector = 0;
23876                 content_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
23877             }
23878             else if (content_value_buf__selector == 1) {
23879                 content_value_buf_.selector = 1;
23880                 content_value_buf_.value1 = thisDeserializer.readResource();
23881             }
23882             else {
23883                 INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation.");
23884             }
23885             content_value_buf.value = static_cast<Ark_Union_String_Resource>(content_value_buf_);
23886         }
23887         Opt_Union_String_Resource content_value = content_value_buf;;
23888         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23889         Opt_TextOptions value_value_buf = {};
23890         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23891         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23892         {
23893             value_value_buf.value = thisDeserializer.readTextOptions();
23894         }
23895         Opt_TextOptions value_value = value_value_buf;;
23896         GetNodeModifiers()->getTextModifier()->setTextOptions(self, (const Opt_Union_String_Resource*)&content_value, (const Opt_TextOptions*)&value_value);
23897 }
KOALA_INTEROP_DIRECT_V3(TextInterface_setTextOptions,Ark_NativePointer,KSerializerBuffer,int32_t)23898 KOALA_INTEROP_DIRECT_V3(TextInterface_setTextOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
23899 void impl_TextAttribute_font0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23900         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23901         Deserializer thisDeserializer(thisArray, thisLength);
23902         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23903         Opt_Font value_value_buf = {};
23904         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23905         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23906         {
23907             value_value_buf.value = thisDeserializer.readFont();
23908         }
23909         Opt_Font value_value = value_value_buf;;
23910         GetNodeModifiers()->getTextModifier()->setFont0(self, (const Opt_Font*)&value_value);
23911 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_font0,Ark_NativePointer,KSerializerBuffer,int32_t)23912 KOALA_INTEROP_DIRECT_V3(TextAttribute_font0, Ark_NativePointer, KSerializerBuffer, int32_t)
23913 void impl_TextAttribute_font1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23914         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23915         Deserializer thisDeserializer(thisArray, thisLength);
23916         const auto fontValue_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23917         Opt_Font fontValue_value_buf = {};
23918         fontValue_value_buf.tag = fontValue_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23919         if ((INTEROP_RUNTIME_UNDEFINED) != (fontValue_value_buf_runtimeType))
23920         {
23921             fontValue_value_buf.value = thisDeserializer.readFont();
23922         }
23923         Opt_Font fontValue_value = fontValue_value_buf;;
23924         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23925         Opt_FontSettingOptions options_value_buf = {};
23926         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23927         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
23928         {
23929             options_value_buf.value = thisDeserializer.readFontSettingOptions();
23930         }
23931         Opt_FontSettingOptions options_value = options_value_buf;;
23932         GetNodeModifiers()->getTextModifier()->setFont1(self, (const Opt_Font*)&fontValue_value, (const Opt_FontSettingOptions*)&options_value);
23933 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_font1,Ark_NativePointer,KSerializerBuffer,int32_t)23934 KOALA_INTEROP_DIRECT_V3(TextAttribute_font1, Ark_NativePointer, KSerializerBuffer, int32_t)
23935 void impl_TextAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23936         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23937         Deserializer thisDeserializer(thisArray, thisLength);
23938         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23939         Opt_ResourceColor value_value_buf = {};
23940         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23941         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23942         {
23943             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23944             Ark_ResourceColor value_value_buf_ = {};
23945             value_value_buf_.selector = value_value_buf__selector;
23946             if (value_value_buf__selector == 0) {
23947                 value_value_buf_.selector = 0;
23948                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
23949             }
23950             else if (value_value_buf__selector == 1) {
23951                 value_value_buf_.selector = 1;
23952                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23953             }
23954             else if (value_value_buf__selector == 2) {
23955                 value_value_buf_.selector = 2;
23956                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
23957             }
23958             else if (value_value_buf__selector == 3) {
23959                 value_value_buf_.selector = 3;
23960                 value_value_buf_.value3 = thisDeserializer.readResource();
23961             }
23962             else {
23963                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23964             }
23965             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
23966         }
23967         Opt_ResourceColor value_value = value_value_buf;;
23968         GetNodeModifiers()->getTextModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
23969 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)23970 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
23971 void impl_TextAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
23972         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
23973         Deserializer thisDeserializer(thisArray, thisLength);
23974         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
23975         Opt_Union_Number_String_Resource value_value_buf = {};
23976         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
23977         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
23978         {
23979             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
23980             Ark_Union_Number_String_Resource value_value_buf_ = {};
23981             value_value_buf_.selector = value_value_buf__selector;
23982             if (value_value_buf__selector == 0) {
23983                 value_value_buf_.selector = 0;
23984                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
23985             }
23986             else if (value_value_buf__selector == 1) {
23987                 value_value_buf_.selector = 1;
23988                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
23989             }
23990             else if (value_value_buf__selector == 2) {
23991                 value_value_buf_.selector = 2;
23992                 value_value_buf_.value2 = thisDeserializer.readResource();
23993             }
23994             else {
23995                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
23996             }
23997             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
23998         }
23999         Opt_Union_Number_String_Resource value_value = value_value_buf;;
24000         GetNodeModifiers()->getTextModifier()->setFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
24001 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)24002 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
24003 void impl_TextAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24004         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24005         Deserializer thisDeserializer(thisArray, thisLength);
24006         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24007         Opt_Union_Number_String_Resource value_value_buf = {};
24008         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24009         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24010         {
24011             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24012             Ark_Union_Number_String_Resource value_value_buf_ = {};
24013             value_value_buf_.selector = value_value_buf__selector;
24014             if (value_value_buf__selector == 0) {
24015                 value_value_buf_.selector = 0;
24016                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24017             }
24018             else if (value_value_buf__selector == 1) {
24019                 value_value_buf_.selector = 1;
24020                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
24021             }
24022             else if (value_value_buf__selector == 2) {
24023                 value_value_buf_.selector = 2;
24024                 value_value_buf_.value2 = thisDeserializer.readResource();
24025             }
24026             else {
24027                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24028             }
24029             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
24030         }
24031         Opt_Union_Number_String_Resource value_value = value_value_buf;;
24032         GetNodeModifiers()->getTextModifier()->setMinFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
24033 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)24034 KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
24035 void impl_TextAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24036         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24037         Deserializer thisDeserializer(thisArray, thisLength);
24038         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24039         Opt_Union_Number_String_Resource value_value_buf = {};
24040         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24041         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24042         {
24043             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24044             Ark_Union_Number_String_Resource value_value_buf_ = {};
24045             value_value_buf_.selector = value_value_buf__selector;
24046             if (value_value_buf__selector == 0) {
24047                 value_value_buf_.selector = 0;
24048                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24049             }
24050             else if (value_value_buf__selector == 1) {
24051                 value_value_buf_.selector = 1;
24052                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
24053             }
24054             else if (value_value_buf__selector == 2) {
24055                 value_value_buf_.selector = 2;
24056                 value_value_buf_.value2 = thisDeserializer.readResource();
24057             }
24058             else {
24059                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24060             }
24061             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
24062         }
24063         Opt_Union_Number_String_Resource value_value = value_value_buf;;
24064         GetNodeModifiers()->getTextModifier()->setMaxFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
24065 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)24066 KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
24067 void impl_TextAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24068         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24069         Deserializer thisDeserializer(thisArray, thisLength);
24070         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24071         Opt_Union_Number_Resource value_value_buf = {};
24072         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24073         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24074         {
24075             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24076             Ark_Union_Number_Resource value_value_buf_ = {};
24077             value_value_buf_.selector = value_value_buf__selector;
24078             if (value_value_buf__selector == 0) {
24079                 value_value_buf_.selector = 0;
24080                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24081             }
24082             else if (value_value_buf__selector == 1) {
24083                 value_value_buf_.selector = 1;
24084                 value_value_buf_.value1 = thisDeserializer.readResource();
24085             }
24086             else {
24087                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24088             }
24089             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
24090         }
24091         Opt_Union_Number_Resource value_value = value_value_buf;;
24092         GetNodeModifiers()->getTextModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
24093 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)24094 KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
24095 void impl_TextAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24096         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24097         Deserializer thisDeserializer(thisArray, thisLength);
24098         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24099         Opt_Union_Number_Resource value_value_buf = {};
24100         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24101         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24102         {
24103             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24104             Ark_Union_Number_Resource value_value_buf_ = {};
24105             value_value_buf_.selector = value_value_buf__selector;
24106             if (value_value_buf__selector == 0) {
24107                 value_value_buf_.selector = 0;
24108                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24109             }
24110             else if (value_value_buf__selector == 1) {
24111                 value_value_buf_.selector = 1;
24112                 value_value_buf_.value1 = thisDeserializer.readResource();
24113             }
24114             else {
24115                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24116             }
24117             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
24118         }
24119         Opt_Union_Number_Resource value_value = value_value_buf;;
24120         GetNodeModifiers()->getTextModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
24121 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)24122 KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
24123 void impl_TextAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24124         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24125         Deserializer thisDeserializer(thisArray, thisLength);
24126         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24127         Opt_FontStyle value_value_buf = {};
24128         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24129         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24130         {
24131             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
24132         }
24133         Opt_FontStyle value_value = value_value_buf;;
24134         GetNodeModifiers()->getTextModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
24135 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)24136 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
24137 void impl_TextAttribute_fontWeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24138         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24139         Deserializer thisDeserializer(thisArray, thisLength);
24140         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24141         Opt_Union_Number_FontWeight_String value_value_buf = {};
24142         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24143         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24144         {
24145             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24146             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
24147             value_value_buf_.selector = value_value_buf__selector;
24148             if (value_value_buf__selector == 0) {
24149                 value_value_buf_.selector = 0;
24150                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24151             }
24152             else if (value_value_buf__selector == 1) {
24153                 value_value_buf_.selector = 1;
24154                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
24155             }
24156             else if (value_value_buf__selector == 2) {
24157                 value_value_buf_.selector = 2;
24158                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24159             }
24160             else {
24161                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24162             }
24163             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
24164         }
24165         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
24166         GetNodeModifiers()->getTextModifier()->setFontWeight0(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
24167 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight0,Ark_NativePointer,KSerializerBuffer,int32_t)24168 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight0, Ark_NativePointer, KSerializerBuffer, int32_t)
24169 void impl_TextAttribute_fontWeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24170         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24171         Deserializer thisDeserializer(thisArray, thisLength);
24172         const auto weight_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24173         Opt_Union_Number_FontWeight_String weight_value_buf = {};
24174         weight_value_buf.tag = weight_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24175         if ((INTEROP_RUNTIME_UNDEFINED) != (weight_value_buf_runtimeType))
24176         {
24177             const Ark_Int8 weight_value_buf__selector = thisDeserializer.readInt8();
24178             Ark_Union_Number_FontWeight_String weight_value_buf_ = {};
24179             weight_value_buf_.selector = weight_value_buf__selector;
24180             if (weight_value_buf__selector == 0) {
24181                 weight_value_buf_.selector = 0;
24182                 weight_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24183             }
24184             else if (weight_value_buf__selector == 1) {
24185                 weight_value_buf_.selector = 1;
24186                 weight_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
24187             }
24188             else if (weight_value_buf__selector == 2) {
24189                 weight_value_buf_.selector = 2;
24190                 weight_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24191             }
24192             else {
24193                 INTEROP_FATAL("One of the branches for weight_value_buf_ has to be chosen through deserialisation.");
24194             }
24195             weight_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(weight_value_buf_);
24196         }
24197         Opt_Union_Number_FontWeight_String weight_value = weight_value_buf;;
24198         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24199         Opt_FontSettingOptions options_value_buf = {};
24200         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24201         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
24202         {
24203             options_value_buf.value = thisDeserializer.readFontSettingOptions();
24204         }
24205         Opt_FontSettingOptions options_value = options_value_buf;;
24206         GetNodeModifiers()->getTextModifier()->setFontWeight1(self, (const Opt_Union_Number_FontWeight_String*)&weight_value, (const Opt_FontSettingOptions*)&options_value);
24207 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight1,Ark_NativePointer,KSerializerBuffer,int32_t)24208 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight1, Ark_NativePointer, KSerializerBuffer, int32_t)
24209 void impl_TextAttribute_lineSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24210         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24211         Deserializer thisDeserializer(thisArray, thisLength);
24212         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24213         Opt_LengthMetrics value_value_buf = {};
24214         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24215         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24216         {
24217             value_value_buf.value = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
24218         }
24219         Opt_LengthMetrics value_value = value_value_buf;;
24220         GetNodeModifiers()->getTextModifier()->setLineSpacing(self, (const Opt_LengthMetrics*)&value_value);
24221 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_lineSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)24222 KOALA_INTEROP_DIRECT_V3(TextAttribute_lineSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
24223 void impl_TextAttribute_textAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24224         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24225         Deserializer thisDeserializer(thisArray, thisLength);
24226         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24227         Opt_TextAlign value_value_buf = {};
24228         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24229         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24230         {
24231             value_value_buf.value = static_cast<Ark_TextAlign>(thisDeserializer.readInt32());
24232         }
24233         Opt_TextAlign value_value = value_value_buf;;
24234         GetNodeModifiers()->getTextModifier()->setTextAlign(self, (const Opt_TextAlign*)&value_value);
24235 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textAlign,Ark_NativePointer,KSerializerBuffer,int32_t)24236 KOALA_INTEROP_DIRECT_V3(TextAttribute_textAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
24237 void impl_TextAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24238         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24239         Deserializer thisDeserializer(thisArray, thisLength);
24240         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24241         Opt_Union_Number_String_Resource value_value_buf = {};
24242         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24243         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24244         {
24245             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24246             Ark_Union_Number_String_Resource value_value_buf_ = {};
24247             value_value_buf_.selector = value_value_buf__selector;
24248             if (value_value_buf__selector == 0) {
24249                 value_value_buf_.selector = 0;
24250                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24251             }
24252             else if (value_value_buf__selector == 1) {
24253                 value_value_buf_.selector = 1;
24254                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
24255             }
24256             else if (value_value_buf__selector == 2) {
24257                 value_value_buf_.selector = 2;
24258                 value_value_buf_.value2 = thisDeserializer.readResource();
24259             }
24260             else {
24261                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24262             }
24263             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
24264         }
24265         Opt_Union_Number_String_Resource value_value = value_value_buf;;
24266         GetNodeModifiers()->getTextModifier()->setLineHeight(self, (const Opt_Union_Number_String_Resource*)&value_value);
24267 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_lineHeight,Ark_NativePointer,KSerializerBuffer,int32_t)24268 KOALA_INTEROP_DIRECT_V3(TextAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
24269 void impl_TextAttribute_textOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24270         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24271         Deserializer thisDeserializer(thisArray, thisLength);
24272         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24273         Opt_TextOverflowOptions value_value_buf = {};
24274         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24275         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24276         {
24277             value_value_buf.value = thisDeserializer.readTextOverflowOptions();
24278         }
24279         Opt_TextOverflowOptions value_value = value_value_buf;;
24280         GetNodeModifiers()->getTextModifier()->setTextOverflow(self, (const Opt_TextOverflowOptions*)&value_value);
24281 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textOverflow,Ark_NativePointer,KSerializerBuffer,int32_t)24282 KOALA_INTEROP_DIRECT_V3(TextAttribute_textOverflow, Ark_NativePointer, KSerializerBuffer, int32_t)
24283 void impl_TextAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24284         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24285         Deserializer thisDeserializer(thisArray, thisLength);
24286         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24287         Opt_Union_String_Resource value_value_buf = {};
24288         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24289         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24290         {
24291             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24292             Ark_Union_String_Resource value_value_buf_ = {};
24293             value_value_buf_.selector = value_value_buf__selector;
24294             if (value_value_buf__selector == 0) {
24295                 value_value_buf_.selector = 0;
24296                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
24297             }
24298             else if (value_value_buf__selector == 1) {
24299                 value_value_buf_.selector = 1;
24300                 value_value_buf_.value1 = thisDeserializer.readResource();
24301             }
24302             else {
24303                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24304             }
24305             value_value_buf.value = static_cast<Ark_Union_String_Resource>(value_value_buf_);
24306         }
24307         Opt_Union_String_Resource value_value = value_value_buf;;
24308         GetNodeModifiers()->getTextModifier()->setFontFamily(self, (const Opt_Union_String_Resource*)&value_value);
24309 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)24310 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
24311 void impl_TextAttribute_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24312         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24313         Deserializer thisDeserializer(thisArray, thisLength);
24314         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24315         Opt_Number value_value_buf = {};
24316         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24317         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24318         {
24319             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
24320         }
24321         Opt_Number value_value = value_value_buf;;
24322         GetNodeModifiers()->getTextModifier()->setMaxLines(self, (const Opt_Number*)&value_value);
24323 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_maxLines,Ark_NativePointer,KSerializerBuffer,int32_t)24324 KOALA_INTEROP_DIRECT_V3(TextAttribute_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t)
24325 void impl_TextAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24326         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24327         Deserializer thisDeserializer(thisArray, thisLength);
24328         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24329         Opt_DecorationStyleInterface value_value_buf = {};
24330         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24331         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24332         {
24333             value_value_buf.value = thisDeserializer.readDecorationStyleInterface();
24334         }
24335         Opt_DecorationStyleInterface value_value = value_value_buf;;
24336         GetNodeModifiers()->getTextModifier()->setDecoration(self, (const Opt_DecorationStyleInterface*)&value_value);
24337 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_decoration,Ark_NativePointer,KSerializerBuffer,int32_t)24338 KOALA_INTEROP_DIRECT_V3(TextAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t)
24339 void impl_TextAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24340         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24341         Deserializer thisDeserializer(thisArray, thisLength);
24342         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24343         Opt_Union_Number_String value_value_buf = {};
24344         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24345         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24346         {
24347             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24348             Ark_Union_Number_String value_value_buf_ = {};
24349             value_value_buf_.selector = value_value_buf__selector;
24350             if (value_value_buf__selector == 0) {
24351                 value_value_buf_.selector = 0;
24352                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24353             }
24354             else if (value_value_buf__selector == 1) {
24355                 value_value_buf_.selector = 1;
24356                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
24357             }
24358             else {
24359                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24360             }
24361             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
24362         }
24363         Opt_Union_Number_String value_value = value_value_buf;;
24364         GetNodeModifiers()->getTextModifier()->setLetterSpacing(self, (const Opt_Union_Number_String*)&value_value);
24365 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_letterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)24366 KOALA_INTEROP_DIRECT_V3(TextAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
24367 void impl_TextAttribute_textCase(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24368         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24369         Deserializer thisDeserializer(thisArray, thisLength);
24370         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24371         Opt_TextCase value_value_buf = {};
24372         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24373         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24374         {
24375             value_value_buf.value = static_cast<Ark_TextCase>(thisDeserializer.readInt32());
24376         }
24377         Opt_TextCase value_value = value_value_buf;;
24378         GetNodeModifiers()->getTextModifier()->setTextCase(self, (const Opt_TextCase*)&value_value);
24379 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textCase,Ark_NativePointer,KSerializerBuffer,int32_t)24380 KOALA_INTEROP_DIRECT_V3(TextAttribute_textCase, Ark_NativePointer, KSerializerBuffer, int32_t)
24381 void impl_TextAttribute_baselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24382         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24383         Deserializer thisDeserializer(thisArray, thisLength);
24384         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24385         Opt_Union_Number_String value_value_buf = {};
24386         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24387         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24388         {
24389             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24390             Ark_Union_Number_String value_value_buf_ = {};
24391             value_value_buf_.selector = value_value_buf__selector;
24392             if (value_value_buf__selector == 0) {
24393                 value_value_buf_.selector = 0;
24394                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24395             }
24396             else if (value_value_buf__selector == 1) {
24397                 value_value_buf_.selector = 1;
24398                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
24399             }
24400             else {
24401                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24402             }
24403             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
24404         }
24405         Opt_Union_Number_String value_value = value_value_buf;;
24406         GetNodeModifiers()->getTextModifier()->setBaselineOffset(self, (const Opt_Union_Number_String*)&value_value);
24407 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_baselineOffset,Ark_NativePointer,KSerializerBuffer,int32_t)24408 KOALA_INTEROP_DIRECT_V3(TextAttribute_baselineOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
24409 void impl_TextAttribute_copyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24410         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24411         Deserializer thisDeserializer(thisArray, thisLength);
24412         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24413         Opt_CopyOptions value_value_buf = {};
24414         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24415         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24416         {
24417             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
24418         }
24419         Opt_CopyOptions value_value = value_value_buf;;
24420         GetNodeModifiers()->getTextModifier()->setCopyOption(self, (const Opt_CopyOptions*)&value_value);
24421 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_copyOption,Ark_NativePointer,KSerializerBuffer,int32_t)24422 KOALA_INTEROP_DIRECT_V3(TextAttribute_copyOption, Ark_NativePointer, KSerializerBuffer, int32_t)
24423 void impl_TextAttribute_draggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24424         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24425         Deserializer thisDeserializer(thisArray, thisLength);
24426         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24427         Opt_Boolean value_value_buf = {};
24428         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24429         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24430         {
24431             value_value_buf.value = thisDeserializer.readBoolean();
24432         }
24433         Opt_Boolean value_value = value_value_buf;;
24434         GetNodeModifiers()->getTextModifier()->setDraggable(self, (const Opt_Boolean*)&value_value);
24435 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_draggable,Ark_NativePointer,KSerializerBuffer,int32_t)24436 KOALA_INTEROP_DIRECT_V3(TextAttribute_draggable, Ark_NativePointer, KSerializerBuffer, int32_t)
24437 void impl_TextAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24438         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24439         Deserializer thisDeserializer(thisArray, thisLength);
24440         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24441         Opt_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {};
24442         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24443         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24444         {
24445             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24446             Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf_ = {};
24447             value_value_buf_.selector = value_value_buf__selector;
24448             if (value_value_buf__selector == 0) {
24449                 value_value_buf_.selector = 0;
24450                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
24451             }
24452             else if (value_value_buf__selector == 1) {
24453                 value_value_buf_.selector = 1;
24454                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
24455                 Array_ShadowOptions value_value_buf__u = {};
24456                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
24457         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
24458                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
24459                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readShadowOptions();
24460                 }
24461                 value_value_buf_.value1 = value_value_buf__u;
24462             }
24463             else {
24464                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24465             }
24466             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_Array_ShadowOptions>(value_value_buf_);
24467         }
24468         Opt_Union_ShadowOptions_Array_ShadowOptions value_value = value_value_buf;;
24469         GetNodeModifiers()->getTextModifier()->setTextShadow(self, (const Opt_Union_ShadowOptions_Array_ShadowOptions*)&value_value);
24470 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textShadow,Ark_NativePointer,KSerializerBuffer,int32_t)24471 KOALA_INTEROP_DIRECT_V3(TextAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
24472 void impl_TextAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24473         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24474         Deserializer thisDeserializer(thisArray, thisLength);
24475         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24476         Opt_TextHeightAdaptivePolicy value_value_buf = {};
24477         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24478         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24479         {
24480             value_value_buf.value = static_cast<Ark_TextHeightAdaptivePolicy>(thisDeserializer.readInt32());
24481         }
24482         Opt_TextHeightAdaptivePolicy value_value = value_value_buf;;
24483         GetNodeModifiers()->getTextModifier()->setHeightAdaptivePolicy(self, (const Opt_TextHeightAdaptivePolicy*)&value_value);
24484 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_heightAdaptivePolicy,Ark_NativePointer,KSerializerBuffer,int32_t)24485 KOALA_INTEROP_DIRECT_V3(TextAttribute_heightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, int32_t)
24486 void impl_TextAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24487         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24488         Deserializer thisDeserializer(thisArray, thisLength);
24489         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24490         Opt_Length value_value_buf = {};
24491         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24492         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24493         {
24494             value_value_buf.value = thisDeserializer.readLength();
24495         }
24496         Opt_Length value_value = value_value_buf;;
24497         GetNodeModifiers()->getTextModifier()->setTextIndent(self, (const Opt_Length*)&value_value);
24498 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textIndent,Ark_NativePointer,KSerializerBuffer,int32_t)24499 KOALA_INTEROP_DIRECT_V3(TextAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t)
24500 void impl_TextAttribute_wordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24501         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24502         Deserializer thisDeserializer(thisArray, thisLength);
24503         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24504         Opt_WordBreak value_value_buf = {};
24505         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24506         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24507         {
24508             value_value_buf.value = static_cast<Ark_WordBreak>(thisDeserializer.readInt32());
24509         }
24510         Opt_WordBreak value_value = value_value_buf;;
24511         GetNodeModifiers()->getTextModifier()->setWordBreak(self, (const Opt_WordBreak*)&value_value);
24512 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_wordBreak,Ark_NativePointer,KSerializerBuffer,int32_t)24513 KOALA_INTEROP_DIRECT_V3(TextAttribute_wordBreak, Ark_NativePointer, KSerializerBuffer, int32_t)
24514 void impl_TextAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24515         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24516         Deserializer thisDeserializer(thisArray, thisLength);
24517         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24518         Opt_LineBreakStrategy value_value_buf = {};
24519         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24520         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24521         {
24522             value_value_buf.value = static_cast<Ark_LineBreakStrategy>(thisDeserializer.readInt32());
24523         }
24524         Opt_LineBreakStrategy value_value = value_value_buf;;
24525         GetNodeModifiers()->getTextModifier()->setLineBreakStrategy(self, (const Opt_LineBreakStrategy*)&value_value);
24526 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_lineBreakStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)24527 KOALA_INTEROP_DIRECT_V3(TextAttribute_lineBreakStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
24528 void impl_TextAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24529         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24530         Deserializer thisDeserializer(thisArray, thisLength);
24531         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24532         Opt_Callback_String_Void value_value_buf = {};
24533         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24534         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24535         {
24536             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
24537         }
24538         Opt_Callback_String_Void value_value = value_value_buf;;
24539         GetNodeModifiers()->getTextModifier()->setOnCopy(self, (const Opt_Callback_String_Void*)&value_value);
24540 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_onCopy,Ark_NativePointer,KSerializerBuffer,int32_t)24541 KOALA_INTEROP_DIRECT_V3(TextAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t)
24542 void impl_TextAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24543         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24544         Deserializer thisDeserializer(thisArray, thisLength);
24545         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24546         Opt_ResourceColor value_value_buf = {};
24547         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24548         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24549         {
24550             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24551             Ark_ResourceColor value_value_buf_ = {};
24552             value_value_buf_.selector = value_value_buf__selector;
24553             if (value_value_buf__selector == 0) {
24554                 value_value_buf_.selector = 0;
24555                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
24556             }
24557             else if (value_value_buf__selector == 1) {
24558                 value_value_buf_.selector = 1;
24559                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24560             }
24561             else if (value_value_buf__selector == 2) {
24562                 value_value_buf_.selector = 2;
24563                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24564             }
24565             else if (value_value_buf__selector == 3) {
24566                 value_value_buf_.selector = 3;
24567                 value_value_buf_.value3 = thisDeserializer.readResource();
24568             }
24569             else {
24570                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24571             }
24572             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
24573         }
24574         Opt_ResourceColor value_value = value_value_buf;;
24575         GetNodeModifiers()->getTextModifier()->setCaretColor(self, (const Opt_ResourceColor*)&value_value);
24576 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_caretColor,Ark_NativePointer,KSerializerBuffer,int32_t)24577 KOALA_INTEROP_DIRECT_V3(TextAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t)
24578 void impl_TextAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24579         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24580         Deserializer thisDeserializer(thisArray, thisLength);
24581         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24582         Opt_ResourceColor value_value_buf = {};
24583         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24584         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24585         {
24586             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24587             Ark_ResourceColor value_value_buf_ = {};
24588             value_value_buf_.selector = value_value_buf__selector;
24589             if (value_value_buf__selector == 0) {
24590                 value_value_buf_.selector = 0;
24591                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
24592             }
24593             else if (value_value_buf__selector == 1) {
24594                 value_value_buf_.selector = 1;
24595                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24596             }
24597             else if (value_value_buf__selector == 2) {
24598                 value_value_buf_.selector = 2;
24599                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24600             }
24601             else if (value_value_buf__selector == 3) {
24602                 value_value_buf_.selector = 3;
24603                 value_value_buf_.value3 = thisDeserializer.readResource();
24604             }
24605             else {
24606                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24607             }
24608             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
24609         }
24610         Opt_ResourceColor value_value = value_value_buf;;
24611         GetNodeModifiers()->getTextModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
24612 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)24613 KOALA_INTEROP_DIRECT_V3(TextAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
24614 void impl_TextAttribute_ellipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24615         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24616         Deserializer thisDeserializer(thisArray, thisLength);
24617         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24618         Opt_EllipsisMode value_value_buf = {};
24619         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24620         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24621         {
24622             value_value_buf.value = static_cast<Ark_EllipsisMode>(thisDeserializer.readInt32());
24623         }
24624         Opt_EllipsisMode value_value = value_value_buf;;
24625         GetNodeModifiers()->getTextModifier()->setEllipsisMode(self, (const Opt_EllipsisMode*)&value_value);
24626 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_ellipsisMode,Ark_NativePointer,KSerializerBuffer,int32_t)24627 KOALA_INTEROP_DIRECT_V3(TextAttribute_ellipsisMode, Ark_NativePointer, KSerializerBuffer, int32_t)
24628 void impl_TextAttribute_enableDataDetector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24629         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24630         Deserializer thisDeserializer(thisArray, thisLength);
24631         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24632         Opt_Boolean value_value_buf = {};
24633         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24634         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24635         {
24636             value_value_buf.value = thisDeserializer.readBoolean();
24637         }
24638         Opt_Boolean value_value = value_value_buf;;
24639         GetNodeModifiers()->getTextModifier()->setEnableDataDetector(self, (const Opt_Boolean*)&value_value);
24640 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_enableDataDetector,Ark_NativePointer,KSerializerBuffer,int32_t)24641 KOALA_INTEROP_DIRECT_V3(TextAttribute_enableDataDetector, Ark_NativePointer, KSerializerBuffer, int32_t)
24642 void impl_TextAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24643         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24644         Deserializer thisDeserializer(thisArray, thisLength);
24645         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24646         Opt_TextDataDetectorConfig value_value_buf = {};
24647         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24648         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24649         {
24650             value_value_buf.value = thisDeserializer.readTextDataDetectorConfig();
24651         }
24652         Opt_TextDataDetectorConfig value_value = value_value_buf;;
24653         GetNodeModifiers()->getTextModifier()->setDataDetectorConfig(self, (const Opt_TextDataDetectorConfig*)&value_value);
24654 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_dataDetectorConfig,Ark_NativePointer,KSerializerBuffer,int32_t)24655 KOALA_INTEROP_DIRECT_V3(TextAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t)
24656 void impl_TextAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24657         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24658         Deserializer thisDeserializer(thisArray, thisLength);
24659         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24660         Opt_Callback_Number_Number_Void value_value_buf = {};
24661         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24662         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24663         {
24664             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
24665         }
24666         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
24667         GetNodeModifiers()->getTextModifier()->setOnTextSelectionChange(self, (const Opt_Callback_Number_Number_Void*)&value_value);
24668 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_onTextSelectionChange,Ark_NativePointer,KSerializerBuffer,int32_t)24669 KOALA_INTEROP_DIRECT_V3(TextAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t)
24670 void impl_TextAttribute_fontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24671         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24672         Deserializer thisDeserializer(thisArray, thisLength);
24673         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24674         Opt_String value_value_buf = {};
24675         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24676         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24677         {
24678             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
24679         }
24680         Opt_String value_value = value_value_buf;;
24681         GetNodeModifiers()->getTextModifier()->setFontFeature(self, (const Opt_String*)&value_value);
24682 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFeature,Ark_NativePointer,KSerializerBuffer,int32_t)24683 KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFeature, Ark_NativePointer, KSerializerBuffer, int32_t)
24684 void impl_TextAttribute_marqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24685         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24686         Deserializer thisDeserializer(thisArray, thisLength);
24687         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24688         Opt_TextMarqueeOptions value_value_buf = {};
24689         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24690         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24691         {
24692             value_value_buf.value = thisDeserializer.readTextMarqueeOptions();
24693         }
24694         Opt_TextMarqueeOptions value_value = value_value_buf;;
24695         GetNodeModifiers()->getTextModifier()->setMarqueeOptions(self, (const Opt_TextMarqueeOptions*)&value_value);
24696 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_marqueeOptions,Ark_NativePointer,KSerializerBuffer,int32_t)24697 KOALA_INTEROP_DIRECT_V3(TextAttribute_marqueeOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
24698 void impl_TextAttribute_onMarqueeStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24699         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24700         Deserializer thisDeserializer(thisArray, thisLength);
24701         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24702         Opt_Callback_MarqueeState_Void value_value_buf = {};
24703         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24704         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24705         {
24706             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_MarqueeState parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_MarqueeState_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_MarqueeState parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_MarqueeState_Void))))};
24707         }
24708         Opt_Callback_MarqueeState_Void value_value = value_value_buf;;
24709         GetNodeModifiers()->getTextModifier()->setOnMarqueeStateChange(self, (const Opt_Callback_MarqueeState_Void*)&value_value);
24710 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_onMarqueeStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)24711 KOALA_INTEROP_DIRECT_V3(TextAttribute_onMarqueeStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
24712 void impl_TextAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24713         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24714         Deserializer thisDeserializer(thisArray, thisLength);
24715         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24716         Opt_Boolean value_value_buf = {};
24717         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24718         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24719         {
24720             value_value_buf.value = thisDeserializer.readBoolean();
24721         }
24722         Opt_Boolean value_value = value_value_buf;;
24723         GetNodeModifiers()->getTextModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value);
24724 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_privacySensitive,Ark_NativePointer,KSerializerBuffer,int32_t)24725 KOALA_INTEROP_DIRECT_V3(TextAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t)
24726 void impl_TextAttribute_textSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24727         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24728         Deserializer thisDeserializer(thisArray, thisLength);
24729         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24730         Opt_TextSelectableMode value_value_buf = {};
24731         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24732         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24733         {
24734             value_value_buf.value = static_cast<Ark_TextSelectableMode>(thisDeserializer.readInt32());
24735         }
24736         Opt_TextSelectableMode value_value = value_value_buf;;
24737         GetNodeModifiers()->getTextModifier()->setTextSelectable(self, (const Opt_TextSelectableMode*)&value_value);
24738 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_textSelectable,Ark_NativePointer,KSerializerBuffer,int32_t)24739 KOALA_INTEROP_DIRECT_V3(TextAttribute_textSelectable, Ark_NativePointer, KSerializerBuffer, int32_t)
24740 void impl_TextAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24741         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24742         Deserializer thisDeserializer(thisArray, thisLength);
24743         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24744         Opt_EditMenuOptions value_value_buf = {};
24745         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24746         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24747         {
24748             value_value_buf.value = thisDeserializer.readEditMenuOptions();
24749         }
24750         Opt_EditMenuOptions value_value = value_value_buf;;
24751         GetNodeModifiers()->getTextModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
24752 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)24753 KOALA_INTEROP_DIRECT_V3(TextAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
24754 void impl_TextAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24755         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24756         Deserializer thisDeserializer(thisArray, thisLength);
24757         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24758         Opt_Boolean value_value_buf = {};
24759         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24760         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24761         {
24762             value_value_buf.value = thisDeserializer.readBoolean();
24763         }
24764         Opt_Boolean value_value = value_value_buf;;
24765         GetNodeModifiers()->getTextModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value);
24766 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_halfLeading,Ark_NativePointer,KSerializerBuffer,int32_t)24767 KOALA_INTEROP_DIRECT_V3(TextAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t)
24768 void impl_TextAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24769         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24770         Deserializer thisDeserializer(thisArray, thisLength);
24771         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24772         Opt_Boolean value_value_buf = {};
24773         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24774         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24775         {
24776             value_value_buf.value = thisDeserializer.readBoolean();
24777         }
24778         Opt_Boolean value_value = value_value_buf;;
24779         GetNodeModifiers()->getTextModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
24780 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)24781 KOALA_INTEROP_DIRECT_V3(TextAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
24782 void impl_TextAttribute_selection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24783         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24784         Deserializer thisDeserializer(thisArray, thisLength);
24785         const auto selectionStart_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24786         Opt_Number selectionStart_value_buf = {};
24787         selectionStart_value_buf.tag = selectionStart_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24788         if ((INTEROP_RUNTIME_UNDEFINED) != (selectionStart_value_buf_runtimeType))
24789         {
24790             selectionStart_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
24791         }
24792         Opt_Number selectionStart_value = selectionStart_value_buf;;
24793         const auto selectionEnd_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24794         Opt_Number selectionEnd_value_buf = {};
24795         selectionEnd_value_buf.tag = selectionEnd_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24796         if ((INTEROP_RUNTIME_UNDEFINED) != (selectionEnd_value_buf_runtimeType))
24797         {
24798             selectionEnd_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
24799         }
24800         Opt_Number selectionEnd_value = selectionEnd_value_buf;;
24801         GetNodeModifiers()->getTextModifier()->setSelection(self, (const Opt_Number*)&selectionStart_value, (const Opt_Number*)&selectionEnd_value);
24802 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_selection,Ark_NativePointer,KSerializerBuffer,int32_t)24803 KOALA_INTEROP_DIRECT_V3(TextAttribute_selection, Ark_NativePointer, KSerializerBuffer, int32_t)
24804 void impl_TextAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24805         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24806         Deserializer thisDeserializer(thisArray, thisLength);
24807         const auto spanType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24808         Opt_TextSpanType spanType_value_buf = {};
24809         spanType_value_buf.tag = spanType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24810         if ((INTEROP_RUNTIME_UNDEFINED) != (spanType_value_buf_runtimeType))
24811         {
24812             spanType_value_buf.value = static_cast<Ark_TextSpanType>(thisDeserializer.readInt32());
24813         }
24814         Opt_TextSpanType spanType_value = spanType_value_buf;;
24815         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24816         Opt_CustomNodeBuilder content_value_buf = {};
24817         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24818         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
24819         {
24820             content_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
24821         }
24822         Opt_CustomNodeBuilder content_value = content_value_buf;;
24823         const auto responseType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24824         Opt_TextResponseType responseType_value_buf = {};
24825         responseType_value_buf.tag = responseType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24826         if ((INTEROP_RUNTIME_UNDEFINED) != (responseType_value_buf_runtimeType))
24827         {
24828             responseType_value_buf.value = static_cast<Ark_TextResponseType>(thisDeserializer.readInt32());
24829         }
24830         Opt_TextResponseType responseType_value = responseType_value_buf;;
24831         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24832         Opt_SelectionMenuOptions options_value_buf = {};
24833         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24834         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
24835         {
24836             options_value_buf.value = thisDeserializer.readSelectionMenuOptions();
24837         }
24838         Opt_SelectionMenuOptions options_value = options_value_buf;;
24839         GetNodeModifiers()->getTextModifier()->setBindSelectionMenu(self, (const Opt_TextSpanType*)&spanType_value, (const Opt_CustomNodeBuilder*)&content_value, (const Opt_TextResponseType*)&responseType_value, (const Opt_SelectionMenuOptions*)&options_value);
24840 }
KOALA_INTEROP_DIRECT_V3(TextAttribute_bindSelectionMenu,Ark_NativePointer,KSerializerBuffer,int32_t)24841 KOALA_INTEROP_DIRECT_V3(TextAttribute_bindSelectionMenu, Ark_NativePointer, KSerializerBuffer, int32_t)
24842 Ark_NativePointer impl_TextArea_construct(Ark_Int32 id, Ark_Int32 flags) {
24843         return GetNodeModifiers()->getTextAreaModifier()->construct(id, flags);
24844 }
KOALA_INTEROP_DIRECT_2(TextArea_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)24845 KOALA_INTEROP_DIRECT_2(TextArea_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
24846 void impl_TextAreaInterface_setTextAreaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24847         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24848         Deserializer thisDeserializer(thisArray, thisLength);
24849         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24850         Opt_TextAreaOptions value_value_buf = {};
24851         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24852         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24853         {
24854             value_value_buf.value = thisDeserializer.readTextAreaOptions();
24855         }
24856         Opt_TextAreaOptions value_value = value_value_buf;;
24857         GetNodeModifiers()->getTextAreaModifier()->setTextAreaOptions(self, (const Opt_TextAreaOptions*)&value_value);
24858 }
KOALA_INTEROP_DIRECT_V3(TextAreaInterface_setTextAreaOptions,Ark_NativePointer,KSerializerBuffer,int32_t)24859 KOALA_INTEROP_DIRECT_V3(TextAreaInterface_setTextAreaOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
24860 void impl_TextAreaAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24861         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24862         Deserializer thisDeserializer(thisArray, thisLength);
24863         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24864         Opt_ResourceColor value_value_buf = {};
24865         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24866         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24867         {
24868             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24869             Ark_ResourceColor value_value_buf_ = {};
24870             value_value_buf_.selector = value_value_buf__selector;
24871             if (value_value_buf__selector == 0) {
24872                 value_value_buf_.selector = 0;
24873                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
24874             }
24875             else if (value_value_buf__selector == 1) {
24876                 value_value_buf_.selector = 1;
24877                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24878             }
24879             else if (value_value_buf__selector == 2) {
24880                 value_value_buf_.selector = 2;
24881                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24882             }
24883             else if (value_value_buf__selector == 3) {
24884                 value_value_buf_.selector = 3;
24885                 value_value_buf_.value3 = thisDeserializer.readResource();
24886             }
24887             else {
24888                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24889             }
24890             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
24891         }
24892         Opt_ResourceColor value_value = value_value_buf;;
24893         GetNodeModifiers()->getTextAreaModifier()->setPlaceholderColor(self, (const Opt_ResourceColor*)&value_value);
24894 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderColor,Ark_NativePointer,KSerializerBuffer,int32_t)24895 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
24896 void impl_TextAreaAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24897         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24898         Deserializer thisDeserializer(thisArray, thisLength);
24899         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24900         Opt_Font value_value_buf = {};
24901         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24902         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24903         {
24904             value_value_buf.value = thisDeserializer.readFont();
24905         }
24906         Opt_Font value_value = value_value_buf;;
24907         GetNodeModifiers()->getTextAreaModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value);
24908 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderFont,Ark_NativePointer,KSerializerBuffer,int32_t)24909 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t)
24910 void impl_TextAreaAttribute_enterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24911         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24912         Deserializer thisDeserializer(thisArray, thisLength);
24913         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24914         Opt_EnterKeyType value_value_buf = {};
24915         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24916         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24917         {
24918             value_value_buf.value = static_cast<Ark_EnterKeyType>(thisDeserializer.readInt32());
24919         }
24920         Opt_EnterKeyType value_value = value_value_buf;;
24921         GetNodeModifiers()->getTextAreaModifier()->setEnterKeyType(self, (const Opt_EnterKeyType*)&value_value);
24922 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enterKeyType,Ark_NativePointer,KSerializerBuffer,int32_t)24923 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enterKeyType, Ark_NativePointer, KSerializerBuffer, int32_t)
24924 void impl_TextAreaAttribute_textAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24925         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24926         Deserializer thisDeserializer(thisArray, thisLength);
24927         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24928         Opt_TextAlign value_value_buf = {};
24929         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24930         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24931         {
24932             value_value_buf.value = static_cast<Ark_TextAlign>(thisDeserializer.readInt32());
24933         }
24934         Opt_TextAlign value_value = value_value_buf;;
24935         GetNodeModifiers()->getTextAreaModifier()->setTextAlign(self, (const Opt_TextAlign*)&value_value);
24936 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textAlign,Ark_NativePointer,KSerializerBuffer,int32_t)24937 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
24938 void impl_TextAreaAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24939         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24940         Deserializer thisDeserializer(thisArray, thisLength);
24941         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24942         Opt_ResourceColor value_value_buf = {};
24943         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24944         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24945         {
24946             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24947             Ark_ResourceColor value_value_buf_ = {};
24948             value_value_buf_.selector = value_value_buf__selector;
24949             if (value_value_buf__selector == 0) {
24950                 value_value_buf_.selector = 0;
24951                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
24952             }
24953             else if (value_value_buf__selector == 1) {
24954                 value_value_buf_.selector = 1;
24955                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24956             }
24957             else if (value_value_buf__selector == 2) {
24958                 value_value_buf_.selector = 2;
24959                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24960             }
24961             else if (value_value_buf__selector == 3) {
24962                 value_value_buf_.selector = 3;
24963                 value_value_buf_.value3 = thisDeserializer.readResource();
24964             }
24965             else {
24966                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
24967             }
24968             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
24969         }
24970         Opt_ResourceColor value_value = value_value_buf;;
24971         GetNodeModifiers()->getTextAreaModifier()->setCaretColor(self, (const Opt_ResourceColor*)&value_value);
24972 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretColor,Ark_NativePointer,KSerializerBuffer,int32_t)24973 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t)
24974 void impl_TextAreaAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
24975         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
24976         Deserializer thisDeserializer(thisArray, thisLength);
24977         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
24978         Opt_ResourceColor value_value_buf = {};
24979         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
24980         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
24981         {
24982             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
24983             Ark_ResourceColor value_value_buf_ = {};
24984             value_value_buf_.selector = value_value_buf__selector;
24985             if (value_value_buf__selector == 0) {
24986                 value_value_buf_.selector = 0;
24987                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
24988             }
24989             else if (value_value_buf__selector == 1) {
24990                 value_value_buf_.selector = 1;
24991                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
24992             }
24993             else if (value_value_buf__selector == 2) {
24994                 value_value_buf_.selector = 2;
24995                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
24996             }
24997             else if (value_value_buf__selector == 3) {
24998                 value_value_buf_.selector = 3;
24999                 value_value_buf_.value3 = thisDeserializer.readResource();
25000             }
25001             else {
25002                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25003             }
25004             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
25005         }
25006         Opt_ResourceColor value_value = value_value_buf;;
25007         GetNodeModifiers()->getTextAreaModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
25008 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)25009 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
25010 void impl_TextAreaAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25011         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25012         Deserializer thisDeserializer(thisArray, thisLength);
25013         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25014         Opt_Length value_value_buf = {};
25015         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25016         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25017         {
25018             value_value_buf.value = thisDeserializer.readLength();
25019         }
25020         Opt_Length value_value = value_value_buf;;
25021         GetNodeModifiers()->getTextAreaModifier()->setFontSize(self, (const Opt_Length*)&value_value);
25022 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)25023 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
25024 void impl_TextAreaAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25025         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25026         Deserializer thisDeserializer(thisArray, thisLength);
25027         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25028         Opt_FontStyle value_value_buf = {};
25029         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25030         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25031         {
25032             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
25033         }
25034         Opt_FontStyle value_value = value_value_buf;;
25035         GetNodeModifiers()->getTextAreaModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
25036 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)25037 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
25038 void impl_TextAreaAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25039         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25040         Deserializer thisDeserializer(thisArray, thisLength);
25041         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25042         Opt_Union_Number_FontWeight_String value_value_buf = {};
25043         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25044         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25045         {
25046             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25047             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
25048             value_value_buf_.selector = value_value_buf__selector;
25049             if (value_value_buf__selector == 0) {
25050                 value_value_buf_.selector = 0;
25051                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25052             }
25053             else if (value_value_buf__selector == 1) {
25054                 value_value_buf_.selector = 1;
25055                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
25056             }
25057             else if (value_value_buf__selector == 2) {
25058                 value_value_buf_.selector = 2;
25059                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
25060             }
25061             else {
25062                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25063             }
25064             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
25065         }
25066         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
25067         GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
25068 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)25069 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
25070 void impl_TextAreaAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25071         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25072         Deserializer thisDeserializer(thisArray, thisLength);
25073         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25074         Opt_ResourceStr value_value_buf = {};
25075         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25076         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25077         {
25078             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25079             Ark_ResourceStr value_value_buf_ = {};
25080             value_value_buf_.selector = value_value_buf__selector;
25081             if (value_value_buf__selector == 0) {
25082                 value_value_buf_.selector = 0;
25083                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
25084             }
25085             else if (value_value_buf__selector == 1) {
25086                 value_value_buf_.selector = 1;
25087                 value_value_buf_.value1 = thisDeserializer.readResource();
25088             }
25089             else {
25090                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25091             }
25092             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
25093         }
25094         Opt_ResourceStr value_value = value_value_buf;;
25095         GetNodeModifiers()->getTextAreaModifier()->setFontFamily(self, (const Opt_ResourceStr*)&value_value);
25096 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)25097 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
25098 void impl_TextAreaAttribute_textOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25099         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25100         Deserializer thisDeserializer(thisArray, thisLength);
25101         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25102         Opt_TextOverflow value_value_buf = {};
25103         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25104         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25105         {
25106             value_value_buf.value = static_cast<Ark_TextOverflow>(thisDeserializer.readInt32());
25107         }
25108         Opt_TextOverflow value_value = value_value_buf;;
25109         GetNodeModifiers()->getTextAreaModifier()->setTextOverflow(self, (const Opt_TextOverflow*)&value_value);
25110 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textOverflow,Ark_NativePointer,KSerializerBuffer,int32_t)25111 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textOverflow, Ark_NativePointer, KSerializerBuffer, int32_t)
25112 void impl_TextAreaAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25113         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25114         Deserializer thisDeserializer(thisArray, thisLength);
25115         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25116         Opt_Length value_value_buf = {};
25117         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25118         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25119         {
25120             value_value_buf.value = thisDeserializer.readLength();
25121         }
25122         Opt_Length value_value = value_value_buf;;
25123         GetNodeModifiers()->getTextAreaModifier()->setTextIndent(self, (const Opt_Length*)&value_value);
25124 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textIndent,Ark_NativePointer,KSerializerBuffer,int32_t)25125 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t)
25126 void impl_TextAreaAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25127         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25128         Deserializer thisDeserializer(thisArray, thisLength);
25129         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25130         Opt_CaretStyle value_value_buf = {};
25131         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25132         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25133         {
25134             value_value_buf.value = thisDeserializer.readCaretStyle();
25135         }
25136         Opt_CaretStyle value_value = value_value_buf;;
25137         GetNodeModifiers()->getTextAreaModifier()->setCaretStyle(self, (const Opt_CaretStyle*)&value_value);
25138 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretStyle,Ark_NativePointer,KSerializerBuffer,int32_t)25139 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
25140 void impl_TextAreaAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25141         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25142         Deserializer thisDeserializer(thisArray, thisLength);
25143         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25144         Opt_ResourceColor value_value_buf = {};
25145         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25146         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25147         {
25148             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25149             Ark_ResourceColor value_value_buf_ = {};
25150             value_value_buf_.selector = value_value_buf__selector;
25151             if (value_value_buf__selector == 0) {
25152                 value_value_buf_.selector = 0;
25153                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
25154             }
25155             else if (value_value_buf__selector == 1) {
25156                 value_value_buf_.selector = 1;
25157                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25158             }
25159             else if (value_value_buf__selector == 2) {
25160                 value_value_buf_.selector = 2;
25161                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
25162             }
25163             else if (value_value_buf__selector == 3) {
25164                 value_value_buf_.selector = 3;
25165                 value_value_buf_.value3 = thisDeserializer.readResource();
25166             }
25167             else {
25168                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25169             }
25170             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
25171         }
25172         Opt_ResourceColor value_value = value_value_buf;;
25173         GetNodeModifiers()->getTextAreaModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
25174 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)25175 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
25176 void impl_TextAreaAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25177         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25178         Deserializer thisDeserializer(thisArray, thisLength);
25179         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25180         Opt_Callback_EnterKeyType_Void value_value_buf = {};
25181         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25182         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25183         {
25184             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_EnterKeyType_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_EnterKeyType enterKey)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_EnterKeyType_Void))))};
25185         }
25186         Opt_Callback_EnterKeyType_Void value_value = value_value_buf;;
25187         GetNodeModifiers()->getTextAreaModifier()->setOnSubmit0(self, (const Opt_Callback_EnterKeyType_Void*)&value_value);
25188 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit0,Ark_NativePointer,KSerializerBuffer,int32_t)25189 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t)
25190 void impl_TextAreaAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25191         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25192         Deserializer thisDeserializer(thisArray, thisLength);
25193         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25194         Opt_TextAreaSubmitCallback value_value_buf = {};
25195         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25196         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25197         {
25198             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextAreaSubmitCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextAreaSubmitCallback))))};
25199         }
25200         Opt_TextAreaSubmitCallback value_value = value_value_buf;;
25201         GetNodeModifiers()->getTextAreaModifier()->setOnSubmit1(self, (const Opt_TextAreaSubmitCallback*)&value_value);
25202 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit1,Ark_NativePointer,KSerializerBuffer,int32_t)25203 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t)
25204 void impl_TextAreaAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25205         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25206         Deserializer thisDeserializer(thisArray, thisLength);
25207         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25208         Opt_EditableTextOnChangeCallback value_value_buf = {};
25209         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25210         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25211         {
25212             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};
25213         }
25214         Opt_EditableTextOnChangeCallback value_value = value_value_buf;;
25215         GetNodeModifiers()->getTextAreaModifier()->setOnChange(self, (const Opt_EditableTextOnChangeCallback*)&value_value);
25216 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)25217 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
25218 void impl_TextAreaAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25219         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25220         Deserializer thisDeserializer(thisArray, thisLength);
25221         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25222         Opt_Callback_Number_Number_Void value_value_buf = {};
25223         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25224         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25225         {
25226             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
25227         }
25228         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
25229         GetNodeModifiers()->getTextAreaModifier()->setOnTextSelectionChange(self, (const Opt_Callback_Number_Number_Void*)&value_value);
25230 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onTextSelectionChange,Ark_NativePointer,KSerializerBuffer,int32_t)25231 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t)
25232 void impl_TextAreaAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25233         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25234         Deserializer thisDeserializer(thisArray, thisLength);
25235         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25236         Opt_Callback_Number_Number_Void value_value_buf = {};
25237         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25238         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25239         {
25240             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
25241         }
25242         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
25243         GetNodeModifiers()->getTextAreaModifier()->setOnContentScroll(self, (const Opt_Callback_Number_Number_Void*)&value_value);
25244 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onContentScroll,Ark_NativePointer,KSerializerBuffer,int32_t)25245 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
25246 void impl_TextAreaAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25247         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25248         Deserializer thisDeserializer(thisArray, thisLength);
25249         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25250         Opt_Callback_Boolean_Void value_value_buf = {};
25251         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25252         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25253         {
25254             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
25255         }
25256         Opt_Callback_Boolean_Void value_value = value_value_buf;;
25257         GetNodeModifiers()->getTextAreaModifier()->setOnEditChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
25258 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onEditChange,Ark_NativePointer,KSerializerBuffer,int32_t)25259 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t)
25260 void impl_TextAreaAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25261         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25262         Deserializer thisDeserializer(thisArray, thisLength);
25263         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25264         Opt_Callback_String_Void value_value_buf = {};
25265         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25266         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25267         {
25268             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
25269         }
25270         Opt_Callback_String_Void value_value = value_value_buf;;
25271         GetNodeModifiers()->getTextAreaModifier()->setOnCopy(self, (const Opt_Callback_String_Void*)&value_value);
25272 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCopy,Ark_NativePointer,KSerializerBuffer,int32_t)25273 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t)
25274 void impl_TextAreaAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25275         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25276         Deserializer thisDeserializer(thisArray, thisLength);
25277         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25278         Opt_Callback_String_Void value_value_buf = {};
25279         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25280         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25281         {
25282             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
25283         }
25284         Opt_Callback_String_Void value_value = value_value_buf;;
25285         GetNodeModifiers()->getTextAreaModifier()->setOnCut(self, (const Opt_Callback_String_Void*)&value_value);
25286 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCut,Ark_NativePointer,KSerializerBuffer,int32_t)25287 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t)
25288 void impl_TextAreaAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25289         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25290         Deserializer thisDeserializer(thisArray, thisLength);
25291         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25292         Opt_Callback_String_PasteEvent_Void value_value_buf = {};
25293         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25294         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25295         {
25296             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_PasteEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_PasteEvent_Void))))};
25297         }
25298         Opt_Callback_String_PasteEvent_Void value_value = value_value_buf;;
25299         GetNodeModifiers()->getTextAreaModifier()->setOnPaste(self, (const Opt_Callback_String_PasteEvent_Void*)&value_value);
25300 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onPaste,Ark_NativePointer,KSerializerBuffer,int32_t)25301 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t)
25302 void impl_TextAreaAttribute_copyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25303         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25304         Deserializer thisDeserializer(thisArray, thisLength);
25305         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25306         Opt_CopyOptions value_value_buf = {};
25307         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25308         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25309         {
25310             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
25311         }
25312         Opt_CopyOptions value_value = value_value_buf;;
25313         GetNodeModifiers()->getTextAreaModifier()->setCopyOption(self, (const Opt_CopyOptions*)&value_value);
25314 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_copyOption,Ark_NativePointer,KSerializerBuffer,int32_t)25315 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_copyOption, Ark_NativePointer, KSerializerBuffer, int32_t)
25316 void impl_TextAreaAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25317         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25318         Deserializer thisDeserializer(thisArray, thisLength);
25319         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25320         Opt_Boolean value_value_buf = {};
25321         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25322         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25323         {
25324             value_value_buf.value = thisDeserializer.readBoolean();
25325         }
25326         Opt_Boolean value_value = value_value_buf;;
25327         GetNodeModifiers()->getTextAreaModifier()->setEnableKeyboardOnFocus(self, (const Opt_Boolean*)&value_value);
25328 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableKeyboardOnFocus,Ark_NativePointer,KSerializerBuffer,int32_t)25329 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
25330 void impl_TextAreaAttribute_maxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25331         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25332         Deserializer thisDeserializer(thisArray, thisLength);
25333         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25334         Opt_Number value_value_buf = {};
25335         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25336         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25337         {
25338             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
25339         }
25340         Opt_Number value_value = value_value_buf;;
25341         GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, (const Opt_Number*)&value_value);
25342 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxLength,Ark_NativePointer,KSerializerBuffer,int32_t)25343 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxLength, Ark_NativePointer, KSerializerBuffer, int32_t)
25344 void impl_TextAreaAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25345         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25346         Deserializer thisDeserializer(thisArray, thisLength);
25347         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25348         Opt_TextContentStyle value_value_buf = {};
25349         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25350         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25351         {
25352             value_value_buf.value = static_cast<Ark_TextContentStyle>(thisDeserializer.readInt32());
25353         }
25354         Opt_TextContentStyle value_value = value_value_buf;;
25355         GetNodeModifiers()->getTextAreaModifier()->setStyle(self, (const Opt_TextContentStyle*)&value_value);
25356 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_style,Ark_NativePointer,KSerializerBuffer,int32_t)25357 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t)
25358 void impl_TextAreaAttribute_barState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25359         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25360         Deserializer thisDeserializer(thisArray, thisLength);
25361         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25362         Opt_BarState value_value_buf = {};
25363         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25364         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25365         {
25366             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
25367         }
25368         Opt_BarState value_value = value_value_buf;;
25369         GetNodeModifiers()->getTextAreaModifier()->setBarState(self, (const Opt_BarState*)&value_value);
25370 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_barState,Ark_NativePointer,KSerializerBuffer,int32_t)25371 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_barState, Ark_NativePointer, KSerializerBuffer, int32_t)
25372 void impl_TextAreaAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25373         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25374         Deserializer thisDeserializer(thisArray, thisLength);
25375         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25376         Opt_Boolean value_value_buf = {};
25377         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25378         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25379         {
25380             value_value_buf.value = thisDeserializer.readBoolean();
25381         }
25382         Opt_Boolean value_value = value_value_buf;;
25383         GetNodeModifiers()->getTextAreaModifier()->setSelectionMenuHidden(self, (const Opt_Boolean*)&value_value);
25384 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectionMenuHidden,Ark_NativePointer,KSerializerBuffer,int32_t)25385 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectionMenuHidden, Ark_NativePointer, KSerializerBuffer, int32_t)
25386 void impl_TextAreaAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25387         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25388         Deserializer thisDeserializer(thisArray, thisLength);
25389         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25390         Opt_Union_Number_String_Resource value_value_buf = {};
25391         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25392         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25393         {
25394             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25395             Ark_Union_Number_String_Resource value_value_buf_ = {};
25396             value_value_buf_.selector = value_value_buf__selector;
25397             if (value_value_buf__selector == 0) {
25398                 value_value_buf_.selector = 0;
25399                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25400             }
25401             else if (value_value_buf__selector == 1) {
25402                 value_value_buf_.selector = 1;
25403                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
25404             }
25405             else if (value_value_buf__selector == 2) {
25406                 value_value_buf_.selector = 2;
25407                 value_value_buf_.value2 = thisDeserializer.readResource();
25408             }
25409             else {
25410                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25411             }
25412             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
25413         }
25414         Opt_Union_Number_String_Resource value_value = value_value_buf;;
25415         GetNodeModifiers()->getTextAreaModifier()->setMinFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
25416 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)25417 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
25418 void impl_TextAreaAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25419         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25420         Deserializer thisDeserializer(thisArray, thisLength);
25421         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25422         Opt_Union_Number_String_Resource value_value_buf = {};
25423         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25424         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25425         {
25426             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25427             Ark_Union_Number_String_Resource value_value_buf_ = {};
25428             value_value_buf_.selector = value_value_buf__selector;
25429             if (value_value_buf__selector == 0) {
25430                 value_value_buf_.selector = 0;
25431                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25432             }
25433             else if (value_value_buf__selector == 1) {
25434                 value_value_buf_.selector = 1;
25435                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
25436             }
25437             else if (value_value_buf__selector == 2) {
25438                 value_value_buf_.selector = 2;
25439                 value_value_buf_.value2 = thisDeserializer.readResource();
25440             }
25441             else {
25442                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25443             }
25444             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
25445         }
25446         Opt_Union_Number_String_Resource value_value = value_value_buf;;
25447         GetNodeModifiers()->getTextAreaModifier()->setMaxFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
25448 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)25449 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
25450 void impl_TextAreaAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25451         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25452         Deserializer thisDeserializer(thisArray, thisLength);
25453         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25454         Opt_Union_Number_Resource value_value_buf = {};
25455         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25456         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25457         {
25458             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25459             Ark_Union_Number_Resource value_value_buf_ = {};
25460             value_value_buf_.selector = value_value_buf__selector;
25461             if (value_value_buf__selector == 0) {
25462                 value_value_buf_.selector = 0;
25463                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25464             }
25465             else if (value_value_buf__selector == 1) {
25466                 value_value_buf_.selector = 1;
25467                 value_value_buf_.value1 = thisDeserializer.readResource();
25468             }
25469             else {
25470                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25471             }
25472             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
25473         }
25474         Opt_Union_Number_Resource value_value = value_value_buf;;
25475         GetNodeModifiers()->getTextAreaModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
25476 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)25477 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
25478 void impl_TextAreaAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25479         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25480         Deserializer thisDeserializer(thisArray, thisLength);
25481         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25482         Opt_Union_Number_Resource value_value_buf = {};
25483         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25484         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25485         {
25486             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25487             Ark_Union_Number_Resource value_value_buf_ = {};
25488             value_value_buf_.selector = value_value_buf__selector;
25489             if (value_value_buf__selector == 0) {
25490                 value_value_buf_.selector = 0;
25491                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25492             }
25493             else if (value_value_buf__selector == 1) {
25494                 value_value_buf_.selector = 1;
25495                 value_value_buf_.value1 = thisDeserializer.readResource();
25496             }
25497             else {
25498                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25499             }
25500             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
25501         }
25502         Opt_Union_Number_Resource value_value = value_value_buf;;
25503         GetNodeModifiers()->getTextAreaModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
25504 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)25505 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
25506 void impl_TextAreaAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25507         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25508         Deserializer thisDeserializer(thisArray, thisLength);
25509         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25510         Opt_TextHeightAdaptivePolicy value_value_buf = {};
25511         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25512         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25513         {
25514             value_value_buf.value = static_cast<Ark_TextHeightAdaptivePolicy>(thisDeserializer.readInt32());
25515         }
25516         Opt_TextHeightAdaptivePolicy value_value = value_value_buf;;
25517         GetNodeModifiers()->getTextAreaModifier()->setHeightAdaptivePolicy(self, (const Opt_TextHeightAdaptivePolicy*)&value_value);
25518 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_heightAdaptivePolicy,Ark_NativePointer,KSerializerBuffer,int32_t)25519 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_heightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, int32_t)
25520 void impl_TextAreaAttribute_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25521         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25522         Deserializer thisDeserializer(thisArray, thisLength);
25523         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25524         Opt_Number value_value_buf = {};
25525         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25526         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25527         {
25528             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
25529         }
25530         Opt_Number value_value = value_value_buf;;
25531         GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, (const Opt_Number*)&value_value);
25532 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxLines,Ark_NativePointer,KSerializerBuffer,int32_t)25533 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t)
25534 void impl_TextAreaAttribute_wordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25535         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25536         Deserializer thisDeserializer(thisArray, thisLength);
25537         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25538         Opt_WordBreak value_value_buf = {};
25539         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25540         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25541         {
25542             value_value_buf.value = static_cast<Ark_WordBreak>(thisDeserializer.readInt32());
25543         }
25544         Opt_WordBreak value_value = value_value_buf;;
25545         GetNodeModifiers()->getTextAreaModifier()->setWordBreak(self, (const Opt_WordBreak*)&value_value);
25546 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_wordBreak,Ark_NativePointer,KSerializerBuffer,int32_t)25547 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_wordBreak, Ark_NativePointer, KSerializerBuffer, int32_t)
25548 void impl_TextAreaAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25549         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25550         Deserializer thisDeserializer(thisArray, thisLength);
25551         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25552         Opt_LineBreakStrategy value_value_buf = {};
25553         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25554         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25555         {
25556             value_value_buf.value = static_cast<Ark_LineBreakStrategy>(thisDeserializer.readInt32());
25557         }
25558         Opt_LineBreakStrategy value_value = value_value_buf;;
25559         GetNodeModifiers()->getTextAreaModifier()->setLineBreakStrategy(self, (const Opt_LineBreakStrategy*)&value_value);
25560 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineBreakStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)25561 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineBreakStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
25562 void impl_TextAreaAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25564         Deserializer thisDeserializer(thisArray, thisLength);
25565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25566         Opt_TextDecorationOptions value_value_buf = {};
25567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25569         {
25570             value_value_buf.value = thisDeserializer.readTextDecorationOptions();
25571         }
25572         Opt_TextDecorationOptions value_value = value_value_buf;;
25573         GetNodeModifiers()->getTextAreaModifier()->setDecoration(self, (const Opt_TextDecorationOptions*)&value_value);
25574 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_decoration,Ark_NativePointer,KSerializerBuffer,int32_t)25575 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t)
25576 void impl_TextAreaAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25577         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25578         Deserializer thisDeserializer(thisArray, thisLength);
25579         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25580         Opt_Union_Number_String_Resource value_value_buf = {};
25581         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25582         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25583         {
25584             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25585             Ark_Union_Number_String_Resource value_value_buf_ = {};
25586             value_value_buf_.selector = value_value_buf__selector;
25587             if (value_value_buf__selector == 0) {
25588                 value_value_buf_.selector = 0;
25589                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25590             }
25591             else if (value_value_buf__selector == 1) {
25592                 value_value_buf_.selector = 1;
25593                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
25594             }
25595             else if (value_value_buf__selector == 2) {
25596                 value_value_buf_.selector = 2;
25597                 value_value_buf_.value2 = thisDeserializer.readResource();
25598             }
25599             else {
25600                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25601             }
25602             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
25603         }
25604         Opt_Union_Number_String_Resource value_value = value_value_buf;;
25605         GetNodeModifiers()->getTextAreaModifier()->setLetterSpacing(self, (const Opt_Union_Number_String_Resource*)&value_value);
25606 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_letterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)25607 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
25608 void impl_TextAreaAttribute_lineSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25609         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25610         Deserializer thisDeserializer(thisArray, thisLength);
25611         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25612         Opt_LengthMetrics value_value_buf = {};
25613         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25614         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25615         {
25616             value_value_buf.value = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
25617         }
25618         Opt_LengthMetrics value_value = value_value_buf;;
25619         GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, (const Opt_LengthMetrics*)&value_value);
25620 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)25621 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
25622 void impl_TextAreaAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25623         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25624         Deserializer thisDeserializer(thisArray, thisLength);
25625         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25626         Opt_Union_Number_String_Resource value_value_buf = {};
25627         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25628         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25629         {
25630             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25631             Ark_Union_Number_String_Resource value_value_buf_ = {};
25632             value_value_buf_.selector = value_value_buf__selector;
25633             if (value_value_buf__selector == 0) {
25634                 value_value_buf_.selector = 0;
25635                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
25636             }
25637             else if (value_value_buf__selector == 1) {
25638                 value_value_buf_.selector = 1;
25639                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
25640             }
25641             else if (value_value_buf__selector == 2) {
25642                 value_value_buf_.selector = 2;
25643                 value_value_buf_.value2 = thisDeserializer.readResource();
25644             }
25645             else {
25646                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25647             }
25648             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
25649         }
25650         Opt_Union_Number_String_Resource value_value = value_value_buf;;
25651         GetNodeModifiers()->getTextAreaModifier()->setLineHeight(self, (const Opt_Union_Number_String_Resource*)&value_value);
25652 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineHeight,Ark_NativePointer,KSerializerBuffer,int32_t)25653 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
25654 void impl_TextAreaAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25655         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25656         Deserializer thisDeserializer(thisArray, thisLength);
25657         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25658         Opt_TextAreaType value_value_buf = {};
25659         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25660         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25661         {
25662             value_value_buf.value = static_cast<Ark_TextAreaType>(thisDeserializer.readInt32());
25663         }
25664         Opt_TextAreaType value_value = value_value_buf;;
25665         GetNodeModifiers()->getTextAreaModifier()->setType(self, (const Opt_TextAreaType*)&value_value);
25666 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)25667 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
25668 void impl_TextAreaAttribute_enableAutoFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25669         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25670         Deserializer thisDeserializer(thisArray, thisLength);
25671         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25672         Opt_Boolean value_value_buf = {};
25673         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25674         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25675         {
25676             value_value_buf.value = thisDeserializer.readBoolean();
25677         }
25678         Opt_Boolean value_value = value_value_buf;;
25679         GetNodeModifiers()->getTextAreaModifier()->setEnableAutoFill(self, (const Opt_Boolean*)&value_value);
25680 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableAutoFill,Ark_NativePointer,KSerializerBuffer,int32_t)25681 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableAutoFill, Ark_NativePointer, KSerializerBuffer, int32_t)
25682 void impl_TextAreaAttribute_contentType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25683         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25684         Deserializer thisDeserializer(thisArray, thisLength);
25685         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25686         Opt_ContentType value_value_buf = {};
25687         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25688         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25689         {
25690             value_value_buf.value = static_cast<Ark_ContentType>(thisDeserializer.readInt32());
25691         }
25692         Opt_ContentType value_value = value_value_buf;;
25693         GetNodeModifiers()->getTextAreaModifier()->setContentType(self, (const Opt_ContentType*)&value_value);
25694 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_contentType,Ark_NativePointer,KSerializerBuffer,int32_t)25695 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_contentType, Ark_NativePointer, KSerializerBuffer, int32_t)
25696 void impl_TextAreaAttribute_fontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25697         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25698         Deserializer thisDeserializer(thisArray, thisLength);
25699         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25700         Opt_String value_value_buf = {};
25701         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25702         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25703         {
25704             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
25705         }
25706         Opt_String value_value = value_value_buf;;
25707         GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, (const Opt_String*)&value_value);
25708 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFeature,Ark_NativePointer,KSerializerBuffer,int32_t)25709 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFeature, Ark_NativePointer, KSerializerBuffer, int32_t)
25710 void impl_TextAreaAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25711         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25712         Deserializer thisDeserializer(thisArray, thisLength);
25713         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25714         Opt_Callback_InsertValue_Boolean value_value_buf = {};
25715         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25716         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25717         {
25718             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};
25719         }
25720         Opt_Callback_InsertValue_Boolean value_value = value_value_buf;;
25721         GetNodeModifiers()->getTextAreaModifier()->setOnWillInsert(self, (const Opt_Callback_InsertValue_Boolean*)&value_value);
25722 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillInsert,Ark_NativePointer,KSerializerBuffer,int32_t)25723 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
25724 void impl_TextAreaAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25725         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25726         Deserializer thisDeserializer(thisArray, thisLength);
25727         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25728         Opt_Callback_InsertValue_Void value_value_buf = {};
25729         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25730         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25731         {
25732             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};
25733         }
25734         Opt_Callback_InsertValue_Void value_value = value_value_buf;;
25735         GetNodeModifiers()->getTextAreaModifier()->setOnDidInsert(self, (const Opt_Callback_InsertValue_Void*)&value_value);
25736 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidInsert,Ark_NativePointer,KSerializerBuffer,int32_t)25737 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
25738 void impl_TextAreaAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25739         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25740         Deserializer thisDeserializer(thisArray, thisLength);
25741         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25742         Opt_Callback_DeleteValue_Boolean value_value_buf = {};
25743         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25744         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25745         {
25746             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};
25747         }
25748         Opt_Callback_DeleteValue_Boolean value_value = value_value_buf;;
25749         GetNodeModifiers()->getTextAreaModifier()->setOnWillDelete(self, (const Opt_Callback_DeleteValue_Boolean*)&value_value);
25750 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillDelete,Ark_NativePointer,KSerializerBuffer,int32_t)25751 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
25752 void impl_TextAreaAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25753         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25754         Deserializer thisDeserializer(thisArray, thisLength);
25755         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25756         Opt_Callback_DeleteValue_Void value_value_buf = {};
25757         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25758         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25759         {
25760             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};
25761         }
25762         Opt_Callback_DeleteValue_Void value_value = value_value_buf;;
25763         GetNodeModifiers()->getTextAreaModifier()->setOnDidDelete(self, (const Opt_Callback_DeleteValue_Void*)&value_value);
25764 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidDelete,Ark_NativePointer,KSerializerBuffer,int32_t)25765 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
25766 void impl_TextAreaAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25767         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25768         Deserializer thisDeserializer(thisArray, thisLength);
25769         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25770         Opt_EditMenuOptions value_value_buf = {};
25771         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25772         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25773         {
25774             value_value_buf.value = thisDeserializer.readEditMenuOptions();
25775         }
25776         Opt_EditMenuOptions value_value = value_value_buf;;
25777         GetNodeModifiers()->getTextAreaModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
25778 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)25779 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
25780 void impl_TextAreaAttribute_enablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25781         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25782         Deserializer thisDeserializer(thisArray, thisLength);
25783         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25784         Opt_Boolean value_value_buf = {};
25785         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25786         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25787         {
25788             value_value_buf.value = thisDeserializer.readBoolean();
25789         }
25790         Opt_Boolean value_value = value_value_buf;;
25791         GetNodeModifiers()->getTextAreaModifier()->setEnablePreviewText(self, (const Opt_Boolean*)&value_value);
25792 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enablePreviewText,Ark_NativePointer,KSerializerBuffer,int32_t)25793 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enablePreviewText, Ark_NativePointer, KSerializerBuffer, int32_t)
25794 void impl_TextAreaAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25795         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25796         Deserializer thisDeserializer(thisArray, thisLength);
25797         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25798         Opt_Boolean value_value_buf = {};
25799         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25800         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25801         {
25802             value_value_buf.value = thisDeserializer.readBoolean();
25803         }
25804         Opt_Boolean value_value = value_value_buf;;
25805         GetNodeModifiers()->getTextAreaModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
25806 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)25807 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
25808 void impl_TextAreaAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25809         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25810         Deserializer thisDeserializer(thisArray, thisLength);
25811         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25812         Opt_AutoCapitalizationMode value_value_buf = {};
25813         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25814         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25815         {
25816             value_value_buf.value = static_cast<Ark_AutoCapitalizationMode>(thisDeserializer.readInt32());
25817         }
25818         Opt_AutoCapitalizationMode value_value = value_value_buf;;
25819         GetNodeModifiers()->getTextAreaModifier()->setAutoCapitalizationMode(self, (const Opt_AutoCapitalizationMode*)&value_value);
25820 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_autoCapitalizationMode,Ark_NativePointer,KSerializerBuffer,int32_t)25821 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_autoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, int32_t)
25822 void impl_TextAreaAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25823         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25824         Deserializer thisDeserializer(thisArray, thisLength);
25825         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25826         Opt_Boolean value_value_buf = {};
25827         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25828         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25829         {
25830             value_value_buf.value = thisDeserializer.readBoolean();
25831         }
25832         Opt_Boolean value_value = value_value_buf;;
25833         GetNodeModifiers()->getTextAreaModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value);
25834 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_halfLeading,Ark_NativePointer,KSerializerBuffer,int32_t)25835 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t)
25836 void impl_TextAreaAttribute_ellipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25837         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25838         Deserializer thisDeserializer(thisArray, thisLength);
25839         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25840         Opt_EllipsisMode value_value_buf = {};
25841         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25842         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25843         {
25844             value_value_buf.value = static_cast<Ark_EllipsisMode>(thisDeserializer.readInt32());
25845         }
25846         Opt_EllipsisMode value_value = value_value_buf;;
25847         GetNodeModifiers()->getTextAreaModifier()->setEllipsisMode(self, (const Opt_EllipsisMode*)&value_value);
25848 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_ellipsisMode,Ark_NativePointer,KSerializerBuffer,int32_t)25849 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_ellipsisMode, Ark_NativePointer, KSerializerBuffer, int32_t)
25850 void impl_TextAreaAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25851         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25852         Deserializer thisDeserializer(thisArray, thisLength);
25853         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25854         Opt_Boolean value_value_buf = {};
25855         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25856         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25857         {
25858             value_value_buf.value = thisDeserializer.readBoolean();
25859         }
25860         Opt_Boolean value_value = value_value_buf;;
25861         GetNodeModifiers()->getTextAreaModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value);
25862 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_stopBackPress,Ark_NativePointer,KSerializerBuffer,int32_t)25863 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t)
25864 void impl_TextAreaAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25865         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25866         Deserializer thisDeserializer(thisArray, thisLength);
25867         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25868         Opt_Callback_EditableTextChangeValue_Boolean value_value_buf = {};
25869         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25870         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25871         {
25872             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};
25873         }
25874         Opt_Callback_EditableTextChangeValue_Boolean value_value = value_value_buf;;
25875         GetNodeModifiers()->getTextAreaModifier()->setOnWillChange(self, (const Opt_Callback_EditableTextChangeValue_Boolean*)&value_value);
25876 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillChange,Ark_NativePointer,KSerializerBuffer,int32_t)25877 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t)
25878 void impl_TextAreaAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25879         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25880         Deserializer thisDeserializer(thisArray, thisLength);
25881         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25882         Opt_KeyboardAppearance value_value_buf = {};
25883         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25884         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25885         {
25886             value_value_buf.value = static_cast<Ark_KeyboardAppearance>(thisDeserializer.readInt32());
25887         }
25888         Opt_KeyboardAppearance value_value = value_value_buf;;
25889         GetNodeModifiers()->getTextAreaModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value);
25890 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_keyboardAppearance,Ark_NativePointer,KSerializerBuffer,int32_t)25891 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t)
25892 void impl_TextAreaAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25893         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25894         Deserializer thisDeserializer(thisArray, thisLength);
25895         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25896         Opt_ResourceStr value_value_buf = {};
25897         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25898         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25899         {
25900             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
25901             Ark_ResourceStr value_value_buf_ = {};
25902             value_value_buf_.selector = value_value_buf__selector;
25903             if (value_value_buf__selector == 0) {
25904                 value_value_buf_.selector = 0;
25905                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
25906             }
25907             else if (value_value_buf__selector == 1) {
25908                 value_value_buf_.selector = 1;
25909                 value_value_buf_.value1 = thisDeserializer.readResource();
25910             }
25911             else {
25912                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
25913             }
25914             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
25915         }
25916         Opt_ResourceStr value_value = value_value_buf;;
25917         const auto error_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25918         Opt_Callback_String_Void error_value_buf = {};
25919         error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25920         if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType))
25921         {
25922             error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
25923         }
25924         Opt_Callback_String_Void error_value = error_value_buf;;
25925         GetNodeModifiers()->getTextAreaModifier()->setInputFilter(self, (const Opt_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value);
25926 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_inputFilter,Ark_NativePointer,KSerializerBuffer,int32_t)25927 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
25928 void impl_TextAreaAttribute_showCounter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25929         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25930         Deserializer thisDeserializer(thisArray, thisLength);
25931         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25932         Opt_Boolean value_value_buf = {};
25933         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25934         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25935         {
25936             value_value_buf.value = thisDeserializer.readBoolean();
25937         }
25938         Opt_Boolean value_value = value_value_buf;;
25939         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25940         Opt_InputCounterOptions options_value_buf = {};
25941         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25942         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
25943         {
25944             options_value_buf.value = thisDeserializer.readInputCounterOptions();
25945         }
25946         Opt_InputCounterOptions options_value = options_value_buf;;
25947         GetNodeModifiers()->getTextAreaModifier()->setShowCounter(self, (const Opt_Boolean*)&value_value, (const Opt_InputCounterOptions*)&options_value);
25948 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_showCounter,Ark_NativePointer,KSerializerBuffer,int32_t)25949 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_showCounter, Ark_NativePointer, KSerializerBuffer, int32_t)
25950 void impl_TextAreaAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25951         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25952         Deserializer thisDeserializer(thisArray, thisLength);
25953         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25954         Opt_CustomNodeBuilder value_value_buf = {};
25955         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25956         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
25957         {
25958             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
25959         }
25960         Opt_CustomNodeBuilder value_value = value_value_buf;;
25961         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25962         Opt_KeyboardOptions options_value_buf = {};
25963         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25964         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
25965         {
25966             options_value_buf.value = thisDeserializer.readKeyboardOptions();
25967         }
25968         Opt_KeyboardOptions options_value = options_value_buf;;
25969         GetNodeModifiers()->getTextAreaModifier()->setCustomKeyboard(self, (const Opt_CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value);
25970 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_customKeyboard,Ark_NativePointer,KSerializerBuffer,int32_t)25971 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t)
25972 void impl_TextAreaAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25973         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25974         Deserializer thisDeserializer(thisArray, thisLength);
25975         Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ResourceStr text)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ResourceStr text)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};;
25976         GetNodeModifiers()->getTextAreaModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value);
25977 }
KOALA_INTEROP_DIRECT_V3(TextAreaAttribute__onChangeEvent_text,Ark_NativePointer,KSerializerBuffer,int32_t)25978 KOALA_INTEROP_DIRECT_V3(TextAreaAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t)
25979 Ark_NativePointer impl_TextClock_construct(Ark_Int32 id, Ark_Int32 flags) {
25980         return GetNodeModifiers()->getTextClockModifier()->construct(id, flags);
25981 }
KOALA_INTEROP_DIRECT_2(TextClock_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)25982 KOALA_INTEROP_DIRECT_2(TextClock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
25983 void impl_TextClockInterface_setTextClockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25984         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25985         Deserializer thisDeserializer(thisArray, thisLength);
25986         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
25987         Opt_TextClockOptions options_value_buf = {};
25988         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
25989         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
25990         {
25991             options_value_buf.value = thisDeserializer.readTextClockOptions();
25992         }
25993         Opt_TextClockOptions options_value = options_value_buf;;
25994         GetNodeModifiers()->getTextClockModifier()->setTextClockOptions(self, (const Opt_TextClockOptions*)&options_value);
25995 }
KOALA_INTEROP_DIRECT_V3(TextClockInterface_setTextClockOptions,Ark_NativePointer,KSerializerBuffer,int32_t)25996 KOALA_INTEROP_DIRECT_V3(TextClockInterface_setTextClockOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
25997 void impl_TextClockAttribute_format(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
25998         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
25999         Deserializer thisDeserializer(thisArray, thisLength);
26000         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26001         Opt_String value_value_buf = {};
26002         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26003         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26004         {
26005             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
26006         }
26007         Opt_String value_value = value_value_buf;;
26008         GetNodeModifiers()->getTextClockModifier()->setFormat(self, (const Opt_String*)&value_value);
26009 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_format,Ark_NativePointer,KSerializerBuffer,int32_t)26010 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_format, Ark_NativePointer, KSerializerBuffer, int32_t)
26011 void impl_TextClockAttribute_onDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26012         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26013         Deserializer thisDeserializer(thisArray, thisLength);
26014         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26015         Opt_Callback_Number_Void value_value_buf = {};
26016         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26017         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26018         {
26019             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
26020         }
26021         Opt_Callback_Number_Void value_value = value_value_buf;;
26022         GetNodeModifiers()->getTextClockModifier()->setOnDateChange(self, (const Opt_Callback_Number_Void*)&value_value);
26023 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_onDateChange,Ark_NativePointer,KSerializerBuffer,int32_t)26024 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_onDateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
26025 void impl_TextClockAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26026         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26027         Deserializer thisDeserializer(thisArray, thisLength);
26028         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26029         Opt_ResourceColor value_value_buf = {};
26030         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26031         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26032         {
26033             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26034             Ark_ResourceColor value_value_buf_ = {};
26035             value_value_buf_.selector = value_value_buf__selector;
26036             if (value_value_buf__selector == 0) {
26037                 value_value_buf_.selector = 0;
26038                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26039             }
26040             else if (value_value_buf__selector == 1) {
26041                 value_value_buf_.selector = 1;
26042                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26043             }
26044             else if (value_value_buf__selector == 2) {
26045                 value_value_buf_.selector = 2;
26046                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26047             }
26048             else if (value_value_buf__selector == 3) {
26049                 value_value_buf_.selector = 3;
26050                 value_value_buf_.value3 = thisDeserializer.readResource();
26051             }
26052             else {
26053                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26054             }
26055             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
26056         }
26057         Opt_ResourceColor value_value = value_value_buf;;
26058         GetNodeModifiers()->getTextClockModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
26059 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)26060 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26061 void impl_TextClockAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26062         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26063         Deserializer thisDeserializer(thisArray, thisLength);
26064         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26065         Opt_Length value_value_buf = {};
26066         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26067         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26068         {
26069             value_value_buf.value = thisDeserializer.readLength();
26070         }
26071         Opt_Length value_value = value_value_buf;;
26072         GetNodeModifiers()->getTextClockModifier()->setFontSize(self, (const Opt_Length*)&value_value);
26073 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)26074 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
26075 void impl_TextClockAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26076         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26077         Deserializer thisDeserializer(thisArray, thisLength);
26078         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26079         Opt_FontStyle value_value_buf = {};
26080         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26081         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26082         {
26083             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
26084         }
26085         Opt_FontStyle value_value = value_value_buf;;
26086         GetNodeModifiers()->getTextClockModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
26087 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)26088 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
26089 void impl_TextClockAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26090         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26091         Deserializer thisDeserializer(thisArray, thisLength);
26092         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26093         Opt_Union_Number_FontWeight_String value_value_buf = {};
26094         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26095         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26096         {
26097             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26098             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
26099             value_value_buf_.selector = value_value_buf__selector;
26100             if (value_value_buf__selector == 0) {
26101                 value_value_buf_.selector = 0;
26102                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26103             }
26104             else if (value_value_buf__selector == 1) {
26105                 value_value_buf_.selector = 1;
26106                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
26107             }
26108             else if (value_value_buf__selector == 2) {
26109                 value_value_buf_.selector = 2;
26110                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26111             }
26112             else {
26113                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26114             }
26115             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
26116         }
26117         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
26118         GetNodeModifiers()->getTextClockModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
26119 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)26120 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
26121 void impl_TextClockAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26122         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26123         Deserializer thisDeserializer(thisArray, thisLength);
26124         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26125         Opt_ResourceStr value_value_buf = {};
26126         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26127         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26128         {
26129             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26130             Ark_ResourceStr value_value_buf_ = {};
26131             value_value_buf_.selector = value_value_buf__selector;
26132             if (value_value_buf__selector == 0) {
26133                 value_value_buf_.selector = 0;
26134                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
26135             }
26136             else if (value_value_buf__selector == 1) {
26137                 value_value_buf_.selector = 1;
26138                 value_value_buf_.value1 = thisDeserializer.readResource();
26139             }
26140             else {
26141                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26142             }
26143             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
26144         }
26145         Opt_ResourceStr value_value = value_value_buf;;
26146         GetNodeModifiers()->getTextClockModifier()->setFontFamily(self, (const Opt_ResourceStr*)&value_value);
26147 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)26148 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
26149 void impl_TextClockAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26150         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26151         Deserializer thisDeserializer(thisArray, thisLength);
26152         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26153         Opt_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {};
26154         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26155         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26156         {
26157             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26158             Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf_ = {};
26159             value_value_buf_.selector = value_value_buf__selector;
26160             if (value_value_buf__selector == 0) {
26161                 value_value_buf_.selector = 0;
26162                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
26163             }
26164             else if (value_value_buf__selector == 1) {
26165                 value_value_buf_.selector = 1;
26166                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
26167                 Array_ShadowOptions value_value_buf__u = {};
26168                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
26169         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
26170                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
26171                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readShadowOptions();
26172                 }
26173                 value_value_buf_.value1 = value_value_buf__u;
26174             }
26175             else {
26176                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26177             }
26178             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_Array_ShadowOptions>(value_value_buf_);
26179         }
26180         Opt_Union_ShadowOptions_Array_ShadowOptions value_value = value_value_buf;;
26181         GetNodeModifiers()->getTextClockModifier()->setTextShadow(self, (const Opt_Union_ShadowOptions_Array_ShadowOptions*)&value_value);
26182 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_textShadow,Ark_NativePointer,KSerializerBuffer,int32_t)26183 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
26184 void impl_TextClockAttribute_fontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26185         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26186         Deserializer thisDeserializer(thisArray, thisLength);
26187         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26188         Opt_String value_value_buf = {};
26189         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26190         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26191         {
26192             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
26193         }
26194         Opt_String value_value = value_value_buf;;
26195         GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, (const Opt_String*)&value_value);
26196 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFeature,Ark_NativePointer,KSerializerBuffer,int32_t)26197 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFeature, Ark_NativePointer, KSerializerBuffer, int32_t)
26198 void impl_TextClockAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26199         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26200         Deserializer thisDeserializer(thisArray, thisLength);
26201         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26202         Opt_ContentModifier value_value_buf = {};
26203         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26204         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26205         {
26206             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
26207         }
26208         Opt_ContentModifier value_value = value_value_buf;;
26209         GetNodeModifiers()->getTextClockModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
26210 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)26211 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
26212 void impl_TextClockAttribute_dateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26213         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26214         Deserializer thisDeserializer(thisArray, thisLength);
26215         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26216         Opt_DateTimeOptions value_value_buf = {};
26217         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26218         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26219         {
26220             value_value_buf.value = thisDeserializer.readDateTimeOptions();
26221         }
26222         Opt_DateTimeOptions value_value = value_value_buf;;
26223         GetNodeModifiers()->getTextClockModifier()->setDateTimeOptions(self, (const Opt_DateTimeOptions*)&value_value);
26224 }
KOALA_INTEROP_DIRECT_V3(TextClockAttribute_dateTimeOptions,Ark_NativePointer,KSerializerBuffer,int32_t)26225 KOALA_INTEROP_DIRECT_V3(TextClockAttribute_dateTimeOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
26226 Ark_NativePointer impl_TextInput_construct(Ark_Int32 id, Ark_Int32 flags) {
26227         return GetNodeModifiers()->getTextInputModifier()->construct(id, flags);
26228 }
KOALA_INTEROP_DIRECT_2(TextInput_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)26229 KOALA_INTEROP_DIRECT_2(TextInput_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
26230 void impl_TextInputInterface_setTextInputOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26231         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26232         Deserializer thisDeserializer(thisArray, thisLength);
26233         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26234         Opt_TextInputOptions value_value_buf = {};
26235         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26236         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26237         {
26238             value_value_buf.value = thisDeserializer.readTextInputOptions();
26239         }
26240         Opt_TextInputOptions value_value = value_value_buf;;
26241         GetNodeModifiers()->getTextInputModifier()->setTextInputOptions(self, (const Opt_TextInputOptions*)&value_value);
26242 }
KOALA_INTEROP_DIRECT_V3(TextInputInterface_setTextInputOptions,Ark_NativePointer,KSerializerBuffer,int32_t)26243 KOALA_INTEROP_DIRECT_V3(TextInputInterface_setTextInputOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
26244 void impl_TextInputAttribute_type(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26245         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26246         Deserializer thisDeserializer(thisArray, thisLength);
26247         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26248         Opt_InputType value_value_buf = {};
26249         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26250         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26251         {
26252             value_value_buf.value = static_cast<Ark_InputType>(thisDeserializer.readInt32());
26253         }
26254         Opt_InputType value_value = value_value_buf;;
26255         GetNodeModifiers()->getTextInputModifier()->setType(self, (const Opt_InputType*)&value_value);
26256 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_type,Ark_NativePointer,KSerializerBuffer,int32_t)26257 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_type, Ark_NativePointer, KSerializerBuffer, int32_t)
26258 void impl_TextInputAttribute_contentType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26259         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26260         Deserializer thisDeserializer(thisArray, thisLength);
26261         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26262         Opt_ContentType value_value_buf = {};
26263         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26264         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26265         {
26266             value_value_buf.value = static_cast<Ark_ContentType>(thisDeserializer.readInt32());
26267         }
26268         Opt_ContentType value_value = value_value_buf;;
26269         GetNodeModifiers()->getTextInputModifier()->setContentType(self, (const Opt_ContentType*)&value_value);
26270 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_contentType,Ark_NativePointer,KSerializerBuffer,int32_t)26271 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_contentType, Ark_NativePointer, KSerializerBuffer, int32_t)
26272 void impl_TextInputAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26273         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26274         Deserializer thisDeserializer(thisArray, thisLength);
26275         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26276         Opt_ResourceColor value_value_buf = {};
26277         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26278         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26279         {
26280             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26281             Ark_ResourceColor value_value_buf_ = {};
26282             value_value_buf_.selector = value_value_buf__selector;
26283             if (value_value_buf__selector == 0) {
26284                 value_value_buf_.selector = 0;
26285                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26286             }
26287             else if (value_value_buf__selector == 1) {
26288                 value_value_buf_.selector = 1;
26289                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26290             }
26291             else if (value_value_buf__selector == 2) {
26292                 value_value_buf_.selector = 2;
26293                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26294             }
26295             else if (value_value_buf__selector == 3) {
26296                 value_value_buf_.selector = 3;
26297                 value_value_buf_.value3 = thisDeserializer.readResource();
26298             }
26299             else {
26300                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26301             }
26302             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
26303         }
26304         Opt_ResourceColor value_value = value_value_buf;;
26305         GetNodeModifiers()->getTextInputModifier()->setPlaceholderColor(self, (const Opt_ResourceColor*)&value_value);
26306 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderColor,Ark_NativePointer,KSerializerBuffer,int32_t)26307 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26308 void impl_TextInputAttribute_textOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26309         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26310         Deserializer thisDeserializer(thisArray, thisLength);
26311         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26312         Opt_TextOverflow value_value_buf = {};
26313         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26314         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26315         {
26316             value_value_buf.value = static_cast<Ark_TextOverflow>(thisDeserializer.readInt32());
26317         }
26318         Opt_TextOverflow value_value = value_value_buf;;
26319         GetNodeModifiers()->getTextInputModifier()->setTextOverflow(self, (const Opt_TextOverflow*)&value_value);
26320 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textOverflow,Ark_NativePointer,KSerializerBuffer,int32_t)26321 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textOverflow, Ark_NativePointer, KSerializerBuffer, int32_t)
26322 void impl_TextInputAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26323         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26324         Deserializer thisDeserializer(thisArray, thisLength);
26325         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26326         Opt_Length value_value_buf = {};
26327         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26328         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26329         {
26330             value_value_buf.value = thisDeserializer.readLength();
26331         }
26332         Opt_Length value_value = value_value_buf;;
26333         GetNodeModifiers()->getTextInputModifier()->setTextIndent(self, (const Opt_Length*)&value_value);
26334 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textIndent,Ark_NativePointer,KSerializerBuffer,int32_t)26335 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t)
26336 void impl_TextInputAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26337         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26338         Deserializer thisDeserializer(thisArray, thisLength);
26339         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26340         Opt_Font value_value_buf = {};
26341         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26342         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26343         {
26344             value_value_buf.value = thisDeserializer.readFont();
26345         }
26346         Opt_Font value_value = value_value_buf;;
26347         GetNodeModifiers()->getTextInputModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value);
26348 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderFont,Ark_NativePointer,KSerializerBuffer,int32_t)26349 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t)
26350 void impl_TextInputAttribute_enterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26351         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26352         Deserializer thisDeserializer(thisArray, thisLength);
26353         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26354         Opt_EnterKeyType value_value_buf = {};
26355         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26356         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26357         {
26358             value_value_buf.value = static_cast<Ark_EnterKeyType>(thisDeserializer.readInt32());
26359         }
26360         Opt_EnterKeyType value_value = value_value_buf;;
26361         GetNodeModifiers()->getTextInputModifier()->setEnterKeyType(self, (const Opt_EnterKeyType*)&value_value);
26362 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enterKeyType,Ark_NativePointer,KSerializerBuffer,int32_t)26363 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enterKeyType, Ark_NativePointer, KSerializerBuffer, int32_t)
26364 void impl_TextInputAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26365         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26366         Deserializer thisDeserializer(thisArray, thisLength);
26367         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26368         Opt_ResourceColor value_value_buf = {};
26369         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26370         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26371         {
26372             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26373             Ark_ResourceColor value_value_buf_ = {};
26374             value_value_buf_.selector = value_value_buf__selector;
26375             if (value_value_buf__selector == 0) {
26376                 value_value_buf_.selector = 0;
26377                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26378             }
26379             else if (value_value_buf__selector == 1) {
26380                 value_value_buf_.selector = 1;
26381                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26382             }
26383             else if (value_value_buf__selector == 2) {
26384                 value_value_buf_.selector = 2;
26385                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26386             }
26387             else if (value_value_buf__selector == 3) {
26388                 value_value_buf_.selector = 3;
26389                 value_value_buf_.value3 = thisDeserializer.readResource();
26390             }
26391             else {
26392                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26393             }
26394             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
26395         }
26396         Opt_ResourceColor value_value = value_value_buf;;
26397         GetNodeModifiers()->getTextInputModifier()->setCaretColor(self, (const Opt_ResourceColor*)&value_value);
26398 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretColor,Ark_NativePointer,KSerializerBuffer,int32_t)26399 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26400 void impl_TextInputAttribute_onEditChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26401         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26402         Deserializer thisDeserializer(thisArray, thisLength);
26403         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26404         Opt_Callback_Boolean_Void value_value_buf = {};
26405         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26406         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26407         {
26408             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
26409         }
26410         Opt_Callback_Boolean_Void value_value = value_value_buf;;
26411         GetNodeModifiers()->getTextInputModifier()->setOnEditChanged(self, (const Opt_Callback_Boolean_Void*)&value_value);
26412 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChanged,Ark_NativePointer,KSerializerBuffer,int32_t)26413 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChanged, Ark_NativePointer, KSerializerBuffer, int32_t)
26414 void impl_TextInputAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26415         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26416         Deserializer thisDeserializer(thisArray, thisLength);
26417         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26418         Opt_Callback_Boolean_Void value_value_buf = {};
26419         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26420         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26421         {
26422             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
26423         }
26424         Opt_Callback_Boolean_Void value_value = value_value_buf;;
26425         GetNodeModifiers()->getTextInputModifier()->setOnEditChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
26426 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChange,Ark_NativePointer,KSerializerBuffer,int32_t)26427 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t)
26428 void impl_TextInputAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26429         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26430         Deserializer thisDeserializer(thisArray, thisLength);
26431         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26432         Opt_OnSubmitCallback value_value_buf = {};
26433         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26434         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26435         {
26436             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSubmitCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSubmitCallback))))};
26437         }
26438         Opt_OnSubmitCallback value_value = value_value_buf;;
26439         GetNodeModifiers()->getTextInputModifier()->setOnSubmit(self, (const Opt_OnSubmitCallback*)&value_value);
26440 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSubmit,Ark_NativePointer,KSerializerBuffer,int32_t)26441 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t)
26442 void impl_TextInputAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26443         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26444         Deserializer thisDeserializer(thisArray, thisLength);
26445         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26446         Opt_EditableTextOnChangeCallback value_value_buf = {};
26447         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26448         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26449         {
26450             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};
26451         }
26452         Opt_EditableTextOnChangeCallback value_value = value_value_buf;;
26453         GetNodeModifiers()->getTextInputModifier()->setOnChange(self, (const Opt_EditableTextOnChangeCallback*)&value_value);
26454 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)26455 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
26456 void impl_TextInputAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26457         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26458         Deserializer thisDeserializer(thisArray, thisLength);
26459         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26460         Opt_OnTextSelectionChangeCallback value_value_buf = {};
26461         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26462         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26463         {
26464             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};
26465         }
26466         Opt_OnTextSelectionChangeCallback value_value = value_value_buf;;
26467         GetNodeModifiers()->getTextInputModifier()->setOnTextSelectionChange(self, (const Opt_OnTextSelectionChangeCallback*)&value_value);
26468 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onTextSelectionChange,Ark_NativePointer,KSerializerBuffer,int32_t)26469 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t)
26470 void impl_TextInputAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26471         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26472         Deserializer thisDeserializer(thisArray, thisLength);
26473         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26474         Opt_OnContentScrollCallback value_value_buf = {};
26475         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26476         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26477         {
26478             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};
26479         }
26480         Opt_OnContentScrollCallback value_value = value_value_buf;;
26481         GetNodeModifiers()->getTextInputModifier()->setOnContentScroll(self, (const Opt_OnContentScrollCallback*)&value_value);
26482 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onContentScroll,Ark_NativePointer,KSerializerBuffer,int32_t)26483 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
26484 void impl_TextInputAttribute_maxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26485         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26486         Deserializer thisDeserializer(thisArray, thisLength);
26487         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26488         Opt_Number value_value_buf = {};
26489         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26490         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26491         {
26492             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
26493         }
26494         Opt_Number value_value = value_value_buf;;
26495         GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, (const Opt_Number*)&value_value);
26496 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxLength,Ark_NativePointer,KSerializerBuffer,int32_t)26497 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxLength, Ark_NativePointer, KSerializerBuffer, int32_t)
26498 void impl_TextInputAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26499         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26500         Deserializer thisDeserializer(thisArray, thisLength);
26501         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26502         Opt_ResourceColor value_value_buf = {};
26503         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26504         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26505         {
26506             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26507             Ark_ResourceColor value_value_buf_ = {};
26508             value_value_buf_.selector = value_value_buf__selector;
26509             if (value_value_buf__selector == 0) {
26510                 value_value_buf_.selector = 0;
26511                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26512             }
26513             else if (value_value_buf__selector == 1) {
26514                 value_value_buf_.selector = 1;
26515                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26516             }
26517             else if (value_value_buf__selector == 2) {
26518                 value_value_buf_.selector = 2;
26519                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26520             }
26521             else if (value_value_buf__selector == 3) {
26522                 value_value_buf_.selector = 3;
26523                 value_value_buf_.value3 = thisDeserializer.readResource();
26524             }
26525             else {
26526                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26527             }
26528             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
26529         }
26530         Opt_ResourceColor value_value = value_value_buf;;
26531         GetNodeModifiers()->getTextInputModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
26532 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)26533 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26534 void impl_TextInputAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26535         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26536         Deserializer thisDeserializer(thisArray, thisLength);
26537         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26538         Opt_Length value_value_buf = {};
26539         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26540         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26541         {
26542             value_value_buf.value = thisDeserializer.readLength();
26543         }
26544         Opt_Length value_value = value_value_buf;;
26545         GetNodeModifiers()->getTextInputModifier()->setFontSize(self, (const Opt_Length*)&value_value);
26546 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)26547 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
26548 void impl_TextInputAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26549         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26550         Deserializer thisDeserializer(thisArray, thisLength);
26551         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26552         Opt_FontStyle value_value_buf = {};
26553         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26554         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26555         {
26556             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
26557         }
26558         Opt_FontStyle value_value = value_value_buf;;
26559         GetNodeModifiers()->getTextInputModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
26560 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)26561 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
26562 void impl_TextInputAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26563         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26564         Deserializer thisDeserializer(thisArray, thisLength);
26565         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26566         Opt_Union_Number_FontWeight_String value_value_buf = {};
26567         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26568         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26569         {
26570             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26571             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
26572             value_value_buf_.selector = value_value_buf__selector;
26573             if (value_value_buf__selector == 0) {
26574                 value_value_buf_.selector = 0;
26575                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26576             }
26577             else if (value_value_buf__selector == 1) {
26578                 value_value_buf_.selector = 1;
26579                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
26580             }
26581             else if (value_value_buf__selector == 2) {
26582                 value_value_buf_.selector = 2;
26583                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26584             }
26585             else {
26586                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26587             }
26588             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
26589         }
26590         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
26591         GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
26592 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)26593 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
26594 void impl_TextInputAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26595         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26596         Deserializer thisDeserializer(thisArray, thisLength);
26597         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26598         Opt_ResourceStr value_value_buf = {};
26599         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26600         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26601         {
26602             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26603             Ark_ResourceStr value_value_buf_ = {};
26604             value_value_buf_.selector = value_value_buf__selector;
26605             if (value_value_buf__selector == 0) {
26606                 value_value_buf_.selector = 0;
26607                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
26608             }
26609             else if (value_value_buf__selector == 1) {
26610                 value_value_buf_.selector = 1;
26611                 value_value_buf_.value1 = thisDeserializer.readResource();
26612             }
26613             else {
26614                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26615             }
26616             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
26617         }
26618         Opt_ResourceStr value_value = value_value_buf;;
26619         GetNodeModifiers()->getTextInputModifier()->setFontFamily(self, (const Opt_ResourceStr*)&value_value);
26620 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)26621 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
26622 void impl_TextInputAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26623         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26624         Deserializer thisDeserializer(thisArray, thisLength);
26625         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26626         Opt_Callback_String_Void value_value_buf = {};
26627         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26628         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26629         {
26630             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
26631         }
26632         Opt_Callback_String_Void value_value = value_value_buf;;
26633         GetNodeModifiers()->getTextInputModifier()->setOnCopy(self, (const Opt_Callback_String_Void*)&value_value);
26634 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCopy,Ark_NativePointer,KSerializerBuffer,int32_t)26635 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t)
26636 void impl_TextInputAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26637         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26638         Deserializer thisDeserializer(thisArray, thisLength);
26639         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26640         Opt_Callback_String_Void value_value_buf = {};
26641         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26642         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26643         {
26644             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
26645         }
26646         Opt_Callback_String_Void value_value = value_value_buf;;
26647         GetNodeModifiers()->getTextInputModifier()->setOnCut(self, (const Opt_Callback_String_Void*)&value_value);
26648 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCut,Ark_NativePointer,KSerializerBuffer,int32_t)26649 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t)
26650 void impl_TextInputAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26651         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26652         Deserializer thisDeserializer(thisArray, thisLength);
26653         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26654         Opt_OnPasteCallback value_value_buf = {};
26655         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26656         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26657         {
26658             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};
26659         }
26660         Opt_OnPasteCallback value_value = value_value_buf;;
26661         GetNodeModifiers()->getTextInputModifier()->setOnPaste(self, (const Opt_OnPasteCallback*)&value_value);
26662 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onPaste,Ark_NativePointer,KSerializerBuffer,int32_t)26663 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t)
26664 void impl_TextInputAttribute_copyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26665         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26666         Deserializer thisDeserializer(thisArray, thisLength);
26667         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26668         Opt_CopyOptions value_value_buf = {};
26669         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26670         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26671         {
26672             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
26673         }
26674         Opt_CopyOptions value_value = value_value_buf;;
26675         GetNodeModifiers()->getTextInputModifier()->setCopyOption(self, (const Opt_CopyOptions*)&value_value);
26676 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_copyOption,Ark_NativePointer,KSerializerBuffer,int32_t)26677 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_copyOption, Ark_NativePointer, KSerializerBuffer, int32_t)
26678 void impl_TextInputAttribute_showPasswordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26679         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26680         Deserializer thisDeserializer(thisArray, thisLength);
26681         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26682         Opt_Boolean value_value_buf = {};
26683         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26684         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26685         {
26686             value_value_buf.value = thisDeserializer.readBoolean();
26687         }
26688         Opt_Boolean value_value = value_value_buf;;
26689         GetNodeModifiers()->getTextInputModifier()->setShowPasswordIcon(self, (const Opt_Boolean*)&value_value);
26690 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showPasswordIcon,Ark_NativePointer,KSerializerBuffer,int32_t)26691 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showPasswordIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
26692 void impl_TextInputAttribute_textAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26693         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26694         Deserializer thisDeserializer(thisArray, thisLength);
26695         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26696         Opt_TextAlign value_value_buf = {};
26697         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26698         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26699         {
26700             value_value_buf.value = static_cast<Ark_TextAlign>(thisDeserializer.readInt32());
26701         }
26702         Opt_TextAlign value_value = value_value_buf;;
26703         GetNodeModifiers()->getTextInputModifier()->setTextAlign(self, (const Opt_TextAlign*)&value_value);
26704 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textAlign,Ark_NativePointer,KSerializerBuffer,int32_t)26705 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textAlign, Ark_NativePointer, KSerializerBuffer, int32_t)
26706 void impl_TextInputAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26707         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26708         Deserializer thisDeserializer(thisArray, thisLength);
26709         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26710         Opt_Union_TextInputStyle_TextContentStyle value_value_buf = {};
26711         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26712         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26713         {
26714             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26715             Ark_Union_TextInputStyle_TextContentStyle value_value_buf_ = {};
26716             value_value_buf_.selector = value_value_buf__selector;
26717             if (value_value_buf__selector == 0) {
26718                 value_value_buf_.selector = 0;
26719                 value_value_buf_.value0 = static_cast<Ark_TextInputStyle>(thisDeserializer.readInt32());
26720             }
26721             else if (value_value_buf__selector == 1) {
26722                 value_value_buf_.selector = 1;
26723                 value_value_buf_.value1 = static_cast<Ark_TextContentStyle>(thisDeserializer.readInt32());
26724             }
26725             else {
26726                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26727             }
26728             value_value_buf.value = static_cast<Ark_Union_TextInputStyle_TextContentStyle>(value_value_buf_);
26729         }
26730         Opt_Union_TextInputStyle_TextContentStyle value_value = value_value_buf;;
26731         GetNodeModifiers()->getTextInputModifier()->setStyle(self, (const Opt_Union_TextInputStyle_TextContentStyle*)&value_value);
26732 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_style,Ark_NativePointer,KSerializerBuffer,int32_t)26733 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t)
26734 void impl_TextInputAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26735         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26736         Deserializer thisDeserializer(thisArray, thisLength);
26737         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26738         Opt_CaretStyle value_value_buf = {};
26739         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26740         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26741         {
26742             value_value_buf.value = thisDeserializer.readCaretStyle();
26743         }
26744         Opt_CaretStyle value_value = value_value_buf;;
26745         GetNodeModifiers()->getTextInputModifier()->setCaretStyle(self, (const Opt_CaretStyle*)&value_value);
26746 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretStyle,Ark_NativePointer,KSerializerBuffer,int32_t)26747 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
26748 void impl_TextInputAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26749         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26750         Deserializer thisDeserializer(thisArray, thisLength);
26751         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26752         Opt_ResourceColor value_value_buf = {};
26753         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26754         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26755         {
26756             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26757             Ark_ResourceColor value_value_buf_ = {};
26758             value_value_buf_.selector = value_value_buf__selector;
26759             if (value_value_buf__selector == 0) {
26760                 value_value_buf_.selector = 0;
26761                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26762             }
26763             else if (value_value_buf__selector == 1) {
26764                 value_value_buf_.selector = 1;
26765                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26766             }
26767             else if (value_value_buf__selector == 2) {
26768                 value_value_buf_.selector = 2;
26769                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26770             }
26771             else if (value_value_buf__selector == 3) {
26772                 value_value_buf_.selector = 3;
26773                 value_value_buf_.value3 = thisDeserializer.readResource();
26774             }
26775             else {
26776                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26777             }
26778             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
26779         }
26780         Opt_ResourceColor value_value = value_value_buf;;
26781         GetNodeModifiers()->getTextInputModifier()->setSelectedBackgroundColor(self, (const Opt_ResourceColor*)&value_value);
26782 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectedBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)26783 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26784 void impl_TextInputAttribute_caretPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26785         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26786         Deserializer thisDeserializer(thisArray, thisLength);
26787         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26788         Opt_Number value_value_buf = {};
26789         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26790         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26791         {
26792             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
26793         }
26794         Opt_Number value_value = value_value_buf;;
26795         GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, (const Opt_Number*)&value_value);
26796 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretPosition,Ark_NativePointer,KSerializerBuffer,int32_t)26797 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
26798 void impl_TextInputAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26799         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26800         Deserializer thisDeserializer(thisArray, thisLength);
26801         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26802         Opt_Boolean value_value_buf = {};
26803         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26804         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26805         {
26806             value_value_buf.value = thisDeserializer.readBoolean();
26807         }
26808         Opt_Boolean value_value = value_value_buf;;
26809         GetNodeModifiers()->getTextInputModifier()->setEnableKeyboardOnFocus(self, (const Opt_Boolean*)&value_value);
26810 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableKeyboardOnFocus,Ark_NativePointer,KSerializerBuffer,int32_t)26811 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
26812 void impl_TextInputAttribute_passwordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26813         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26814         Deserializer thisDeserializer(thisArray, thisLength);
26815         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26816         Opt_PasswordIcon value_value_buf = {};
26817         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26818         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26819         {
26820             value_value_buf.value = thisDeserializer.readPasswordIcon();
26821         }
26822         Opt_PasswordIcon value_value = value_value_buf;;
26823         GetNodeModifiers()->getTextInputModifier()->setPasswordIcon(self, (const Opt_PasswordIcon*)&value_value);
26824 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordIcon,Ark_NativePointer,KSerializerBuffer,int32_t)26825 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
26826 void impl_TextInputAttribute_showError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26827         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26828         Deserializer thisDeserializer(thisArray, thisLength);
26829         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26830         Opt_ResourceStr value_value_buf = {};
26831         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26832         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26833         {
26834             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26835             Ark_ResourceStr value_value_buf_ = {};
26836             value_value_buf_.selector = value_value_buf__selector;
26837             if (value_value_buf__selector == 0) {
26838                 value_value_buf_.selector = 0;
26839                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
26840             }
26841             else if (value_value_buf__selector == 1) {
26842                 value_value_buf_.selector = 1;
26843                 value_value_buf_.value1 = thisDeserializer.readResource();
26844             }
26845             else {
26846                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26847             }
26848             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
26849         }
26850         Opt_ResourceStr value_value = value_value_buf;;
26851         GetNodeModifiers()->getTextInputModifier()->setShowError(self, (const Opt_ResourceStr*)&value_value);
26852 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showError,Ark_NativePointer,KSerializerBuffer,int32_t)26853 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showError, Ark_NativePointer, KSerializerBuffer, int32_t)
26854 void impl_TextInputAttribute_showUnit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26855         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26856         Deserializer thisDeserializer(thisArray, thisLength);
26857         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26858         Opt_CustomNodeBuilder value_value_buf = {};
26859         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26860         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26861         {
26862             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
26863         }
26864         Opt_CustomNodeBuilder value_value = value_value_buf;;
26865         GetNodeModifiers()->getTextInputModifier()->setShowUnit(self, (const Opt_CustomNodeBuilder*)&value_value);
26866 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnit,Ark_NativePointer,KSerializerBuffer,int32_t)26867 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnit, Ark_NativePointer, KSerializerBuffer, int32_t)
26868 void impl_TextInputAttribute_showUnderline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26869         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26870         Deserializer thisDeserializer(thisArray, thisLength);
26871         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26872         Opt_Boolean value_value_buf = {};
26873         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26874         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26875         {
26876             value_value_buf.value = thisDeserializer.readBoolean();
26877         }
26878         Opt_Boolean value_value = value_value_buf;;
26879         GetNodeModifiers()->getTextInputModifier()->setShowUnderline(self, (const Opt_Boolean*)&value_value);
26880 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnderline,Ark_NativePointer,KSerializerBuffer,int32_t)26881 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnderline, Ark_NativePointer, KSerializerBuffer, int32_t)
26882 void impl_TextInputAttribute_underlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26883         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26884         Deserializer thisDeserializer(thisArray, thisLength);
26885         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26886         Opt_Union_ResourceColor_UnderlineColor value_value_buf = {};
26887         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26888         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26889         {
26890             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
26891             Ark_Union_ResourceColor_UnderlineColor value_value_buf_ = {};
26892             value_value_buf_.selector = value_value_buf__selector;
26893             if (value_value_buf__selector == 0) {
26894                 value_value_buf_.selector = 0;
26895                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
26896                 Ark_ResourceColor value_value_buf__u = {};
26897                 value_value_buf__u.selector = value_value_buf__u_selector;
26898                 if (value_value_buf__u_selector == 0) {
26899                     value_value_buf__u.selector = 0;
26900                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
26901                 }
26902                 else if (value_value_buf__u_selector == 1) {
26903                     value_value_buf__u.selector = 1;
26904                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
26905                 }
26906                 else if (value_value_buf__u_selector == 2) {
26907                     value_value_buf__u.selector = 2;
26908                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
26909                 }
26910                 else if (value_value_buf__u_selector == 3) {
26911                     value_value_buf__u.selector = 3;
26912                     value_value_buf__u.value3 = thisDeserializer.readResource();
26913                 }
26914                 else {
26915                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
26916                 }
26917                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
26918             }
26919             else if (value_value_buf__selector == 1) {
26920                 value_value_buf_.selector = 1;
26921                 value_value_buf_.value1 = thisDeserializer.readUnderlineColor();
26922             }
26923             else {
26924                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
26925             }
26926             value_value_buf.value = static_cast<Ark_Union_ResourceColor_UnderlineColor>(value_value_buf_);
26927         }
26928         Opt_Union_ResourceColor_UnderlineColor value_value = value_value_buf;;
26929         GetNodeModifiers()->getTextInputModifier()->setUnderlineColor(self, (const Opt_Union_ResourceColor_UnderlineColor*)&value_value);
26930 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_underlineColor,Ark_NativePointer,KSerializerBuffer,int32_t)26931 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_underlineColor, Ark_NativePointer, KSerializerBuffer, int32_t)
26932 void impl_TextInputAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26933         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26934         Deserializer thisDeserializer(thisArray, thisLength);
26935         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26936         Opt_Boolean value_value_buf = {};
26937         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26938         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26939         {
26940             value_value_buf.value = thisDeserializer.readBoolean();
26941         }
26942         Opt_Boolean value_value = value_value_buf;;
26943         GetNodeModifiers()->getTextInputModifier()->setSelectionMenuHidden(self, (const Opt_Boolean*)&value_value);
26944 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectionMenuHidden,Ark_NativePointer,KSerializerBuffer,int32_t)26945 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectionMenuHidden, Ark_NativePointer, KSerializerBuffer, int32_t)
26946 void impl_TextInputAttribute_barState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26947         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26948         Deserializer thisDeserializer(thisArray, thisLength);
26949         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26950         Opt_BarState value_value_buf = {};
26951         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26952         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26953         {
26954             value_value_buf.value = static_cast<Ark_BarState>(thisDeserializer.readInt32());
26955         }
26956         Opt_BarState value_value = value_value_buf;;
26957         GetNodeModifiers()->getTextInputModifier()->setBarState(self, (const Opt_BarState*)&value_value);
26958 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_barState,Ark_NativePointer,KSerializerBuffer,int32_t)26959 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_barState, Ark_NativePointer, KSerializerBuffer, int32_t)
26960 void impl_TextInputAttribute_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26961         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26962         Deserializer thisDeserializer(thisArray, thisLength);
26963         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26964         Opt_Number value_value_buf = {};
26965         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26966         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26967         {
26968             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
26969         }
26970         Opt_Number value_value = value_value_buf;;
26971         GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, (const Opt_Number*)&value_value);
26972 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxLines,Ark_NativePointer,KSerializerBuffer,int32_t)26973 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t)
26974 void impl_TextInputAttribute_wordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26975         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26976         Deserializer thisDeserializer(thisArray, thisLength);
26977         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26978         Opt_WordBreak value_value_buf = {};
26979         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26980         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26981         {
26982             value_value_buf.value = static_cast<Ark_WordBreak>(thisDeserializer.readInt32());
26983         }
26984         Opt_WordBreak value_value = value_value_buf;;
26985         GetNodeModifiers()->getTextInputModifier()->setWordBreak(self, (const Opt_WordBreak*)&value_value);
26986 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_wordBreak,Ark_NativePointer,KSerializerBuffer,int32_t)26987 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_wordBreak, Ark_NativePointer, KSerializerBuffer, int32_t)
26988 void impl_TextInputAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
26989         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
26990         Deserializer thisDeserializer(thisArray, thisLength);
26991         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
26992         Opt_LineBreakStrategy value_value_buf = {};
26993         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
26994         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
26995         {
26996             value_value_buf.value = static_cast<Ark_LineBreakStrategy>(thisDeserializer.readInt32());
26997         }
26998         Opt_LineBreakStrategy value_value = value_value_buf;;
26999         GetNodeModifiers()->getTextInputModifier()->setLineBreakStrategy(self, (const Opt_LineBreakStrategy*)&value_value);
27000 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineBreakStrategy,Ark_NativePointer,KSerializerBuffer,int32_t)27001 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineBreakStrategy, Ark_NativePointer, KSerializerBuffer, int32_t)
27002 void impl_TextInputAttribute_cancelButton0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27003         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27004         Deserializer thisDeserializer(thisArray, thisLength);
27005         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27006         Opt_CancelButtonOptions value_value_buf = {};
27007         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27008         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27009         {
27010             value_value_buf.value = thisDeserializer.readCancelButtonOptions();
27011         }
27012         Opt_CancelButtonOptions value_value = value_value_buf;;
27013         GetNodeModifiers()->getTextInputModifier()->setCancelButton0(self, (const Opt_CancelButtonOptions*)&value_value);
27014 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton0,Ark_NativePointer,KSerializerBuffer,int32_t)27015 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton0, Ark_NativePointer, KSerializerBuffer, int32_t)
27016 void impl_TextInputAttribute_cancelButton1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27017         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27018         Deserializer thisDeserializer(thisArray, thisLength);
27019         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27020         Opt_CancelButtonSymbolOptions value_value_buf = {};
27021         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27022         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27023         {
27024             value_value_buf.value = thisDeserializer.readCancelButtonSymbolOptions();
27025         }
27026         Opt_CancelButtonSymbolOptions value_value = value_value_buf;;
27027         GetNodeModifiers()->getTextInputModifier()->setCancelButton1(self, (const Opt_CancelButtonSymbolOptions*)&value_value);
27028 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton1,Ark_NativePointer,KSerializerBuffer,int32_t)27029 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton1, Ark_NativePointer, KSerializerBuffer, int32_t)
27030 void impl_TextInputAttribute_selectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27031         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27032         Deserializer thisDeserializer(thisArray, thisLength);
27033         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27034         Opt_Boolean value_value_buf = {};
27035         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27036         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27037         {
27038             value_value_buf.value = thisDeserializer.readBoolean();
27039         }
27040         Opt_Boolean value_value = value_value_buf;;
27041         GetNodeModifiers()->getTextInputModifier()->setSelectAll(self, (const Opt_Boolean*)&value_value);
27042 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectAll,Ark_NativePointer,KSerializerBuffer,int32_t)27043 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectAll, Ark_NativePointer, KSerializerBuffer, int32_t)
27044 void impl_TextInputAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27045         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27046         Deserializer thisDeserializer(thisArray, thisLength);
27047         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27048         Opt_Union_Number_String_Resource value_value_buf = {};
27049         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27050         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27051         {
27052             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27053             Ark_Union_Number_String_Resource value_value_buf_ = {};
27054             value_value_buf_.selector = value_value_buf__selector;
27055             if (value_value_buf__selector == 0) {
27056                 value_value_buf_.selector = 0;
27057                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27058             }
27059             else if (value_value_buf__selector == 1) {
27060                 value_value_buf_.selector = 1;
27061                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27062             }
27063             else if (value_value_buf__selector == 2) {
27064                 value_value_buf_.selector = 2;
27065                 value_value_buf_.value2 = thisDeserializer.readResource();
27066             }
27067             else {
27068                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27069             }
27070             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
27071         }
27072         Opt_Union_Number_String_Resource value_value = value_value_buf;;
27073         GetNodeModifiers()->getTextInputModifier()->setMinFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
27074 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)27075 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
27076 void impl_TextInputAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27077         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27078         Deserializer thisDeserializer(thisArray, thisLength);
27079         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27080         Opt_Union_Number_String_Resource value_value_buf = {};
27081         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27082         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27083         {
27084             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27085             Ark_Union_Number_String_Resource value_value_buf_ = {};
27086             value_value_buf_.selector = value_value_buf__selector;
27087             if (value_value_buf__selector == 0) {
27088                 value_value_buf_.selector = 0;
27089                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27090             }
27091             else if (value_value_buf__selector == 1) {
27092                 value_value_buf_.selector = 1;
27093                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27094             }
27095             else if (value_value_buf__selector == 2) {
27096                 value_value_buf_.selector = 2;
27097                 value_value_buf_.value2 = thisDeserializer.readResource();
27098             }
27099             else {
27100                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27101             }
27102             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
27103         }
27104         Opt_Union_Number_String_Resource value_value = value_value_buf;;
27105         GetNodeModifiers()->getTextInputModifier()->setMaxFontSize(self, (const Opt_Union_Number_String_Resource*)&value_value);
27106 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)27107 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
27108 void impl_TextInputAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27109         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27110         Deserializer thisDeserializer(thisArray, thisLength);
27111         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27112         Opt_Union_Number_Resource value_value_buf = {};
27113         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27114         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27115         {
27116             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27117             Ark_Union_Number_Resource value_value_buf_ = {};
27118             value_value_buf_.selector = value_value_buf__selector;
27119             if (value_value_buf__selector == 0) {
27120                 value_value_buf_.selector = 0;
27121                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27122             }
27123             else if (value_value_buf__selector == 1) {
27124                 value_value_buf_.selector = 1;
27125                 value_value_buf_.value1 = thisDeserializer.readResource();
27126             }
27127             else {
27128                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27129             }
27130             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
27131         }
27132         Opt_Union_Number_Resource value_value = value_value_buf;;
27133         GetNodeModifiers()->getTextInputModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
27134 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)27135 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
27136 void impl_TextInputAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27137         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27138         Deserializer thisDeserializer(thisArray, thisLength);
27139         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27140         Opt_Union_Number_Resource value_value_buf = {};
27141         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27142         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27143         {
27144             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27145             Ark_Union_Number_Resource value_value_buf_ = {};
27146             value_value_buf_.selector = value_value_buf__selector;
27147             if (value_value_buf__selector == 0) {
27148                 value_value_buf_.selector = 0;
27149                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27150             }
27151             else if (value_value_buf__selector == 1) {
27152                 value_value_buf_.selector = 1;
27153                 value_value_buf_.value1 = thisDeserializer.readResource();
27154             }
27155             else {
27156                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27157             }
27158             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
27159         }
27160         Opt_Union_Number_Resource value_value = value_value_buf;;
27161         GetNodeModifiers()->getTextInputModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value);
27162 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontScale,Ark_NativePointer,KSerializerBuffer,int32_t)27163 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t)
27164 void impl_TextInputAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27165         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27166         Deserializer thisDeserializer(thisArray, thisLength);
27167         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27168         Opt_TextHeightAdaptivePolicy value_value_buf = {};
27169         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27170         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27171         {
27172             value_value_buf.value = static_cast<Ark_TextHeightAdaptivePolicy>(thisDeserializer.readInt32());
27173         }
27174         Opt_TextHeightAdaptivePolicy value_value = value_value_buf;;
27175         GetNodeModifiers()->getTextInputModifier()->setHeightAdaptivePolicy(self, (const Opt_TextHeightAdaptivePolicy*)&value_value);
27176 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_heightAdaptivePolicy,Ark_NativePointer,KSerializerBuffer,int32_t)27177 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_heightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, int32_t)
27178 void impl_TextInputAttribute_enableAutoFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27179         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27180         Deserializer thisDeserializer(thisArray, thisLength);
27181         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27182         Opt_Boolean value_value_buf = {};
27183         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27184         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27185         {
27186             value_value_buf.value = thisDeserializer.readBoolean();
27187         }
27188         Opt_Boolean value_value = value_value_buf;;
27189         GetNodeModifiers()->getTextInputModifier()->setEnableAutoFill(self, (const Opt_Boolean*)&value_value);
27190 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableAutoFill,Ark_NativePointer,KSerializerBuffer,int32_t)27191 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableAutoFill, Ark_NativePointer, KSerializerBuffer, int32_t)
27192 void impl_TextInputAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27193         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27194         Deserializer thisDeserializer(thisArray, thisLength);
27195         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27196         Opt_TextDecorationOptions value_value_buf = {};
27197         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27198         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27199         {
27200             value_value_buf.value = thisDeserializer.readTextDecorationOptions();
27201         }
27202         Opt_TextDecorationOptions value_value = value_value_buf;;
27203         GetNodeModifiers()->getTextInputModifier()->setDecoration(self, (const Opt_TextDecorationOptions*)&value_value);
27204 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_decoration,Ark_NativePointer,KSerializerBuffer,int32_t)27205 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t)
27206 void impl_TextInputAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27207         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27208         Deserializer thisDeserializer(thisArray, thisLength);
27209         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27210         Opt_Union_Number_String_Resource value_value_buf = {};
27211         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27212         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27213         {
27214             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27215             Ark_Union_Number_String_Resource value_value_buf_ = {};
27216             value_value_buf_.selector = value_value_buf__selector;
27217             if (value_value_buf__selector == 0) {
27218                 value_value_buf_.selector = 0;
27219                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27220             }
27221             else if (value_value_buf__selector == 1) {
27222                 value_value_buf_.selector = 1;
27223                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27224             }
27225             else if (value_value_buf__selector == 2) {
27226                 value_value_buf_.selector = 2;
27227                 value_value_buf_.value2 = thisDeserializer.readResource();
27228             }
27229             else {
27230                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27231             }
27232             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
27233         }
27234         Opt_Union_Number_String_Resource value_value = value_value_buf;;
27235         GetNodeModifiers()->getTextInputModifier()->setLetterSpacing(self, (const Opt_Union_Number_String_Resource*)&value_value);
27236 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_letterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)27237 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
27238 void impl_TextInputAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27239         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27240         Deserializer thisDeserializer(thisArray, thisLength);
27241         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27242         Opt_Union_Number_String_Resource value_value_buf = {};
27243         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27244         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27245         {
27246             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27247             Ark_Union_Number_String_Resource value_value_buf_ = {};
27248             value_value_buf_.selector = value_value_buf__selector;
27249             if (value_value_buf__selector == 0) {
27250                 value_value_buf_.selector = 0;
27251                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27252             }
27253             else if (value_value_buf__selector == 1) {
27254                 value_value_buf_.selector = 1;
27255                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27256             }
27257             else if (value_value_buf__selector == 2) {
27258                 value_value_buf_.selector = 2;
27259                 value_value_buf_.value2 = thisDeserializer.readResource();
27260             }
27261             else {
27262                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27263             }
27264             value_value_buf.value = static_cast<Ark_Union_Number_String_Resource>(value_value_buf_);
27265         }
27266         Opt_Union_Number_String_Resource value_value = value_value_buf;;
27267         GetNodeModifiers()->getTextInputModifier()->setLineHeight(self, (const Opt_Union_Number_String_Resource*)&value_value);
27268 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineHeight,Ark_NativePointer,KSerializerBuffer,int32_t)27269 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t)
27270 void impl_TextInputAttribute_passwordRules(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27271         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27272         Deserializer thisDeserializer(thisArray, thisLength);
27273         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27274         Opt_String value_value_buf = {};
27275         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27276         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27277         {
27278             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
27279         }
27280         Opt_String value_value = value_value_buf;;
27281         GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, (const Opt_String*)&value_value);
27282 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordRules,Ark_NativePointer,KSerializerBuffer,int32_t)27283 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordRules, Ark_NativePointer, KSerializerBuffer, int32_t)
27284 void impl_TextInputAttribute_fontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27285         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27286         Deserializer thisDeserializer(thisArray, thisLength);
27287         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27288         Opt_String value_value_buf = {};
27289         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27290         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27291         {
27292             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
27293         }
27294         Opt_String value_value = value_value_buf;;
27295         GetNodeModifiers()->getTextInputModifier()->setFontFeature(self, (const Opt_String*)&value_value);
27296 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFeature,Ark_NativePointer,KSerializerBuffer,int32_t)27297 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFeature, Ark_NativePointer, KSerializerBuffer, int32_t)
27298 void impl_TextInputAttribute_showPassword(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27299         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27300         Deserializer thisDeserializer(thisArray, thisLength);
27301         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27302         Opt_Boolean value_value_buf = {};
27303         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27304         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27305         {
27306             value_value_buf.value = thisDeserializer.readBoolean();
27307         }
27308         Opt_Boolean value_value = value_value_buf;;
27309         GetNodeModifiers()->getTextInputModifier()->setShowPassword(self, (const Opt_Boolean*)&value_value);
27310 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showPassword,Ark_NativePointer,KSerializerBuffer,int32_t)27311 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showPassword, Ark_NativePointer, KSerializerBuffer, int32_t)
27312 void impl_TextInputAttribute_onSecurityStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27313         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27314         Deserializer thisDeserializer(thisArray, thisLength);
27315         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27316         Opt_Callback_Boolean_Void value_value_buf = {};
27317         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27318         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27319         {
27320             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
27321         }
27322         Opt_Callback_Boolean_Void value_value = value_value_buf;;
27323         GetNodeModifiers()->getTextInputModifier()->setOnSecurityStateChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
27324 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSecurityStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)27325 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSecurityStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
27326 void impl_TextInputAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27327         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27328         Deserializer thisDeserializer(thisArray, thisLength);
27329         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27330         Opt_Callback_InsertValue_Boolean value_value_buf = {};
27331         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27332         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27333         {
27334             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};
27335         }
27336         Opt_Callback_InsertValue_Boolean value_value = value_value_buf;;
27337         GetNodeModifiers()->getTextInputModifier()->setOnWillInsert(self, (const Opt_Callback_InsertValue_Boolean*)&value_value);
27338 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillInsert,Ark_NativePointer,KSerializerBuffer,int32_t)27339 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
27340 void impl_TextInputAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27341         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27342         Deserializer thisDeserializer(thisArray, thisLength);
27343         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27344         Opt_Callback_InsertValue_Void value_value_buf = {};
27345         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27346         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27347         {
27348             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_InsertValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};
27349         }
27350         Opt_Callback_InsertValue_Void value_value = value_value_buf;;
27351         GetNodeModifiers()->getTextInputModifier()->setOnDidInsert(self, (const Opt_Callback_InsertValue_Void*)&value_value);
27352 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidInsert,Ark_NativePointer,KSerializerBuffer,int32_t)27353 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t)
27354 void impl_TextInputAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27355         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27356         Deserializer thisDeserializer(thisArray, thisLength);
27357         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27358         Opt_Callback_DeleteValue_Boolean value_value_buf = {};
27359         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27360         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27361         {
27362             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};
27363         }
27364         Opt_Callback_DeleteValue_Boolean value_value = value_value_buf;;
27365         GetNodeModifiers()->getTextInputModifier()->setOnWillDelete(self, (const Opt_Callback_DeleteValue_Boolean*)&value_value);
27366 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillDelete,Ark_NativePointer,KSerializerBuffer,int32_t)27367 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
27368 void impl_TextInputAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27369         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27370         Deserializer thisDeserializer(thisArray, thisLength);
27371         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27372         Opt_Callback_DeleteValue_Void value_value_buf = {};
27373         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27374         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27375         {
27376             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DeleteValue parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};
27377         }
27378         Opt_Callback_DeleteValue_Void value_value = value_value_buf;;
27379         GetNodeModifiers()->getTextInputModifier()->setOnDidDelete(self, (const Opt_Callback_DeleteValue_Void*)&value_value);
27380 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidDelete,Ark_NativePointer,KSerializerBuffer,int32_t)27381 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t)
27382 void impl_TextInputAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27383         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27384         Deserializer thisDeserializer(thisArray, thisLength);
27385         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27386         Opt_EditMenuOptions value_value_buf = {};
27387         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27388         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27389         {
27390             value_value_buf.value = thisDeserializer.readEditMenuOptions();
27391         }
27392         Opt_EditMenuOptions value_value = value_value_buf;;
27393         GetNodeModifiers()->getTextInputModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
27394 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)27395 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
27396 void impl_TextInputAttribute_enablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27397         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27398         Deserializer thisDeserializer(thisArray, thisLength);
27399         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27400         Opt_Boolean value_value_buf = {};
27401         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27402         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27403         {
27404             value_value_buf.value = thisDeserializer.readBoolean();
27405         }
27406         Opt_Boolean value_value = value_value_buf;;
27407         GetNodeModifiers()->getTextInputModifier()->setEnablePreviewText(self, (const Opt_Boolean*)&value_value);
27408 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enablePreviewText,Ark_NativePointer,KSerializerBuffer,int32_t)27409 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enablePreviewText, Ark_NativePointer, KSerializerBuffer, int32_t)
27410 void impl_TextInputAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27411         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27412         Deserializer thisDeserializer(thisArray, thisLength);
27413         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27414         Opt_Boolean value_value_buf = {};
27415         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27416         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27417         {
27418             value_value_buf.value = thisDeserializer.readBoolean();
27419         }
27420         Opt_Boolean value_value = value_value_buf;;
27421         GetNodeModifiers()->getTextInputModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
27422 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)27423 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
27424 void impl_TextInputAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27425         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27426         Deserializer thisDeserializer(thisArray, thisLength);
27427         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27428         Opt_AutoCapitalizationMode value_value_buf = {};
27429         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27430         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27431         {
27432             value_value_buf.value = static_cast<Ark_AutoCapitalizationMode>(thisDeserializer.readInt32());
27433         }
27434         Opt_AutoCapitalizationMode value_value = value_value_buf;;
27435         GetNodeModifiers()->getTextInputModifier()->setAutoCapitalizationMode(self, (const Opt_AutoCapitalizationMode*)&value_value);
27436 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_autoCapitalizationMode,Ark_NativePointer,KSerializerBuffer,int32_t)27437 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_autoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, int32_t)
27438 void impl_TextInputAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27439         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27440         Deserializer thisDeserializer(thisArray, thisLength);
27441         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27442         Opt_Boolean value_value_buf = {};
27443         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27444         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27445         {
27446             value_value_buf.value = thisDeserializer.readBoolean();
27447         }
27448         Opt_Boolean value_value = value_value_buf;;
27449         GetNodeModifiers()->getTextInputModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value);
27450 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_halfLeading,Ark_NativePointer,KSerializerBuffer,int32_t)27451 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t)
27452 void impl_TextInputAttribute_ellipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27453         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27454         Deserializer thisDeserializer(thisArray, thisLength);
27455         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27456         Opt_EllipsisMode value_value_buf = {};
27457         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27458         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27459         {
27460             value_value_buf.value = static_cast<Ark_EllipsisMode>(thisDeserializer.readInt32());
27461         }
27462         Opt_EllipsisMode value_value = value_value_buf;;
27463         GetNodeModifiers()->getTextInputModifier()->setEllipsisMode(self, (const Opt_EllipsisMode*)&value_value);
27464 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_ellipsisMode,Ark_NativePointer,KSerializerBuffer,int32_t)27465 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_ellipsisMode, Ark_NativePointer, KSerializerBuffer, int32_t)
27466 void impl_TextInputAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27467         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27468         Deserializer thisDeserializer(thisArray, thisLength);
27469         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27470         Opt_Boolean value_value_buf = {};
27471         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27472         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27473         {
27474             value_value_buf.value = thisDeserializer.readBoolean();
27475         }
27476         Opt_Boolean value_value = value_value_buf;;
27477         GetNodeModifiers()->getTextInputModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value);
27478 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_stopBackPress,Ark_NativePointer,KSerializerBuffer,int32_t)27479 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t)
27480 void impl_TextInputAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27481         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27482         Deserializer thisDeserializer(thisArray, thisLength);
27483         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27484         Opt_Callback_EditableTextChangeValue_Boolean value_value_buf = {};
27485         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27486         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27487         {
27488             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};
27489         }
27490         Opt_Callback_EditableTextChangeValue_Boolean value_value = value_value_buf;;
27491         GetNodeModifiers()->getTextInputModifier()->setOnWillChange(self, (const Opt_Callback_EditableTextChangeValue_Boolean*)&value_value);
27492 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillChange,Ark_NativePointer,KSerializerBuffer,int32_t)27493 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t)
27494 void impl_TextInputAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27495         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27496         Deserializer thisDeserializer(thisArray, thisLength);
27497         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27498         Opt_KeyboardAppearance value_value_buf = {};
27499         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27500         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27501         {
27502             value_value_buf.value = static_cast<Ark_KeyboardAppearance>(thisDeserializer.readInt32());
27503         }
27504         Opt_KeyboardAppearance value_value = value_value_buf;;
27505         GetNodeModifiers()->getTextInputModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value);
27506 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_keyboardAppearance,Ark_NativePointer,KSerializerBuffer,int32_t)27507 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t)
27508 void impl_TextInputAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27509         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27510         Deserializer thisDeserializer(thisArray, thisLength);
27511         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27512         Opt_ResourceStr value_value_buf = {};
27513         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27514         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27515         {
27516             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27517             Ark_ResourceStr value_value_buf_ = {};
27518             value_value_buf_.selector = value_value_buf__selector;
27519             if (value_value_buf__selector == 0) {
27520                 value_value_buf_.selector = 0;
27521                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
27522             }
27523             else if (value_value_buf__selector == 1) {
27524                 value_value_buf_.selector = 1;
27525                 value_value_buf_.value1 = thisDeserializer.readResource();
27526             }
27527             else {
27528                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27529             }
27530             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
27531         }
27532         Opt_ResourceStr value_value = value_value_buf;;
27533         const auto error_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27534         Opt_Callback_String_Void error_value_buf = {};
27535         error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27536         if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType))
27537         {
27538             error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
27539         }
27540         Opt_Callback_String_Void error_value = error_value_buf;;
27541         GetNodeModifiers()->getTextInputModifier()->setInputFilter(self, (const Opt_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value);
27542 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_inputFilter,Ark_NativePointer,KSerializerBuffer,int32_t)27543 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
27544 void impl_TextInputAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27545         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27546         Deserializer thisDeserializer(thisArray, thisLength);
27547         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27548         Opt_CustomNodeBuilder value_value_buf = {};
27549         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27550         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27551         {
27552             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
27553         }
27554         Opt_CustomNodeBuilder value_value = value_value_buf;;
27555         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27556         Opt_KeyboardOptions options_value_buf = {};
27557         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27558         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
27559         {
27560             options_value_buf.value = thisDeserializer.readKeyboardOptions();
27561         }
27562         Opt_KeyboardOptions options_value = options_value_buf;;
27563         GetNodeModifiers()->getTextInputModifier()->setCustomKeyboard(self, (const Opt_CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value);
27564 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_customKeyboard,Ark_NativePointer,KSerializerBuffer,int32_t)27565 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t)
27566 void impl_TextInputAttribute_showCounter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27567         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27568         Deserializer thisDeserializer(thisArray, thisLength);
27569         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27570         Opt_Boolean value_value_buf = {};
27571         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27572         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27573         {
27574             value_value_buf.value = thisDeserializer.readBoolean();
27575         }
27576         Opt_Boolean value_value = value_value_buf;;
27577         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27578         Opt_InputCounterOptions options_value_buf = {};
27579         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27580         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
27581         {
27582             options_value_buf.value = thisDeserializer.readInputCounterOptions();
27583         }
27584         Opt_InputCounterOptions options_value = options_value_buf;;
27585         GetNodeModifiers()->getTextInputModifier()->setShowCounter(self, (const Opt_Boolean*)&value_value, (const Opt_InputCounterOptions*)&options_value);
27586 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showCounter,Ark_NativePointer,KSerializerBuffer,int32_t)27587 KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showCounter, Ark_NativePointer, KSerializerBuffer, int32_t)
27588 void impl_TextInputAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27589         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27590         Deserializer thisDeserializer(thisArray, thisLength);
27591         Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ResourceStr text)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ResourceStr text)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};;
27592         GetNodeModifiers()->getTextInputModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value);
27593 }
KOALA_INTEROP_DIRECT_V3(TextInputAttribute__onChangeEvent_text,Ark_NativePointer,KSerializerBuffer,int32_t)27594 KOALA_INTEROP_DIRECT_V3(TextInputAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t)
27595 Ark_NativePointer impl_TextPicker_construct(Ark_Int32 id, Ark_Int32 flags) {
27596         return GetNodeModifiers()->getTextPickerModifier()->construct(id, flags);
27597 }
KOALA_INTEROP_DIRECT_2(TextPicker_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)27598 KOALA_INTEROP_DIRECT_2(TextPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
27599 void impl_TextPickerInterface_setTextPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27600         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27601         Deserializer thisDeserializer(thisArray, thisLength);
27602         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27603         Opt_TextPickerOptions options_value_buf = {};
27604         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27605         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
27606         {
27607             options_value_buf.value = thisDeserializer.readTextPickerOptions();
27608         }
27609         Opt_TextPickerOptions options_value = options_value_buf;;
27610         GetNodeModifiers()->getTextPickerModifier()->setTextPickerOptions(self, (const Opt_TextPickerOptions*)&options_value);
27611 }
KOALA_INTEROP_DIRECT_V3(TextPickerInterface_setTextPickerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)27612 KOALA_INTEROP_DIRECT_V3(TextPickerInterface_setTextPickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
27613 void impl_TextPickerAttribute_defaultPickerItemHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27614         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27615         Deserializer thisDeserializer(thisArray, thisLength);
27616         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27617         Opt_Union_Number_String value_value_buf = {};
27618         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27619         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27620         {
27621             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27622             Ark_Union_Number_String value_value_buf_ = {};
27623             value_value_buf_.selector = value_value_buf__selector;
27624             if (value_value_buf__selector == 0) {
27625                 value_value_buf_.selector = 0;
27626                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27627             }
27628             else if (value_value_buf__selector == 1) {
27629                 value_value_buf_.selector = 1;
27630                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27631             }
27632             else {
27633                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27634             }
27635             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
27636         }
27637         Opt_Union_Number_String value_value = value_value_buf;;
27638         GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight0(self, (const Opt_Union_Number_String*)&value_value);
27639 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight0,Ark_NativePointer,KSerializerBuffer,int32_t)27640 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight0, Ark_NativePointer, KSerializerBuffer, int32_t)
27641 void impl_TextPickerAttribute_defaultPickerItemHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27642         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27643         Deserializer thisDeserializer(thisArray, thisLength);
27644         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27645         Opt_Union_Number_String value_value_buf = {};
27646         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27647         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27648         {
27649             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27650             Ark_Union_Number_String value_value_buf_ = {};
27651             value_value_buf_.selector = value_value_buf__selector;
27652             if (value_value_buf__selector == 0) {
27653                 value_value_buf_.selector = 0;
27654                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27655             }
27656             else if (value_value_buf__selector == 1) {
27657                 value_value_buf_.selector = 1;
27658                 value_value_buf_.value1 = static_cast<Ark_String>(thisDeserializer.readString());
27659             }
27660             else {
27661                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27662             }
27663             value_value_buf.value = static_cast<Ark_Union_Number_String>(value_value_buf_);
27664         }
27665         Opt_Union_Number_String value_value = value_value_buf;;
27666         GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight1(self, (const Opt_Union_Number_String*)&value_value);
27667 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight1,Ark_NativePointer,KSerializerBuffer,int32_t)27668 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight1, Ark_NativePointer, KSerializerBuffer, int32_t)
27669 void impl_TextPickerAttribute_canLoop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27670         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27671         Deserializer thisDeserializer(thisArray, thisLength);
27672         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27673         Opt_Boolean value_value_buf = {};
27674         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27675         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27676         {
27677             value_value_buf.value = thisDeserializer.readBoolean();
27678         }
27679         Opt_Boolean value_value = value_value_buf;;
27680         GetNodeModifiers()->getTextPickerModifier()->setCanLoop0(self, (const Opt_Boolean*)&value_value);
27681 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_canLoop0,Ark_NativePointer,KSerializerBuffer,int32_t)27682 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_canLoop0, Ark_NativePointer, KSerializerBuffer, int32_t)
27683 void impl_TextPickerAttribute_canLoop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27684         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27685         Deserializer thisDeserializer(thisArray, thisLength);
27686         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27687         Opt_Boolean value_value_buf = {};
27688         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27689         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27690         {
27691             value_value_buf.value = thisDeserializer.readBoolean();
27692         }
27693         Opt_Boolean value_value = value_value_buf;;
27694         GetNodeModifiers()->getTextPickerModifier()->setCanLoop1(self, (const Opt_Boolean*)&value_value);
27695 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_canLoop1,Ark_NativePointer,KSerializerBuffer,int32_t)27696 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_canLoop1, Ark_NativePointer, KSerializerBuffer, int32_t)
27697 void impl_TextPickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27698         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27699         Deserializer thisDeserializer(thisArray, thisLength);
27700         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27701         Opt_PickerTextStyle value_value_buf = {};
27702         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27703         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27704         {
27705             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27706         }
27707         Opt_PickerTextStyle value_value = value_value_buf;;
27708         GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
27709 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)27710 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
27711 void impl_TextPickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27712         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27713         Deserializer thisDeserializer(thisArray, thisLength);
27714         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27715         Opt_PickerTextStyle value_value_buf = {};
27716         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27717         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27718         {
27719             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27720         }
27721         Opt_PickerTextStyle value_value = value_value_buf;;
27722         GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
27723 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)27724 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
27725 void impl_TextPickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27726         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27727         Deserializer thisDeserializer(thisArray, thisLength);
27728         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27729         Opt_PickerTextStyle value_value_buf = {};
27730         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27731         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27732         {
27733             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27734         }
27735         Opt_PickerTextStyle value_value = value_value_buf;;
27736         GetNodeModifiers()->getTextPickerModifier()->setTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
27737 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)27738 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
27739 void impl_TextPickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27740         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27741         Deserializer thisDeserializer(thisArray, thisLength);
27742         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27743         Opt_PickerTextStyle value_value_buf = {};
27744         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27745         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27746         {
27747             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27748         }
27749         Opt_PickerTextStyle value_value = value_value_buf;;
27750         GetNodeModifiers()->getTextPickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
27751 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)27752 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
27753 void impl_TextPickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27754         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27755         Deserializer thisDeserializer(thisArray, thisLength);
27756         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27757         Opt_PickerTextStyle value_value_buf = {};
27758         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27759         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27760         {
27761             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27762         }
27763         Opt_PickerTextStyle value_value = value_value_buf;;
27764         GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
27765 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)27766 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
27767 void impl_TextPickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27768         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27769         Deserializer thisDeserializer(thisArray, thisLength);
27770         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27771         Opt_PickerTextStyle value_value_buf = {};
27772         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27773         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27774         {
27775             value_value_buf.value = thisDeserializer.readPickerTextStyle();
27776         }
27777         Opt_PickerTextStyle value_value = value_value_buf;;
27778         GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
27779 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)27780 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
27781 void impl_TextPickerAttribute_disableTextStyleAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27782         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27783         Deserializer thisDeserializer(thisArray, thisLength);
27784         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27785         Opt_Boolean value_value_buf = {};
27786         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27787         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27788         {
27789             value_value_buf.value = thisDeserializer.readBoolean();
27790         }
27791         Opt_Boolean value_value = value_value_buf;;
27792         GetNodeModifiers()->getTextPickerModifier()->setDisableTextStyleAnimation(self, (const Opt_Boolean*)&value_value);
27793 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disableTextStyleAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)27794 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disableTextStyleAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
27795 void impl_TextPickerAttribute_defaultTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27796         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27797         Deserializer thisDeserializer(thisArray, thisLength);
27798         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27799         Opt_TextPickerTextStyle value_value_buf = {};
27800         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27801         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27802         {
27803             value_value_buf.value = thisDeserializer.readTextPickerTextStyle();
27804         }
27805         Opt_TextPickerTextStyle value_value = value_value_buf;;
27806         GetNodeModifiers()->getTextPickerModifier()->setDefaultTextStyle(self, (const Opt_TextPickerTextStyle*)&value_value);
27807 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultTextStyle,Ark_NativePointer,KSerializerBuffer,int32_t)27808 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
27809 void impl_TextPickerAttribute_onAccept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27810         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27811         Deserializer thisDeserializer(thisArray, thisLength);
27812         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27813         Opt_Callback_String_Number_Void value_value_buf = {};
27814         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27815         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27816         {
27817             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Number_Void))))};
27818         }
27819         Opt_Callback_String_Number_Void value_value = value_value_buf;;
27820         GetNodeModifiers()->getTextPickerModifier()->setOnAccept(self, (const Opt_Callback_String_Number_Void*)&value_value);
27821 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onAccept,Ark_NativePointer,KSerializerBuffer,int32_t)27822 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onAccept, Ark_NativePointer, KSerializerBuffer, int32_t)
27823 void impl_TextPickerAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27824         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27825         Deserializer thisDeserializer(thisArray, thisLength);
27826         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27827         Opt_Callback_Void value_value_buf = {};
27828         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27829         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27830         {
27831             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
27832         }
27833         Opt_Callback_Void value_value = value_value_buf;;
27834         GetNodeModifiers()->getTextPickerModifier()->setOnCancel(self, (const Opt_Callback_Void*)&value_value);
27835 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onCancel,Ark_NativePointer,KSerializerBuffer,int32_t)27836 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t)
27837 void impl_TextPickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27838         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27839         Deserializer thisDeserializer(thisArray, thisLength);
27840         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27841         Opt_Type_TextPickerAttribute_onChange_callback value_value_buf = {};
27842         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27843         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27844         {
27845             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Type_TextPickerAttribute_onChange_callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Type_TextPickerAttribute_onChange_callback))))};
27846         }
27847         Opt_Type_TextPickerAttribute_onChange_callback value_value = value_value_buf;;
27848         GetNodeModifiers()->getTextPickerModifier()->setOnChange0(self, (const Opt_Type_TextPickerAttribute_onChange_callback*)&value_value);
27849 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)27850 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
27851 void impl_TextPickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27852         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27853         Deserializer thisDeserializer(thisArray, thisLength);
27854         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27855         Opt_OnTextPickerChangeCallback value_value_buf = {};
27856         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27857         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27858         {
27859             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String selectItem, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTextPickerChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String selectItem, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTextPickerChangeCallback))))};
27860         }
27861         Opt_OnTextPickerChangeCallback value_value = value_value_buf;;
27862         GetNodeModifiers()->getTextPickerModifier()->setOnChange1(self, (const Opt_OnTextPickerChangeCallback*)&value_value);
27863 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)27864 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
27865 void impl_TextPickerAttribute_onScrollStop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27866         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27867         Deserializer thisDeserializer(thisArray, thisLength);
27868         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27869         Opt_TextPickerScrollStopCallback value_value_buf = {};
27870         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27871         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27872         {
27873             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextPickerScrollStopCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextPickerScrollStopCallback))))};
27874         }
27875         Opt_TextPickerScrollStopCallback value_value = value_value_buf;;
27876         GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop0(self, (const Opt_TextPickerScrollStopCallback*)&value_value);
27877 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop0,Ark_NativePointer,KSerializerBuffer,int32_t)27878 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop0, Ark_NativePointer, KSerializerBuffer, int32_t)
27879 void impl_TextPickerAttribute_onScrollStop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27880         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27881         Deserializer thisDeserializer(thisArray, thisLength);
27882         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27883         Opt_TextPickerScrollStopCallback value_value_buf = {};
27884         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27885         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27886         {
27887             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextPickerScrollStopCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextPickerScrollStopCallback))))};
27888         }
27889         Opt_TextPickerScrollStopCallback value_value = value_value_buf;;
27890         GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop1(self, (const Opt_TextPickerScrollStopCallback*)&value_value);
27891 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop1,Ark_NativePointer,KSerializerBuffer,int32_t)27892 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop1, Ark_NativePointer, KSerializerBuffer, int32_t)
27893 void impl_TextPickerAttribute_onEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27894         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27895         Deserializer thisDeserializer(thisArray, thisLength);
27896         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27897         Opt_TextPickerEnterSelectedAreaCallback value_value_buf = {};
27898         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27899         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27900         {
27901             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextPickerEnterSelectedAreaCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextPickerEnterSelectedAreaCallback))))};
27902         }
27903         Opt_TextPickerEnterSelectedAreaCallback value_value = value_value_buf;;
27904         GetNodeModifiers()->getTextPickerModifier()->setOnEnterSelectedArea(self, (const Opt_TextPickerEnterSelectedAreaCallback*)&value_value);
27905 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onEnterSelectedArea,Ark_NativePointer,KSerializerBuffer,int32_t)27906 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, int32_t)
27907 void impl_TextPickerAttribute_selectedIndex0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27908         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27909         Deserializer thisDeserializer(thisArray, thisLength);
27910         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27911         Opt_Union_Number_Array_Number value_value_buf = {};
27912         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27913         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27914         {
27915             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27916             Ark_Union_Number_Array_Number value_value_buf_ = {};
27917             value_value_buf_.selector = value_value_buf__selector;
27918             if (value_value_buf__selector == 0) {
27919                 value_value_buf_.selector = 0;
27920                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27921             }
27922             else if (value_value_buf__selector == 1) {
27923                 value_value_buf_.selector = 1;
27924                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
27925                 Array_Number value_value_buf__u = {};
27926                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
27927         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
27928                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
27929                     value_value_buf__u.array[value_value_buf__u_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
27930                 }
27931                 value_value_buf_.value1 = value_value_buf__u;
27932             }
27933             else {
27934                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27935             }
27936             value_value_buf.value = static_cast<Ark_Union_Number_Array_Number>(value_value_buf_);
27937         }
27938         Opt_Union_Number_Array_Number value_value = value_value_buf;;
27939         GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex0(self, (const Opt_Union_Number_Array_Number*)&value_value);
27940 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex0,Ark_NativePointer,KSerializerBuffer,int32_t)27941 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex0, Ark_NativePointer, KSerializerBuffer, int32_t)
27942 void impl_TextPickerAttribute_selectedIndex1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27943         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27944         Deserializer thisDeserializer(thisArray, thisLength);
27945         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27946         Opt_Union_Number_Array_Number value_value_buf = {};
27947         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27948         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27949         {
27950             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
27951             Ark_Union_Number_Array_Number value_value_buf_ = {};
27952             value_value_buf_.selector = value_value_buf__selector;
27953             if (value_value_buf__selector == 0) {
27954                 value_value_buf_.selector = 0;
27955                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
27956             }
27957             else if (value_value_buf__selector == 1) {
27958                 value_value_buf_.selector = 1;
27959                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
27960                 Array_Number value_value_buf__u = {};
27961                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
27962         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
27963                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
27964                     value_value_buf__u.array[value_value_buf__u_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
27965                 }
27966                 value_value_buf_.value1 = value_value_buf__u;
27967             }
27968             else {
27969                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
27970             }
27971             value_value_buf.value = static_cast<Ark_Union_Number_Array_Number>(value_value_buf_);
27972         }
27973         Opt_Union_Number_Array_Number value_value = value_value_buf;;
27974         GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex1(self, (const Opt_Union_Number_Array_Number*)&value_value);
27975 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex1,Ark_NativePointer,KSerializerBuffer,int32_t)27976 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex1, Ark_NativePointer, KSerializerBuffer, int32_t)
27977 void impl_TextPickerAttribute_divider0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27978         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27979         Deserializer thisDeserializer(thisArray, thisLength);
27980         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27981         Opt_DividerOptions value_value_buf = {};
27982         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27983         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27984         {
27985             value_value_buf.value = thisDeserializer.readDividerOptions();
27986         }
27987         Opt_DividerOptions value_value = value_value_buf;;
27988         GetNodeModifiers()->getTextPickerModifier()->setDivider0(self, (const Opt_DividerOptions*)&value_value);
27989 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider0,Ark_NativePointer,KSerializerBuffer,int32_t)27990 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider0, Ark_NativePointer, KSerializerBuffer, int32_t)
27991 void impl_TextPickerAttribute_divider1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
27992         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
27993         Deserializer thisDeserializer(thisArray, thisLength);
27994         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
27995         Opt_DividerOptions value_value_buf = {};
27996         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
27997         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
27998         {
27999             value_value_buf.value = thisDeserializer.readDividerOptions();
28000         }
28001         Opt_DividerOptions value_value = value_value_buf;;
28002         GetNodeModifiers()->getTextPickerModifier()->setDivider1(self, (const Opt_DividerOptions*)&value_value);
28003 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider1,Ark_NativePointer,KSerializerBuffer,int32_t)28004 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider1, Ark_NativePointer, KSerializerBuffer, int32_t)
28005 void impl_TextPickerAttribute_gradientHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28006         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28007         Deserializer thisDeserializer(thisArray, thisLength);
28008         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28009         Opt_Length value_value_buf = {};
28010         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28011         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28012         {
28013             value_value_buf.value = thisDeserializer.readLength();
28014         }
28015         Opt_Length value_value = value_value_buf;;
28016         GetNodeModifiers()->getTextPickerModifier()->setGradientHeight0(self, (const Opt_Length*)&value_value);
28017 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight0,Ark_NativePointer,KSerializerBuffer,int32_t)28018 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight0, Ark_NativePointer, KSerializerBuffer, int32_t)
28019 void impl_TextPickerAttribute_gradientHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28020         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28021         Deserializer thisDeserializer(thisArray, thisLength);
28022         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28023         Opt_Length value_value_buf = {};
28024         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28025         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28026         {
28027             value_value_buf.value = thisDeserializer.readLength();
28028         }
28029         Opt_Length value_value = value_value_buf;;
28030         GetNodeModifiers()->getTextPickerModifier()->setGradientHeight1(self, (const Opt_Length*)&value_value);
28031 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight1,Ark_NativePointer,KSerializerBuffer,int32_t)28032 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight1, Ark_NativePointer, KSerializerBuffer, int32_t)
28033 void impl_TextPickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28034         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28035         Deserializer thisDeserializer(thisArray, thisLength);
28036         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28037         Opt_Boolean value_value_buf = {};
28038         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28039         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28040         {
28041             value_value_buf.value = thisDeserializer.readBoolean();
28042         }
28043         Opt_Boolean value_value = value_value_buf;;
28044         GetNodeModifiers()->getTextPickerModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
28045 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)28046 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
28047 void impl_TextPickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28048         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28049         Deserializer thisDeserializer(thisArray, thisLength);
28050         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28051         Opt_CrownSensitivity value_value_buf = {};
28052         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28053         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28054         {
28055             value_value_buf.value = static_cast<Ark_CrownSensitivity>(thisDeserializer.readInt32());
28056         }
28057         Opt_CrownSensitivity value_value = value_value_buf;;
28058         GetNodeModifiers()->getTextPickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value);
28059 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_digitalCrownSensitivity,Ark_NativePointer,KSerializerBuffer,int32_t)28060 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t)
28061 void impl_TextPickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28062         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28063         Deserializer thisDeserializer(thisArray, thisLength);
28064         Callback_Union_Number_Array_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_Number_Array_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Union_Number_Array_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_Number_Array_Number selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Union_Number_Array_Number_Void))))};;
28065         GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_selected(self, (const Callback_Union_Number_Array_Number_Void*)&callback_value);
28066 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)28067 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
28068 void impl_TextPickerAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28069         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28070         Deserializer thisDeserializer(thisArray, thisLength);
28071         Callback_Union_String_Array_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Union_String_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Union_String_Array_String_Void))))};;
28072         GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_value(self, (const Callback_Union_String_Array_String_Void*)&callback_value);
28073 }
KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_value,Ark_NativePointer,KSerializerBuffer,int32_t)28074 KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t)
28075 Ark_NativePointer impl_TextTimer_construct(Ark_Int32 id, Ark_Int32 flags) {
28076         return GetNodeModifiers()->getTextTimerModifier()->construct(id, flags);
28077 }
KOALA_INTEROP_DIRECT_2(TextTimer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)28078 KOALA_INTEROP_DIRECT_2(TextTimer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
28079 void impl_TextTimerInterface_setTextTimerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28080         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28081         Deserializer thisDeserializer(thisArray, thisLength);
28082         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28083         Opt_TextTimerOptions options_value_buf = {};
28084         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28085         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
28086         {
28087             options_value_buf.value = thisDeserializer.readTextTimerOptions();
28088         }
28089         Opt_TextTimerOptions options_value = options_value_buf;;
28090         GetNodeModifiers()->getTextTimerModifier()->setTextTimerOptions(self, (const Opt_TextTimerOptions*)&options_value);
28091 }
KOALA_INTEROP_DIRECT_V3(TextTimerInterface_setTextTimerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)28092 KOALA_INTEROP_DIRECT_V3(TextTimerInterface_setTextTimerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
28093 void impl_TextTimerAttribute_format(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28094         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28095         Deserializer thisDeserializer(thisArray, thisLength);
28096         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28097         Opt_String value_value_buf = {};
28098         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28099         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28100         {
28101             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
28102         }
28103         Opt_String value_value = value_value_buf;;
28104         GetNodeModifiers()->getTextTimerModifier()->setFormat(self, (const Opt_String*)&value_value);
28105 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_format,Ark_NativePointer,KSerializerBuffer,int32_t)28106 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_format, Ark_NativePointer, KSerializerBuffer, int32_t)
28107 void impl_TextTimerAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28108         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28109         Deserializer thisDeserializer(thisArray, thisLength);
28110         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28111         Opt_ResourceColor value_value_buf = {};
28112         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28113         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28114         {
28115             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28116             Ark_ResourceColor value_value_buf_ = {};
28117             value_value_buf_.selector = value_value_buf__selector;
28118             if (value_value_buf__selector == 0) {
28119                 value_value_buf_.selector = 0;
28120                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
28121             }
28122             else if (value_value_buf__selector == 1) {
28123                 value_value_buf_.selector = 1;
28124                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
28125             }
28126             else if (value_value_buf__selector == 2) {
28127                 value_value_buf_.selector = 2;
28128                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
28129             }
28130             else if (value_value_buf__selector == 3) {
28131                 value_value_buf_.selector = 3;
28132                 value_value_buf_.value3 = thisDeserializer.readResource();
28133             }
28134             else {
28135                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28136             }
28137             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
28138         }
28139         Opt_ResourceColor value_value = value_value_buf;;
28140         GetNodeModifiers()->getTextTimerModifier()->setFontColor(self, (const Opt_ResourceColor*)&value_value);
28141 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontColor,Ark_NativePointer,KSerializerBuffer,int32_t)28142 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t)
28143 void impl_TextTimerAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28144         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28145         Deserializer thisDeserializer(thisArray, thisLength);
28146         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28147         Opt_Length value_value_buf = {};
28148         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28149         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28150         {
28151             value_value_buf.value = thisDeserializer.readLength();
28152         }
28153         Opt_Length value_value = value_value_buf;;
28154         GetNodeModifiers()->getTextTimerModifier()->setFontSize(self, (const Opt_Length*)&value_value);
28155 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontSize,Ark_NativePointer,KSerializerBuffer,int32_t)28156 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
28157 void impl_TextTimerAttribute_fontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28158         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28159         Deserializer thisDeserializer(thisArray, thisLength);
28160         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28161         Opt_FontStyle value_value_buf = {};
28162         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28163         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28164         {
28165             value_value_buf.value = static_cast<Ark_FontStyle>(thisDeserializer.readInt32());
28166         }
28167         Opt_FontStyle value_value = value_value_buf;;
28168         GetNodeModifiers()->getTextTimerModifier()->setFontStyle(self, (const Opt_FontStyle*)&value_value);
28169 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontStyle,Ark_NativePointer,KSerializerBuffer,int32_t)28170 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
28171 void impl_TextTimerAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28172         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28173         Deserializer thisDeserializer(thisArray, thisLength);
28174         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28175         Opt_Union_Number_FontWeight_String value_value_buf = {};
28176         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28177         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28178         {
28179             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28180             Ark_Union_Number_FontWeight_String value_value_buf_ = {};
28181             value_value_buf_.selector = value_value_buf__selector;
28182             if (value_value_buf__selector == 0) {
28183                 value_value_buf_.selector = 0;
28184                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
28185             }
28186             else if (value_value_buf__selector == 1) {
28187                 value_value_buf_.selector = 1;
28188                 value_value_buf_.value1 = static_cast<Ark_FontWeight>(thisDeserializer.readInt32());
28189             }
28190             else if (value_value_buf__selector == 2) {
28191                 value_value_buf_.selector = 2;
28192                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
28193             }
28194             else {
28195                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28196             }
28197             value_value_buf.value = static_cast<Ark_Union_Number_FontWeight_String>(value_value_buf_);
28198         }
28199         Opt_Union_Number_FontWeight_String value_value = value_value_buf;;
28200         GetNodeModifiers()->getTextTimerModifier()->setFontWeight(self, (const Opt_Union_Number_FontWeight_String*)&value_value);
28201 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)28202 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
28203 void impl_TextTimerAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28204         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28205         Deserializer thisDeserializer(thisArray, thisLength);
28206         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28207         Opt_ResourceStr value_value_buf = {};
28208         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28209         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28210         {
28211             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28212             Ark_ResourceStr value_value_buf_ = {};
28213             value_value_buf_.selector = value_value_buf__selector;
28214             if (value_value_buf__selector == 0) {
28215                 value_value_buf_.selector = 0;
28216                 value_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
28217             }
28218             else if (value_value_buf__selector == 1) {
28219                 value_value_buf_.selector = 1;
28220                 value_value_buf_.value1 = thisDeserializer.readResource();
28221             }
28222             else {
28223                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28224             }
28225             value_value_buf.value = static_cast<Ark_ResourceStr>(value_value_buf_);
28226         }
28227         Opt_ResourceStr value_value = value_value_buf;;
28228         GetNodeModifiers()->getTextTimerModifier()->setFontFamily(self, (const Opt_ResourceStr*)&value_value);
28229 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontFamily,Ark_NativePointer,KSerializerBuffer,int32_t)28230 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t)
28231 void impl_TextTimerAttribute_onTimer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28232         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28233         Deserializer thisDeserializer(thisArray, thisLength);
28234         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28235         Opt_TextTimerAttribute_onTimer_event_type value_value_buf = {};
28236         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28237         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28238         {
28239             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Int64 utc, const Ark_Int64 elapsedTime)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextTimerAttribute_onTimer_event_type)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int64 utc, const Ark_Int64 elapsedTime)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextTimerAttribute_onTimer_event_type))))};
28240         }
28241         Opt_TextTimerAttribute_onTimer_event_type value_value = value_value_buf;;
28242         GetNodeModifiers()->getTextTimerModifier()->setOnTimer(self, (const Opt_TextTimerAttribute_onTimer_event_type*)&value_value);
28243 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_onTimer,Ark_NativePointer,KSerializerBuffer,int32_t)28244 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_onTimer, Ark_NativePointer, KSerializerBuffer, int32_t)
28245 void impl_TextTimerAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28246         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28247         Deserializer thisDeserializer(thisArray, thisLength);
28248         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28249         Opt_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {};
28250         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28251         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28252         {
28253             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28254             Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf_ = {};
28255             value_value_buf_.selector = value_value_buf__selector;
28256             if (value_value_buf__selector == 0) {
28257                 value_value_buf_.selector = 0;
28258                 value_value_buf_.value0 = thisDeserializer.readShadowOptions();
28259             }
28260             else if (value_value_buf__selector == 1) {
28261                 value_value_buf_.selector = 1;
28262                 const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32();
28263                 Array_ShadowOptions value_value_buf__u = {};
28264                 thisDeserializer.resizeArray<std::decay<decltype(value_value_buf__u)>::type,
28265         std::decay<decltype(*value_value_buf__u.array)>::type>(&value_value_buf__u, value_value_buf__u_length);
28266                 for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) {
28267                     value_value_buf__u.array[value_value_buf__u_i] = thisDeserializer.readShadowOptions();
28268                 }
28269                 value_value_buf_.value1 = value_value_buf__u;
28270             }
28271             else {
28272                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28273             }
28274             value_value_buf.value = static_cast<Ark_Union_ShadowOptions_Array_ShadowOptions>(value_value_buf_);
28275         }
28276         Opt_Union_ShadowOptions_Array_ShadowOptions value_value = value_value_buf;;
28277         GetNodeModifiers()->getTextTimerModifier()->setTextShadow(self, (const Opt_Union_ShadowOptions_Array_ShadowOptions*)&value_value);
28278 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_textShadow,Ark_NativePointer,KSerializerBuffer,int32_t)28279 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t)
28280 void impl_TextTimerAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28281         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28282         Deserializer thisDeserializer(thisArray, thisLength);
28283         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28284         Opt_ContentModifier value_value_buf = {};
28285         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28286         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28287         {
28288             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
28289         }
28290         Opt_ContentModifier value_value = value_value_buf;;
28291         GetNodeModifiers()->getTextTimerModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
28292 }
KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)28293 KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
28294 Ark_NativePointer impl_TimePicker_construct(Ark_Int32 id, Ark_Int32 flags) {
28295         return GetNodeModifiers()->getTimePickerModifier()->construct(id, flags);
28296 }
KOALA_INTEROP_DIRECT_2(TimePicker_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)28297 KOALA_INTEROP_DIRECT_2(TimePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
28298 void impl_TimePickerInterface_setTimePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28299         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28300         Deserializer thisDeserializer(thisArray, thisLength);
28301         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28302         Opt_TimePickerOptions options_value_buf = {};
28303         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28304         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
28305         {
28306             options_value_buf.value = thisDeserializer.readTimePickerOptions();
28307         }
28308         Opt_TimePickerOptions options_value = options_value_buf;;
28309         GetNodeModifiers()->getTimePickerModifier()->setTimePickerOptions(self, (const Opt_TimePickerOptions*)&options_value);
28310 }
KOALA_INTEROP_DIRECT_V3(TimePickerInterface_setTimePickerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)28311 KOALA_INTEROP_DIRECT_V3(TimePickerInterface_setTimePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
28312 void impl_TimePickerAttribute_useMilitaryTime0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28313         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28314         Deserializer thisDeserializer(thisArray, thisLength);
28315         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28316         Opt_Boolean value_value_buf = {};
28317         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28318         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28319         {
28320             value_value_buf.value = thisDeserializer.readBoolean();
28321         }
28322         Opt_Boolean value_value = value_value_buf;;
28323         GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime0(self, (const Opt_Boolean*)&value_value);
28324 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_useMilitaryTime0,Ark_NativePointer,KSerializerBuffer,int32_t)28325 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_useMilitaryTime0, Ark_NativePointer, KSerializerBuffer, int32_t)
28326 void impl_TimePickerAttribute_useMilitaryTime1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28327         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28328         Deserializer thisDeserializer(thisArray, thisLength);
28329         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28330         Opt_Boolean value_value_buf = {};
28331         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28332         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28333         {
28334             value_value_buf.value = thisDeserializer.readBoolean();
28335         }
28336         Opt_Boolean value_value = value_value_buf;;
28337         GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime1(self, (const Opt_Boolean*)&value_value);
28338 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_useMilitaryTime1,Ark_NativePointer,KSerializerBuffer,int32_t)28339 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_useMilitaryTime1, Ark_NativePointer, KSerializerBuffer, int32_t)
28340 void impl_TimePickerAttribute_loop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28341         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28342         Deserializer thisDeserializer(thisArray, thisLength);
28343         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28344         Opt_Boolean value_value_buf = {};
28345         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28346         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28347         {
28348             value_value_buf.value = thisDeserializer.readBoolean();
28349         }
28350         Opt_Boolean value_value = value_value_buf;;
28351         GetNodeModifiers()->getTimePickerModifier()->setLoop0(self, (const Opt_Boolean*)&value_value);
28352 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_loop0,Ark_NativePointer,KSerializerBuffer,int32_t)28353 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_loop0, Ark_NativePointer, KSerializerBuffer, int32_t)
28354 void impl_TimePickerAttribute_loop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28355         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28356         Deserializer thisDeserializer(thisArray, thisLength);
28357         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28358         Opt_Boolean value_value_buf = {};
28359         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28360         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28361         {
28362             value_value_buf.value = thisDeserializer.readBoolean();
28363         }
28364         Opt_Boolean value_value = value_value_buf;;
28365         GetNodeModifiers()->getTimePickerModifier()->setLoop1(self, (const Opt_Boolean*)&value_value);
28366 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_loop1,Ark_NativePointer,KSerializerBuffer,int32_t)28367 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_loop1, Ark_NativePointer, KSerializerBuffer, int32_t)
28368 void impl_TimePickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28369         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28370         Deserializer thisDeserializer(thisArray, thisLength);
28371         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28372         Opt_PickerTextStyle value_value_buf = {};
28373         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28374         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28375         {
28376             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28377         }
28378         Opt_PickerTextStyle value_value = value_value_buf;;
28379         GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
28380 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)28381 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
28382 void impl_TimePickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28383         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28384         Deserializer thisDeserializer(thisArray, thisLength);
28385         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28386         Opt_PickerTextStyle value_value_buf = {};
28387         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28388         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28389         {
28390             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28391         }
28392         Opt_PickerTextStyle value_value = value_value_buf;;
28393         GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
28394 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)28395 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
28396 void impl_TimePickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28397         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28398         Deserializer thisDeserializer(thisArray, thisLength);
28399         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28400         Opt_PickerTextStyle value_value_buf = {};
28401         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28402         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28403         {
28404             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28405         }
28406         Opt_PickerTextStyle value_value = value_value_buf;;
28407         GetNodeModifiers()->getTimePickerModifier()->setTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
28408 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)28409 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
28410 void impl_TimePickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28411         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28412         Deserializer thisDeserializer(thisArray, thisLength);
28413         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28414         Opt_PickerTextStyle value_value_buf = {};
28415         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28416         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28417         {
28418             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28419         }
28420         Opt_PickerTextStyle value_value = value_value_buf;;
28421         GetNodeModifiers()->getTimePickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
28422 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)28423 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
28424 void impl_TimePickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28425         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28426         Deserializer thisDeserializer(thisArray, thisLength);
28427         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28428         Opt_PickerTextStyle value_value_buf = {};
28429         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28430         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28431         {
28432             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28433         }
28434         Opt_PickerTextStyle value_value = value_value_buf;;
28435         GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle0(self, (const Opt_PickerTextStyle*)&value_value);
28436 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle0,Ark_NativePointer,KSerializerBuffer,int32_t)28437 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t)
28438 void impl_TimePickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28439         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28440         Deserializer thisDeserializer(thisArray, thisLength);
28441         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28442         Opt_PickerTextStyle value_value_buf = {};
28443         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28444         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28445         {
28446             value_value_buf.value = thisDeserializer.readPickerTextStyle();
28447         }
28448         Opt_PickerTextStyle value_value = value_value_buf;;
28449         GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value);
28450 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle1,Ark_NativePointer,KSerializerBuffer,int32_t)28451 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t)
28452 void impl_TimePickerAttribute_dateTimeOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28453         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28454         Deserializer thisDeserializer(thisArray, thisLength);
28455         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28456         Opt_DateTimeOptions value_value_buf = {};
28457         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28458         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28459         {
28460             value_value_buf.value = thisDeserializer.readDateTimeOptions();
28461         }
28462         Opt_DateTimeOptions value_value = value_value_buf;;
28463         GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions0(self, (const Opt_DateTimeOptions*)&value_value);
28464 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)28465 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
28466 void impl_TimePickerAttribute_dateTimeOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28467         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28468         Deserializer thisDeserializer(thisArray, thisLength);
28469         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28470         Opt_DateTimeOptions value_value_buf = {};
28471         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28472         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28473         {
28474             value_value_buf.value = thisDeserializer.readDateTimeOptions();
28475         }
28476         Opt_DateTimeOptions value_value = value_value_buf;;
28477         GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions1(self, (const Opt_DateTimeOptions*)&value_value);
28478 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)28479 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
28480 void impl_TimePickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28481         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28482         Deserializer thisDeserializer(thisArray, thisLength);
28483         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28484         Opt_Callback_TimePickerResult_Void value_value_buf = {};
28485         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28486         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28487         {
28488             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TimePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TimePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))};
28489         }
28490         Opt_Callback_TimePickerResult_Void value_value = value_value_buf;;
28491         GetNodeModifiers()->getTimePickerModifier()->setOnChange0(self, (const Opt_Callback_TimePickerResult_Void*)&value_value);
28492 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange0,Ark_NativePointer,KSerializerBuffer,int32_t)28493 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t)
28494 void impl_TimePickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28495         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28496         Deserializer thisDeserializer(thisArray, thisLength);
28497         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28498         Opt_OnTimePickerChangeCallback value_value_buf = {};
28499         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28500         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28501         {
28502             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TimePickerResult result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnTimePickerChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TimePickerResult result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnTimePickerChangeCallback))))};
28503         }
28504         Opt_OnTimePickerChangeCallback value_value = value_value_buf;;
28505         GetNodeModifiers()->getTimePickerModifier()->setOnChange1(self, (const Opt_OnTimePickerChangeCallback*)&value_value);
28506 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange1,Ark_NativePointer,KSerializerBuffer,int32_t)28507 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t)
28508 void impl_TimePickerAttribute_onEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28509         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28510         Deserializer thisDeserializer(thisArray, thisLength);
28511         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28512         Opt_Callback_TimePickerResult_Void value_value_buf = {};
28513         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28514         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28515         {
28516             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TimePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TimePickerResult value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))};
28517         }
28518         Opt_Callback_TimePickerResult_Void value_value = value_value_buf;;
28519         GetNodeModifiers()->getTimePickerModifier()->setOnEnterSelectedArea(self, (const Opt_Callback_TimePickerResult_Void*)&value_value);
28520 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onEnterSelectedArea,Ark_NativePointer,KSerializerBuffer,int32_t)28521 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, int32_t)
28522 void impl_TimePickerAttribute_enableHapticFeedback0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28523         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28524         Deserializer thisDeserializer(thisArray, thisLength);
28525         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28526         Opt_Boolean value_value_buf = {};
28527         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28528         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28529         {
28530             value_value_buf.value = thisDeserializer.readBoolean();
28531         }
28532         Opt_Boolean value_value = value_value_buf;;
28533         GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback0(self, (const Opt_Boolean*)&value_value);
28534 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableHapticFeedback0,Ark_NativePointer,KSerializerBuffer,int32_t)28535 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableHapticFeedback0, Ark_NativePointer, KSerializerBuffer, int32_t)
28536 void impl_TimePickerAttribute_enableHapticFeedback1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28537         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28538         Deserializer thisDeserializer(thisArray, thisLength);
28539         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28540         Opt_Boolean value_value_buf = {};
28541         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28542         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28543         {
28544             value_value_buf.value = thisDeserializer.readBoolean();
28545         }
28546         Opt_Boolean value_value = value_value_buf;;
28547         GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback1(self, (const Opt_Boolean*)&value_value);
28548 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableHapticFeedback1,Ark_NativePointer,KSerializerBuffer,int32_t)28549 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableHapticFeedback1, Ark_NativePointer, KSerializerBuffer, int32_t)
28550 void impl_TimePickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28551         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28552         Deserializer thisDeserializer(thisArray, thisLength);
28553         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28554         Opt_CrownSensitivity value_value_buf = {};
28555         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28556         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28557         {
28558             value_value_buf.value = static_cast<Ark_CrownSensitivity>(thisDeserializer.readInt32());
28559         }
28560         Opt_CrownSensitivity value_value = value_value_buf;;
28561         GetNodeModifiers()->getTimePickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value);
28562 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_digitalCrownSensitivity,Ark_NativePointer,KSerializerBuffer,int32_t)28563 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t)
28564 void impl_TimePickerAttribute_enableCascade(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28565         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28566         Deserializer thisDeserializer(thisArray, thisLength);
28567         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28568         Opt_Boolean value_value_buf = {};
28569         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28570         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28571         {
28572             value_value_buf.value = thisDeserializer.readBoolean();
28573         }
28574         Opt_Boolean value_value = value_value_buf;;
28575         GetNodeModifiers()->getTimePickerModifier()->setEnableCascade(self, (const Opt_Boolean*)&value_value);
28576 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableCascade,Ark_NativePointer,KSerializerBuffer,int32_t)28577 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableCascade, Ark_NativePointer, KSerializerBuffer, int32_t)
28578 void impl_TimePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28579         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28580         Deserializer thisDeserializer(thisArray, thisLength);
28581         Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Date parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};;
28582         GetNodeModifiers()->getTimePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value);
28583 }
KOALA_INTEROP_DIRECT_V3(TimePickerAttribute__onChangeEvent_selected,Ark_NativePointer,KSerializerBuffer,int32_t)28584 KOALA_INTEROP_DIRECT_V3(TimePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t)
28585 Ark_NativePointer impl_Toggle_construct(Ark_Int32 id, Ark_Int32 flags) {
28586         return GetNodeModifiers()->getToggleModifier()->construct(id, flags);
28587 }
KOALA_INTEROP_DIRECT_2(Toggle_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)28588 KOALA_INTEROP_DIRECT_2(Toggle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
28589 void impl_ToggleInterface_setToggleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28590         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28591         Deserializer thisDeserializer(thisArray, thisLength);
28592         Ark_ToggleOptions options_value = thisDeserializer.readToggleOptions();;
28593         GetNodeModifiers()->getToggleModifier()->setToggleOptions(self, (const Ark_ToggleOptions*)&options_value);
28594 }
KOALA_INTEROP_DIRECT_V3(ToggleInterface_setToggleOptions,Ark_NativePointer,KSerializerBuffer,int32_t)28595 KOALA_INTEROP_DIRECT_V3(ToggleInterface_setToggleOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
28596 void impl_ToggleAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28597         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28598         Deserializer thisDeserializer(thisArray, thisLength);
28599         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28600         Opt_Callback_Boolean_Void value_value_buf = {};
28601         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28602         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28603         {
28604             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
28605         }
28606         Opt_Callback_Boolean_Void value_value = value_value_buf;;
28607         GetNodeModifiers()->getToggleModifier()->setOnChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
28608 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)28609 KOALA_INTEROP_DIRECT_V3(ToggleAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
28610 void impl_ToggleAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28611         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28612         Deserializer thisDeserializer(thisArray, thisLength);
28613         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28614         Opt_ContentModifier value_value_buf = {};
28615         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28616         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28617         {
28618             value_value_buf.value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());
28619         }
28620         Opt_ContentModifier value_value = value_value_buf;;
28621         GetNodeModifiers()->getToggleModifier()->setContentModifier(self, (const Opt_ContentModifier*)&value_value);
28622 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute_contentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)28623 KOALA_INTEROP_DIRECT_V3(ToggleAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
28624 void impl_ToggleAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28625         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28626         Deserializer thisDeserializer(thisArray, thisLength);
28627         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28628         Opt_ResourceColor value_value_buf = {};
28629         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28630         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28631         {
28632             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28633             Ark_ResourceColor value_value_buf_ = {};
28634             value_value_buf_.selector = value_value_buf__selector;
28635             if (value_value_buf__selector == 0) {
28636                 value_value_buf_.selector = 0;
28637                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
28638             }
28639             else if (value_value_buf__selector == 1) {
28640                 value_value_buf_.selector = 1;
28641                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
28642             }
28643             else if (value_value_buf__selector == 2) {
28644                 value_value_buf_.selector = 2;
28645                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
28646             }
28647             else if (value_value_buf__selector == 3) {
28648                 value_value_buf_.selector = 3;
28649                 value_value_buf_.value3 = thisDeserializer.readResource();
28650             }
28651             else {
28652                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28653             }
28654             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
28655         }
28656         Opt_ResourceColor value_value = value_value_buf;;
28657         GetNodeModifiers()->getToggleModifier()->setSelectedColor(self, (const Opt_ResourceColor*)&value_value);
28658 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute_selectedColor,Ark_NativePointer,KSerializerBuffer,int32_t)28659 KOALA_INTEROP_DIRECT_V3(ToggleAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t)
28660 void impl_ToggleAttribute_switchPointColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28661         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28662         Deserializer thisDeserializer(thisArray, thisLength);
28663         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28664         Opt_ResourceColor value_value_buf = {};
28665         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28666         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28667         {
28668             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
28669             Ark_ResourceColor value_value_buf_ = {};
28670             value_value_buf_.selector = value_value_buf__selector;
28671             if (value_value_buf__selector == 0) {
28672                 value_value_buf_.selector = 0;
28673                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
28674             }
28675             else if (value_value_buf__selector == 1) {
28676                 value_value_buf_.selector = 1;
28677                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
28678             }
28679             else if (value_value_buf__selector == 2) {
28680                 value_value_buf_.selector = 2;
28681                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
28682             }
28683             else if (value_value_buf__selector == 3) {
28684                 value_value_buf_.selector = 3;
28685                 value_value_buf_.value3 = thisDeserializer.readResource();
28686             }
28687             else {
28688                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
28689             }
28690             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
28691         }
28692         Opt_ResourceColor value_value = value_value_buf;;
28693         GetNodeModifiers()->getToggleModifier()->setSwitchPointColor(self, (const Opt_ResourceColor*)&value_value);
28694 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchPointColor,Ark_NativePointer,KSerializerBuffer,int32_t)28695 KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchPointColor, Ark_NativePointer, KSerializerBuffer, int32_t)
28696 void impl_ToggleAttribute_switchStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28697         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28698         Deserializer thisDeserializer(thisArray, thisLength);
28699         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28700         Opt_SwitchStyle value_value_buf = {};
28701         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28702         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28703         {
28704             value_value_buf.value = thisDeserializer.readSwitchStyle();
28705         }
28706         Opt_SwitchStyle value_value = value_value_buf;;
28707         GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, (const Opt_SwitchStyle*)&value_value);
28708 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchStyle,Ark_NativePointer,KSerializerBuffer,int32_t)28709 KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
28710 void impl_ToggleAttribute__onChangeEvent_isOn(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28711         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28712         Deserializer thisDeserializer(thisArray, thisLength);
28713         Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};;
28714         GetNodeModifiers()->getToggleModifier()->set_onChangeEvent_isOn(self, (const Callback_Boolean_Void*)&callback_value);
28715 }
KOALA_INTEROP_DIRECT_V3(ToggleAttribute__onChangeEvent_isOn,Ark_NativePointer,KSerializerBuffer,int32_t)28716 KOALA_INTEROP_DIRECT_V3(ToggleAttribute__onChangeEvent_isOn, Ark_NativePointer, KSerializerBuffer, int32_t)
28717 Ark_NativePointer impl_Video_construct(Ark_Int32 id, Ark_Int32 flags) {
28718         return GetNodeModifiers()->getVideoModifier()->construct(id, flags);
28719 }
KOALA_INTEROP_DIRECT_2(Video_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)28720 KOALA_INTEROP_DIRECT_2(Video_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
28721 void impl_VideoInterface_setVideoOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28722         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28723         Deserializer thisDeserializer(thisArray, thisLength);
28724         Ark_VideoOptions value_value = thisDeserializer.readVideoOptions();;
28725         GetNodeModifiers()->getVideoModifier()->setVideoOptions(self, (const Ark_VideoOptions*)&value_value);
28726 }
KOALA_INTEROP_DIRECT_V3(VideoInterface_setVideoOptions,Ark_NativePointer,KSerializerBuffer,int32_t)28727 KOALA_INTEROP_DIRECT_V3(VideoInterface_setVideoOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
28728 void impl_VideoAttribute_muted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28729         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28730         Deserializer thisDeserializer(thisArray, thisLength);
28731         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28732         Opt_Boolean value_value_buf = {};
28733         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28734         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28735         {
28736             value_value_buf.value = thisDeserializer.readBoolean();
28737         }
28738         Opt_Boolean value_value = value_value_buf;;
28739         GetNodeModifiers()->getVideoModifier()->setMuted(self, (const Opt_Boolean*)&value_value);
28740 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_muted,Ark_NativePointer,KSerializerBuffer,int32_t)28741 KOALA_INTEROP_DIRECT_V3(VideoAttribute_muted, Ark_NativePointer, KSerializerBuffer, int32_t)
28742 void impl_VideoAttribute_autoPlay(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28743         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28744         Deserializer thisDeserializer(thisArray, thisLength);
28745         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28746         Opt_Boolean value_value_buf = {};
28747         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28748         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28749         {
28750             value_value_buf.value = thisDeserializer.readBoolean();
28751         }
28752         Opt_Boolean value_value = value_value_buf;;
28753         GetNodeModifiers()->getVideoModifier()->setAutoPlay(self, (const Opt_Boolean*)&value_value);
28754 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_autoPlay,Ark_NativePointer,KSerializerBuffer,int32_t)28755 KOALA_INTEROP_DIRECT_V3(VideoAttribute_autoPlay, Ark_NativePointer, KSerializerBuffer, int32_t)
28756 void impl_VideoAttribute_controls(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28757         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28758         Deserializer thisDeserializer(thisArray, thisLength);
28759         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28760         Opt_Boolean value_value_buf = {};
28761         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28762         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28763         {
28764             value_value_buf.value = thisDeserializer.readBoolean();
28765         }
28766         Opt_Boolean value_value = value_value_buf;;
28767         GetNodeModifiers()->getVideoModifier()->setControls(self, (const Opt_Boolean*)&value_value);
28768 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_controls,Ark_NativePointer,KSerializerBuffer,int32_t)28769 KOALA_INTEROP_DIRECT_V3(VideoAttribute_controls, Ark_NativePointer, KSerializerBuffer, int32_t)
28770 void impl_VideoAttribute_loop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28771         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28772         Deserializer thisDeserializer(thisArray, thisLength);
28773         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28774         Opt_Boolean value_value_buf = {};
28775         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28776         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28777         {
28778             value_value_buf.value = thisDeserializer.readBoolean();
28779         }
28780         Opt_Boolean value_value = value_value_buf;;
28781         GetNodeModifiers()->getVideoModifier()->setLoop(self, (const Opt_Boolean*)&value_value);
28782 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_loop,Ark_NativePointer,KSerializerBuffer,int32_t)28783 KOALA_INTEROP_DIRECT_V3(VideoAttribute_loop, Ark_NativePointer, KSerializerBuffer, int32_t)
28784 void impl_VideoAttribute_objectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28785         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28786         Deserializer thisDeserializer(thisArray, thisLength);
28787         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28788         Opt_ImageFit value_value_buf = {};
28789         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28790         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28791         {
28792             value_value_buf.value = static_cast<Ark_ImageFit>(thisDeserializer.readInt32());
28793         }
28794         Opt_ImageFit value_value = value_value_buf;;
28795         GetNodeModifiers()->getVideoModifier()->setObjectFit(self, (const Opt_ImageFit*)&value_value);
28796 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_objectFit,Ark_NativePointer,KSerializerBuffer,int32_t)28797 KOALA_INTEROP_DIRECT_V3(VideoAttribute_objectFit, Ark_NativePointer, KSerializerBuffer, int32_t)
28798 void impl_VideoAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28799         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28800         Deserializer thisDeserializer(thisArray, thisLength);
28801         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28802         Opt_VoidCallback value_value_buf = {};
28803         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28804         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28805         {
28806             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
28807         }
28808         Opt_VoidCallback value_value = value_value_buf;;
28809         GetNodeModifiers()->getVideoModifier()->setOnStart(self, (const Opt_VoidCallback*)&value_value);
28810 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStart,Ark_NativePointer,KSerializerBuffer,int32_t)28811 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t)
28812 void impl_VideoAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28813         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28814         Deserializer thisDeserializer(thisArray, thisLength);
28815         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28816         Opt_VoidCallback value_value_buf = {};
28817         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28818         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28819         {
28820             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
28821         }
28822         Opt_VoidCallback value_value = value_value_buf;;
28823         GetNodeModifiers()->getVideoModifier()->setOnPause(self, (const Opt_VoidCallback*)&value_value);
28824 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPause,Ark_NativePointer,KSerializerBuffer,int32_t)28825 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t)
28826 void impl_VideoAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28827         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28828         Deserializer thisDeserializer(thisArray, thisLength);
28829         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28830         Opt_VoidCallback value_value_buf = {};
28831         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28832         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28833         {
28834             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
28835         }
28836         Opt_VoidCallback value_value = value_value_buf;;
28837         GetNodeModifiers()->getVideoModifier()->setOnFinish(self, (const Opt_VoidCallback*)&value_value);
28838 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFinish,Ark_NativePointer,KSerializerBuffer,int32_t)28839 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t)
28840 void impl_VideoAttribute_onFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28841         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28842         Deserializer thisDeserializer(thisArray, thisLength);
28843         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28844         Opt_Callback_FullscreenInfo_Void value_value_buf = {};
28845         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28846         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28847         {
28848             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FullscreenInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_FullscreenInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FullscreenInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_FullscreenInfo_Void))))};
28849         }
28850         Opt_Callback_FullscreenInfo_Void value_value = value_value_buf;;
28851         GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, (const Opt_Callback_FullscreenInfo_Void*)&value_value);
28852 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFullscreenChange,Ark_NativePointer,KSerializerBuffer,int32_t)28853 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFullscreenChange, Ark_NativePointer, KSerializerBuffer, int32_t)
28854 void impl_VideoAttribute_onPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28855         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28856         Deserializer thisDeserializer(thisArray, thisLength);
28857         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28858         Opt_Callback_PreparedInfo_Void value_value_buf = {};
28859         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28860         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28861         {
28862             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PreparedInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PreparedInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PreparedInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PreparedInfo_Void))))};
28863         }
28864         Opt_Callback_PreparedInfo_Void value_value = value_value_buf;;
28865         GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, (const Opt_Callback_PreparedInfo_Void*)&value_value);
28866 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPrepared,Ark_NativePointer,KSerializerBuffer,int32_t)28867 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPrepared, Ark_NativePointer, KSerializerBuffer, int32_t)
28868 void impl_VideoAttribute_onSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28869         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28870         Deserializer thisDeserializer(thisArray, thisLength);
28871         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28872         Opt_Callback_PlaybackInfo_Void value_value_buf = {};
28873         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28874         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28875         {
28876             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};
28877         }
28878         Opt_Callback_PlaybackInfo_Void value_value = value_value_buf;;
28879         GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, (const Opt_Callback_PlaybackInfo_Void*)&value_value);
28880 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeking,Ark_NativePointer,KSerializerBuffer,int32_t)28881 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeking, Ark_NativePointer, KSerializerBuffer, int32_t)
28882 void impl_VideoAttribute_onSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28883         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28884         Deserializer thisDeserializer(thisArray, thisLength);
28885         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28886         Opt_Callback_PlaybackInfo_Void value_value_buf = {};
28887         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28888         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28889         {
28890             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};
28891         }
28892         Opt_Callback_PlaybackInfo_Void value_value = value_value_buf;;
28893         GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, (const Opt_Callback_PlaybackInfo_Void*)&value_value);
28894 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeked,Ark_NativePointer,KSerializerBuffer,int32_t)28895 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeked, Ark_NativePointer, KSerializerBuffer, int32_t)
28896 void impl_VideoAttribute_onUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28897         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28898         Deserializer thisDeserializer(thisArray, thisLength);
28899         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28900         Opt_Callback_PlaybackInfo_Void value_value_buf = {};
28901         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28902         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28903         {
28904             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PlaybackInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};
28905         }
28906         Opt_Callback_PlaybackInfo_Void value_value = value_value_buf;;
28907         GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, (const Opt_Callback_PlaybackInfo_Void*)&value_value);
28908 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onUpdate,Ark_NativePointer,KSerializerBuffer,int32_t)28909 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onUpdate, Ark_NativePointer, KSerializerBuffer, int32_t)
28910 void impl_VideoAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28911         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28912         Deserializer thisDeserializer(thisArray, thisLength);
28913         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28914         Opt_Callback_Void value_value_buf = {};
28915         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28916         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28917         {
28918             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
28919         }
28920         Opt_Callback_Void value_value = value_value_buf;;
28921         GetNodeModifiers()->getVideoModifier()->setOnError(self, (const Opt_Callback_Void*)&value_value);
28922 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)28923 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
28924 void impl_VideoAttribute_onStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28925         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28926         Deserializer thisDeserializer(thisArray, thisLength);
28927         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28928         Opt_Callback_Void value_value_buf = {};
28929         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28930         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28931         {
28932             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
28933         }
28934         Opt_Callback_Void value_value = value_value_buf;;
28935         GetNodeModifiers()->getVideoModifier()->setOnStop(self, (const Opt_Callback_Void*)&value_value);
28936 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStop,Ark_NativePointer,KSerializerBuffer,int32_t)28937 KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStop, Ark_NativePointer, KSerializerBuffer, int32_t)
28938 void impl_VideoAttribute_enableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28939         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28940         Deserializer thisDeserializer(thisArray, thisLength);
28941         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28942         Opt_Boolean value_value_buf = {};
28943         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28944         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28945         {
28946             value_value_buf.value = thisDeserializer.readBoolean();
28947         }
28948         Opt_Boolean value_value = value_value_buf;;
28949         GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, (const Opt_Boolean*)&value_value);
28950 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_enableAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)28951 KOALA_INTEROP_DIRECT_V3(VideoAttribute_enableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
28952 void impl_VideoAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28953         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28954         Deserializer thisDeserializer(thisArray, thisLength);
28955         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28956         Opt_ImageAnalyzerConfig value_value_buf = {};
28957         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28958         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28959         {
28960             value_value_buf.value = thisDeserializer.readImageAnalyzerConfig();
28961         }
28962         Opt_ImageAnalyzerConfig value_value = value_value_buf;;
28963         GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, (const Opt_ImageAnalyzerConfig*)&value_value);
28964 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_analyzerConfig,Ark_NativePointer,KSerializerBuffer,int32_t)28965 KOALA_INTEROP_DIRECT_V3(VideoAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t)
28966 void impl_VideoAttribute_surfaceBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28967         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28968         Deserializer thisDeserializer(thisArray, thisLength);
28969         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28970         Opt_ColorMetrics value_value_buf = {};
28971         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28972         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28973         {
28974             value_value_buf.value = static_cast<Ark_ColorMetrics>(thisDeserializer.readColorMetrics());
28975         }
28976         Opt_ColorMetrics value_value = value_value_buf;;
28977         GetNodeModifiers()->getVideoModifier()->setSurfaceBackgroundColor(self, (const Opt_ColorMetrics*)&value_value);
28978 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_surfaceBackgroundColor,Ark_NativePointer,KSerializerBuffer,int32_t)28979 KOALA_INTEROP_DIRECT_V3(VideoAttribute_surfaceBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t)
28980 void impl_VideoAttribute_enableShortcutKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28981         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
28982         Deserializer thisDeserializer(thisArray, thisLength);
28983         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
28984         Opt_Boolean value_value_buf = {};
28985         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
28986         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
28987         {
28988             value_value_buf.value = thisDeserializer.readBoolean();
28989         }
28990         Opt_Boolean value_value = value_value_buf;;
28991         GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, (const Opt_Boolean*)&value_value);
28992 }
KOALA_INTEROP_DIRECT_V3(VideoAttribute_enableShortcutKey,Ark_NativePointer,KSerializerBuffer,int32_t)28993 KOALA_INTEROP_DIRECT_V3(VideoAttribute_enableShortcutKey, Ark_NativePointer, KSerializerBuffer, int32_t)
28994 Ark_NativePointer impl_Web_construct(Ark_Int32 id, Ark_Int32 flags) {
28995         return GetNodeModifiers()->getWebModifier()->construct(id, flags);
28996 }
KOALA_INTEROP_DIRECT_2(Web_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)28997 KOALA_INTEROP_DIRECT_2(Web_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
28998 void impl_WebInterface_setWebOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
28999         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29000         Deserializer thisDeserializer(thisArray, thisLength);
29001         Ark_WebOptions value_value = thisDeserializer.readWebOptions();;
29002         GetNodeModifiers()->getWebModifier()->setWebOptions(self, (const Ark_WebOptions*)&value_value);
29003 }
KOALA_INTEROP_DIRECT_V3(WebInterface_setWebOptions,Ark_NativePointer,KSerializerBuffer,int32_t)29004 KOALA_INTEROP_DIRECT_V3(WebInterface_setWebOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
29005 void impl_WebAttribute_javaScriptAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29006         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29007         Deserializer thisDeserializer(thisArray, thisLength);
29008         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29009         Opt_Boolean value_value_buf = {};
29010         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29011         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29012         {
29013             value_value_buf.value = thisDeserializer.readBoolean();
29014         }
29015         Opt_Boolean value_value = value_value_buf;;
29016         GetNodeModifiers()->getWebModifier()->setJavaScriptAccess(self, (const Opt_Boolean*)&value_value);
29017 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29018 KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29019 void impl_WebAttribute_fileAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29020         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29021         Deserializer thisDeserializer(thisArray, thisLength);
29022         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29023         Opt_Boolean value_value_buf = {};
29024         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29025         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29026         {
29027             value_value_buf.value = thisDeserializer.readBoolean();
29028         }
29029         Opt_Boolean value_value = value_value_buf;;
29030         GetNodeModifiers()->getWebModifier()->setFileAccess(self, (const Opt_Boolean*)&value_value);
29031 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_fileAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29032 KOALA_INTEROP_DIRECT_V3(WebAttribute_fileAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29033 void impl_WebAttribute_onlineImageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29034         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29035         Deserializer thisDeserializer(thisArray, thisLength);
29036         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29037         Opt_Boolean value_value_buf = {};
29038         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29039         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29040         {
29041             value_value_buf.value = thisDeserializer.readBoolean();
29042         }
29043         Opt_Boolean value_value = value_value_buf;;
29044         GetNodeModifiers()->getWebModifier()->setOnlineImageAccess(self, (const Opt_Boolean*)&value_value);
29045 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onlineImageAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29046 KOALA_INTEROP_DIRECT_V3(WebAttribute_onlineImageAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29047 void impl_WebAttribute_domStorageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29048         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29049         Deserializer thisDeserializer(thisArray, thisLength);
29050         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29051         Opt_Boolean value_value_buf = {};
29052         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29053         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29054         {
29055             value_value_buf.value = thisDeserializer.readBoolean();
29056         }
29057         Opt_Boolean value_value = value_value_buf;;
29058         GetNodeModifiers()->getWebModifier()->setDomStorageAccess(self, (const Opt_Boolean*)&value_value);
29059 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_domStorageAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29060 KOALA_INTEROP_DIRECT_V3(WebAttribute_domStorageAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29061 void impl_WebAttribute_imageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29062         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29063         Deserializer thisDeserializer(thisArray, thisLength);
29064         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29065         Opt_Boolean value_value_buf = {};
29066         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29067         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29068         {
29069             value_value_buf.value = thisDeserializer.readBoolean();
29070         }
29071         Opt_Boolean value_value = value_value_buf;;
29072         GetNodeModifiers()->getWebModifier()->setImageAccess(self, (const Opt_Boolean*)&value_value);
29073 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_imageAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29074 KOALA_INTEROP_DIRECT_V3(WebAttribute_imageAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29075 void impl_WebAttribute_mixedMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29076         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29077         Deserializer thisDeserializer(thisArray, thisLength);
29078         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29079         Opt_MixedMode value_value_buf = {};
29080         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29081         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29082         {
29083             value_value_buf.value = static_cast<Ark_MixedMode>(thisDeserializer.readInt32());
29084         }
29085         Opt_MixedMode value_value = value_value_buf;;
29086         GetNodeModifiers()->getWebModifier()->setMixedMode(self, (const Opt_MixedMode*)&value_value);
29087 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_mixedMode,Ark_NativePointer,KSerializerBuffer,int32_t)29088 KOALA_INTEROP_DIRECT_V3(WebAttribute_mixedMode, Ark_NativePointer, KSerializerBuffer, int32_t)
29089 void impl_WebAttribute_zoomAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29090         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29091         Deserializer thisDeserializer(thisArray, thisLength);
29092         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29093         Opt_Boolean value_value_buf = {};
29094         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29095         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29096         {
29097             value_value_buf.value = thisDeserializer.readBoolean();
29098         }
29099         Opt_Boolean value_value = value_value_buf;;
29100         GetNodeModifiers()->getWebModifier()->setZoomAccess(self, (const Opt_Boolean*)&value_value);
29101 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_zoomAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29102 KOALA_INTEROP_DIRECT_V3(WebAttribute_zoomAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29103 void impl_WebAttribute_geolocationAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29104         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29105         Deserializer thisDeserializer(thisArray, thisLength);
29106         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29107         Opt_Boolean value_value_buf = {};
29108         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29109         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29110         {
29111             value_value_buf.value = thisDeserializer.readBoolean();
29112         }
29113         Opt_Boolean value_value = value_value_buf;;
29114         GetNodeModifiers()->getWebModifier()->setGeolocationAccess(self, (const Opt_Boolean*)&value_value);
29115 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_geolocationAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29116 KOALA_INTEROP_DIRECT_V3(WebAttribute_geolocationAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29117 void impl_WebAttribute_javaScriptProxy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29118         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29119         Deserializer thisDeserializer(thisArray, thisLength);
29120         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29121         Opt_JavaScriptProxy value_value_buf = {};
29122         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29123         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29124         {
29125             value_value_buf.value = thisDeserializer.readJavaScriptProxy();
29126         }
29127         Opt_JavaScriptProxy value_value = value_value_buf;;
29128         GetNodeModifiers()->getWebModifier()->setJavaScriptProxy(self, (const Opt_JavaScriptProxy*)&value_value);
29129 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptProxy,Ark_NativePointer,KSerializerBuffer,int32_t)29130 KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptProxy, Ark_NativePointer, KSerializerBuffer, int32_t)
29131 void impl_WebAttribute_password(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29132         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29133         Deserializer thisDeserializer(thisArray, thisLength);
29134         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29135         Opt_Boolean value_value_buf = {};
29136         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29137         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29138         {
29139             value_value_buf.value = thisDeserializer.readBoolean();
29140         }
29141         Opt_Boolean value_value = value_value_buf;;
29142         GetNodeModifiers()->getWebModifier()->setPassword(self, (const Opt_Boolean*)&value_value);
29143 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_password,Ark_NativePointer,KSerializerBuffer,int32_t)29144 KOALA_INTEROP_DIRECT_V3(WebAttribute_password, Ark_NativePointer, KSerializerBuffer, int32_t)
29145 void impl_WebAttribute_cacheMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29146         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29147         Deserializer thisDeserializer(thisArray, thisLength);
29148         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29149         Opt_CacheMode value_value_buf = {};
29150         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29151         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29152         {
29153             value_value_buf.value = static_cast<Ark_CacheMode>(thisDeserializer.readInt32());
29154         }
29155         Opt_CacheMode value_value = value_value_buf;;
29156         GetNodeModifiers()->getWebModifier()->setCacheMode(self, (const Opt_CacheMode*)&value_value);
29157 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_cacheMode,Ark_NativePointer,KSerializerBuffer,int32_t)29158 KOALA_INTEROP_DIRECT_V3(WebAttribute_cacheMode, Ark_NativePointer, KSerializerBuffer, int32_t)
29159 void impl_WebAttribute_darkMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29160         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29161         Deserializer thisDeserializer(thisArray, thisLength);
29162         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29163         Opt_WebDarkMode value_value_buf = {};
29164         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29165         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29166         {
29167             value_value_buf.value = static_cast<Ark_WebDarkMode>(thisDeserializer.readInt32());
29168         }
29169         Opt_WebDarkMode value_value = value_value_buf;;
29170         GetNodeModifiers()->getWebModifier()->setDarkMode(self, (const Opt_WebDarkMode*)&value_value);
29171 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_darkMode,Ark_NativePointer,KSerializerBuffer,int32_t)29172 KOALA_INTEROP_DIRECT_V3(WebAttribute_darkMode, Ark_NativePointer, KSerializerBuffer, int32_t)
29173 void impl_WebAttribute_forceDarkAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29174         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29175         Deserializer thisDeserializer(thisArray, thisLength);
29176         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29177         Opt_Boolean value_value_buf = {};
29178         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29179         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29180         {
29181             value_value_buf.value = thisDeserializer.readBoolean();
29182         }
29183         Opt_Boolean value_value = value_value_buf;;
29184         GetNodeModifiers()->getWebModifier()->setForceDarkAccess(self, (const Opt_Boolean*)&value_value);
29185 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_forceDarkAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29186 KOALA_INTEROP_DIRECT_V3(WebAttribute_forceDarkAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29187 void impl_WebAttribute_mediaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29188         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29189         Deserializer thisDeserializer(thisArray, thisLength);
29190         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29191         Opt_WebMediaOptions value_value_buf = {};
29192         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29193         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29194         {
29195             value_value_buf.value = thisDeserializer.readWebMediaOptions();
29196         }
29197         Opt_WebMediaOptions value_value = value_value_buf;;
29198         GetNodeModifiers()->getWebModifier()->setMediaOptions(self, (const Opt_WebMediaOptions*)&value_value);
29199 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaOptions,Ark_NativePointer,KSerializerBuffer,int32_t)29200 KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
29201 void impl_WebAttribute_tableData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29202         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29203         Deserializer thisDeserializer(thisArray, thisLength);
29204         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29205         Opt_Boolean value_value_buf = {};
29206         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29207         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29208         {
29209             value_value_buf.value = thisDeserializer.readBoolean();
29210         }
29211         Opt_Boolean value_value = value_value_buf;;
29212         GetNodeModifiers()->getWebModifier()->setTableData(self, (const Opt_Boolean*)&value_value);
29213 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_tableData,Ark_NativePointer,KSerializerBuffer,int32_t)29214 KOALA_INTEROP_DIRECT_V3(WebAttribute_tableData, Ark_NativePointer, KSerializerBuffer, int32_t)
29215 void impl_WebAttribute_wideViewModeAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29216         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29217         Deserializer thisDeserializer(thisArray, thisLength);
29218         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29219         Opt_Boolean value_value_buf = {};
29220         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29221         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29222         {
29223             value_value_buf.value = thisDeserializer.readBoolean();
29224         }
29225         Opt_Boolean value_value = value_value_buf;;
29226         GetNodeModifiers()->getWebModifier()->setWideViewModeAccess(self, (const Opt_Boolean*)&value_value);
29227 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_wideViewModeAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29228 KOALA_INTEROP_DIRECT_V3(WebAttribute_wideViewModeAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29229 void impl_WebAttribute_overviewModeAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29230         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29231         Deserializer thisDeserializer(thisArray, thisLength);
29232         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29233         Opt_Boolean value_value_buf = {};
29234         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29235         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29236         {
29237             value_value_buf.value = thisDeserializer.readBoolean();
29238         }
29239         Opt_Boolean value_value = value_value_buf;;
29240         GetNodeModifiers()->getWebModifier()->setOverviewModeAccess(self, (const Opt_Boolean*)&value_value);
29241 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_overviewModeAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29242 KOALA_INTEROP_DIRECT_V3(WebAttribute_overviewModeAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29243 void impl_WebAttribute_overScrollMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29244         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29245         Deserializer thisDeserializer(thisArray, thisLength);
29246         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29247         Opt_OverScrollMode value_value_buf = {};
29248         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29249         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29250         {
29251             value_value_buf.value = static_cast<Ark_OverScrollMode>(thisDeserializer.readInt32());
29252         }
29253         Opt_OverScrollMode value_value = value_value_buf;;
29254         GetNodeModifiers()->getWebModifier()->setOverScrollMode(self, (const Opt_OverScrollMode*)&value_value);
29255 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_overScrollMode,Ark_NativePointer,KSerializerBuffer,int32_t)29256 KOALA_INTEROP_DIRECT_V3(WebAttribute_overScrollMode, Ark_NativePointer, KSerializerBuffer, int32_t)
29257 void impl_WebAttribute_blurOnKeyboardHideMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29258         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29259         Deserializer thisDeserializer(thisArray, thisLength);
29260         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29261         Opt_BlurOnKeyboardHideMode value_value_buf = {};
29262         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29263         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29264         {
29265             value_value_buf.value = static_cast<Ark_BlurOnKeyboardHideMode>(thisDeserializer.readInt32());
29266         }
29267         Opt_BlurOnKeyboardHideMode value_value = value_value_buf;;
29268         GetNodeModifiers()->getWebModifier()->setBlurOnKeyboardHideMode(self, (const Opt_BlurOnKeyboardHideMode*)&value_value);
29269 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_blurOnKeyboardHideMode,Ark_NativePointer,KSerializerBuffer,int32_t)29270 KOALA_INTEROP_DIRECT_V3(WebAttribute_blurOnKeyboardHideMode, Ark_NativePointer, KSerializerBuffer, int32_t)
29271 void impl_WebAttribute_textZoomAtio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29272         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29273         Deserializer thisDeserializer(thisArray, thisLength);
29274         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29275         Opt_Number value_value_buf = {};
29276         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29277         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29278         {
29279             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
29280         }
29281         Opt_Number value_value = value_value_buf;;
29282         GetNodeModifiers()->getWebModifier()->setTextZoomAtio(self, (const Opt_Number*)&value_value);
29283 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_textZoomAtio,Ark_NativePointer,KSerializerBuffer,int32_t)29284 KOALA_INTEROP_DIRECT_V3(WebAttribute_textZoomAtio, Ark_NativePointer, KSerializerBuffer, int32_t)
29285 void impl_WebAttribute_textZoomRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29286         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29287         Deserializer thisDeserializer(thisArray, thisLength);
29288         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29289         Opt_Number value_value_buf = {};
29290         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29291         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29292         {
29293             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
29294         }
29295         Opt_Number value_value = value_value_buf;;
29296         GetNodeModifiers()->getWebModifier()->setTextZoomRatio(self, (const Opt_Number*)&value_value);
29297 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_textZoomRatio,Ark_NativePointer,KSerializerBuffer,int32_t)29298 KOALA_INTEROP_DIRECT_V3(WebAttribute_textZoomRatio, Ark_NativePointer, KSerializerBuffer, int32_t)
29299 void impl_WebAttribute_databaseAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29300         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29301         Deserializer thisDeserializer(thisArray, thisLength);
29302         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29303         Opt_Boolean value_value_buf = {};
29304         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29305         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29306         {
29307             value_value_buf.value = thisDeserializer.readBoolean();
29308         }
29309         Opt_Boolean value_value = value_value_buf;;
29310         GetNodeModifiers()->getWebModifier()->setDatabaseAccess(self, (const Opt_Boolean*)&value_value);
29311 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_databaseAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29312 KOALA_INTEROP_DIRECT_V3(WebAttribute_databaseAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29313 void impl_WebAttribute_initialScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29314         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29315         Deserializer thisDeserializer(thisArray, thisLength);
29316         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29317         Opt_Number value_value_buf = {};
29318         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29319         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29320         {
29321             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
29322         }
29323         Opt_Number value_value = value_value_buf;;
29324         GetNodeModifiers()->getWebModifier()->setInitialScale(self, (const Opt_Number*)&value_value);
29325 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_initialScale,Ark_NativePointer,KSerializerBuffer,int32_t)29326 KOALA_INTEROP_DIRECT_V3(WebAttribute_initialScale, Ark_NativePointer, KSerializerBuffer, int32_t)
29327 void impl_WebAttribute_userAgent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29328         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29329         Deserializer thisDeserializer(thisArray, thisLength);
29330         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29331         Opt_String value_value_buf = {};
29332         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29333         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29334         {
29335             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
29336         }
29337         Opt_String value_value = value_value_buf;;
29338         GetNodeModifiers()->getWebModifier()->setUserAgent(self, (const Opt_String*)&value_value);
29339 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_userAgent,Ark_NativePointer,KSerializerBuffer,int32_t)29340 KOALA_INTEROP_DIRECT_V3(WebAttribute_userAgent, Ark_NativePointer, KSerializerBuffer, int32_t)
29341 void impl_WebAttribute_metaViewport(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29342         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29343         Deserializer thisDeserializer(thisArray, thisLength);
29344         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29345         Opt_Boolean value_value_buf = {};
29346         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29347         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29348         {
29349             value_value_buf.value = thisDeserializer.readBoolean();
29350         }
29351         Opt_Boolean value_value = value_value_buf;;
29352         GetNodeModifiers()->getWebModifier()->setMetaViewport(self, (const Opt_Boolean*)&value_value);
29353 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_metaViewport,Ark_NativePointer,KSerializerBuffer,int32_t)29354 KOALA_INTEROP_DIRECT_V3(WebAttribute_metaViewport, Ark_NativePointer, KSerializerBuffer, int32_t)
29355 void impl_WebAttribute_onPageEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29356         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29357         Deserializer thisDeserializer(thisArray, thisLength);
29358         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29359         Opt_Callback_OnPageEndEvent_Void value_value_buf = {};
29360         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29361         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29362         {
29363             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnPageEndEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnPageEndEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageEndEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnPageEndEvent_Void))))};
29364         }
29365         Opt_Callback_OnPageEndEvent_Void value_value = value_value_buf;;
29366         GetNodeModifiers()->getWebModifier()->setOnPageEnd(self, (const Opt_Callback_OnPageEndEvent_Void*)&value_value);
29367 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageEnd,Ark_NativePointer,KSerializerBuffer,int32_t)29368 KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
29369 void impl_WebAttribute_onPageBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29370         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29371         Deserializer thisDeserializer(thisArray, thisLength);
29372         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29373         Opt_Callback_OnPageBeginEvent_Void value_value_buf = {};
29374         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29375         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29376         {
29377             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnPageBeginEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnPageBeginEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageBeginEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnPageBeginEvent_Void))))};
29378         }
29379         Opt_Callback_OnPageBeginEvent_Void value_value = value_value_buf;;
29380         GetNodeModifiers()->getWebModifier()->setOnPageBegin(self, (const Opt_Callback_OnPageBeginEvent_Void*)&value_value);
29381 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageBegin,Ark_NativePointer,KSerializerBuffer,int32_t)29382 KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
29383 void impl_WebAttribute_onProgressChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29384         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29385         Deserializer thisDeserializer(thisArray, thisLength);
29386         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29387         Opt_Callback_OnProgressChangeEvent_Void value_value_buf = {};
29388         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29389         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29390         {
29391             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnProgressChangeEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnProgressChangeEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnProgressChangeEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnProgressChangeEvent_Void))))};
29392         }
29393         Opt_Callback_OnProgressChangeEvent_Void value_value = value_value_buf;;
29394         GetNodeModifiers()->getWebModifier()->setOnProgressChange(self, (const Opt_Callback_OnProgressChangeEvent_Void*)&value_value);
29395 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onProgressChange,Ark_NativePointer,KSerializerBuffer,int32_t)29396 KOALA_INTEROP_DIRECT_V3(WebAttribute_onProgressChange, Ark_NativePointer, KSerializerBuffer, int32_t)
29397 void impl_WebAttribute_onTitleReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29398         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29399         Deserializer thisDeserializer(thisArray, thisLength);
29400         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29401         Opt_Callback_OnTitleReceiveEvent_Void value_value_buf = {};
29402         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29403         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29404         {
29405             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnTitleReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnTitleReceiveEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnTitleReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnTitleReceiveEvent_Void))))};
29406         }
29407         Opt_Callback_OnTitleReceiveEvent_Void value_value = value_value_buf;;
29408         GetNodeModifiers()->getWebModifier()->setOnTitleReceive(self, (const Opt_Callback_OnTitleReceiveEvent_Void*)&value_value);
29409 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onTitleReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29410 KOALA_INTEROP_DIRECT_V3(WebAttribute_onTitleReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29411 void impl_WebAttribute_onGeolocationHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29412         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29413         Deserializer thisDeserializer(thisArray, thisLength);
29414         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29415         Opt_Callback_Void value_value_buf = {};
29416         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29417         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29418         {
29419             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
29420         }
29421         Opt_Callback_Void value_value = value_value_buf;;
29422         GetNodeModifiers()->getWebModifier()->setOnGeolocationHide(self, (const Opt_Callback_Void*)&value_value);
29423 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationHide,Ark_NativePointer,KSerializerBuffer,int32_t)29424 KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationHide, Ark_NativePointer, KSerializerBuffer, int32_t)
29425 void impl_WebAttribute_onGeolocationShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29426         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29427         Deserializer thisDeserializer(thisArray, thisLength);
29428         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29429         Opt_Callback_OnGeolocationShowEvent_Void value_value_buf = {};
29430         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29431         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29432         {
29433             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnGeolocationShowEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnGeolocationShowEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnGeolocationShowEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnGeolocationShowEvent_Void))))};
29434         }
29435         Opt_Callback_OnGeolocationShowEvent_Void value_value = value_value_buf;;
29436         GetNodeModifiers()->getWebModifier()->setOnGeolocationShow(self, (const Opt_Callback_OnGeolocationShowEvent_Void*)&value_value);
29437 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationShow,Ark_NativePointer,KSerializerBuffer,int32_t)29438 KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationShow, Ark_NativePointer, KSerializerBuffer, int32_t)
29439 void impl_WebAttribute_onRequestSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29440         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29441         Deserializer thisDeserializer(thisArray, thisLength);
29442         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29443         Opt_Callback_Void value_value_buf = {};
29444         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29445         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29446         {
29447             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
29448         }
29449         Opt_Callback_Void value_value = value_value_buf;;
29450         GetNodeModifiers()->getWebModifier()->setOnRequestSelected(self, (const Opt_Callback_Void*)&value_value);
29451 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRequestSelected,Ark_NativePointer,KSerializerBuffer,int32_t)29452 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRequestSelected, Ark_NativePointer, KSerializerBuffer, int32_t)
29453 void impl_WebAttribute_onAlert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29454         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29455         Deserializer thisDeserializer(thisArray, thisLength);
29456         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29457         Opt_Callback_OnAlertEvent_Boolean value_value_buf = {};
29458         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29459         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29460         {
29461             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnAlertEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnAlertEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnAlertEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnAlertEvent_Boolean))))};
29462         }
29463         Opt_Callback_OnAlertEvent_Boolean value_value = value_value_buf;;
29464         GetNodeModifiers()->getWebModifier()->setOnAlert(self, (const Opt_Callback_OnAlertEvent_Boolean*)&value_value);
29465 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onAlert,Ark_NativePointer,KSerializerBuffer,int32_t)29466 KOALA_INTEROP_DIRECT_V3(WebAttribute_onAlert, Ark_NativePointer, KSerializerBuffer, int32_t)
29467 void impl_WebAttribute_onBeforeUnload(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29468         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29469         Deserializer thisDeserializer(thisArray, thisLength);
29470         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29471         Opt_Callback_OnBeforeUnloadEvent_Boolean value_value_buf = {};
29472         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29473         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29474         {
29475             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnBeforeUnloadEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnBeforeUnloadEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnBeforeUnloadEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnBeforeUnloadEvent_Boolean))))};
29476         }
29477         Opt_Callback_OnBeforeUnloadEvent_Boolean value_value = value_value_buf;;
29478         GetNodeModifiers()->getWebModifier()->setOnBeforeUnload(self, (const Opt_Callback_OnBeforeUnloadEvent_Boolean*)&value_value);
29479 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onBeforeUnload,Ark_NativePointer,KSerializerBuffer,int32_t)29480 KOALA_INTEROP_DIRECT_V3(WebAttribute_onBeforeUnload, Ark_NativePointer, KSerializerBuffer, int32_t)
29481 void impl_WebAttribute_onConfirm(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29482         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29483         Deserializer thisDeserializer(thisArray, thisLength);
29484         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29485         Opt_Callback_OnConfirmEvent_Boolean value_value_buf = {};
29486         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29487         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29488         {
29489             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnConfirmEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnConfirmEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnConfirmEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnConfirmEvent_Boolean))))};
29490         }
29491         Opt_Callback_OnConfirmEvent_Boolean value_value = value_value_buf;;
29492         GetNodeModifiers()->getWebModifier()->setOnConfirm(self, (const Opt_Callback_OnConfirmEvent_Boolean*)&value_value);
29493 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onConfirm,Ark_NativePointer,KSerializerBuffer,int32_t)29494 KOALA_INTEROP_DIRECT_V3(WebAttribute_onConfirm, Ark_NativePointer, KSerializerBuffer, int32_t)
29495 void impl_WebAttribute_onPrompt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29496         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29497         Deserializer thisDeserializer(thisArray, thisLength);
29498         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29499         Opt_Callback_OnPromptEvent_Boolean value_value_buf = {};
29500         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29501         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29502         {
29503             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnPromptEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnPromptEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPromptEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnPromptEvent_Boolean))))};
29504         }
29505         Opt_Callback_OnPromptEvent_Boolean value_value = value_value_buf;;
29506         GetNodeModifiers()->getWebModifier()->setOnPrompt(self, (const Opt_Callback_OnPromptEvent_Boolean*)&value_value);
29507 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onPrompt,Ark_NativePointer,KSerializerBuffer,int32_t)29508 KOALA_INTEROP_DIRECT_V3(WebAttribute_onPrompt, Ark_NativePointer, KSerializerBuffer, int32_t)
29509 void impl_WebAttribute_onConsole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29510         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29511         Deserializer thisDeserializer(thisArray, thisLength);
29512         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29513         Opt_Callback_OnConsoleEvent_Boolean value_value_buf = {};
29514         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29515         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29516         {
29517             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnConsoleEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnConsoleEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnConsoleEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnConsoleEvent_Boolean))))};
29518         }
29519         Opt_Callback_OnConsoleEvent_Boolean value_value = value_value_buf;;
29520         GetNodeModifiers()->getWebModifier()->setOnConsole(self, (const Opt_Callback_OnConsoleEvent_Boolean*)&value_value);
29521 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onConsole,Ark_NativePointer,KSerializerBuffer,int32_t)29522 KOALA_INTEROP_DIRECT_V3(WebAttribute_onConsole, Ark_NativePointer, KSerializerBuffer, int32_t)
29523 void impl_WebAttribute_onErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29524         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29525         Deserializer thisDeserializer(thisArray, thisLength);
29526         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29527         Opt_Callback_OnErrorReceiveEvent_Void value_value_buf = {};
29528         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29529         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29530         {
29531             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnErrorReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnErrorReceiveEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnErrorReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnErrorReceiveEvent_Void))))};
29532         }
29533         Opt_Callback_OnErrorReceiveEvent_Void value_value = value_value_buf;;
29534         GetNodeModifiers()->getWebModifier()->setOnErrorReceive(self, (const Opt_Callback_OnErrorReceiveEvent_Void*)&value_value);
29535 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onErrorReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29536 KOALA_INTEROP_DIRECT_V3(WebAttribute_onErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29537 void impl_WebAttribute_onHttpErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29538         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29539         Deserializer thisDeserializer(thisArray, thisLength);
29540         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29541         Opt_Callback_OnHttpErrorReceiveEvent_Void value_value_buf = {};
29542         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29543         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29544         {
29545             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnHttpErrorReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnHttpErrorReceiveEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnHttpErrorReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnHttpErrorReceiveEvent_Void))))};
29546         }
29547         Opt_Callback_OnHttpErrorReceiveEvent_Void value_value = value_value_buf;;
29548         GetNodeModifiers()->getWebModifier()->setOnHttpErrorReceive(self, (const Opt_Callback_OnHttpErrorReceiveEvent_Void*)&value_value);
29549 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpErrorReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29550 KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29551 void impl_WebAttribute_onDownloadStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29552         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29553         Deserializer thisDeserializer(thisArray, thisLength);
29554         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29555         Opt_Callback_OnDownloadStartEvent_Void value_value_buf = {};
29556         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29557         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29558         {
29559             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnDownloadStartEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnDownloadStartEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnDownloadStartEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnDownloadStartEvent_Void))))};
29560         }
29561         Opt_Callback_OnDownloadStartEvent_Void value_value = value_value_buf;;
29562         GetNodeModifiers()->getWebModifier()->setOnDownloadStart(self, (const Opt_Callback_OnDownloadStartEvent_Void*)&value_value);
29563 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onDownloadStart,Ark_NativePointer,KSerializerBuffer,int32_t)29564 KOALA_INTEROP_DIRECT_V3(WebAttribute_onDownloadStart, Ark_NativePointer, KSerializerBuffer, int32_t)
29565 void impl_WebAttribute_onRefreshAccessedHistory(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29566         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29567         Deserializer thisDeserializer(thisArray, thisLength);
29568         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29569         Opt_Callback_OnRefreshAccessedHistoryEvent_Void value_value_buf = {};
29570         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29571         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29572         {
29573             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnRefreshAccessedHistoryEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnRefreshAccessedHistoryEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnRefreshAccessedHistoryEvent_Void))))};
29574         }
29575         Opt_Callback_OnRefreshAccessedHistoryEvent_Void value_value = value_value_buf;;
29576         GetNodeModifiers()->getWebModifier()->setOnRefreshAccessedHistory(self, (const Opt_Callback_OnRefreshAccessedHistoryEvent_Void*)&value_value);
29577 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRefreshAccessedHistory,Ark_NativePointer,KSerializerBuffer,int32_t)29578 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRefreshAccessedHistory, Ark_NativePointer, KSerializerBuffer, int32_t)
29579 void impl_WebAttribute_onUrlLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29580         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29581         Deserializer thisDeserializer(thisArray, thisLength);
29582         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29583         Opt_Type_WebAttribute_onUrlLoadIntercept_callback value_value_buf = {};
29584         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29585         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29586         {
29587             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Literal_Union_String_WebResourceRequest_data event, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Type_WebAttribute_onUrlLoadIntercept_callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Literal_Union_String_WebResourceRequest_data event, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onUrlLoadIntercept_callback))))};
29588         }
29589         Opt_Type_WebAttribute_onUrlLoadIntercept_callback value_value = value_value_buf;;
29590         GetNodeModifiers()->getWebModifier()->setOnUrlLoadIntercept(self, (const Opt_Type_WebAttribute_onUrlLoadIntercept_callback*)&value_value);
29591 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onUrlLoadIntercept,Ark_NativePointer,KSerializerBuffer,int32_t)29592 KOALA_INTEROP_DIRECT_V3(WebAttribute_onUrlLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t)
29593 void impl_WebAttribute_onSslErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29594         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29595         Deserializer thisDeserializer(thisArray, thisLength);
29596         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29597         Opt_Callback_Literal_Function_handler_Object_error_Void value_value_buf = {};
29598         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29599         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29600         {
29601             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Literal_Function_handler_Object_error event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Literal_Function_handler_Object_error_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Literal_Function_handler_Object_error event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Literal_Function_handler_Object_error_Void))))};
29602         }
29603         Opt_Callback_Literal_Function_handler_Object_error_Void value_value = value_value_buf;;
29604         GetNodeModifiers()->getWebModifier()->setOnSslErrorReceive(self, (const Opt_Callback_Literal_Function_handler_Object_error_Void*)&value_value);
29605 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29606 KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29607 void impl_WebAttribute_onRenderExited0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29608         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29609         Deserializer thisDeserializer(thisArray, thisLength);
29610         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29611         Opt_Callback_OnRenderExitedEvent_Void value_value_buf = {};
29612         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29613         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29614         {
29615             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnRenderExitedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnRenderExitedEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnRenderExitedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnRenderExitedEvent_Void))))};
29616         }
29617         Opt_Callback_OnRenderExitedEvent_Void value_value = value_value_buf;;
29618         GetNodeModifiers()->getWebModifier()->setOnRenderExited0(self, (const Opt_Callback_OnRenderExitedEvent_Void*)&value_value);
29619 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited0,Ark_NativePointer,KSerializerBuffer,int32_t)29620 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited0, Ark_NativePointer, KSerializerBuffer, int32_t)
29621 void impl_WebAttribute_onRenderExited1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29622         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29623         Deserializer thisDeserializer(thisArray, thisLength);
29624         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29625         Opt_Callback_Literal_Object_detail_Boolean value_value_buf = {};
29626         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29627         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29628         {
29629             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Literal_Object_detail event, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Literal_Object_detail_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Literal_Object_detail event, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Literal_Object_detail_Boolean))))};
29630         }
29631         Opt_Callback_Literal_Object_detail_Boolean value_value = value_value_buf;;
29632         GetNodeModifiers()->getWebModifier()->setOnRenderExited1(self, (const Opt_Callback_Literal_Object_detail_Boolean*)&value_value);
29633 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited1,Ark_NativePointer,KSerializerBuffer,int32_t)29634 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited1, Ark_NativePointer, KSerializerBuffer, int32_t)
29635 void impl_WebAttribute_onShowFileSelector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29636         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29637         Deserializer thisDeserializer(thisArray, thisLength);
29638         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29639         Opt_Callback_OnShowFileSelectorEvent_Boolean value_value_buf = {};
29640         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29641         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29642         {
29643             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnShowFileSelectorEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnShowFileSelectorEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnShowFileSelectorEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnShowFileSelectorEvent_Boolean))))};
29644         }
29645         Opt_Callback_OnShowFileSelectorEvent_Boolean value_value = value_value_buf;;
29646         GetNodeModifiers()->getWebModifier()->setOnShowFileSelector(self, (const Opt_Callback_OnShowFileSelectorEvent_Boolean*)&value_value);
29647 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onShowFileSelector,Ark_NativePointer,KSerializerBuffer,int32_t)29648 KOALA_INTEROP_DIRECT_V3(WebAttribute_onShowFileSelector, Ark_NativePointer, KSerializerBuffer, int32_t)
29649 void impl_WebAttribute_onFileSelectorShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29650         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29651         Deserializer thisDeserializer(thisArray, thisLength);
29652         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29653         Opt_Type_WebAttribute_onFileSelectorShow_callback value_value_buf = {};
29654         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29655         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29656         {
29657             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Literal_Function_callback__Object_fileSelector event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Type_WebAttribute_onFileSelectorShow_callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Literal_Function_callback__Object_fileSelector event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onFileSelectorShow_callback))))};
29658         }
29659         Opt_Type_WebAttribute_onFileSelectorShow_callback value_value = value_value_buf;;
29660         GetNodeModifiers()->getWebModifier()->setOnFileSelectorShow(self, (const Opt_Type_WebAttribute_onFileSelectorShow_callback*)&value_value);
29661 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFileSelectorShow,Ark_NativePointer,KSerializerBuffer,int32_t)29662 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFileSelectorShow, Ark_NativePointer, KSerializerBuffer, int32_t)
29663 void impl_WebAttribute_onResourceLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29664         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29665         Deserializer thisDeserializer(thisArray, thisLength);
29666         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29667         Opt_Callback_OnResourceLoadEvent_Void value_value_buf = {};
29668         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29669         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29670         {
29671             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnResourceLoadEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnResourceLoadEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnResourceLoadEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnResourceLoadEvent_Void))))};
29672         }
29673         Opt_Callback_OnResourceLoadEvent_Void value_value = value_value_buf;;
29674         GetNodeModifiers()->getWebModifier()->setOnResourceLoad(self, (const Opt_Callback_OnResourceLoadEvent_Void*)&value_value);
29675 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onResourceLoad,Ark_NativePointer,KSerializerBuffer,int32_t)29676 KOALA_INTEROP_DIRECT_V3(WebAttribute_onResourceLoad, Ark_NativePointer, KSerializerBuffer, int32_t)
29677 void impl_WebAttribute_onFullScreenExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29678         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29679         Deserializer thisDeserializer(thisArray, thisLength);
29680         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29681         Opt_Callback_Void value_value_buf = {};
29682         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29683         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29684         {
29685             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
29686         }
29687         Opt_Callback_Void value_value = value_value_buf;;
29688         GetNodeModifiers()->getWebModifier()->setOnFullScreenExit(self, (const Opt_Callback_Void*)&value_value);
29689 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenExit,Ark_NativePointer,KSerializerBuffer,int32_t)29690 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenExit, Ark_NativePointer, KSerializerBuffer, int32_t)
29691 void impl_WebAttribute_onFullScreenEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29692         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29693         Deserializer thisDeserializer(thisArray, thisLength);
29694         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29695         Opt_OnFullScreenEnterCallback value_value_buf = {};
29696         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29697         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29698         {
29699             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnFullScreenEnterCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnFullScreenEnterCallback))))};
29700         }
29701         Opt_OnFullScreenEnterCallback value_value = value_value_buf;;
29702         GetNodeModifiers()->getWebModifier()->setOnFullScreenEnter(self, (const Opt_OnFullScreenEnterCallback*)&value_value);
29703 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenEnter,Ark_NativePointer,KSerializerBuffer,int32_t)29704 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenEnter, Ark_NativePointer, KSerializerBuffer, int32_t)
29705 void impl_WebAttribute_onScaleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29706         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29707         Deserializer thisDeserializer(thisArray, thisLength);
29708         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29709         Opt_Callback_OnScaleChangeEvent_Void value_value_buf = {};
29710         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29711         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29712         {
29713             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnScaleChangeEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnScaleChangeEvent_Void))))};
29714         }
29715         Opt_Callback_OnScaleChangeEvent_Void value_value = value_value_buf;;
29716         GetNodeModifiers()->getWebModifier()->setOnScaleChange(self, (const Opt_Callback_OnScaleChangeEvent_Void*)&value_value);
29717 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onScaleChange,Ark_NativePointer,KSerializerBuffer,int32_t)29718 KOALA_INTEROP_DIRECT_V3(WebAttribute_onScaleChange, Ark_NativePointer, KSerializerBuffer, int32_t)
29719 void impl_WebAttribute_onHttpAuthRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29720         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29721         Deserializer thisDeserializer(thisArray, thisLength);
29722         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29723         Opt_Callback_OnHttpAuthRequestEvent_Boolean value_value_buf = {};
29724         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29725         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29726         {
29727             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnHttpAuthRequestEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnHttpAuthRequestEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnHttpAuthRequestEvent_Boolean))))};
29728         }
29729         Opt_Callback_OnHttpAuthRequestEvent_Boolean value_value = value_value_buf;;
29730         GetNodeModifiers()->getWebModifier()->setOnHttpAuthRequest(self, (const Opt_Callback_OnHttpAuthRequestEvent_Boolean*)&value_value);
29731 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpAuthRequest,Ark_NativePointer,KSerializerBuffer,int32_t)29732 KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpAuthRequest, Ark_NativePointer, KSerializerBuffer, int32_t)
29733 void impl_WebAttribute_onInterceptRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29734         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29735         Deserializer thisDeserializer(thisArray, thisLength);
29736         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29737         Opt_Callback_OnInterceptRequestEvent_WebResourceResponse value_value_buf = {};
29738         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29739         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29740         {
29741             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnInterceptRequestEvent parameter, const Callback_WebResourceResponse_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnInterceptRequestEvent parameter, const Callback_WebResourceResponse_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse))))};
29742         }
29743         Opt_Callback_OnInterceptRequestEvent_WebResourceResponse value_value = value_value_buf;;
29744         GetNodeModifiers()->getWebModifier()->setOnInterceptRequest(self, (const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse*)&value_value);
29745 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptRequest,Ark_NativePointer,KSerializerBuffer,int32_t)29746 KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptRequest, Ark_NativePointer, KSerializerBuffer, int32_t)
29747 void impl_WebAttribute_onPermissionRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29748         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29749         Deserializer thisDeserializer(thisArray, thisLength);
29750         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29751         Opt_Callback_OnPermissionRequestEvent_Void value_value_buf = {};
29752         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29753         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29754         {
29755             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnPermissionRequestEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnPermissionRequestEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPermissionRequestEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnPermissionRequestEvent_Void))))};
29756         }
29757         Opt_Callback_OnPermissionRequestEvent_Void value_value = value_value_buf;;
29758         GetNodeModifiers()->getWebModifier()->setOnPermissionRequest(self, (const Opt_Callback_OnPermissionRequestEvent_Void*)&value_value);
29759 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onPermissionRequest,Ark_NativePointer,KSerializerBuffer,int32_t)29760 KOALA_INTEROP_DIRECT_V3(WebAttribute_onPermissionRequest, Ark_NativePointer, KSerializerBuffer, int32_t)
29761 void impl_WebAttribute_onScreenCaptureRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29762         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29763         Deserializer thisDeserializer(thisArray, thisLength);
29764         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29765         Opt_Callback_OnScreenCaptureRequestEvent_Void value_value_buf = {};
29766         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29767         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29768         {
29769             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnScreenCaptureRequestEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnScreenCaptureRequestEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScreenCaptureRequestEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnScreenCaptureRequestEvent_Void))))};
29770         }
29771         Opt_Callback_OnScreenCaptureRequestEvent_Void value_value = value_value_buf;;
29772         GetNodeModifiers()->getWebModifier()->setOnScreenCaptureRequest(self, (const Opt_Callback_OnScreenCaptureRequestEvent_Void*)&value_value);
29773 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onScreenCaptureRequest,Ark_NativePointer,KSerializerBuffer,int32_t)29774 KOALA_INTEROP_DIRECT_V3(WebAttribute_onScreenCaptureRequest, Ark_NativePointer, KSerializerBuffer, int32_t)
29775 void impl_WebAttribute_onContextMenuShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29776         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29777         Deserializer thisDeserializer(thisArray, thisLength);
29778         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29779         Opt_Callback_OnContextMenuShowEvent_Boolean value_value_buf = {};
29780         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29781         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29782         {
29783             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnContextMenuShowEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnContextMenuShowEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnContextMenuShowEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnContextMenuShowEvent_Boolean))))};
29784         }
29785         Opt_Callback_OnContextMenuShowEvent_Boolean value_value = value_value_buf;;
29786         GetNodeModifiers()->getWebModifier()->setOnContextMenuShow(self, (const Opt_Callback_OnContextMenuShowEvent_Boolean*)&value_value);
29787 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuShow,Ark_NativePointer,KSerializerBuffer,int32_t)29788 KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuShow, Ark_NativePointer, KSerializerBuffer, int32_t)
29789 void impl_WebAttribute_onContextMenuHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29790         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29791         Deserializer thisDeserializer(thisArray, thisLength);
29792         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29793         Opt_OnContextMenuHideCallback value_value_buf = {};
29794         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29795         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29796         {
29797             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnContextMenuHideCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnContextMenuHideCallback))))};
29798         }
29799         Opt_OnContextMenuHideCallback value_value = value_value_buf;;
29800         GetNodeModifiers()->getWebModifier()->setOnContextMenuHide(self, (const Opt_OnContextMenuHideCallback*)&value_value);
29801 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuHide,Ark_NativePointer,KSerializerBuffer,int32_t)29802 KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuHide, Ark_NativePointer, KSerializerBuffer, int32_t)
29803 void impl_WebAttribute_mediaPlayGestureAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29804         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29805         Deserializer thisDeserializer(thisArray, thisLength);
29806         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29807         Opt_Boolean value_value_buf = {};
29808         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29809         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29810         {
29811             value_value_buf.value = thisDeserializer.readBoolean();
29812         }
29813         Opt_Boolean value_value = value_value_buf;;
29814         GetNodeModifiers()->getWebModifier()->setMediaPlayGestureAccess(self, (const Opt_Boolean*)&value_value);
29815 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaPlayGestureAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29816 KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaPlayGestureAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29817 void impl_WebAttribute_onSearchResultReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29818         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29819         Deserializer thisDeserializer(thisArray, thisLength);
29820         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29821         Opt_Callback_OnSearchResultReceiveEvent_Void value_value_buf = {};
29822         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29823         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29824         {
29825             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnSearchResultReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnSearchResultReceiveEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnSearchResultReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnSearchResultReceiveEvent_Void))))};
29826         }
29827         Opt_Callback_OnSearchResultReceiveEvent_Void value_value = value_value_buf;;
29828         GetNodeModifiers()->getWebModifier()->setOnSearchResultReceive(self, (const Opt_Callback_OnSearchResultReceiveEvent_Void*)&value_value);
29829 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onSearchResultReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29830 KOALA_INTEROP_DIRECT_V3(WebAttribute_onSearchResultReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29831 void impl_WebAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29832         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29833         Deserializer thisDeserializer(thisArray, thisLength);
29834         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29835         Opt_Callback_OnScrollEvent_Void value_value_buf = {};
29836         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29837         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29838         {
29839             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnScrollEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnScrollEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScrollEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnScrollEvent_Void))))};
29840         }
29841         Opt_Callback_OnScrollEvent_Void value_value = value_value_buf;;
29842         GetNodeModifiers()->getWebModifier()->setOnScroll(self, (const Opt_Callback_OnScrollEvent_Void*)&value_value);
29843 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onScroll,Ark_NativePointer,KSerializerBuffer,int32_t)29844 KOALA_INTEROP_DIRECT_V3(WebAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
29845 void impl_WebAttribute_onSslErrorEventReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29846         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29847         Deserializer thisDeserializer(thisArray, thisLength);
29848         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29849         Opt_Callback_OnSslErrorEventReceiveEvent_Void value_value_buf = {};
29850         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29851         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29852         {
29853             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnSslErrorEventReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnSslErrorEventReceiveEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnSslErrorEventReceiveEvent_Void))))};
29854         }
29855         Opt_Callback_OnSslErrorEventReceiveEvent_Void value_value = value_value_buf;;
29856         GetNodeModifiers()->getWebModifier()->setOnSslErrorEventReceive(self, (const Opt_Callback_OnSslErrorEventReceiveEvent_Void*)&value_value);
29857 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEventReceive,Ark_NativePointer,KSerializerBuffer,int32_t)29858 KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEventReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
29859 void impl_WebAttribute_onSslErrorEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29860         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29861         Deserializer thisDeserializer(thisArray, thisLength);
29862         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29863         Opt_OnSslErrorEventCallback value_value_buf = {};
29864         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29865         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29866         {
29867             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSslErrorEventCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSslErrorEventCallback))))};
29868         }
29869         Opt_OnSslErrorEventCallback value_value = value_value_buf;;
29870         GetNodeModifiers()->getWebModifier()->setOnSslErrorEvent(self, (const Opt_OnSslErrorEventCallback*)&value_value);
29871 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEvent,Ark_NativePointer,KSerializerBuffer,int32_t)29872 KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
29873 void impl_WebAttribute_onClientAuthenticationRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29874         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29875         Deserializer thisDeserializer(thisArray, thisLength);
29876         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29877         Opt_Callback_OnClientAuthenticationEvent_Void value_value_buf = {};
29878         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29879         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29880         {
29881             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnClientAuthenticationEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnClientAuthenticationEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnClientAuthenticationEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnClientAuthenticationEvent_Void))))};
29882         }
29883         Opt_Callback_OnClientAuthenticationEvent_Void value_value = value_value_buf;;
29884         GetNodeModifiers()->getWebModifier()->setOnClientAuthenticationRequest(self, (const Opt_Callback_OnClientAuthenticationEvent_Void*)&value_value);
29885 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onClientAuthenticationRequest,Ark_NativePointer,KSerializerBuffer,int32_t)29886 KOALA_INTEROP_DIRECT_V3(WebAttribute_onClientAuthenticationRequest, Ark_NativePointer, KSerializerBuffer, int32_t)
29887 void impl_WebAttribute_onWindowNew(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29888         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29889         Deserializer thisDeserializer(thisArray, thisLength);
29890         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29891         Opt_Callback_OnWindowNewEvent_Void value_value_buf = {};
29892         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29893         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29894         {
29895             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnWindowNewEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnWindowNewEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnWindowNewEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnWindowNewEvent_Void))))};
29896         }
29897         Opt_Callback_OnWindowNewEvent_Void value_value = value_value_buf;;
29898         GetNodeModifiers()->getWebModifier()->setOnWindowNew(self, (const Opt_Callback_OnWindowNewEvent_Void*)&value_value);
29899 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowNew,Ark_NativePointer,KSerializerBuffer,int32_t)29900 KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowNew, Ark_NativePointer, KSerializerBuffer, int32_t)
29901 void impl_WebAttribute_onWindowExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29902         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29903         Deserializer thisDeserializer(thisArray, thisLength);
29904         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29905         Opt_Callback_Void value_value_buf = {};
29906         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29907         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29908         {
29909             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
29910         }
29911         Opt_Callback_Void value_value = value_value_buf;;
29912         GetNodeModifiers()->getWebModifier()->setOnWindowExit(self, (const Opt_Callback_Void*)&value_value);
29913 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowExit,Ark_NativePointer,KSerializerBuffer,int32_t)29914 KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowExit, Ark_NativePointer, KSerializerBuffer, int32_t)
29915 void impl_WebAttribute_multiWindowAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29916         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29917         Deserializer thisDeserializer(thisArray, thisLength);
29918         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29919         Opt_Boolean value_value_buf = {};
29920         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29921         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29922         {
29923             value_value_buf.value = thisDeserializer.readBoolean();
29924         }
29925         Opt_Boolean value_value = value_value_buf;;
29926         GetNodeModifiers()->getWebModifier()->setMultiWindowAccess(self, (const Opt_Boolean*)&value_value);
29927 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_multiWindowAccess,Ark_NativePointer,KSerializerBuffer,int32_t)29928 KOALA_INTEROP_DIRECT_V3(WebAttribute_multiWindowAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
29929 void impl_WebAttribute_onInterceptKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29930         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29931         Deserializer thisDeserializer(thisArray, thisLength);
29932         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29933         Opt_Callback_KeyEvent_Boolean value_value_buf = {};
29934         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29935         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29936         {
29937             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};
29938         }
29939         Opt_Callback_KeyEvent_Boolean value_value = value_value_buf;;
29940         GetNodeModifiers()->getWebModifier()->setOnInterceptKeyEvent(self, (const Opt_Callback_KeyEvent_Boolean*)&value_value);
29941 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyEvent,Ark_NativePointer,KSerializerBuffer,int32_t)29942 KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
29943 void impl_WebAttribute_webStandardFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29944         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29945         Deserializer thisDeserializer(thisArray, thisLength);
29946         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29947         Opt_String value_value_buf = {};
29948         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29949         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29950         {
29951             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
29952         }
29953         Opt_String value_value = value_value_buf;;
29954         GetNodeModifiers()->getWebModifier()->setWebStandardFont(self, (const Opt_String*)&value_value);
29955 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webStandardFont,Ark_NativePointer,KSerializerBuffer,int32_t)29956 KOALA_INTEROP_DIRECT_V3(WebAttribute_webStandardFont, Ark_NativePointer, KSerializerBuffer, int32_t)
29957 void impl_WebAttribute_webSerifFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29958         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29959         Deserializer thisDeserializer(thisArray, thisLength);
29960         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29961         Opt_String value_value_buf = {};
29962         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29963         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29964         {
29965             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
29966         }
29967         Opt_String value_value = value_value_buf;;
29968         GetNodeModifiers()->getWebModifier()->setWebSerifFont(self, (const Opt_String*)&value_value);
29969 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webSerifFont,Ark_NativePointer,KSerializerBuffer,int32_t)29970 KOALA_INTEROP_DIRECT_V3(WebAttribute_webSerifFont, Ark_NativePointer, KSerializerBuffer, int32_t)
29971 void impl_WebAttribute_webSansSerifFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29972         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29973         Deserializer thisDeserializer(thisArray, thisLength);
29974         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29975         Opt_String value_value_buf = {};
29976         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29977         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29978         {
29979             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
29980         }
29981         Opt_String value_value = value_value_buf;;
29982         GetNodeModifiers()->getWebModifier()->setWebSansSerifFont(self, (const Opt_String*)&value_value);
29983 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webSansSerifFont,Ark_NativePointer,KSerializerBuffer,int32_t)29984 KOALA_INTEROP_DIRECT_V3(WebAttribute_webSansSerifFont, Ark_NativePointer, KSerializerBuffer, int32_t)
29985 void impl_WebAttribute_webFixedFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
29986         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
29987         Deserializer thisDeserializer(thisArray, thisLength);
29988         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
29989         Opt_String value_value_buf = {};
29990         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
29991         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
29992         {
29993             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
29994         }
29995         Opt_String value_value = value_value_buf;;
29996         GetNodeModifiers()->getWebModifier()->setWebFixedFont(self, (const Opt_String*)&value_value);
29997 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webFixedFont,Ark_NativePointer,KSerializerBuffer,int32_t)29998 KOALA_INTEROP_DIRECT_V3(WebAttribute_webFixedFont, Ark_NativePointer, KSerializerBuffer, int32_t)
29999 void impl_WebAttribute_webFantasyFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30000         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30001         Deserializer thisDeserializer(thisArray, thisLength);
30002         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30003         Opt_String value_value_buf = {};
30004         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30005         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30006         {
30007             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30008         }
30009         Opt_String value_value = value_value_buf;;
30010         GetNodeModifiers()->getWebModifier()->setWebFantasyFont(self, (const Opt_String*)&value_value);
30011 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webFantasyFont,Ark_NativePointer,KSerializerBuffer,int32_t)30012 KOALA_INTEROP_DIRECT_V3(WebAttribute_webFantasyFont, Ark_NativePointer, KSerializerBuffer, int32_t)
30013 void impl_WebAttribute_webCursiveFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30014         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30015         Deserializer thisDeserializer(thisArray, thisLength);
30016         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30017         Opt_String value_value_buf = {};
30018         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30019         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30020         {
30021             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30022         }
30023         Opt_String value_value = value_value_buf;;
30024         GetNodeModifiers()->getWebModifier()->setWebCursiveFont(self, (const Opt_String*)&value_value);
30025 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_webCursiveFont,Ark_NativePointer,KSerializerBuffer,int32_t)30026 KOALA_INTEROP_DIRECT_V3(WebAttribute_webCursiveFont, Ark_NativePointer, KSerializerBuffer, int32_t)
30027 void impl_WebAttribute_defaultFixedFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30028         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30029         Deserializer thisDeserializer(thisArray, thisLength);
30030         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30031         Opt_Number value_value_buf = {};
30032         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30033         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30034         {
30035             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
30036         }
30037         Opt_Number value_value = value_value_buf;;
30038         GetNodeModifiers()->getWebModifier()->setDefaultFixedFontSize(self, (const Opt_Number*)&value_value);
30039 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultFixedFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)30040 KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultFixedFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
30041 void impl_WebAttribute_defaultFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30042         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30043         Deserializer thisDeserializer(thisArray, thisLength);
30044         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30045         Opt_Number value_value_buf = {};
30046         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30047         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30048         {
30049             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
30050         }
30051         Opt_Number value_value = value_value_buf;;
30052         GetNodeModifiers()->getWebModifier()->setDefaultFontSize(self, (const Opt_Number*)&value_value);
30053 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)30054 KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
30055 void impl_WebAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30056         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30057         Deserializer thisDeserializer(thisArray, thisLength);
30058         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30059         Opt_Number value_value_buf = {};
30060         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30061         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30062         {
30063             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
30064         }
30065         Opt_Number value_value = value_value_buf;;
30066         GetNodeModifiers()->getWebModifier()->setMinFontSize(self, (const Opt_Number*)&value_value);
30067 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_minFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)30068 KOALA_INTEROP_DIRECT_V3(WebAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
30069 void impl_WebAttribute_minLogicalFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30070         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30071         Deserializer thisDeserializer(thisArray, thisLength);
30072         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30073         Opt_Number value_value_buf = {};
30074         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30075         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30076         {
30077             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
30078         }
30079         Opt_Number value_value = value_value_buf;;
30080         GetNodeModifiers()->getWebModifier()->setMinLogicalFontSize(self, (const Opt_Number*)&value_value);
30081 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_minLogicalFontSize,Ark_NativePointer,KSerializerBuffer,int32_t)30082 KOALA_INTEROP_DIRECT_V3(WebAttribute_minLogicalFontSize, Ark_NativePointer, KSerializerBuffer, int32_t)
30083 void impl_WebAttribute_defaultTextEncodingFormat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30084         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30085         Deserializer thisDeserializer(thisArray, thisLength);
30086         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30087         Opt_String value_value_buf = {};
30088         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30089         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30090         {
30091             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30092         }
30093         Opt_String value_value = value_value_buf;;
30094         GetNodeModifiers()->getWebModifier()->setDefaultTextEncodingFormat(self, (const Opt_String*)&value_value);
30095 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultTextEncodingFormat,Ark_NativePointer,KSerializerBuffer,int32_t)30096 KOALA_INTEROP_DIRECT_V3(WebAttribute_defaultTextEncodingFormat, Ark_NativePointer, KSerializerBuffer, int32_t)
30097 void impl_WebAttribute_forceDisplayScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30098         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30099         Deserializer thisDeserializer(thisArray, thisLength);
30100         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30101         Opt_Boolean value_value_buf = {};
30102         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30103         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30104         {
30105             value_value_buf.value = thisDeserializer.readBoolean();
30106         }
30107         Opt_Boolean value_value = value_value_buf;;
30108         GetNodeModifiers()->getWebModifier()->setForceDisplayScrollBar(self, (const Opt_Boolean*)&value_value);
30109 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_forceDisplayScrollBar,Ark_NativePointer,KSerializerBuffer,int32_t)30110 KOALA_INTEROP_DIRECT_V3(WebAttribute_forceDisplayScrollBar, Ark_NativePointer, KSerializerBuffer, int32_t)
30111 void impl_WebAttribute_blockNetwork(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30112         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30113         Deserializer thisDeserializer(thisArray, thisLength);
30114         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30115         Opt_Boolean value_value_buf = {};
30116         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30117         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30118         {
30119             value_value_buf.value = thisDeserializer.readBoolean();
30120         }
30121         Opt_Boolean value_value = value_value_buf;;
30122         GetNodeModifiers()->getWebModifier()->setBlockNetwork(self, (const Opt_Boolean*)&value_value);
30123 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_blockNetwork,Ark_NativePointer,KSerializerBuffer,int32_t)30124 KOALA_INTEROP_DIRECT_V3(WebAttribute_blockNetwork, Ark_NativePointer, KSerializerBuffer, int32_t)
30125 void impl_WebAttribute_horizontalScrollBarAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30126         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30127         Deserializer thisDeserializer(thisArray, thisLength);
30128         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30129         Opt_Boolean value_value_buf = {};
30130         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30131         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30132         {
30133             value_value_buf.value = thisDeserializer.readBoolean();
30134         }
30135         Opt_Boolean value_value = value_value_buf;;
30136         GetNodeModifiers()->getWebModifier()->setHorizontalScrollBarAccess(self, (const Opt_Boolean*)&value_value);
30137 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_horizontalScrollBarAccess,Ark_NativePointer,KSerializerBuffer,int32_t)30138 KOALA_INTEROP_DIRECT_V3(WebAttribute_horizontalScrollBarAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
30139 void impl_WebAttribute_verticalScrollBarAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30140         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30141         Deserializer thisDeserializer(thisArray, thisLength);
30142         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30143         Opt_Boolean value_value_buf = {};
30144         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30145         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30146         {
30147             value_value_buf.value = thisDeserializer.readBoolean();
30148         }
30149         Opt_Boolean value_value = value_value_buf;;
30150         GetNodeModifiers()->getWebModifier()->setVerticalScrollBarAccess(self, (const Opt_Boolean*)&value_value);
30151 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_verticalScrollBarAccess,Ark_NativePointer,KSerializerBuffer,int32_t)30152 KOALA_INTEROP_DIRECT_V3(WebAttribute_verticalScrollBarAccess, Ark_NativePointer, KSerializerBuffer, int32_t)
30153 void impl_WebAttribute_onTouchIconUrlReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30154         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30155         Deserializer thisDeserializer(thisArray, thisLength);
30156         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30157         Opt_Callback_OnTouchIconUrlReceivedEvent_Void value_value_buf = {};
30158         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30159         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30160         {
30161             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnTouchIconUrlReceivedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnTouchIconUrlReceivedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnTouchIconUrlReceivedEvent_Void))))};
30162         }
30163         Opt_Callback_OnTouchIconUrlReceivedEvent_Void value_value = value_value_buf;;
30164         GetNodeModifiers()->getWebModifier()->setOnTouchIconUrlReceived(self, (const Opt_Callback_OnTouchIconUrlReceivedEvent_Void*)&value_value);
30165 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onTouchIconUrlReceived,Ark_NativePointer,KSerializerBuffer,int32_t)30166 KOALA_INTEROP_DIRECT_V3(WebAttribute_onTouchIconUrlReceived, Ark_NativePointer, KSerializerBuffer, int32_t)
30167 void impl_WebAttribute_onFaviconReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30168         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30169         Deserializer thisDeserializer(thisArray, thisLength);
30170         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30171         Opt_Callback_OnFaviconReceivedEvent_Void value_value_buf = {};
30172         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30173         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30174         {
30175             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnFaviconReceivedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnFaviconReceivedEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnFaviconReceivedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnFaviconReceivedEvent_Void))))};
30176         }
30177         Opt_Callback_OnFaviconReceivedEvent_Void value_value = value_value_buf;;
30178         GetNodeModifiers()->getWebModifier()->setOnFaviconReceived(self, (const Opt_Callback_OnFaviconReceivedEvent_Void*)&value_value);
30179 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFaviconReceived,Ark_NativePointer,KSerializerBuffer,int32_t)30180 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFaviconReceived, Ark_NativePointer, KSerializerBuffer, int32_t)
30181 void impl_WebAttribute_onPageVisible(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30182         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30183         Deserializer thisDeserializer(thisArray, thisLength);
30184         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30185         Opt_Callback_OnPageVisibleEvent_Void value_value_buf = {};
30186         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30187         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30188         {
30189             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnPageVisibleEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnPageVisibleEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageVisibleEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnPageVisibleEvent_Void))))};
30190         }
30191         Opt_Callback_OnPageVisibleEvent_Void value_value = value_value_buf;;
30192         GetNodeModifiers()->getWebModifier()->setOnPageVisible(self, (const Opt_Callback_OnPageVisibleEvent_Void*)&value_value);
30193 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageVisible,Ark_NativePointer,KSerializerBuffer,int32_t)30194 KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageVisible, Ark_NativePointer, KSerializerBuffer, int32_t)
30195 void impl_WebAttribute_onDataResubmitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30196         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30197         Deserializer thisDeserializer(thisArray, thisLength);
30198         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30199         Opt_Callback_OnDataResubmittedEvent_Void value_value_buf = {};
30200         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30201         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30202         {
30203             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnDataResubmittedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnDataResubmittedEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnDataResubmittedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnDataResubmittedEvent_Void))))};
30204         }
30205         Opt_Callback_OnDataResubmittedEvent_Void value_value = value_value_buf;;
30206         GetNodeModifiers()->getWebModifier()->setOnDataResubmitted(self, (const Opt_Callback_OnDataResubmittedEvent_Void*)&value_value);
30207 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onDataResubmitted,Ark_NativePointer,KSerializerBuffer,int32_t)30208 KOALA_INTEROP_DIRECT_V3(WebAttribute_onDataResubmitted, Ark_NativePointer, KSerializerBuffer, int32_t)
30209 void impl_WebAttribute_pinchSmooth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30210         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30211         Deserializer thisDeserializer(thisArray, thisLength);
30212         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30213         Opt_Boolean value_value_buf = {};
30214         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30215         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30216         {
30217             value_value_buf.value = thisDeserializer.readBoolean();
30218         }
30219         Opt_Boolean value_value = value_value_buf;;
30220         GetNodeModifiers()->getWebModifier()->setPinchSmooth(self, (const Opt_Boolean*)&value_value);
30221 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_pinchSmooth,Ark_NativePointer,KSerializerBuffer,int32_t)30222 KOALA_INTEROP_DIRECT_V3(WebAttribute_pinchSmooth, Ark_NativePointer, KSerializerBuffer, int32_t)
30223 void impl_WebAttribute_allowWindowOpenMethod(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30224         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30225         Deserializer thisDeserializer(thisArray, thisLength);
30226         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30227         Opt_Boolean value_value_buf = {};
30228         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30229         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30230         {
30231             value_value_buf.value = thisDeserializer.readBoolean();
30232         }
30233         Opt_Boolean value_value = value_value_buf;;
30234         GetNodeModifiers()->getWebModifier()->setAllowWindowOpenMethod(self, (const Opt_Boolean*)&value_value);
30235 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_allowWindowOpenMethod,Ark_NativePointer,KSerializerBuffer,int32_t)30236 KOALA_INTEROP_DIRECT_V3(WebAttribute_allowWindowOpenMethod, Ark_NativePointer, KSerializerBuffer, int32_t)
30237 void impl_WebAttribute_onAudioStateChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30238         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30239         Deserializer thisDeserializer(thisArray, thisLength);
30240         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30241         Opt_Callback_OnAudioStateChangedEvent_Void value_value_buf = {};
30242         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30243         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30244         {
30245             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnAudioStateChangedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnAudioStateChangedEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnAudioStateChangedEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnAudioStateChangedEvent_Void))))};
30246         }
30247         Opt_Callback_OnAudioStateChangedEvent_Void value_value = value_value_buf;;
30248         GetNodeModifiers()->getWebModifier()->setOnAudioStateChanged(self, (const Opt_Callback_OnAudioStateChangedEvent_Void*)&value_value);
30249 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onAudioStateChanged,Ark_NativePointer,KSerializerBuffer,int32_t)30250 KOALA_INTEROP_DIRECT_V3(WebAttribute_onAudioStateChanged, Ark_NativePointer, KSerializerBuffer, int32_t)
30251 void impl_WebAttribute_onFirstContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30252         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30253         Deserializer thisDeserializer(thisArray, thisLength);
30254         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30255         Opt_Callback_OnFirstContentfulPaintEvent_Void value_value_buf = {};
30256         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30257         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30258         {
30259             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnFirstContentfulPaintEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnFirstContentfulPaintEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnFirstContentfulPaintEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnFirstContentfulPaintEvent_Void))))};
30260         }
30261         Opt_Callback_OnFirstContentfulPaintEvent_Void value_value = value_value_buf;;
30262         GetNodeModifiers()->getWebModifier()->setOnFirstContentfulPaint(self, (const Opt_Callback_OnFirstContentfulPaintEvent_Void*)&value_value);
30263 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstContentfulPaint,Ark_NativePointer,KSerializerBuffer,int32_t)30264 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t)
30265 void impl_WebAttribute_onFirstMeaningfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30266         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30267         Deserializer thisDeserializer(thisArray, thisLength);
30268         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30269         Opt_OnFirstMeaningfulPaintCallback value_value_buf = {};
30270         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30271         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30272         {
30273             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnFirstMeaningfulPaintCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnFirstMeaningfulPaintCallback))))};
30274         }
30275         Opt_OnFirstMeaningfulPaintCallback value_value = value_value_buf;;
30276         GetNodeModifiers()->getWebModifier()->setOnFirstMeaningfulPaint(self, (const Opt_OnFirstMeaningfulPaintCallback*)&value_value);
30277 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstMeaningfulPaint,Ark_NativePointer,KSerializerBuffer,int32_t)30278 KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstMeaningfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t)
30279 void impl_WebAttribute_onLargestContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30280         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30281         Deserializer thisDeserializer(thisArray, thisLength);
30282         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30283         Opt_OnLargestContentfulPaintCallback value_value_buf = {};
30284         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30285         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30286         {
30287             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnLargestContentfulPaintCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnLargestContentfulPaintCallback))))};
30288         }
30289         Opt_OnLargestContentfulPaintCallback value_value = value_value_buf;;
30290         GetNodeModifiers()->getWebModifier()->setOnLargestContentfulPaint(self, (const Opt_OnLargestContentfulPaintCallback*)&value_value);
30291 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onLargestContentfulPaint,Ark_NativePointer,KSerializerBuffer,int32_t)30292 KOALA_INTEROP_DIRECT_V3(WebAttribute_onLargestContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t)
30293 void impl_WebAttribute_onLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30294         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30295         Deserializer thisDeserializer(thisArray, thisLength);
30296         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30297         Opt_Callback_OnLoadInterceptEvent_Boolean value_value_buf = {};
30298         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30299         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30300         {
30301             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnLoadInterceptEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnLoadInterceptEvent_Boolean)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnLoadInterceptEvent parameter, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnLoadInterceptEvent_Boolean))))};
30302         }
30303         Opt_Callback_OnLoadInterceptEvent_Boolean value_value = value_value_buf;;
30304         GetNodeModifiers()->getWebModifier()->setOnLoadIntercept(self, (const Opt_Callback_OnLoadInterceptEvent_Boolean*)&value_value);
30305 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onLoadIntercept,Ark_NativePointer,KSerializerBuffer,int32_t)30306 KOALA_INTEROP_DIRECT_V3(WebAttribute_onLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t)
30307 void impl_WebAttribute_onControllerAttached(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30308         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30309         Deserializer thisDeserializer(thisArray, thisLength);
30310         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30311         Opt_Callback_Void value_value_buf = {};
30312         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30313         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30314         {
30315             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
30316         }
30317         Opt_Callback_Void value_value = value_value_buf;;
30318         GetNodeModifiers()->getWebModifier()->setOnControllerAttached(self, (const Opt_Callback_Void*)&value_value);
30319 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onControllerAttached,Ark_NativePointer,KSerializerBuffer,int32_t)30320 KOALA_INTEROP_DIRECT_V3(WebAttribute_onControllerAttached, Ark_NativePointer, KSerializerBuffer, int32_t)
30321 void impl_WebAttribute_onOverScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30322         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30323         Deserializer thisDeserializer(thisArray, thisLength);
30324         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30325         Opt_Callback_OnOverScrollEvent_Void value_value_buf = {};
30326         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30327         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30328         {
30329             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_OnOverScrollEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_OnOverScrollEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnOverScrollEvent parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_OnOverScrollEvent_Void))))};
30330         }
30331         Opt_Callback_OnOverScrollEvent_Void value_value = value_value_buf;;
30332         GetNodeModifiers()->getWebModifier()->setOnOverScroll(self, (const Opt_Callback_OnOverScrollEvent_Void*)&value_value);
30333 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverScroll,Ark_NativePointer,KSerializerBuffer,int32_t)30334 KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
30335 void impl_WebAttribute_onSafeBrowsingCheckResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30336         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30337         Deserializer thisDeserializer(thisArray, thisLength);
30338         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30339         Opt_OnSafeBrowsingCheckResultCallback value_value_buf = {};
30340         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30341         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30342         {
30343             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_ThreatType threatType)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnSafeBrowsingCheckResultCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_ThreatType threatType)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnSafeBrowsingCheckResultCallback))))};
30344         }
30345         Opt_OnSafeBrowsingCheckResultCallback value_value = value_value_buf;;
30346         GetNodeModifiers()->getWebModifier()->setOnSafeBrowsingCheckResult(self, (const Opt_OnSafeBrowsingCheckResultCallback*)&value_value);
30347 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onSafeBrowsingCheckResult,Ark_NativePointer,KSerializerBuffer,int32_t)30348 KOALA_INTEROP_DIRECT_V3(WebAttribute_onSafeBrowsingCheckResult, Ark_NativePointer, KSerializerBuffer, int32_t)
30349 void impl_WebAttribute_onNavigationEntryCommitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30350         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30351         Deserializer thisDeserializer(thisArray, thisLength);
30352         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30353         Opt_OnNavigationEntryCommittedCallback value_value_buf = {};
30354         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30355         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30356         {
30357             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnNavigationEntryCommittedCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnNavigationEntryCommittedCallback))))};
30358         }
30359         Opt_OnNavigationEntryCommittedCallback value_value = value_value_buf;;
30360         GetNodeModifiers()->getWebModifier()->setOnNavigationEntryCommitted(self, (const Opt_OnNavigationEntryCommittedCallback*)&value_value);
30361 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onNavigationEntryCommitted,Ark_NativePointer,KSerializerBuffer,int32_t)30362 KOALA_INTEROP_DIRECT_V3(WebAttribute_onNavigationEntryCommitted, Ark_NativePointer, KSerializerBuffer, int32_t)
30363 void impl_WebAttribute_onIntelligentTrackingPreventionResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30364         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30365         Deserializer thisDeserializer(thisArray, thisLength);
30366         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30367         Opt_OnIntelligentTrackingPreventionCallback value_value_buf = {};
30368         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30369         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30370         {
30371             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnIntelligentTrackingPreventionCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnIntelligentTrackingPreventionCallback))))};
30372         }
30373         Opt_OnIntelligentTrackingPreventionCallback value_value = value_value_buf;;
30374         GetNodeModifiers()->getWebModifier()->setOnIntelligentTrackingPreventionResult(self, (const Opt_OnIntelligentTrackingPreventionCallback*)&value_value);
30375 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onIntelligentTrackingPreventionResult,Ark_NativePointer,KSerializerBuffer,int32_t)30376 KOALA_INTEROP_DIRECT_V3(WebAttribute_onIntelligentTrackingPreventionResult, Ark_NativePointer, KSerializerBuffer, int32_t)
30377 void impl_WebAttribute_javaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30378         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30379         Deserializer thisDeserializer(thisArray, thisLength);
30380         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30381         Opt_Array_ScriptItem value_value_buf = {};
30382         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30383         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30384         {
30385             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30386             Array_ScriptItem value_value_buf_ = {};
30387             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30388         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30389             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30390                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readScriptItem();
30391             }
30392             value_value_buf.value = value_value_buf_;
30393         }
30394         Opt_Array_ScriptItem value_value = value_value_buf;;
30395         GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentStart(self, (const Opt_Array_ScriptItem*)&value_value);
30396 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentStart,Ark_NativePointer,KSerializerBuffer,int32_t)30397 KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t)
30398 void impl_WebAttribute_javaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30399         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30400         Deserializer thisDeserializer(thisArray, thisLength);
30401         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30402         Opt_Array_ScriptItem value_value_buf = {};
30403         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30404         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30405         {
30406             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30407             Array_ScriptItem value_value_buf_ = {};
30408             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30409         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30410             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30411                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readScriptItem();
30412             }
30413             value_value_buf.value = value_value_buf_;
30414         }
30415         Opt_Array_ScriptItem value_value = value_value_buf;;
30416         GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentEnd(self, (const Opt_Array_ScriptItem*)&value_value);
30417 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentEnd,Ark_NativePointer,KSerializerBuffer,int32_t)30418 KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
30419 void impl_WebAttribute_layoutMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30420         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30421         Deserializer thisDeserializer(thisArray, thisLength);
30422         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30423         Opt_WebLayoutMode value_value_buf = {};
30424         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30425         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30426         {
30427             value_value_buf.value = static_cast<Ark_WebLayoutMode>(thisDeserializer.readInt32());
30428         }
30429         Opt_WebLayoutMode value_value = value_value_buf;;
30430         GetNodeModifiers()->getWebModifier()->setLayoutMode(self, (const Opt_WebLayoutMode*)&value_value);
30431 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_layoutMode,Ark_NativePointer,KSerializerBuffer,int32_t)30432 KOALA_INTEROP_DIRECT_V3(WebAttribute_layoutMode, Ark_NativePointer, KSerializerBuffer, int32_t)
30433 void impl_WebAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30434         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30435         Deserializer thisDeserializer(thisArray, thisLength);
30436         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30437         Opt_Union_NestedScrollOptions_NestedScrollOptionsExt value_value_buf = {};
30438         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30439         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30440         {
30441             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
30442             Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value_value_buf_ = {};
30443             value_value_buf_.selector = value_value_buf__selector;
30444             if (value_value_buf__selector == 0) {
30445                 value_value_buf_.selector = 0;
30446                 value_value_buf_.value0 = thisDeserializer.readNestedScrollOptions();
30447             }
30448             else if (value_value_buf__selector == 1) {
30449                 value_value_buf_.selector = 1;
30450                 value_value_buf_.value1 = thisDeserializer.readNestedScrollOptionsExt();
30451             }
30452             else {
30453                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
30454             }
30455             value_value_buf.value = static_cast<Ark_Union_NestedScrollOptions_NestedScrollOptionsExt>(value_value_buf_);
30456         }
30457         Opt_Union_NestedScrollOptions_NestedScrollOptionsExt value_value = value_value_buf;;
30458         GetNodeModifiers()->getWebModifier()->setNestedScroll(self, (const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt*)&value_value);
30459 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)30460 KOALA_INTEROP_DIRECT_V3(WebAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
30461 void impl_WebAttribute_enableNativeEmbedMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30462         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30463         Deserializer thisDeserializer(thisArray, thisLength);
30464         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30465         Opt_Boolean value_value_buf = {};
30466         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30467         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30468         {
30469             value_value_buf.value = thisDeserializer.readBoolean();
30470         }
30471         Opt_Boolean value_value = value_value_buf;;
30472         GetNodeModifiers()->getWebModifier()->setEnableNativeEmbedMode(self, (const Opt_Boolean*)&value_value);
30473 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeEmbedMode,Ark_NativePointer,KSerializerBuffer,int32_t)30474 KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeEmbedMode, Ark_NativePointer, KSerializerBuffer, int32_t)
30475 void impl_WebAttribute_onNativeEmbedLifecycleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30476         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30477         Deserializer thisDeserializer(thisArray, thisLength);
30478         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30479         Opt_Callback_NativeEmbedDataInfo_Void value_value_buf = {};
30480         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30481         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30482         {
30483             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativeEmbedDataInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NativeEmbedDataInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedDataInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedDataInfo_Void))))};
30484         }
30485         Opt_Callback_NativeEmbedDataInfo_Void value_value = value_value_buf;;
30486         GetNodeModifiers()->getWebModifier()->setOnNativeEmbedLifecycleChange(self, (const Opt_Callback_NativeEmbedDataInfo_Void*)&value_value);
30487 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedLifecycleChange,Ark_NativePointer,KSerializerBuffer,int32_t)30488 KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedLifecycleChange, Ark_NativePointer, KSerializerBuffer, int32_t)
30489 void impl_WebAttribute_onNativeEmbedVisibilityChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30490         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30491         Deserializer thisDeserializer(thisArray, thisLength);
30492         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30493         Opt_OnNativeEmbedVisibilityChangeCallback value_value_buf = {};
30494         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30495         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30496         {
30497             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnNativeEmbedVisibilityChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnNativeEmbedVisibilityChangeCallback))))};
30498         }
30499         Opt_OnNativeEmbedVisibilityChangeCallback value_value = value_value_buf;;
30500         GetNodeModifiers()->getWebModifier()->setOnNativeEmbedVisibilityChange(self, (const Opt_OnNativeEmbedVisibilityChangeCallback*)&value_value);
30501 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedVisibilityChange,Ark_NativePointer,KSerializerBuffer,int32_t)30502 KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedVisibilityChange, Ark_NativePointer, KSerializerBuffer, int32_t)
30503 void impl_WebAttribute_onNativeEmbedGestureEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30504         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30505         Deserializer thisDeserializer(thisArray, thisLength);
30506         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30507         Opt_Callback_NativeEmbedTouchInfo_Void value_value_buf = {};
30508         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30509         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30510         {
30511             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativeEmbedTouchInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NativeEmbedTouchInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedTouchInfo event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedTouchInfo_Void))))};
30512         }
30513         Opt_Callback_NativeEmbedTouchInfo_Void value_value = value_value_buf;;
30514         GetNodeModifiers()->getWebModifier()->setOnNativeEmbedGestureEvent(self, (const Opt_Callback_NativeEmbedTouchInfo_Void*)&value_value);
30515 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedGestureEvent,Ark_NativePointer,KSerializerBuffer,int32_t)30516 KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedGestureEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
30517 void impl_WebAttribute_copyOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30518         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30519         Deserializer thisDeserializer(thisArray, thisLength);
30520         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30521         Opt_CopyOptions value_value_buf = {};
30522         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30523         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30524         {
30525             value_value_buf.value = static_cast<Ark_CopyOptions>(thisDeserializer.readInt32());
30526         }
30527         Opt_CopyOptions value_value = value_value_buf;;
30528         GetNodeModifiers()->getWebModifier()->setCopyOptions(self, (const Opt_CopyOptions*)&value_value);
30529 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_copyOptions,Ark_NativePointer,KSerializerBuffer,int32_t)30530 KOALA_INTEROP_DIRECT_V3(WebAttribute_copyOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
30531 void impl_WebAttribute_onOverrideUrlLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30532         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30533         Deserializer thisDeserializer(thisArray, thisLength);
30534         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30535         Opt_OnOverrideUrlLoadingCallback value_value_buf = {};
30536         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30537         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30538         {
30539             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnOverrideUrlLoadingCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnOverrideUrlLoadingCallback))))};
30540         }
30541         Opt_OnOverrideUrlLoadingCallback value_value = value_value_buf;;
30542         GetNodeModifiers()->getWebModifier()->setOnOverrideUrlLoading(self, (const Opt_OnOverrideUrlLoadingCallback*)&value_value);
30543 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverrideUrlLoading,Ark_NativePointer,KSerializerBuffer,int32_t)30544 KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverrideUrlLoading, Ark_NativePointer, KSerializerBuffer, int32_t)
30545 void impl_WebAttribute_textAutosizing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30546         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30547         Deserializer thisDeserializer(thisArray, thisLength);
30548         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30549         Opt_Boolean value_value_buf = {};
30550         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30551         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30552         {
30553             value_value_buf.value = thisDeserializer.readBoolean();
30554         }
30555         Opt_Boolean value_value = value_value_buf;;
30556         GetNodeModifiers()->getWebModifier()->setTextAutosizing(self, (const Opt_Boolean*)&value_value);
30557 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_textAutosizing,Ark_NativePointer,KSerializerBuffer,int32_t)30558 KOALA_INTEROP_DIRECT_V3(WebAttribute_textAutosizing, Ark_NativePointer, KSerializerBuffer, int32_t)
30559 void impl_WebAttribute_enableNativeMediaPlayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30560         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30561         Deserializer thisDeserializer(thisArray, thisLength);
30562         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30563         Opt_NativeMediaPlayerConfig value_value_buf = {};
30564         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30565         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30566         {
30567             value_value_buf.value = thisDeserializer.readNativeMediaPlayerConfig();
30568         }
30569         Opt_NativeMediaPlayerConfig value_value = value_value_buf;;
30570         GetNodeModifiers()->getWebModifier()->setEnableNativeMediaPlayer(self, (const Opt_NativeMediaPlayerConfig*)&value_value);
30571 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeMediaPlayer,Ark_NativePointer,KSerializerBuffer,int32_t)30572 KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeMediaPlayer, Ark_NativePointer, KSerializerBuffer, int32_t)
30573 void impl_WebAttribute_onRenderProcessNotResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30574         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30575         Deserializer thisDeserializer(thisArray, thisLength);
30576         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30577         Opt_OnRenderProcessNotRespondingCallback value_value_buf = {};
30578         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30579         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30580         {
30581             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnRenderProcessNotRespondingCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnRenderProcessNotRespondingCallback))))};
30582         }
30583         Opt_OnRenderProcessNotRespondingCallback value_value = value_value_buf;;
30584         GetNodeModifiers()->getWebModifier()->setOnRenderProcessNotResponding(self, (const Opt_OnRenderProcessNotRespondingCallback*)&value_value);
30585 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessNotResponding,Ark_NativePointer,KSerializerBuffer,int32_t)30586 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessNotResponding, Ark_NativePointer, KSerializerBuffer, int32_t)
30587 void impl_WebAttribute_onRenderProcessResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30588         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30589         Deserializer thisDeserializer(thisArray, thisLength);
30590         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30591         Opt_OnRenderProcessRespondingCallback value_value_buf = {};
30592         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30593         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30594         {
30595             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnRenderProcessRespondingCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnRenderProcessRespondingCallback))))};
30596         }
30597         Opt_OnRenderProcessRespondingCallback value_value = value_value_buf;;
30598         GetNodeModifiers()->getWebModifier()->setOnRenderProcessResponding(self, (const Opt_OnRenderProcessRespondingCallback*)&value_value);
30599 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessResponding,Ark_NativePointer,KSerializerBuffer,int32_t)30600 KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessResponding, Ark_NativePointer, KSerializerBuffer, int32_t)
30601 void impl_WebAttribute_selectionMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30602         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30603         Deserializer thisDeserializer(thisArray, thisLength);
30604         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30605         Opt_Array_ExpandedMenuItemOptions value_value_buf = {};
30606         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30607         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30608         {
30609             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30610             Array_ExpandedMenuItemOptions value_value_buf_ = {};
30611             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30612         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30613             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30614                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readExpandedMenuItemOptions();
30615             }
30616             value_value_buf.value = value_value_buf_;
30617         }
30618         Opt_Array_ExpandedMenuItemOptions value_value = value_value_buf;;
30619         GetNodeModifiers()->getWebModifier()->setSelectionMenuOptions(self, (const Opt_Array_ExpandedMenuItemOptions*)&value_value);
30620 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_selectionMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)30621 KOALA_INTEROP_DIRECT_V3(WebAttribute_selectionMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
30622 void impl_WebAttribute_onViewportFitChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30623         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30624         Deserializer thisDeserializer(thisArray, thisLength);
30625         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30626         Opt_OnViewportFitChangedCallback value_value_buf = {};
30627         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30628         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30629         {
30630             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_ViewportFit viewportFit)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnViewportFitChangedCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_ViewportFit viewportFit)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnViewportFitChangedCallback))))};
30631         }
30632         Opt_OnViewportFitChangedCallback value_value = value_value_buf;;
30633         GetNodeModifiers()->getWebModifier()->setOnViewportFitChanged(self, (const Opt_OnViewportFitChangedCallback*)&value_value);
30634 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onViewportFitChanged,Ark_NativePointer,KSerializerBuffer,int32_t)30635 KOALA_INTEROP_DIRECT_V3(WebAttribute_onViewportFitChanged, Ark_NativePointer, KSerializerBuffer, int32_t)
30636 void impl_WebAttribute_onInterceptKeyboardAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30637         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30638         Deserializer thisDeserializer(thisArray, thisLength);
30639         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30640         Opt_WebKeyboardCallback value_value_buf = {};
30641         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30642         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30643         {
30644             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_WebKeyboardCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_WebKeyboardCallback))))};
30645         }
30646         Opt_WebKeyboardCallback value_value = value_value_buf;;
30647         GetNodeModifiers()->getWebModifier()->setOnInterceptKeyboardAttach(self, (const Opt_WebKeyboardCallback*)&value_value);
30648 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyboardAttach,Ark_NativePointer,KSerializerBuffer,int32_t)30649 KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyboardAttach, Ark_NativePointer, KSerializerBuffer, int32_t)
30650 void impl_WebAttribute_onAdsBlocked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30651         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30652         Deserializer thisDeserializer(thisArray, thisLength);
30653         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30654         Opt_OnAdsBlockedCallback value_value_buf = {};
30655         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30656         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30657         {
30658             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnAdsBlockedCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnAdsBlockedCallback))))};
30659         }
30660         Opt_OnAdsBlockedCallback value_value = value_value_buf;;
30661         GetNodeModifiers()->getWebModifier()->setOnAdsBlocked(self, (const Opt_OnAdsBlockedCallback*)&value_value);
30662 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_onAdsBlocked,Ark_NativePointer,KSerializerBuffer,int32_t)30663 KOALA_INTEROP_DIRECT_V3(WebAttribute_onAdsBlocked, Ark_NativePointer, KSerializerBuffer, int32_t)
30664 void impl_WebAttribute_keyboardAvoidMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30665         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30666         Deserializer thisDeserializer(thisArray, thisLength);
30667         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30668         Opt_WebKeyboardAvoidMode value_value_buf = {};
30669         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30670         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30671         {
30672             value_value_buf.value = static_cast<Ark_WebKeyboardAvoidMode>(thisDeserializer.readInt32());
30673         }
30674         Opt_WebKeyboardAvoidMode value_value = value_value_buf;;
30675         GetNodeModifiers()->getWebModifier()->setKeyboardAvoidMode(self, (const Opt_WebKeyboardAvoidMode*)&value_value);
30676 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_keyboardAvoidMode,Ark_NativePointer,KSerializerBuffer,int32_t)30677 KOALA_INTEROP_DIRECT_V3(WebAttribute_keyboardAvoidMode, Ark_NativePointer, KSerializerBuffer, int32_t)
30678 void impl_WebAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30679         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30680         Deserializer thisDeserializer(thisArray, thisLength);
30681         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30682         Opt_EditMenuOptions value_value_buf = {};
30683         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30684         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30685         {
30686             value_value_buf.value = thisDeserializer.readEditMenuOptions();
30687         }
30688         Opt_EditMenuOptions value_value = value_value_buf;;
30689         GetNodeModifiers()->getWebModifier()->setEditMenuOptions(self, (const Opt_EditMenuOptions*)&value_value);
30690 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_editMenuOptions,Ark_NativePointer,KSerializerBuffer,int32_t)30691 KOALA_INTEROP_DIRECT_V3(WebAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
30692 void impl_WebAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30693         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30694         Deserializer thisDeserializer(thisArray, thisLength);
30695         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30696         Opt_Boolean value_value_buf = {};
30697         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30698         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30699         {
30700             value_value_buf.value = thisDeserializer.readBoolean();
30701         }
30702         Opt_Boolean value_value = value_value_buf;;
30703         GetNodeModifiers()->getWebModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value);
30704 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_enableHapticFeedback,Ark_NativePointer,KSerializerBuffer,int32_t)30705 KOALA_INTEROP_DIRECT_V3(WebAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t)
30706 void impl_WebAttribute_optimizeParserBudget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30707         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30708         Deserializer thisDeserializer(thisArray, thisLength);
30709         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30710         Opt_Boolean value_value_buf = {};
30711         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30712         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30713         {
30714             value_value_buf.value = thisDeserializer.readBoolean();
30715         }
30716         Opt_Boolean value_value = value_value_buf;;
30717         GetNodeModifiers()->getWebModifier()->setOptimizeParserBudget(self, (const Opt_Boolean*)&value_value);
30718 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_optimizeParserBudget,Ark_NativePointer,KSerializerBuffer,int32_t)30719 KOALA_INTEROP_DIRECT_V3(WebAttribute_optimizeParserBudget, Ark_NativePointer, KSerializerBuffer, int32_t)
30720 void impl_WebAttribute_enableFollowSystemFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30721         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30722         Deserializer thisDeserializer(thisArray, thisLength);
30723         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30724         Opt_Boolean value_value_buf = {};
30725         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30726         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30727         {
30728             value_value_buf.value = thisDeserializer.readBoolean();
30729         }
30730         Opt_Boolean value_value = value_value_buf;;
30731         GetNodeModifiers()->getWebModifier()->setEnableFollowSystemFontWeight(self, (const Opt_Boolean*)&value_value);
30732 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_enableFollowSystemFontWeight,Ark_NativePointer,KSerializerBuffer,int32_t)30733 KOALA_INTEROP_DIRECT_V3(WebAttribute_enableFollowSystemFontWeight, Ark_NativePointer, KSerializerBuffer, int32_t)
30734 void impl_WebAttribute_enableWebAVSession(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30735         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30736         Deserializer thisDeserializer(thisArray, thisLength);
30737         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30738         Opt_Boolean value_value_buf = {};
30739         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30740         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30741         {
30742             value_value_buf.value = thisDeserializer.readBoolean();
30743         }
30744         Opt_Boolean value_value = value_value_buf;;
30745         GetNodeModifiers()->getWebModifier()->setEnableWebAVSession(self, (const Opt_Boolean*)&value_value);
30746 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_enableWebAVSession,Ark_NativePointer,KSerializerBuffer,int32_t)30747 KOALA_INTEROP_DIRECT_V3(WebAttribute_enableWebAVSession, Ark_NativePointer, KSerializerBuffer, int32_t)
30748 void impl_WebAttribute_runJavaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30749         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30750         Deserializer thisDeserializer(thisArray, thisLength);
30751         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30752         Opt_Array_ScriptItem value_value_buf = {};
30753         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30754         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30755         {
30756             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30757             Array_ScriptItem value_value_buf_ = {};
30758             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30759         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30760             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30761                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readScriptItem();
30762             }
30763             value_value_buf.value = value_value_buf_;
30764         }
30765         Opt_Array_ScriptItem value_value = value_value_buf;;
30766         GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentStart(self, (const Opt_Array_ScriptItem*)&value_value);
30767 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentStart,Ark_NativePointer,KSerializerBuffer,int32_t)30768 KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t)
30769 void impl_WebAttribute_runJavaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30770         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30771         Deserializer thisDeserializer(thisArray, thisLength);
30772         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30773         Opt_Array_ScriptItem value_value_buf = {};
30774         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30775         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30776         {
30777             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30778             Array_ScriptItem value_value_buf_ = {};
30779             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30780         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30781             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30782                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readScriptItem();
30783             }
30784             value_value_buf.value = value_value_buf_;
30785         }
30786         Opt_Array_ScriptItem value_value = value_value_buf;;
30787         GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentEnd(self, (const Opt_Array_ScriptItem*)&value_value);
30788 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentEnd,Ark_NativePointer,KSerializerBuffer,int32_t)30789 KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
30790 void impl_WebAttribute_runJavaScriptOnHeadEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30791         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30792         Deserializer thisDeserializer(thisArray, thisLength);
30793         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30794         Opt_Array_ScriptItem value_value_buf = {};
30795         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30796         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30797         {
30798             const Ark_Int32 value_value_buf__length = thisDeserializer.readInt32();
30799             Array_ScriptItem value_value_buf_ = {};
30800             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_)>::type,
30801         std::decay<decltype(*value_value_buf_.array)>::type>(&value_value_buf_, value_value_buf__length);
30802             for (int value_value_buf__i = 0; value_value_buf__i < value_value_buf__length; value_value_buf__i++) {
30803                 value_value_buf_.array[value_value_buf__i] = thisDeserializer.readScriptItem();
30804             }
30805             value_value_buf.value = value_value_buf_;
30806         }
30807         Opt_Array_ScriptItem value_value = value_value_buf;;
30808         GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnHeadEnd(self, (const Opt_Array_ScriptItem*)&value_value);
30809 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnHeadEnd,Ark_NativePointer,KSerializerBuffer,int32_t)30810 KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnHeadEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
30811 void impl_WebAttribute_nativeEmbedOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30812         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30813         Deserializer thisDeserializer(thisArray, thisLength);
30814         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30815         Opt_EmbedOptions value_value_buf = {};
30816         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30817         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30818         {
30819             value_value_buf.value = thisDeserializer.readEmbedOptions();
30820         }
30821         Opt_EmbedOptions value_value = value_value_buf;;
30822         GetNodeModifiers()->getWebModifier()->setNativeEmbedOptions(self, (const Opt_EmbedOptions*)&value_value);
30823 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_nativeEmbedOptions,Ark_NativePointer,KSerializerBuffer,int32_t)30824 KOALA_INTEROP_DIRECT_V3(WebAttribute_nativeEmbedOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
30825 void impl_WebAttribute_registerNativeEmbedRule(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30826         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30827         Deserializer thisDeserializer(thisArray, thisLength);
30828         const auto tag_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30829         Opt_String tag_value_buf = {};
30830         tag_value_buf.tag = tag_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30831         if ((INTEROP_RUNTIME_UNDEFINED) != (tag_value_buf_runtimeType))
30832         {
30833             tag_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30834         }
30835         Opt_String tag_value = tag_value_buf;;
30836         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30837         Opt_String type_value_buf = {};
30838         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30839         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
30840         {
30841             type_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30842         }
30843         Opt_String type_value = type_value_buf;;
30844         GetNodeModifiers()->getWebModifier()->setRegisterNativeEmbedRule(self, (const Opt_String*)&tag_value, (const Opt_String*)&type_value);
30845 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_registerNativeEmbedRule,Ark_NativePointer,KSerializerBuffer,int32_t)30846 KOALA_INTEROP_DIRECT_V3(WebAttribute_registerNativeEmbedRule, Ark_NativePointer, KSerializerBuffer, int32_t)
30847 void impl_WebAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30848         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30849         Deserializer thisDeserializer(thisArray, thisLength);
30850         const auto elementType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30851         Opt_WebElementType elementType_value_buf = {};
30852         elementType_value_buf.tag = elementType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30853         if ((INTEROP_RUNTIME_UNDEFINED) != (elementType_value_buf_runtimeType))
30854         {
30855             elementType_value_buf.value = static_cast<Ark_WebElementType>(thisDeserializer.readInt32());
30856         }
30857         Opt_WebElementType elementType_value = elementType_value_buf;;
30858         const auto content_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30859         Opt_CustomNodeBuilder content_value_buf = {};
30860         content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30861         if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType))
30862         {
30863             content_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};
30864         }
30865         Opt_CustomNodeBuilder content_value = content_value_buf;;
30866         const auto responseType_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30867         Opt_WebResponseType responseType_value_buf = {};
30868         responseType_value_buf.tag = responseType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30869         if ((INTEROP_RUNTIME_UNDEFINED) != (responseType_value_buf_runtimeType))
30870         {
30871             responseType_value_buf.value = static_cast<Ark_WebResponseType>(thisDeserializer.readInt32());
30872         }
30873         Opt_WebResponseType responseType_value = responseType_value_buf;;
30874         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30875         Opt_SelectionMenuOptionsExt options_value_buf = {};
30876         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30877         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
30878         {
30879             options_value_buf.value = thisDeserializer.readSelectionMenuOptionsExt();
30880         }
30881         Opt_SelectionMenuOptionsExt options_value = options_value_buf;;
30882         GetNodeModifiers()->getWebModifier()->setBindSelectionMenu(self, (const Opt_WebElementType*)&elementType_value, (const Opt_CustomNodeBuilder*)&content_value, (const Opt_WebResponseType*)&responseType_value, (const Opt_SelectionMenuOptionsExt*)&options_value);
30883 }
KOALA_INTEROP_DIRECT_V3(WebAttribute_bindSelectionMenu,Ark_NativePointer,KSerializerBuffer,int32_t)30884 KOALA_INTEROP_DIRECT_V3(WebAttribute_bindSelectionMenu, Ark_NativePointer, KSerializerBuffer, int32_t)
30885 Ark_NativePointer impl_WindowScene_construct(Ark_Int32 id, Ark_Int32 flags) {
30886         return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags);
30887 }
KOALA_INTEROP_DIRECT_2(WindowScene_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)30888 KOALA_INTEROP_DIRECT_2(WindowScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
30889 void impl_WindowSceneInterface_setWindowSceneOptions(Ark_NativePointer thisPtr, KInteropNumber persistentId) {
30890         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30891         GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, (const Ark_Number*) (&persistentId));
30892 }
KOALA_INTEROP_DIRECT_V2(WindowSceneInterface_setWindowSceneOptions,Ark_NativePointer,KInteropNumber)30893 KOALA_INTEROP_DIRECT_V2(WindowSceneInterface_setWindowSceneOptions, Ark_NativePointer, KInteropNumber)
30894 void impl_WindowSceneAttribute_attractionEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30895         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30896         Deserializer thisDeserializer(thisArray, thisLength);
30897         const auto destination_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30898         Opt_Position destination_value_buf = {};
30899         destination_value_buf.tag = destination_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30900         if ((INTEROP_RUNTIME_UNDEFINED) != (destination_value_buf_runtimeType))
30901         {
30902             destination_value_buf.value = thisDeserializer.readPosition();
30903         }
30904         Opt_Position destination_value = destination_value_buf;;
30905         const auto fraction_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30906         Opt_Number fraction_value_buf = {};
30907         fraction_value_buf.tag = fraction_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30908         if ((INTEROP_RUNTIME_UNDEFINED) != (fraction_value_buf_runtimeType))
30909         {
30910             fraction_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
30911         }
30912         Opt_Number fraction_value = fraction_value_buf;;
30913         GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, (const Opt_Position*)&destination_value, (const Opt_Number*)&fraction_value);
30914 }
KOALA_INTEROP_DIRECT_V3(WindowSceneAttribute_attractionEffect,Ark_NativePointer,KSerializerBuffer,int32_t)30915 KOALA_INTEROP_DIRECT_V3(WindowSceneAttribute_attractionEffect, Ark_NativePointer, KSerializerBuffer, int32_t)
30916 Ark_NativePointer impl_XComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
30917         return GetNodeModifiers()->getXComponentModifier()->construct(id, flags);
30918 }
KOALA_INTEROP_DIRECT_2(XComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)30919 KOALA_INTEROP_DIRECT_2(XComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
30920 void impl_XComponentInterface_setXComponentOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30921         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30922         Deserializer thisDeserializer(thisArray, thisLength);
30923         Ark_Type_XComponentInterface_callable0_value value_value_buf = {};
30924         value_value_buf.id = static_cast<Ark_String>(thisDeserializer.readString());
30925         value_value_buf.type = static_cast<Ark_String>(thisDeserializer.readString());
30926         const auto value_value_buf_libraryname_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30927         Opt_String value_value_buf_libraryname_buf = {};
30928         value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30929         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType))
30930         {
30931             value_value_buf_libraryname_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30932         }
30933         value_value_buf.libraryname = value_value_buf_libraryname_buf;
30934         const auto value_value_buf_controller_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30935         Opt_XComponentController value_value_buf_controller_buf = {};
30936         value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30937         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType))
30938         {
30939             value_value_buf_controller_buf.value = static_cast<Ark_XComponentController>(thisDeserializer.readXComponentController());
30940         }
30941         value_value_buf.controller = value_value_buf_controller_buf;
30942         Ark_Type_XComponentInterface_callable0_value value_value = value_value_buf;;
30943         GetNodeModifiers()->getXComponentModifier()->setXComponentOptions0(self, (const Ark_Type_XComponentInterface_callable0_value*)&value_value);
30944 }
KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions0,Ark_NativePointer,KSerializerBuffer,int32_t)30945 KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions0, Ark_NativePointer, KSerializerBuffer, int32_t)
30946 void impl_XComponentInterface_setXComponentOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30947         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30948         Deserializer thisDeserializer(thisArray, thisLength);
30949         Ark_Type_XComponentInterface_callable1_value value_value_buf = {};
30950         value_value_buf.id = static_cast<Ark_String>(thisDeserializer.readString());
30951         value_value_buf.type = static_cast<Ark_XComponentType>(thisDeserializer.readInt32());
30952         const auto value_value_buf_libraryname_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30953         Opt_String value_value_buf_libraryname_buf = {};
30954         value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30955         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType))
30956         {
30957             value_value_buf_libraryname_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
30958         }
30959         value_value_buf.libraryname = value_value_buf_libraryname_buf;
30960         const auto value_value_buf_controller_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30961         Opt_XComponentController value_value_buf_controller_buf = {};
30962         value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30963         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType))
30964         {
30965             value_value_buf_controller_buf.value = static_cast<Ark_XComponentController>(thisDeserializer.readXComponentController());
30966         }
30967         value_value_buf.controller = value_value_buf_controller_buf;
30968         Ark_Type_XComponentInterface_callable1_value value_value = value_value_buf;;
30969         GetNodeModifiers()->getXComponentModifier()->setXComponentOptions1(self, (const Ark_Type_XComponentInterface_callable1_value*)&value_value);
30970 }
KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions1,Ark_NativePointer,KSerializerBuffer,int32_t)30971 KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions1, Ark_NativePointer, KSerializerBuffer, int32_t)
30972 void impl_XComponentInterface_setXComponentOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30973         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30974         Deserializer thisDeserializer(thisArray, thisLength);
30975         Ark_XComponentOptions options_value = thisDeserializer.readXComponentOptions();;
30976         GetNodeModifiers()->getXComponentModifier()->setXComponentOptions2(self, (const Ark_XComponentOptions*)&options_value);
30977 }
KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions2,Ark_NativePointer,KSerializerBuffer,int32_t)30978 KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions2, Ark_NativePointer, KSerializerBuffer, int32_t)
30979 void impl_XComponentInterface_setXComponentOptions3(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30980         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30981         Deserializer thisDeserializer(thisArray, thisLength);
30982         Ark_NativeXComponentParameters params_value = thisDeserializer.readNativeXComponentParameters();;
30983         GetNodeModifiers()->getXComponentModifier()->setXComponentOptions3(self, (const Ark_NativeXComponentParameters*)&params_value);
30984 }
KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions3,Ark_NativePointer,KSerializerBuffer,int32_t)30985 KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions3, Ark_NativePointer, KSerializerBuffer, int32_t)
30986 void impl_XComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
30987         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
30988         Deserializer thisDeserializer(thisArray, thisLength);
30989         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
30990         Opt_OnNativeLoadCallback value_value_buf = {};
30991         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
30992         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
30993         {
30994             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Object event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnNativeLoadCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Object event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnNativeLoadCallback))))};
30995         }
30996         Opt_OnNativeLoadCallback value_value = value_value_buf;;
30997         GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, (const Opt_OnNativeLoadCallback*)&value_value);
30998 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onLoad,Ark_NativePointer,KSerializerBuffer,int32_t)30999 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t)
31000 void impl_XComponentAttribute_onDestroy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31001         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31002         Deserializer thisDeserializer(thisArray, thisLength);
31003         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31004         Opt_VoidCallback value_value_buf = {};
31005         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31006         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31007         {
31008             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
31009         }
31010         Opt_VoidCallback value_value = value_value_buf;;
31011         GetNodeModifiers()->getXComponentModifier()->setOnDestroy(self, (const Opt_VoidCallback*)&value_value);
31012 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onDestroy,Ark_NativePointer,KSerializerBuffer,int32_t)31013 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onDestroy, Ark_NativePointer, KSerializerBuffer, int32_t)
31014 void impl_XComponentAttribute_enableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31015         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31016         Deserializer thisDeserializer(thisArray, thisLength);
31017         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31018         Opt_Boolean value_value_buf = {};
31019         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31020         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31021         {
31022             value_value_buf.value = thisDeserializer.readBoolean();
31023         }
31024         Opt_Boolean value_value = value_value_buf;;
31025         GetNodeModifiers()->getXComponentModifier()->setEnableAnalyzer(self, (const Opt_Boolean*)&value_value);
31026 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)31027 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
31028 void impl_XComponentAttribute_enableSecure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31029         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31030         Deserializer thisDeserializer(thisArray, thisLength);
31031         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31032         Opt_Boolean value_value_buf = {};
31033         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31034         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31035         {
31036             value_value_buf.value = thisDeserializer.readBoolean();
31037         }
31038         Opt_Boolean value_value = value_value_buf;;
31039         GetNodeModifiers()->getXComponentModifier()->setEnableSecure(self, (const Opt_Boolean*)&value_value);
31040 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableSecure,Ark_NativePointer,KSerializerBuffer,int32_t)31041 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableSecure, Ark_NativePointer, KSerializerBuffer, int32_t)
31042 void impl_XComponentAttribute_hdrBrightness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31043         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31044         Deserializer thisDeserializer(thisArray, thisLength);
31045         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31046         Opt_Number value_value_buf = {};
31047         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31048         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31049         {
31050             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31051         }
31052         Opt_Number value_value = value_value_buf;;
31053         GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, (const Opt_Number*)&value_value);
31054 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_hdrBrightness,Ark_NativePointer,KSerializerBuffer,int32_t)31055 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_hdrBrightness, Ark_NativePointer, KSerializerBuffer, int32_t)
31056 void impl_XComponentAttribute_enableTransparentLayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31057         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31058         Deserializer thisDeserializer(thisArray, thisLength);
31059         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31060         Opt_Boolean value_value_buf = {};
31061         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31062         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31063         {
31064             value_value_buf.value = thisDeserializer.readBoolean();
31065         }
31066         Opt_Boolean value_value = value_value_buf;;
31067         GetNodeModifiers()->getXComponentModifier()->setEnableTransparentLayer(self, (const Opt_Boolean*)&value_value);
31068 }
KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableTransparentLayer,Ark_NativePointer,KSerializerBuffer,int32_t)31069 KOALA_INTEROP_DIRECT_V3(XComponentAttribute_enableTransparentLayer, Ark_NativePointer, KSerializerBuffer, int32_t)
31070 Ark_NativePointer impl_SideBarContainer_construct(Ark_Int32 id, Ark_Int32 flags) {
31071         return GetNodeModifiers()->getSideBarContainerModifier()->construct(id, flags);
31072 }
KOALA_INTEROP_DIRECT_2(SideBarContainer_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)31073 KOALA_INTEROP_DIRECT_2(SideBarContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
31074 void impl_SideBarContainerInterface_setSideBarContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31075         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31076         Deserializer thisDeserializer(thisArray, thisLength);
31077         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31078         Opt_SideBarContainerType type_value_buf = {};
31079         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31080         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
31081         {
31082             type_value_buf.value = static_cast<Ark_SideBarContainerType>(thisDeserializer.readInt32());
31083         }
31084         Opt_SideBarContainerType type_value = type_value_buf;;
31085         GetNodeModifiers()->getSideBarContainerModifier()->setSideBarContainerOptions(self, (const Opt_SideBarContainerType*)&type_value);
31086 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerInterface_setSideBarContainerOptions,Ark_NativePointer,KSerializerBuffer,int32_t)31087 KOALA_INTEROP_DIRECT_V3(SideBarContainerInterface_setSideBarContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
31088 void impl_SideBarContainerAttribute_showSideBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31089         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31090         Deserializer thisDeserializer(thisArray, thisLength);
31091         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31092         Opt_Boolean value_value_buf = {};
31093         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31094         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31095         {
31096             value_value_buf.value = thisDeserializer.readBoolean();
31097         }
31098         Opt_Boolean value_value = value_value_buf;;
31099         GetNodeModifiers()->getSideBarContainerModifier()->setShowSideBar(self, (const Opt_Boolean*)&value_value);
31100 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_showSideBar,Ark_NativePointer,KSerializerBuffer,int32_t)31101 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_showSideBar, Ark_NativePointer, KSerializerBuffer, int32_t)
31102 void impl_SideBarContainerAttribute_controlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31103         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31104         Deserializer thisDeserializer(thisArray, thisLength);
31105         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31106         Opt_ButtonStyle value_value_buf = {};
31107         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31108         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31109         {
31110             value_value_buf.value = thisDeserializer.readButtonStyle();
31111         }
31112         Opt_ButtonStyle value_value = value_value_buf;;
31113         GetNodeModifiers()->getSideBarContainerModifier()->setControlButton(self, (const Opt_ButtonStyle*)&value_value);
31114 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_controlButton,Ark_NativePointer,KSerializerBuffer,int32_t)31115 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_controlButton, Ark_NativePointer, KSerializerBuffer, int32_t)
31116 void impl_SideBarContainerAttribute_showControlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31117         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31118         Deserializer thisDeserializer(thisArray, thisLength);
31119         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31120         Opt_Boolean value_value_buf = {};
31121         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31122         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31123         {
31124             value_value_buf.value = thisDeserializer.readBoolean();
31125         }
31126         Opt_Boolean value_value = value_value_buf;;
31127         GetNodeModifiers()->getSideBarContainerModifier()->setShowControlButton(self, (const Opt_Boolean*)&value_value);
31128 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_showControlButton,Ark_NativePointer,KSerializerBuffer,int32_t)31129 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_showControlButton, Ark_NativePointer, KSerializerBuffer, int32_t)
31130 void impl_SideBarContainerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31131         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31132         Deserializer thisDeserializer(thisArray, thisLength);
31133         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31134         Opt_Callback_Boolean_Void value_value_buf = {};
31135         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31136         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31137         {
31138             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};
31139         }
31140         Opt_Callback_Boolean_Void value_value = value_value_buf;;
31141         GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, (const Opt_Callback_Boolean_Void*)&value_value);
31142 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)31143 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
31144 void impl_SideBarContainerAttribute_sideBarWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31145         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31146         Deserializer thisDeserializer(thisArray, thisLength);
31147         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31148         Opt_Number value_value_buf = {};
31149         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31150         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31151         {
31152             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31153         }
31154         Opt_Number value_value = value_value_buf;;
31155         GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, (const Opt_Number*)&value_value);
31156 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth0,Ark_NativePointer,KSerializerBuffer,int32_t)31157 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth0, Ark_NativePointer, KSerializerBuffer, int32_t)
31158 void impl_SideBarContainerAttribute_sideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31159         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31160         Deserializer thisDeserializer(thisArray, thisLength);
31161         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31162         Opt_Length value_value_buf = {};
31163         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31164         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31165         {
31166             value_value_buf.value = thisDeserializer.readLength();
31167         }
31168         Opt_Length value_value = value_value_buf;;
31169         GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth1(self, (const Opt_Length*)&value_value);
31170 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth1,Ark_NativePointer,KSerializerBuffer,int32_t)31171 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t)
31172 void impl_SideBarContainerAttribute_minSideBarWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31173         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31174         Deserializer thisDeserializer(thisArray, thisLength);
31175         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31176         Opt_Number value_value_buf = {};
31177         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31178         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31179         {
31180             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31181         }
31182         Opt_Number value_value = value_value_buf;;
31183         GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth0(self, (const Opt_Number*)&value_value);
31184 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth0,Ark_NativePointer,KSerializerBuffer,int32_t)31185 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth0, Ark_NativePointer, KSerializerBuffer, int32_t)
31186 void impl_SideBarContainerAttribute_minSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31187         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31188         Deserializer thisDeserializer(thisArray, thisLength);
31189         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31190         Opt_Length value_value_buf = {};
31191         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31192         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31193         {
31194             value_value_buf.value = thisDeserializer.readLength();
31195         }
31196         Opt_Length value_value = value_value_buf;;
31197         GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth1(self, (const Opt_Length*)&value_value);
31198 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth1,Ark_NativePointer,KSerializerBuffer,int32_t)31199 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t)
31200 void impl_SideBarContainerAttribute_maxSideBarWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31201         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31202         Deserializer thisDeserializer(thisArray, thisLength);
31203         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31204         Opt_Number value_value_buf = {};
31205         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31206         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31207         {
31208             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31209         }
31210         Opt_Number value_value = value_value_buf;;
31211         GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, (const Opt_Number*)&value_value);
31212 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth0,Ark_NativePointer,KSerializerBuffer,int32_t)31213 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth0, Ark_NativePointer, KSerializerBuffer, int32_t)
31214 void impl_SideBarContainerAttribute_maxSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31215         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31216         Deserializer thisDeserializer(thisArray, thisLength);
31217         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31218         Opt_Length value_value_buf = {};
31219         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31220         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31221         {
31222             value_value_buf.value = thisDeserializer.readLength();
31223         }
31224         Opt_Length value_value = value_value_buf;;
31225         GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth1(self, (const Opt_Length*)&value_value);
31226 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth1,Ark_NativePointer,KSerializerBuffer,int32_t)31227 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t)
31228 void impl_SideBarContainerAttribute_autoHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31229         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31230         Deserializer thisDeserializer(thisArray, thisLength);
31231         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31232         Opt_Boolean value_value_buf = {};
31233         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31234         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31235         {
31236             value_value_buf.value = thisDeserializer.readBoolean();
31237         }
31238         Opt_Boolean value_value = value_value_buf;;
31239         GetNodeModifiers()->getSideBarContainerModifier()->setAutoHide(self, (const Opt_Boolean*)&value_value);
31240 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_autoHide,Ark_NativePointer,KSerializerBuffer,int32_t)31241 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_autoHide, Ark_NativePointer, KSerializerBuffer, int32_t)
31242 void impl_SideBarContainerAttribute_sideBarPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31243         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31244         Deserializer thisDeserializer(thisArray, thisLength);
31245         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31246         Opt_SideBarPosition value_value_buf = {};
31247         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31248         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31249         {
31250             value_value_buf.value = static_cast<Ark_SideBarPosition>(thisDeserializer.readInt32());
31251         }
31252         Opt_SideBarPosition value_value = value_value_buf;;
31253         GetNodeModifiers()->getSideBarContainerModifier()->setSideBarPosition(self, (const Opt_SideBarPosition*)&value_value);
31254 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarPosition,Ark_NativePointer,KSerializerBuffer,int32_t)31255 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
31256 void impl_SideBarContainerAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31257         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31258         Deserializer thisDeserializer(thisArray, thisLength);
31259         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31260         Opt_DividerStyle value_value_buf = {};
31261         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31262         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31263         {
31264             value_value_buf.value = thisDeserializer.readDividerStyle();
31265         }
31266         Opt_DividerStyle value_value = value_value_buf;;
31267         GetNodeModifiers()->getSideBarContainerModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value);
31268 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_divider,Ark_NativePointer,KSerializerBuffer,int32_t)31269 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t)
31270 void impl_SideBarContainerAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31271         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31272         Deserializer thisDeserializer(thisArray, thisLength);
31273         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31274         Opt_Length value_value_buf = {};
31275         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31276         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31277         {
31278             value_value_buf.value = thisDeserializer.readLength();
31279         }
31280         Opt_Length value_value = value_value_buf;;
31281         GetNodeModifiers()->getSideBarContainerModifier()->setMinContentWidth(self, (const Opt_Length*)&value_value);
31282 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minContentWidth,Ark_NativePointer,KSerializerBuffer,int32_t)31283 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
31284 void impl_SideBarContainerAttribute__onChangeEvent_showSideBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31285         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31286         Deserializer thisDeserializer(thisArray, thisLength);
31287         Callback_Opt_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Boolean select)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Boolean_Void))))};;
31288         GetNodeModifiers()->getSideBarContainerModifier()->set_onChangeEvent_showSideBar(self, (const Callback_Opt_Boolean_Void*)&callback_value);
31289 }
KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute__onChangeEvent_showSideBar,Ark_NativePointer,KSerializerBuffer,int32_t)31290 KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute__onChangeEvent_showSideBar, Ark_NativePointer, KSerializerBuffer, int32_t)
31291 Ark_NativePointer impl_RemoteWindow_construct(Ark_Int32 id, Ark_Int32 flags) {
31292         return GetNodeModifiers()->getRemoteWindowModifier()->construct(id, flags);
31293 }
KOALA_INTEROP_DIRECT_2(RemoteWindow_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)31294 KOALA_INTEROP_DIRECT_2(RemoteWindow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
31295 void impl_RemoteWindowInterface_setRemoteWindowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31296         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31297         Deserializer thisDeserializer(thisArray, thisLength);
31298         Ark_WindowAnimationTarget target_value = thisDeserializer.readWindowAnimationTarget();;
31299         GetNodeModifiers()->getRemoteWindowModifier()->setRemoteWindowOptions(self, (const Ark_WindowAnimationTarget*)&target_value);
31300 }
KOALA_INTEROP_DIRECT_V3(RemoteWindowInterface_setRemoteWindowOptions,Ark_NativePointer,KSerializerBuffer,int32_t)31301 KOALA_INTEROP_DIRECT_V3(RemoteWindowInterface_setRemoteWindowOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
31302 Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) {
31303         return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags);
31304 }
KOALA_INTEROP_DIRECT_2(WaterFlow_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)31305 KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
31306 void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31307         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31308         Deserializer thisDeserializer(thisArray, thisLength);
31309         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31310         Opt_WaterFlowOptions options_value_buf = {};
31311         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31312         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
31313         {
31314             options_value_buf.value = thisDeserializer.readWaterFlowOptions();
31315         }
31316         Opt_WaterFlowOptions options_value = options_value_buf;;
31317         GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, (const Opt_WaterFlowOptions*)&options_value);
31318 }
KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions,Ark_NativePointer,KSerializerBuffer,int32_t)31319 KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
31320 void impl_WaterFlowAttribute_columnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31321         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31322         Deserializer thisDeserializer(thisArray, thisLength);
31323         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31324         Opt_String value_value_buf = {};
31325         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31326         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31327         {
31328             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
31329         }
31330         Opt_String value_value = value_value_buf;;
31331         GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, (const Opt_String*)&value_value);
31332 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsTemplate,Ark_NativePointer,KSerializerBuffer,int32_t)31333 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t)
31334 void impl_WaterFlowAttribute_itemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31335         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31336         Deserializer thisDeserializer(thisArray, thisLength);
31337         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31338         Opt_ConstraintSizeOptions value_value_buf = {};
31339         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31340         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31341         {
31342             value_value_buf.value = thisDeserializer.readConstraintSizeOptions();
31343         }
31344         Opt_ConstraintSizeOptions value_value = value_value_buf;;
31345         GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, (const Opt_ConstraintSizeOptions*)&value_value);
31346 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_itemConstraintSize,Ark_NativePointer,KSerializerBuffer,int32_t)31347 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_itemConstraintSize, Ark_NativePointer, KSerializerBuffer, int32_t)
31348 void impl_WaterFlowAttribute_rowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31349         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31350         Deserializer thisDeserializer(thisArray, thisLength);
31351         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31352         Opt_String value_value_buf = {};
31353         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31354         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31355         {
31356             value_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
31357         }
31358         Opt_String value_value = value_value_buf;;
31359         GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, (const Opt_String*)&value_value);
31360 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsTemplate,Ark_NativePointer,KSerializerBuffer,int32_t)31361 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t)
31362 void impl_WaterFlowAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31363         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31364         Deserializer thisDeserializer(thisArray, thisLength);
31365         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31366         Opt_Length value_value_buf = {};
31367         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31368         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31369         {
31370             value_value_buf.value = thisDeserializer.readLength();
31371         }
31372         Opt_Length value_value = value_value_buf;;
31373         GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, (const Opt_Length*)&value_value);
31374 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsGap,Ark_NativePointer,KSerializerBuffer,int32_t)31375 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
31376 void impl_WaterFlowAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31377         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31378         Deserializer thisDeserializer(thisArray, thisLength);
31379         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31380         Opt_Length value_value_buf = {};
31381         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31382         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31383         {
31384             value_value_buf.value = thisDeserializer.readLength();
31385         }
31386         Opt_Length value_value = value_value_buf;;
31387         GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, (const Opt_Length*)&value_value);
31388 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsGap,Ark_NativePointer,KSerializerBuffer,int32_t)31389 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t)
31390 void impl_WaterFlowAttribute_layoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31391         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31392         Deserializer thisDeserializer(thisArray, thisLength);
31393         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31394         Opt_FlexDirection value_value_buf = {};
31395         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31396         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31397         {
31398             value_value_buf.value = static_cast<Ark_FlexDirection>(thisDeserializer.readInt32());
31399         }
31400         Opt_FlexDirection value_value = value_value_buf;;
31401         GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, (const Opt_FlexDirection*)&value_value);
31402 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_layoutDirection,Ark_NativePointer,KSerializerBuffer,int32_t)31403 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_layoutDirection, Ark_NativePointer, KSerializerBuffer, int32_t)
31404 void impl_WaterFlowAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31405         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31406         Deserializer thisDeserializer(thisArray, thisLength);
31407         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31408         Opt_NestedScrollOptions value_value_buf = {};
31409         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31410         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31411         {
31412             value_value_buf.value = thisDeserializer.readNestedScrollOptions();
31413         }
31414         Opt_NestedScrollOptions value_value = value_value_buf;;
31415         GetNodeModifiers()->getWaterFlowModifier()->setNestedScroll(self, (const Opt_NestedScrollOptions*)&value_value);
31416 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_nestedScroll,Ark_NativePointer,KSerializerBuffer,int32_t)31417 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
31418 void impl_WaterFlowAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31419         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31420         Deserializer thisDeserializer(thisArray, thisLength);
31421         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31422         Opt_Boolean value_value_buf = {};
31423         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31424         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31425         {
31426             value_value_buf.value = thisDeserializer.readBoolean();
31427         }
31428         Opt_Boolean value_value = value_value_buf;;
31429         GetNodeModifiers()->getWaterFlowModifier()->setEnableScrollInteraction(self, (const Opt_Boolean*)&value_value);
31430 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_enableScrollInteraction,Ark_NativePointer,KSerializerBuffer,int32_t)31431 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_enableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t)
31432 void impl_WaterFlowAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31433         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31434         Deserializer thisDeserializer(thisArray, thisLength);
31435         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31436         Opt_Union_Number_Resource value_value_buf = {};
31437         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31438         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31439         {
31440             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
31441             Ark_Union_Number_Resource value_value_buf_ = {};
31442             value_value_buf_.selector = value_value_buf__selector;
31443             if (value_value_buf__selector == 0) {
31444                 value_value_buf_.selector = 0;
31445                 value_value_buf_.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
31446             }
31447             else if (value_value_buf__selector == 1) {
31448                 value_value_buf_.selector = 1;
31449                 value_value_buf_.value1 = thisDeserializer.readResource();
31450             }
31451             else {
31452                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
31453             }
31454             value_value_buf.value = static_cast<Ark_Union_Number_Resource>(value_value_buf_);
31455         }
31456         Opt_Union_Number_Resource value_value = value_value_buf;;
31457         GetNodeModifiers()->getWaterFlowModifier()->setFriction(self, (const Opt_Union_Number_Resource*)&value_value);
31458 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_friction,Ark_NativePointer,KSerializerBuffer,int32_t)31459 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t)
31460 void impl_WaterFlowAttribute_cachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31461         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31462         Deserializer thisDeserializer(thisArray, thisLength);
31463         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31464         Opt_Number value_value_buf = {};
31465         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31466         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31467         {
31468             value_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31469         }
31470         Opt_Number value_value = value_value_buf;;
31471         GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, (const Opt_Number*)&value_value);
31472 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount0,Ark_NativePointer,KSerializerBuffer,int32_t)31473 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t)
31474 void impl_WaterFlowAttribute_cachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31475         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31476         Deserializer thisDeserializer(thisArray, thisLength);
31477         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31478         Opt_Number count_value_buf = {};
31479         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31480         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
31481         {
31482             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31483         }
31484         Opt_Number count_value = count_value_buf;;
31485         const auto show_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31486         Opt_Boolean show_value_buf = {};
31487         show_value_buf.tag = show_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31488         if ((INTEROP_RUNTIME_UNDEFINED) != (show_value_buf_runtimeType))
31489         {
31490             show_value_buf.value = thisDeserializer.readBoolean();
31491         }
31492         Opt_Boolean show_value = show_value_buf;;
31493         GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, (const Opt_Number*)&count_value, (const Opt_Boolean*)&show_value);
31494 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount1,Ark_NativePointer,KSerializerBuffer,int32_t)31495 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t)
31496 void impl_WaterFlowAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31497         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31498         Deserializer thisDeserializer(thisArray, thisLength);
31499         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31500         Opt_Callback_Void value_value_buf = {};
31501         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31502         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31503         {
31504             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
31505         }
31506         Opt_Callback_Void value_value = value_value_buf;;
31507         GetNodeModifiers()->getWaterFlowModifier()->setOnReachStart(self, (const Opt_Callback_Void*)&value_value);
31508 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachStart,Ark_NativePointer,KSerializerBuffer,int32_t)31509 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t)
31510 void impl_WaterFlowAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31511         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31512         Deserializer thisDeserializer(thisArray, thisLength);
31513         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31514         Opt_Callback_Void value_value_buf = {};
31515         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31516         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31517         {
31518             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
31519         }
31520         Opt_Callback_Void value_value = value_value_buf;;
31521         GetNodeModifiers()->getWaterFlowModifier()->setOnReachEnd(self, (const Opt_Callback_Void*)&value_value);
31522 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachEnd,Ark_NativePointer,KSerializerBuffer,int32_t)31523 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
31524 void impl_WaterFlowAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31525         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31526         Deserializer thisDeserializer(thisArray, thisLength);
31527         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31528         Opt_OnScrollFrameBeginCallback value_value_buf = {};
31529         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31530         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31531         {
31532             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number offset, Ark_ScrollState state, const Callback_OnScrollFrameBeginHandlerResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))};
31533         }
31534         Opt_OnScrollFrameBeginCallback value_value = value_value_buf;;
31535         GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, (const Opt_OnScrollFrameBeginCallback*)&value_value);
31536 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollFrameBegin,Ark_NativePointer,KSerializerBuffer,int32_t)31537 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t)
31538 void impl_WaterFlowAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31539         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31540         Deserializer thisDeserializer(thisArray, thisLength);
31541         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31542         Opt_Callback_Number_Number_Void value_value_buf = {};
31543         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31544         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31545         {
31546             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};
31547         }
31548         Opt_Callback_Number_Number_Void value_value = value_value_buf;;
31549         GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, (const Opt_Callback_Number_Number_Void*)&value_value);
31550 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollIndex,Ark_NativePointer,KSerializerBuffer,int32_t)31551 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t)
31552 void impl_WaterFlowAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31553         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31554         Deserializer thisDeserializer(thisArray, thisLength);
31555         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31556         Opt_OnWillScrollCallback value_value_buf = {};
31557         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31558         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31559         {
31560             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnWillScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_ScrollResult_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnWillScrollCallback))))};
31561         }
31562         Opt_OnWillScrollCallback value_value = value_value_buf;;
31563         GetNodeModifiers()->getWaterFlowModifier()->setOnWillScroll(self, (const Opt_OnWillScrollCallback*)&value_value);
31564 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onWillScroll,Ark_NativePointer,KSerializerBuffer,int32_t)31565 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
31566 void impl_WaterFlowAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31567         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31568         Deserializer thisDeserializer(thisArray, thisLength);
31569         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31570         Opt_OnScrollCallback value_value_buf = {};
31571         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31572         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31573         {
31574             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnScrollCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnScrollCallback))))};
31575         }
31576         Opt_OnScrollCallback value_value = value_value_buf;;
31577         GetNodeModifiers()->getWaterFlowModifier()->setOnDidScroll(self, (const Opt_OnScrollCallback*)&value_value);
31578 }
KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onDidScroll,Ark_NativePointer,KSerializerBuffer,int32_t)31579 KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t)
31580 Ark_NativePointer impl_UIExtensionComponent_construct(Ark_Int32 id, Ark_Int32 flags) {
31581         return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags);
31582 }
KOALA_INTEROP_DIRECT_2(UIExtensionComponent_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)31583 KOALA_INTEROP_DIRECT_2(UIExtensionComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
31584 void impl_UIExtensionComponentInterface_setUIExtensionComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31585         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31586         Deserializer thisDeserializer(thisArray, thisLength);
31587         Ark_Want want_value = thisDeserializer.readWant();;
31588         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31589         Opt_UIExtensionOptions options_value_buf = {};
31590         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31591         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
31592         {
31593             options_value_buf.value = thisDeserializer.readUIExtensionOptions();
31594         }
31595         Opt_UIExtensionOptions options_value = options_value_buf;;
31596         GetNodeModifiers()->getUIExtensionComponentModifier()->setUIExtensionComponentOptions(self, (const Ark_Want*)&want_value, (const Opt_UIExtensionOptions*)&options_value);
31597 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentInterface_setUIExtensionComponentOptions,Ark_NativePointer,KSerializerBuffer,int32_t)31598 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentInterface_setUIExtensionComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
31599 void impl_UIExtensionComponentAttribute_onRemoteReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31600         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31601         Deserializer thisDeserializer(thisArray, thisLength);
31602         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31603         Opt_Callback_UIExtensionProxy_Void value_value_buf = {};
31604         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31605         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31606         {
31607             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};
31608         }
31609         Opt_Callback_UIExtensionProxy_Void value_value = value_value_buf;;
31610         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRemoteReady(self, (const Opt_Callback_UIExtensionProxy_Void*)&value_value);
31611 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRemoteReady,Ark_NativePointer,KSerializerBuffer,int32_t)31612 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRemoteReady, Ark_NativePointer, KSerializerBuffer, int32_t)
31613 void impl_UIExtensionComponentAttribute_onReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31614         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31615         Deserializer thisDeserializer(thisArray, thisLength);
31616         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31617         Opt_Callback_Map_String_Object_Void value_value_buf = {};
31618         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31619         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31620         {
31621             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Map_String_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Map_String_Object_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Map_String_Object parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Map_String_Object_Void))))};
31622         }
31623         Opt_Callback_Map_String_Object_Void value_value = value_value_buf;;
31624         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, (const Opt_Callback_Map_String_Object_Void*)&value_value);
31625 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onReceive,Ark_NativePointer,KSerializerBuffer,int32_t)31626 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onReceive, Ark_NativePointer, KSerializerBuffer, int32_t)
31627 void impl_UIExtensionComponentAttribute_onResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31628         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31629         Deserializer thisDeserializer(thisArray, thisLength);
31630         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31631         Opt_Callback_Literal_Number_code__want_Void value_value_buf = {};
31632         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31633         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31634         {
31635             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Literal_Number_code__want parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Literal_Number_code__want_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Literal_Number_code__want parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_code__want_Void))))};
31636         }
31637         Opt_Callback_Literal_Number_code__want_Void value_value = value_value_buf;;
31638         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnResult(self, (const Opt_Callback_Literal_Number_code__want_Void*)&value_value);
31639 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onResult,Ark_NativePointer,KSerializerBuffer,int32_t)31640 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onResult, Ark_NativePointer, KSerializerBuffer, int32_t)
31641 void impl_UIExtensionComponentAttribute_onRelease(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31642         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31643         Deserializer thisDeserializer(thisArray, thisLength);
31644         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31645         Opt_Callback_Number_Void value_value_buf = {};
31646         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31647         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31648         {
31649             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};
31650         }
31651         Opt_Callback_Number_Void value_value = value_value_buf;;
31652         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRelease(self, (const Opt_Callback_Number_Void*)&value_value);
31653 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRelease,Ark_NativePointer,KSerializerBuffer,int32_t)31654 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRelease, Ark_NativePointer, KSerializerBuffer, int32_t)
31655 void impl_UIExtensionComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31656         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31657         Deserializer thisDeserializer(thisArray, thisLength);
31658         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31659         Opt_ErrorCallback value_value_buf = {};
31660         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31661         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31662         {
31663             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_BusinessError err)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_BusinessError err)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_ErrorCallback))))};
31664         }
31665         Opt_ErrorCallback value_value = value_value_buf;;
31666         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnError(self, (const Opt_ErrorCallback*)&value_value);
31667 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onError,Ark_NativePointer,KSerializerBuffer,int32_t)31668 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t)
31669 void impl_UIExtensionComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31670         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31671         Deserializer thisDeserializer(thisArray, thisLength);
31672         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31673         Opt_Callback_TerminationInfo_Void value_value_buf = {};
31674         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31675         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31676         {
31677             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TerminationInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TerminationInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};
31678         }
31679         Opt_Callback_TerminationInfo_Void value_value = value_value_buf;;
31680         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnTerminated(self, (const Opt_Callback_TerminationInfo_Void*)&value_value);
31681 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onTerminated,Ark_NativePointer,KSerializerBuffer,int32_t)31682 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t)
31683 void impl_UIExtensionComponentAttribute_onDrawReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31684         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31685         Deserializer thisDeserializer(thisArray, thisLength);
31686         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31687         Opt_Callback_Void value_value_buf = {};
31688         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31689         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31690         {
31691             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
31692         }
31693         Opt_Callback_Void value_value = value_value_buf;;
31694         GetNodeModifiers()->getUIExtensionComponentModifier()->setOnDrawReady(self, (const Opt_Callback_Void*)&value_value);
31695 }
KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onDrawReady,Ark_NativePointer,KSerializerBuffer,int32_t)31696 KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onDrawReady, Ark_NativePointer, KSerializerBuffer, int32_t)
31697 Ark_NativePointer impl_LinearIndicator_construct(Ark_Int32 id, Ark_Int32 flags) {
31698         return GetNodeModifiers()->getLinearIndicatorModifier()->construct(id, flags);
31699 }
KOALA_INTEROP_DIRECT_2(LinearIndicator_construct,Ark_NativePointer,Ark_Int32,Ark_Int32)31700 KOALA_INTEROP_DIRECT_2(LinearIndicator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32)
31701 void impl_LinearIndicatorInterface_setLinearIndicatorOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31702         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31703         Deserializer thisDeserializer(thisArray, thisLength);
31704         const auto count_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31705         Opt_Number count_value_buf = {};
31706         count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31707         if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType))
31708         {
31709             count_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
31710         }
31711         Opt_Number count_value = count_value_buf;;
31712         const auto controller_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31713         Opt_LinearIndicatorController controller_value_buf = {};
31714         controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31715         if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType))
31716         {
31717             controller_value_buf.value = static_cast<Ark_LinearIndicatorController>(thisDeserializer.readLinearIndicatorController());
31718         }
31719         Opt_LinearIndicatorController controller_value = controller_value_buf;;
31720         GetNodeModifiers()->getLinearIndicatorModifier()->setLinearIndicatorOptions(self, (const Opt_Number*)&count_value, (const Opt_LinearIndicatorController*)&controller_value);
31721 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorInterface_setLinearIndicatorOptions,Ark_NativePointer,KSerializerBuffer,int32_t)31722 KOALA_INTEROP_DIRECT_V3(LinearIndicatorInterface_setLinearIndicatorOptions, Ark_NativePointer, KSerializerBuffer, int32_t)
31723 void impl_LinearIndicatorAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31724         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31725         Deserializer thisDeserializer(thisArray, thisLength);
31726         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31727         Opt_LinearIndicatorStyle value_value_buf = {};
31728         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31729         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31730         {
31731             value_value_buf.value = thisDeserializer.readLinearIndicatorStyle();
31732         }
31733         Opt_LinearIndicatorStyle value_value = value_value_buf;;
31734         GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorStyle(self, (const Opt_LinearIndicatorStyle*)&value_value);
31735 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorStyle,Ark_NativePointer,KSerializerBuffer,int32_t)31736 KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
31737 void impl_LinearIndicatorAttribute_indicatorLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31738         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31739         Deserializer thisDeserializer(thisArray, thisLength);
31740         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31741         Opt_Boolean value_value_buf = {};
31742         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31743         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31744         {
31745             value_value_buf.value = thisDeserializer.readBoolean();
31746         }
31747         Opt_Boolean value_value = value_value_buf;;
31748         GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorLoop(self, (const Opt_Boolean*)&value_value);
31749 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorLoop,Ark_NativePointer,KSerializerBuffer,int32_t)31750 KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorLoop, Ark_NativePointer, KSerializerBuffer, int32_t)
31751 void impl_LinearIndicatorAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
31752         Ark_NodeHandle self = reinterpret_cast<Ark_NodeHandle>(thisPtr);
31753         Deserializer thisDeserializer(thisArray, thisLength);
31754         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
31755         Opt_OnLinearIndicatorChangeCallback value_value_buf = {};
31756         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
31757         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
31758         {
31759             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number progress)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_OnLinearIndicatorChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_Number progress)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_OnLinearIndicatorChangeCallback))))};
31760         }
31761         Opt_OnLinearIndicatorChangeCallback value_value = value_value_buf;;
31762         GetNodeModifiers()->getLinearIndicatorModifier()->setOnChange(self, (const Opt_OnLinearIndicatorChangeCallback*)&value_value);
31763 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_onChange,Ark_NativePointer,KSerializerBuffer,int32_t)31764 KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t)
31765 
31766 // Accessors
31767 
31768 void impl_AnimationExtender_SetClipRect(Ark_NativePointer node, KFloat x, KFloat y, KFloat width, KFloat height) {
31769         GetAccessors()->getAnimationExtenderAccessor()->SetClipRect(node, x, y, width, height);
31770 }
KOALA_INTEROP_DIRECT_V5(AnimationExtender_SetClipRect,Ark_NativePointer,KFloat,KFloat,KFloat,KFloat)31771 KOALA_INTEROP_DIRECT_V5(AnimationExtender_SetClipRect, Ark_NativePointer, KFloat, KFloat, KFloat, KFloat)
31772 void impl_AnimationExtender_OpenImplicitAnimation(KSerializerBuffer thisArray, int32_t thisLength) {
31773         Deserializer thisDeserializer(thisArray, thisLength);
31774         Ark_AnimateParam param_value = thisDeserializer.readAnimateParam();;
31775         GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimation((const Ark_AnimateParam*)&param_value);
31776 }
KOALA_INTEROP_DIRECT_V2(AnimationExtender_OpenImplicitAnimation,KSerializerBuffer,int32_t)31777 KOALA_INTEROP_DIRECT_V2(AnimationExtender_OpenImplicitAnimation, KSerializerBuffer, int32_t)
31778 void impl_AnimationExtender_CloseImplicitAnimation() {
31779         GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimation();
31780 }
KOALA_INTEROP_DIRECT_V0(AnimationExtender_CloseImplicitAnimation)31781 KOALA_INTEROP_DIRECT_V0(AnimationExtender_CloseImplicitAnimation)
31782 void impl_AnimationExtender_StartDoubleAnimation(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
31783         Deserializer thisDeserializer(thisArray, thisLength);
31784         Ark_DoubleAnimationParam param_value = thisDeserializer.readDoubleAnimationParam();;
31785         GetAccessors()->getAnimationExtenderAccessor()->StartDoubleAnimation(node, (const Ark_DoubleAnimationParam*)&param_value);
31786 }
KOALA_INTEROP_DIRECT_V3(AnimationExtender_StartDoubleAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)31787 KOALA_INTEROP_DIRECT_V3(AnimationExtender_StartDoubleAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
31788 void impl_AnimationExtender_AnimationTranslate(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
31789         Deserializer thisDeserializer(thisArray, thisLength);
31790         Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();;
31791         GetAccessors()->getAnimationExtenderAccessor()->AnimationTranslate(node, (const Ark_TranslateOptions*)&options_value);
31792 }
KOALA_INTEROP_DIRECT_V3(AnimationExtender_AnimationTranslate,Ark_NativePointer,KSerializerBuffer,int32_t)31793 KOALA_INTEROP_DIRECT_V3(AnimationExtender_AnimationTranslate, Ark_NativePointer, KSerializerBuffer, int32_t)
31794 Ark_NativePointer impl_BaseContext_ctor() {
31795         return GetAccessors()->getBaseContextAccessor()->ctor();
31796 }
KOALA_INTEROP_DIRECT_0(BaseContext_ctor,Ark_NativePointer)31797 KOALA_INTEROP_DIRECT_0(BaseContext_ctor, Ark_NativePointer)
31798 Ark_NativePointer impl_BaseContext_getFinalizer() {
31799         return GetAccessors()->getBaseContextAccessor()->getFinalizer();
31800 }
KOALA_INTEROP_DIRECT_0(BaseContext_getFinalizer,Ark_NativePointer)31801 KOALA_INTEROP_DIRECT_0(BaseContext_getFinalizer, Ark_NativePointer)
31802 Ark_Boolean impl_BaseContext_getStageMode(Ark_NativePointer thisPtr) {
31803         Ark_BaseContext self = reinterpret_cast<Ark_BaseContext>(thisPtr);
31804         return GetAccessors()->getBaseContextAccessor()->getStageMode(self);
31805 }
KOALA_INTEROP_DIRECT_1(BaseContext_getStageMode,Ark_Boolean,Ark_NativePointer)31806 KOALA_INTEROP_DIRECT_1(BaseContext_getStageMode, Ark_Boolean, Ark_NativePointer)
31807 void impl_BaseContext_setStageMode(Ark_NativePointer thisPtr, Ark_Boolean stageMode) {
31808         Ark_BaseContext self = reinterpret_cast<Ark_BaseContext>(thisPtr);
31809         GetAccessors()->getBaseContextAccessor()->setStageMode(self, stageMode);
31810 }
KOALA_INTEROP_DIRECT_V2(BaseContext_setStageMode,Ark_NativePointer,Ark_Boolean)31811 KOALA_INTEROP_DIRECT_V2(BaseContext_setStageMode, Ark_NativePointer, Ark_Boolean)
31812 Ark_NativePointer impl_Context_ctor() {
31813         return GetAccessors()->getContextAccessor()->ctor();
31814 }
KOALA_INTEROP_DIRECT_0(Context_ctor,Ark_NativePointer)31815 KOALA_INTEROP_DIRECT_0(Context_ctor, Ark_NativePointer)
31816 Ark_NativePointer impl_Context_getFinalizer() {
31817         return GetAccessors()->getContextAccessor()->getFinalizer();
31818 }
KOALA_INTEROP_DIRECT_0(Context_getFinalizer,Ark_NativePointer)31819 KOALA_INTEROP_DIRECT_0(Context_getFinalizer, Ark_NativePointer)
31820 Ark_NativePointer impl_Context_createBundleContext(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& bundleName) {
31821         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31822         return GetAccessors()->getContextAccessor()->createBundleContext(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&bundleName));
31823 }
KOALA_INTEROP_CTX_2(Context_createBundleContext,Ark_NativePointer,Ark_NativePointer,KStringPtr)31824 KOALA_INTEROP_CTX_2(Context_createBundleContext, Ark_NativePointer, Ark_NativePointer, KStringPtr)
31825 Ark_NativePointer impl_Context_createModuleContext0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& moduleName) {
31826         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31827         return GetAccessors()->getContextAccessor()->createModuleContext0(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&moduleName));
31828 }
KOALA_INTEROP_CTX_2(Context_createModuleContext0,Ark_NativePointer,Ark_NativePointer,KStringPtr)31829 KOALA_INTEROP_CTX_2(Context_createModuleContext0, Ark_NativePointer, Ark_NativePointer, KStringPtr)
31830 Ark_NativePointer impl_Context_createModuleContext1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& bundleName, const KStringPtr& moduleName) {
31831         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31832         return GetAccessors()->getContextAccessor()->createModuleContext1(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&bundleName), (const Ark_String*) (&moduleName));
31833 }
KOALA_INTEROP_CTX_3(Context_createModuleContext1,Ark_NativePointer,Ark_NativePointer,KStringPtr,KStringPtr)31834 KOALA_INTEROP_CTX_3(Context_createModuleContext1, Ark_NativePointer, Ark_NativePointer, KStringPtr, KStringPtr)
31835 void impl_Context_getGroupDir0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& dataGroupID, KSerializerBuffer thisArray, int32_t thisLength) {
31836         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31837         Deserializer thisDeserializer(thisArray, thisLength);
31838         Context_getGroupDir_Callback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Context_getGroupDir_Callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Context_getGroupDir_Callback))))};;
31839         GetAccessors()->getContextAccessor()->getGroupDir0(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&dataGroupID), (const Context_getGroupDir_Callback*)&callback__value);
31840 }
KOALA_INTEROP_CTX_V4(Context_getGroupDir0,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)31841 KOALA_INTEROP_CTX_V4(Context_getGroupDir0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
31842 Ark_String impl_Context_getGroupDir1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& dataGroupID) {
31843         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31844         return GetAccessors()->getContextAccessor()->getGroupDir1(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&dataGroupID));
31845 }
KOALA_INTEROP_CTX_2(Context_getGroupDir1,KStringPtr,Ark_NativePointer,KStringPtr)31846 KOALA_INTEROP_CTX_2(Context_getGroupDir1, KStringPtr, Ark_NativePointer, KStringPtr)
31847 Ark_String impl_Context_getCacheDir(Ark_NativePointer thisPtr) {
31848         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31849         return GetAccessors()->getContextAccessor()->getCacheDir(self);
31850 }
KOALA_INTEROP_1(Context_getCacheDir,KStringPtr,Ark_NativePointer)31851 KOALA_INTEROP_1(Context_getCacheDir, KStringPtr, Ark_NativePointer)
31852 void impl_Context_setCacheDir(Ark_NativePointer thisPtr, const KStringPtr& cacheDir) {
31853         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31854         GetAccessors()->getContextAccessor()->setCacheDir(self, (const Ark_String*) (&cacheDir));
31855 }
KOALA_INTEROP_V2(Context_setCacheDir,Ark_NativePointer,KStringPtr)31856 KOALA_INTEROP_V2(Context_setCacheDir, Ark_NativePointer, KStringPtr)
31857 Ark_String impl_Context_getTempDir(Ark_NativePointer thisPtr) {
31858         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31859         return GetAccessors()->getContextAccessor()->getTempDir(self);
31860 }
KOALA_INTEROP_1(Context_getTempDir,KStringPtr,Ark_NativePointer)31861 KOALA_INTEROP_1(Context_getTempDir, KStringPtr, Ark_NativePointer)
31862 void impl_Context_setTempDir(Ark_NativePointer thisPtr, const KStringPtr& tempDir) {
31863         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31864         GetAccessors()->getContextAccessor()->setTempDir(self, (const Ark_String*) (&tempDir));
31865 }
KOALA_INTEROP_V2(Context_setTempDir,Ark_NativePointer,KStringPtr)31866 KOALA_INTEROP_V2(Context_setTempDir, Ark_NativePointer, KStringPtr)
31867 Ark_String impl_Context_getFilesDir(Ark_NativePointer thisPtr) {
31868         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31869         return GetAccessors()->getContextAccessor()->getFilesDir(self);
31870 }
KOALA_INTEROP_1(Context_getFilesDir,KStringPtr,Ark_NativePointer)31871 KOALA_INTEROP_1(Context_getFilesDir, KStringPtr, Ark_NativePointer)
31872 void impl_Context_setFilesDir(Ark_NativePointer thisPtr, const KStringPtr& filesDir) {
31873         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31874         GetAccessors()->getContextAccessor()->setFilesDir(self, (const Ark_String*) (&filesDir));
31875 }
KOALA_INTEROP_V2(Context_setFilesDir,Ark_NativePointer,KStringPtr)31876 KOALA_INTEROP_V2(Context_setFilesDir, Ark_NativePointer, KStringPtr)
31877 Ark_String impl_Context_getDatabaseDir(Ark_NativePointer thisPtr) {
31878         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31879         return GetAccessors()->getContextAccessor()->getDatabaseDir(self);
31880 }
KOALA_INTEROP_1(Context_getDatabaseDir,KStringPtr,Ark_NativePointer)31881 KOALA_INTEROP_1(Context_getDatabaseDir, KStringPtr, Ark_NativePointer)
31882 void impl_Context_setDatabaseDir(Ark_NativePointer thisPtr, const KStringPtr& databaseDir) {
31883         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31884         GetAccessors()->getContextAccessor()->setDatabaseDir(self, (const Ark_String*) (&databaseDir));
31885 }
KOALA_INTEROP_V2(Context_setDatabaseDir,Ark_NativePointer,KStringPtr)31886 KOALA_INTEROP_V2(Context_setDatabaseDir, Ark_NativePointer, KStringPtr)
31887 Ark_String impl_Context_getPreferencesDir(Ark_NativePointer thisPtr) {
31888         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31889         return GetAccessors()->getContextAccessor()->getPreferencesDir(self);
31890 }
KOALA_INTEROP_1(Context_getPreferencesDir,KStringPtr,Ark_NativePointer)31891 KOALA_INTEROP_1(Context_getPreferencesDir, KStringPtr, Ark_NativePointer)
31892 void impl_Context_setPreferencesDir(Ark_NativePointer thisPtr, const KStringPtr& preferencesDir) {
31893         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31894         GetAccessors()->getContextAccessor()->setPreferencesDir(self, (const Ark_String*) (&preferencesDir));
31895 }
KOALA_INTEROP_V2(Context_setPreferencesDir,Ark_NativePointer,KStringPtr)31896 KOALA_INTEROP_V2(Context_setPreferencesDir, Ark_NativePointer, KStringPtr)
31897 Ark_String impl_Context_getBundleCodeDir(Ark_NativePointer thisPtr) {
31898         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31899         return GetAccessors()->getContextAccessor()->getBundleCodeDir(self);
31900 }
KOALA_INTEROP_1(Context_getBundleCodeDir,KStringPtr,Ark_NativePointer)31901 KOALA_INTEROP_1(Context_getBundleCodeDir, KStringPtr, Ark_NativePointer)
31902 void impl_Context_setBundleCodeDir(Ark_NativePointer thisPtr, const KStringPtr& bundleCodeDir) {
31903         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31904         GetAccessors()->getContextAccessor()->setBundleCodeDir(self, (const Ark_String*) (&bundleCodeDir));
31905 }
KOALA_INTEROP_V2(Context_setBundleCodeDir,Ark_NativePointer,KStringPtr)31906 KOALA_INTEROP_V2(Context_setBundleCodeDir, Ark_NativePointer, KStringPtr)
31907 Ark_String impl_Context_getDistributedFilesDir(Ark_NativePointer thisPtr) {
31908         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31909         return GetAccessors()->getContextAccessor()->getDistributedFilesDir(self);
31910 }
KOALA_INTEROP_1(Context_getDistributedFilesDir,KStringPtr,Ark_NativePointer)31911 KOALA_INTEROP_1(Context_getDistributedFilesDir, KStringPtr, Ark_NativePointer)
31912 void impl_Context_setDistributedFilesDir(Ark_NativePointer thisPtr, const KStringPtr& distributedFilesDir) {
31913         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31914         GetAccessors()->getContextAccessor()->setDistributedFilesDir(self, (const Ark_String*) (&distributedFilesDir));
31915 }
KOALA_INTEROP_V2(Context_setDistributedFilesDir,Ark_NativePointer,KStringPtr)31916 KOALA_INTEROP_V2(Context_setDistributedFilesDir, Ark_NativePointer, KStringPtr)
31917 Ark_String impl_Context_getResourceDir(Ark_NativePointer thisPtr) {
31918         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31919         return GetAccessors()->getContextAccessor()->getResourceDir(self);
31920 }
KOALA_INTEROP_1(Context_getResourceDir,KStringPtr,Ark_NativePointer)31921 KOALA_INTEROP_1(Context_getResourceDir, KStringPtr, Ark_NativePointer)
31922 void impl_Context_setResourceDir(Ark_NativePointer thisPtr, const KStringPtr& resourceDir) {
31923         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31924         GetAccessors()->getContextAccessor()->setResourceDir(self, (const Ark_String*) (&resourceDir));
31925 }
KOALA_INTEROP_V2(Context_setResourceDir,Ark_NativePointer,KStringPtr)31926 KOALA_INTEROP_V2(Context_setResourceDir, Ark_NativePointer, KStringPtr)
31927 Ark_String impl_Context_getCloudFileDir(Ark_NativePointer thisPtr) {
31928         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31929         return GetAccessors()->getContextAccessor()->getCloudFileDir(self);
31930 }
KOALA_INTEROP_1(Context_getCloudFileDir,KStringPtr,Ark_NativePointer)31931 KOALA_INTEROP_1(Context_getCloudFileDir, KStringPtr, Ark_NativePointer)
31932 void impl_Context_setCloudFileDir(Ark_NativePointer thisPtr, const KStringPtr& cloudFileDir) {
31933         Ark_Context self = reinterpret_cast<Ark_Context>(thisPtr);
31934         GetAccessors()->getContextAccessor()->setCloudFileDir(self, (const Ark_String*) (&cloudFileDir));
31935 }
KOALA_INTEROP_V2(Context_setCloudFileDir,Ark_NativePointer,KStringPtr)31936 KOALA_INTEROP_V2(Context_setCloudFileDir, Ark_NativePointer, KStringPtr)
31937 Ark_NativePointer impl_UnifiedData_ctor() {
31938         return GetAccessors()->getUnifiedDataAccessor()->ctor();
31939 }
KOALA_INTEROP_DIRECT_0(UnifiedData_ctor,Ark_NativePointer)31940 KOALA_INTEROP_DIRECT_0(UnifiedData_ctor, Ark_NativePointer)
31941 Ark_NativePointer impl_UnifiedData_getFinalizer() {
31942         return GetAccessors()->getUnifiedDataAccessor()->getFinalizer();
31943 }
KOALA_INTEROP_DIRECT_0(UnifiedData_getFinalizer,Ark_NativePointer)31944 KOALA_INTEROP_DIRECT_0(UnifiedData_getFinalizer, Ark_NativePointer)
31945 Ark_Boolean impl_UnifiedData_hasType(Ark_NativePointer thisPtr, const KStringPtr& UnifiedData_type) {
31946         Ark_UnifiedData self = reinterpret_cast<Ark_UnifiedData>(thisPtr);
31947         return GetAccessors()->getUnifiedDataAccessor()->hasType(self, (const Ark_String*) (&UnifiedData_type));
31948 }
KOALA_INTEROP_2(UnifiedData_hasType,Ark_Boolean,Ark_NativePointer,KStringPtr)31949 KOALA_INTEROP_2(UnifiedData_hasType, Ark_Boolean, Ark_NativePointer, KStringPtr)
31950 KInteropReturnBuffer impl_UnifiedData_getTypes(Ark_NativePointer thisPtr) {
31951         Ark_UnifiedData self = reinterpret_cast<Ark_UnifiedData>(thisPtr);
31952         const auto &retValue = GetAccessors()->getUnifiedDataAccessor()->getTypes(self);
31953         Serializer _retSerializer {};
31954         _retSerializer.writeInt32(retValue.length);
31955         for (int i = 0; i < retValue.length; i++) {
31956             const Ark_String retValue_element = retValue.array[i];
31957             _retSerializer.writeString(retValue_element);
31958         }
31959         return _retSerializer.toReturnBuffer();
31960 }
KOALA_INTEROP_1(UnifiedData_getTypes,KInteropReturnBuffer,Ark_NativePointer)31961 KOALA_INTEROP_1(UnifiedData_getTypes, KInteropReturnBuffer, Ark_NativePointer)
31962 Ark_NativePointer impl_LazyForEachOps_NeedMoreElements(Ark_NativePointer node, Ark_NativePointer mark, Ark_Int32 direction) {
31963         return GetAccessors()->getLazyForEachOpsAccessor()->NeedMoreElements(node, mark, direction);
31964 }
KOALA_INTEROP_DIRECT_3(LazyForEachOps_NeedMoreElements,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer,Ark_Int32)31965 KOALA_INTEROP_DIRECT_3(LazyForEachOps_NeedMoreElements, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer, Ark_Int32)
31966 void impl_LazyForEachOps_OnRangeUpdate(Ark_NativePointer node, Ark_Int32 totalCount, KSerializerBuffer thisArray, int32_t thisLength) {
31967         Deserializer thisDeserializer(thisArray, thisLength);
31968         Callback_RangeUpdate updater_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Int32 start, const Ark_Int32 end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RangeUpdate)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int32 start, const Ark_Int32 end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RangeUpdate))))};;
31969         GetAccessors()->getLazyForEachOpsAccessor()->OnRangeUpdate(node, totalCount, (const Callback_RangeUpdate*)&updater_value);
31970 }
KOALA_INTEROP_DIRECT_V4(LazyForEachOps_OnRangeUpdate,Ark_NativePointer,Ark_Int32,KSerializerBuffer,int32_t)31971 KOALA_INTEROP_DIRECT_V4(LazyForEachOps_OnRangeUpdate, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t)
31972 void impl_LazyForEachOps_SetCurrentIndex(Ark_NativePointer node, Ark_Int32 index) {
31973         GetAccessors()->getLazyForEachOpsAccessor()->SetCurrentIndex(node, index);
31974 }
KOALA_INTEROP_DIRECT_V2(LazyForEachOps_SetCurrentIndex,Ark_NativePointer,Ark_Int32)31975 KOALA_INTEROP_DIRECT_V2(LazyForEachOps_SetCurrentIndex, Ark_NativePointer, Ark_Int32)
31976 void impl_LazyForEachOps_Prepare(Ark_NativePointer node, Ark_Int32 itemCount, Ark_Int32 offset) {
31977         GetAccessors()->getLazyForEachOpsAccessor()->Prepare(node, itemCount, offset);
31978 }
KOALA_INTEROP_DIRECT_V3(LazyForEachOps_Prepare,Ark_NativePointer,Ark_Int32,Ark_Int32)31979 KOALA_INTEROP_DIRECT_V3(LazyForEachOps_Prepare, Ark_NativePointer, Ark_Int32, Ark_Int32)
31980 void impl_LazyForEachOps_NotifyChange(Ark_NativePointer node, Ark_Int32 startIndex, Ark_Int32 endIndex, Ark_Int32 count) {
31981         GetAccessors()->getLazyForEachOpsAccessor()->NotifyChange(node, startIndex, endIndex, count);
31982 }
KOALA_INTEROP_DIRECT_V4(LazyForEachOps_NotifyChange,Ark_NativePointer,Ark_Int32,Ark_Int32,Ark_Int32)31983 KOALA_INTEROP_DIRECT_V4(LazyForEachOps_NotifyChange, Ark_NativePointer, Ark_Int32, Ark_Int32, Ark_Int32)
31984 void impl_LazyForEachOps_Sync(Ark_NativePointer node, Ark_Int32 totalCount, KSerializerBuffer thisArray, int32_t thisLength) {
31985         Deserializer thisDeserializer(thisArray, thisLength);
31986         Callback_CreateItem creator_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Int32 index, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_CreateItem)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int32 index, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_CreateItem))))};;
31987         Callback_RangeUpdate updater_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Int32 start, const Ark_Int32 end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_RangeUpdate)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int32 start, const Ark_Int32 end)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_RangeUpdate))))};;
31988         GetAccessors()->getLazyForEachOpsAccessor()->Sync(node, totalCount, (const Callback_CreateItem*)&creator_value, (const Callback_RangeUpdate*)&updater_value);
31989 }
KOALA_INTEROP_DIRECT_V4(LazyForEachOps_Sync,Ark_NativePointer,Ark_Int32,KSerializerBuffer,int32_t)31990 KOALA_INTEROP_DIRECT_V4(LazyForEachOps_Sync, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t)
31991 Ark_NativePointer impl_SystemOps_StartFrame() {
31992         return GetAccessors()->getSystemOpsAccessor()->StartFrame();
31993 }
KOALA_INTEROP_DIRECT_0(SystemOps_StartFrame,Ark_NativePointer)31994 KOALA_INTEROP_DIRECT_0(SystemOps_StartFrame, Ark_NativePointer)
31995 void impl_SystemOps_EndFrame(Ark_NativePointer root) {
31996         GetAccessors()->getSystemOpsAccessor()->EndFrame(root);
31997 }
KOALA_INTEROP_DIRECT_V1(SystemOps_EndFrame,Ark_NativePointer)31998 KOALA_INTEROP_DIRECT_V1(SystemOps_EndFrame, Ark_NativePointer)
31999 void impl_SystemOps_syncInstanceId(Ark_Int32 instanceId) {
32000         GetAccessors()->getSystemOpsAccessor()->syncInstanceId(instanceId);
32001 }
KOALA_INTEROP_DIRECT_V1(SystemOps_syncInstanceId,Ark_Int32)32002 KOALA_INTEROP_DIRECT_V1(SystemOps_syncInstanceId, Ark_Int32)
32003 void impl_SystemOps_restoreInstanceId() {
32004         GetAccessors()->getSystemOpsAccessor()->restoreInstanceId();
32005 }
KOALA_INTEROP_DIRECT_V0(SystemOps_restoreInstanceId)32006 KOALA_INTEROP_DIRECT_V0(SystemOps_restoreInstanceId)
32007 Ark_Int32 impl_SystemOps_getResourceId(const KStringPtr& bundleName, const KStringPtr& moduleName, KSerializerBuffer thisArray, int32_t thisLength) {
32008         Deserializer thisDeserializer(thisArray, thisLength);
32009         const Ark_Int32 params_value_buf_length = thisDeserializer.readInt32();
32010         Array_String params_value_buf = {};
32011         thisDeserializer.resizeArray<std::decay<decltype(params_value_buf)>::type,
32012         std::decay<decltype(*params_value_buf.array)>::type>(&params_value_buf, params_value_buf_length);
32013         for (int params_value_buf_i = 0; params_value_buf_i < params_value_buf_length; params_value_buf_i++) {
32014             params_value_buf.array[params_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
32015         }
32016         Array_String params_value = params_value_buf;;
32017         return GetAccessors()->getSystemOpsAccessor()->getResourceId((const Ark_String*) (&bundleName), (const Ark_String*) (&moduleName), (const Array_String*)&params_value);
32018 }
KOALA_INTEROP_4(SystemOps_getResourceId,Ark_Int32,KStringPtr,KStringPtr,KSerializerBuffer,int32_t)32019 KOALA_INTEROP_4(SystemOps_getResourceId, Ark_Int32, KStringPtr, KStringPtr, KSerializerBuffer, int32_t)
32020 void impl_SystemOps_resourceManagerReset() {
32021         GetAccessors()->getSystemOpsAccessor()->resourceManagerReset();
32022 }
KOALA_INTEROP_DIRECT_V0(SystemOps_resourceManagerReset)32023 KOALA_INTEROP_DIRECT_V0(SystemOps_resourceManagerReset)
32024 void impl_SystemOps_setFrameCallback(KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber delayTime) {
32025         Deserializer thisDeserializer(thisArray, thisLength);
32026         Callback_Number_Void onFrameCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
32027         Callback_Number_Void onIdleCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};;
32028         GetAccessors()->getSystemOpsAccessor()->setFrameCallback((const Callback_Number_Void*)&onFrameCallback_value, (const Callback_Number_Void*)&onIdleCallback_value, (const Ark_Number*) (&delayTime));
32029 }
KOALA_INTEROP_DIRECT_V3(SystemOps_setFrameCallback,KSerializerBuffer,int32_t,KInteropNumber)32030 KOALA_INTEROP_DIRECT_V3(SystemOps_setFrameCallback, KSerializerBuffer, int32_t, KInteropNumber)
32031 Ark_NativePointer impl_GestureOps_createTapGesture(KInteropNumber fingers, KInteropNumber count, KInteropNumber distanceThreshold, Ark_Boolean isFingerCountLimited) {
32032         return GetAccessors()->getGestureOpsAccessor()->createTapGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&count), (const Ark_Number*) (&distanceThreshold), isFingerCountLimited);
32033 }
KOALA_INTEROP_DIRECT_4(GestureOps_createTapGesture,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,Ark_Boolean)32034 KOALA_INTEROP_DIRECT_4(GestureOps_createTapGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, Ark_Boolean)
32035 Ark_NativePointer impl_GestureOps_createLongPressGesture(KInteropNumber fingers, Ark_Boolean repeat, KInteropNumber duration, Ark_Boolean isFingerCountLimited) {
32036         return GetAccessors()->getGestureOpsAccessor()->createLongPressGesture((const Ark_Number*) (&fingers), repeat, (const Ark_Number*) (&duration), isFingerCountLimited);
32037 }
KOALA_INTEROP_DIRECT_4(GestureOps_createLongPressGesture,Ark_NativePointer,KInteropNumber,Ark_Boolean,KInteropNumber,Ark_Boolean)32038 KOALA_INTEROP_DIRECT_4(GestureOps_createLongPressGesture, Ark_NativePointer, KInteropNumber, Ark_Boolean, KInteropNumber, Ark_Boolean)
32039 Ark_NativePointer impl_GestureOps_createPanGesture(KInteropNumber fingers, Ark_Int32 direction, KInteropNumber distance, Ark_Boolean isFingerCountLimited) {
32040         return GetAccessors()->getGestureOpsAccessor()->createPanGesture((const Ark_Number*) (&fingers), static_cast<Ark_PanDirection>(direction), (const Ark_Number*) (&distance), isFingerCountLimited);
32041 }
KOALA_INTEROP_DIRECT_4(GestureOps_createPanGesture,Ark_NativePointer,KInteropNumber,Ark_Int32,KInteropNumber,Ark_Boolean)32042 KOALA_INTEROP_DIRECT_4(GestureOps_createPanGesture, Ark_NativePointer, KInteropNumber, Ark_Int32, KInteropNumber, Ark_Boolean)
32043 Ark_NativePointer impl_GestureOps_createPanGestureWithPanGestureOptions(Ark_NativePointer panGestureOptions) {
32044         return GetAccessors()->getGestureOpsAccessor()->createPanGestureWithPanGestureOptions(panGestureOptions);
32045 }
KOALA_INTEROP_DIRECT_1(GestureOps_createPanGestureWithPanGestureOptions,Ark_NativePointer,Ark_NativePointer)32046 KOALA_INTEROP_DIRECT_1(GestureOps_createPanGestureWithPanGestureOptions, Ark_NativePointer, Ark_NativePointer)
32047 Ark_NativePointer impl_GestureOps_createPinchGesture(KInteropNumber fingers, KInteropNumber distance, Ark_Boolean isFingerCountLimited) {
32048         return GetAccessors()->getGestureOpsAccessor()->createPinchGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&distance), isFingerCountLimited);
32049 }
KOALA_INTEROP_DIRECT_3(GestureOps_createPinchGesture,Ark_NativePointer,KInteropNumber,KInteropNumber,Ark_Boolean)32050 KOALA_INTEROP_DIRECT_3(GestureOps_createPinchGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Boolean)
32051 Ark_NativePointer impl_GestureOps_createRotationGesture(KInteropNumber fingers, KInteropNumber angle, Ark_Boolean isFingerCountLimited) {
32052         return GetAccessors()->getGestureOpsAccessor()->createRotationGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&angle), isFingerCountLimited);
32053 }
KOALA_INTEROP_DIRECT_3(GestureOps_createRotationGesture,Ark_NativePointer,KInteropNumber,KInteropNumber,Ark_Boolean)32054 KOALA_INTEROP_DIRECT_3(GestureOps_createRotationGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Boolean)
32055 Ark_NativePointer impl_GestureOps_createSwipeGesture(KInteropNumber fingers, Ark_Int32 direction, KInteropNumber speed, Ark_Boolean isFingerCountLimited) {
32056         return GetAccessors()->getGestureOpsAccessor()->createSwipeGesture((const Ark_Number*) (&fingers), static_cast<Ark_SwipeDirection>(direction), (const Ark_Number*) (&speed), isFingerCountLimited);
32057 }
KOALA_INTEROP_DIRECT_4(GestureOps_createSwipeGesture,Ark_NativePointer,KInteropNumber,Ark_Int32,KInteropNumber,Ark_Boolean)32058 KOALA_INTEROP_DIRECT_4(GestureOps_createSwipeGesture, Ark_NativePointer, KInteropNumber, Ark_Int32, KInteropNumber, Ark_Boolean)
32059 Ark_NativePointer impl_GestureOps_createGestureGroup(Ark_Int32 mode) {
32060         return GetAccessors()->getGestureOpsAccessor()->createGestureGroup(static_cast<Ark_GestureMode>(mode));
32061 }
KOALA_INTEROP_DIRECT_1(GestureOps_createGestureGroup,Ark_NativePointer,Ark_Int32)32062 KOALA_INTEROP_DIRECT_1(GestureOps_createGestureGroup, Ark_NativePointer, Ark_Int32)
32063 void impl_GestureOps_setOnAction(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32064         Deserializer thisDeserializer(thisArray, thisLength);
32065         Callback_GestureEvent_Void onAction_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
32066         GetAccessors()->getGestureOpsAccessor()->setOnAction(gesture, (const Callback_GestureEvent_Void*)&onAction_value);
32067 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnAction,Ark_NativePointer,KSerializerBuffer,int32_t)32068 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnAction, Ark_NativePointer, KSerializerBuffer, int32_t)
32069 void impl_GestureOps_setOnActionStart(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32070         Deserializer thisDeserializer(thisArray, thisLength);
32071         Callback_GestureEvent_Void onActionStart_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
32072         GetAccessors()->getGestureOpsAccessor()->setOnActionStart(gesture, (const Callback_GestureEvent_Void*)&onActionStart_value);
32073 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionStart,Ark_NativePointer,KSerializerBuffer,int32_t)32074 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionStart, Ark_NativePointer, KSerializerBuffer, int32_t)
32075 void impl_GestureOps_setOnActionUpdate(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32076         Deserializer thisDeserializer(thisArray, thisLength);
32077         Callback_GestureEvent_Void onActionUpdate_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
32078         GetAccessors()->getGestureOpsAccessor()->setOnActionUpdate(gesture, (const Callback_GestureEvent_Void*)&onActionUpdate_value);
32079 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionUpdate,Ark_NativePointer,KSerializerBuffer,int32_t)32080 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionUpdate, Ark_NativePointer, KSerializerBuffer, int32_t)
32081 void impl_GestureOps_setOnActionEnd(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32082         Deserializer thisDeserializer(thisArray, thisLength);
32083         Callback_GestureEvent_Void onActionEnd_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
32084         GetAccessors()->getGestureOpsAccessor()->setOnActionEnd(gesture, (const Callback_GestureEvent_Void*)&onActionEnd_value);
32085 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionEnd,Ark_NativePointer,KSerializerBuffer,int32_t)32086 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionEnd, Ark_NativePointer, KSerializerBuffer, int32_t)
32087 void impl_GestureOps_setOnActionCancel(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32088         Deserializer thisDeserializer(thisArray, thisLength);
32089         Callback_GestureEvent_Void onActionCancel_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
32090         GetAccessors()->getGestureOpsAccessor()->setOnActionCancel(gesture, (const Callback_GestureEvent_Void*)&onActionCancel_value);
32091 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionCancel,Ark_NativePointer,KSerializerBuffer,int32_t)32092 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionCancel, Ark_NativePointer, KSerializerBuffer, int32_t)
32093 void impl_GestureOps_setOnCancel(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32094         Deserializer thisDeserializer(thisArray, thisLength);
32095         Callback_Void onCancel_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
32096         GetAccessors()->getGestureOpsAccessor()->setOnCancel(gesture, (const Callback_Void*)&onCancel_value);
32097 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setOnCancel,Ark_NativePointer,KSerializerBuffer,int32_t)32098 KOALA_INTEROP_DIRECT_V3(GestureOps_setOnCancel, Ark_NativePointer, KSerializerBuffer, int32_t)
32099 void impl_GestureOps_setGestureTag(Ark_NativePointer gesture, const KStringPtr& tag) {
32100         GetAccessors()->getGestureOpsAccessor()->setGestureTag(gesture, (const Ark_String*) (&tag));
32101 }
KOALA_INTEROP_V2(GestureOps_setGestureTag,Ark_NativePointer,KStringPtr)32102 KOALA_INTEROP_V2(GestureOps_setGestureTag, Ark_NativePointer, KStringPtr)
32103 void impl_GestureOps_setAllowedTypes(Ark_NativePointer gesture, KSerializerBuffer thisArray, int32_t thisLength) {
32104         Deserializer thisDeserializer(thisArray, thisLength);
32105         const Ark_Int32 types_value_buf_length = thisDeserializer.readInt32();
32106         Array_SourceTool types_value_buf = {};
32107         thisDeserializer.resizeArray<std::decay<decltype(types_value_buf)>::type,
32108         std::decay<decltype(*types_value_buf.array)>::type>(&types_value_buf, types_value_buf_length);
32109         for (int types_value_buf_i = 0; types_value_buf_i < types_value_buf_length; types_value_buf_i++) {
32110             types_value_buf.array[types_value_buf_i] = static_cast<Ark_SourceTool>(thisDeserializer.readInt32());
32111         }
32112         Array_SourceTool types_value = types_value_buf;;
32113         GetAccessors()->getGestureOpsAccessor()->setAllowedTypes(gesture, (const Array_SourceTool*)&types_value);
32114 }
KOALA_INTEROP_DIRECT_V3(GestureOps_setAllowedTypes,Ark_NativePointer,KSerializerBuffer,int32_t)32115 KOALA_INTEROP_DIRECT_V3(GestureOps_setAllowedTypes, Ark_NativePointer, KSerializerBuffer, int32_t)
32116 void impl_GestureOps_addGestureToNode(Ark_NativePointer node, KInteropNumber priority, Ark_Int32 mask, Ark_NativePointer gesture, Ark_Boolean isModifier) {
32117         GetAccessors()->getGestureOpsAccessor()->addGestureToNode(node, (const Ark_Number*) (&priority), static_cast<Ark_GestureMask>(mask), gesture, isModifier);
32118 }
KOALA_INTEROP_DIRECT_V5(GestureOps_addGestureToNode,Ark_NativePointer,KInteropNumber,Ark_Int32,Ark_NativePointer,Ark_Boolean)32119 KOALA_INTEROP_DIRECT_V5(GestureOps_addGestureToNode, Ark_NativePointer, KInteropNumber, Ark_Int32, Ark_NativePointer, Ark_Boolean)
32120 void impl_GestureOps_addGestureToGroup(Ark_NativePointer group, Ark_NativePointer gesture) {
32121         GetAccessors()->getGestureOpsAccessor()->addGestureToGroup(group, gesture);
32122 }
KOALA_INTEROP_DIRECT_V2(GestureOps_addGestureToGroup,Ark_NativePointer,Ark_NativePointer)32123 KOALA_INTEROP_DIRECT_V2(GestureOps_addGestureToGroup, Ark_NativePointer, Ark_NativePointer)
32124 void impl_GestureOps_removeGestureByTag(Ark_NativePointer node, const KStringPtr& tag) {
32125         GetAccessors()->getGestureOpsAccessor()->removeGestureByTag(node, (const Ark_String*) (&tag));
32126 }
KOALA_INTEROP_V2(GestureOps_removeGestureByTag,Ark_NativePointer,KStringPtr)32127 KOALA_INTEROP_V2(GestureOps_removeGestureByTag, Ark_NativePointer, KStringPtr)
32128 void impl_GestureOps_clearGestures(Ark_NativePointer node) {
32129         GetAccessors()->getGestureOpsAccessor()->clearGestures(node);
32130 }
KOALA_INTEROP_DIRECT_V1(GestureOps_clearGestures,Ark_NativePointer)32131 KOALA_INTEROP_DIRECT_V1(GestureOps_clearGestures, Ark_NativePointer)
32132 void impl_FocusController_requestFocus(const KStringPtr& key) {
32133         GetAccessors()->getFocusControllerAccessor()->requestFocus((const Ark_String*) (&key));
32134 }
KOALA_INTEROP_V1(FocusController_requestFocus,KStringPtr)32135 KOALA_INTEROP_V1(FocusController_requestFocus, KStringPtr)
32136 Ark_NativePointer impl_ComponentContent_ctor() {
32137         return GetAccessors()->getComponentContentAccessor()->ctor();
32138 }
KOALA_INTEROP_DIRECT_0(ComponentContent_ctor,Ark_NativePointer)32139 KOALA_INTEROP_DIRECT_0(ComponentContent_ctor, Ark_NativePointer)
32140 Ark_NativePointer impl_ComponentContent_getFinalizer() {
32141         return GetAccessors()->getComponentContentAccessor()->getFinalizer();
32142 }
KOALA_INTEROP_DIRECT_0(ComponentContent_getFinalizer,Ark_NativePointer)32143 KOALA_INTEROP_DIRECT_0(ComponentContent_getFinalizer, Ark_NativePointer)
32144 void impl_ComponentContent_update(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32145         Ark_ComponentContent self = reinterpret_cast<Ark_ComponentContent>(thisPtr);
32146         Deserializer thisDeserializer(thisArray, thisLength);
32147         Ark_Object args_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
32148         GetAccessors()->getComponentContentAccessor()->update(self, (const Ark_Object*)&args_value);
32149 }
KOALA_INTEROP_DIRECT_V3(ComponentContent_update,Ark_NativePointer,KSerializerBuffer,int32_t)32150 KOALA_INTEROP_DIRECT_V3(ComponentContent_update, Ark_NativePointer, KSerializerBuffer, int32_t)
32151 void impl_ComponentContent_reuse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32152         Ark_ComponentContent self = reinterpret_cast<Ark_ComponentContent>(thisPtr);
32153         Deserializer thisDeserializer(thisArray, thisLength);
32154         const auto param_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32155         Opt_Object param_value_buf = {};
32156         param_value_buf.tag = param_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32157         if ((INTEROP_RUNTIME_UNDEFINED) != (param_value_buf_runtimeType))
32158         {
32159             param_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
32160         }
32161         Opt_Object param_value = param_value_buf;;
32162         GetAccessors()->getComponentContentAccessor()->reuse(self, (const Opt_Object*)&param_value);
32163 }
KOALA_INTEROP_DIRECT_V3(ComponentContent_reuse,Ark_NativePointer,KSerializerBuffer,int32_t)32164 KOALA_INTEROP_DIRECT_V3(ComponentContent_reuse, Ark_NativePointer, KSerializerBuffer, int32_t)
32165 void impl_ComponentContent_recycle(Ark_NativePointer thisPtr) {
32166         Ark_ComponentContent self = reinterpret_cast<Ark_ComponentContent>(thisPtr);
32167         GetAccessors()->getComponentContentAccessor()->recycle(self);
32168 }
KOALA_INTEROP_DIRECT_V1(ComponentContent_recycle,Ark_NativePointer)32169 KOALA_INTEROP_DIRECT_V1(ComponentContent_recycle, Ark_NativePointer)
32170 void impl_ComponentContent_dispose(Ark_NativePointer thisPtr) {
32171         Ark_ComponentContent self = reinterpret_cast<Ark_ComponentContent>(thisPtr);
32172         GetAccessors()->getComponentContentAccessor()->dispose(self);
32173 }
KOALA_INTEROP_DIRECT_V1(ComponentContent_dispose,Ark_NativePointer)32174 KOALA_INTEROP_DIRECT_V1(ComponentContent_dispose, Ark_NativePointer)
32175 void impl_ComponentContent_updateConfiguration(Ark_NativePointer thisPtr) {
32176         Ark_ComponentContent self = reinterpret_cast<Ark_ComponentContent>(thisPtr);
32177         GetAccessors()->getComponentContentAccessor()->updateConfiguration(self);
32178 }
KOALA_INTEROP_DIRECT_V1(ComponentContent_updateConfiguration,Ark_NativePointer)32179 KOALA_INTEROP_DIRECT_V1(ComponentContent_updateConfiguration, Ark_NativePointer)
32180 Ark_NativePointer impl_Scene_ctor() {
32181         return GetAccessors()->getSceneAccessor()->ctor();
32182 }
KOALA_INTEROP_DIRECT_0(Scene_ctor,Ark_NativePointer)32183 KOALA_INTEROP_DIRECT_0(Scene_ctor, Ark_NativePointer)
32184 Ark_NativePointer impl_Scene_getFinalizer() {
32185         return GetAccessors()->getSceneAccessor()->getFinalizer();
32186 }
KOALA_INTEROP_DIRECT_0(Scene_getFinalizer,Ark_NativePointer)32187 KOALA_INTEROP_DIRECT_0(Scene_getFinalizer, Ark_NativePointer)
32188 Ark_NativePointer impl_Scene_load(KSerializerBuffer thisArray, int32_t thisLength) {
32189         Deserializer thisDeserializer(thisArray, thisLength);
32190         const auto uri_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32191         Opt_ResourceStr uri_value_buf = {};
32192         uri_value_buf.tag = uri_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32193         if ((INTEROP_RUNTIME_UNDEFINED) != (uri_value_buf_runtimeType))
32194         {
32195             const Ark_Int8 uri_value_buf__selector = thisDeserializer.readInt8();
32196             Ark_ResourceStr uri_value_buf_ = {};
32197             uri_value_buf_.selector = uri_value_buf__selector;
32198             if (uri_value_buf__selector == 0) {
32199                 uri_value_buf_.selector = 0;
32200                 uri_value_buf_.value0 = static_cast<Ark_String>(thisDeserializer.readString());
32201             }
32202             else if (uri_value_buf__selector == 1) {
32203                 uri_value_buf_.selector = 1;
32204                 uri_value_buf_.value1 = thisDeserializer.readResource();
32205             }
32206             else {
32207                 INTEROP_FATAL("One of the branches for uri_value_buf_ has to be chosen through deserialisation.");
32208             }
32209             uri_value_buf.value = static_cast<Ark_ResourceStr>(uri_value_buf_);
32210         }
32211         Opt_ResourceStr uri_value = uri_value_buf;;
32212         return GetAccessors()->getSceneAccessor()->load((const Opt_ResourceStr*)&uri_value);
32213 }
KOALA_INTEROP_DIRECT_2(Scene_load,Ark_NativePointer,KSerializerBuffer,int32_t)32214 KOALA_INTEROP_DIRECT_2(Scene_load, Ark_NativePointer, KSerializerBuffer, int32_t)
32215 void impl_Scene_destroy(Ark_NativePointer thisPtr) {
32216         Ark_Scene self = reinterpret_cast<Ark_Scene>(thisPtr);
32217         GetAccessors()->getSceneAccessor()->destroy(self);
32218 }
KOALA_INTEROP_DIRECT_V1(Scene_destroy,Ark_NativePointer)32219 KOALA_INTEROP_DIRECT_V1(Scene_destroy, Ark_NativePointer)
32220 Ark_NativePointer impl_WorkerEventListener_ctor() {
32221         return GetAccessors()->getWorkerEventListenerAccessor()->ctor();
32222 }
KOALA_INTEROP_DIRECT_0(WorkerEventListener_ctor,Ark_NativePointer)32223 KOALA_INTEROP_DIRECT_0(WorkerEventListener_ctor, Ark_NativePointer)
32224 Ark_NativePointer impl_WorkerEventListener_getFinalizer() {
32225         return GetAccessors()->getWorkerEventListenerAccessor()->getFinalizer();
32226 }
KOALA_INTEROP_DIRECT_0(WorkerEventListener_getFinalizer,Ark_NativePointer)32227 KOALA_INTEROP_DIRECT_0(WorkerEventListener_getFinalizer, Ark_NativePointer)
32228 void impl_WorkerEventListener_invoke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32229         Ark_WorkerEventListener self = reinterpret_cast<Ark_WorkerEventListener>(thisPtr);
32230         Deserializer thisDeserializer(thisArray, thisLength);
32231         Ark_Event event_value = thisDeserializer.readEvent();;
32232         GetAccessors()->getWorkerEventListenerAccessor()->invoke(self, (const Ark_Event*)&event_value);
32233 }
KOALA_INTEROP_DIRECT_V3(WorkerEventListener_invoke,Ark_NativePointer,KSerializerBuffer,int32_t)32234 KOALA_INTEROP_DIRECT_V3(WorkerEventListener_invoke, Ark_NativePointer, KSerializerBuffer, int32_t)
32235 Ark_NativePointer impl_RestrictedWorker_ctor(const KStringPtr& scriptURL, KSerializerBuffer thisArray, int32_t thisLength) {
32236         Deserializer thisDeserializer(thisArray, thisLength);
32237         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32238         Opt_WorkerOptions options_value_buf = {};
32239         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32240         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
32241         {
32242             options_value_buf.value = thisDeserializer.readWorkerOptions();
32243         }
32244         Opt_WorkerOptions options_value = options_value_buf;;
32245         return GetAccessors()->getRestrictedWorkerAccessor()->ctor((const Ark_String*) (&scriptURL), (const Opt_WorkerOptions*)&options_value);
32246 }
KOALA_INTEROP_3(RestrictedWorker_ctor,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)32247 KOALA_INTEROP_3(RestrictedWorker_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
32248 Ark_NativePointer impl_RestrictedWorker_getFinalizer() {
32249         return GetAccessors()->getRestrictedWorkerAccessor()->getFinalizer();
32250 }
KOALA_INTEROP_DIRECT_0(RestrictedWorker_getFinalizer,Ark_NativePointer)32251 KOALA_INTEROP_DIRECT_0(RestrictedWorker_getFinalizer, Ark_NativePointer)
32252 void impl_RestrictedWorker_postMessage0(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32253         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32254         Deserializer thisDeserializer(thisArray, thisLength);
32255         Ark_Object message_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
32256         const Ark_Int32 transfer_value_buf_length = thisDeserializer.readInt32();
32257         Array_Buffer transfer_value_buf = {};
32258         thisDeserializer.resizeArray<std::decay<decltype(transfer_value_buf)>::type,
32259         std::decay<decltype(*transfer_value_buf.array)>::type>(&transfer_value_buf, transfer_value_buf_length);
32260         for (int transfer_value_buf_i = 0; transfer_value_buf_i < transfer_value_buf_length; transfer_value_buf_i++) {
32261             transfer_value_buf.array[transfer_value_buf_i] = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());
32262         }
32263         Array_Buffer transfer_value = transfer_value_buf;;
32264         GetAccessors()->getRestrictedWorkerAccessor()->postMessage0(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Object*)&message_value, (const Array_Buffer*)&transfer_value);
32265 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessage0,Ark_NativePointer,KSerializerBuffer,int32_t)32266 KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessage0, Ark_NativePointer, KSerializerBuffer, int32_t)
32267 void impl_RestrictedWorker_postMessage1(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32268         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32269         Deserializer thisDeserializer(thisArray, thisLength);
32270         Ark_Object message_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
32271         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32272         Opt_PostMessageOptions options_value_buf = {};
32273         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32274         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
32275         {
32276             options_value_buf.value = thisDeserializer.readPostMessageOptions();
32277         }
32278         Opt_PostMessageOptions options_value = options_value_buf;;
32279         GetAccessors()->getRestrictedWorkerAccessor()->postMessage1(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Object*)&message_value, (const Opt_PostMessageOptions*)&options_value);
32280 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessage1,Ark_NativePointer,KSerializerBuffer,int32_t)32281 KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessage1, Ark_NativePointer, KSerializerBuffer, int32_t)
32282 void impl_RestrictedWorker_postMessageWithSharedSendable(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32283         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32284         Deserializer thisDeserializer(thisArray, thisLength);
32285         Ark_Object message_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
32286         const auto transfer_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32287         Opt_Array_Buffer transfer_value_buf = {};
32288         transfer_value_buf.tag = transfer_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32289         if ((INTEROP_RUNTIME_UNDEFINED) != (transfer_value_buf_runtimeType))
32290         {
32291             const Ark_Int32 transfer_value_buf__length = thisDeserializer.readInt32();
32292             Array_Buffer transfer_value_buf_ = {};
32293             thisDeserializer.resizeArray<std::decay<decltype(transfer_value_buf_)>::type,
32294         std::decay<decltype(*transfer_value_buf_.array)>::type>(&transfer_value_buf_, transfer_value_buf__length);
32295             for (int transfer_value_buf__i = 0; transfer_value_buf__i < transfer_value_buf__length; transfer_value_buf__i++) {
32296                 transfer_value_buf_.array[transfer_value_buf__i] = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());
32297             }
32298             transfer_value_buf.value = transfer_value_buf_;
32299         }
32300         Opt_Array_Buffer transfer_value = transfer_value_buf;;
32301         GetAccessors()->getRestrictedWorkerAccessor()->postMessageWithSharedSendable(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Object*)&message_value, (const Opt_Array_Buffer*)&transfer_value);
32302 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessageWithSharedSendable,Ark_NativePointer,KSerializerBuffer,int32_t)32303 KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessageWithSharedSendable, Ark_NativePointer, KSerializerBuffer, int32_t)
32304 void impl_RestrictedWorker_on(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, Ark_NativePointer listener) {
32305         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32306         GetAccessors()->getRestrictedWorkerAccessor()->on(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&Type), static_cast<Ark_WorkerEventListener>(listener));
32307 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_on,Ark_NativePointer,KStringPtr,Ark_NativePointer)32308 KOALA_INTEROP_CTX_V3(RestrictedWorker_on, Ark_NativePointer, KStringPtr, Ark_NativePointer)
32309 void impl_RestrictedWorker_once(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, Ark_NativePointer listener) {
32310         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32311         GetAccessors()->getRestrictedWorkerAccessor()->once(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&Type), static_cast<Ark_WorkerEventListener>(listener));
32312 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_once,Ark_NativePointer,KStringPtr,Ark_NativePointer)32313 KOALA_INTEROP_CTX_V3(RestrictedWorker_once, Ark_NativePointer, KStringPtr, Ark_NativePointer)
32314 void impl_RestrictedWorker_off(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) {
32315         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32316         Deserializer thisDeserializer(thisArray, thisLength);
32317         const auto listener_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32318         Opt_WorkerEventListener listener_value_buf = {};
32319         listener_value_buf.tag = listener_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32320         if ((INTEROP_RUNTIME_UNDEFINED) != (listener_value_buf_runtimeType))
32321         {
32322             listener_value_buf.value = static_cast<Ark_WorkerEventListener>(thisDeserializer.readWorkerEventListener());
32323         }
32324         Opt_WorkerEventListener listener_value = listener_value_buf;;
32325         GetAccessors()->getRestrictedWorkerAccessor()->off(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&Type), (const Opt_WorkerEventListener*)&listener_value);
32326 }
KOALA_INTEROP_CTX_V4(RestrictedWorker_off,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)32327 KOALA_INTEROP_CTX_V4(RestrictedWorker_off, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
32328 void impl_RestrictedWorker_terminate(KVMContext vmContext, Ark_NativePointer thisPtr) {
32329         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32330         GetAccessors()->getRestrictedWorkerAccessor()->terminate(reinterpret_cast<Ark_VMContext>(vmContext), self);
32331 }
KOALA_INTEROP_CTX_V1(RestrictedWorker_terminate,Ark_NativePointer)32332 KOALA_INTEROP_CTX_V1(RestrictedWorker_terminate, Ark_NativePointer)
32333 void impl_RestrictedWorker_addEventListener(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, Ark_NativePointer listener) {
32334         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32335         GetAccessors()->getRestrictedWorkerAccessor()->addEventListener(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&Type), static_cast<Ark_WorkerEventListener>(listener));
32336 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_addEventListener,Ark_NativePointer,KStringPtr,Ark_NativePointer)32337 KOALA_INTEROP_CTX_V3(RestrictedWorker_addEventListener, Ark_NativePointer, KStringPtr, Ark_NativePointer)
32338 Ark_Boolean impl_RestrictedWorker_dispatchEvent(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32339         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32340         Deserializer thisDeserializer(thisArray, thisLength);
32341         Ark_Event event_value = thisDeserializer.readEvent();;
32342         return GetAccessors()->getRestrictedWorkerAccessor()->dispatchEvent(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Event*)&event_value);
32343 }
KOALA_INTEROP_CTX_3(RestrictedWorker_dispatchEvent,Ark_Boolean,Ark_NativePointer,KSerializerBuffer,int32_t)32344 KOALA_INTEROP_CTX_3(RestrictedWorker_dispatchEvent, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t)
32345 void impl_RestrictedWorker_removeEventListener(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) {
32346         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32347         Deserializer thisDeserializer(thisArray, thisLength);
32348         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32349         Opt_WorkerEventListener callback__value_buf = {};
32350         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32351         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
32352         {
32353             callback__value_buf.value = static_cast<Ark_WorkerEventListener>(thisDeserializer.readWorkerEventListener());
32354         }
32355         Opt_WorkerEventListener callback__value = callback__value_buf;;
32356         GetAccessors()->getRestrictedWorkerAccessor()->removeEventListener(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&Type), (const Opt_WorkerEventListener*)&callback__value);
32357 }
KOALA_INTEROP_CTX_V4(RestrictedWorker_removeEventListener,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)32358 KOALA_INTEROP_CTX_V4(RestrictedWorker_removeEventListener, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
32359 void impl_RestrictedWorker_removeAllListener(KVMContext vmContext, Ark_NativePointer thisPtr) {
32360         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32361         GetAccessors()->getRestrictedWorkerAccessor()->removeAllListener(reinterpret_cast<Ark_VMContext>(vmContext), self);
32362 }
KOALA_INTEROP_CTX_V1(RestrictedWorker_removeAllListener,Ark_NativePointer)32363 KOALA_INTEROP_CTX_V1(RestrictedWorker_removeAllListener, Ark_NativePointer)
32364 void impl_RestrictedWorker_registerGlobalCallObject(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& instanceName, KSerializerBuffer thisArray, int32_t thisLength) {
32365         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32366         Deserializer thisDeserializer(thisArray, thisLength);
32367         Ark_Object globalCallObject_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
32368         GetAccessors()->getRestrictedWorkerAccessor()->registerGlobalCallObject(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&instanceName), (const Ark_Object*)&globalCallObject_value);
32369 }
KOALA_INTEROP_CTX_V4(RestrictedWorker_registerGlobalCallObject,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)32370 KOALA_INTEROP_CTX_V4(RestrictedWorker_registerGlobalCallObject, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
32371 void impl_RestrictedWorker_unregisterGlobalCallObject(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32372         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32373         Deserializer thisDeserializer(thisArray, thisLength);
32374         const auto instanceName_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32375         Opt_String instanceName_value_buf = {};
32376         instanceName_value_buf.tag = instanceName_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32377         if ((INTEROP_RUNTIME_UNDEFINED) != (instanceName_value_buf_runtimeType))
32378         {
32379             instanceName_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
32380         }
32381         Opt_String instanceName_value = instanceName_value_buf;;
32382         GetAccessors()->getRestrictedWorkerAccessor()->unregisterGlobalCallObject(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Opt_String*)&instanceName_value);
32383 }
KOALA_INTEROP_CTX_V3(RestrictedWorker_unregisterGlobalCallObject,Ark_NativePointer,KSerializerBuffer,int32_t)32384 KOALA_INTEROP_CTX_V3(RestrictedWorker_unregisterGlobalCallObject, Ark_NativePointer, KSerializerBuffer, int32_t)
32385 KInteropReturnBuffer impl_RestrictedWorker_getOnexit(Ark_NativePointer thisPtr) {
32386         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32387         const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnexit(self);
32388         Serializer _retSerializer {};
32389         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32390         retValue_type = runtimeType(retValue);
32391         _retSerializer.writeInt8(retValue_type);
32392         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
32393             const auto retValue_value = retValue.value;
32394             _retSerializer.writeCallbackResource(retValue_value.resource);
32395             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.call));
32396             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.callSync));
32397         }
32398         return _retSerializer.toReturnBuffer();
32399 }
KOALA_INTEROP_1(RestrictedWorker_getOnexit,KInteropReturnBuffer,Ark_NativePointer)32400 KOALA_INTEROP_1(RestrictedWorker_getOnexit, KInteropReturnBuffer, Ark_NativePointer)
32401 void impl_RestrictedWorker_setOnexit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32402         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32403         Deserializer thisDeserializer(thisArray, thisLength);
32404         RestrictedWorker_onexit_Callback onexit_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number code)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_RestrictedWorker_onexit_Callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number code)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_RestrictedWorker_onexit_Callback))))};;
32405         GetAccessors()->getRestrictedWorkerAccessor()->setOnexit(self, (const RestrictedWorker_onexit_Callback*)&onexit_value);
32406 }
KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnexit,Ark_NativePointer,KSerializerBuffer,int32_t)32407 KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnexit, Ark_NativePointer, KSerializerBuffer, int32_t)
32408 KInteropReturnBuffer impl_RestrictedWorker_getOnerror(Ark_NativePointer thisPtr) {
32409         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32410         const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnerror(self);
32411         Serializer _retSerializer {};
32412         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32413         retValue_type = runtimeType(retValue);
32414         _retSerializer.writeInt8(retValue_type);
32415         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
32416             const auto retValue_value = retValue.value;
32417             _retSerializer.writeCallbackResource(retValue_value.resource);
32418             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.call));
32419             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.callSync));
32420         }
32421         return _retSerializer.toReturnBuffer();
32422 }
KOALA_INTEROP_1(RestrictedWorker_getOnerror,KInteropReturnBuffer,Ark_NativePointer)32423 KOALA_INTEROP_1(RestrictedWorker_getOnerror, KInteropReturnBuffer, Ark_NativePointer)
32424 void impl_RestrictedWorker_setOnerror(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32425         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32426         Deserializer thisDeserializer(thisArray, thisLength);
32427         RestrictedWorker_onerror_Callback onerror_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ErrorEvent ev)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_RestrictedWorker_onerror_Callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ErrorEvent ev)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_RestrictedWorker_onerror_Callback))))};;
32428         GetAccessors()->getRestrictedWorkerAccessor()->setOnerror(self, (const RestrictedWorker_onerror_Callback*)&onerror_value);
32429 }
KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnerror,Ark_NativePointer,KSerializerBuffer,int32_t)32430 KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnerror, Ark_NativePointer, KSerializerBuffer, int32_t)
32431 KInteropReturnBuffer impl_RestrictedWorker_getOnmessage(Ark_NativePointer thisPtr) {
32432         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32433         const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessage(self);
32434         Serializer _retSerializer {};
32435         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32436         retValue_type = runtimeType(retValue);
32437         _retSerializer.writeInt8(retValue_type);
32438         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
32439             const auto retValue_value = retValue.value;
32440             _retSerializer.writeCallbackResource(retValue_value.resource);
32441             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.call));
32442             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.callSync));
32443         }
32444         return _retSerializer.toReturnBuffer();
32445 }
KOALA_INTEROP_1(RestrictedWorker_getOnmessage,KInteropReturnBuffer,Ark_NativePointer)32446 KOALA_INTEROP_1(RestrictedWorker_getOnmessage, KInteropReturnBuffer, Ark_NativePointer)
32447 void impl_RestrictedWorker_setOnmessage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32448         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32449         Deserializer thisDeserializer(thisArray, thisLength);
32450         RestrictedWorker_onmessage_Callback onmessage_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_MessageEvents event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_RestrictedWorker_onmessage_Callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_MessageEvents event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_RestrictedWorker_onmessage_Callback))))};;
32451         GetAccessors()->getRestrictedWorkerAccessor()->setOnmessage(self, (const RestrictedWorker_onmessage_Callback*)&onmessage_value);
32452 }
KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessage,Ark_NativePointer,KSerializerBuffer,int32_t)32453 KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessage, Ark_NativePointer, KSerializerBuffer, int32_t)
32454 KInteropReturnBuffer impl_RestrictedWorker_getOnmessageerror(Ark_NativePointer thisPtr) {
32455         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32456         const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessageerror(self);
32457         Serializer _retSerializer {};
32458         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32459         retValue_type = runtimeType(retValue);
32460         _retSerializer.writeInt8(retValue_type);
32461         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
32462             const auto retValue_value = retValue.value;
32463             _retSerializer.writeCallbackResource(retValue_value.resource);
32464             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.call));
32465             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.callSync));
32466         }
32467         return _retSerializer.toReturnBuffer();
32468 }
KOALA_INTEROP_1(RestrictedWorker_getOnmessageerror,KInteropReturnBuffer,Ark_NativePointer)32469 KOALA_INTEROP_1(RestrictedWorker_getOnmessageerror, KInteropReturnBuffer, Ark_NativePointer)
32470 void impl_RestrictedWorker_setOnmessageerror(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32471         Ark_RestrictedWorker self = reinterpret_cast<Ark_RestrictedWorker>(thisPtr);
32472         Deserializer thisDeserializer(thisArray, thisLength);
32473         RestrictedWorker_onmessage_Callback onmessageerror_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_MessageEvents event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_RestrictedWorker_onmessage_Callback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_MessageEvents event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_RestrictedWorker_onmessage_Callback))))};;
32474         GetAccessors()->getRestrictedWorkerAccessor()->setOnmessageerror(self, (const RestrictedWorker_onmessage_Callback*)&onmessageerror_value);
32475 }
KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessageerror,Ark_NativePointer,KSerializerBuffer,int32_t)32476 KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessageerror, Ark_NativePointer, KSerializerBuffer, int32_t)
32477 Ark_NativePointer impl_UIContext_ctor() {
32478         return GetAccessors()->getUIContextAccessor()->ctor();
32479 }
KOALA_INTEROP_DIRECT_0(UIContext_ctor,Ark_NativePointer)32480 KOALA_INTEROP_DIRECT_0(UIContext_ctor, Ark_NativePointer)
32481 Ark_NativePointer impl_UIContext_getFinalizer() {
32482         return GetAccessors()->getUIContextAccessor()->getFinalizer();
32483 }
KOALA_INTEROP_DIRECT_0(UIContext_getFinalizer,Ark_NativePointer)32484 KOALA_INTEROP_DIRECT_0(UIContext_getFinalizer, Ark_NativePointer)
32485 KInteropReturnBuffer impl_UIContext_getFont(Ark_NativePointer thisPtr) {
32486         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32487         const auto &retValue = GetAccessors()->getUIContextAccessor()->getFont(self);
32488         Serializer _retSerializer {};
32489         _retSerializer.writeFont(retValue);
32490         return _retSerializer.toReturnBuffer();
32491 }
KOALA_INTEROP_1(UIContext_getFont,KInteropReturnBuffer,Ark_NativePointer)32492 KOALA_INTEROP_1(UIContext_getFont, KInteropReturnBuffer, Ark_NativePointer)
32493 Ark_String impl_UIContext_getFilteredInspectorTree(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32494         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32495         Deserializer thisDeserializer(thisArray, thisLength);
32496         const auto filters_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32497         Opt_Array_String filters_value_buf = {};
32498         filters_value_buf.tag = filters_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32499         if ((INTEROP_RUNTIME_UNDEFINED) != (filters_value_buf_runtimeType))
32500         {
32501             const Ark_Int32 filters_value_buf__length = thisDeserializer.readInt32();
32502             Array_String filters_value_buf_ = {};
32503             thisDeserializer.resizeArray<std::decay<decltype(filters_value_buf_)>::type,
32504         std::decay<decltype(*filters_value_buf_.array)>::type>(&filters_value_buf_, filters_value_buf__length);
32505             for (int filters_value_buf__i = 0; filters_value_buf__i < filters_value_buf__length; filters_value_buf__i++) {
32506                 filters_value_buf_.array[filters_value_buf__i] = static_cast<Ark_String>(thisDeserializer.readString());
32507             }
32508             filters_value_buf.value = filters_value_buf_;
32509         }
32510         Opt_Array_String filters_value = filters_value_buf;;
32511         return GetAccessors()->getUIContextAccessor()->getFilteredInspectorTree(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Opt_Array_String*)&filters_value);
32512 }
KOALA_INTEROP_CTX_3(UIContext_getFilteredInspectorTree,KStringPtr,Ark_NativePointer,KSerializerBuffer,int32_t)32513 KOALA_INTEROP_CTX_3(UIContext_getFilteredInspectorTree, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t)
32514 Ark_String impl_UIContext_getFilteredInspectorTreeById(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& id, KInteropNumber depth, KSerializerBuffer thisArray, int32_t thisLength) {
32515         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32516         Deserializer thisDeserializer(thisArray, thisLength);
32517         const auto filters_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32518         Opt_Array_String filters_value_buf = {};
32519         filters_value_buf.tag = filters_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32520         if ((INTEROP_RUNTIME_UNDEFINED) != (filters_value_buf_runtimeType))
32521         {
32522             const Ark_Int32 filters_value_buf__length = thisDeserializer.readInt32();
32523             Array_String filters_value_buf_ = {};
32524             thisDeserializer.resizeArray<std::decay<decltype(filters_value_buf_)>::type,
32525         std::decay<decltype(*filters_value_buf_.array)>::type>(&filters_value_buf_, filters_value_buf__length);
32526             for (int filters_value_buf__i = 0; filters_value_buf__i < filters_value_buf__length; filters_value_buf__i++) {
32527                 filters_value_buf_.array[filters_value_buf__i] = static_cast<Ark_String>(thisDeserializer.readString());
32528             }
32529             filters_value_buf.value = filters_value_buf_;
32530         }
32531         Opt_Array_String filters_value = filters_value_buf;;
32532         return GetAccessors()->getUIContextAccessor()->getFilteredInspectorTreeById(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_String*) (&id), (const Ark_Number*) (&depth), (const Opt_Array_String*)&filters_value);
32533 }
KOALA_INTEROP_CTX_5(UIContext_getFilteredInspectorTreeById,KStringPtr,Ark_NativePointer,KStringPtr,KInteropNumber,KSerializerBuffer,int32_t)32534 KOALA_INTEROP_CTX_5(UIContext_getFilteredInspectorTreeById, KStringPtr, Ark_NativePointer, KStringPtr, KInteropNumber, KSerializerBuffer, int32_t)
32535 void impl_UIContext_animateTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32536         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32537         Deserializer thisDeserializer(thisArray, thisLength);
32538         Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();;
32539         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
32540         GetAccessors()->getUIContextAccessor()->animateTo(self, (const Ark_AnimateParam*)&value_value, (const Callback_Void*)&event_value);
32541 }
KOALA_INTEROP_DIRECT_V3(UIContext_animateTo,Ark_NativePointer,KSerializerBuffer,int32_t)32542 KOALA_INTEROP_DIRECT_V3(UIContext_animateTo, Ark_NativePointer, KSerializerBuffer, int32_t)
32543 void impl_UIContext_showTextPickerDialog(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32544         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32545         Deserializer thisDeserializer(thisArray, thisLength);
32546         Ark_TextPickerDialogOptions options_value = thisDeserializer.readTextPickerDialogOptions();;
32547         GetAccessors()->getUIContextAccessor()->showTextPickerDialog(self, (const Ark_TextPickerDialogOptions*)&options_value);
32548 }
KOALA_INTEROP_DIRECT_V3(UIContext_showTextPickerDialog,Ark_NativePointer,KSerializerBuffer,int32_t)32549 KOALA_INTEROP_DIRECT_V3(UIContext_showTextPickerDialog, Ark_NativePointer, KSerializerBuffer, int32_t)
32550 void impl_UIContext_runScopedTask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32551         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32552         Deserializer thisDeserializer(thisArray, thisLength);
32553         Callback_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
32554         GetAccessors()->getUIContextAccessor()->runScopedTask(self, (const Callback_Void*)&callback__value);
32555 }
KOALA_INTEROP_DIRECT_V3(UIContext_runScopedTask,Ark_NativePointer,KSerializerBuffer,int32_t)32556 KOALA_INTEROP_DIRECT_V3(UIContext_runScopedTask, Ark_NativePointer, KSerializerBuffer, int32_t)
32557 void impl_UIContext_animateToImmediately(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
32558         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32559         Deserializer thisDeserializer(thisArray, thisLength);
32560         Ark_AnimateParam param_value = thisDeserializer.readAnimateParam();;
32561         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
32562         GetAccessors()->getUIContextAccessor()->animateToImmediately(self, (const Ark_AnimateParam*)&param_value, (const Callback_Void*)&event_value);
32563 }
KOALA_INTEROP_DIRECT_V3(UIContext_animateToImmediately,Ark_NativePointer,KSerializerBuffer,int32_t)32564 KOALA_INTEROP_DIRECT_V3(UIContext_animateToImmediately, Ark_NativePointer, KSerializerBuffer, int32_t)
32565 KInteropReturnBuffer impl_UIContext_getFrameNodeById(Ark_NativePointer thisPtr, const KStringPtr& id) {
32566         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32567         const auto &retValue = GetAccessors()->getUIContextAccessor()->getFrameNodeById(self, (const Ark_String*) (&id));
32568         Serializer _retSerializer {};
32569         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32570         retValue_type = retValue.selector;
32571         if (retValue_type == 0) {
32572             _retSerializer.writeInt8(0);
32573             const auto retValue_0 = retValue.value0;
32574             _retSerializer.writeFrameNode(retValue_0);
32575         }
32576         else if (retValue_type == 1) {
32577             _retSerializer.writeInt8(1);
32578         }
32579         return _retSerializer.toReturnBuffer();
32580 }
KOALA_INTEROP_2(UIContext_getFrameNodeById,KInteropReturnBuffer,Ark_NativePointer,KStringPtr)32581 KOALA_INTEROP_2(UIContext_getFrameNodeById, KInteropReturnBuffer, Ark_NativePointer, KStringPtr)
32582 KInteropReturnBuffer impl_UIContext_getAttachedFrameNodeById(Ark_NativePointer thisPtr, const KStringPtr& id) {
32583         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32584         const auto &retValue = GetAccessors()->getUIContextAccessor()->getAttachedFrameNodeById(self, (const Ark_String*) (&id));
32585         Serializer _retSerializer {};
32586         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32587         retValue_type = retValue.selector;
32588         if (retValue_type == 0) {
32589             _retSerializer.writeInt8(0);
32590             const auto retValue_0 = retValue.value0;
32591             _retSerializer.writeFrameNode(retValue_0);
32592         }
32593         else if (retValue_type == 1) {
32594             _retSerializer.writeInt8(1);
32595         }
32596         return _retSerializer.toReturnBuffer();
32597 }
KOALA_INTEROP_2(UIContext_getAttachedFrameNodeById,KInteropReturnBuffer,Ark_NativePointer,KStringPtr)32598 KOALA_INTEROP_2(UIContext_getAttachedFrameNodeById, KInteropReturnBuffer, Ark_NativePointer, KStringPtr)
32599 KInteropReturnBuffer impl_UIContext_getFrameNodeByUniqueId(Ark_NativePointer thisPtr, KInteropNumber id) {
32600         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32601         const auto &retValue = GetAccessors()->getUIContextAccessor()->getFrameNodeByUniqueId(self, (const Ark_Number*) (&id));
32602         Serializer _retSerializer {};
32603         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32604         retValue_type = retValue.selector;
32605         if (retValue_type == 0) {
32606             _retSerializer.writeInt8(0);
32607             const auto retValue_0 = retValue.value0;
32608             _retSerializer.writeFrameNode(retValue_0);
32609         }
32610         else if (retValue_type == 1) {
32611             _retSerializer.writeInt8(1);
32612         }
32613         return _retSerializer.toReturnBuffer();
32614 }
KOALA_INTEROP_2(UIContext_getFrameNodeByUniqueId,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber)32615 KOALA_INTEROP_2(UIContext_getFrameNodeByUniqueId, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber)
32616 Ark_Number impl_UIContext_vp2px(Ark_NativePointer thisPtr, KInteropNumber value) {
32617         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32618         return GetAccessors()->getUIContextAccessor()->vp2px(self, (const Ark_Number*) (&value));
32619 }
KOALA_INTEROP_DIRECT_2(UIContext_vp2px,KInteropNumber,Ark_NativePointer,KInteropNumber)32620 KOALA_INTEROP_DIRECT_2(UIContext_vp2px, KInteropNumber, Ark_NativePointer, KInteropNumber)
32621 Ark_Number impl_UIContext_px2vp(Ark_NativePointer thisPtr, KInteropNumber value) {
32622         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32623         return GetAccessors()->getUIContextAccessor()->px2vp(self, (const Ark_Number*) (&value));
32624 }
KOALA_INTEROP_DIRECT_2(UIContext_px2vp,KInteropNumber,Ark_NativePointer,KInteropNumber)32625 KOALA_INTEROP_DIRECT_2(UIContext_px2vp, KInteropNumber, Ark_NativePointer, KInteropNumber)
32626 Ark_Number impl_UIContext_fp2px(Ark_NativePointer thisPtr, KInteropNumber value) {
32627         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32628         return GetAccessors()->getUIContextAccessor()->fp2px(self, (const Ark_Number*) (&value));
32629 }
KOALA_INTEROP_DIRECT_2(UIContext_fp2px,KInteropNumber,Ark_NativePointer,KInteropNumber)32630 KOALA_INTEROP_DIRECT_2(UIContext_fp2px, KInteropNumber, Ark_NativePointer, KInteropNumber)
32631 Ark_Number impl_UIContext_px2fp(Ark_NativePointer thisPtr, KInteropNumber value) {
32632         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32633         return GetAccessors()->getUIContextAccessor()->px2fp(self, (const Ark_Number*) (&value));
32634 }
KOALA_INTEROP_DIRECT_2(UIContext_px2fp,KInteropNumber,Ark_NativePointer,KInteropNumber)32635 KOALA_INTEROP_DIRECT_2(UIContext_px2fp, KInteropNumber, Ark_NativePointer, KInteropNumber)
32636 Ark_Number impl_UIContext_lpx2px(Ark_NativePointer thisPtr, KInteropNumber value) {
32637         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32638         return GetAccessors()->getUIContextAccessor()->lpx2px(self, (const Ark_Number*) (&value));
32639 }
KOALA_INTEROP_DIRECT_2(UIContext_lpx2px,KInteropNumber,Ark_NativePointer,KInteropNumber)32640 KOALA_INTEROP_DIRECT_2(UIContext_lpx2px, KInteropNumber, Ark_NativePointer, KInteropNumber)
32641 Ark_Number impl_UIContext_px2lpx(Ark_NativePointer thisPtr, KInteropNumber value) {
32642         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32643         return GetAccessors()->getUIContextAccessor()->px2lpx(self, (const Ark_Number*) (&value));
32644 }
KOALA_INTEROP_DIRECT_2(UIContext_px2lpx,KInteropNumber,Ark_NativePointer,KInteropNumber)32645 KOALA_INTEROP_DIRECT_2(UIContext_px2lpx, KInteropNumber, Ark_NativePointer, KInteropNumber)
32646 KInteropReturnBuffer impl_UIContext_getHostContext(Ark_NativePointer thisPtr) {
32647         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32648         const auto &retValue = GetAccessors()->getUIContextAccessor()->getHostContext(self);
32649         Serializer _retSerializer {};
32650         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32651         retValue_type = retValue.selector;
32652         if (retValue_type == 0) {
32653             _retSerializer.writeInt8(0);
32654             const auto retValue_0 = retValue.value0;
32655             _retSerializer.writeContext(retValue_0);
32656         }
32657         else if (retValue_type == 1) {
32658             _retSerializer.writeInt8(1);
32659         }
32660         return _retSerializer.toReturnBuffer();
32661 }
KOALA_INTEROP_1(UIContext_getHostContext,KInteropReturnBuffer,Ark_NativePointer)32662 KOALA_INTEROP_1(UIContext_getHostContext, KInteropReturnBuffer, Ark_NativePointer)
32663 void impl_UIContext_setDynamicDimming(Ark_NativePointer thisPtr, const KStringPtr& id, KInteropNumber value) {
32664         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32665         GetAccessors()->getUIContextAccessor()->setDynamicDimming(self, (const Ark_String*) (&id), (const Ark_Number*) (&value));
32666 }
KOALA_INTEROP_V3(UIContext_setDynamicDimming,Ark_NativePointer,KStringPtr,KInteropNumber)32667 KOALA_INTEROP_V3(UIContext_setDynamicDimming, Ark_NativePointer, KStringPtr, KInteropNumber)
32668 KInteropReturnBuffer impl_UIContext_getWindowName(Ark_NativePointer thisPtr) {
32669         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32670         const auto &retValue = GetAccessors()->getUIContextAccessor()->getWindowName(self);
32671         Serializer _retSerializer {};
32672         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
32673         retValue_type = retValue.selector;
32674         if (retValue_type == 0) {
32675             _retSerializer.writeInt8(0);
32676             const auto retValue_0 = retValue.value0;
32677             _retSerializer.writeString(retValue_0);
32678         }
32679         else if (retValue_type == 1) {
32680             _retSerializer.writeInt8(1);
32681         }
32682         return _retSerializer.toReturnBuffer();
32683 }
KOALA_INTEROP_1(UIContext_getWindowName,KInteropReturnBuffer,Ark_NativePointer)32684 KOALA_INTEROP_1(UIContext_getWindowName, KInteropReturnBuffer, Ark_NativePointer)
32685 void impl_UIContext_openBindSheet(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer bindSheetContent, KSerializerBuffer thisArray, int32_t thisLength) {
32686         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32687         Deserializer thisDeserializer(thisArray, thisLength);
32688         const auto sheetOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32689         Opt_SheetOptions sheetOptions_value_buf = {};
32690         sheetOptions_value_buf.tag = sheetOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32691         if ((INTEROP_RUNTIME_UNDEFINED) != (sheetOptions_value_buf_runtimeType))
32692         {
32693             sheetOptions_value_buf.value = thisDeserializer.readSheetOptions();
32694         }
32695         Opt_SheetOptions sheetOptions_value = sheetOptions_value_buf;;
32696         const auto targetId_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32697         Opt_Number targetId_value_buf = {};
32698         targetId_value_buf.tag = targetId_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32699         if ((INTEROP_RUNTIME_UNDEFINED) != (targetId_value_buf_runtimeType))
32700         {
32701             targetId_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
32702         }
32703         Opt_Number targetId_value = targetId_value_buf;;
32704         GetAccessors()->getUIContextAccessor()->openBindSheet(reinterpret_cast<Ark_VMContext>(vmContext), self, static_cast<Ark_ComponentContent>(bindSheetContent), (const Opt_SheetOptions*)&sheetOptions_value, (const Opt_Number*)&targetId_value);
32705 }
KOALA_INTEROP_CTX_V4(UIContext_openBindSheet,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)32706 KOALA_INTEROP_CTX_V4(UIContext_openBindSheet, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
32707 void impl_UIContext_updateBindSheet(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer bindSheetContent, KSerializerBuffer thisArray, int32_t thisLength) {
32708         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32709         Deserializer thisDeserializer(thisArray, thisLength);
32710         Ark_SheetOptions sheetOptions_value = thisDeserializer.readSheetOptions();;
32711         const auto partialUpdate_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32712         Opt_Boolean partialUpdate_value_buf = {};
32713         partialUpdate_value_buf.tag = partialUpdate_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32714         if ((INTEROP_RUNTIME_UNDEFINED) != (partialUpdate_value_buf_runtimeType))
32715         {
32716             partialUpdate_value_buf.value = thisDeserializer.readBoolean();
32717         }
32718         Opt_Boolean partialUpdate_value = partialUpdate_value_buf;;
32719         GetAccessors()->getUIContextAccessor()->updateBindSheet(reinterpret_cast<Ark_VMContext>(vmContext), self, static_cast<Ark_ComponentContent>(bindSheetContent), (const Ark_SheetOptions*)&sheetOptions_value, (const Opt_Boolean*)&partialUpdate_value);
32720 }
KOALA_INTEROP_CTX_V4(UIContext_updateBindSheet,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)32721 KOALA_INTEROP_CTX_V4(UIContext_updateBindSheet, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
32722 void impl_UIContext_closeBindSheet(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer bindSheetContent) {
32723         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32724         GetAccessors()->getUIContextAccessor()->closeBindSheet(reinterpret_cast<Ark_VMContext>(vmContext), self, static_cast<Ark_ComponentContent>(bindSheetContent));
32725 }
KOALA_INTEROP_CTX_V2(UIContext_closeBindSheet,Ark_NativePointer,Ark_NativePointer)32726 KOALA_INTEROP_CTX_V2(UIContext_closeBindSheet, Ark_NativePointer, Ark_NativePointer)
32727 void impl_UIContext_clearResourceCache(KVMContext vmContext, Ark_NativePointer thisPtr) {
32728         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32729         GetAccessors()->getUIContextAccessor()->clearResourceCache(reinterpret_cast<Ark_VMContext>(vmContext), self);
32730 }
KOALA_INTEROP_CTX_V1(UIContext_clearResourceCache,Ark_NativePointer)32731 KOALA_INTEROP_CTX_V1(UIContext_clearResourceCache, Ark_NativePointer)
32732 Ark_Boolean impl_UIContext_isFollowingSystemFontScale(Ark_NativePointer thisPtr) {
32733         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32734         return GetAccessors()->getUIContextAccessor()->isFollowingSystemFontScale(self);
32735 }
KOALA_INTEROP_DIRECT_1(UIContext_isFollowingSystemFontScale,Ark_Boolean,Ark_NativePointer)32736 KOALA_INTEROP_DIRECT_1(UIContext_isFollowingSystemFontScale, Ark_Boolean, Ark_NativePointer)
32737 Ark_Number impl_UIContext_getMaxFontScale(Ark_NativePointer thisPtr) {
32738         Ark_UIContext self = reinterpret_cast<Ark_UIContext>(thisPtr);
32739         return GetAccessors()->getUIContextAccessor()->getMaxFontScale(self);
32740 }
KOALA_INTEROP_DIRECT_1(UIContext_getMaxFontScale,KInteropNumber,Ark_NativePointer)32741 KOALA_INTEROP_DIRECT_1(UIContext_getMaxFontScale, KInteropNumber, Ark_NativePointer)
32742 void impl_StateStylesOps_onStateStyleChange(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
32743     Deserializer thisDeserializer(thisArray, thisLength);
32744     Callback_StateStylesChange stateStyleChange_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Int32 currentState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_StateStylesChange)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int32 currentState)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_StateStylesChange))))};;
32745     GetAccessors()->getStateStylesOpsAccessor()->onStateStyleChange(node, (const Callback_StateStylesChange*)&stateStyleChange_value);
32746 }
KOALA_INTEROP_DIRECT_V3(StateStylesOps_onStateStyleChange,Ark_NativePointer,KSerializerBuffer,int32_t)32747 KOALA_INTEROP_DIRECT_V3(StateStylesOps_onStateStyleChange, Ark_NativePointer, KSerializerBuffer, int32_t)
32748 KInteropReturnBuffer impl_UIContextAtomicServiceBar_getBarRect() {
32749         const auto &retValue = GetAccessors()->getUIContextAtomicServiceBarAccessor()->getBarRect();
32750         Serializer _retSerializer {};
32751         _retSerializer.writeFrame(retValue);
32752         return _retSerializer.toReturnBuffer();
32753 }
KOALA_INTEROP_0(UIContextAtomicServiceBar_getBarRect,KInteropReturnBuffer)32754 KOALA_INTEROP_0(UIContextAtomicServiceBar_getBarRect, KInteropReturnBuffer)
32755 Ark_Boolean impl_UIContextDispatchKeyEvent_dispatchKeyEvent(KSerializerBuffer thisArray, int32_t thisLength, Ark_NativePointer event) {
32756         Deserializer thisDeserializer(thisArray, thisLength);
32757         const Ark_Int8 node_value_buf_selector = thisDeserializer.readInt8();
32758         Ark_Union_Number_String node_value_buf = {};
32759         node_value_buf.selector = node_value_buf_selector;
32760         if (node_value_buf_selector == 0) {
32761             node_value_buf.selector = 0;
32762             node_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
32763         }
32764         else if (node_value_buf_selector == 1) {
32765             node_value_buf.selector = 1;
32766             node_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
32767         }
32768         else {
32769             INTEROP_FATAL("One of the branches for node_value_buf has to be chosen through deserialisation.");
32770         }
32771         Ark_Union_Number_String node_value = static_cast<Ark_Union_Number_String>(node_value_buf);;
32772         return GetAccessors()->getUIContextDispatchKeyEventAccessor()->dispatchKeyEvent((const Ark_Union_Number_String*)&node_value, static_cast<Ark_KeyEvent>(event));
32773 }
KOALA_INTEROP_DIRECT_3(UIContextDispatchKeyEvent_dispatchKeyEvent,Ark_Boolean,KSerializerBuffer,int32_t,Ark_NativePointer)32774 KOALA_INTEROP_DIRECT_3(UIContextDispatchKeyEvent_dispatchKeyEvent, Ark_Boolean, KSerializerBuffer, int32_t, Ark_NativePointer)
32775 Ark_NativePointer impl_DrawableDescriptor_ctor() {
32776         return GetAccessors()->getDrawableDescriptorAccessor()->ctor();
32777 }
KOALA_INTEROP_DIRECT_0(DrawableDescriptor_ctor,Ark_NativePointer)32778 KOALA_INTEROP_DIRECT_0(DrawableDescriptor_ctor, Ark_NativePointer)
32779 Ark_NativePointer impl_DrawableDescriptor_getFinalizer() {
32780         return GetAccessors()->getDrawableDescriptorAccessor()->getFinalizer();
32781 }
KOALA_INTEROP_DIRECT_0(DrawableDescriptor_getFinalizer,Ark_NativePointer)32782 KOALA_INTEROP_DIRECT_0(DrawableDescriptor_getFinalizer, Ark_NativePointer)
32783 Ark_NativePointer impl_DrawableDescriptor_getPixelMap(Ark_NativePointer thisPtr) {
32784         Ark_DrawableDescriptor self = reinterpret_cast<Ark_DrawableDescriptor>(thisPtr);
32785         return GetAccessors()->getDrawableDescriptorAccessor()->getPixelMap(self);
32786 }
KOALA_INTEROP_DIRECT_1(DrawableDescriptor_getPixelMap,Ark_NativePointer,Ark_NativePointer)32787 KOALA_INTEROP_DIRECT_1(DrawableDescriptor_getPixelMap, Ark_NativePointer, Ark_NativePointer)
32788 Ark_NativePointer impl_LayeredDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
32789         Deserializer thisDeserializer(thisArray, thisLength);
32790         const auto foreground_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32791         Opt_DrawableDescriptor foreground_value_buf = {};
32792         foreground_value_buf.tag = foreground_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32793         if ((INTEROP_RUNTIME_UNDEFINED) != (foreground_value_buf_runtimeType))
32794         {
32795             foreground_value_buf.value = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
32796         }
32797         Opt_DrawableDescriptor foreground_value = foreground_value_buf;;
32798         const auto background_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32799         Opt_DrawableDescriptor background_value_buf = {};
32800         background_value_buf.tag = background_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32801         if ((INTEROP_RUNTIME_UNDEFINED) != (background_value_buf_runtimeType))
32802         {
32803             background_value_buf.value = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
32804         }
32805         Opt_DrawableDescriptor background_value = background_value_buf;;
32806         const auto mask_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32807         Opt_DrawableDescriptor mask_value_buf = {};
32808         mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32809         if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType))
32810         {
32811             mask_value_buf.value = static_cast<Ark_DrawableDescriptor>(thisDeserializer.readDrawableDescriptor());
32812         }
32813         Opt_DrawableDescriptor mask_value = mask_value_buf;;
32814         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->ctor((const Opt_DrawableDescriptor*)&foreground_value, (const Opt_DrawableDescriptor*)&background_value, (const Opt_DrawableDescriptor*)&mask_value);
32815 }
KOALA_INTEROP_DIRECT_2(LayeredDrawableDescriptor_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)32816 KOALA_INTEROP_DIRECT_2(LayeredDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
32817 Ark_NativePointer impl_LayeredDrawableDescriptor_getFinalizer() {
32818         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getFinalizer();
32819 }
KOALA_INTEROP_DIRECT_0(LayeredDrawableDescriptor_getFinalizer,Ark_NativePointer)32820 KOALA_INTEROP_DIRECT_0(LayeredDrawableDescriptor_getFinalizer, Ark_NativePointer)
32821 Ark_NativePointer impl_LayeredDrawableDescriptor_getForeground(Ark_NativePointer thisPtr) {
32822         Ark_LayeredDrawableDescriptor self = reinterpret_cast<Ark_LayeredDrawableDescriptor>(thisPtr);
32823         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getForeground(self);
32824 }
KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getForeground,Ark_NativePointer,Ark_NativePointer)32825 KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getForeground, Ark_NativePointer, Ark_NativePointer)
32826 Ark_NativePointer impl_LayeredDrawableDescriptor_getBackground(Ark_NativePointer thisPtr) {
32827         Ark_LayeredDrawableDescriptor self = reinterpret_cast<Ark_LayeredDrawableDescriptor>(thisPtr);
32828         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getBackground(self);
32829 }
KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getBackground,Ark_NativePointer,Ark_NativePointer)32830 KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getBackground, Ark_NativePointer, Ark_NativePointer)
32831 Ark_NativePointer impl_LayeredDrawableDescriptor_getMask(Ark_NativePointer thisPtr) {
32832         Ark_LayeredDrawableDescriptor self = reinterpret_cast<Ark_LayeredDrawableDescriptor>(thisPtr);
32833         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getMask(self);
32834 }
KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getMask,Ark_NativePointer,Ark_NativePointer)32835 KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getMask, Ark_NativePointer, Ark_NativePointer)
32836 Ark_String impl_LayeredDrawableDescriptor_getMaskClipPath() {
32837         return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getMaskClipPath();
32838 }
KOALA_INTEROP_0(LayeredDrawableDescriptor_getMaskClipPath,KStringPtr)32839 KOALA_INTEROP_0(LayeredDrawableDescriptor_getMaskClipPath, KStringPtr)
32840 Ark_NativePointer impl_PixelMapDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
32841         Deserializer thisDeserializer(thisArray, thisLength);
32842         const auto src_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32843         Opt_PixelMap src_value_buf = {};
32844         src_value_buf.tag = src_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32845         if ((INTEROP_RUNTIME_UNDEFINED) != (src_value_buf_runtimeType))
32846         {
32847             src_value_buf.value = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
32848         }
32849         Opt_PixelMap src_value = src_value_buf;;
32850         return GetAccessors()->getPixelMapDrawableDescriptorAccessor()->ctor((const Opt_PixelMap*)&src_value);
32851 }
KOALA_INTEROP_DIRECT_2(PixelMapDrawableDescriptor_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)32852 KOALA_INTEROP_DIRECT_2(PixelMapDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
32853 Ark_NativePointer impl_PixelMapDrawableDescriptor_getFinalizer() {
32854         return GetAccessors()->getPixelMapDrawableDescriptorAccessor()->getFinalizer();
32855 }
KOALA_INTEROP_DIRECT_0(PixelMapDrawableDescriptor_getFinalizer,Ark_NativePointer)32856 KOALA_INTEROP_DIRECT_0(PixelMapDrawableDescriptor_getFinalizer, Ark_NativePointer)
32857 Ark_NativePointer impl_AnimatedDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
32858         Deserializer thisDeserializer(thisArray, thisLength);
32859         const Ark_Int32 pixelMaps_value_buf_length = thisDeserializer.readInt32();
32860         Array_PixelMap pixelMaps_value_buf = {};
32861         thisDeserializer.resizeArray<std::decay<decltype(pixelMaps_value_buf)>::type,
32862         std::decay<decltype(*pixelMaps_value_buf.array)>::type>(&pixelMaps_value_buf, pixelMaps_value_buf_length);
32863         for (int pixelMaps_value_buf_i = 0; pixelMaps_value_buf_i < pixelMaps_value_buf_length; pixelMaps_value_buf_i++) {
32864             pixelMaps_value_buf.array[pixelMaps_value_buf_i] = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
32865         }
32866         Array_PixelMap pixelMaps_value = pixelMaps_value_buf;;
32867         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32868         Opt_AnimationOptions options_value_buf = {};
32869         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32870         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
32871         {
32872             options_value_buf.value = thisDeserializer.readAnimationOptions();
32873         }
32874         Opt_AnimationOptions options_value = options_value_buf;;
32875         return GetAccessors()->getAnimatedDrawableDescriptorAccessor()->ctor((const Array_PixelMap*)&pixelMaps_value, (const Opt_AnimationOptions*)&options_value);
32876 }
KOALA_INTEROP_DIRECT_2(AnimatedDrawableDescriptor_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)32877 KOALA_INTEROP_DIRECT_2(AnimatedDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
32878 Ark_NativePointer impl_AnimatedDrawableDescriptor_getFinalizer() {
32879         return GetAccessors()->getAnimatedDrawableDescriptorAccessor()->getFinalizer();
32880 }
KOALA_INTEROP_DIRECT_0(AnimatedDrawableDescriptor_getFinalizer,Ark_NativePointer)32881 KOALA_INTEROP_DIRECT_0(AnimatedDrawableDescriptor_getFinalizer, Ark_NativePointer)
32882 Ark_NativePointer impl_DrawingColorFilter_ctor() {
32883         return GetAccessors()->getDrawingColorFilterAccessor()->ctor();
32884 }
KOALA_INTEROP_DIRECT_0(DrawingColorFilter_ctor,Ark_NativePointer)32885 KOALA_INTEROP_DIRECT_0(DrawingColorFilter_ctor, Ark_NativePointer)
32886 Ark_NativePointer impl_DrawingColorFilter_getFinalizer() {
32887         return GetAccessors()->getDrawingColorFilterAccessor()->getFinalizer();
32888 }
KOALA_INTEROP_DIRECT_0(DrawingColorFilter_getFinalizer,Ark_NativePointer)32889 KOALA_INTEROP_DIRECT_0(DrawingColorFilter_getFinalizer, Ark_NativePointer)
32890 Ark_NativePointer impl_DrawingColorFilter_createBlendModeColorFilter0(Ark_Int32 color, Ark_Int32 mode) {
32891         return GetAccessors()->getDrawingColorFilterAccessor()->createBlendModeColorFilter0(static_cast<Ark_Color>(color), static_cast<Ark_BlendMode>(mode));
32892 }
KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createBlendModeColorFilter0,Ark_NativePointer,Ark_Int32,Ark_Int32)32893 KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createBlendModeColorFilter0, Ark_NativePointer, Ark_Int32, Ark_Int32)
32894 Ark_NativePointer impl_DrawingColorFilter_createBlendModeColorFilter1(KInteropNumber color, Ark_Int32 mode) {
32895         return GetAccessors()->getDrawingColorFilterAccessor()->createBlendModeColorFilter1((const Ark_Number*) (&color), static_cast<Ark_BlendMode>(mode));
32896 }
KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createBlendModeColorFilter1,Ark_NativePointer,KInteropNumber,Ark_Int32)32897 KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createBlendModeColorFilter1, Ark_NativePointer, KInteropNumber, Ark_Int32)
32898 Ark_NativePointer impl_DrawingColorFilter_createComposeColorFilter(Ark_NativePointer outer, Ark_NativePointer inner) {
32899         return GetAccessors()->getDrawingColorFilterAccessor()->createComposeColorFilter(static_cast<Ark_DrawingColorFilter>(outer), static_cast<Ark_DrawingColorFilter>(inner));
32900 }
KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createComposeColorFilter,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)32901 KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createComposeColorFilter, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
32902 Ark_NativePointer impl_DrawingColorFilter_createLinearToSRGBGamma() {
32903         return GetAccessors()->getDrawingColorFilterAccessor()->createLinearToSRGBGamma();
32904 }
KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createLinearToSRGBGamma,Ark_NativePointer)32905 KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createLinearToSRGBGamma, Ark_NativePointer)
32906 Ark_NativePointer impl_DrawingColorFilter_createSRGBGammaToLinear() {
32907         return GetAccessors()->getDrawingColorFilterAccessor()->createSRGBGammaToLinear();
32908 }
KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createSRGBGammaToLinear,Ark_NativePointer)32909 KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createSRGBGammaToLinear, Ark_NativePointer)
32910 Ark_NativePointer impl_DrawingColorFilter_createLumaColorFilter() {
32911         return GetAccessors()->getDrawingColorFilterAccessor()->createLumaColorFilter();
32912 }
KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createLumaColorFilter,Ark_NativePointer)32913 KOALA_INTEROP_DIRECT_0(DrawingColorFilter_createLumaColorFilter, Ark_NativePointer)
32914 Ark_NativePointer impl_DrawingColorFilter_createMatrixColorFilter(KSerializerBuffer thisArray, int32_t thisLength) {
32915         Deserializer thisDeserializer(thisArray, thisLength);
32916         const Ark_Int32 matrix_value_buf_length = thisDeserializer.readInt32();
32917         Array_Number matrix_value_buf = {};
32918         thisDeserializer.resizeArray<std::decay<decltype(matrix_value_buf)>::type,
32919         std::decay<decltype(*matrix_value_buf.array)>::type>(&matrix_value_buf, matrix_value_buf_length);
32920         for (int matrix_value_buf_i = 0; matrix_value_buf_i < matrix_value_buf_length; matrix_value_buf_i++) {
32921             matrix_value_buf.array[matrix_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
32922         }
32923         Array_Number matrix_value = matrix_value_buf;;
32924         return GetAccessors()->getDrawingColorFilterAccessor()->createMatrixColorFilter((const Array_Number*)&matrix_value);
32925 }
KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createMatrixColorFilter,Ark_NativePointer,KSerializerBuffer,int32_t)32926 KOALA_INTEROP_DIRECT_2(DrawingColorFilter_createMatrixColorFilter, Ark_NativePointer, KSerializerBuffer, int32_t)
32927 Ark_NativePointer impl_DrawingLattice_ctor() {
32928         return GetAccessors()->getDrawingLatticeAccessor()->ctor();
32929 }
KOALA_INTEROP_DIRECT_0(DrawingLattice_ctor,Ark_NativePointer)32930 KOALA_INTEROP_DIRECT_0(DrawingLattice_ctor, Ark_NativePointer)
32931 Ark_NativePointer impl_DrawingLattice_getFinalizer() {
32932         return GetAccessors()->getDrawingLatticeAccessor()->getFinalizer();
32933 }
KOALA_INTEROP_DIRECT_0(DrawingLattice_getFinalizer,Ark_NativePointer)32934 KOALA_INTEROP_DIRECT_0(DrawingLattice_getFinalizer, Ark_NativePointer)
32935 Ark_NativePointer impl_DrawingLattice_createImageLattice(KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fXCount, KInteropNumber fYCount) {
32936         Deserializer thisDeserializer(thisArray, thisLength);
32937         const Ark_Int32 xDivs_value_buf_length = thisDeserializer.readInt32();
32938         Array_Number xDivs_value_buf = {};
32939         thisDeserializer.resizeArray<std::decay<decltype(xDivs_value_buf)>::type,
32940         std::decay<decltype(*xDivs_value_buf.array)>::type>(&xDivs_value_buf, xDivs_value_buf_length);
32941         for (int xDivs_value_buf_i = 0; xDivs_value_buf_i < xDivs_value_buf_length; xDivs_value_buf_i++) {
32942             xDivs_value_buf.array[xDivs_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
32943         }
32944         Array_Number xDivs_value = xDivs_value_buf;;
32945         const Ark_Int32 yDivs_value_buf_length = thisDeserializer.readInt32();
32946         Array_Number yDivs_value_buf = {};
32947         thisDeserializer.resizeArray<std::decay<decltype(yDivs_value_buf)>::type,
32948         std::decay<decltype(*yDivs_value_buf.array)>::type>(&yDivs_value_buf, yDivs_value_buf_length);
32949         for (int yDivs_value_buf_i = 0; yDivs_value_buf_i < yDivs_value_buf_length; yDivs_value_buf_i++) {
32950             yDivs_value_buf.array[yDivs_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
32951         }
32952         Array_Number yDivs_value = yDivs_value_buf;;
32953         const auto fBounds_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32954         Opt_Rect fBounds_value_buf = {};
32955         fBounds_value_buf.tag = fBounds_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32956         if ((INTEROP_RUNTIME_UNDEFINED) != (fBounds_value_buf_runtimeType))
32957         {
32958             fBounds_value_buf.value = thisDeserializer.readRect();
32959         }
32960         Opt_Rect fBounds_value = fBounds_value_buf;;
32961         const auto fRectTypes_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32962         Opt_Array_RectType fRectTypes_value_buf = {};
32963         fRectTypes_value_buf.tag = fRectTypes_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32964         if ((INTEROP_RUNTIME_UNDEFINED) != (fRectTypes_value_buf_runtimeType))
32965         {
32966             const Ark_Int32 fRectTypes_value_buf__length = thisDeserializer.readInt32();
32967             Array_RectType fRectTypes_value_buf_ = {};
32968             thisDeserializer.resizeArray<std::decay<decltype(fRectTypes_value_buf_)>::type,
32969         std::decay<decltype(*fRectTypes_value_buf_.array)>::type>(&fRectTypes_value_buf_, fRectTypes_value_buf__length);
32970             for (int fRectTypes_value_buf__i = 0; fRectTypes_value_buf__i < fRectTypes_value_buf__length; fRectTypes_value_buf__i++) {
32971                 fRectTypes_value_buf_.array[fRectTypes_value_buf__i] = static_cast<Ark_RectType>(thisDeserializer.readInt32());
32972             }
32973             fRectTypes_value_buf.value = fRectTypes_value_buf_;
32974         }
32975         Opt_Array_RectType fRectTypes_value = fRectTypes_value_buf;;
32976         const auto fColors_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
32977         Opt_Array_Union_Color_Number fColors_value_buf = {};
32978         fColors_value_buf.tag = fColors_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
32979         if ((INTEROP_RUNTIME_UNDEFINED) != (fColors_value_buf_runtimeType))
32980         {
32981             const Ark_Int32 fColors_value_buf__length = thisDeserializer.readInt32();
32982             Array_Union_Color_Number fColors_value_buf_ = {};
32983             thisDeserializer.resizeArray<std::decay<decltype(fColors_value_buf_)>::type,
32984         std::decay<decltype(*fColors_value_buf_.array)>::type>(&fColors_value_buf_, fColors_value_buf__length);
32985             for (int fColors_value_buf__i = 0; fColors_value_buf__i < fColors_value_buf__length; fColors_value_buf__i++) {
32986                 const Ark_Int8 fColors_value_buf__buf_selector = thisDeserializer.readInt8();
32987                 Ark_Union_Color_Number fColors_value_buf__buf = {};
32988                 fColors_value_buf__buf.selector = fColors_value_buf__buf_selector;
32989                 if (fColors_value_buf__buf_selector == 0) {
32990                     fColors_value_buf__buf.selector = 0;
32991                     fColors_value_buf__buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
32992                 }
32993                 else if (fColors_value_buf__buf_selector == 1) {
32994                     fColors_value_buf__buf.selector = 1;
32995                     fColors_value_buf__buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
32996                 }
32997                 else {
32998                     INTEROP_FATAL("One of the branches for fColors_value_buf__buf has to be chosen through deserialisation.");
32999                 }
33000                 fColors_value_buf_.array[fColors_value_buf__i] = static_cast<Ark_Union_Color_Number>(fColors_value_buf__buf);
33001             }
33002             fColors_value_buf.value = fColors_value_buf_;
33003         }
33004         Opt_Array_Union_Color_Number fColors_value = fColors_value_buf;;
33005         return GetAccessors()->getDrawingLatticeAccessor()->createImageLattice((const Array_Number*)&xDivs_value, (const Array_Number*)&yDivs_value, (const Ark_Number*) (&fXCount), (const Ark_Number*) (&fYCount), (const Opt_Rect*)&fBounds_value, (const Opt_Array_RectType*)&fRectTypes_value, (const Opt_Array_Union_Color_Number*)&fColors_value);
33006 }
KOALA_INTEROP_DIRECT_4(DrawingLattice_createImageLattice,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber)33007 KOALA_INTEROP_DIRECT_4(DrawingLattice_createImageLattice, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber)
33008 Ark_NativePointer impl_DrawingCanvas_ctor(Ark_NativePointer pixelmap) {
33009         return GetAccessors()->getDrawingCanvasAccessor()->ctor(static_cast<Ark_PixelMap>(pixelmap));
33010 }
KOALA_INTEROP_DIRECT_1(DrawingCanvas_ctor,Ark_NativePointer,Ark_NativePointer)33011 KOALA_INTEROP_DIRECT_1(DrawingCanvas_ctor, Ark_NativePointer, Ark_NativePointer)
33012 Ark_NativePointer impl_DrawingCanvas_getFinalizer() {
33013         return GetAccessors()->getDrawingCanvasAccessor()->getFinalizer();
33014 }
KOALA_INTEROP_DIRECT_0(DrawingCanvas_getFinalizer,Ark_NativePointer)33015 KOALA_INTEROP_DIRECT_0(DrawingCanvas_getFinalizer, Ark_NativePointer)
33016 void impl_DrawingCanvas_drawRect(Ark_NativePointer thisPtr, KInteropNumber left, KInteropNumber top, KInteropNumber right, KInteropNumber bottom) {
33017         Ark_DrawingCanvas self = reinterpret_cast<Ark_DrawingCanvas>(thisPtr);
33018         GetAccessors()->getDrawingCanvasAccessor()->drawRect(self, (const Ark_Number*) (&left), (const Ark_Number*) (&top), (const Ark_Number*) (&right), (const Ark_Number*) (&bottom));
33019 }
KOALA_INTEROP_DIRECT_V5(DrawingCanvas_drawRect,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)33020 KOALA_INTEROP_DIRECT_V5(DrawingCanvas_drawRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
33021 Ark_NativePointer impl_ColorMetrics_ctor() {
33022         return GetAccessors()->getColorMetricsAccessor()->ctor();
33023 }
KOALA_INTEROP_DIRECT_0(ColorMetrics_ctor,Ark_NativePointer)33024 KOALA_INTEROP_DIRECT_0(ColorMetrics_ctor, Ark_NativePointer)
33025 Ark_NativePointer impl_ColorMetrics_getFinalizer() {
33026         return GetAccessors()->getColorMetricsAccessor()->getFinalizer();
33027 }
KOALA_INTEROP_DIRECT_0(ColorMetrics_getFinalizer,Ark_NativePointer)33028 KOALA_INTEROP_DIRECT_0(ColorMetrics_getFinalizer, Ark_NativePointer)
33029 Ark_NativePointer impl_ColorMetrics_numeric(KInteropNumber value) {
33030         return GetAccessors()->getColorMetricsAccessor()->numeric((const Ark_Number*) (&value));
33031 }
KOALA_INTEROP_DIRECT_1(ColorMetrics_numeric,Ark_NativePointer,KInteropNumber)33032 KOALA_INTEROP_DIRECT_1(ColorMetrics_numeric, Ark_NativePointer, KInteropNumber)
33033 Ark_NativePointer impl_ColorMetrics_rgba(KInteropNumber red, KInteropNumber green, KInteropNumber blue, KSerializerBuffer thisArray, int32_t thisLength) {
33034         Deserializer thisDeserializer(thisArray, thisLength);
33035         const auto alpha_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33036         Opt_Number alpha_value_buf = {};
33037         alpha_value_buf.tag = alpha_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33038         if ((INTEROP_RUNTIME_UNDEFINED) != (alpha_value_buf_runtimeType))
33039         {
33040             alpha_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
33041         }
33042         Opt_Number alpha_value = alpha_value_buf;;
33043         return GetAccessors()->getColorMetricsAccessor()->rgba((const Ark_Number*) (&red), (const Ark_Number*) (&green), (const Ark_Number*) (&blue), (const Opt_Number*)&alpha_value);
33044 }
KOALA_INTEROP_DIRECT_5(ColorMetrics_rgba,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)33045 KOALA_INTEROP_DIRECT_5(ColorMetrics_rgba, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
33046 Ark_NativePointer impl_ColorMetrics_resourceColor(KSerializerBuffer thisArray, int32_t thisLength) {
33047         Deserializer thisDeserializer(thisArray, thisLength);
33048         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33049         Ark_ResourceColor color_value_buf = {};
33050         color_value_buf.selector = color_value_buf_selector;
33051         if (color_value_buf_selector == 0) {
33052             color_value_buf.selector = 0;
33053             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33054         }
33055         else if (color_value_buf_selector == 1) {
33056             color_value_buf.selector = 1;
33057             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33058         }
33059         else if (color_value_buf_selector == 2) {
33060             color_value_buf.selector = 2;
33061             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33062         }
33063         else if (color_value_buf_selector == 3) {
33064             color_value_buf.selector = 3;
33065             color_value_buf.value3 = thisDeserializer.readResource();
33066         }
33067         else {
33068             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33069         }
33070         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33071         return GetAccessors()->getColorMetricsAccessor()->resourceColor((const Ark_ResourceColor*)&color_value);
33072 }
KOALA_INTEROP_DIRECT_2(ColorMetrics_resourceColor,Ark_NativePointer,KSerializerBuffer,int32_t)33073 KOALA_INTEROP_DIRECT_2(ColorMetrics_resourceColor, Ark_NativePointer, KSerializerBuffer, int32_t)
33074 Ark_NativePointer impl_ColorMetrics_blendColor(Ark_NativePointer thisPtr, Ark_NativePointer overlayColor) {
33075         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33076         return GetAccessors()->getColorMetricsAccessor()->blendColor(self, static_cast<Ark_ColorMetrics>(overlayColor));
33077 }
KOALA_INTEROP_DIRECT_2(ColorMetrics_blendColor,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)33078 KOALA_INTEROP_DIRECT_2(ColorMetrics_blendColor, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
33079 Ark_String impl_ColorMetrics_getColor(Ark_NativePointer thisPtr) {
33080         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33081         return GetAccessors()->getColorMetricsAccessor()->getColor(self);
33082 }
KOALA_INTEROP_1(ColorMetrics_getColor,KStringPtr,Ark_NativePointer)33083 KOALA_INTEROP_1(ColorMetrics_getColor, KStringPtr, Ark_NativePointer)
33084 Ark_Number impl_ColorMetrics_getRed(Ark_NativePointer thisPtr) {
33085         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33086         return GetAccessors()->getColorMetricsAccessor()->getRed(self);
33087 }
KOALA_INTEROP_DIRECT_1(ColorMetrics_getRed,KInteropNumber,Ark_NativePointer)33088 KOALA_INTEROP_DIRECT_1(ColorMetrics_getRed, KInteropNumber, Ark_NativePointer)
33089 Ark_Number impl_ColorMetrics_getGreen(Ark_NativePointer thisPtr) {
33090         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33091         return GetAccessors()->getColorMetricsAccessor()->getGreen(self);
33092 }
KOALA_INTEROP_DIRECT_1(ColorMetrics_getGreen,KInteropNumber,Ark_NativePointer)33093 KOALA_INTEROP_DIRECT_1(ColorMetrics_getGreen, KInteropNumber, Ark_NativePointer)
33094 Ark_Number impl_ColorMetrics_getBlue(Ark_NativePointer thisPtr) {
33095         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33096         return GetAccessors()->getColorMetricsAccessor()->getBlue(self);
33097 }
KOALA_INTEROP_DIRECT_1(ColorMetrics_getBlue,KInteropNumber,Ark_NativePointer)33098 KOALA_INTEROP_DIRECT_1(ColorMetrics_getBlue, KInteropNumber, Ark_NativePointer)
33099 Ark_Number impl_ColorMetrics_getAlpha(Ark_NativePointer thisPtr) {
33100         Ark_ColorMetrics self = reinterpret_cast<Ark_ColorMetrics>(thisPtr);
33101         return GetAccessors()->getColorMetricsAccessor()->getAlpha(self);
33102 }
KOALA_INTEROP_DIRECT_1(ColorMetrics_getAlpha,KInteropNumber,Ark_NativePointer)33103 KOALA_INTEROP_DIRECT_1(ColorMetrics_getAlpha, KInteropNumber, Ark_NativePointer)
33104 Ark_NativePointer impl_WebviewController_ctor() {
33105         return GetAccessors()->getWebviewControllerAccessor()->ctor();
33106 }
KOALA_INTEROP_DIRECT_0(WebviewController_ctor,Ark_NativePointer)33107 KOALA_INTEROP_DIRECT_0(WebviewController_ctor, Ark_NativePointer)
33108 Ark_NativePointer impl_WebviewController_getFinalizer() {
33109         return GetAccessors()->getWebviewControllerAccessor()->getFinalizer();
33110 }
KOALA_INTEROP_DIRECT_0(WebviewController_getFinalizer,Ark_NativePointer)33111 KOALA_INTEROP_DIRECT_0(WebviewController_getFinalizer, Ark_NativePointer)
33112 void impl_WebviewController_initializeWebEngine() {
33113         GetAccessors()->getWebviewControllerAccessor()->initializeWebEngine();
33114 }
KOALA_INTEROP_DIRECT_V0(WebviewController_initializeWebEngine)33115 KOALA_INTEROP_DIRECT_V0(WebviewController_initializeWebEngine)
33116 void impl_WebviewController_loadUrl(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33117         Ark_WebviewController self = reinterpret_cast<Ark_WebviewController>(thisPtr);
33118         Deserializer thisDeserializer(thisArray, thisLength);
33119         const Ark_Int8 url_value_buf_selector = thisDeserializer.readInt8();
33120         Ark_Union_String_Resource url_value_buf = {};
33121         url_value_buf.selector = url_value_buf_selector;
33122         if (url_value_buf_selector == 0) {
33123             url_value_buf.selector = 0;
33124             url_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
33125         }
33126         else if (url_value_buf_selector == 1) {
33127             url_value_buf.selector = 1;
33128             url_value_buf.value1 = thisDeserializer.readResource();
33129         }
33130         else {
33131             INTEROP_FATAL("One of the branches for url_value_buf has to be chosen through deserialisation.");
33132         }
33133         Ark_Union_String_Resource url_value = static_cast<Ark_Union_String_Resource>(url_value_buf);;
33134         const auto headers_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33135         Opt_Array_WebHeader headers_value_buf = {};
33136         headers_value_buf.tag = headers_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33137         if ((INTEROP_RUNTIME_UNDEFINED) != (headers_value_buf_runtimeType))
33138         {
33139             const Ark_Int32 headers_value_buf__length = thisDeserializer.readInt32();
33140             Array_WebHeader headers_value_buf_ = {};
33141             thisDeserializer.resizeArray<std::decay<decltype(headers_value_buf_)>::type,
33142         std::decay<decltype(*headers_value_buf_.array)>::type>(&headers_value_buf_, headers_value_buf__length);
33143             for (int headers_value_buf__i = 0; headers_value_buf__i < headers_value_buf__length; headers_value_buf__i++) {
33144                 headers_value_buf_.array[headers_value_buf__i] = thisDeserializer.readWebHeader();
33145             }
33146             headers_value_buf.value = headers_value_buf_;
33147         }
33148         Opt_Array_WebHeader headers_value = headers_value_buf;;
33149         GetAccessors()->getWebviewControllerAccessor()->loadUrl(self, (const Ark_Union_String_Resource*)&url_value, (const Opt_Array_WebHeader*)&headers_value);
33150 }
KOALA_INTEROP_DIRECT_V3(WebviewController_loadUrl,Ark_NativePointer,KSerializerBuffer,int32_t)33151 KOALA_INTEROP_DIRECT_V3(WebviewController_loadUrl, Ark_NativePointer, KSerializerBuffer, int32_t)
33152 void impl_GlobalScope_ohos_arkui_componentSnapshot_get(const KStringPtr& id, KSerializerBuffer thisArray, int32_t thisLength) {
33153         Deserializer thisDeserializer(thisArray, thisLength);
33154         AsyncCallback_image_PixelMap_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PixelMap result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_AsyncCallback_image_PixelMap_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PixelMap result)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_AsyncCallback_image_PixelMap_Void))))};;
33155         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33156         Opt_SnapshotOptions options_value_buf = {};
33157         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33158         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
33159         {
33160             options_value_buf.value = thisDeserializer.readSnapshotOptions();
33161         }
33162         Opt_SnapshotOptions options_value = options_value_buf;;
33163         GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->get((const Ark_String*) (&id), (const AsyncCallback_image_PixelMap_Void*)&callback_value, (const Opt_SnapshotOptions*)&options_value);
33164 }
KOALA_INTEROP_V3(GlobalScope_ohos_arkui_componentSnapshot_get,KStringPtr,KSerializerBuffer,int32_t)33165 KOALA_INTEROP_V3(GlobalScope_ohos_arkui_componentSnapshot_get, KStringPtr, KSerializerBuffer, int32_t)
33166 void impl_GlobalScope_ohos_arkui_performanceMonitor_begin(const KStringPtr& scene, Ark_Int32 startInputType, KSerializerBuffer thisArray, int32_t thisLength) {
33167         Deserializer thisDeserializer(thisArray, thisLength);
33168         const auto note_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33169         Opt_String note_value_buf = {};
33170         note_value_buf.tag = note_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33171         if ((INTEROP_RUNTIME_UNDEFINED) != (note_value_buf_runtimeType))
33172         {
33173             note_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
33174         }
33175         Opt_String note_value = note_value_buf;;
33176         GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->begin((const Ark_String*) (&scene), static_cast<Ark_PerfMonitorActionType>(startInputType), (const Opt_String*)&note_value);
33177 }
KOALA_INTEROP_V4(GlobalScope_ohos_arkui_performanceMonitor_begin,KStringPtr,Ark_Int32,KSerializerBuffer,int32_t)33178 KOALA_INTEROP_V4(GlobalScope_ohos_arkui_performanceMonitor_begin, KStringPtr, Ark_Int32, KSerializerBuffer, int32_t)
33179 void impl_GlobalScope_ohos_arkui_performanceMonitor_end(const KStringPtr& scene) {
33180         GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->end((const Ark_String*) (&scene));
33181 }
KOALA_INTEROP_V1(GlobalScope_ohos_arkui_performanceMonitor_end,KStringPtr)33182 KOALA_INTEROP_V1(GlobalScope_ohos_arkui_performanceMonitor_end, KStringPtr)
33183 void impl_GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(Ark_Int32 actionType, Ark_Int32 sourceType, KLong time) {
33184         GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->recordInputEventTime(static_cast<Ark_PerfMonitorActionType>(actionType), static_cast<Ark_PerfMonitorSourceType>(sourceType), time);
33185 }
KOALA_INTEROP_DIRECT_V3(GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime,Ark_Int32,Ark_Int32,KLong)33186 KOALA_INTEROP_DIRECT_V3(GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime, Ark_Int32, Ark_Int32, KLong)
33187 Ark_NativePointer impl_CommonShape_ctor() {
33188         return GetAccessors()->getCommonShapeAccessor()->ctor();
33189 }
KOALA_INTEROP_DIRECT_0(CommonShape_ctor,Ark_NativePointer)33190 KOALA_INTEROP_DIRECT_0(CommonShape_ctor, Ark_NativePointer)
33191 Ark_NativePointer impl_CommonShape_getFinalizer() {
33192         return GetAccessors()->getCommonShapeAccessor()->getFinalizer();
33193 }
KOALA_INTEROP_DIRECT_0(CommonShape_getFinalizer,Ark_NativePointer)33194 KOALA_INTEROP_DIRECT_0(CommonShape_getFinalizer, Ark_NativePointer)
33195 Ark_NativePointer impl_CommonShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33196         Ark_CommonShape self = reinterpret_cast<Ark_CommonShape>(thisPtr);
33197         Deserializer thisDeserializer(thisArray, thisLength);
33198         Ark_Position offset_value = thisDeserializer.readPosition();;
33199         return GetAccessors()->getCommonShapeAccessor()->offset(self, (const Ark_Position*)&offset_value);
33200 }
KOALA_INTEROP_DIRECT_3(CommonShape_offset,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33201 KOALA_INTEROP_DIRECT_3(CommonShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33202 Ark_NativePointer impl_CommonShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33203         Ark_CommonShape self = reinterpret_cast<Ark_CommonShape>(thisPtr);
33204         Deserializer thisDeserializer(thisArray, thisLength);
33205         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33206         Ark_ResourceColor color_value_buf = {};
33207         color_value_buf.selector = color_value_buf_selector;
33208         if (color_value_buf_selector == 0) {
33209             color_value_buf.selector = 0;
33210             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33211         }
33212         else if (color_value_buf_selector == 1) {
33213             color_value_buf.selector = 1;
33214             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33215         }
33216         else if (color_value_buf_selector == 2) {
33217             color_value_buf.selector = 2;
33218             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33219         }
33220         else if (color_value_buf_selector == 3) {
33221             color_value_buf.selector = 3;
33222             color_value_buf.value3 = thisDeserializer.readResource();
33223         }
33224         else {
33225             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33226         }
33227         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33228         return GetAccessors()->getCommonShapeAccessor()->fill(self, (const Ark_ResourceColor*)&color_value);
33229 }
KOALA_INTEROP_DIRECT_3(CommonShape_fill,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33230 KOALA_INTEROP_DIRECT_3(CommonShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33231 Ark_NativePointer impl_CommonShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33232         Ark_CommonShape self = reinterpret_cast<Ark_CommonShape>(thisPtr);
33233         Deserializer thisDeserializer(thisArray, thisLength);
33234         Ark_Position position_value = thisDeserializer.readPosition();;
33235         return GetAccessors()->getCommonShapeAccessor()->position(self, (const Ark_Position*)&position_value);
33236 }
KOALA_INTEROP_DIRECT_3(CommonShape_position,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33237 KOALA_INTEROP_DIRECT_3(CommonShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33238 Ark_NativePointer impl_BaseShape_ctor() {
33239         return GetAccessors()->getBaseShapeAccessor()->ctor();
33240 }
KOALA_INTEROP_DIRECT_0(BaseShape_ctor,Ark_NativePointer)33241 KOALA_INTEROP_DIRECT_0(BaseShape_ctor, Ark_NativePointer)
33242 Ark_NativePointer impl_BaseShape_getFinalizer() {
33243         return GetAccessors()->getBaseShapeAccessor()->getFinalizer();
33244 }
KOALA_INTEROP_DIRECT_0(BaseShape_getFinalizer,Ark_NativePointer)33245 KOALA_INTEROP_DIRECT_0(BaseShape_getFinalizer, Ark_NativePointer)
33246 Ark_NativePointer impl_BaseShape_width(Ark_NativePointer thisPtr, const KLength& width) {
33247         Ark_BaseShape self = reinterpret_cast<Ark_BaseShape>(thisPtr);
33248         return GetAccessors()->getBaseShapeAccessor()->width(self, (const Ark_Length*)&width);
33249 }
KOALA_INTEROP_2(BaseShape_width,Ark_NativePointer,Ark_NativePointer,KLength)33250 KOALA_INTEROP_2(BaseShape_width, Ark_NativePointer, Ark_NativePointer, KLength)
33251 Ark_NativePointer impl_BaseShape_height(Ark_NativePointer thisPtr, const KLength& height) {
33252         Ark_BaseShape self = reinterpret_cast<Ark_BaseShape>(thisPtr);
33253         return GetAccessors()->getBaseShapeAccessor()->height(self, (const Ark_Length*)&height);
33254 }
KOALA_INTEROP_2(BaseShape_height,Ark_NativePointer,Ark_NativePointer,KLength)33255 KOALA_INTEROP_2(BaseShape_height, Ark_NativePointer, Ark_NativePointer, KLength)
33256 Ark_NativePointer impl_BaseShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33257         Ark_BaseShape self = reinterpret_cast<Ark_BaseShape>(thisPtr);
33258         Deserializer thisDeserializer(thisArray, thisLength);
33259         Ark_SizeOptions size_value = thisDeserializer.readSizeOptions();;
33260         return GetAccessors()->getBaseShapeAccessor()->size(self, (const Ark_SizeOptions*)&size_value);
33261 }
KOALA_INTEROP_DIRECT_3(BaseShape_size,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33262 KOALA_INTEROP_DIRECT_3(BaseShape_size, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33263 Ark_NativePointer impl_RectShape_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33264         Deserializer thisDeserializer(thisArray, thisLength);
33265         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33266         Opt_Union_RectShapeOptions_RoundRectShapeOptions options_value_buf = {};
33267         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33268         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
33269         {
33270             const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8();
33271             Ark_Union_RectShapeOptions_RoundRectShapeOptions options_value_buf_ = {};
33272             options_value_buf_.selector = options_value_buf__selector;
33273             if (options_value_buf__selector == 0) {
33274                 options_value_buf_.selector = 0;
33275                 options_value_buf_.value0 = thisDeserializer.readRectShapeOptions();
33276             }
33277             else if (options_value_buf__selector == 1) {
33278                 options_value_buf_.selector = 1;
33279                 options_value_buf_.value1 = thisDeserializer.readRoundRectShapeOptions();
33280             }
33281             else {
33282                 INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation.");
33283             }
33284             options_value_buf.value = static_cast<Ark_Union_RectShapeOptions_RoundRectShapeOptions>(options_value_buf_);
33285         }
33286         Opt_Union_RectShapeOptions_RoundRectShapeOptions options_value = options_value_buf;;
33287         return GetAccessors()->getRectShapeAccessor()->ctor((const Opt_Union_RectShapeOptions_RoundRectShapeOptions*)&options_value);
33288 }
KOALA_INTEROP_DIRECT_2(RectShape_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33289 KOALA_INTEROP_DIRECT_2(RectShape_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33290 Ark_NativePointer impl_RectShape_getFinalizer() {
33291         return GetAccessors()->getRectShapeAccessor()->getFinalizer();
33292 }
KOALA_INTEROP_DIRECT_0(RectShape_getFinalizer,Ark_NativePointer)33293 KOALA_INTEROP_DIRECT_0(RectShape_getFinalizer, Ark_NativePointer)
33294 Ark_NativePointer impl_RectShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33295         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33296         Deserializer thisDeserializer(thisArray, thisLength);
33297         Ark_Position offset_value = thisDeserializer.readPosition();;
33298         return GetAccessors()->getRectShapeAccessor()->offset(self, (const Ark_Position*)&offset_value);
33299 }
KOALA_INTEROP_DIRECT_3(RectShape_offset,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33300 KOALA_INTEROP_DIRECT_3(RectShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33301 Ark_NativePointer impl_RectShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33302         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33303         Deserializer thisDeserializer(thisArray, thisLength);
33304         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33305         Ark_ResourceColor color_value_buf = {};
33306         color_value_buf.selector = color_value_buf_selector;
33307         if (color_value_buf_selector == 0) {
33308             color_value_buf.selector = 0;
33309             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33310         }
33311         else if (color_value_buf_selector == 1) {
33312             color_value_buf.selector = 1;
33313             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33314         }
33315         else if (color_value_buf_selector == 2) {
33316             color_value_buf.selector = 2;
33317             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33318         }
33319         else if (color_value_buf_selector == 3) {
33320             color_value_buf.selector = 3;
33321             color_value_buf.value3 = thisDeserializer.readResource();
33322         }
33323         else {
33324             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33325         }
33326         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33327         return GetAccessors()->getRectShapeAccessor()->fill(self, (const Ark_ResourceColor*)&color_value);
33328 }
KOALA_INTEROP_DIRECT_3(RectShape_fill,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33329 KOALA_INTEROP_DIRECT_3(RectShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33330 Ark_NativePointer impl_RectShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33331         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33332         Deserializer thisDeserializer(thisArray, thisLength);
33333         Ark_Position position_value = thisDeserializer.readPosition();;
33334         return GetAccessors()->getRectShapeAccessor()->position(self, (const Ark_Position*)&position_value);
33335 }
KOALA_INTEROP_DIRECT_3(RectShape_position,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33336 KOALA_INTEROP_DIRECT_3(RectShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33337 Ark_NativePointer impl_RectShape_width(Ark_NativePointer thisPtr, const KLength& width) {
33338         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33339         return GetAccessors()->getRectShapeAccessor()->width(self, (const Ark_Length*)&width);
33340 }
KOALA_INTEROP_2(RectShape_width,Ark_NativePointer,Ark_NativePointer,KLength)33341 KOALA_INTEROP_2(RectShape_width, Ark_NativePointer, Ark_NativePointer, KLength)
33342 Ark_NativePointer impl_RectShape_height(Ark_NativePointer thisPtr, const KLength& height) {
33343         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33344         return GetAccessors()->getRectShapeAccessor()->height(self, (const Ark_Length*)&height);
33345 }
KOALA_INTEROP_2(RectShape_height,Ark_NativePointer,Ark_NativePointer,KLength)33346 KOALA_INTEROP_2(RectShape_height, Ark_NativePointer, Ark_NativePointer, KLength)
33347 Ark_NativePointer impl_RectShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33348         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33349         Deserializer thisDeserializer(thisArray, thisLength);
33350         Ark_SizeOptions size_value = thisDeserializer.readSizeOptions();;
33351         return GetAccessors()->getRectShapeAccessor()->size(self, (const Ark_SizeOptions*)&size_value);
33352 }
KOALA_INTEROP_DIRECT_3(RectShape_size,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33353 KOALA_INTEROP_DIRECT_3(RectShape_size, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33354 Ark_NativePointer impl_RectShape_radiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33355         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33356         Deserializer thisDeserializer(thisArray, thisLength);
33357         const Ark_Int8 rWidth_value_buf_selector = thisDeserializer.readInt8();
33358         Ark_Union_Number_String rWidth_value_buf = {};
33359         rWidth_value_buf.selector = rWidth_value_buf_selector;
33360         if (rWidth_value_buf_selector == 0) {
33361             rWidth_value_buf.selector = 0;
33362             rWidth_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33363         }
33364         else if (rWidth_value_buf_selector == 1) {
33365             rWidth_value_buf.selector = 1;
33366             rWidth_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
33367         }
33368         else {
33369             INTEROP_FATAL("One of the branches for rWidth_value_buf has to be chosen through deserialisation.");
33370         }
33371         Ark_Union_Number_String rWidth_value = static_cast<Ark_Union_Number_String>(rWidth_value_buf);;
33372         return GetAccessors()->getRectShapeAccessor()->radiusWidth(self, (const Ark_Union_Number_String*)&rWidth_value);
33373 }
KOALA_INTEROP_DIRECT_3(RectShape_radiusWidth,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33374 KOALA_INTEROP_DIRECT_3(RectShape_radiusWidth, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33375 Ark_NativePointer impl_RectShape_radiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33376         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33377         Deserializer thisDeserializer(thisArray, thisLength);
33378         const Ark_Int8 rHeight_value_buf_selector = thisDeserializer.readInt8();
33379         Ark_Union_Number_String rHeight_value_buf = {};
33380         rHeight_value_buf.selector = rHeight_value_buf_selector;
33381         if (rHeight_value_buf_selector == 0) {
33382             rHeight_value_buf.selector = 0;
33383             rHeight_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33384         }
33385         else if (rHeight_value_buf_selector == 1) {
33386             rHeight_value_buf.selector = 1;
33387             rHeight_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
33388         }
33389         else {
33390             INTEROP_FATAL("One of the branches for rHeight_value_buf has to be chosen through deserialisation.");
33391         }
33392         Ark_Union_Number_String rHeight_value = static_cast<Ark_Union_Number_String>(rHeight_value_buf);;
33393         return GetAccessors()->getRectShapeAccessor()->radiusHeight(self, (const Ark_Union_Number_String*)&rHeight_value);
33394 }
KOALA_INTEROP_DIRECT_3(RectShape_radiusHeight,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33395 KOALA_INTEROP_DIRECT_3(RectShape_radiusHeight, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33396 Ark_NativePointer impl_RectShape_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33397         Ark_RectShape self = reinterpret_cast<Ark_RectShape>(thisPtr);
33398         Deserializer thisDeserializer(thisArray, thisLength);
33399         const Ark_Int8 radius_value_buf_selector = thisDeserializer.readInt8();
33400         Ark_Union_Number_String_Array_Union_Number_String radius_value_buf = {};
33401         radius_value_buf.selector = radius_value_buf_selector;
33402         if (radius_value_buf_selector == 0) {
33403             radius_value_buf.selector = 0;
33404             radius_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33405         }
33406         else if (radius_value_buf_selector == 1) {
33407             radius_value_buf.selector = 1;
33408             radius_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
33409         }
33410         else if (radius_value_buf_selector == 2) {
33411             radius_value_buf.selector = 2;
33412             const Ark_Int32 radius_value_buf_u_length = thisDeserializer.readInt32();
33413             Array_Union_Number_String radius_value_buf_u = {};
33414             thisDeserializer.resizeArray<std::decay<decltype(radius_value_buf_u)>::type,
33415         std::decay<decltype(*radius_value_buf_u.array)>::type>(&radius_value_buf_u, radius_value_buf_u_length);
33416             for (int radius_value_buf_u_i = 0; radius_value_buf_u_i < radius_value_buf_u_length; radius_value_buf_u_i++) {
33417                 const Ark_Int8 radius_value_buf_u_buf_selector = thisDeserializer.readInt8();
33418                 Ark_Union_Number_String radius_value_buf_u_buf = {};
33419                 radius_value_buf_u_buf.selector = radius_value_buf_u_buf_selector;
33420                 if (radius_value_buf_u_buf_selector == 0) {
33421                     radius_value_buf_u_buf.selector = 0;
33422                     radius_value_buf_u_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33423                 }
33424                 else if (radius_value_buf_u_buf_selector == 1) {
33425                     radius_value_buf_u_buf.selector = 1;
33426                     radius_value_buf_u_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
33427                 }
33428                 else {
33429                     INTEROP_FATAL("One of the branches for radius_value_buf_u_buf has to be chosen through deserialisation.");
33430                 }
33431                 radius_value_buf_u.array[radius_value_buf_u_i] = static_cast<Ark_Union_Number_String>(radius_value_buf_u_buf);
33432             }
33433             radius_value_buf.value2 = radius_value_buf_u;
33434         }
33435         else {
33436             INTEROP_FATAL("One of the branches for radius_value_buf has to be chosen through deserialisation.");
33437         }
33438         Ark_Union_Number_String_Array_Union_Number_String radius_value = static_cast<Ark_Union_Number_String_Array_Union_Number_String>(radius_value_buf);;
33439         return GetAccessors()->getRectShapeAccessor()->radius(self, (const Ark_Union_Number_String_Array_Union_Number_String*)&radius_value);
33440 }
KOALA_INTEROP_DIRECT_3(RectShape_radius,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33441 KOALA_INTEROP_DIRECT_3(RectShape_radius, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33442 Ark_NativePointer impl_CircleShape_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33443         Deserializer thisDeserializer(thisArray, thisLength);
33444         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33445         Opt_ShapeSize options_value_buf = {};
33446         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33447         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
33448         {
33449             options_value_buf.value = thisDeserializer.readShapeSize();
33450         }
33451         Opt_ShapeSize options_value = options_value_buf;;
33452         return GetAccessors()->getCircleShapeAccessor()->ctor((const Opt_ShapeSize*)&options_value);
33453 }
KOALA_INTEROP_DIRECT_2(CircleShape_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33454 KOALA_INTEROP_DIRECT_2(CircleShape_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33455 Ark_NativePointer impl_CircleShape_getFinalizer() {
33456         return GetAccessors()->getCircleShapeAccessor()->getFinalizer();
33457 }
KOALA_INTEROP_DIRECT_0(CircleShape_getFinalizer,Ark_NativePointer)33458 KOALA_INTEROP_DIRECT_0(CircleShape_getFinalizer, Ark_NativePointer)
33459 Ark_NativePointer impl_CircleShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33460         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33461         Deserializer thisDeserializer(thisArray, thisLength);
33462         Ark_Position offset_value = thisDeserializer.readPosition();;
33463         return GetAccessors()->getCircleShapeAccessor()->offset(self, (const Ark_Position*)&offset_value);
33464 }
KOALA_INTEROP_DIRECT_3(CircleShape_offset,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33465 KOALA_INTEROP_DIRECT_3(CircleShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33466 Ark_NativePointer impl_CircleShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33467         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33468         Deserializer thisDeserializer(thisArray, thisLength);
33469         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33470         Ark_ResourceColor color_value_buf = {};
33471         color_value_buf.selector = color_value_buf_selector;
33472         if (color_value_buf_selector == 0) {
33473             color_value_buf.selector = 0;
33474             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33475         }
33476         else if (color_value_buf_selector == 1) {
33477             color_value_buf.selector = 1;
33478             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33479         }
33480         else if (color_value_buf_selector == 2) {
33481             color_value_buf.selector = 2;
33482             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33483         }
33484         else if (color_value_buf_selector == 3) {
33485             color_value_buf.selector = 3;
33486             color_value_buf.value3 = thisDeserializer.readResource();
33487         }
33488         else {
33489             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33490         }
33491         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33492         return GetAccessors()->getCircleShapeAccessor()->fill(self, (const Ark_ResourceColor*)&color_value);
33493 }
KOALA_INTEROP_DIRECT_3(CircleShape_fill,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33494 KOALA_INTEROP_DIRECT_3(CircleShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33495 Ark_NativePointer impl_CircleShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33496         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33497         Deserializer thisDeserializer(thisArray, thisLength);
33498         Ark_Position position_value = thisDeserializer.readPosition();;
33499         return GetAccessors()->getCircleShapeAccessor()->position(self, (const Ark_Position*)&position_value);
33500 }
KOALA_INTEROP_DIRECT_3(CircleShape_position,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33501 KOALA_INTEROP_DIRECT_3(CircleShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33502 Ark_NativePointer impl_CircleShape_width(Ark_NativePointer thisPtr, const KLength& width) {
33503         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33504         return GetAccessors()->getCircleShapeAccessor()->width(self, (const Ark_Length*)&width);
33505 }
KOALA_INTEROP_2(CircleShape_width,Ark_NativePointer,Ark_NativePointer,KLength)33506 KOALA_INTEROP_2(CircleShape_width, Ark_NativePointer, Ark_NativePointer, KLength)
33507 Ark_NativePointer impl_CircleShape_height(Ark_NativePointer thisPtr, const KLength& height) {
33508         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33509         return GetAccessors()->getCircleShapeAccessor()->height(self, (const Ark_Length*)&height);
33510 }
KOALA_INTEROP_2(CircleShape_height,Ark_NativePointer,Ark_NativePointer,KLength)33511 KOALA_INTEROP_2(CircleShape_height, Ark_NativePointer, Ark_NativePointer, KLength)
33512 Ark_NativePointer impl_CircleShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33513         Ark_CircleShape self = reinterpret_cast<Ark_CircleShape>(thisPtr);
33514         Deserializer thisDeserializer(thisArray, thisLength);
33515         Ark_SizeOptions size_value = thisDeserializer.readSizeOptions();;
33516         return GetAccessors()->getCircleShapeAccessor()->size(self, (const Ark_SizeOptions*)&size_value);
33517 }
KOALA_INTEROP_DIRECT_3(CircleShape_size,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33518 KOALA_INTEROP_DIRECT_3(CircleShape_size, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33519 Ark_NativePointer impl_EllipseShape_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33520         Deserializer thisDeserializer(thisArray, thisLength);
33521         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33522         Opt_ShapeSize options_value_buf = {};
33523         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33524         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
33525         {
33526             options_value_buf.value = thisDeserializer.readShapeSize();
33527         }
33528         Opt_ShapeSize options_value = options_value_buf;;
33529         return GetAccessors()->getEllipseShapeAccessor()->ctor((const Opt_ShapeSize*)&options_value);
33530 }
KOALA_INTEROP_DIRECT_2(EllipseShape_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33531 KOALA_INTEROP_DIRECT_2(EllipseShape_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33532 Ark_NativePointer impl_EllipseShape_getFinalizer() {
33533         return GetAccessors()->getEllipseShapeAccessor()->getFinalizer();
33534 }
KOALA_INTEROP_DIRECT_0(EllipseShape_getFinalizer,Ark_NativePointer)33535 KOALA_INTEROP_DIRECT_0(EllipseShape_getFinalizer, Ark_NativePointer)
33536 Ark_NativePointer impl_EllipseShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33537         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33538         Deserializer thisDeserializer(thisArray, thisLength);
33539         Ark_Position offset_value = thisDeserializer.readPosition();;
33540         return GetAccessors()->getEllipseShapeAccessor()->offset(self, (const Ark_Position*)&offset_value);
33541 }
KOALA_INTEROP_DIRECT_3(EllipseShape_offset,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33542 KOALA_INTEROP_DIRECT_3(EllipseShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33543 Ark_NativePointer impl_EllipseShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33544         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33545         Deserializer thisDeserializer(thisArray, thisLength);
33546         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33547         Ark_ResourceColor color_value_buf = {};
33548         color_value_buf.selector = color_value_buf_selector;
33549         if (color_value_buf_selector == 0) {
33550             color_value_buf.selector = 0;
33551             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33552         }
33553         else if (color_value_buf_selector == 1) {
33554             color_value_buf.selector = 1;
33555             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33556         }
33557         else if (color_value_buf_selector == 2) {
33558             color_value_buf.selector = 2;
33559             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33560         }
33561         else if (color_value_buf_selector == 3) {
33562             color_value_buf.selector = 3;
33563             color_value_buf.value3 = thisDeserializer.readResource();
33564         }
33565         else {
33566             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33567         }
33568         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33569         return GetAccessors()->getEllipseShapeAccessor()->fill(self, (const Ark_ResourceColor*)&color_value);
33570 }
KOALA_INTEROP_DIRECT_3(EllipseShape_fill,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33571 KOALA_INTEROP_DIRECT_3(EllipseShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33572 Ark_NativePointer impl_EllipseShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33573         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33574         Deserializer thisDeserializer(thisArray, thisLength);
33575         Ark_Position position_value = thisDeserializer.readPosition();;
33576         return GetAccessors()->getEllipseShapeAccessor()->position(self, (const Ark_Position*)&position_value);
33577 }
KOALA_INTEROP_DIRECT_3(EllipseShape_position,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33578 KOALA_INTEROP_DIRECT_3(EllipseShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33579 Ark_NativePointer impl_EllipseShape_width(Ark_NativePointer thisPtr, const KLength& width) {
33580         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33581         return GetAccessors()->getEllipseShapeAccessor()->width(self, (const Ark_Length*)&width);
33582 }
KOALA_INTEROP_2(EllipseShape_width,Ark_NativePointer,Ark_NativePointer,KLength)33583 KOALA_INTEROP_2(EllipseShape_width, Ark_NativePointer, Ark_NativePointer, KLength)
33584 Ark_NativePointer impl_EllipseShape_height(Ark_NativePointer thisPtr, const KLength& height) {
33585         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33586         return GetAccessors()->getEllipseShapeAccessor()->height(self, (const Ark_Length*)&height);
33587 }
KOALA_INTEROP_2(EllipseShape_height,Ark_NativePointer,Ark_NativePointer,KLength)33588 KOALA_INTEROP_2(EllipseShape_height, Ark_NativePointer, Ark_NativePointer, KLength)
33589 Ark_NativePointer impl_EllipseShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33590         Ark_EllipseShape self = reinterpret_cast<Ark_EllipseShape>(thisPtr);
33591         Deserializer thisDeserializer(thisArray, thisLength);
33592         Ark_SizeOptions size_value = thisDeserializer.readSizeOptions();;
33593         return GetAccessors()->getEllipseShapeAccessor()->size(self, (const Ark_SizeOptions*)&size_value);
33594 }
KOALA_INTEROP_DIRECT_3(EllipseShape_size,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33595 KOALA_INTEROP_DIRECT_3(EllipseShape_size, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33596 Ark_NativePointer impl_PathShape_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33597         Deserializer thisDeserializer(thisArray, thisLength);
33598         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33599         Opt_PathShapeOptions options_value_buf = {};
33600         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33601         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
33602         {
33603             options_value_buf.value = thisDeserializer.readPathShapeOptions();
33604         }
33605         Opt_PathShapeOptions options_value = options_value_buf;;
33606         return GetAccessors()->getPathShapeAccessor()->ctor((const Opt_PathShapeOptions*)&options_value);
33607 }
KOALA_INTEROP_DIRECT_2(PathShape_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33608 KOALA_INTEROP_DIRECT_2(PathShape_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33609 Ark_NativePointer impl_PathShape_getFinalizer() {
33610         return GetAccessors()->getPathShapeAccessor()->getFinalizer();
33611 }
KOALA_INTEROP_DIRECT_0(PathShape_getFinalizer,Ark_NativePointer)33612 KOALA_INTEROP_DIRECT_0(PathShape_getFinalizer, Ark_NativePointer)
33613 Ark_NativePointer impl_PathShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33614         Ark_PathShape self = reinterpret_cast<Ark_PathShape>(thisPtr);
33615         Deserializer thisDeserializer(thisArray, thisLength);
33616         Ark_Position offset_value = thisDeserializer.readPosition();;
33617         return GetAccessors()->getPathShapeAccessor()->offset(self, (const Ark_Position*)&offset_value);
33618 }
KOALA_INTEROP_DIRECT_3(PathShape_offset,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33619 KOALA_INTEROP_DIRECT_3(PathShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33620 Ark_NativePointer impl_PathShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33621         Ark_PathShape self = reinterpret_cast<Ark_PathShape>(thisPtr);
33622         Deserializer thisDeserializer(thisArray, thisLength);
33623         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
33624         Ark_ResourceColor color_value_buf = {};
33625         color_value_buf.selector = color_value_buf_selector;
33626         if (color_value_buf_selector == 0) {
33627             color_value_buf.selector = 0;
33628             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
33629         }
33630         else if (color_value_buf_selector == 1) {
33631             color_value_buf.selector = 1;
33632             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
33633         }
33634         else if (color_value_buf_selector == 2) {
33635             color_value_buf.selector = 2;
33636             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
33637         }
33638         else if (color_value_buf_selector == 3) {
33639             color_value_buf.selector = 3;
33640             color_value_buf.value3 = thisDeserializer.readResource();
33641         }
33642         else {
33643             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
33644         }
33645         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
33646         return GetAccessors()->getPathShapeAccessor()->fill(self, (const Ark_ResourceColor*)&color_value);
33647 }
KOALA_INTEROP_DIRECT_3(PathShape_fill,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33648 KOALA_INTEROP_DIRECT_3(PathShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33649 Ark_NativePointer impl_PathShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
33650         Ark_PathShape self = reinterpret_cast<Ark_PathShape>(thisPtr);
33651         Deserializer thisDeserializer(thisArray, thisLength);
33652         Ark_Position position_value = thisDeserializer.readPosition();;
33653         return GetAccessors()->getPathShapeAccessor()->position(self, (const Ark_Position*)&position_value);
33654 }
KOALA_INTEROP_DIRECT_3(PathShape_position,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)33655 KOALA_INTEROP_DIRECT_3(PathShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
33656 Ark_NativePointer impl_PathShape_commands(Ark_NativePointer thisPtr, const KStringPtr& commands) {
33657         Ark_PathShape self = reinterpret_cast<Ark_PathShape>(thisPtr);
33658         return GetAccessors()->getPathShapeAccessor()->commands(self, (const Ark_String*) (&commands));
33659 }
KOALA_INTEROP_2(PathShape_commands,Ark_NativePointer,Ark_NativePointer,KStringPtr)33660 KOALA_INTEROP_2(PathShape_commands, Ark_NativePointer, Ark_NativePointer, KStringPtr)
33661 void impl_GlobalScope_ohos_font_registerFont(KSerializerBuffer thisArray, int32_t thisLength) {
33662         Deserializer thisDeserializer(thisArray, thisLength);
33663         Ark_FontOptions options_value = thisDeserializer.readFontOptions();;
33664         GetAccessors()->getGlobalScope_ohos_fontAccessor()->registerFont((const Ark_FontOptions*)&options_value);
33665 }
KOALA_INTEROP_DIRECT_V2(GlobalScope_ohos_font_registerFont,KSerializerBuffer,int32_t)33666 KOALA_INTEROP_DIRECT_V2(GlobalScope_ohos_font_registerFont, KSerializerBuffer, int32_t)
33667 KInteropReturnBuffer impl_GlobalScope_ohos_font_getSystemFontList() {
33668         const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getSystemFontList();
33669         Serializer _retSerializer {};
33670         _retSerializer.writeInt32(retValue.length);
33671         for (int i = 0; i < retValue.length; i++) {
33672             const Ark_String retValue_element = retValue.array[i];
33673             _retSerializer.writeString(retValue_element);
33674         }
33675         return _retSerializer.toReturnBuffer();
33676 }
KOALA_INTEROP_0(GlobalScope_ohos_font_getSystemFontList,KInteropReturnBuffer)33677 KOALA_INTEROP_0(GlobalScope_ohos_font_getSystemFontList, KInteropReturnBuffer)
33678 KInteropReturnBuffer impl_GlobalScope_ohos_font_getFontByName(const KStringPtr& fontName) {
33679         const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getFontByName((const Ark_String*) (&fontName));
33680         Serializer _retSerializer {};
33681         _retSerializer.writeFontInfo(retValue);
33682         return _retSerializer.toReturnBuffer();
33683 }
KOALA_INTEROP_1(GlobalScope_ohos_font_getFontByName,KInteropReturnBuffer,KStringPtr)33684 KOALA_INTEROP_1(GlobalScope_ohos_font_getFontByName, KInteropReturnBuffer, KStringPtr)
33685 Ark_Number impl_GlobalScope_ohos_measure_utils_measureText(KSerializerBuffer thisArray, int32_t thisLength) {
33686         Deserializer thisDeserializer(thisArray, thisLength);
33687         Ark_MeasureOptions options_value = thisDeserializer.readMeasureOptions();;
33688         return GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureText((const Ark_MeasureOptions*)&options_value);
33689 }
KOALA_INTEROP_DIRECT_2(GlobalScope_ohos_measure_utils_measureText,KInteropNumber,KSerializerBuffer,int32_t)33690 KOALA_INTEROP_DIRECT_2(GlobalScope_ohos_measure_utils_measureText, KInteropNumber, KSerializerBuffer, int32_t)
33691 KInteropReturnBuffer impl_GlobalScope_ohos_measure_utils_measureTextSize(KSerializerBuffer thisArray, int32_t thisLength) {
33692         Deserializer thisDeserializer(thisArray, thisLength);
33693         Ark_MeasureOptions options_value = thisDeserializer.readMeasureOptions();;
33694         const auto &retValue = GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureTextSize((const Ark_MeasureOptions*)&options_value);
33695         Serializer _retSerializer {};
33696         _retSerializer.writeSizeOptions(retValue);
33697         return _retSerializer.toReturnBuffer();
33698 }
KOALA_INTEROP_2(GlobalScope_ohos_measure_utils_measureTextSize,KInteropReturnBuffer,KSerializerBuffer,int32_t)33699 KOALA_INTEROP_2(GlobalScope_ohos_measure_utils_measureTextSize, KInteropReturnBuffer, KSerializerBuffer, int32_t)
33700 Ark_NativePointer impl_SymbolEffect_ctor() {
33701         return GetAccessors()->getSymbolEffectAccessor()->ctor();
33702 }
KOALA_INTEROP_DIRECT_0(SymbolEffect_ctor,Ark_NativePointer)33703 KOALA_INTEROP_DIRECT_0(SymbolEffect_ctor, Ark_NativePointer)
33704 Ark_NativePointer impl_SymbolEffect_getFinalizer() {
33705         return GetAccessors()->getSymbolEffectAccessor()->getFinalizer();
33706 }
KOALA_INTEROP_DIRECT_0(SymbolEffect_getFinalizer,Ark_NativePointer)33707 KOALA_INTEROP_DIRECT_0(SymbolEffect_getFinalizer, Ark_NativePointer)
33708 void impl_SymbolEffect_dummyForAccessorGenerate(Ark_NativePointer thisPtr) {
33709         Ark_SymbolEffect self = reinterpret_cast<Ark_SymbolEffect>(thisPtr);
33710         GetAccessors()->getSymbolEffectAccessor()->dummyForAccessorGenerate(self);
33711 }
KOALA_INTEROP_DIRECT_V1(SymbolEffect_dummyForAccessorGenerate,Ark_NativePointer)33712 KOALA_INTEROP_DIRECT_V1(SymbolEffect_dummyForAccessorGenerate, Ark_NativePointer)
33713 Ark_NativePointer impl_ScaleSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33714         Deserializer thisDeserializer(thisArray, thisLength);
33715         const auto scope_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33716         Opt_EffectScope scope_value_buf = {};
33717         scope_value_buf.tag = scope_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33718         if ((INTEROP_RUNTIME_UNDEFINED) != (scope_value_buf_runtimeType))
33719         {
33720             scope_value_buf.value = static_cast<Ark_EffectScope>(thisDeserializer.readInt32());
33721         }
33722         Opt_EffectScope scope_value = scope_value_buf;;
33723         const auto direction_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33724         Opt_EffectDirection direction_value_buf = {};
33725         direction_value_buf.tag = direction_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33726         if ((INTEROP_RUNTIME_UNDEFINED) != (direction_value_buf_runtimeType))
33727         {
33728             direction_value_buf.value = static_cast<Ark_EffectDirection>(thisDeserializer.readInt32());
33729         }
33730         Opt_EffectDirection direction_value = direction_value_buf;;
33731         return GetAccessors()->getScaleSymbolEffectAccessor()->ctor((const Opt_EffectScope*)&scope_value, (const Opt_EffectDirection*)&direction_value);
33732 }
KOALA_INTEROP_DIRECT_2(ScaleSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33733 KOALA_INTEROP_DIRECT_2(ScaleSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33734 Ark_NativePointer impl_ScaleSymbolEffect_getFinalizer() {
33735         return GetAccessors()->getScaleSymbolEffectAccessor()->getFinalizer();
33736 }
KOALA_INTEROP_DIRECT_0(ScaleSymbolEffect_getFinalizer,Ark_NativePointer)33737 KOALA_INTEROP_DIRECT_0(ScaleSymbolEffect_getFinalizer, Ark_NativePointer)
33738 KInteropReturnBuffer impl_ScaleSymbolEffect_getScope(Ark_NativePointer thisPtr) {
33739         Ark_ScaleSymbolEffect self = reinterpret_cast<Ark_ScaleSymbolEffect>(thisPtr);
33740         const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getScope(self);
33741         Serializer _retSerializer {};
33742         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
33743         retValue_type = runtimeType(retValue);
33744         _retSerializer.writeInt8(retValue_type);
33745         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
33746             const auto retValue_value = retValue.value;
33747             _retSerializer.writeInt32(static_cast<Ark_EffectScope>(retValue_value));
33748         }
33749         return _retSerializer.toReturnBuffer();
33750 }
KOALA_INTEROP_1(ScaleSymbolEffect_getScope,KInteropReturnBuffer,Ark_NativePointer)33751 KOALA_INTEROP_1(ScaleSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer)
33752 void impl_ScaleSymbolEffect_setScope(Ark_NativePointer thisPtr, Ark_Int32 scope) {
33753         Ark_ScaleSymbolEffect self = reinterpret_cast<Ark_ScaleSymbolEffect>(thisPtr);
33754         GetAccessors()->getScaleSymbolEffectAccessor()->setScope(self, static_cast<Ark_EffectScope>(scope));
33755 }
KOALA_INTEROP_DIRECT_V2(ScaleSymbolEffect_setScope,Ark_NativePointer,Ark_Int32)33756 KOALA_INTEROP_DIRECT_V2(ScaleSymbolEffect_setScope, Ark_NativePointer, Ark_Int32)
33757 KInteropReturnBuffer impl_ScaleSymbolEffect_getDirection(Ark_NativePointer thisPtr) {
33758         Ark_ScaleSymbolEffect self = reinterpret_cast<Ark_ScaleSymbolEffect>(thisPtr);
33759         const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getDirection(self);
33760         Serializer _retSerializer {};
33761         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
33762         retValue_type = runtimeType(retValue);
33763         _retSerializer.writeInt8(retValue_type);
33764         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
33765             const auto retValue_value = retValue.value;
33766             _retSerializer.writeInt32(static_cast<Ark_EffectDirection>(retValue_value));
33767         }
33768         return _retSerializer.toReturnBuffer();
33769 }
KOALA_INTEROP_1(ScaleSymbolEffect_getDirection,KInteropReturnBuffer,Ark_NativePointer)33770 KOALA_INTEROP_1(ScaleSymbolEffect_getDirection, KInteropReturnBuffer, Ark_NativePointer)
33771 void impl_ScaleSymbolEffect_setDirection(Ark_NativePointer thisPtr, Ark_Int32 direction) {
33772         Ark_ScaleSymbolEffect self = reinterpret_cast<Ark_ScaleSymbolEffect>(thisPtr);
33773         GetAccessors()->getScaleSymbolEffectAccessor()->setDirection(self, static_cast<Ark_EffectDirection>(direction));
33774 }
KOALA_INTEROP_DIRECT_V2(ScaleSymbolEffect_setDirection,Ark_NativePointer,Ark_Int32)33775 KOALA_INTEROP_DIRECT_V2(ScaleSymbolEffect_setDirection, Ark_NativePointer, Ark_Int32)
33776 Ark_NativePointer impl_ReplaceSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33777         Deserializer thisDeserializer(thisArray, thisLength);
33778         const auto scope_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
33779         Opt_EffectScope scope_value_buf = {};
33780         scope_value_buf.tag = scope_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
33781         if ((INTEROP_RUNTIME_UNDEFINED) != (scope_value_buf_runtimeType))
33782         {
33783             scope_value_buf.value = static_cast<Ark_EffectScope>(thisDeserializer.readInt32());
33784         }
33785         Opt_EffectScope scope_value = scope_value_buf;;
33786         return GetAccessors()->getReplaceSymbolEffectAccessor()->ctor((const Opt_EffectScope*)&scope_value);
33787 }
KOALA_INTEROP_DIRECT_2(ReplaceSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)33788 KOALA_INTEROP_DIRECT_2(ReplaceSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
33789 Ark_NativePointer impl_ReplaceSymbolEffect_getFinalizer() {
33790         return GetAccessors()->getReplaceSymbolEffectAccessor()->getFinalizer();
33791 }
KOALA_INTEROP_DIRECT_0(ReplaceSymbolEffect_getFinalizer,Ark_NativePointer)33792 KOALA_INTEROP_DIRECT_0(ReplaceSymbolEffect_getFinalizer, Ark_NativePointer)
33793 KInteropReturnBuffer impl_ReplaceSymbolEffect_getScope(Ark_NativePointer thisPtr) {
33794         Ark_ReplaceSymbolEffect self = reinterpret_cast<Ark_ReplaceSymbolEffect>(thisPtr);
33795         const auto &retValue = GetAccessors()->getReplaceSymbolEffectAccessor()->getScope(self);
33796         Serializer _retSerializer {};
33797         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
33798         retValue_type = runtimeType(retValue);
33799         _retSerializer.writeInt8(retValue_type);
33800         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
33801             const auto retValue_value = retValue.value;
33802             _retSerializer.writeInt32(static_cast<Ark_EffectScope>(retValue_value));
33803         }
33804         return _retSerializer.toReturnBuffer();
33805 }
KOALA_INTEROP_1(ReplaceSymbolEffect_getScope,KInteropReturnBuffer,Ark_NativePointer)33806 KOALA_INTEROP_1(ReplaceSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer)
33807 void impl_ReplaceSymbolEffect_setScope(Ark_NativePointer thisPtr, Ark_Int32 scope) {
33808         Ark_ReplaceSymbolEffect self = reinterpret_cast<Ark_ReplaceSymbolEffect>(thisPtr);
33809         GetAccessors()->getReplaceSymbolEffectAccessor()->setScope(self, static_cast<Ark_EffectScope>(scope));
33810 }
KOALA_INTEROP_DIRECT_V2(ReplaceSymbolEffect_setScope,Ark_NativePointer,Ark_Int32)33811 KOALA_INTEROP_DIRECT_V2(ReplaceSymbolEffect_setScope, Ark_NativePointer, Ark_Int32)
33812 Ark_NativePointer impl_FrameNode_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
33813         return GetAccessors()->getFrameNodeAccessor()->ctor();
33814 }
KOALA_INTEROP_DIRECT_2(FrameNode_ctor,Ark_NativePointer,KSerializerBuffer,Ark_Int32)33815 KOALA_INTEROP_DIRECT_2(FrameNode_ctor, Ark_NativePointer, KSerializerBuffer, Ark_Int32)
33816 Ark_NativePointer impl_FrameNode_getFinalizer() {
33817         return GetAccessors()->getFrameNodeAccessor()->getFinalizer();
33818 }
KOALA_INTEROP_DIRECT_0(FrameNode_getFinalizer,Ark_NativePointer)33819 KOALA_INTEROP_DIRECT_0(FrameNode_getFinalizer, Ark_NativePointer)
33820 Ark_Boolean impl_FrameNode_isModifiable(Ark_NativePointer thisPtr) {
33821         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33822         return GetAccessors()->getFrameNodeAccessor()->isModifiable(self);
33823 }
KOALA_INTEROP_DIRECT_1(FrameNode_isModifiable,Ark_Boolean,Ark_NativePointer)33824 KOALA_INTEROP_DIRECT_1(FrameNode_isModifiable, Ark_Boolean, Ark_NativePointer)
33825 void impl_FrameNode_appendChild(Ark_NativePointer thisPtr, Ark_NativePointer node) {
33826         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33827         GetAccessors()->getFrameNodeAccessor()->appendChild(self, static_cast<Ark_FrameNode>(node));
33828 }
KOALA_INTEROP_DIRECT_V2(FrameNode_appendChild,Ark_NativePointer,Ark_NativePointer)33829 KOALA_INTEROP_DIRECT_V2(FrameNode_appendChild, Ark_NativePointer, Ark_NativePointer)
33830 void impl_FrameNode_insertChildAfter(Ark_NativePointer thisPtr, Ark_NativePointer child, Ark_NativePointer sibling) {
33831         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33832         GetAccessors()->getFrameNodeAccessor()->insertChildAfter(self, static_cast<Ark_FrameNode>(child), static_cast<Ark_FrameNode>(sibling));
33833 }
KOALA_INTEROP_DIRECT_V3(FrameNode_insertChildAfter,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)33834 KOALA_INTEROP_DIRECT_V3(FrameNode_insertChildAfter, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
33835 void impl_FrameNode_removeChild(Ark_NativePointer thisPtr, Ark_NativePointer node) {
33836         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33837         GetAccessors()->getFrameNodeAccessor()->removeChild(self, static_cast<Ark_FrameNode>(node));
33838 }
KOALA_INTEROP_DIRECT_V2(FrameNode_removeChild,Ark_NativePointer,Ark_NativePointer)33839 KOALA_INTEROP_DIRECT_V2(FrameNode_removeChild, Ark_NativePointer, Ark_NativePointer)
33840 void impl_FrameNode_clearChildren(Ark_NativePointer thisPtr) {
33841         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33842         GetAccessors()->getFrameNodeAccessor()->clearChildren(self);
33843 }
KOALA_INTEROP_DIRECT_V1(FrameNode_clearChildren,Ark_NativePointer)33844 KOALA_INTEROP_DIRECT_V1(FrameNode_clearChildren, Ark_NativePointer)
33845 Ark_NativePointer impl_FrameNode_getChild(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber expandMode) {
33846         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33847         return GetAccessors()->getFrameNodeAccessor()->getChild(
33848             self, (const Ark_Number*)(&index), (const Ark_Number*)(&expandMode));
33849 }
KOALA_INTEROP_DIRECT_3(FrameNode_getChild,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber)33850 KOALA_INTEROP_DIRECT_3(FrameNode_getChild, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber)
33851 Ark_NativePointer impl_FrameNode_getFirstChild(Ark_NativePointer thisPtr) {
33852         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33853         return GetAccessors()->getFrameNodeAccessor()->getFirstChild(self);
33854 }
KOALA_INTEROP_DIRECT_1(FrameNode_getFirstChild,Ark_NativePointer,Ark_NativePointer)33855 KOALA_INTEROP_DIRECT_1(FrameNode_getFirstChild, Ark_NativePointer, Ark_NativePointer)
33856 Ark_NativePointer impl_FrameNode_getNextSibling(Ark_NativePointer thisPtr) {
33857         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33858         return GetAccessors()->getFrameNodeAccessor()->getNextSibling(self);
33859 }
KOALA_INTEROP_DIRECT_1(FrameNode_getNextSibling,Ark_NativePointer,Ark_NativePointer)33860 KOALA_INTEROP_DIRECT_1(FrameNode_getNextSibling, Ark_NativePointer, Ark_NativePointer)
33861 Ark_NativePointer impl_FrameNode_getPreviousSibling(Ark_NativePointer thisPtr) {
33862         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33863         return GetAccessors()->getFrameNodeAccessor()->getPreviousSibling(self);
33864 }
KOALA_INTEROP_DIRECT_1(FrameNode_getPreviousSibling,Ark_NativePointer,Ark_NativePointer)33865 KOALA_INTEROP_DIRECT_1(FrameNode_getPreviousSibling, Ark_NativePointer, Ark_NativePointer)
33866 Ark_NativePointer impl_FrameNode_getParent(Ark_NativePointer thisPtr) {
33867         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33868         return GetAccessors()->getFrameNodeAccessor()->getParent(self);
33869 }
KOALA_INTEROP_DIRECT_1(FrameNode_getParent,Ark_NativePointer,Ark_NativePointer)33870 KOALA_INTEROP_DIRECT_1(FrameNode_getParent, Ark_NativePointer, Ark_NativePointer)
33871 Ark_Int32 impl_FrameNode_getChildrenCount(Ark_NativePointer thisPtr) {
33872         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33873         return GetAccessors()->getFrameNodeAccessor()->getChildrenCount(self);
33874 }
KOALA_INTEROP_DIRECT_1(FrameNode_getChildrenCount,Ark_Int32,Ark_NativePointer)33875 KOALA_INTEROP_DIRECT_1(FrameNode_getChildrenCount, Ark_Int32, Ark_NativePointer)
33876 void impl_FrameNode_dispose(Ark_NativePointer thisPtr) {
33877         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33878         GetAccessors()->getFrameNodeAccessor()->dispose(self);
33879 }
KOALA_INTEROP_DIRECT_V1(FrameNode_dispose,Ark_NativePointer)33880 KOALA_INTEROP_DIRECT_V1(FrameNode_dispose, Ark_NativePointer)
33881 Ark_Number impl_FrameNode_getOpacity(Ark_NativePointer thisPtr) {
33882         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33883         return GetAccessors()->getFrameNodeAccessor()->getOpacity(self);
33884 }
KOALA_INTEROP_DIRECT_1(FrameNode_getOpacity,KInteropNumber,Ark_NativePointer)33885 KOALA_INTEROP_DIRECT_1(FrameNode_getOpacity, KInteropNumber, Ark_NativePointer)
33886 KInteropReturnBuffer impl_FrameNode_getPositionToWindowWithTransform(Ark_NativePointer thisPtr) {
33887         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33888         const auto &retValue = GetAccessors()->getFrameNodeAccessor()->getPositionToWindowWithTransform(self);
33889         Serializer _retSerializer {};
33890         _retSerializer.writePosition(retValue);
33891         return _retSerializer.toReturnBuffer();
33892 }
KOALA_INTEROP_1(FrameNode_getPositionToWindowWithTransform,KInteropReturnBuffer,Ark_NativePointer)33893 KOALA_INTEROP_1(FrameNode_getPositionToWindowWithTransform, KInteropReturnBuffer, Ark_NativePointer)
33894 Ark_NativePointer impl_FrameNode_getFrameNodeByKey(const KStringPtr& name) {
33895         return GetAccessors()->getFrameNodeAccessor()->getFrameNodeByKey((const Ark_String*) (&name));
33896 }
KOALA_INTEROP_1(FrameNode_getFrameNodeByKey,Ark_NativePointer,KStringPtr)33897 KOALA_INTEROP_1(FrameNode_getFrameNodeByKey, Ark_NativePointer, KStringPtr)
33898 Ark_Number impl_FrameNode_getIdByFrameNode(Ark_NativePointer thisPtr, Ark_NativePointer node){
33899     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33900     return GetAccessors()->getFrameNodeAccessor()->getIdByFrameNode(self, static_cast<Ark_FrameNode>(node));
33901 }
KOALA_INTEROP_DIRECT_2(FrameNode_getIdByFrameNode,KInteropNumber,Ark_NativePointer,Ark_NativePointer)33902 KOALA_INTEROP_DIRECT_2(FrameNode_getIdByFrameNode, KInteropNumber, Ark_NativePointer, Ark_NativePointer)
33903 void impl_FrameNode_moveTo(Ark_NativePointer thisPtr, Ark_NativePointer targetParent, KInteropNumber index){
33904     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33905     GetAccessors()->getFrameNodeAccessor()->moveTo(
33906         self, static_cast<Ark_FrameNode>(targetParent), (const Ark_Number*)(&index));
33907 }
KOALA_INTEROP_DIRECT_V3(FrameNode_moveTo,Ark_NativePointer,Ark_NativePointer,KInteropNumber)33908 KOALA_INTEROP_DIRECT_V3(FrameNode_moveTo, Ark_NativePointer, Ark_NativePointer, KInteropNumber)
33909 Ark_Number impl_FrameNode_getFirstChildIndexWithoutExpand(Ark_NativePointer thisPtr){
33910     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33911     return GetAccessors()->getFrameNodeAccessor()->getFirstChildIndexWithoutExpand(self);
33912 }
KOALA_INTEROP_DIRECT_1(FrameNode_getFirstChildIndexWithoutExpand,KInteropNumber,Ark_NativePointer)33913 KOALA_INTEROP_DIRECT_1(FrameNode_getFirstChildIndexWithoutExpand, KInteropNumber, Ark_NativePointer)
33914 Ark_Number impl_FrameNode_getLastChildIndexWithoutExpand(Ark_NativePointer thisPtr){
33915     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33916     return GetAccessors()->getFrameNodeAccessor()->getLastChildIndexWithoutExpand(self);
33917 }
KOALA_INTEROP_DIRECT_1(FrameNode_getLastChildIndexWithoutExpand,KInteropNumber,Ark_NativePointer)33918 KOALA_INTEROP_DIRECT_1(FrameNode_getLastChildIndexWithoutExpand, KInteropNumber, Ark_NativePointer)
33919 Ark_NativePointer impl_FrameNode_getAttachedFrameNodeById(const KStringPtr& id) {
33920     return GetAccessors()->getFrameNodeAccessor()->getAttachedFrameNodeById((const Ark_String*) (&id));
33921 }
KOALA_INTEROP_1(FrameNode_getAttachedFrameNodeById,Ark_NativePointer,KStringPtr)33922 KOALA_INTEROP_1(FrameNode_getAttachedFrameNodeById, Ark_NativePointer, KStringPtr)
33923 Ark_NativePointer impl_FrameNode_getFrameNodeById(KInteropNumber id) {
33924     return GetAccessors()->getFrameNodeAccessor()->getFrameNodeById((const Ark_Number*) (&id));
33925 }
KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodeById,Ark_NativePointer,KInteropNumber)33926 KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodeById, Ark_NativePointer, KInteropNumber)
33927 Ark_NativePointer impl_FrameNode_getFrameNodeByUniqueId(KInteropNumber id) {
33928     return GetAccessors()->getFrameNodeAccessor()->getFrameNodeByUniqueId((const Ark_Number*) (&id));
33929 }
KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodeByUniqueId,Ark_NativePointer,KInteropNumber)33930 KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodeByUniqueId, Ark_NativePointer, KInteropNumber)
33931 void impl_FrameNode_reuse(Ark_NativePointer thisPtr) {
33932     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33933     GetAccessors()->getFrameNodeAccessor()->reuse(self);
33934 }
KOALA_INTEROP_DIRECT_V1(FrameNode_reuse,Ark_NativePointer)33935 KOALA_INTEROP_DIRECT_V1(FrameNode_reuse, Ark_NativePointer)
33936 void impl_FrameNode_recycle(Ark_NativePointer thisPtr) {
33937     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33938     GetAccessors()->getFrameNodeAccessor()->recycle(self);
33939 }
KOALA_INTEROP_DIRECT_V1(FrameNode_recycle,Ark_NativePointer)33940 KOALA_INTEROP_DIRECT_V1(FrameNode_recycle, Ark_NativePointer)
33941 Ark_NativePointer impl_LengthMetrics_ctor() {
33942         return GetAccessors()->getLengthMetricsAccessor()->ctor();
33943 }
KOALA_INTEROP_DIRECT_0(LengthMetrics_ctor,Ark_NativePointer)33944 KOALA_INTEROP_DIRECT_0(LengthMetrics_ctor, Ark_NativePointer)
33945 Ark_NativePointer impl_FrameNode_getRenderNode(Ark_NativePointer thisPtr) {
33946     Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33947     const auto &retValue = GetAccessors()->getFrameNodeAccessor()->getRenderNode(self);
33948     return retValue;
33949 }
KOALA_INTEROP_DIRECT_1(FrameNode_getRenderNode,Ark_NativePointer,Ark_NativePointer)33950 KOALA_INTEROP_DIRECT_1(FrameNode_getRenderNode, Ark_NativePointer, Ark_NativePointer)
33951 Ark_NativePointer impl_FrameNode_getFrameNodePtr(Ark_NativePointer node) {
33952         return GetAccessors()->getFrameNodeAccessor()->getFrameNodePtr(static_cast<Ark_FrameNode>(node));
33953 }
KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodePtr,Ark_NativePointer,Ark_NativePointer)33954 KOALA_INTEROP_DIRECT_1(FrameNode_getFrameNodePtr, Ark_NativePointer, Ark_NativePointer)
33955 Ark_NativePointer impl_FrameNode_createTypedFrameNode(const KStringPtr& type) {
33956         return GetAccessors()->getFrameNodeAccessor()->createTypedFrameNode((const Ark_String*) (&type));
33957 }
KOALA_INTEROP_1(FrameNode_createTypedFrameNode,Ark_NativePointer,KStringPtr)33958 KOALA_INTEROP_1(FrameNode_createTypedFrameNode, Ark_NativePointer, KStringPtr)
33959 Ark_String impl_FrameNode_getNodeType(Ark_NativePointer thisPtr) {
33960         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33961         return GetAccessors()->getFrameNodeAccessor()->getNodeType(self);
33962 }
KOALA_INTEROP_1(FrameNode_getNodeType,KStringPtr,Ark_NativePointer)33963 KOALA_INTEROP_1(FrameNode_getNodeType, KStringPtr, Ark_NativePointer)
33964 void impl_FrameNode_applyAttributesFinish(Ark_NativePointer thisPtr) {
33965         Ark_FrameNode self = reinterpret_cast<Ark_FrameNode>(thisPtr);
33966         return GetAccessors()->getFrameNodeAccessor()->applyAttributesFinish(self);
33967 }
KOALA_INTEROP_DIRECT_V1(FrameNode_applyAttributesFinish,Ark_NativePointer)33968 KOALA_INTEROP_DIRECT_V1(FrameNode_applyAttributesFinish, Ark_NativePointer)
33969 Ark_NativePointer impl_LengthMetrics_getFinalizer() {
33970         return GetAccessors()->getLengthMetricsAccessor()->getFinalizer();
33971 }
KOALA_INTEROP_DIRECT_0(LengthMetrics_getFinalizer,Ark_NativePointer)33972 KOALA_INTEROP_DIRECT_0(LengthMetrics_getFinalizer, Ark_NativePointer)
33973 Ark_NativePointer impl_LengthMetrics_px(KInteropNumber value) {
33974         return GetAccessors()->getLengthMetricsAccessor()->px((const Ark_Number*) (&value));
33975 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_px,Ark_NativePointer,KInteropNumber)33976 KOALA_INTEROP_DIRECT_1(LengthMetrics_px, Ark_NativePointer, KInteropNumber)
33977 Ark_NativePointer impl_LengthMetrics_vp(KInteropNumber value) {
33978         return GetAccessors()->getLengthMetricsAccessor()->vp((const Ark_Number*) (&value));
33979 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_vp,Ark_NativePointer,KInteropNumber)33980 KOALA_INTEROP_DIRECT_1(LengthMetrics_vp, Ark_NativePointer, KInteropNumber)
33981 Ark_NativePointer impl_LengthMetrics_fp(KInteropNumber value) {
33982         return GetAccessors()->getLengthMetricsAccessor()->fp((const Ark_Number*) (&value));
33983 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_fp,Ark_NativePointer,KInteropNumber)33984 KOALA_INTEROP_DIRECT_1(LengthMetrics_fp, Ark_NativePointer, KInteropNumber)
33985 Ark_NativePointer impl_LengthMetrics_percent(KInteropNumber value) {
33986         return GetAccessors()->getLengthMetricsAccessor()->percent((const Ark_Number*) (&value));
33987 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_percent,Ark_NativePointer,KInteropNumber)33988 KOALA_INTEROP_DIRECT_1(LengthMetrics_percent, Ark_NativePointer, KInteropNumber)
33989 Ark_NativePointer impl_LengthMetrics_lpx(KInteropNumber value) {
33990         return GetAccessors()->getLengthMetricsAccessor()->lpx((const Ark_Number*) (&value));
33991 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_lpx,Ark_NativePointer,KInteropNumber)33992 KOALA_INTEROP_DIRECT_1(LengthMetrics_lpx, Ark_NativePointer, KInteropNumber)
33993 Ark_NativePointer impl_LengthMetrics_resource(KSerializerBuffer thisArray, int32_t thisLength) {
33994         Deserializer thisDeserializer(thisArray, thisLength);
33995         Ark_Resource value_value = thisDeserializer.readResource();;
33996         return GetAccessors()->getLengthMetricsAccessor()->resource((const Ark_Resource*)&value_value);
33997 }
KOALA_INTEROP_DIRECT_2(LengthMetrics_resource,Ark_NativePointer,KSerializerBuffer,int32_t)33998 KOALA_INTEROP_DIRECT_2(LengthMetrics_resource, Ark_NativePointer, KSerializerBuffer, int32_t)
33999 Ark_Int32 impl_LengthMetrics_getUnit(Ark_NativePointer thisPtr) {
34000         Ark_LengthMetrics self = reinterpret_cast<Ark_LengthMetrics>(thisPtr);
34001         return GetAccessors()->getLengthMetricsAccessor()->getUnit(self);
34002 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_getUnit,Ark_Int32,Ark_NativePointer)34003 KOALA_INTEROP_DIRECT_1(LengthMetrics_getUnit, Ark_Int32, Ark_NativePointer)
34004 void impl_LengthMetrics_setUnit(Ark_NativePointer thisPtr, Ark_Int32 unit) {
34005         Ark_LengthMetrics self = reinterpret_cast<Ark_LengthMetrics>(thisPtr);
34006         GetAccessors()->getLengthMetricsAccessor()->setUnit(self, static_cast<Ark_LengthUnit>(unit));
34007 }
KOALA_INTEROP_DIRECT_V2(LengthMetrics_setUnit,Ark_NativePointer,Ark_Int32)34008 KOALA_INTEROP_DIRECT_V2(LengthMetrics_setUnit, Ark_NativePointer, Ark_Int32)
34009 Ark_Number impl_LengthMetrics_getValue(Ark_NativePointer thisPtr) {
34010         Ark_LengthMetrics self = reinterpret_cast<Ark_LengthMetrics>(thisPtr);
34011         return GetAccessors()->getLengthMetricsAccessor()->getValue(self);
34012 }
KOALA_INTEROP_DIRECT_1(LengthMetrics_getValue,KInteropNumber,Ark_NativePointer)34013 KOALA_INTEROP_DIRECT_1(LengthMetrics_getValue, KInteropNumber, Ark_NativePointer)
34014 void impl_LengthMetrics_setValue(Ark_NativePointer thisPtr, KInteropNumber value) {
34015         Ark_LengthMetrics self = reinterpret_cast<Ark_LengthMetrics>(thisPtr);
34016         GetAccessors()->getLengthMetricsAccessor()->setValue(self, (const Ark_Number*) (&value));
34017 }
KOALA_INTEROP_DIRECT_V2(LengthMetrics_setValue,Ark_NativePointer,KInteropNumber)34018 KOALA_INTEROP_DIRECT_V2(LengthMetrics_setValue, Ark_NativePointer, KInteropNumber)
34019 Ark_NativePointer impl_ShapeMask_ctor() {
34020         return GetAccessors()->getShapeMaskAccessor()->ctor();
34021 }
KOALA_INTEROP_DIRECT_0(ShapeMask_ctor,Ark_NativePointer)34022 KOALA_INTEROP_DIRECT_0(ShapeMask_ctor, Ark_NativePointer)
34023 Ark_NativePointer impl_ShapeMask_getFinalizer() {
34024         return GetAccessors()->getShapeMaskAccessor()->getFinalizer();
34025 }
KOALA_INTEROP_DIRECT_0(ShapeMask_getFinalizer,Ark_NativePointer)34026 KOALA_INTEROP_DIRECT_0(ShapeMask_getFinalizer, Ark_NativePointer)
34027 void impl_ShapeMask_setRectShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34028         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34029         Deserializer thisDeserializer(thisArray, thisLength);
34030         Ark_Rect rect_value = thisDeserializer.readRect();;
34031         GetAccessors()->getShapeMaskAccessor()->setRectShape(self, (const Ark_Rect*)&rect_value);
34032 }
KOALA_INTEROP_DIRECT_V3(ShapeMask_setRectShape,Ark_NativePointer,KSerializerBuffer,int32_t)34033 KOALA_INTEROP_DIRECT_V3(ShapeMask_setRectShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34034 void impl_ShapeMask_setRoundRectShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34035         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34036         Deserializer thisDeserializer(thisArray, thisLength);
34037         Ark_RoundRect roundRect_value = thisDeserializer.readRoundRect();;
34038         GetAccessors()->getShapeMaskAccessor()->setRoundRectShape(self, (const Ark_RoundRect*)&roundRect_value);
34039 }
KOALA_INTEROP_DIRECT_V3(ShapeMask_setRoundRectShape,Ark_NativePointer,KSerializerBuffer,int32_t)34040 KOALA_INTEROP_DIRECT_V3(ShapeMask_setRoundRectShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34041 void impl_ShapeMask_setCircleShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34042         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34043         Deserializer thisDeserializer(thisArray, thisLength);
34044         Ark_Circle circle_value = thisDeserializer.readCircle();;
34045         GetAccessors()->getShapeMaskAccessor()->setCircleShape(self, (const Ark_Circle*)&circle_value);
34046 }
KOALA_INTEROP_DIRECT_V3(ShapeMask_setCircleShape,Ark_NativePointer,KSerializerBuffer,int32_t)34047 KOALA_INTEROP_DIRECT_V3(ShapeMask_setCircleShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34048 void impl_ShapeMask_setOvalShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34049         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34050         Deserializer thisDeserializer(thisArray, thisLength);
34051         Ark_Rect oval_value = thisDeserializer.readRect();;
34052         GetAccessors()->getShapeMaskAccessor()->setOvalShape(self, (const Ark_Rect*)&oval_value);
34053 }
KOALA_INTEROP_DIRECT_V3(ShapeMask_setOvalShape,Ark_NativePointer,KSerializerBuffer,int32_t)34054 KOALA_INTEROP_DIRECT_V3(ShapeMask_setOvalShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34055 void impl_ShapeMask_setCommandPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34056         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34057         Deserializer thisDeserializer(thisArray, thisLength);
34058         Ark_CommandPath path_value = thisDeserializer.readCommandPath();;
34059         GetAccessors()->getShapeMaskAccessor()->setCommandPath(self, (const Ark_CommandPath*)&path_value);
34060 }
KOALA_INTEROP_DIRECT_V3(ShapeMask_setCommandPath,Ark_NativePointer,KSerializerBuffer,int32_t)34061 KOALA_INTEROP_DIRECT_V3(ShapeMask_setCommandPath, Ark_NativePointer, KSerializerBuffer, int32_t)
34062 Ark_Number impl_ShapeMask_getFillColor(Ark_NativePointer thisPtr) {
34063         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34064         return GetAccessors()->getShapeMaskAccessor()->getFillColor(self);
34065 }
KOALA_INTEROP_DIRECT_1(ShapeMask_getFillColor,KInteropNumber,Ark_NativePointer)34066 KOALA_INTEROP_DIRECT_1(ShapeMask_getFillColor, KInteropNumber, Ark_NativePointer)
34067 void impl_ShapeMask_setFillColor(Ark_NativePointer thisPtr, KInteropNumber fillColor) {
34068         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34069         GetAccessors()->getShapeMaskAccessor()->setFillColor(self, (const Ark_Number*) (&fillColor));
34070 }
KOALA_INTEROP_DIRECT_V2(ShapeMask_setFillColor,Ark_NativePointer,KInteropNumber)34071 KOALA_INTEROP_DIRECT_V2(ShapeMask_setFillColor, Ark_NativePointer, KInteropNumber)
34072 Ark_Number impl_ShapeMask_getStrokeColor(Ark_NativePointer thisPtr) {
34073         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34074         return GetAccessors()->getShapeMaskAccessor()->getStrokeColor(self);
34075 }
KOALA_INTEROP_DIRECT_1(ShapeMask_getStrokeColor,KInteropNumber,Ark_NativePointer)34076 KOALA_INTEROP_DIRECT_1(ShapeMask_getStrokeColor, KInteropNumber, Ark_NativePointer)
34077 void impl_ShapeMask_setStrokeColor(Ark_NativePointer thisPtr, KInteropNumber strokeColor) {
34078         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34079         GetAccessors()->getShapeMaskAccessor()->setStrokeColor(self, (const Ark_Number*) (&strokeColor));
34080 }
KOALA_INTEROP_DIRECT_V2(ShapeMask_setStrokeColor,Ark_NativePointer,KInteropNumber)34081 KOALA_INTEROP_DIRECT_V2(ShapeMask_setStrokeColor, Ark_NativePointer, KInteropNumber)
34082 Ark_Number impl_ShapeMask_getStrokeWidth(Ark_NativePointer thisPtr) {
34083         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34084         return GetAccessors()->getShapeMaskAccessor()->getStrokeWidth(self);
34085 }
KOALA_INTEROP_DIRECT_1(ShapeMask_getStrokeWidth,KInteropNumber,Ark_NativePointer)34086 KOALA_INTEROP_DIRECT_1(ShapeMask_getStrokeWidth, KInteropNumber, Ark_NativePointer)
34087 void impl_ShapeMask_setStrokeWidth(Ark_NativePointer thisPtr, KInteropNumber strokeWidth) {
34088         Ark_ShapeMask self = reinterpret_cast<Ark_ShapeMask>(thisPtr);
34089         GetAccessors()->getShapeMaskAccessor()->setStrokeWidth(self, (const Ark_Number*) (&strokeWidth));
34090 }
KOALA_INTEROP_DIRECT_V2(ShapeMask_setStrokeWidth,Ark_NativePointer,KInteropNumber)34091 KOALA_INTEROP_DIRECT_V2(ShapeMask_setStrokeWidth, Ark_NativePointer, KInteropNumber)
34092 Ark_NativePointer impl_ShapeClip_ctor() {
34093         return GetAccessors()->getShapeClipAccessor()->ctor();
34094 }
KOALA_INTEROP_DIRECT_0(ShapeClip_ctor,Ark_NativePointer)34095 KOALA_INTEROP_DIRECT_0(ShapeClip_ctor, Ark_NativePointer)
34096 Ark_NativePointer impl_ShapeClip_getFinalizer() {
34097         return GetAccessors()->getShapeClipAccessor()->getFinalizer();
34098 }
KOALA_INTEROP_DIRECT_0(ShapeClip_getFinalizer,Ark_NativePointer)34099 KOALA_INTEROP_DIRECT_0(ShapeClip_getFinalizer, Ark_NativePointer)
34100 void impl_ShapeClip_setRectShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34101         Ark_ShapeClip self = reinterpret_cast<Ark_ShapeClip>(thisPtr);
34102         Deserializer thisDeserializer(thisArray, thisLength);
34103         Ark_Rect rect_value = thisDeserializer.readRect();;
34104         GetAccessors()->getShapeClipAccessor()->setRectShape(self, (const Ark_Rect*)&rect_value);
34105 }
KOALA_INTEROP_DIRECT_V3(ShapeClip_setRectShape,Ark_NativePointer,KSerializerBuffer,int32_t)34106 KOALA_INTEROP_DIRECT_V3(ShapeClip_setRectShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34107 void impl_ShapeClip_setRoundRectShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34108         Ark_ShapeClip self = reinterpret_cast<Ark_ShapeClip>(thisPtr);
34109         Deserializer thisDeserializer(thisArray, thisLength);
34110         Ark_RoundRect roundRect_value = thisDeserializer.readRoundRect();;
34111         GetAccessors()->getShapeClipAccessor()->setRoundRectShape(self, (const Ark_RoundRect*)&roundRect_value);
34112 }
KOALA_INTEROP_DIRECT_V3(ShapeClip_setRoundRectShape,Ark_NativePointer,KSerializerBuffer,int32_t)34113 KOALA_INTEROP_DIRECT_V3(ShapeClip_setRoundRectShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34114 void impl_ShapeClip_setCircleShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34115         Ark_ShapeClip self = reinterpret_cast<Ark_ShapeClip>(thisPtr);
34116         Deserializer thisDeserializer(thisArray, thisLength);
34117         Ark_Circle circle_value = thisDeserializer.readCircle();;
34118         GetAccessors()->getShapeClipAccessor()->setCircleShape(self, (const Ark_Circle*)&circle_value);
34119 }
KOALA_INTEROP_DIRECT_V3(ShapeClip_setCircleShape,Ark_NativePointer,KSerializerBuffer,int32_t)34120 KOALA_INTEROP_DIRECT_V3(ShapeClip_setCircleShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34121 void impl_ShapeClip_setOvalShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34122         Ark_ShapeClip self = reinterpret_cast<Ark_ShapeClip>(thisPtr);
34123         Deserializer thisDeserializer(thisArray, thisLength);
34124         Ark_Rect oval_value = thisDeserializer.readRect();;
34125         GetAccessors()->getShapeClipAccessor()->setOvalShape(self, (const Ark_Rect*)&oval_value);
34126 }
KOALA_INTEROP_DIRECT_V3(ShapeClip_setOvalShape,Ark_NativePointer,KSerializerBuffer,int32_t)34127 KOALA_INTEROP_DIRECT_V3(ShapeClip_setOvalShape, Ark_NativePointer, KSerializerBuffer, int32_t)
34128 void impl_ShapeClip_setCommandPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34129         Ark_ShapeClip self = reinterpret_cast<Ark_ShapeClip>(thisPtr);
34130         Deserializer thisDeserializer(thisArray, thisLength);
34131         Ark_CommandPath path_value = thisDeserializer.readCommandPath();;
34132         GetAccessors()->getShapeClipAccessor()->setCommandPath(self, (const Ark_CommandPath*)&path_value);
34133 }
KOALA_INTEROP_DIRECT_V3(ShapeClip_setCommandPath,Ark_NativePointer,KSerializerBuffer,int32_t)34134 KOALA_INTEROP_DIRECT_V3(ShapeClip_setCommandPath, Ark_NativePointer, KSerializerBuffer, int32_t)
34135 Ark_NativePointer impl_Matrix4Transit_ctor() {
34136         return GetAccessors()->getMatrix4TransitAccessor()->ctor();
34137 }
KOALA_INTEROP_DIRECT_0(Matrix4Transit_ctor,Ark_NativePointer)34138 KOALA_INTEROP_DIRECT_0(Matrix4Transit_ctor, Ark_NativePointer)
34139 Ark_NativePointer impl_Matrix4Transit_getFinalizer() {
34140         return GetAccessors()->getMatrix4TransitAccessor()->getFinalizer();
34141 }
KOALA_INTEROP_DIRECT_0(Matrix4Transit_getFinalizer,Ark_NativePointer)34142 KOALA_INTEROP_DIRECT_0(Matrix4Transit_getFinalizer, Ark_NativePointer)
34143 Ark_NativePointer impl_Matrix4Transit_copy(Ark_NativePointer thisPtr) {
34144         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34145         return GetAccessors()->getMatrix4TransitAccessor()->copy(self);
34146 }
KOALA_INTEROP_DIRECT_1(Matrix4Transit_copy,Ark_NativePointer,Ark_NativePointer)34147 KOALA_INTEROP_DIRECT_1(Matrix4Transit_copy, Ark_NativePointer, Ark_NativePointer)
34148 Ark_NativePointer impl_Matrix4Transit_invert(Ark_NativePointer thisPtr) {
34149         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34150         return GetAccessors()->getMatrix4TransitAccessor()->invert(self);
34151 }
KOALA_INTEROP_DIRECT_1(Matrix4Transit_invert,Ark_NativePointer,Ark_NativePointer)34152 KOALA_INTEROP_DIRECT_1(Matrix4Transit_invert, Ark_NativePointer, Ark_NativePointer)
34153 Ark_NativePointer impl_Matrix4Transit_combine(Ark_NativePointer thisPtr, Ark_NativePointer options) {
34154         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34155         return GetAccessors()->getMatrix4TransitAccessor()->combine(self, static_cast<Ark_Matrix4Transit>(options));
34156 }
KOALA_INTEROP_DIRECT_2(Matrix4Transit_combine,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)34157 KOALA_INTEROP_DIRECT_2(Matrix4Transit_combine, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
34158 Ark_NativePointer impl_Matrix4Transit_translate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34159         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34160         Deserializer thisDeserializer(thisArray, thisLength);
34161         Ark_TranslateOption options_value = thisDeserializer.readTranslateOption();;
34162         return GetAccessors()->getMatrix4TransitAccessor()->translate(self, (const Ark_TranslateOption*)&options_value);
34163 }
KOALA_INTEROP_DIRECT_3(Matrix4Transit_translate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34164 KOALA_INTEROP_DIRECT_3(Matrix4Transit_translate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34165 Ark_NativePointer impl_Matrix4Transit_scale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34166         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34167         Deserializer thisDeserializer(thisArray, thisLength);
34168         Ark_ScaleOption options_value = thisDeserializer.readScaleOption();;
34169         return GetAccessors()->getMatrix4TransitAccessor()->scale(self, (const Ark_ScaleOption*)&options_value);
34170 }
KOALA_INTEROP_DIRECT_3(Matrix4Transit_scale,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34171 KOALA_INTEROP_DIRECT_3(Matrix4Transit_scale, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34172 Ark_NativePointer impl_Matrix4Transit_skew(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
34173         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34174         return GetAccessors()->getMatrix4TransitAccessor()->skew(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
34175 }
KOALA_INTEROP_DIRECT_3(Matrix4Transit_skew,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber)34176 KOALA_INTEROP_DIRECT_3(Matrix4Transit_skew, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber)
34177 Ark_NativePointer impl_Matrix4Transit_rotate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34178         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34179         Deserializer thisDeserializer(thisArray, thisLength);
34180         Ark_RotateOption options_value = thisDeserializer.readRotateOption();;
34181         return GetAccessors()->getMatrix4TransitAccessor()->rotate(self, (const Ark_RotateOption*)&options_value);
34182 }
KOALA_INTEROP_DIRECT_3(Matrix4Transit_rotate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34183 KOALA_INTEROP_DIRECT_3(Matrix4Transit_rotate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34184 KInteropReturnBuffer impl_Matrix4Transit_transformPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34185         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34186         Deserializer thisDeserializer(thisArray, thisLength);
34187         Ark_Tuple_Number_Number options_value_buf = {};
34188         options_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34189         options_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34190         Ark_Tuple_Number_Number options_value = options_value_buf;;
34191         const auto &retValue = GetAccessors()->getMatrix4TransitAccessor()->transformPoint(self, (const Ark_Tuple_Number_Number*)&options_value);
34192         Serializer _retSerializer {};
34193         const auto retValue_0 = retValue.value0;
34194         _retSerializer.writeNumber(retValue_0);
34195         const auto retValue_1 = retValue.value1;
34196         _retSerializer.writeNumber(retValue_1);
34197         return _retSerializer.toReturnBuffer();
34198 }
KOALA_INTEROP_3(Matrix4Transit_transformPoint,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)34199 KOALA_INTEROP_3(Matrix4Transit_transformPoint, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
34200 Ark_NativePointer impl_Matrix4Transit_setPolyToPoly(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34201         Ark_Matrix4Transit self = reinterpret_cast<Ark_Matrix4Transit>(thisPtr);
34202         Deserializer thisDeserializer(thisArray, thisLength);
34203         Ark_PolyToPolyOptions options_value = thisDeserializer.readPolyToPolyOptions();;
34204         return GetAccessors()->getMatrix4TransitAccessor()->setPolyToPoly(self, (const Ark_PolyToPolyOptions*)&options_value);
34205 }
KOALA_INTEROP_DIRECT_3(Matrix4Transit_setPolyToPoly,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34206 KOALA_INTEROP_DIRECT_3(Matrix4Transit_setPolyToPoly, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34207 Ark_NativePointer impl_NodeContent_ctor() {
34208         return GetAccessors()->getNodeContentAccessor()->ctor();
34209 }
KOALA_INTEROP_DIRECT_0(NodeContent_ctor,Ark_NativePointer)34210 KOALA_INTEROP_DIRECT_0(NodeContent_ctor, Ark_NativePointer)
34211 Ark_NativePointer impl_NodeContent_getFinalizer() {
34212         return GetAccessors()->getNodeContentAccessor()->getFinalizer();
34213 }
KOALA_INTEROP_DIRECT_0(NodeContent_getFinalizer,Ark_NativePointer)34214 KOALA_INTEROP_DIRECT_0(NodeContent_getFinalizer, Ark_NativePointer)
34215 Ark_Boolean impl_NodeContent_addFrameNode(Ark_NativePointer thisPtr, Ark_NativePointer node) {
34216         Ark_NodeContent self = reinterpret_cast<Ark_NodeContent>(thisPtr);
34217         return GetAccessors()->getNodeContentAccessor()->addFrameNode(self, static_cast<Ark_FrameNode>(node));
34218 }
KOALA_INTEROP_DIRECT_2(NodeContent_addFrameNode,Ark_Boolean,Ark_NativePointer,Ark_NativePointer)34219 KOALA_INTEROP_DIRECT_2(NodeContent_addFrameNode, Ark_Boolean, Ark_NativePointer, Ark_NativePointer)
34220 Ark_Boolean impl_NodeContent_removeFrameNode(Ark_NativePointer thisPtr, Ark_NativePointer node) {
34221         Ark_NodeContent self = reinterpret_cast<Ark_NodeContent>(thisPtr);
34222         return GetAccessors()->getNodeContentAccessor()->removeFrameNode(self, static_cast<Ark_FrameNode>(node));
34223 }
KOALA_INTEROP_DIRECT_2(NodeContent_removeFrameNode,Ark_Boolean,Ark_NativePointer,Ark_NativePointer)34224 KOALA_INTEROP_DIRECT_2(NodeContent_removeFrameNode, Ark_Boolean, Ark_NativePointer, Ark_NativePointer)
34225 Ark_NativePointer impl_PixelMap_ctor() {
34226         return GetAccessors()->getPixelMapAccessor()->ctor();
34227 }
KOALA_INTEROP_DIRECT_0(PixelMap_ctor,Ark_NativePointer)34228 KOALA_INTEROP_DIRECT_0(PixelMap_ctor, Ark_NativePointer)
34229 Ark_NativePointer impl_PixelMap_getFinalizer() {
34230         return GetAccessors()->getPixelMapAccessor()->getFinalizer();
34231 }
KOALA_INTEROP_DIRECT_0(PixelMap_getFinalizer,Ark_NativePointer)34232 KOALA_INTEROP_DIRECT_0(PixelMap_getFinalizer, Ark_NativePointer)
34233 void impl_PixelMap_readPixelsToBufferSync(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34234         Ark_PixelMap self = reinterpret_cast<Ark_PixelMap>(thisPtr);
34235         Deserializer thisDeserializer(thisArray, thisLength);
34236         Ark_Buffer dst_value = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());;
34237         GetAccessors()->getPixelMapAccessor()->readPixelsToBufferSync(self, (const Ark_Buffer*)&dst_value);
34238 }
KOALA_INTEROP_DIRECT_V3(PixelMap_readPixelsToBufferSync,Ark_NativePointer,KSerializerBuffer,int32_t)34239 KOALA_INTEROP_DIRECT_V3(PixelMap_readPixelsToBufferSync, Ark_NativePointer, KSerializerBuffer, int32_t)
34240 void impl_PixelMap_writeBufferToPixels(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34241         Ark_PixelMap self = reinterpret_cast<Ark_PixelMap>(thisPtr);
34242         Deserializer thisDeserializer(thisArray, thisLength);
34243         Ark_Buffer src_value = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());;
34244         GetAccessors()->getPixelMapAccessor()->writeBufferToPixels(self, (const Ark_Buffer*)&src_value);
34245 }
KOALA_INTEROP_DIRECT_V3(PixelMap_writeBufferToPixels,Ark_NativePointer,KSerializerBuffer,int32_t)34246 KOALA_INTEROP_DIRECT_V3(PixelMap_writeBufferToPixels, Ark_NativePointer, KSerializerBuffer, int32_t)
34247 Ark_Boolean impl_PixelMap_getIsEditable(Ark_NativePointer thisPtr) {
34248         Ark_PixelMap self = reinterpret_cast<Ark_PixelMap>(thisPtr);
34249         return GetAccessors()->getPixelMapAccessor()->getIsEditable(self);
34250 }
KOALA_INTEROP_DIRECT_1(PixelMap_getIsEditable,Ark_Boolean,Ark_NativePointer)34251 KOALA_INTEROP_DIRECT_1(PixelMap_getIsEditable, Ark_Boolean, Ark_NativePointer)
34252 Ark_Boolean impl_PixelMap_getIsStrideAlignment(Ark_NativePointer thisPtr) {
34253         Ark_PixelMap self = reinterpret_cast<Ark_PixelMap>(thisPtr);
34254         return GetAccessors()->getPixelMapAccessor()->getIsStrideAlignment(self);
34255 }
KOALA_INTEROP_DIRECT_1(PixelMap_getIsStrideAlignment,Ark_Boolean,Ark_NativePointer)34256 KOALA_INTEROP_DIRECT_1(PixelMap_getIsStrideAlignment, Ark_Boolean, Ark_NativePointer)
34257 Ark_NativePointer impl_RenderNode_ctor(Ark_Int32 nodeId, KSerializerBuffer thisArray, int32_t thisLength)
34258 {
34259     Deserializer thisDeserializer(thisArray, thisLength);
34260     DrawCallbackFunc callback_value = { thisDeserializer.readCallbackResource(),
34261         reinterpret_cast<void (*)(const Ark_Int32 resourceId, const Ark_DrawContext context)>(
34262             thisDeserializer.readPointerOrDefault(
34263                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_DrawCallback)))),
34264         reinterpret_cast<void (*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DrawContext context)>(
34265             thisDeserializer.readPointerOrDefault(
34266                 reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_DrawCallback)))) };
34267     return GetAccessors()->getRenderNodeAccessor()->ctor(nodeId, (const DrawCallbackFunc*)&callback_value);
34268 }
KOALA_INTEROP_DIRECT_3(RenderNode_ctor,Ark_NativePointer,Ark_Int32,KSerializerBuffer,int32_t)34269 KOALA_INTEROP_DIRECT_3(RenderNode_ctor, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t)
34270 Ark_NativePointer impl_RenderNode_getFinalizer() {
34271         return GetAccessors()->getRenderNodeAccessor()->getFinalizer();
34272 }
KOALA_INTEROP_DIRECT_0(RenderNode_getFinalizer,Ark_NativePointer)34273 KOALA_INTEROP_DIRECT_0(RenderNode_getFinalizer, Ark_NativePointer)
34274 void impl_RenderNode_appendChild(Ark_NativePointer thisPtr, Ark_NativePointer node) {
34275         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34276         GetAccessors()->getRenderNodeAccessor()->appendChild(self, static_cast<Ark_RenderNode>(node));
34277 }
KOALA_INTEROP_DIRECT_V2(RenderNode_appendChild,Ark_NativePointer,Ark_NativePointer)34278 KOALA_INTEROP_DIRECT_V2(RenderNode_appendChild, Ark_NativePointer, Ark_NativePointer)
34279 void impl_RenderNode_insertChildAfter(Ark_NativePointer thisPtr, Ark_NativePointer child, KSerializerBuffer thisArray, int32_t thisLength) {
34280         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34281         Deserializer thisDeserializer(thisArray, thisLength);
34282         const Ark_Int8 sibling_value_buf_selector = thisDeserializer.readInt8();
34283         Ark_Union_RenderNode_Undefined sibling_value_buf = {};
34284         sibling_value_buf.selector = sibling_value_buf_selector;
34285         if (sibling_value_buf_selector == 0) {
34286             sibling_value_buf.selector = 0;
34287             sibling_value_buf.value0 = static_cast<Ark_RenderNode>(thisDeserializer.readRenderNode());
34288         }
34289         else if (sibling_value_buf_selector == 1) {
34290             sibling_value_buf.selector = 1;
34291             sibling_value_buf.value1 = Ark_Undefined();
34292         }
34293         else {
34294             INTEROP_FATAL("One of the branches for sibling_value_buf has to be chosen through deserialisation.");
34295         }
34296         Ark_Union_RenderNode_Undefined sibling_value = static_cast<Ark_Union_RenderNode_Undefined>(sibling_value_buf);;
34297         GetAccessors()->getRenderNodeAccessor()->insertChildAfter(self, static_cast<Ark_RenderNode>(child), (const Ark_Union_RenderNode_Undefined*)&sibling_value);
34298 }
KOALA_INTEROP_DIRECT_V4(RenderNode_insertChildAfter,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34299 KOALA_INTEROP_DIRECT_V4(RenderNode_insertChildAfter, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34300 void impl_RenderNode_removeChild(Ark_NativePointer thisPtr, Ark_NativePointer node) {
34301         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34302         GetAccessors()->getRenderNodeAccessor()->removeChild(self, static_cast<Ark_RenderNode>(node));
34303 }
KOALA_INTEROP_DIRECT_V2(RenderNode_removeChild,Ark_NativePointer,Ark_NativePointer)34304 KOALA_INTEROP_DIRECT_V2(RenderNode_removeChild, Ark_NativePointer, Ark_NativePointer)
34305 void impl_RenderNode_clearChildren(Ark_NativePointer thisPtr) {
34306         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34307         GetAccessors()->getRenderNodeAccessor()->clearChildren(self);
34308 }
KOALA_INTEROP_DIRECT_V1(RenderNode_clearChildren,Ark_NativePointer)34309 KOALA_INTEROP_DIRECT_V1(RenderNode_clearChildren, Ark_NativePointer)
34310 KInteropReturnBuffer impl_RenderNode_getChild(Ark_NativePointer thisPtr, KInteropNumber index) {
34311         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34312         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getChild(self, (const Ark_Number*) (&index));
34313         Serializer _retSerializer {};
34314         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
34315         retValue_type = retValue.selector;
34316         if (retValue_type == 0) {
34317             _retSerializer.writeInt8(0);
34318             const auto retValue_0 = retValue.value0;
34319             _retSerializer.writeRenderNode(retValue_0);
34320         }
34321         else if (retValue_type == 1) {
34322             _retSerializer.writeInt8(1);
34323         }
34324         return _retSerializer.toReturnBuffer();
34325 }
KOALA_INTEROP_2(RenderNode_getChild,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber)34326 KOALA_INTEROP_2(RenderNode_getChild, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber)
34327 KInteropReturnBuffer impl_RenderNode_getFirstChild(Ark_NativePointer thisPtr) {
34328         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34329         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getFirstChild(self);
34330         Serializer _retSerializer {};
34331         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
34332         retValue_type = retValue.selector;
34333         if (retValue_type == 0) {
34334             _retSerializer.writeInt8(0);
34335             const auto retValue_0 = retValue.value0;
34336             _retSerializer.writeRenderNode(retValue_0);
34337         }
34338         else if (retValue_type == 1) {
34339             _retSerializer.writeInt8(1);
34340         }
34341         return _retSerializer.toReturnBuffer();
34342 }
KOALA_INTEROP_1(RenderNode_getFirstChild,KInteropReturnBuffer,Ark_NativePointer)34343 KOALA_INTEROP_1(RenderNode_getFirstChild, KInteropReturnBuffer, Ark_NativePointer)
34344 KInteropReturnBuffer impl_RenderNode_getNextSibling(Ark_NativePointer thisPtr) {
34345         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34346         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getNextSibling(self);
34347         Serializer _retSerializer {};
34348         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
34349         retValue_type = retValue.selector;
34350         if (retValue_type == 0) {
34351             _retSerializer.writeInt8(0);
34352             const auto retValue_0 = retValue.value0;
34353             _retSerializer.writeRenderNode(retValue_0);
34354         }
34355         else if (retValue_type == 1) {
34356             _retSerializer.writeInt8(1);
34357         }
34358         return _retSerializer.toReturnBuffer();
34359 }
KOALA_INTEROP_1(RenderNode_getNextSibling,KInteropReturnBuffer,Ark_NativePointer)34360 KOALA_INTEROP_1(RenderNode_getNextSibling, KInteropReturnBuffer, Ark_NativePointer)
34361 KInteropReturnBuffer impl_RenderNode_getPreviousSibling(Ark_NativePointer thisPtr) {
34362         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34363         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getPreviousSibling(self);
34364         Serializer _retSerializer {};
34365         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
34366         retValue_type = retValue.selector;
34367         if (retValue_type == 0) {
34368             _retSerializer.writeInt8(0);
34369             const auto retValue_0 = retValue.value0;
34370             _retSerializer.writeRenderNode(retValue_0);
34371         }
34372         else if (retValue_type == 1) {
34373             _retSerializer.writeInt8(1);
34374         }
34375         return _retSerializer.toReturnBuffer();
34376 }
KOALA_INTEROP_1(RenderNode_getPreviousSibling,KInteropReturnBuffer,Ark_NativePointer)34377 KOALA_INTEROP_1(RenderNode_getPreviousSibling, KInteropReturnBuffer, Ark_NativePointer)
34378 void impl_RenderNode_draw(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34379         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34380         Deserializer thisDeserializer(thisArray, thisLength);
34381         Ark_DrawContext context_value = thisDeserializer.readDrawContext();;
34382         GetAccessors()->getRenderNodeAccessor()->draw(self, (const Ark_DrawContext*)&context_value);
34383 }
KOALA_INTEROP_DIRECT_V3(RenderNode_draw,Ark_NativePointer,KSerializerBuffer,int32_t)34384 KOALA_INTEROP_DIRECT_V3(RenderNode_draw, Ark_NativePointer, KSerializerBuffer, int32_t)
34385 void impl_RenderNode_invalidate(Ark_NativePointer thisPtr) {
34386         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34387         GetAccessors()->getRenderNodeAccessor()->invalidate(self);
34388 }
KOALA_INTEROP_DIRECT_V1(RenderNode_invalidate,Ark_NativePointer)34389 KOALA_INTEROP_DIRECT_V1(RenderNode_invalidate, Ark_NativePointer)
34390 void impl_RenderNode_dispose(Ark_NativePointer thisPtr) {
34391         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34392         GetAccessors()->getRenderNodeAccessor()->dispose(self);
34393 }
KOALA_INTEROP_DIRECT_V1(RenderNode_dispose,Ark_NativePointer)34394 KOALA_INTEROP_DIRECT_V1(RenderNode_dispose, Ark_NativePointer)
34395 void impl_RenderNode_setRectMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) {
34396     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34397     Deserializer thisDeserializer(thisArray, thisLength);
34398     Ark_Rect rect_value = thisDeserializer.readRect();;
34399     GetAccessors()->getRenderNodeAccessor()->setRectMask(self, (const Ark_Rect*)&rect_value, (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth));
34400 }
KOALA_INTEROP_DIRECT_V6(RenderNode_setRectMask,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber)34401 KOALA_INTEROP_DIRECT_V6(RenderNode_setRectMask, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber)
34402 void impl_RenderNode_setCircleMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) {
34403     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34404     Deserializer thisDeserializer(thisArray, thisLength);
34405     Ark_Circle circle_value = thisDeserializer.readCircle();;
34406     GetAccessors()->getRenderNodeAccessor()->setCircleMask(self, (const Ark_Circle*)&circle_value, (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth));
34407 }
KOALA_INTEROP_DIRECT_V6(RenderNode_setCircleMask,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber)34408 KOALA_INTEROP_DIRECT_V6(RenderNode_setCircleMask, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber)
34409 void impl_RenderNode_setRoundRectMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) {
34410     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34411     Deserializer thisDeserializer(thisArray, thisLength);
34412     Ark_RoundRect roundRect_value = thisDeserializer.readRoundRect();;
34413     GetAccessors()->getRenderNodeAccessor()->setRoundRectMask(self, (const Ark_RoundRect*)&roundRect_value, (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth));
34414 }
KOALA_INTEROP_DIRECT_V6(RenderNode_setRoundRectMask,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber)34415 KOALA_INTEROP_DIRECT_V6(RenderNode_setRoundRectMask, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber)
34416 void impl_RenderNode_setOvalMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) {
34417     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34418     Deserializer thisDeserializer(thisArray, thisLength);
34419     Ark_Rect rect_value = thisDeserializer.readRect();;
34420     GetAccessors()->getRenderNodeAccessor()->setOvalMask(self, (const Ark_Rect*)&rect_value, (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth));
34421 }
KOALA_INTEROP_DIRECT_V6(RenderNode_setOvalMask,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber)34422 KOALA_INTEROP_DIRECT_V6(RenderNode_setOvalMask, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber)
34423 void impl_RenderNode_setPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) {
34424     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34425     Deserializer thisDeserializer(thisArray, thisLength);
34426     Ark_CommandPath path_value = thisDeserializer.readCommandPath();;
34427     GetAccessors()->getRenderNodeAccessor()->setPath(self, (const Ark_CommandPath*)&path_value, (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth));
34428 }
KOALA_INTEROP_DIRECT_V6(RenderNode_setPath,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber)34429 KOALA_INTEROP_DIRECT_V6(RenderNode_setPath, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber)
34430 void impl_RenderNode_setRectClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34431     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34432     Deserializer thisDeserializer(thisArray, thisLength);
34433     Ark_Rect rect_value = thisDeserializer.readRect();;
34434     GetAccessors()->getRenderNodeAccessor()->setRectClip(self, (const Ark_Rect*)&rect_value);
34435 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setRectClip,Ark_NativePointer,KSerializerBuffer,int32_t)34436 KOALA_INTEROP_DIRECT_V3(RenderNode_setRectClip, Ark_NativePointer, KSerializerBuffer, int32_t)
34437 void impl_RenderNode_setCircleClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34438     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34439     Deserializer thisDeserializer(thisArray, thisLength);
34440     Ark_Circle circle_value = thisDeserializer.readCircle();;
34441     GetAccessors()->getRenderNodeAccessor()->setCircleClip(self, (const Ark_Circle*)&circle_value);
34442 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setCircleClip,Ark_NativePointer,KSerializerBuffer,int32_t)34443 KOALA_INTEROP_DIRECT_V3(RenderNode_setCircleClip, Ark_NativePointer, KSerializerBuffer, int32_t)
34444 void impl_RenderNode_setRoundRectClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34445     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34446     Deserializer thisDeserializer(thisArray, thisLength);
34447     Ark_RoundRect roundRect_value = thisDeserializer.readRoundRect();;
34448     GetAccessors()->getRenderNodeAccessor()->setRoundRectClip(self, (const Ark_RoundRect*)&roundRect_value);
34449 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setRoundRectClip,Ark_NativePointer,KSerializerBuffer,int32_t)34450 KOALA_INTEROP_DIRECT_V3(RenderNode_setRoundRectClip, Ark_NativePointer, KSerializerBuffer, int32_t)
34451 void impl_RenderNode_setOvalClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34452     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34453     Deserializer thisDeserializer(thisArray, thisLength);
34454     Ark_Rect rect_value = thisDeserializer.readRect();;
34455     GetAccessors()->getRenderNodeAccessor()->setOvalClip(self, (const Ark_Rect*)&rect_value);
34456 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setOvalClip,Ark_NativePointer,KSerializerBuffer,int32_t)34457 KOALA_INTEROP_DIRECT_V3(RenderNode_setOvalClip, Ark_NativePointer, KSerializerBuffer, int32_t)
34458 void impl_RenderNode_setPathClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34459     Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34460     Deserializer thisDeserializer(thisArray, thisLength);
34461     Ark_CommandPath path_value = thisDeserializer.readCommandPath();;
34462     GetAccessors()->getRenderNodeAccessor()->setPathClip(self, (const Ark_CommandPath*)&path_value);
34463 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setPathClip,Ark_NativePointer,KSerializerBuffer,int32_t)34464 KOALA_INTEROP_DIRECT_V3(RenderNode_setPathClip, Ark_NativePointer, KSerializerBuffer, int32_t)
34465 Ark_Number impl_RenderNode_getBackgroundColor(Ark_NativePointer thisPtr) {
34466         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34467         return GetAccessors()->getRenderNodeAccessor()->getBackgroundColor(self);
34468 }
KOALA_INTEROP_DIRECT_1(RenderNode_getBackgroundColor,KInteropNumber,Ark_NativePointer)34469 KOALA_INTEROP_DIRECT_1(RenderNode_getBackgroundColor, KInteropNumber, Ark_NativePointer)
34470 void impl_RenderNode_setBackgroundColor(Ark_NativePointer thisPtr, KInteropNumber backgroundColor) {
34471         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34472         GetAccessors()->getRenderNodeAccessor()->setBackgroundColor(self, (const Ark_Number*) (&backgroundColor));
34473 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setBackgroundColor,Ark_NativePointer,KInteropNumber)34474 KOALA_INTEROP_DIRECT_V2(RenderNode_setBackgroundColor, Ark_NativePointer, KInteropNumber)
34475 Ark_Boolean impl_RenderNode_getClipToFrame(Ark_NativePointer thisPtr) {
34476         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34477         return GetAccessors()->getRenderNodeAccessor()->getClipToFrame(self);
34478 }
KOALA_INTEROP_DIRECT_1(RenderNode_getClipToFrame,Ark_Boolean,Ark_NativePointer)34479 KOALA_INTEROP_DIRECT_1(RenderNode_getClipToFrame, Ark_Boolean, Ark_NativePointer)
34480 void impl_RenderNode_setClipToFrame(Ark_NativePointer thisPtr, Ark_Boolean clipToFrame) {
34481         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34482         GetAccessors()->getRenderNodeAccessor()->setClipToFrame(self, clipToFrame);
34483 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setClipToFrame,Ark_NativePointer,Ark_Boolean)34484 KOALA_INTEROP_DIRECT_V2(RenderNode_setClipToFrame, Ark_NativePointer, Ark_Boolean)
34485 Ark_Number impl_RenderNode_getOpacity(Ark_NativePointer thisPtr) {
34486         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34487         return GetAccessors()->getRenderNodeAccessor()->getOpacity(self);
34488 }
KOALA_INTEROP_DIRECT_1(RenderNode_getOpacity,KInteropNumber,Ark_NativePointer)34489 KOALA_INTEROP_DIRECT_1(RenderNode_getOpacity, KInteropNumber, Ark_NativePointer)
34490 void impl_RenderNode_setOpacity(Ark_NativePointer thisPtr, KInteropNumber opacity) {
34491         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34492         GetAccessors()->getRenderNodeAccessor()->setOpacity(self, (const Ark_Number*) (&opacity));
34493 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setOpacity,Ark_NativePointer,KInteropNumber)34494 KOALA_INTEROP_DIRECT_V2(RenderNode_setOpacity, Ark_NativePointer, KInteropNumber)
34495 KInteropReturnBuffer impl_RenderNode_getSize(Ark_NativePointer thisPtr) {
34496         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34497         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getSize(self);
34498         Serializer _retSerializer {};
34499         _retSerializer.writeSize(retValue);
34500         return _retSerializer.toReturnBuffer();
34501 }
KOALA_INTEROP_1(RenderNode_getSize,KInteropReturnBuffer,Ark_NativePointer)34502 KOALA_INTEROP_1(RenderNode_getSize, KInteropReturnBuffer, Ark_NativePointer)
34503 void impl_RenderNode_setSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34504         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34505         Deserializer thisDeserializer(thisArray, thisLength);
34506         Ark_Size size_value = thisDeserializer.readSize();
34507         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34508         GetAccessors()->getRenderNodeAccessor()->setSize(self, (const Ark_Size*)&size_value, (const Ark_Int32)lengthMetrics_unit_value);
34509 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setSize,Ark_NativePointer,KSerializerBuffer,int32_t)34510 KOALA_INTEROP_DIRECT_V3(RenderNode_setSize, Ark_NativePointer, KSerializerBuffer, int32_t)
34511 KInteropReturnBuffer impl_RenderNode_getPosition(Ark_NativePointer thisPtr) {
34512         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34513         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getPosition(self);
34514         Serializer _retSerializer {};
34515         _retSerializer.writePosition(retValue);
34516         return _retSerializer.toReturnBuffer();
34517 }
KOALA_INTEROP_1(RenderNode_getPosition,KInteropReturnBuffer,Ark_NativePointer)34518 KOALA_INTEROP_1(RenderNode_getPosition, KInteropReturnBuffer, Ark_NativePointer)
34519 void impl_RenderNode_setPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34520         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34521         Deserializer thisDeserializer(thisArray, thisLength);
34522         Ark_Position position_value = thisDeserializer.readPosition();
34523         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34524         GetAccessors()->getRenderNodeAccessor()->setPosition(self, (const Ark_Position*)&position_value, (const Ark_Int32)lengthMetrics_unit_value);
34525 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setPosition,Ark_NativePointer,KSerializerBuffer,int32_t)34526 KOALA_INTEROP_DIRECT_V3(RenderNode_setPosition, Ark_NativePointer, KSerializerBuffer, int32_t)
34527 KInteropReturnBuffer impl_RenderNode_getFrame(Ark_NativePointer thisPtr) {
34528         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34529         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getFrame(self);
34530         Serializer _retSerializer {};
34531         _retSerializer.writeFrame(retValue);
34532         return _retSerializer.toReturnBuffer();
34533 }
KOALA_INTEROP_1(RenderNode_getFrame,KInteropReturnBuffer,Ark_NativePointer)34534 KOALA_INTEROP_1(RenderNode_getFrame, KInteropReturnBuffer, Ark_NativePointer)
34535 void impl_RenderNode_setFrame(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34536         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34537         Deserializer thisDeserializer(thisArray, thisLength);
34538         Ark_Frame frame_value = thisDeserializer.readFrame();;
34539         GetAccessors()->getRenderNodeAccessor()->setFrame(self, (const Ark_Frame*)&frame_value);
34540 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setFrame,Ark_NativePointer,KSerializerBuffer,int32_t)34541 KOALA_INTEROP_DIRECT_V3(RenderNode_setFrame, Ark_NativePointer, KSerializerBuffer, int32_t)
34542 KInteropReturnBuffer impl_RenderNode_getPivot(Ark_NativePointer thisPtr) {
34543         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34544         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getPivot(self);
34545         Serializer _retSerializer {};
34546         _retSerializer.writeVector2(retValue);
34547         return _retSerializer.toReturnBuffer();
34548 }
KOALA_INTEROP_1(RenderNode_getPivot,KInteropReturnBuffer,Ark_NativePointer)34549 KOALA_INTEROP_1(RenderNode_getPivot, KInteropReturnBuffer, Ark_NativePointer)
34550 void impl_RenderNode_setPivot(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34551         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34552         Deserializer thisDeserializer(thisArray, thisLength);
34553         Ark_Vector2 pivot_value = thisDeserializer.readVector2();;
34554         GetAccessors()->getRenderNodeAccessor()->setPivot(self, (const Ark_Vector2*)&pivot_value);
34555 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setPivot,Ark_NativePointer,KSerializerBuffer,int32_t)34556 KOALA_INTEROP_DIRECT_V3(RenderNode_setPivot, Ark_NativePointer, KSerializerBuffer, int32_t)
34557 KInteropReturnBuffer impl_RenderNode_getScale(Ark_NativePointer thisPtr) {
34558         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34559         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getScale(self);
34560         Serializer _retSerializer {};
34561         _retSerializer.writeVector2(retValue);
34562         return _retSerializer.toReturnBuffer();
34563 }
KOALA_INTEROP_1(RenderNode_getScale,KInteropReturnBuffer,Ark_NativePointer)34564 KOALA_INTEROP_1(RenderNode_getScale, KInteropReturnBuffer, Ark_NativePointer)
34565 void impl_RenderNode_setScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34566         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34567         Deserializer thisDeserializer(thisArray, thisLength);
34568         Ark_Vector2 scale_value = thisDeserializer.readVector2();;
34569         GetAccessors()->getRenderNodeAccessor()->setScale(self, (const Ark_Vector2*)&scale_value);
34570 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setScale,Ark_NativePointer,KSerializerBuffer,int32_t)34571 KOALA_INTEROP_DIRECT_V3(RenderNode_setScale, Ark_NativePointer, KSerializerBuffer, int32_t)
34572 KInteropReturnBuffer impl_RenderNode_getTranslation(Ark_NativePointer thisPtr) {
34573         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34574         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getTranslation(self);
34575         Serializer _retSerializer {};
34576         _retSerializer.writeVector2(retValue);
34577         return _retSerializer.toReturnBuffer();
34578 }
KOALA_INTEROP_1(RenderNode_getTranslation,KInteropReturnBuffer,Ark_NativePointer)34579 KOALA_INTEROP_1(RenderNode_getTranslation, KInteropReturnBuffer, Ark_NativePointer)
34580 void impl_RenderNode_setTranslation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34581         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34582         Deserializer thisDeserializer(thisArray, thisLength);
34583         Ark_Vector2 translation_value = thisDeserializer.readVector2();;
34584         GetAccessors()->getRenderNodeAccessor()->setTranslation(self, (const Ark_Vector2*)&translation_value);
34585 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setTranslation,Ark_NativePointer,KSerializerBuffer,int32_t)34586 KOALA_INTEROP_DIRECT_V3(RenderNode_setTranslation, Ark_NativePointer, KSerializerBuffer, int32_t)
34587 KInteropReturnBuffer impl_RenderNode_getRotation(Ark_NativePointer thisPtr) {
34588         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34589         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getRotation(self);
34590         Serializer _retSerializer {};
34591         _retSerializer.writeVector3(retValue);
34592         return _retSerializer.toReturnBuffer();
34593 }
KOALA_INTEROP_1(RenderNode_getRotation,KInteropReturnBuffer,Ark_NativePointer)34594 KOALA_INTEROP_1(RenderNode_getRotation, KInteropReturnBuffer, Ark_NativePointer)
34595 void impl_RenderNode_setRotation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34596         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34597         Deserializer thisDeserializer(thisArray, thisLength);
34598         Ark_Vector3 rotation_value = thisDeserializer.readVector3();
34599         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34600         GetAccessors()->getRenderNodeAccessor()->setRotation(self, (const Ark_Vector3*)&rotation_value, (const Ark_Int32)lengthMetrics_unit_value);
34601 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setRotation,Ark_NativePointer,KSerializerBuffer,int32_t)34602 KOALA_INTEROP_DIRECT_V3(RenderNode_setRotation, Ark_NativePointer, KSerializerBuffer, int32_t)
34603 KInteropReturnBuffer impl_RenderNode_getTransform(Ark_NativePointer thisPtr) {
34604         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34605         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getTransform(self);
34606         Serializer _retSerializer {};
34607         const auto retValue_0 = retValue.value0;
34608         _retSerializer.writeNumber(retValue_0);
34609         const auto retValue_1 = retValue.value1;
34610         _retSerializer.writeNumber(retValue_1);
34611         const auto retValue_2 = retValue.value2;
34612         _retSerializer.writeNumber(retValue_2);
34613         const auto retValue_3 = retValue.value3;
34614         _retSerializer.writeNumber(retValue_3);
34615         const auto retValue_4 = retValue.value4;
34616         _retSerializer.writeNumber(retValue_4);
34617         const auto retValue_5 = retValue.value5;
34618         _retSerializer.writeNumber(retValue_5);
34619         const auto retValue_6 = retValue.value6;
34620         _retSerializer.writeNumber(retValue_6);
34621         const auto retValue_7 = retValue.value7;
34622         _retSerializer.writeNumber(retValue_7);
34623         const auto retValue_8 = retValue.value8;
34624         _retSerializer.writeNumber(retValue_8);
34625         const auto retValue_9 = retValue.value9;
34626         _retSerializer.writeNumber(retValue_9);
34627         const auto retValue_10 = retValue.value10;
34628         _retSerializer.writeNumber(retValue_10);
34629         const auto retValue_11 = retValue.value11;
34630         _retSerializer.writeNumber(retValue_11);
34631         const auto retValue_12 = retValue.value12;
34632         _retSerializer.writeNumber(retValue_12);
34633         const auto retValue_13 = retValue.value13;
34634         _retSerializer.writeNumber(retValue_13);
34635         const auto retValue_14 = retValue.value14;
34636         _retSerializer.writeNumber(retValue_14);
34637         const auto retValue_15 = retValue.value15;
34638         _retSerializer.writeNumber(retValue_15);
34639         return _retSerializer.toReturnBuffer();
34640 }
KOALA_INTEROP_1(RenderNode_getTransform,KInteropReturnBuffer,Ark_NativePointer)34641 KOALA_INTEROP_1(RenderNode_getTransform, KInteropReturnBuffer, Ark_NativePointer)
34642 void impl_RenderNode_setTransform(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34643         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34644         Deserializer thisDeserializer(thisArray, thisLength);
34645         Ark_Matrix4 transform_value_buf = {};
34646         transform_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34647         transform_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34648         transform_value_buf.value2 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34649         transform_value_buf.value3 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34650         transform_value_buf.value4 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34651         transform_value_buf.value5 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34652         transform_value_buf.value6 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34653         transform_value_buf.value7 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34654         transform_value_buf.value8 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34655         transform_value_buf.value9 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34656         transform_value_buf.value10 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34657         transform_value_buf.value11 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34658         transform_value_buf.value12 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34659         transform_value_buf.value13 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34660         transform_value_buf.value14 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34661         transform_value_buf.value15 = static_cast<Ark_Number>(thisDeserializer.readNumber());
34662         Ark_Matrix4 transform_value = transform_value_buf;;
34663         GetAccessors()->getRenderNodeAccessor()->setTransform(self, (const Ark_Matrix4*)&transform_value);
34664 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setTransform,Ark_NativePointer,KSerializerBuffer,int32_t)34665 KOALA_INTEROP_DIRECT_V3(RenderNode_setTransform, Ark_NativePointer, KSerializerBuffer, int32_t)
34666 Ark_Number impl_RenderNode_getShadowColor(Ark_NativePointer thisPtr) {
34667         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34668         return GetAccessors()->getRenderNodeAccessor()->getShadowColor(self);
34669 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShadowColor,KInteropNumber,Ark_NativePointer)34670 KOALA_INTEROP_DIRECT_1(RenderNode_getShadowColor, KInteropNumber, Ark_NativePointer)
34671 void impl_RenderNode_setShadowColor(Ark_NativePointer thisPtr, KInteropNumber shadowColor) {
34672         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34673         GetAccessors()->getRenderNodeAccessor()->setShadowColor(self, (const Ark_Number*) (&shadowColor));
34674 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowColor,Ark_NativePointer,KInteropNumber)34675 KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowColor, Ark_NativePointer, KInteropNumber)
34676 KInteropReturnBuffer impl_RenderNode_getShadowOffset(Ark_NativePointer thisPtr) {
34677         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34678         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getShadowOffset(self);
34679         Serializer _retSerializer {};
34680         _retSerializer.writeVector2(retValue);
34681         return _retSerializer.toReturnBuffer();
34682 }
KOALA_INTEROP_1(RenderNode_getShadowOffset,KInteropReturnBuffer,Ark_NativePointer)34683 KOALA_INTEROP_1(RenderNode_getShadowOffset, KInteropReturnBuffer, Ark_NativePointer)
34684 void impl_RenderNode_setShadowOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34685         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34686         Deserializer thisDeserializer(thisArray, thisLength);
34687         Ark_Vector2 shadowOffset_value = thisDeserializer.readVector2();
34688         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34689         GetAccessors()->getRenderNodeAccessor()->setShadowOffset(self, (const Ark_Vector2*)&shadowOffset_value, (const Ark_Int32)lengthMetrics_unit_value);
34690 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setShadowOffset,Ark_NativePointer,KSerializerBuffer,int32_t)34691 KOALA_INTEROP_DIRECT_V3(RenderNode_setShadowOffset, Ark_NativePointer, KSerializerBuffer, int32_t)
34692 Ark_String impl_RenderNode_getLabel(Ark_NativePointer thisPtr) {
34693         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34694         return GetAccessors()->getRenderNodeAccessor()->getLabel(self);
34695 }
KOALA_INTEROP_1(RenderNode_getLabel,KStringPtr,Ark_NativePointer)34696 KOALA_INTEROP_1(RenderNode_getLabel, KStringPtr, Ark_NativePointer)
34697 void impl_RenderNode_setLabel(Ark_NativePointer thisPtr, const KStringPtr& label) {
34698         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34699         GetAccessors()->getRenderNodeAccessor()->setLabel(self, (const Ark_String*) (&label));
34700 }
KOALA_INTEROP_V2(RenderNode_setLabel,Ark_NativePointer,KStringPtr)34701 KOALA_INTEROP_V2(RenderNode_setLabel, Ark_NativePointer, KStringPtr)
34702 Ark_Number impl_RenderNode_getShadowAlpha(Ark_NativePointer thisPtr) {
34703         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34704         return GetAccessors()->getRenderNodeAccessor()->getShadowAlpha(self);
34705 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShadowAlpha,KInteropNumber,Ark_NativePointer)34706 KOALA_INTEROP_DIRECT_1(RenderNode_getShadowAlpha, KInteropNumber, Ark_NativePointer)
34707 void impl_RenderNode_setShadowAlpha(Ark_NativePointer thisPtr, KInteropNumber shadowAlpha) {
34708         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34709         GetAccessors()->getRenderNodeAccessor()->setShadowAlpha(self, (const Ark_Number*) (&shadowAlpha));
34710 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowAlpha,Ark_NativePointer,KInteropNumber)34711 KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowAlpha, Ark_NativePointer, KInteropNumber)
34712 Ark_Number impl_RenderNode_getShadowElevation(Ark_NativePointer thisPtr) {
34713         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34714         return GetAccessors()->getRenderNodeAccessor()->getShadowElevation(self);
34715 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShadowElevation,KInteropNumber,Ark_NativePointer)34716 KOALA_INTEROP_DIRECT_1(RenderNode_getShadowElevation, KInteropNumber, Ark_NativePointer)
34717 void impl_RenderNode_setShadowElevation(Ark_NativePointer thisPtr, KInteropNumber shadowElevation) {
34718         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34719         GetAccessors()->getRenderNodeAccessor()->setShadowElevation(self, (const Ark_Number*) (&shadowElevation));
34720 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowElevation,Ark_NativePointer,KInteropNumber)34721 KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowElevation, Ark_NativePointer, KInteropNumber)
34722 Ark_Number impl_RenderNode_getShadowRadius(Ark_NativePointer thisPtr) {
34723         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34724         return GetAccessors()->getRenderNodeAccessor()->getShadowRadius(self);
34725 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShadowRadius,KInteropNumber,Ark_NativePointer)34726 KOALA_INTEROP_DIRECT_1(RenderNode_getShadowRadius, KInteropNumber, Ark_NativePointer)
34727 void impl_RenderNode_setShadowRadius(Ark_NativePointer thisPtr, KInteropNumber shadowRadius) {
34728         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34729         GetAccessors()->getRenderNodeAccessor()->setShadowRadius(self, (const Ark_Number*) (&shadowRadius));
34730 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowRadius,Ark_NativePointer,KInteropNumber)34731 KOALA_INTEROP_DIRECT_V2(RenderNode_setShadowRadius, Ark_NativePointer, KInteropNumber)
34732 KInteropReturnBuffer impl_RenderNode_getBorderStyle(Ark_NativePointer thisPtr) {
34733         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34734         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getBorderStyle(self);
34735         Serializer _retSerializer {};
34736         _retSerializer.writeEdgeStyles(retValue);
34737         return _retSerializer.toReturnBuffer();
34738 }
KOALA_INTEROP_1(RenderNode_getBorderStyle,KInteropReturnBuffer,Ark_NativePointer)34739 KOALA_INTEROP_1(RenderNode_getBorderStyle, KInteropReturnBuffer, Ark_NativePointer)
34740 void impl_RenderNode_setBorderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34741         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34742         Deserializer thisDeserializer(thisArray, thisLength);
34743         Ark_EdgeStyles borderStyle_value = thisDeserializer.readEdgeStyles();;
34744         GetAccessors()->getRenderNodeAccessor()->setBorderStyle(self, (const Ark_EdgeStyles*)&borderStyle_value);
34745 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderStyle,Ark_NativePointer,KSerializerBuffer,int32_t)34746 KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
34747 KInteropReturnBuffer impl_RenderNode_getBorderWidth(Ark_NativePointer thisPtr) {
34748         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34749         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getBorderWidth(self);
34750         Serializer _retSerializer {};
34751         _retSerializer.writeEdgesNumber(retValue);
34752         return _retSerializer.toReturnBuffer();
34753 }
KOALA_INTEROP_1(RenderNode_getBorderWidth,KInteropReturnBuffer,Ark_NativePointer)34754 KOALA_INTEROP_1(RenderNode_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer)
34755 void impl_RenderNode_setBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34756         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34757         Deserializer thisDeserializer(thisArray, thisLength);
34758         Ark_EdgesNumber borderWidth_value = thisDeserializer.readEdgesNumber();
34759         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34760         GetAccessors()->getRenderNodeAccessor()->setBorderWidth(self, (const Ark_EdgesNumber*)&borderWidth_value, (const Ark_Int32)lengthMetrics_unit_value);
34761 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderWidth,Ark_NativePointer,KSerializerBuffer,int32_t)34762 KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderWidth, Ark_NativePointer, KSerializerBuffer, int32_t)
34763 KInteropReturnBuffer impl_RenderNode_getBorderColor(Ark_NativePointer thisPtr) {
34764         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34765         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getBorderColor(self);
34766         Serializer _retSerializer {};
34767         _retSerializer.writeEdgesNumber(retValue);
34768         return _retSerializer.toReturnBuffer();
34769 }
KOALA_INTEROP_1(RenderNode_getBorderColor,KInteropReturnBuffer,Ark_NativePointer)34770 KOALA_INTEROP_1(RenderNode_getBorderColor, KInteropReturnBuffer, Ark_NativePointer)
34771 void impl_RenderNode_setBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34772         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34773         Deserializer thisDeserializer(thisArray, thisLength);
34774         Ark_EdgesNumber borderColor_value = thisDeserializer.readEdgesNumber();;
34775         GetAccessors()->getRenderNodeAccessor()->setBorderColor(self, (const Ark_EdgesNumber*)&borderColor_value);
34776 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderColor,Ark_NativePointer,KSerializerBuffer,int32_t)34777 KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderColor, Ark_NativePointer, KSerializerBuffer, int32_t)
34778 KInteropReturnBuffer impl_RenderNode_getBorderRadius(Ark_NativePointer thisPtr) {
34779         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34780         const auto &retValue = GetAccessors()->getRenderNodeAccessor()->getBorderRadius(self);
34781         Serializer _retSerializer {};
34782         _retSerializer.writeBorderRadiuses_graphics(retValue);
34783         return _retSerializer.toReturnBuffer();
34784 }
KOALA_INTEROP_1(RenderNode_getBorderRadius,KInteropReturnBuffer,Ark_NativePointer)34785 KOALA_INTEROP_1(RenderNode_getBorderRadius, KInteropReturnBuffer, Ark_NativePointer)
34786 void impl_RenderNode_setBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34787         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34788         Deserializer thisDeserializer(thisArray, thisLength);
34789         Ark_BorderRadiuses_graphics borderRadius_value = thisDeserializer.readBorderRadiuses_graphics();
34790         Ark_Int32 lengthMetrics_unit_value = thisDeserializer.readInt32();
34791         GetAccessors()->getRenderNodeAccessor()->setBorderRadius(self, (const Ark_BorderRadiuses_graphics*)&borderRadius_value, (const Ark_Int32)lengthMetrics_unit_value);
34792 }
KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderRadius,Ark_NativePointer,KSerializerBuffer,int32_t)34793 KOALA_INTEROP_DIRECT_V3(RenderNode_setBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t)
34794 Ark_NativePointer impl_RenderNode_getShapeMask(Ark_NativePointer thisPtr) {
34795         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34796         return GetAccessors()->getRenderNodeAccessor()->getShapeMask(self);
34797 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShapeMask,Ark_NativePointer,Ark_NativePointer)34798 KOALA_INTEROP_DIRECT_1(RenderNode_getShapeMask, Ark_NativePointer, Ark_NativePointer)
34799 void impl_RenderNode_setShapeMask(Ark_NativePointer thisPtr, Ark_NativePointer shapeMask) {
34800         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34801         GetAccessors()->getRenderNodeAccessor()->setShapeMask(self, static_cast<Ark_ShapeMask>(shapeMask));
34802 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShapeMask,Ark_NativePointer,Ark_NativePointer)34803 KOALA_INTEROP_DIRECT_V2(RenderNode_setShapeMask, Ark_NativePointer, Ark_NativePointer)
34804 Ark_NativePointer impl_RenderNode_getShapeClip(Ark_NativePointer thisPtr) {
34805         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34806         return GetAccessors()->getRenderNodeAccessor()->getShapeClip(self);
34807 }
KOALA_INTEROP_DIRECT_1(RenderNode_getShapeClip,Ark_NativePointer,Ark_NativePointer)34808 KOALA_INTEROP_DIRECT_1(RenderNode_getShapeClip, Ark_NativePointer, Ark_NativePointer)
34809 void impl_RenderNode_setShapeClip(Ark_NativePointer thisPtr, Ark_NativePointer shapeClip) {
34810         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34811         GetAccessors()->getRenderNodeAccessor()->setShapeClip(self, static_cast<Ark_ShapeClip>(shapeClip));
34812 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setShapeClip,Ark_NativePointer,Ark_NativePointer)34813 KOALA_INTEROP_DIRECT_V2(RenderNode_setShapeClip, Ark_NativePointer, Ark_NativePointer)
34814 Ark_Boolean impl_RenderNode_getMarkNodeGroup(Ark_NativePointer thisPtr) {
34815         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34816         return GetAccessors()->getRenderNodeAccessor()->getMarkNodeGroup(self);
34817 }
KOALA_INTEROP_DIRECT_1(RenderNode_getMarkNodeGroup,Ark_Boolean,Ark_NativePointer)34818 KOALA_INTEROP_DIRECT_1(RenderNode_getMarkNodeGroup, Ark_Boolean, Ark_NativePointer)
34819 void impl_RenderNode_setMarkNodeGroup(Ark_NativePointer thisPtr, Ark_Boolean markNodeGroup) {
34820         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34821         GetAccessors()->getRenderNodeAccessor()->setMarkNodeGroup(self, markNodeGroup);
34822 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setMarkNodeGroup,Ark_NativePointer,Ark_Boolean)34823 KOALA_INTEROP_DIRECT_V2(RenderNode_setMarkNodeGroup, Ark_NativePointer, Ark_Boolean)
34824 Ark_Int32 impl_RenderNode_getLengthMetricsUnit(Ark_NativePointer thisPtr) {
34825         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34826         return GetAccessors()->getRenderNodeAccessor()->getLengthMetricsUnit(self);
34827 }
KOALA_INTEROP_DIRECT_1(RenderNode_getLengthMetricsUnit,Ark_Int32,Ark_NativePointer)34828 KOALA_INTEROP_DIRECT_1(RenderNode_getLengthMetricsUnit, Ark_Int32, Ark_NativePointer)
34829 void impl_RenderNode_setLengthMetricsUnit(Ark_NativePointer thisPtr, Ark_Int32 lengthMetricsUnit) {
34830         Ark_RenderNode self = reinterpret_cast<Ark_RenderNode>(thisPtr);
34831         GetAccessors()->getRenderNodeAccessor()->setLengthMetricsUnit(self, static_cast<Ark_LengthMetricsUnit>(lengthMetricsUnit));
34832 }
KOALA_INTEROP_DIRECT_V2(RenderNode_setLengthMetricsUnit,Ark_NativePointer,Ark_Int32)34833 KOALA_INTEROP_DIRECT_V2(RenderNode_setLengthMetricsUnit, Ark_NativePointer, Ark_Int32)
34834 Ark_NativePointer impl_TabsOps_registerBarMode(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
34835         Deserializer thisDeserializer(thisArray, thisLength);
34836         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
34837         Opt_BarMode value_value_buf = {};
34838         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
34839         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
34840         {
34841             value_value_buf.value = static_cast<Ark_BarMode>(thisDeserializer.readInt32());
34842         }
34843         Opt_BarMode value_value = value_value_buf;;
34844         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
34845         Opt_ScrollableBarModeOptions options_value_buf = {};
34846         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
34847         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
34848         {
34849             options_value_buf.value = thisDeserializer.readScrollableBarModeOptions();
34850         }
34851         Opt_ScrollableBarModeOptions options_value = options_value_buf;;
34852         return GetAccessors()->getTabsOpsAccessor()->registerBarMode(node, (const Opt_BarMode*)&value_value, (const Opt_ScrollableBarModeOptions*)&options_value);
34853 }
KOALA_INTEROP_DIRECT_3(TabsOps_registerBarMode,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34854 KOALA_INTEROP_DIRECT_3(TabsOps_registerBarMode, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34855 Ark_NativePointer impl_TabsOps_registerBarBackgroundBlurStyle(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
34856         Deserializer thisDeserializer(thisArray, thisLength);
34857         const auto style_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
34858         Opt_BlurStyle style_value_buf = {};
34859         style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
34860         if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType))
34861         {
34862             style_value_buf.value = static_cast<Ark_BlurStyle>(thisDeserializer.readInt32());
34863         }
34864         Opt_BlurStyle style_value = style_value_buf;;
34865         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
34866         Opt_BackgroundBlurStyleOptions options_value_buf = {};
34867         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
34868         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
34869         {
34870             options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions();
34871         }
34872         Opt_BackgroundBlurStyleOptions options_value = options_value_buf;;
34873         return GetAccessors()->getTabsOpsAccessor()->registerBarBackgroundBlurStyle(node, (const Opt_BlurStyle*)&style_value, (const Opt_BackgroundBlurStyleOptions*)&options_value);
34874 }
KOALA_INTEROP_DIRECT_3(TabsOps_registerBarBackgroundBlurStyle,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34875 KOALA_INTEROP_DIRECT_3(TabsOps_registerBarBackgroundBlurStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34876 void impl_UIContextImp_freezeUINode0(const KStringPtr& id, Ark_Boolean isFrozen) {
34877         GetAccessors()->getUIContextImpAccessor()->freezeUINode0((const Ark_String*) (&id), isFrozen);
34878 }
KOALA_INTEROP_V2(UIContextImp_freezeUINode0,KStringPtr,Ark_Boolean)34879 KOALA_INTEROP_V2(UIContextImp_freezeUINode0, KStringPtr, Ark_Boolean)
34880 void impl_UIContextImp_freezeUINode1(KInteropNumber id, Ark_Boolean isFrozen) {
34881         GetAccessors()->getUIContextImpAccessor()->freezeUINode1((const Ark_Number*) (&id), isFrozen);
34882 }
KOALA_INTEROP_DIRECT_V2(UIContextImp_freezeUINode1,KInteropNumber,Ark_Boolean)34883 KOALA_INTEROP_DIRECT_V2(UIContextImp_freezeUINode1, KInteropNumber, Ark_Boolean)
34884 Ark_NativePointer impl_GridItemOps_registerSelectedCallback(Ark_NativePointer node, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) {
34885     Deserializer thisDeserializer(thisArray, thisLength);
34886     SelectedCallback callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SelectedCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean selected)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SelectedCallback))))};;
34887     return GetAccessors()->getGridItemOpsAccessor()->registerSelectedCallback(node, value, (const SelectedCallback*)&callback_value);
34888 }
KOALA_INTEROP_DIRECT_4(GridItemOps_registerSelectedCallback,Ark_NativePointer,Ark_NativePointer,Ark_Boolean,KSerializerBuffer,int32_t)34889 KOALA_INTEROP_DIRECT_4(GridItemOps_registerSelectedCallback, Ark_NativePointer, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t)
34890 Ark_NativePointer impl_Filter_ctor() {
34891         return GetAccessors()->getFilterAccessor()->ctor();
34892 }
KOALA_INTEROP_DIRECT_0(Filter_ctor,Ark_NativePointer)34893 KOALA_INTEROP_DIRECT_0(Filter_ctor, Ark_NativePointer)
34894 Ark_NativePointer impl_Filter_getFinalizer() {
34895         return GetAccessors()->getFilterAccessor()->getFinalizer();
34896 }
KOALA_INTEROP_DIRECT_0(Filter_getFinalizer,Ark_NativePointer)34897 KOALA_INTEROP_DIRECT_0(Filter_getFinalizer, Ark_NativePointer)
34898 Ark_NativePointer impl_Filter_pixelStretch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 tileMode) {
34899         Ark_Filter self = reinterpret_cast<Ark_Filter>(thisPtr);
34900         Deserializer thisDeserializer(thisArray, thisLength);
34901         const Ark_Int32 stretchSizes_value_buf_length = thisDeserializer.readInt32();
34902         Array_Number stretchSizes_value_buf = {};
34903         thisDeserializer.resizeArray<std::decay<decltype(stretchSizes_value_buf)>::type,
34904         std::decay<decltype(*stretchSizes_value_buf.array)>::type>(&stretchSizes_value_buf, stretchSizes_value_buf_length);
34905         for (int stretchSizes_value_buf_i = 0; stretchSizes_value_buf_i < stretchSizes_value_buf_length; stretchSizes_value_buf_i++) {
34906             stretchSizes_value_buf.array[stretchSizes_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
34907         }
34908         Array_Number stretchSizes_value = stretchSizes_value_buf;;
34909         return GetAccessors()->getFilterAccessor()->pixelStretch(self, (const Array_Number*)&stretchSizes_value, static_cast<Ark_TileMode>(tileMode));
34910 }
KOALA_INTEROP_DIRECT_4(Filter_pixelStretch,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t,Ark_Int32)34911 KOALA_INTEROP_DIRECT_4(Filter_pixelStretch, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32)
34912 Ark_NativePointer impl_Filter_blur(Ark_NativePointer thisPtr, KInteropNumber blurRadius) {
34913         Ark_Filter self = reinterpret_cast<Ark_Filter>(thisPtr);
34914         return GetAccessors()->getFilterAccessor()->blur(self, (const Ark_Number*) (&blurRadius));
34915 }
KOALA_INTEROP_DIRECT_2(Filter_blur,Ark_NativePointer,Ark_NativePointer,KInteropNumber)34916 KOALA_INTEROP_DIRECT_2(Filter_blur, Ark_NativePointer, Ark_NativePointer, KInteropNumber)
34917 Ark_NativePointer impl_Filter_waterRipple(Ark_NativePointer thisPtr, KInteropNumber progress, KInteropNumber waveCount, KInteropNumber x, KInteropNumber y, Ark_Int32 rippleMode) {
34918         Ark_Filter self = reinterpret_cast<Ark_Filter>(thisPtr);
34919         return GetAccessors()->getFilterAccessor()->waterRipple(self, (const Ark_Number*) (&progress), (const Ark_Number*) (&waveCount), (const Ark_Number*) (&x), (const Ark_Number*) (&y), static_cast<Ark_WaterRippleMode>(rippleMode));
34920 }
KOALA_INTEROP_DIRECT_6(Filter_waterRipple,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,Ark_Int32)34921 KOALA_INTEROP_DIRECT_6(Filter_waterRipple, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, Ark_Int32)
34922 Ark_NativePointer impl_Filter_flyInFlyOutEffect(Ark_NativePointer thisPtr, KInteropNumber degree, Ark_Int32 flyMode) {
34923         Ark_Filter self = reinterpret_cast<Ark_Filter>(thisPtr);
34924         return GetAccessors()->getFilterAccessor()->flyInFlyOutEffect(self, (const Ark_Number*) (&degree), static_cast<Ark_FlyMode>(flyMode));
34925 }
KOALA_INTEROP_DIRECT_3(Filter_flyInFlyOutEffect,Ark_NativePointer,Ark_NativePointer,KInteropNumber,Ark_Int32)34926 KOALA_INTEROP_DIRECT_3(Filter_flyInFlyOutEffect, Ark_NativePointer, Ark_NativePointer, KInteropNumber, Ark_Int32)
34927 Ark_NativePointer impl_Filter_distort(Ark_NativePointer thisPtr, KInteropNumber distortionK) {
34928         Ark_Filter self = reinterpret_cast<Ark_Filter>(thisPtr);
34929         return GetAccessors()->getFilterAccessor()->distort(self, (const Ark_Number*) (&distortionK));
34930 }
KOALA_INTEROP_DIRECT_2(Filter_distort,Ark_NativePointer,Ark_NativePointer,KInteropNumber)34931 KOALA_INTEROP_DIRECT_2(Filter_distort, Ark_NativePointer, Ark_NativePointer, KInteropNumber)
34932 Ark_NativePointer impl_VisualEffect_ctor() {
34933         return GetAccessors()->getVisualEffectAccessor()->ctor();
34934 }
KOALA_INTEROP_DIRECT_0(VisualEffect_ctor,Ark_NativePointer)34935 KOALA_INTEROP_DIRECT_0(VisualEffect_ctor, Ark_NativePointer)
34936 Ark_NativePointer impl_VisualEffect_getFinalizer() {
34937         return GetAccessors()->getVisualEffectAccessor()->getFinalizer();
34938 }
KOALA_INTEROP_DIRECT_0(VisualEffect_getFinalizer,Ark_NativePointer)34939 KOALA_INTEROP_DIRECT_0(VisualEffect_getFinalizer, Ark_NativePointer)
34940 Ark_NativePointer impl_VisualEffect_backgroundColorBlender(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
34941         Ark_VisualEffect self = reinterpret_cast<Ark_VisualEffect>(thisPtr);
34942         Deserializer thisDeserializer(thisArray, thisLength);
34943         Ark_BrightnessBlender blender_value = thisDeserializer.readBrightnessBlender();;
34944         return GetAccessors()->getVisualEffectAccessor()->backgroundColorBlender(self, (const Ark_BrightnessBlender*)&blender_value);
34945 }
KOALA_INTEROP_DIRECT_3(VisualEffect_backgroundColorBlender,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)34946 KOALA_INTEROP_DIRECT_3(VisualEffect_backgroundColorBlender, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
34947 void impl_NavExtender_setUpdateStackCallback(Ark_NativePointer peer, KSerializerBuffer thisArray, int32_t thisLength) {
34948         Deserializer thisDeserializer(thisArray, thisLength);
34949         NavExtender_OnUpdateStack callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String name)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_NavExtender_OnUpdateStack)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String name)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_NavExtender_OnUpdateStack))))};;
34950         GetAccessors()->getNavExtenderAccessor()->setUpdateStackCallback(static_cast<Ark_NavPathStack>(peer), (const NavExtender_OnUpdateStack*)&callback_value);
34951 }
KOALA_INTEROP_DIRECT_V3(NavExtender_setUpdateStackCallback,Ark_NativePointer,KSerializerBuffer,int32_t)34952 KOALA_INTEROP_DIRECT_V3(NavExtender_setUpdateStackCallback, Ark_NativePointer, KSerializerBuffer, int32_t)
34953 void impl_NavExtender_syncStack(Ark_NativePointer peer) {
34954         GetAccessors()->getNavExtenderAccessor()->syncStack(static_cast<Ark_NavPathStack>(peer));
34955 }
KOALA_INTEROP_DIRECT_V1(NavExtender_syncStack,Ark_NativePointer)34956 KOALA_INTEROP_DIRECT_V1(NavExtender_syncStack, Ark_NativePointer)
34957 Ark_Boolean impl_NavExtender_checkNeedCreate(Ark_NativePointer navigation, Ark_Int32 index) {
34958         return GetAccessors()->getNavExtenderAccessor()->checkNeedCreate(navigation, index);
34959 }
KOALA_INTEROP_DIRECT_2(NavExtender_checkNeedCreate,Ark_Boolean,Ark_NativePointer,Ark_Int32)34960 KOALA_INTEROP_DIRECT_2(NavExtender_checkNeedCreate, Ark_Boolean, Ark_NativePointer, Ark_Int32)
34961 Ark_NativePointer impl_NavExtender_navigationCreate(Ark_Int32 peer, Ark_Int32 flag) {
34962         return GetAccessors()->getNavExtenderAccessor()->navigationCreate(peer, flag);
34963 }
KOALA_INTEROP_DIRECT_2(NavExtender_navigationCreate,Ark_NativePointer,Ark_Int32,Ark_Int32)34964 KOALA_INTEROP_DIRECT_2(NavExtender_navigationCreate, Ark_NativePointer, Ark_Int32, Ark_Int32)
34965 void impl_NavExtender_setNavigationOptions(Ark_NativePointer navigation, Ark_NativePointer stack) {
34966         GetAccessors()->getNavExtenderAccessor()->setNavigationOptions(navigation, static_cast<Ark_NavPathStack>(stack));
34967 }
KOALA_INTEROP_DIRECT_V2(NavExtender_setNavigationOptions,Ark_NativePointer,Ark_NativePointer)34968 KOALA_INTEROP_DIRECT_V2(NavExtender_setNavigationOptions, Ark_NativePointer, Ark_NativePointer)
34969 void impl_NavExtender_setNavDestinationNode(Ark_NativePointer peer, Ark_Int32 index, Ark_NativePointer node) {
34970         GetAccessors()->getNavExtenderAccessor()->setNavDestinationNode(static_cast<Ark_NavPathStack>(peer), index, node);
34971 }
KOALA_INTEROP_DIRECT_V3(NavExtender_setNavDestinationNode,Ark_NativePointer,Ark_Int32,Ark_NativePointer)34972 KOALA_INTEROP_DIRECT_V3(NavExtender_setNavDestinationNode, Ark_NativePointer, Ark_Int32, Ark_NativePointer)
34973 void impl_NavExtender_setNavigationMode(Ark_NativePointer navigation, Ark_Int32 mode) {
34974         GetAccessors()->getNavExtenderAccessor()->setNavigationMode(navigation, static_cast<Ark_NavigationMode>(mode));
34975 }
KOALA_INTEROP_DIRECT_V2(NavExtender_setNavigationMode,Ark_NativePointer,Ark_Int32)34976 KOALA_INTEROP_DIRECT_V2(NavExtender_setNavigationMode, Ark_NativePointer, Ark_Int32)
34977 void impl_NavExtender_hideTitleBar(Ark_NativePointer navigation, Ark_Boolean isHide, Ark_Boolean isAnimated) {
34978         GetAccessors()->getNavExtenderAccessor()->hideTitleBar(navigation, isHide, isAnimated);
34979 }
KOALA_INTEROP_DIRECT_V3(NavExtender_hideTitleBar,Ark_NativePointer,Ark_Boolean,Ark_Boolean)34980 KOALA_INTEROP_DIRECT_V3(NavExtender_hideTitleBar, Ark_NativePointer, Ark_Boolean, Ark_Boolean)
34981 void impl_NavExtender_hideToolBar(Ark_NativePointer navigation, Ark_Boolean isHide, Ark_Boolean isAnimated) {
34982         GetAccessors()->getNavExtenderAccessor()->hideToolBar(navigation, isHide, isAnimated);
34983 }
KOALA_INTEROP_DIRECT_V3(NavExtender_hideToolBar,Ark_NativePointer,Ark_Boolean,Ark_Boolean)34984 KOALA_INTEROP_DIRECT_V3(NavExtender_hideToolBar, Ark_NativePointer, Ark_Boolean, Ark_Boolean)
34985 void impl_NavExtender_hideNavBar(Ark_NativePointer navigation, Ark_Boolean hide) {
34986         GetAccessors()->getNavExtenderAccessor()->hideNavBar(navigation, hide);
34987 }
KOALA_INTEROP_DIRECT_V2(NavExtender_hideNavBar,Ark_NativePointer,Ark_Boolean)34988 KOALA_INTEROP_DIRECT_V2(NavExtender_hideNavBar, Ark_NativePointer, Ark_Boolean)
34989 void impl_NavExtender_hideBackButton(Ark_NativePointer navigation, Ark_Boolean hide) {
34990         GetAccessors()->getNavExtenderAccessor()->hideBackButton(navigation, hide);
34991 }
KOALA_INTEROP_DIRECT_V2(NavExtender_hideBackButton,Ark_NativePointer,Ark_Boolean)34992 KOALA_INTEROP_DIRECT_V2(NavExtender_hideBackButton, Ark_NativePointer, Ark_Boolean)
34993 void impl_NavExtender_setNavBarStateChange(Ark_NativePointer navigation, KSerializerBuffer thisArray, int32_t thisLength) {
34994         Deserializer thisDeserializer(thisArray, thisLength);
34995         Callback_Boolean_Void stateCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isVisible)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};;
34996         GetAccessors()->getNavExtenderAccessor()->setNavBarStateChange(navigation, (const Callback_Boolean_Void*)&stateCallback_value);
34997 }
KOALA_INTEROP_DIRECT_V3(NavExtender_setNavBarStateChange,Ark_NativePointer,KSerializerBuffer,int32_t)34998 KOALA_INTEROP_DIRECT_V3(NavExtender_setNavBarStateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
34999 void impl_NavExtender_setTitleModeChange(Ark_NativePointer navigation, KSerializerBuffer thisArray, int32_t thisLength) {
35000         Deserializer thisDeserializer(thisArray, thisLength);
35001         Callback_NavigationTitleMode_Void titleCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_NavigationTitleMode_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_NavigationTitleMode_Void))))};;
35002         GetAccessors()->getNavExtenderAccessor()->setTitleModeChange(navigation, (const Callback_NavigationTitleMode_Void*)&titleCallback_value);
35003 }
KOALA_INTEROP_DIRECT_V3(NavExtender_setTitleModeChange,Ark_NativePointer,KSerializerBuffer,int32_t)35004 KOALA_INTEROP_DIRECT_V3(NavExtender_setTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t)
35005 void impl_NavExtender_setTitleMode(Ark_NativePointer navigation, Ark_Int32 titleMode) {
35006         GetAccessors()->getNavExtenderAccessor()->setTitleMode(navigation, static_cast<Ark_NavigationTitleMode>(titleMode));
35007 }
KOALA_INTEROP_DIRECT_V2(NavExtender_setTitleMode,Ark_NativePointer,Ark_Int32)35008 KOALA_INTEROP_DIRECT_V2(NavExtender_setTitleMode, Ark_NativePointer, Ark_Int32)
35009 void impl_NavExtender_title(Ark_NativePointer navigation, const KStringPtr& title, Ark_Boolean hasSubTitle) {
35010         GetAccessors()->getNavExtenderAccessor()->title(navigation, (const Ark_String*) (&title), hasSubTitle);
35011 }
KOALA_INTEROP_V3(NavExtender_title,Ark_NativePointer,KStringPtr,Ark_Boolean)35012 KOALA_INTEROP_V3(NavExtender_title, Ark_NativePointer, KStringPtr, Ark_Boolean)
35013 void impl_NavExtender_subTitle(Ark_NativePointer navigation, const KStringPtr& subTitle) {
35014         GetAccessors()->getNavExtenderAccessor()->subTitle(navigation, (const Ark_String*) (&subTitle));
35015 }
KOALA_INTEROP_V2(NavExtender_subTitle,Ark_NativePointer,KStringPtr)35016 KOALA_INTEROP_V2(NavExtender_subTitle, Ark_NativePointer, KStringPtr)
35017 Ark_NativePointer impl_SearchOps_registerSearchValueCallback(Ark_NativePointer node, const KStringPtr& value, KSerializerBuffer thisArray, int32_t thisLength) {
35018         Deserializer thisDeserializer(thisArray, thisLength);
35019         SearchValueCallback callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SearchValueCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SearchValueCallback))))};;
35020         return GetAccessors()->getSearchOpsAccessor()->registerSearchValueCallback(node, (const Ark_String*) (&value), (const SearchValueCallback*)&callback_value);
35021 }
KOALA_INTEROP_4(SearchOps_registerSearchValueCallback,Ark_NativePointer,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)35022 KOALA_INTEROP_4(SearchOps_registerSearchValueCallback, Ark_NativePointer, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
35023 void impl_NavExtender_pushPath(Ark_NativePointer pathStack, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength)
35024 {
35025     Deserializer thisDeserializer(thisArray, thisLength);
35026     Ark_NavigationOptions options_value = thisDeserializer.readNavigationOptions();
35027     GetAccessors()->getNavExtenderAccessor()->pushPath(static_cast<Ark_NavPathStack>(pathStack), static_cast<Ark_NavPathInfo>(info), (const Ark_NavigationOptions*)(&options_value));
35028 }
KOALA_INTEROP_DIRECT_V4(NavExtender_pushPath,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35029 KOALA_INTEROP_DIRECT_V4(NavExtender_pushPath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35030 void impl_NavExtender_replacePath(Ark_NativePointer pathStack, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength)
35031 {
35032     Deserializer thisDeserializer(thisArray, thisLength);
35033     Ark_NavigationOptions options_value = thisDeserializer.readNavigationOptions();
35034     GetAccessors()->getNavExtenderAccessor()->replacePath(static_cast<Ark_NavPathStack>(pathStack), static_cast<Ark_NavPathInfo>(info), (const Ark_NavigationOptions*)(&options_value));
35035 }
KOALA_INTEROP_DIRECT_V4(NavExtender_replacePath,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35036 KOALA_INTEROP_DIRECT_V4(NavExtender_replacePath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35037 Ark_String impl_NavExtender_pop(Ark_NativePointer pathStack, Ark_Boolean isAnimated)
35038 {
35039     return GetAccessors()->getNavExtenderAccessor()->pop(static_cast<Ark_NavPathStack>(pathStack), isAnimated);
35040 }
KOALA_INTEROP_2(NavExtender_pop,KStringPtr,Ark_NativePointer,Ark_Boolean)35041 KOALA_INTEROP_2(NavExtender_pop, KStringPtr, Ark_NativePointer, Ark_Boolean)
35042 Ark_String impl_NavExtender_getIdByIndex(Ark_NativePointer pathStack, Ark_Int32 index) {
35043     return GetAccessors()->getNavExtenderAccessor()->getIdByIndex(static_cast<Ark_NavPathStack>(pathStack), index);
35044 }
KOALA_INTEROP_2(NavExtender_getIdByIndex,KStringPtr,Ark_NativePointer,Ark_Int32)35045 KOALA_INTEROP_2(NavExtender_getIdByIndex, KStringPtr, Ark_NativePointer, Ark_Int32)
35046 KInteropReturnBuffer impl_NavExtender_getIdByName(Ark_NativePointer pathStack, const KStringPtr& name) {
35047     const auto& retValue = GetAccessors()->getNavExtenderAccessor()->getIdByName(static_cast<Ark_NavPathStack>(pathStack), (const Ark_String*)(&name));
35048     Serializer _retSerializer {};
35049     _retSerializer.writeInt32(retValue.length);
35050     for (int i = 0; i < retValue.length; i++) {
35051         const Ark_String retValue_element = retValue.array[i];
35052         _retSerializer.writeString(retValue_element);
35053     }
35054     return _retSerializer.toReturnBuffer();
35055 }
35056 KOALA_INTEROP_2(NavExtender_getIdByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr);
impl_NavExtender_setOnPopCallback(Ark_NativePointer pathStack,KSerializerBuffer thisArray,int32_t thisLength)35057 void impl_NavExtender_setOnPopCallback(Ark_NativePointer pathStack, KSerializerBuffer thisArray, int32_t thisLength) {
35058     Deserializer thisDeserializer(thisArray, thisLength);
35059     Callback_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
35060     GetAccessors()->getNavExtenderAccessor()->setOnPopCallback(static_cast<Ark_NavPathStack>(pathStack), (const Callback_String_Void*)&callback_value);
35061 }
KOALA_INTEROP_DIRECT_V3(NavExtender_setOnPopCallback,Ark_NativePointer,KSerializerBuffer,int32_t)35062 KOALA_INTEROP_DIRECT_V3(NavExtender_setOnPopCallback, Ark_NativePointer, KSerializerBuffer, int32_t)
35063 Ark_String impl_NavExtender_getNavDestinationId(Ark_NativePointer info) {
35064     return GetAccessors()->getNavExtenderAccessor()->getNavDestinationId(static_cast<Ark_NavPathInfo>(info));
35065 }
KOALA_INTEROP_1(NavExtender_getNavDestinationId,KStringPtr,Ark_NativePointer)35066 KOALA_INTEROP_1(NavExtender_getNavDestinationId, KStringPtr, Ark_NativePointer)
35067 void impl_NavExtender_popToIndex(Ark_NativePointer pathStack, Ark_Int32 index, Ark_Boolean animated) {
35068     GetAccessors()->getNavExtenderAccessor()->popToIndex(static_cast<Ark_NavPathStack>(pathStack), index, animated);
35069 }
KOALA_INTEROP_DIRECT_V3(NavExtender_popToIndex,Ark_NativePointer,Ark_Int32,Ark_Boolean)35070 KOALA_INTEROP_DIRECT_V3(NavExtender_popToIndex, Ark_NativePointer, Ark_Int32, Ark_Boolean)
35071 Ark_Number impl_NavExtender_popToName(Ark_NativePointer pathStack, const KStringPtr& name, Ark_Boolean animated) {
35072     return GetAccessors()->getNavExtenderAccessor()->popToName(static_cast<Ark_NavPathStack>(pathStack), (const Ark_String*)(&name), animated);
35073 }
KOALA_INTEROP_3(NavExtender_popToName,KInteropNumber,Ark_NativePointer,KStringPtr,Ark_Boolean)35074 KOALA_INTEROP_3(NavExtender_popToName, KInteropNumber, Ark_NativePointer, KStringPtr, Ark_Boolean)
35075 Ark_NativePointer impl_StepperOps_registerStepperIndexCallback(Ark_NativePointer node, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) {
35076         Deserializer thisDeserializer(thisArray, thisLength);
35077         StepperIndexCallback callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Number stepperIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_StepperIndexCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number stepperIndex)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_StepperIndexCallback))))};;
35078         return GetAccessors()->getStepperOpsAccessor()->registerStepperIndexCallback(node, (const Ark_Number*) (&value), (const StepperIndexCallback*)&callback_value);
35079 }
KOALA_INTEROP_DIRECT_4(StepperOps_registerStepperIndexCallback,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)35080 KOALA_INTEROP_DIRECT_4(StepperOps_registerStepperIndexCallback, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
35081 void impl_EventEmulator_emitClickEvent(Ark_NativePointer node, Ark_NativePointer event) {
35082         GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, static_cast<Ark_ClickEvent>(event));
35083 }
KOALA_INTEROP_DIRECT_V2(EventEmulator_emitClickEvent,Ark_NativePointer,Ark_NativePointer)35084 KOALA_INTEROP_DIRECT_V2(EventEmulator_emitClickEvent, Ark_NativePointer, Ark_NativePointer)
35085 void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KStringPtr& text) {
35086         GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text));
35087 }
KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent,Ark_NativePointer,KStringPtr)35088 KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr)
35089 Ark_NativePointer impl_TextFieldOps_registerTextFieldValueCallback(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35090         Deserializer thisDeserializer(thisArray, thisLength);
35091         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
35092         Ark_ResourceStr value_value_buf = {};
35093         value_value_buf.selector = value_value_buf_selector;
35094         if (value_value_buf_selector == 0) {
35095             value_value_buf.selector = 0;
35096             value_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
35097         }
35098         else if (value_value_buf_selector == 1) {
35099             value_value_buf.selector = 1;
35100             value_value_buf.value1 = thisDeserializer.readResource();
35101         }
35102         else {
35103             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
35104         }
35105         Ark_ResourceStr value_value = static_cast<Ark_ResourceStr>(value_value_buf);;
35106         TextFieldValueCallback callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ResourceStr value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_TextFieldValueCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ResourceStr value)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_TextFieldValueCallback))))};;
35107         return GetAccessors()->getTextFieldOpsAccessor()->registerTextFieldValueCallback(node, (const Ark_ResourceStr*)&value_value, (const TextFieldValueCallback*)&callback_value);
35108 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_registerTextFieldValueCallback,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35109 KOALA_INTEROP_DIRECT_3(TextFieldOps_registerTextFieldValueCallback, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35110 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetWidth(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35111         Deserializer thisDeserializer(thisArray, thisLength);
35112         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35113         Opt_Union_Length_LayoutPolicy value_value_buf = {};
35114         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35115         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35116         {
35117             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35118             Ark_Union_Length_LayoutPolicy value_value_buf_ = {};
35119             value_value_buf_.selector = value_value_buf__selector;
35120             if (value_value_buf__selector == 0) {
35121                 value_value_buf_.selector = 0;
35122                 value_value_buf_.value0 = thisDeserializer.readLength();
35123             }
35124             else if (value_value_buf__selector == 1) {
35125                 value_value_buf_.selector = 1;
35126                 value_value_buf_.value1 = thisDeserializer.readLayoutPolicy();
35127             }
35128             else {
35129                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35130             }
35131             value_value_buf.value = static_cast<Ark_Union_Length_LayoutPolicy>(value_value_buf_);
35132         }
35133         Opt_Union_Length_LayoutPolicy value_value = value_value_buf;;
35134         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetWidth(node, (const Opt_Union_Length_LayoutPolicy*)&value_value);
35135 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetWidth,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35136 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetWidth, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35137 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetHeight(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35138         Deserializer thisDeserializer(thisArray, thisLength);
35139         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35140         Opt_Union_Length_LayoutPolicy value_value_buf = {};
35141         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35142         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35143         {
35144             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35145             Ark_Union_Length_LayoutPolicy value_value_buf_ = {};
35146             value_value_buf_.selector = value_value_buf__selector;
35147             if (value_value_buf__selector == 0) {
35148                 value_value_buf_.selector = 0;
35149                 value_value_buf_.value0 = thisDeserializer.readLength();
35150             }
35151             else if (value_value_buf__selector == 1) {
35152                 value_value_buf_.selector = 1;
35153                 value_value_buf_.value1 = thisDeserializer.readLayoutPolicy();
35154             }
35155             else {
35156                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35157             }
35158             value_value_buf.value = static_cast<Ark_Union_Length_LayoutPolicy>(value_value_buf_);
35159         }
35160         Opt_Union_Length_LayoutPolicy value_value = value_value_buf;;
35161         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetHeight(node, (const Opt_Union_Length_LayoutPolicy*)&value_value);
35162 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetHeight,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35163 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetHeight, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35164 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetPadding(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35165         Deserializer thisDeserializer(thisArray, thisLength);
35166         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35167         Opt_Union_Padding_Length_LocalizedPadding value_value_buf = {};
35168         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35169         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35170         {
35171             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35172             Ark_Union_Padding_Length_LocalizedPadding value_value_buf_ = {};
35173             value_value_buf_.selector = value_value_buf__selector;
35174             if (value_value_buf__selector == 0) {
35175                 value_value_buf_.selector = 0;
35176                 Ark_Padding value_value_buf__u = {};
35177                 const auto value_value_buf__u_top_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35178                 Opt_Length value_value_buf__u_top_buf = {};
35179                 value_value_buf__u_top_buf.tag = value_value_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35180                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_top_buf_runtimeType))
35181                 {
35182                     value_value_buf__u_top_buf.value = thisDeserializer.readLength();
35183                 }
35184                 value_value_buf__u.top = value_value_buf__u_top_buf;
35185                 const auto value_value_buf__u_right_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35186                 Opt_Length value_value_buf__u_right_buf = {};
35187                 value_value_buf__u_right_buf.tag = value_value_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35188                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_right_buf_runtimeType))
35189                 {
35190                     value_value_buf__u_right_buf.value = thisDeserializer.readLength();
35191                 }
35192                 value_value_buf__u.right = value_value_buf__u_right_buf;
35193                 const auto value_value_buf__u_bottom_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35194                 Opt_Length value_value_buf__u_bottom_buf = {};
35195                 value_value_buf__u_bottom_buf.tag = value_value_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35196                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_bottom_buf_runtimeType))
35197                 {
35198                     value_value_buf__u_bottom_buf.value = thisDeserializer.readLength();
35199                 }
35200                 value_value_buf__u.bottom = value_value_buf__u_bottom_buf;
35201                 const auto value_value_buf__u_left_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35202                 Opt_Length value_value_buf__u_left_buf = {};
35203                 value_value_buf__u_left_buf.tag = value_value_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35204                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_left_buf_runtimeType))
35205                 {
35206                     value_value_buf__u_left_buf.value = thisDeserializer.readLength();
35207                 }
35208                 value_value_buf__u.left = value_value_buf__u_left_buf;
35209                 value_value_buf_.value0 = value_value_buf__u;
35210             }
35211             else if (value_value_buf__selector == 1) {
35212                 value_value_buf_.selector = 1;
35213                 value_value_buf_.value1 = thisDeserializer.readLength();
35214             }
35215             else if (value_value_buf__selector == 2) {
35216                 value_value_buf_.selector = 2;
35217                 value_value_buf_.value2 = thisDeserializer.readLocalizedPadding();
35218             }
35219             else {
35220                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35221             }
35222             value_value_buf.value = static_cast<Ark_Union_Padding_Length_LocalizedPadding>(value_value_buf_);
35223         }
35224         Opt_Union_Padding_Length_LocalizedPadding value_value = value_value_buf;;
35225         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetPadding(node, (const Opt_Union_Padding_Length_LocalizedPadding*)&value_value);
35226 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetPadding,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35227 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetPadding, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35228 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetMargin(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35229         Deserializer thisDeserializer(thisArray, thisLength);
35230         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35231         Opt_Union_Padding_Length_LocalizedPadding value_value_buf = {};
35232         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35233         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35234         {
35235             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35236             Ark_Union_Padding_Length_LocalizedPadding value_value_buf_ = {};
35237             value_value_buf_.selector = value_value_buf__selector;
35238             if (value_value_buf__selector == 0) {
35239                 value_value_buf_.selector = 0;
35240                 Ark_Padding value_value_buf__u = {};
35241                 const auto value_value_buf__u_top_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35242                 Opt_Length value_value_buf__u_top_buf = {};
35243                 value_value_buf__u_top_buf.tag = value_value_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35244                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_top_buf_runtimeType))
35245                 {
35246                     value_value_buf__u_top_buf.value = thisDeserializer.readLength();
35247                 }
35248                 value_value_buf__u.top = value_value_buf__u_top_buf;
35249                 const auto value_value_buf__u_right_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35250                 Opt_Length value_value_buf__u_right_buf = {};
35251                 value_value_buf__u_right_buf.tag = value_value_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35252                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_right_buf_runtimeType))
35253                 {
35254                     value_value_buf__u_right_buf.value = thisDeserializer.readLength();
35255                 }
35256                 value_value_buf__u.right = value_value_buf__u_right_buf;
35257                 const auto value_value_buf__u_bottom_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35258                 Opt_Length value_value_buf__u_bottom_buf = {};
35259                 value_value_buf__u_bottom_buf.tag = value_value_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35260                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_bottom_buf_runtimeType))
35261                 {
35262                     value_value_buf__u_bottom_buf.value = thisDeserializer.readLength();
35263                 }
35264                 value_value_buf__u.bottom = value_value_buf__u_bottom_buf;
35265                 const auto value_value_buf__u_left_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35266                 Opt_Length value_value_buf__u_left_buf = {};
35267                 value_value_buf__u_left_buf.tag = value_value_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35268                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_left_buf_runtimeType))
35269                 {
35270                     value_value_buf__u_left_buf.value = thisDeserializer.readLength();
35271                 }
35272                 value_value_buf__u.left = value_value_buf__u_left_buf;
35273                 value_value_buf_.value0 = value_value_buf__u;
35274             }
35275             else if (value_value_buf__selector == 1) {
35276                 value_value_buf_.selector = 1;
35277                 value_value_buf_.value1 = thisDeserializer.readLength();
35278             }
35279             else if (value_value_buf__selector == 2) {
35280                 value_value_buf_.selector = 2;
35281                 value_value_buf_.value2 = thisDeserializer.readLocalizedPadding();
35282             }
35283             else {
35284                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35285             }
35286             value_value_buf.value = static_cast<Ark_Union_Padding_Length_LocalizedPadding>(value_value_buf_);
35287         }
35288         Opt_Union_Padding_Length_LocalizedPadding value_value = value_value_buf;;
35289         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetMargin(node, (const Opt_Union_Padding_Length_LocalizedPadding*)&value_value);
35290 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetMargin,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35291 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetMargin, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35292 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorder(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35293         Deserializer thisDeserializer(thisArray, thisLength);
35294         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35295         Opt_BorderOptions value_value_buf = {};
35296         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35297         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35298         {
35299             value_value_buf.value = thisDeserializer.readBorderOptions();
35300         }
35301         Opt_BorderOptions value_value = value_value_buf;;
35302         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorder(node, (const Opt_BorderOptions*)&value_value);
35303 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorder,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35304 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorder, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35305 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderWidth(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35306         Deserializer thisDeserializer(thisArray, thisLength);
35307         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35308         Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf = {};
35309         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35310         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35311         {
35312             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35313             Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf_ = {};
35314             value_value_buf_.selector = value_value_buf__selector;
35315             if (value_value_buf__selector == 0) {
35316                 value_value_buf_.selector = 0;
35317                 value_value_buf_.value0 = thisDeserializer.readLength();
35318             }
35319             else if (value_value_buf__selector == 1) {
35320                 value_value_buf_.selector = 1;
35321                 value_value_buf_.value1 = thisDeserializer.readEdgeWidths();
35322             }
35323             else if (value_value_buf__selector == 2) {
35324                 value_value_buf_.selector = 2;
35325                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeWidths();
35326             }
35327             else {
35328                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35329             }
35330             value_value_buf.value = static_cast<Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths>(value_value_buf_);
35331         }
35332         Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value = value_value_buf;;
35333         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderWidth(node, (const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths*)&value_value);
35334 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderWidth,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35335 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderWidth, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35336 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderColor(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35337         Deserializer thisDeserializer(thisArray, thisLength);
35338         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35339         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {};
35340         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35341         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35342         {
35343             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35344             Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf_ = {};
35345             value_value_buf_.selector = value_value_buf__selector;
35346             if (value_value_buf__selector == 0) {
35347                 value_value_buf_.selector = 0;
35348                 const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8();
35349                 Ark_ResourceColor value_value_buf__u = {};
35350                 value_value_buf__u.selector = value_value_buf__u_selector;
35351                 if (value_value_buf__u_selector == 0) {
35352                     value_value_buf__u.selector = 0;
35353                     value_value_buf__u.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
35354                 }
35355                 else if (value_value_buf__u_selector == 1) {
35356                     value_value_buf__u.selector = 1;
35357                     value_value_buf__u.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
35358                 }
35359                 else if (value_value_buf__u_selector == 2) {
35360                     value_value_buf__u.selector = 2;
35361                     value_value_buf__u.value2 = static_cast<Ark_String>(thisDeserializer.readString());
35362                 }
35363                 else if (value_value_buf__u_selector == 3) {
35364                     value_value_buf__u.selector = 3;
35365                     value_value_buf__u.value3 = thisDeserializer.readResource();
35366                 }
35367                 else {
35368                     INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation.");
35369                 }
35370                 value_value_buf_.value0 = static_cast<Ark_ResourceColor>(value_value_buf__u);
35371             }
35372             else if (value_value_buf__selector == 1) {
35373                 value_value_buf_.selector = 1;
35374                 value_value_buf_.value1 = thisDeserializer.readEdgeColors();
35375             }
35376             else if (value_value_buf__selector == 2) {
35377                 value_value_buf_.selector = 2;
35378                 value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeColors();
35379             }
35380             else {
35381                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35382             }
35383             value_value_buf.value = static_cast<Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors>(value_value_buf_);
35384         }
35385         Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = value_value_buf;;
35386         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderColor(node, (const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value);
35387 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderColor,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35388 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderColor, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35389 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderStyle(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35390         Deserializer thisDeserializer(thisArray, thisLength);
35391         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35392         Opt_Union_BorderStyle_EdgeStyles value_value_buf = {};
35393         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35394         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35395         {
35396             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35397             Ark_Union_BorderStyle_EdgeStyles value_value_buf_ = {};
35398             value_value_buf_.selector = value_value_buf__selector;
35399             if (value_value_buf__selector == 0) {
35400                 value_value_buf_.selector = 0;
35401                 value_value_buf_.value0 = static_cast<Ark_BorderStyle>(thisDeserializer.readInt32());
35402             }
35403             else if (value_value_buf__selector == 1) {
35404                 value_value_buf_.selector = 1;
35405                 value_value_buf_.value1 = thisDeserializer.readEdgeStyles();
35406             }
35407             else {
35408                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35409             }
35410             value_value_buf.value = static_cast<Ark_Union_BorderStyle_EdgeStyles>(value_value_buf_);
35411         }
35412         Opt_Union_BorderStyle_EdgeStyles value_value = value_value_buf;;
35413         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderStyle(node, (const Opt_Union_BorderStyle_EdgeStyles*)&value_value);
35414 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderStyle,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35415 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35416 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderRadius(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35417         Deserializer thisDeserializer(thisArray, thisLength);
35418         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35419         Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf = {};
35420         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35421         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35422         {
35423             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35424             Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf_ = {};
35425             value_value_buf_.selector = value_value_buf__selector;
35426             if (value_value_buf__selector == 0) {
35427                 value_value_buf_.selector = 0;
35428                 value_value_buf_.value0 = thisDeserializer.readLength();
35429             }
35430             else if (value_value_buf__selector == 1) {
35431                 value_value_buf_.selector = 1;
35432                 value_value_buf_.value1 = thisDeserializer.readBorderRadiuses();
35433             }
35434             else if (value_value_buf__selector == 2) {
35435                 value_value_buf_.selector = 2;
35436                 value_value_buf_.value2 = thisDeserializer.readLocalizedBorderRadiuses();
35437             }
35438             else {
35439                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35440             }
35441             value_value_buf.value = static_cast<Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses>(value_value_buf_);
35442         }
35443         Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value = value_value_buf;;
35444         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderRadius(node, (const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses*)&value_value);
35445 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderRadius,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35446 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderRadius, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35447 Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBackgroundColor(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) {
35448         Deserializer thisDeserializer(thisArray, thisLength);
35449         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35450         Opt_ResourceColor value_value_buf = {};
35451         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35452         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
35453         {
35454             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
35455             Ark_ResourceColor value_value_buf_ = {};
35456             value_value_buf_.selector = value_value_buf__selector;
35457             if (value_value_buf__selector == 0) {
35458                 value_value_buf_.selector = 0;
35459                 value_value_buf_.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
35460             }
35461             else if (value_value_buf__selector == 1) {
35462                 value_value_buf_.selector = 1;
35463                 value_value_buf_.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
35464             }
35465             else if (value_value_buf__selector == 2) {
35466                 value_value_buf_.selector = 2;
35467                 value_value_buf_.value2 = static_cast<Ark_String>(thisDeserializer.readString());
35468             }
35469             else if (value_value_buf__selector == 3) {
35470                 value_value_buf_.selector = 3;
35471                 value_value_buf_.value3 = thisDeserializer.readResource();
35472             }
35473             else {
35474                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
35475             }
35476             value_value_buf.value = static_cast<Ark_ResourceColor>(value_value_buf_);
35477         }
35478         Opt_ResourceColor value_value = value_value_buf;;
35479         return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBackgroundColor(node, (const Opt_ResourceColor*)&value_value);
35480 }
KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBackgroundColor,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35481 KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBackgroundColor, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35482 void impl_ActionSheet_show(KSerializerBuffer thisArray, int32_t thisLength) {
35483         Deserializer thisDeserializer(thisArray, thisLength);
35484         Ark_ActionSheetOptions value_value = thisDeserializer.readActionSheetOptions();;
35485         GetAccessors()->getActionSheetAccessor()->show((const Ark_ActionSheetOptions*)&value_value);
35486 }
KOALA_INTEROP_DIRECT_V2(ActionSheet_show,KSerializerBuffer,int32_t)35487 KOALA_INTEROP_DIRECT_V2(ActionSheet_show, KSerializerBuffer, int32_t)
35488 void impl_AlertDialog_show(KSerializerBuffer thisArray, int32_t thisLength) {
35489         Deserializer thisDeserializer(thisArray, thisLength);
35490         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
35491         Ark_Type_AlertDialog_show_value value_value_buf = {};
35492         value_value_buf.selector = value_value_buf_selector;
35493         if (value_value_buf_selector == 0) {
35494             value_value_buf.selector = 0;
35495             value_value_buf.value0 = thisDeserializer.readAlertDialogParamWithConfirm();
35496         }
35497         else if (value_value_buf_selector == 1) {
35498             value_value_buf.selector = 1;
35499             value_value_buf.value1 = thisDeserializer.readAlertDialogParamWithButtons();
35500         }
35501         else if (value_value_buf_selector == 2) {
35502             value_value_buf.selector = 2;
35503             value_value_buf.value2 = thisDeserializer.readAlertDialogParamWithOptions();
35504         }
35505         else {
35506             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
35507         }
35508         Ark_Type_AlertDialog_show_value value_value = static_cast<Ark_Type_AlertDialog_show_value>(value_value_buf);;
35509         GetAccessors()->getAlertDialogAccessor()->show((const Ark_Type_AlertDialog_show_value*)&value_value);
35510 }
KOALA_INTEROP_DIRECT_V2(AlertDialog_show,KSerializerBuffer,int32_t)35511 KOALA_INTEROP_DIRECT_V2(AlertDialog_show, KSerializerBuffer, int32_t)
35512 void impl_PromptAction_showToast(KSerializerBuffer thisArray, int32_t thisLength) {
35513         Deserializer thisDeserializer(thisArray, thisLength);
35514         Ark_ShowToastOptions value_value = thisDeserializer.readShowToastOptions();;
35515         GetAccessors()->getPromptActionAccessor()->showToast((const Ark_ShowToastOptions*)&value_value);
35516 }
KOALA_INTEROP_DIRECT_V2(PromptAction_showToast,KSerializerBuffer,int32_t)35517 KOALA_INTEROP_DIRECT_V2(PromptAction_showToast, KSerializerBuffer, int32_t)
35518 Ark_NativePointer impl_SpringProp_ctor(KInteropNumber mass, KInteropNumber stiffness, KInteropNumber damping) {
35519         return GetAccessors()->getSpringPropAccessor()->ctor((const Ark_Number*) (&mass), (const Ark_Number*) (&stiffness), (const Ark_Number*) (&damping));
35520 }
KOALA_INTEROP_DIRECT_3(SpringProp_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber)35521 KOALA_INTEROP_DIRECT_3(SpringProp_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber)
35522 Ark_NativePointer impl_SpringProp_getFinalizer() {
35523         return GetAccessors()->getSpringPropAccessor()->getFinalizer();
35524 }
KOALA_INTEROP_DIRECT_0(SpringProp_getFinalizer,Ark_NativePointer)35525 KOALA_INTEROP_DIRECT_0(SpringProp_getFinalizer, Ark_NativePointer)
35526 Ark_NativePointer impl_SpringMotion_ctor(KInteropNumber start, KInteropNumber end, KInteropNumber velocity, Ark_NativePointer prop) {
35527         return GetAccessors()->getSpringMotionAccessor()->ctor((const Ark_Number*) (&start), (const Ark_Number*) (&end), (const Ark_Number*) (&velocity), static_cast<Ark_SpringProp>(prop));
35528 }
KOALA_INTEROP_DIRECT_4(SpringMotion_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,Ark_NativePointer)35529 KOALA_INTEROP_DIRECT_4(SpringMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer)
35530 Ark_NativePointer impl_SpringMotion_getFinalizer() {
35531         return GetAccessors()->getSpringMotionAccessor()->getFinalizer();
35532 }
KOALA_INTEROP_DIRECT_0(SpringMotion_getFinalizer,Ark_NativePointer)35533 KOALA_INTEROP_DIRECT_0(SpringMotion_getFinalizer, Ark_NativePointer)
35534 Ark_NativePointer impl_FrictionMotion_ctor(KInteropNumber friction, KInteropNumber position, KInteropNumber velocity) {
35535         return GetAccessors()->getFrictionMotionAccessor()->ctor((const Ark_Number*) (&friction), (const Ark_Number*) (&position), (const Ark_Number*) (&velocity));
35536 }
KOALA_INTEROP_DIRECT_3(FrictionMotion_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber)35537 KOALA_INTEROP_DIRECT_3(FrictionMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber)
35538 Ark_NativePointer impl_FrictionMotion_getFinalizer() {
35539         return GetAccessors()->getFrictionMotionAccessor()->getFinalizer();
35540 }
KOALA_INTEROP_DIRECT_0(FrictionMotion_getFinalizer,Ark_NativePointer)35541 KOALA_INTEROP_DIRECT_0(FrictionMotion_getFinalizer, Ark_NativePointer)
35542 Ark_NativePointer impl_ScrollMotion_ctor(KInteropNumber position, KInteropNumber velocity, KInteropNumber min, KInteropNumber max, Ark_NativePointer prop) {
35543         return GetAccessors()->getScrollMotionAccessor()->ctor((const Ark_Number*) (&position), (const Ark_Number*) (&velocity), (const Ark_Number*) (&min), (const Ark_Number*) (&max), static_cast<Ark_SpringProp>(prop));
35544 }
KOALA_INTEROP_DIRECT_5(ScrollMotion_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,Ark_NativePointer)35545 KOALA_INTEROP_DIRECT_5(ScrollMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer)
35546 Ark_NativePointer impl_ScrollMotion_getFinalizer() {
35547         return GetAccessors()->getScrollMotionAccessor()->getFinalizer();
35548 }
KOALA_INTEROP_DIRECT_0(ScrollMotion_getFinalizer,Ark_NativePointer)35549 KOALA_INTEROP_DIRECT_0(ScrollMotion_getFinalizer, Ark_NativePointer)
35550 Ark_NativePointer impl_CalendarController_ctor() {
35551         return GetAccessors()->getCalendarControllerAccessor()->ctor();
35552 }
KOALA_INTEROP_DIRECT_0(CalendarController_ctor,Ark_NativePointer)35553 KOALA_INTEROP_DIRECT_0(CalendarController_ctor, Ark_NativePointer)
35554 Ark_NativePointer impl_CalendarController_getFinalizer() {
35555         return GetAccessors()->getCalendarControllerAccessor()->getFinalizer();
35556 }
KOALA_INTEROP_DIRECT_0(CalendarController_getFinalizer,Ark_NativePointer)35557 KOALA_INTEROP_DIRECT_0(CalendarController_getFinalizer, Ark_NativePointer)
35558 void impl_CalendarController_backToToday(Ark_NativePointer thisPtr) {
35559         Ark_CalendarController self = reinterpret_cast<Ark_CalendarController>(thisPtr);
35560         GetAccessors()->getCalendarControllerAccessor()->backToToday(self);
35561 }
KOALA_INTEROP_DIRECT_V1(CalendarController_backToToday,Ark_NativePointer)35562 KOALA_INTEROP_DIRECT_V1(CalendarController_backToToday, Ark_NativePointer)
35563 void impl_CalendarController_goTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35564         Ark_CalendarController self = reinterpret_cast<Ark_CalendarController>(thisPtr);
35565         Deserializer thisDeserializer(thisArray, thisLength);
35566         Ark_Literal_Number_day_month_year value_value_buf = {};
35567         value_value_buf.year = static_cast<Ark_Number>(thisDeserializer.readNumber());
35568         value_value_buf.month = static_cast<Ark_Number>(thisDeserializer.readNumber());
35569         value_value_buf.day = static_cast<Ark_Number>(thisDeserializer.readNumber());
35570         Ark_Literal_Number_day_month_year value_value = value_value_buf;;
35571         GetAccessors()->getCalendarControllerAccessor()->goTo(self, (const Ark_Literal_Number_day_month_year*)&value_value);
35572 }
KOALA_INTEROP_DIRECT_V3(CalendarController_goTo,Ark_NativePointer,KSerializerBuffer,int32_t)35573 KOALA_INTEROP_DIRECT_V3(CalendarController_goTo, Ark_NativePointer, KSerializerBuffer, int32_t)
35574 void impl_CalendarPickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) {
35575         Deserializer thisDeserializer(thisArray, thisLength);
35576         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
35577         Opt_CalendarDialogOptions options_value_buf = {};
35578         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
35579         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
35580         {
35581             options_value_buf.value = thisDeserializer.readCalendarDialogOptions();
35582         }
35583         Opt_CalendarDialogOptions options_value = options_value_buf;;
35584         GetAccessors()->getCalendarPickerDialogAccessor()->show((const Opt_CalendarDialogOptions*)&options_value);
35585 }
KOALA_INTEROP_DIRECT_V2(CalendarPickerDialog_show,KSerializerBuffer,int32_t)35586 KOALA_INTEROP_DIRECT_V2(CalendarPickerDialog_show, KSerializerBuffer, int32_t)
35587 Ark_NativePointer impl_ICurve_ctor() {
35588         return GetAccessors()->getICurveAccessor()->ctor();
35589 }
KOALA_INTEROP_DIRECT_0(ICurve_ctor,Ark_NativePointer)35590 KOALA_INTEROP_DIRECT_0(ICurve_ctor, Ark_NativePointer)
35591 Ark_NativePointer impl_ICurve_getFinalizer() {
35592         return GetAccessors()->getICurveAccessor()->getFinalizer();
35593 }
KOALA_INTEROP_DIRECT_0(ICurve_getFinalizer,Ark_NativePointer)35594 KOALA_INTEROP_DIRECT_0(ICurve_getFinalizer, Ark_NativePointer)
35595 Ark_Number impl_ICurve_interpolate(Ark_NativePointer thisPtr, KInteropNumber fraction) {
35596         Ark_ICurve self = reinterpret_cast<Ark_ICurve>(thisPtr);
35597         return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*) (&fraction));
35598 }
KOALA_INTEROP_DIRECT_2(ICurve_interpolate,KInteropNumber,Ark_NativePointer,KInteropNumber)35599 KOALA_INTEROP_DIRECT_2(ICurve_interpolate, KInteropNumber, Ark_NativePointer, KInteropNumber)
35600 Ark_NativePointer impl_DrawModifier_ctor() {
35601         return GetAccessors()->getDrawModifierAccessor()->ctor();
35602 }
KOALA_INTEROP_DIRECT_0(DrawModifier_ctor,Ark_NativePointer)35603 KOALA_INTEROP_DIRECT_0(DrawModifier_ctor, Ark_NativePointer)
35604 Ark_NativePointer impl_DrawModifier_getFinalizer() {
35605         return GetAccessors()->getDrawModifierAccessor()->getFinalizer();
35606 }
KOALA_INTEROP_DIRECT_0(DrawModifier_getFinalizer,Ark_NativePointer)35607 KOALA_INTEROP_DIRECT_0(DrawModifier_getFinalizer, Ark_NativePointer)
35608 void impl_DrawModifier_drawBehind(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35609         Ark_DrawModifier self = reinterpret_cast<Ark_DrawModifier>(thisPtr);
35610         Deserializer thisDeserializer(thisArray, thisLength);
35611         Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();;
35612         GetAccessors()->getDrawModifierAccessor()->drawBehind(self, (const Ark_DrawContext*)&drawContext_value);
35613 }
KOALA_INTEROP_DIRECT_V3(DrawModifier_drawBehind,Ark_NativePointer,KSerializerBuffer,int32_t)35614 KOALA_INTEROP_DIRECT_V3(DrawModifier_drawBehind, Ark_NativePointer, KSerializerBuffer, int32_t)
35615 void impl_DrawModifier_drawContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35616         Ark_DrawModifier self = reinterpret_cast<Ark_DrawModifier>(thisPtr);
35617         Deserializer thisDeserializer(thisArray, thisLength);
35618         Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();;
35619         GetAccessors()->getDrawModifierAccessor()->drawContent(self, (const Ark_DrawContext*)&drawContext_value);
35620 }
KOALA_INTEROP_DIRECT_V3(DrawModifier_drawContent,Ark_NativePointer,KSerializerBuffer,int32_t)35621 KOALA_INTEROP_DIRECT_V3(DrawModifier_drawContent, Ark_NativePointer, KSerializerBuffer, int32_t)
35622 void impl_DrawModifier_drawFront(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35623         Ark_DrawModifier self = reinterpret_cast<Ark_DrawModifier>(thisPtr);
35624         Deserializer thisDeserializer(thisArray, thisLength);
35625         Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();;
35626         GetAccessors()->getDrawModifierAccessor()->drawFront(self, (const Ark_DrawContext*)&drawContext_value);
35627 }
KOALA_INTEROP_DIRECT_V3(DrawModifier_drawFront,Ark_NativePointer,KSerializerBuffer,int32_t)35628 KOALA_INTEROP_DIRECT_V3(DrawModifier_drawFront, Ark_NativePointer, KSerializerBuffer, int32_t)
35629 void impl_DrawModifier_invalidate(Ark_NativePointer thisPtr) {
35630         Ark_DrawModifier self = reinterpret_cast<Ark_DrawModifier>(thisPtr);
35631         GetAccessors()->getDrawModifierAccessor()->invalidate(self);
35632 }
KOALA_INTEROP_DIRECT_V1(DrawModifier_invalidate,Ark_NativePointer)35633 KOALA_INTEROP_DIRECT_V1(DrawModifier_invalidate, Ark_NativePointer)
35634 Ark_NativePointer impl_TransitionEffect_ctor(const KStringPtr& type, KSerializerBuffer thisArray, int32_t thisLength) {
35635         Deserializer thisDeserializer(thisArray, thisLength);
35636         Ark_TransitionEffects effect_value_buf = {};
35637         effect_value_buf.identity = Ark_Undefined();
35638         effect_value_buf.opacity = static_cast<Ark_Number>(thisDeserializer.readNumber());
35639         effect_value_buf.slideSwitch = Ark_Undefined();
35640         effect_value_buf.move = static_cast<Ark_TransitionEdge>(thisDeserializer.readInt32());
35641         effect_value_buf.translate = thisDeserializer.readTranslateOptions();
35642         effect_value_buf.rotate = thisDeserializer.readRotateOptions();
35643         effect_value_buf.scale = thisDeserializer.readScaleOptions();
35644         Ark_Literal_TransitionEffect_appear_disappear effect_value_buf_asymmetric_buf = {};
35645         effect_value_buf_asymmetric_buf.appear = static_cast<Ark_TransitionEffect>(thisDeserializer.readTransitionEffect());
35646         effect_value_buf_asymmetric_buf.disappear = static_cast<Ark_TransitionEffect>(thisDeserializer.readTransitionEffect());
35647         effect_value_buf.asymmetric = effect_value_buf_asymmetric_buf;
35648         Ark_TransitionEffects effect_value = effect_value_buf;;
35649         return GetAccessors()->getTransitionEffectAccessor()->ctor((const Ark_String*) (&type), (const Ark_TransitionEffects*)&effect_value);
35650 }
KOALA_INTEROP_3(TransitionEffect_ctor,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)35651 KOALA_INTEROP_3(TransitionEffect_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
35652 Ark_NativePointer impl_TransitionEffect_getFinalizer() {
35653         return GetAccessors()->getTransitionEffectAccessor()->getFinalizer();
35654 }
KOALA_INTEROP_DIRECT_0(TransitionEffect_getFinalizer,Ark_NativePointer)35655 KOALA_INTEROP_DIRECT_0(TransitionEffect_getFinalizer, Ark_NativePointer)
35656 Ark_NativePointer impl_TransitionEffect_translate(KSerializerBuffer thisArray, int32_t thisLength) {
35657         Deserializer thisDeserializer(thisArray, thisLength);
35658         Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();;
35659         return GetAccessors()->getTransitionEffectAccessor()->translate((const Ark_TranslateOptions*)&options_value);
35660 }
KOALA_INTEROP_DIRECT_2(TransitionEffect_translate,Ark_NativePointer,KSerializerBuffer,int32_t)35661 KOALA_INTEROP_DIRECT_2(TransitionEffect_translate, Ark_NativePointer, KSerializerBuffer, int32_t)
35662 Ark_NativePointer impl_TransitionEffect_rotate(KSerializerBuffer thisArray, int32_t thisLength) {
35663         Deserializer thisDeserializer(thisArray, thisLength);
35664         Ark_RotateOptions options_value = thisDeserializer.readRotateOptions();;
35665         return GetAccessors()->getTransitionEffectAccessor()->rotate((const Ark_RotateOptions*)&options_value);
35666 }
KOALA_INTEROP_DIRECT_2(TransitionEffect_rotate,Ark_NativePointer,KSerializerBuffer,int32_t)35667 KOALA_INTEROP_DIRECT_2(TransitionEffect_rotate, Ark_NativePointer, KSerializerBuffer, int32_t)
35668 Ark_NativePointer impl_TransitionEffect_scale(KSerializerBuffer thisArray, int32_t thisLength) {
35669         Deserializer thisDeserializer(thisArray, thisLength);
35670         Ark_ScaleOptions options_value = thisDeserializer.readScaleOptions();;
35671         return GetAccessors()->getTransitionEffectAccessor()->scale((const Ark_ScaleOptions*)&options_value);
35672 }
KOALA_INTEROP_DIRECT_2(TransitionEffect_scale,Ark_NativePointer,KSerializerBuffer,int32_t)35673 KOALA_INTEROP_DIRECT_2(TransitionEffect_scale, Ark_NativePointer, KSerializerBuffer, int32_t)
35674 Ark_NativePointer impl_TransitionEffect_opacity(KInteropNumber alpha) {
35675         return GetAccessors()->getTransitionEffectAccessor()->opacity((const Ark_Number*) (&alpha));
35676 }
KOALA_INTEROP_DIRECT_1(TransitionEffect_opacity,Ark_NativePointer,KInteropNumber)35677 KOALA_INTEROP_DIRECT_1(TransitionEffect_opacity, Ark_NativePointer, KInteropNumber)
35678 Ark_NativePointer impl_TransitionEffect_move(Ark_Int32 edge) {
35679         return GetAccessors()->getTransitionEffectAccessor()->move(static_cast<Ark_TransitionEdge>(edge));
35680 }
KOALA_INTEROP_DIRECT_1(TransitionEffect_move,Ark_NativePointer,Ark_Int32)35681 KOALA_INTEROP_DIRECT_1(TransitionEffect_move, Ark_NativePointer, Ark_Int32)
35682 Ark_NativePointer impl_TransitionEffect_asymmetric(Ark_NativePointer appear, Ark_NativePointer disappear) {
35683         return GetAccessors()->getTransitionEffectAccessor()->asymmetric(static_cast<Ark_TransitionEffect>(appear), static_cast<Ark_TransitionEffect>(disappear));
35684 }
KOALA_INTEROP_DIRECT_2(TransitionEffect_asymmetric,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)35685 KOALA_INTEROP_DIRECT_2(TransitionEffect_asymmetric, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
35686 Ark_NativePointer impl_TransitionEffect_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35687         Ark_TransitionEffect self = reinterpret_cast<Ark_TransitionEffect>(thisPtr);
35688         Deserializer thisDeserializer(thisArray, thisLength);
35689         Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();;
35690         return GetAccessors()->getTransitionEffectAccessor()->animation(self, (const Ark_AnimateParam*)&value_value);
35691 }
KOALA_INTEROP_DIRECT_3(TransitionEffect_animation,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)35692 KOALA_INTEROP_DIRECT_3(TransitionEffect_animation, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
35693 Ark_NativePointer impl_TransitionEffect_combine(Ark_NativePointer thisPtr, Ark_NativePointer transitionEffect) {
35694         Ark_TransitionEffect self = reinterpret_cast<Ark_TransitionEffect>(thisPtr);
35695         return GetAccessors()->getTransitionEffectAccessor()->combine(self, static_cast<Ark_TransitionEffect>(transitionEffect));
35696 }
KOALA_INTEROP_DIRECT_2(TransitionEffect_combine,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)35697 KOALA_INTEROP_DIRECT_2(TransitionEffect_combine, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
35698 Ark_NativePointer impl_TransitionEffect_getIDENTITY() {
35699         return GetAccessors()->getTransitionEffectAccessor()->getIDENTITY();
35700 }
KOALA_INTEROP_DIRECT_0(TransitionEffect_getIDENTITY,Ark_NativePointer)35701 KOALA_INTEROP_DIRECT_0(TransitionEffect_getIDENTITY, Ark_NativePointer)
35702 Ark_NativePointer impl_TransitionEffect_getOPACITY() {
35703         return GetAccessors()->getTransitionEffectAccessor()->getOPACITY();
35704 }
KOALA_INTEROP_DIRECT_0(TransitionEffect_getOPACITY,Ark_NativePointer)35705 KOALA_INTEROP_DIRECT_0(TransitionEffect_getOPACITY, Ark_NativePointer)
35706 Ark_NativePointer impl_TransitionEffect_getSLIDE() {
35707         return GetAccessors()->getTransitionEffectAccessor()->getSLIDE();
35708 }
KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE,Ark_NativePointer)35709 KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE, Ark_NativePointer)
35710 Ark_NativePointer impl_TransitionEffect_getSLIDE_SWITCH() {
35711         return GetAccessors()->getTransitionEffectAccessor()->getSLIDE_SWITCH();
35712 }
KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE_SWITCH,Ark_NativePointer)35713 KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE_SWITCH, Ark_NativePointer)
35714 Ark_NativePointer impl_BaseEvent_ctor() {
35715         return GetAccessors()->getBaseEventAccessor()->ctor();
35716 }
KOALA_INTEROP_DIRECT_0(BaseEvent_ctor,Ark_NativePointer)35717 KOALA_INTEROP_DIRECT_0(BaseEvent_ctor, Ark_NativePointer)
35718 Ark_NativePointer impl_BaseEvent_getFinalizer() {
35719         return GetAccessors()->getBaseEventAccessor()->getFinalizer();
35720 }
KOALA_INTEROP_DIRECT_0(BaseEvent_getFinalizer,Ark_NativePointer)35721 KOALA_INTEROP_DIRECT_0(BaseEvent_getFinalizer, Ark_NativePointer)
35722 Ark_Boolean impl_BaseEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35723         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35724         Deserializer thisDeserializer(thisArray, thisLength);
35725         const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32();
35726         Array_String keys_value_buf = {};
35727         thisDeserializer.resizeArray<std::decay<decltype(keys_value_buf)>::type,
35728         std::decay<decltype(*keys_value_buf.array)>::type>(&keys_value_buf, keys_value_buf_length);
35729         for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) {
35730             keys_value_buf.array[keys_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
35731         }
35732         Array_String keys_value = keys_value_buf;;
35733         return GetAccessors()->getBaseEventAccessor()->getModifierKeyState(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Array_String*)&keys_value);
35734 }
KOALA_INTEROP_CTX_3(BaseEvent_getModifierKeyState,Ark_Boolean,Ark_NativePointer,KSerializerBuffer,int32_t)35735 KOALA_INTEROP_CTX_3(BaseEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t)
35736 KInteropReturnBuffer impl_BaseEvent_getTarget(Ark_NativePointer thisPtr) {
35737         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35738         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTarget(self);
35739         Serializer _retSerializer {};
35740         _retSerializer.writeEventTarget(retValue);
35741         return _retSerializer.toReturnBuffer();
35742 }
KOALA_INTEROP_1(BaseEvent_getTarget,KInteropReturnBuffer,Ark_NativePointer)35743 KOALA_INTEROP_1(BaseEvent_getTarget, KInteropReturnBuffer, Ark_NativePointer)
35744 void impl_BaseEvent_setTarget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
35745         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35746         Deserializer thisDeserializer(thisArray, thisLength);
35747         Ark_EventTarget target_value = thisDeserializer.readEventTarget();;
35748         GetAccessors()->getBaseEventAccessor()->setTarget(self, (const Ark_EventTarget*)&target_value);
35749 }
KOALA_INTEROP_DIRECT_V3(BaseEvent_setTarget,Ark_NativePointer,KSerializerBuffer,int32_t)35750 KOALA_INTEROP_DIRECT_V3(BaseEvent_setTarget, Ark_NativePointer, KSerializerBuffer, int32_t)
35751 Ark_Int64 impl_BaseEvent_getTimestamp(Ark_NativePointer thisPtr) {
35752         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35753         return GetAccessors()->getBaseEventAccessor()->getTimestamp(self);
35754 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getTimestamp,Ark_Int64,Ark_NativePointer)35755 KOALA_INTEROP_DIRECT_1(BaseEvent_getTimestamp, Ark_Int64, Ark_NativePointer)
35756 void impl_BaseEvent_setTimestamp(Ark_NativePointer thisPtr, Ark_Int64 timestamp) {
35757         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35758         GetAccessors()->getBaseEventAccessor()->setTimestamp(self, timestamp);
35759 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setTimestamp,Ark_NativePointer,Ark_Int64)35760 KOALA_INTEROP_DIRECT_V2(BaseEvent_setTimestamp, Ark_NativePointer, Ark_Int64)
35761 Ark_Int32 impl_BaseEvent_getSource(Ark_NativePointer thisPtr) {
35762         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35763         return GetAccessors()->getBaseEventAccessor()->getSource(self);
35764 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getSource,Ark_Int32,Ark_NativePointer)35765 KOALA_INTEROP_DIRECT_1(BaseEvent_getSource, Ark_Int32, Ark_NativePointer)
35766 void impl_BaseEvent_setSource(Ark_NativePointer thisPtr, Ark_Int32 source) {
35767         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35768         GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast<Ark_SourceType>(source));
35769 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setSource,Ark_NativePointer,Ark_Int32)35770 KOALA_INTEROP_DIRECT_V2(BaseEvent_setSource, Ark_NativePointer, Ark_Int32)
35771 KInteropReturnBuffer impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) {
35772         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35773         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self);
35774         Serializer _retSerializer {};
35775         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35776         retValue_type = runtimeType(retValue);
35777         _retSerializer.writeInt8(retValue_type);
35778         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
35779             const auto retValue_value = retValue.value;
35780             _retSerializer.writeNumber(retValue_value);
35781         }
35782         return _retSerializer.toReturnBuffer();
35783 }
KOALA_INTEROP_1(BaseEvent_getAxisHorizontal,KInteropReturnBuffer,Ark_NativePointer)35784 KOALA_INTEROP_1(BaseEvent_getAxisHorizontal, KInteropReturnBuffer, Ark_NativePointer)
35785 void impl_BaseEvent_setAxisHorizontal(Ark_NativePointer thisPtr, KInteropNumber axisHorizontal) {
35786         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35787         GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, (const Ark_Number*) (&axisHorizontal));
35788 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisHorizontal,Ark_NativePointer,KInteropNumber)35789 KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisHorizontal, Ark_NativePointer, KInteropNumber)
35790 KInteropReturnBuffer impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) {
35791         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35792         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisVertical(self);
35793         Serializer _retSerializer {};
35794         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35795         retValue_type = runtimeType(retValue);
35796         _retSerializer.writeInt8(retValue_type);
35797         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
35798             const auto retValue_value = retValue.value;
35799             _retSerializer.writeNumber(retValue_value);
35800         }
35801         return _retSerializer.toReturnBuffer();
35802 }
KOALA_INTEROP_1(BaseEvent_getAxisVertical,KInteropReturnBuffer,Ark_NativePointer)35803 KOALA_INTEROP_1(BaseEvent_getAxisVertical, KInteropReturnBuffer, Ark_NativePointer)
35804 void impl_BaseEvent_setAxisVertical(Ark_NativePointer thisPtr, KInteropNumber axisVertical) {
35805         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35806         GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, (const Ark_Number*) (&axisVertical));
35807 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisVertical,Ark_NativePointer,KInteropNumber)35808 KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisVertical, Ark_NativePointer, KInteropNumber)
35809 Ark_Number impl_BaseEvent_getPressure(Ark_NativePointer thisPtr) {
35810         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35811         return GetAccessors()->getBaseEventAccessor()->getPressure(self);
35812 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getPressure,KInteropNumber,Ark_NativePointer)35813 KOALA_INTEROP_DIRECT_1(BaseEvent_getPressure, KInteropNumber, Ark_NativePointer)
35814 void impl_BaseEvent_setPressure(Ark_NativePointer thisPtr, KInteropNumber pressure) {
35815         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35816         GetAccessors()->getBaseEventAccessor()->setPressure(self, (const Ark_Number*) (&pressure));
35817 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setPressure,Ark_NativePointer,KInteropNumber)35818 KOALA_INTEROP_DIRECT_V2(BaseEvent_setPressure, Ark_NativePointer, KInteropNumber)
35819 Ark_Number impl_BaseEvent_getTiltX(Ark_NativePointer thisPtr) {
35820         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35821         return GetAccessors()->getBaseEventAccessor()->getTiltX(self);
35822 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltX,KInteropNumber,Ark_NativePointer)35823 KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltX, KInteropNumber, Ark_NativePointer)
35824 void impl_BaseEvent_setTiltX(Ark_NativePointer thisPtr, KInteropNumber tiltX) {
35825         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35826         GetAccessors()->getBaseEventAccessor()->setTiltX(self, (const Ark_Number*) (&tiltX));
35827 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltX,Ark_NativePointer,KInteropNumber)35828 KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltX, Ark_NativePointer, KInteropNumber)
35829 Ark_Number impl_BaseEvent_getTiltY(Ark_NativePointer thisPtr) {
35830         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35831         return GetAccessors()->getBaseEventAccessor()->getTiltY(self);
35832 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltY,KInteropNumber,Ark_NativePointer)35833 KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltY, KInteropNumber, Ark_NativePointer)
35834 void impl_BaseEvent_setTiltY(Ark_NativePointer thisPtr, KInteropNumber tiltY) {
35835         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35836         GetAccessors()->getBaseEventAccessor()->setTiltY(self, (const Ark_Number*) (&tiltY));
35837 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltY,Ark_NativePointer,KInteropNumber)35838 KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltY, Ark_NativePointer, KInteropNumber)
35839 KInteropReturnBuffer impl_BaseEvent_getRollAngle(Ark_NativePointer thisPtr) {
35840         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35841         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getRollAngle(self);
35842         Serializer _retSerializer {};
35843         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35844         retValue_type = runtimeType(retValue);
35845         _retSerializer.writeInt8(retValue_type);
35846         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
35847             const auto retValue_value = retValue.value;
35848             _retSerializer.writeNumber(retValue_value);
35849         }
35850         return _retSerializer.toReturnBuffer();
35851 }
KOALA_INTEROP_1(BaseEvent_getRollAngle,KInteropReturnBuffer,Ark_NativePointer)35852 KOALA_INTEROP_1(BaseEvent_getRollAngle, KInteropReturnBuffer, Ark_NativePointer)
35853 void impl_BaseEvent_setRollAngle(Ark_NativePointer thisPtr, KInteropNumber rollAngle) {
35854         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35855         GetAccessors()->getBaseEventAccessor()->setRollAngle(self, (const Ark_Number*) (&rollAngle));
35856 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setRollAngle,Ark_NativePointer,KInteropNumber)35857 KOALA_INTEROP_DIRECT_V2(BaseEvent_setRollAngle, Ark_NativePointer, KInteropNumber)
35858 Ark_Int32 impl_BaseEvent_getSourceTool(Ark_NativePointer thisPtr) {
35859         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35860         return GetAccessors()->getBaseEventAccessor()->getSourceTool(self);
35861 }
KOALA_INTEROP_DIRECT_1(BaseEvent_getSourceTool,Ark_Int32,Ark_NativePointer)35862 KOALA_INTEROP_DIRECT_1(BaseEvent_getSourceTool, Ark_Int32, Ark_NativePointer)
35863 void impl_BaseEvent_setSourceTool(Ark_NativePointer thisPtr, Ark_Int32 sourceTool) {
35864         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35865         GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast<Ark_SourceTool>(sourceTool));
35866 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setSourceTool,Ark_NativePointer,Ark_Int32)35867 KOALA_INTEROP_DIRECT_V2(BaseEvent_setSourceTool, Ark_NativePointer, Ark_Int32)
35868 KInteropReturnBuffer impl_BaseEvent_getDeviceId(Ark_NativePointer thisPtr) {
35869         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35870         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getDeviceId(self);
35871         Serializer _retSerializer {};
35872         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35873         retValue_type = runtimeType(retValue);
35874         _retSerializer.writeInt8(retValue_type);
35875         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
35876             const auto retValue_value = retValue.value;
35877             _retSerializer.writeNumber(retValue_value);
35878         }
35879         return _retSerializer.toReturnBuffer();
35880 }
KOALA_INTEROP_1(BaseEvent_getDeviceId,KInteropReturnBuffer,Ark_NativePointer)35881 KOALA_INTEROP_1(BaseEvent_getDeviceId, KInteropReturnBuffer, Ark_NativePointer)
35882 void impl_BaseEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) {
35883         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35884         GetAccessors()->getBaseEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId));
35885 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setDeviceId,Ark_NativePointer,KInteropNumber)35886 KOALA_INTEROP_DIRECT_V2(BaseEvent_setDeviceId, Ark_NativePointer, KInteropNumber)
35887 KInteropReturnBuffer impl_BaseEvent_getTargetDisplayId(Ark_NativePointer thisPtr) {
35888         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35889         const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTargetDisplayId(self);
35890         Serializer _retSerializer {};
35891         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35892         retValue_type = runtimeType(retValue);
35893         _retSerializer.writeInt8(retValue_type);
35894         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
35895             const auto retValue_value = retValue.value;
35896             _retSerializer.writeNumber(retValue_value);
35897         }
35898         return _retSerializer.toReturnBuffer();
35899 }
KOALA_INTEROP_1(BaseEvent_getTargetDisplayId,KInteropReturnBuffer,Ark_NativePointer)35900 KOALA_INTEROP_1(BaseEvent_getTargetDisplayId, KInteropReturnBuffer, Ark_NativePointer)
35901 void impl_BaseEvent_setTargetDisplayId(Ark_NativePointer thisPtr, KInteropNumber targetDisplayId) {
35902         Ark_BaseEvent self = reinterpret_cast<Ark_BaseEvent>(thisPtr);
35903         GetAccessors()->getBaseEventAccessor()->setTargetDisplayId(self, (const Ark_Number*) (&targetDisplayId));
35904 }
KOALA_INTEROP_DIRECT_V2(BaseEvent_setTargetDisplayId,Ark_NativePointer,KInteropNumber)35905 KOALA_INTEROP_DIRECT_V2(BaseEvent_setTargetDisplayId, Ark_NativePointer, KInteropNumber)
35906 Ark_NativePointer impl_ClickEvent_ctor() {
35907         return GetAccessors()->getClickEventAccessor()->ctor();
35908 }
KOALA_INTEROP_DIRECT_0(ClickEvent_ctor,Ark_NativePointer)35909 KOALA_INTEROP_DIRECT_0(ClickEvent_ctor, Ark_NativePointer)
35910 Ark_NativePointer impl_ClickEvent_getFinalizer() {
35911         return GetAccessors()->getClickEventAccessor()->getFinalizer();
35912 }
KOALA_INTEROP_DIRECT_0(ClickEvent_getFinalizer,Ark_NativePointer)35913 KOALA_INTEROP_DIRECT_0(ClickEvent_getFinalizer, Ark_NativePointer)
35914 Ark_Number impl_ClickEvent_getDisplayX(Ark_NativePointer thisPtr) {
35915         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35916         return GetAccessors()->getClickEventAccessor()->getDisplayX(self);
35917 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayX,KInteropNumber,Ark_NativePointer)35918 KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayX, KInteropNumber, Ark_NativePointer)
35919 void impl_ClickEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) {
35920         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35921         GetAccessors()->getClickEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX));
35922 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayX,Ark_NativePointer,KInteropNumber)35923 KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayX, Ark_NativePointer, KInteropNumber)
35924 Ark_Number impl_ClickEvent_getDisplayY(Ark_NativePointer thisPtr) {
35925         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35926         return GetAccessors()->getClickEventAccessor()->getDisplayY(self);
35927 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayY,KInteropNumber,Ark_NativePointer)35928 KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayY, KInteropNumber, Ark_NativePointer)
35929 void impl_ClickEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) {
35930         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35931         GetAccessors()->getClickEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY));
35932 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayY,Ark_NativePointer,KInteropNumber)35933 KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayY, Ark_NativePointer, KInteropNumber)
35934 Ark_Number impl_ClickEvent_getWindowX(Ark_NativePointer thisPtr) {
35935         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35936         return GetAccessors()->getClickEventAccessor()->getWindowX(self);
35937 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowX,KInteropNumber,Ark_NativePointer)35938 KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowX, KInteropNumber, Ark_NativePointer)
35939 void impl_ClickEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) {
35940         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35941         GetAccessors()->getClickEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX));
35942 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowX,Ark_NativePointer,KInteropNumber)35943 KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowX, Ark_NativePointer, KInteropNumber)
35944 Ark_Number impl_ClickEvent_getWindowY(Ark_NativePointer thisPtr) {
35945         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35946         return GetAccessors()->getClickEventAccessor()->getWindowY(self);
35947 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowY,KInteropNumber,Ark_NativePointer)35948 KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowY, KInteropNumber, Ark_NativePointer)
35949 void impl_ClickEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) {
35950         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35951         GetAccessors()->getClickEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY));
35952 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowY,Ark_NativePointer,KInteropNumber)35953 KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowY, Ark_NativePointer, KInteropNumber)
35954 Ark_Number impl_ClickEvent_getScreenX(Ark_NativePointer thisPtr) {
35955         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35956         return GetAccessors()->getClickEventAccessor()->getScreenX(self);
35957 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenX,KInteropNumber,Ark_NativePointer)35958 KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenX, KInteropNumber, Ark_NativePointer)
35959 void impl_ClickEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) {
35960         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35961         GetAccessors()->getClickEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX));
35962 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenX,Ark_NativePointer,KInteropNumber)35963 KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenX, Ark_NativePointer, KInteropNumber)
35964 Ark_Number impl_ClickEvent_getScreenY(Ark_NativePointer thisPtr) {
35965         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35966         return GetAccessors()->getClickEventAccessor()->getScreenY(self);
35967 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenY,KInteropNumber,Ark_NativePointer)35968 KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenY, KInteropNumber, Ark_NativePointer)
35969 void impl_ClickEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) {
35970         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35971         GetAccessors()->getClickEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY));
35972 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenY,Ark_NativePointer,KInteropNumber)35973 KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenY, Ark_NativePointer, KInteropNumber)
35974 Ark_Number impl_ClickEvent_getX(Ark_NativePointer thisPtr) {
35975         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35976         return GetAccessors()->getClickEventAccessor()->getX(self);
35977 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getX,KInteropNumber,Ark_NativePointer)35978 KOALA_INTEROP_DIRECT_1(ClickEvent_getX, KInteropNumber, Ark_NativePointer)
35979 void impl_ClickEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) {
35980         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35981         GetAccessors()->getClickEventAccessor()->setX(self, (const Ark_Number*) (&x));
35982 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setX,Ark_NativePointer,KInteropNumber)35983 KOALA_INTEROP_DIRECT_V2(ClickEvent_setX, Ark_NativePointer, KInteropNumber)
35984 Ark_Number impl_ClickEvent_getY(Ark_NativePointer thisPtr) {
35985         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35986         return GetAccessors()->getClickEventAccessor()->getY(self);
35987 }
KOALA_INTEROP_DIRECT_1(ClickEvent_getY,KInteropNumber,Ark_NativePointer)35988 KOALA_INTEROP_DIRECT_1(ClickEvent_getY, KInteropNumber, Ark_NativePointer)
35989 void impl_ClickEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) {
35990         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35991         GetAccessors()->getClickEventAccessor()->setY(self, (const Ark_Number*) (&y));
35992 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setY,Ark_NativePointer,KInteropNumber)35993 KOALA_INTEROP_DIRECT_V2(ClickEvent_setY, Ark_NativePointer, KInteropNumber)
35994 KInteropReturnBuffer impl_ClickEvent_getHand(Ark_NativePointer thisPtr) {
35995         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
35996         const auto &retValue = GetAccessors()->getClickEventAccessor()->getHand(self);
35997         Serializer _retSerializer {};
35998         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
35999         retValue_type = runtimeType(retValue);
36000         _retSerializer.writeInt8(retValue_type);
36001         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36002             const auto retValue_value = retValue.value;
36003             _retSerializer.writeInt32(static_cast<Ark_InteractionHand>(retValue_value));
36004         }
36005         return _retSerializer.toReturnBuffer();
36006 }
KOALA_INTEROP_1(ClickEvent_getHand,KInteropReturnBuffer,Ark_NativePointer)36007 KOALA_INTEROP_1(ClickEvent_getHand, KInteropReturnBuffer, Ark_NativePointer)
36008 void impl_ClickEvent_setHand(Ark_NativePointer thisPtr, Ark_Int32 hand) {
36009         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
36010         GetAccessors()->getClickEventAccessor()->setHand(self, static_cast<Ark_InteractionHand>(hand));
36011 }
KOALA_INTEROP_DIRECT_V2(ClickEvent_setHand,Ark_NativePointer,Ark_Int32)36012 KOALA_INTEROP_DIRECT_V2(ClickEvent_setHand, Ark_NativePointer, Ark_Int32)
36013 KInteropReturnBuffer impl_ClickEvent_getPreventDefault(Ark_NativePointer thisPtr) {
36014         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
36015         [[maybe_unused]] const auto &retValue = GetAccessors()->getClickEventAccessor()->getPreventDefault(self);
36016         Serializer _retSerializer {};
36017         _retSerializer.writeCallbackResource(retValue.resource);
36018         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.call));
36019         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.callSync));
36020         return _retSerializer.toReturnBuffer();
36021 }
KOALA_INTEROP_1(ClickEvent_getPreventDefault,KInteropReturnBuffer,Ark_NativePointer)36022 KOALA_INTEROP_1(ClickEvent_getPreventDefault, KInteropReturnBuffer, Ark_NativePointer)
36023 void impl_ClickEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36024         Ark_ClickEvent self = reinterpret_cast<Ark_ClickEvent>(thisPtr);
36025         Deserializer thisDeserializer(thisArray, thisLength);
36026         Callback_Void preventDefault_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36027         GetAccessors()->getClickEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value);
36028 }
KOALA_INTEROP_DIRECT_V3(ClickEvent_setPreventDefault,Ark_NativePointer,KSerializerBuffer,int32_t)36029 KOALA_INTEROP_DIRECT_V3(ClickEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t)
36030 Ark_NativePointer impl_HoverEvent_ctor() {
36031         return GetAccessors()->getHoverEventAccessor()->ctor();
36032 }
KOALA_INTEROP_DIRECT_0(HoverEvent_ctor,Ark_NativePointer)36033 KOALA_INTEROP_DIRECT_0(HoverEvent_ctor, Ark_NativePointer)
36034 Ark_NativePointer impl_HoverEvent_getFinalizer() {
36035         return GetAccessors()->getHoverEventAccessor()->getFinalizer();
36036 }
KOALA_INTEROP_DIRECT_0(HoverEvent_getFinalizer,Ark_NativePointer)36037 KOALA_INTEROP_DIRECT_0(HoverEvent_getFinalizer, Ark_NativePointer)
36038 KInteropReturnBuffer impl_HoverEvent_getX(Ark_NativePointer thisPtr) {
36039         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36040         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getX(self);
36041         Serializer _retSerializer {};
36042         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36043         retValue_type = runtimeType(retValue);
36044         _retSerializer.writeInt8(retValue_type);
36045         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36046             const auto retValue_value = retValue.value;
36047             _retSerializer.writeNumber(retValue_value);
36048         }
36049         return _retSerializer.toReturnBuffer();
36050 }
KOALA_INTEROP_1(HoverEvent_getX,KInteropReturnBuffer,Ark_NativePointer)36051 KOALA_INTEROP_1(HoverEvent_getX, KInteropReturnBuffer, Ark_NativePointer)
36052 void impl_HoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) {
36053         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36054         GetAccessors()->getHoverEventAccessor()->setX(self, (const Ark_Number*) (&x));
36055 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setX,Ark_NativePointer,KInteropNumber)36056 KOALA_INTEROP_DIRECT_V2(HoverEvent_setX, Ark_NativePointer, KInteropNumber)
36057 KInteropReturnBuffer impl_HoverEvent_getY(Ark_NativePointer thisPtr) {
36058         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36059         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getY(self);
36060         Serializer _retSerializer {};
36061         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36062         retValue_type = runtimeType(retValue);
36063         _retSerializer.writeInt8(retValue_type);
36064         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36065             const auto retValue_value = retValue.value;
36066             _retSerializer.writeNumber(retValue_value);
36067         }
36068         return _retSerializer.toReturnBuffer();
36069 }
KOALA_INTEROP_1(HoverEvent_getY,KInteropReturnBuffer,Ark_NativePointer)36070 KOALA_INTEROP_1(HoverEvent_getY, KInteropReturnBuffer, Ark_NativePointer)
36071 void impl_HoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) {
36072         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36073         GetAccessors()->getHoverEventAccessor()->setY(self, (const Ark_Number*) (&y));
36074 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setY,Ark_NativePointer,KInteropNumber)36075 KOALA_INTEROP_DIRECT_V2(HoverEvent_setY, Ark_NativePointer, KInteropNumber)
36076 KInteropReturnBuffer impl_HoverEvent_getWindowX(Ark_NativePointer thisPtr) {
36077         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36078         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowX(self);
36079         Serializer _retSerializer {};
36080         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36081         retValue_type = runtimeType(retValue);
36082         _retSerializer.writeInt8(retValue_type);
36083         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36084             const auto retValue_value = retValue.value;
36085             _retSerializer.writeNumber(retValue_value);
36086         }
36087         return _retSerializer.toReturnBuffer();
36088 }
KOALA_INTEROP_1(HoverEvent_getWindowX,KInteropReturnBuffer,Ark_NativePointer)36089 KOALA_INTEROP_1(HoverEvent_getWindowX, KInteropReturnBuffer, Ark_NativePointer)
36090 void impl_HoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) {
36091         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36092         GetAccessors()->getHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX));
36093 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowX,Ark_NativePointer,KInteropNumber)36094 KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowX, Ark_NativePointer, KInteropNumber)
36095 KInteropReturnBuffer impl_HoverEvent_getWindowY(Ark_NativePointer thisPtr) {
36096         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36097         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowY(self);
36098         Serializer _retSerializer {};
36099         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36100         retValue_type = runtimeType(retValue);
36101         _retSerializer.writeInt8(retValue_type);
36102         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36103             const auto retValue_value = retValue.value;
36104             _retSerializer.writeNumber(retValue_value);
36105         }
36106         return _retSerializer.toReturnBuffer();
36107 }
KOALA_INTEROP_1(HoverEvent_getWindowY,KInteropReturnBuffer,Ark_NativePointer)36108 KOALA_INTEROP_1(HoverEvent_getWindowY, KInteropReturnBuffer, Ark_NativePointer)
36109 void impl_HoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) {
36110         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36111         GetAccessors()->getHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY));
36112 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowY,Ark_NativePointer,KInteropNumber)36113 KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowY, Ark_NativePointer, KInteropNumber)
36114 KInteropReturnBuffer impl_HoverEvent_getDisplayX(Ark_NativePointer thisPtr) {
36115         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36116         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayX(self);
36117         Serializer _retSerializer {};
36118         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36119         retValue_type = runtimeType(retValue);
36120         _retSerializer.writeInt8(retValue_type);
36121         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36122             const auto retValue_value = retValue.value;
36123             _retSerializer.writeNumber(retValue_value);
36124         }
36125         return _retSerializer.toReturnBuffer();
36126 }
KOALA_INTEROP_1(HoverEvent_getDisplayX,KInteropReturnBuffer,Ark_NativePointer)36127 KOALA_INTEROP_1(HoverEvent_getDisplayX, KInteropReturnBuffer, Ark_NativePointer)
36128 void impl_HoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) {
36129         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36130         GetAccessors()->getHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX));
36131 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayX,Ark_NativePointer,KInteropNumber)36132 KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber)
36133 KInteropReturnBuffer impl_HoverEvent_getDisplayY(Ark_NativePointer thisPtr) {
36134         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36135         const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayY(self);
36136         Serializer _retSerializer {};
36137         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36138         retValue_type = runtimeType(retValue);
36139         _retSerializer.writeInt8(retValue_type);
36140         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36141             const auto retValue_value = retValue.value;
36142             _retSerializer.writeNumber(retValue_value);
36143         }
36144         return _retSerializer.toReturnBuffer();
36145 }
KOALA_INTEROP_1(HoverEvent_getDisplayY,KInteropReturnBuffer,Ark_NativePointer)36146 KOALA_INTEROP_1(HoverEvent_getDisplayY, KInteropReturnBuffer, Ark_NativePointer)
36147 void impl_HoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) {
36148         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36149         GetAccessors()->getHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY));
36150 }
KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayY,Ark_NativePointer,KInteropNumber)36151 KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber)
36152 Ark_NativePointer impl_HoverEvent_getStopPropagation(Ark_NativePointer thisPtr) {
36153         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36154         [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getHoverEventAccessor()->getStopPropagation(self);
36155         // TODO: Value serialization needs to be implemented
36156         return {};
36157 }
KOALA_INTEROP_DIRECT_1(HoverEvent_getStopPropagation,Ark_NativePointer,Ark_NativePointer)36158 KOALA_INTEROP_DIRECT_1(HoverEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer)
36159 void impl_HoverEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36160         Ark_HoverEvent self = reinterpret_cast<Ark_HoverEvent>(thisPtr);
36161         Deserializer thisDeserializer(thisArray, thisLength);
36162         Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36163         GetAccessors()->getHoverEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value);
36164 }
KOALA_INTEROP_DIRECT_V3(HoverEvent_setStopPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)36165 KOALA_INTEROP_DIRECT_V3(HoverEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
36166 Ark_NativePointer impl_MouseEvent_ctor() {
36167         return GetAccessors()->getMouseEventAccessor()->ctor();
36168 }
KOALA_INTEROP_DIRECT_0(MouseEvent_ctor,Ark_NativePointer)36169 KOALA_INTEROP_DIRECT_0(MouseEvent_ctor, Ark_NativePointer)
36170 Ark_NativePointer impl_MouseEvent_getFinalizer() {
36171         return GetAccessors()->getMouseEventAccessor()->getFinalizer();
36172 }
KOALA_INTEROP_DIRECT_0(MouseEvent_getFinalizer,Ark_NativePointer)36173 KOALA_INTEROP_DIRECT_0(MouseEvent_getFinalizer, Ark_NativePointer)
36174 Ark_Int32 impl_MouseEvent_getButton(Ark_NativePointer thisPtr) {
36175         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36176         return GetAccessors()->getMouseEventAccessor()->getButton(self);
36177 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getButton,Ark_Int32,Ark_NativePointer)36178 KOALA_INTEROP_DIRECT_1(MouseEvent_getButton, Ark_Int32, Ark_NativePointer)
36179 void impl_MouseEvent_setButton(Ark_NativePointer thisPtr, Ark_Int32 button) {
36180         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36181         GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast<Ark_MouseButton>(button));
36182 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setButton,Ark_NativePointer,Ark_Int32)36183 KOALA_INTEROP_DIRECT_V2(MouseEvent_setButton, Ark_NativePointer, Ark_Int32)
36184 Ark_Int32 impl_MouseEvent_getAction(Ark_NativePointer thisPtr) {
36185         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36186         return GetAccessors()->getMouseEventAccessor()->getAction(self);
36187 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getAction,Ark_Int32,Ark_NativePointer)36188 KOALA_INTEROP_DIRECT_1(MouseEvent_getAction, Ark_Int32, Ark_NativePointer)
36189 void impl_MouseEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) {
36190         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36191         GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast<Ark_MouseAction>(action));
36192 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setAction,Ark_NativePointer,Ark_Int32)36193 KOALA_INTEROP_DIRECT_V2(MouseEvent_setAction, Ark_NativePointer, Ark_Int32)
36194 Ark_Number impl_MouseEvent_getDisplayX(Ark_NativePointer thisPtr) {
36195         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36196         return GetAccessors()->getMouseEventAccessor()->getDisplayX(self);
36197 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayX,KInteropNumber,Ark_NativePointer)36198 KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayX, KInteropNumber, Ark_NativePointer)
36199 void impl_MouseEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) {
36200         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36201         GetAccessors()->getMouseEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX));
36202 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayX,Ark_NativePointer,KInteropNumber)36203 KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayX, Ark_NativePointer, KInteropNumber)
36204 Ark_Number impl_MouseEvent_getDisplayY(Ark_NativePointer thisPtr) {
36205         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36206         return GetAccessors()->getMouseEventAccessor()->getDisplayY(self);
36207 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayY,KInteropNumber,Ark_NativePointer)36208 KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayY, KInteropNumber, Ark_NativePointer)
36209 void impl_MouseEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) {
36210         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36211         GetAccessors()->getMouseEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY));
36212 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayY,Ark_NativePointer,KInteropNumber)36213 KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayY, Ark_NativePointer, KInteropNumber)
36214 Ark_Number impl_MouseEvent_getWindowX(Ark_NativePointer thisPtr) {
36215         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36216         return GetAccessors()->getMouseEventAccessor()->getWindowX(self);
36217 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowX,KInteropNumber,Ark_NativePointer)36218 KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowX, KInteropNumber, Ark_NativePointer)
36219 void impl_MouseEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) {
36220         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36221         GetAccessors()->getMouseEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX));
36222 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowX,Ark_NativePointer,KInteropNumber)36223 KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowX, Ark_NativePointer, KInteropNumber)
36224 Ark_Number impl_MouseEvent_getWindowY(Ark_NativePointer thisPtr) {
36225         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36226         return GetAccessors()->getMouseEventAccessor()->getWindowY(self);
36227 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowY,KInteropNumber,Ark_NativePointer)36228 KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowY, KInteropNumber, Ark_NativePointer)
36229 void impl_MouseEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) {
36230         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36231         GetAccessors()->getMouseEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY));
36232 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowY,Ark_NativePointer,KInteropNumber)36233 KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowY, Ark_NativePointer, KInteropNumber)
36234 Ark_Number impl_MouseEvent_getScreenX(Ark_NativePointer thisPtr) {
36235         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36236         return GetAccessors()->getMouseEventAccessor()->getScreenX(self);
36237 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenX,KInteropNumber,Ark_NativePointer)36238 KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenX, KInteropNumber, Ark_NativePointer)
36239 void impl_MouseEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) {
36240         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36241         GetAccessors()->getMouseEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX));
36242 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenX,Ark_NativePointer,KInteropNumber)36243 KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenX, Ark_NativePointer, KInteropNumber)
36244 Ark_Number impl_MouseEvent_getScreenY(Ark_NativePointer thisPtr) {
36245         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36246         return GetAccessors()->getMouseEventAccessor()->getScreenY(self);
36247 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenY,KInteropNumber,Ark_NativePointer)36248 KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenY, KInteropNumber, Ark_NativePointer)
36249 void impl_MouseEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) {
36250         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36251         GetAccessors()->getMouseEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY));
36252 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenY,Ark_NativePointer,KInteropNumber)36253 KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenY, Ark_NativePointer, KInteropNumber)
36254 Ark_Number impl_MouseEvent_getX(Ark_NativePointer thisPtr) {
36255         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36256         return GetAccessors()->getMouseEventAccessor()->getX(self);
36257 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getX,KInteropNumber,Ark_NativePointer)36258 KOALA_INTEROP_DIRECT_1(MouseEvent_getX, KInteropNumber, Ark_NativePointer)
36259 void impl_MouseEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) {
36260         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36261         GetAccessors()->getMouseEventAccessor()->setX(self, (const Ark_Number*) (&x));
36262 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setX,Ark_NativePointer,KInteropNumber)36263 KOALA_INTEROP_DIRECT_V2(MouseEvent_setX, Ark_NativePointer, KInteropNumber)
36264 Ark_Number impl_MouseEvent_getY(Ark_NativePointer thisPtr) {
36265         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36266         return GetAccessors()->getMouseEventAccessor()->getY(self);
36267 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getY,KInteropNumber,Ark_NativePointer)36268 KOALA_INTEROP_DIRECT_1(MouseEvent_getY, KInteropNumber, Ark_NativePointer)
36269 void impl_MouseEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) {
36270         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36271         GetAccessors()->getMouseEventAccessor()->setY(self, (const Ark_Number*) (&y));
36272 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setY,Ark_NativePointer,KInteropNumber)36273 KOALA_INTEROP_DIRECT_V2(MouseEvent_setY, Ark_NativePointer, KInteropNumber)
36274 Ark_NativePointer impl_MouseEvent_getStopPropagation(Ark_NativePointer thisPtr) {
36275         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36276         [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getMouseEventAccessor()->getStopPropagation(self);
36277         // TODO: Value serialization needs to be implemented
36278         return {};
36279 }
KOALA_INTEROP_DIRECT_1(MouseEvent_getStopPropagation,Ark_NativePointer,Ark_NativePointer)36280 KOALA_INTEROP_DIRECT_1(MouseEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer)
36281 void impl_MouseEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36282         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36283         Deserializer thisDeserializer(thisArray, thisLength);
36284         Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36285         GetAccessors()->getMouseEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value);
36286 }
KOALA_INTEROP_DIRECT_V3(MouseEvent_setStopPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)36287 KOALA_INTEROP_DIRECT_V3(MouseEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
36288 KInteropReturnBuffer impl_MouseEvent_getRawDeltaX(Ark_NativePointer thisPtr) {
36289         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36290         const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaX(self);
36291         Serializer _retSerializer {};
36292         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36293         retValue_type = runtimeType(retValue);
36294         _retSerializer.writeInt8(retValue_type);
36295         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36296             const auto retValue_value = retValue.value;
36297             _retSerializer.writeNumber(retValue_value);
36298         }
36299         return _retSerializer.toReturnBuffer();
36300 }
KOALA_INTEROP_1(MouseEvent_getRawDeltaX,KInteropReturnBuffer,Ark_NativePointer)36301 KOALA_INTEROP_1(MouseEvent_getRawDeltaX, KInteropReturnBuffer, Ark_NativePointer)
36302 void impl_MouseEvent_setRawDeltaX(Ark_NativePointer thisPtr, KInteropNumber rawDeltaX) {
36303         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36304         GetAccessors()->getMouseEventAccessor()->setRawDeltaX(self, (const Ark_Number*) (&rawDeltaX));
36305 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaX,Ark_NativePointer,KInteropNumber)36306 KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaX, Ark_NativePointer, KInteropNumber)
36307 KInteropReturnBuffer impl_MouseEvent_getRawDeltaY(Ark_NativePointer thisPtr) {
36308         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36309         const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaY(self);
36310         Serializer _retSerializer {};
36311         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36312         retValue_type = runtimeType(retValue);
36313         _retSerializer.writeInt8(retValue_type);
36314         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36315             const auto retValue_value = retValue.value;
36316             _retSerializer.writeNumber(retValue_value);
36317         }
36318         return _retSerializer.toReturnBuffer();
36319 }
KOALA_INTEROP_1(MouseEvent_getRawDeltaY,KInteropReturnBuffer,Ark_NativePointer)36320 KOALA_INTEROP_1(MouseEvent_getRawDeltaY, KInteropReturnBuffer, Ark_NativePointer)
36321 void impl_MouseEvent_setRawDeltaY(Ark_NativePointer thisPtr, KInteropNumber rawDeltaY) {
36322         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36323         GetAccessors()->getMouseEventAccessor()->setRawDeltaY(self, (const Ark_Number*) (&rawDeltaY));
36324 }
KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaY,Ark_NativePointer,KInteropNumber)36325 KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaY, Ark_NativePointer, KInteropNumber)
36326 KInteropReturnBuffer impl_MouseEvent_getPressedButtons(Ark_NativePointer thisPtr) {
36327         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36328         const auto &retValue = GetAccessors()->getMouseEventAccessor()->getPressedButtons(self);
36329         Serializer _retSerializer {};
36330         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36331         retValue_type = runtimeType(retValue);
36332         _retSerializer.writeInt8(retValue_type);
36333         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36334             const auto retValue_value = retValue.value;
36335             _retSerializer.writeInt32(retValue_value.length);
36336             for (int i = 0; i < retValue_value.length; i++) {
36337                 const Ark_MouseButton retValue_value_element = retValue_value.array[i];
36338                 _retSerializer.writeInt32(static_cast<Ark_MouseButton>(retValue_value_element));
36339             }
36340         }
36341         return _retSerializer.toReturnBuffer();
36342 }
KOALA_INTEROP_1(MouseEvent_getPressedButtons,KInteropReturnBuffer,Ark_NativePointer)36343 KOALA_INTEROP_1(MouseEvent_getPressedButtons, KInteropReturnBuffer, Ark_NativePointer)
36344 void impl_MouseEvent_setPressedButtons(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36345         Ark_MouseEvent self = reinterpret_cast<Ark_MouseEvent>(thisPtr);
36346         Deserializer thisDeserializer(thisArray, thisLength);
36347         const Ark_Int32 pressedButtons_value_buf_length = thisDeserializer.readInt32();
36348         Array_MouseButton pressedButtons_value_buf = {};
36349         thisDeserializer.resizeArray<std::decay<decltype(pressedButtons_value_buf)>::type,
36350         std::decay<decltype(*pressedButtons_value_buf.array)>::type>(&pressedButtons_value_buf, pressedButtons_value_buf_length);
36351         for (int pressedButtons_value_buf_i = 0; pressedButtons_value_buf_i < pressedButtons_value_buf_length; pressedButtons_value_buf_i++) {
36352             pressedButtons_value_buf.array[pressedButtons_value_buf_i] = static_cast<Ark_MouseButton>(thisDeserializer.readInt32());
36353         }
36354         Array_MouseButton pressedButtons_value = pressedButtons_value_buf;;
36355         GetAccessors()->getMouseEventAccessor()->setPressedButtons(self, (const Array_MouseButton*)&pressedButtons_value);
36356 }
KOALA_INTEROP_DIRECT_V3(MouseEvent_setPressedButtons,Ark_NativePointer,KSerializerBuffer,int32_t)36357 KOALA_INTEROP_DIRECT_V3(MouseEvent_setPressedButtons, Ark_NativePointer, KSerializerBuffer, int32_t)
36358 Ark_NativePointer impl_AccessibilityHoverEvent_ctor() {
36359         return GetAccessors()->getAccessibilityHoverEventAccessor()->ctor();
36360 }
KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_ctor,Ark_NativePointer)36361 KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_ctor, Ark_NativePointer)
36362 Ark_NativePointer impl_AccessibilityHoverEvent_getFinalizer() {
36363         return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer();
36364 }
KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_getFinalizer,Ark_NativePointer)36365 KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_getFinalizer, Ark_NativePointer)
36366 Ark_Int32 impl_AccessibilityHoverEvent_getType(Ark_NativePointer thisPtr) {
36367         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36368         return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self);
36369 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getType,Ark_Int32,Ark_NativePointer)36370 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getType, Ark_Int32, Ark_NativePointer)
36371 void impl_AccessibilityHoverEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) {
36372         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36373         GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast<Ark_AccessibilityHoverType>(type));
36374 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setType,Ark_NativePointer,Ark_Int32)36375 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setType, Ark_NativePointer, Ark_Int32)
36376 Ark_Number impl_AccessibilityHoverEvent_getX(Ark_NativePointer thisPtr) {
36377         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36378         return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self);
36379 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getX,KInteropNumber,Ark_NativePointer)36380 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getX, KInteropNumber, Ark_NativePointer)
36381 void impl_AccessibilityHoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) {
36382         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36383         GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, (const Ark_Number*) (&x));
36384 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setX,Ark_NativePointer,KInteropNumber)36385 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setX, Ark_NativePointer, KInteropNumber)
36386 Ark_Number impl_AccessibilityHoverEvent_getY(Ark_NativePointer thisPtr) {
36387         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36388         return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self);
36389 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getY,KInteropNumber,Ark_NativePointer)36390 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getY, KInteropNumber, Ark_NativePointer)
36391 void impl_AccessibilityHoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) {
36392         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36393         GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, (const Ark_Number*) (&y));
36394 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setY,Ark_NativePointer,KInteropNumber)36395 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setY, Ark_NativePointer, KInteropNumber)
36396 Ark_Number impl_AccessibilityHoverEvent_getDisplayX(Ark_NativePointer thisPtr) {
36397         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36398         return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self);
36399 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayX,KInteropNumber,Ark_NativePointer)36400 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayX, KInteropNumber, Ark_NativePointer)
36401 void impl_AccessibilityHoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) {
36402         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36403         GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX));
36404 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayX,Ark_NativePointer,KInteropNumber)36405 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber)
36406 Ark_Number impl_AccessibilityHoverEvent_getDisplayY(Ark_NativePointer thisPtr) {
36407         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36408         return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self);
36409 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayY,KInteropNumber,Ark_NativePointer)36410 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayY, KInteropNumber, Ark_NativePointer)
36411 void impl_AccessibilityHoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) {
36412         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36413         GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY));
36414 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayY,Ark_NativePointer,KInteropNumber)36415 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber)
36416 Ark_Number impl_AccessibilityHoverEvent_getWindowX(Ark_NativePointer thisPtr) {
36417         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36418         return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self);
36419 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowX,KInteropNumber,Ark_NativePointer)36420 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowX, KInteropNumber, Ark_NativePointer)
36421 void impl_AccessibilityHoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) {
36422         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36423         GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX));
36424 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowX,Ark_NativePointer,KInteropNumber)36425 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowX, Ark_NativePointer, KInteropNumber)
36426 Ark_Number impl_AccessibilityHoverEvent_getWindowY(Ark_NativePointer thisPtr) {
36427         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36428         return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self);
36429 }
KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowY,KInteropNumber,Ark_NativePointer)36430 KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowY, KInteropNumber, Ark_NativePointer)
36431 void impl_AccessibilityHoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) {
36432         Ark_AccessibilityHoverEvent self = reinterpret_cast<Ark_AccessibilityHoverEvent>(thisPtr);
36433         GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY));
36434 }
KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowY,Ark_NativePointer,KInteropNumber)36435 KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowY, Ark_NativePointer, KInteropNumber)
36436 Ark_NativePointer impl_TouchEvent_ctor() {
36437         return GetAccessors()->getTouchEventAccessor()->ctor();
36438 }
KOALA_INTEROP_DIRECT_0(TouchEvent_ctor,Ark_NativePointer)36439 KOALA_INTEROP_DIRECT_0(TouchEvent_ctor, Ark_NativePointer)
36440 Ark_NativePointer impl_TouchEvent_getFinalizer() {
36441         return GetAccessors()->getTouchEventAccessor()->getFinalizer();
36442 }
KOALA_INTEROP_DIRECT_0(TouchEvent_getFinalizer,Ark_NativePointer)36443 KOALA_INTEROP_DIRECT_0(TouchEvent_getFinalizer, Ark_NativePointer)
36444 KInteropReturnBuffer impl_TouchEvent_getHistoricalPoints(Ark_NativePointer thisPtr) {
36445         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36446         const auto &retValue = GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self);
36447         Serializer _retSerializer {};
36448         _retSerializer.writeInt32(retValue.length);
36449         for (int i = 0; i < retValue.length; i++) {
36450             const Ark_HistoricalPoint retValue_element = retValue.array[i];
36451             _retSerializer.writeHistoricalPoint(retValue_element);
36452         }
36453         return _retSerializer.toReturnBuffer();
36454 }
KOALA_INTEROP_1(TouchEvent_getHistoricalPoints,KInteropReturnBuffer,Ark_NativePointer)36455 KOALA_INTEROP_1(TouchEvent_getHistoricalPoints, KInteropReturnBuffer, Ark_NativePointer)
36456 Ark_Int32 impl_TouchEvent_getType(Ark_NativePointer thisPtr) {
36457         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36458         return GetAccessors()->getTouchEventAccessor()->getType(self);
36459 }
KOALA_INTEROP_DIRECT_1(TouchEvent_getType,Ark_Int32,Ark_NativePointer)36460 KOALA_INTEROP_DIRECT_1(TouchEvent_getType, Ark_Int32, Ark_NativePointer)
36461 void impl_TouchEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) {
36462         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36463         GetAccessors()->getTouchEventAccessor()->setType(self, static_cast<Ark_TouchType>(type));
36464 }
KOALA_INTEROP_DIRECT_V2(TouchEvent_setType,Ark_NativePointer,Ark_Int32)36465 KOALA_INTEROP_DIRECT_V2(TouchEvent_setType, Ark_NativePointer, Ark_Int32)
36466 KInteropReturnBuffer impl_TouchEvent_getTouches(Ark_NativePointer thisPtr) {
36467         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36468         const auto &retValue = GetAccessors()->getTouchEventAccessor()->getTouches(self);
36469         Serializer _retSerializer {};
36470         _retSerializer.writeInt32(retValue.length);
36471         for (int i = 0; i < retValue.length; i++) {
36472             const Ark_TouchObject retValue_element = retValue.array[i];
36473             _retSerializer.writeTouchObject(retValue_element);
36474         }
36475         return _retSerializer.toReturnBuffer();
36476 }
KOALA_INTEROP_1(TouchEvent_getTouches,KInteropReturnBuffer,Ark_NativePointer)36477 KOALA_INTEROP_1(TouchEvent_getTouches, KInteropReturnBuffer, Ark_NativePointer)
36478 void impl_TouchEvent_setTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36479         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36480         Deserializer thisDeserializer(thisArray, thisLength);
36481         const Ark_Int32 touches_value_buf_length = thisDeserializer.readInt32();
36482         Array_TouchObject touches_value_buf = {};
36483         thisDeserializer.resizeArray<std::decay<decltype(touches_value_buf)>::type,
36484         std::decay<decltype(*touches_value_buf.array)>::type>(&touches_value_buf, touches_value_buf_length);
36485         for (int touches_value_buf_i = 0; touches_value_buf_i < touches_value_buf_length; touches_value_buf_i++) {
36486             touches_value_buf.array[touches_value_buf_i] = thisDeserializer.readTouchObject();
36487         }
36488         Array_TouchObject touches_value = touches_value_buf;;
36489         GetAccessors()->getTouchEventAccessor()->setTouches(self, (const Array_TouchObject*)&touches_value);
36490 }
KOALA_INTEROP_DIRECT_V3(TouchEvent_setTouches,Ark_NativePointer,KSerializerBuffer,int32_t)36491 KOALA_INTEROP_DIRECT_V3(TouchEvent_setTouches, Ark_NativePointer, KSerializerBuffer, int32_t)
36492 KInteropReturnBuffer impl_TouchEvent_getChangedTouches(Ark_NativePointer thisPtr) {
36493         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36494         const auto &retValue = GetAccessors()->getTouchEventAccessor()->getChangedTouches(self);
36495         Serializer _retSerializer {};
36496         _retSerializer.writeInt32(retValue.length);
36497         for (int i = 0; i < retValue.length; i++) {
36498             const Ark_TouchObject retValue_element = retValue.array[i];
36499             _retSerializer.writeTouchObject(retValue_element);
36500         }
36501         return _retSerializer.toReturnBuffer();
36502 }
KOALA_INTEROP_1(TouchEvent_getChangedTouches,KInteropReturnBuffer,Ark_NativePointer)36503 KOALA_INTEROP_1(TouchEvent_getChangedTouches, KInteropReturnBuffer, Ark_NativePointer)
36504 void impl_TouchEvent_setChangedTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36505         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36506         Deserializer thisDeserializer(thisArray, thisLength);
36507         const Ark_Int32 changedTouches_value_buf_length = thisDeserializer.readInt32();
36508         Array_TouchObject changedTouches_value_buf = {};
36509         thisDeserializer.resizeArray<std::decay<decltype(changedTouches_value_buf)>::type,
36510         std::decay<decltype(*changedTouches_value_buf.array)>::type>(&changedTouches_value_buf, changedTouches_value_buf_length);
36511         for (int changedTouches_value_buf_i = 0; changedTouches_value_buf_i < changedTouches_value_buf_length; changedTouches_value_buf_i++) {
36512             changedTouches_value_buf.array[changedTouches_value_buf_i] = thisDeserializer.readTouchObject();
36513         }
36514         Array_TouchObject changedTouches_value = changedTouches_value_buf;;
36515         GetAccessors()->getTouchEventAccessor()->setChangedTouches(self, (const Array_TouchObject*)&changedTouches_value);
36516 }
KOALA_INTEROP_DIRECT_V3(TouchEvent_setChangedTouches,Ark_NativePointer,KSerializerBuffer,int32_t)36517 KOALA_INTEROP_DIRECT_V3(TouchEvent_setChangedTouches, Ark_NativePointer, KSerializerBuffer, int32_t)
36518 KInteropReturnBuffer impl_TouchEvent_getStopPropagation(Ark_NativePointer thisPtr) {
36519         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36520         [[maybe_unused]] const auto &retValue = GetAccessors()->getTouchEventAccessor()->getStopPropagation(self);
36521         Serializer _retSerializer {};
36522         _retSerializer.writeCallbackResource(retValue.resource);
36523         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.call));
36524         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.callSync));
36525         return _retSerializer.toReturnBuffer();
36526 }
KOALA_INTEROP_1(TouchEvent_getStopPropagation,KInteropReturnBuffer,Ark_NativePointer)36527 KOALA_INTEROP_1(TouchEvent_getStopPropagation, KInteropReturnBuffer, Ark_NativePointer)
36528 void impl_TouchEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36529         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36530         Deserializer thisDeserializer(thisArray, thisLength);
36531         Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36532         GetAccessors()->getTouchEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value);
36533 }
KOALA_INTEROP_DIRECT_V3(TouchEvent_setStopPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)36534 KOALA_INTEROP_DIRECT_V3(TouchEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
36535 Ark_NativePointer impl_TouchEvent_getPreventDefault(Ark_NativePointer thisPtr) {
36536         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36537         [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getTouchEventAccessor()->getPreventDefault(self);
36538         // TODO: Value serialization needs to be implemented
36539         return {};
36540 }
KOALA_INTEROP_DIRECT_1(TouchEvent_getPreventDefault,Ark_NativePointer,Ark_NativePointer)36541 KOALA_INTEROP_DIRECT_1(TouchEvent_getPreventDefault, Ark_NativePointer, Ark_NativePointer)
36542 void impl_TouchEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36543         Ark_TouchEvent self = reinterpret_cast<Ark_TouchEvent>(thisPtr);
36544         Deserializer thisDeserializer(thisArray, thisLength);
36545         Callback_Void preventDefault_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36546         GetAccessors()->getTouchEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value);
36547 }
KOALA_INTEROP_DIRECT_V3(TouchEvent_setPreventDefault,Ark_NativePointer,KSerializerBuffer,int32_t)36548 KOALA_INTEROP_DIRECT_V3(TouchEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t)
36549 Ark_NativePointer impl_AxisEvent_ctor() {
36550         return GetAccessors()->getAxisEventAccessor()->ctor();
36551 }
KOALA_INTEROP_DIRECT_0(AxisEvent_ctor,Ark_NativePointer)36552 KOALA_INTEROP_DIRECT_0(AxisEvent_ctor, Ark_NativePointer)
36553 Ark_NativePointer impl_AxisEvent_getFinalizer() {
36554         return GetAccessors()->getAxisEventAccessor()->getFinalizer();
36555 }
KOALA_INTEROP_DIRECT_0(AxisEvent_getFinalizer,Ark_NativePointer)36556 KOALA_INTEROP_DIRECT_0(AxisEvent_getFinalizer, Ark_NativePointer)
36557 Ark_Number impl_AxisEvent_getHorizontalAxisValue(Ark_NativePointer thisPtr) {
36558         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36559         return GetAccessors()->getAxisEventAccessor()->getHorizontalAxisValue(self);
36560 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getHorizontalAxisValue,KInteropNumber,Ark_NativePointer)36561 KOALA_INTEROP_DIRECT_1(AxisEvent_getHorizontalAxisValue, KInteropNumber, Ark_NativePointer)
36562 Ark_Number impl_AxisEvent_getVerticalAxisValue(Ark_NativePointer thisPtr) {
36563         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36564         return GetAccessors()->getAxisEventAccessor()->getVerticalAxisValue(self);
36565 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getVerticalAxisValue,KInteropNumber,Ark_NativePointer)36566 KOALA_INTEROP_DIRECT_1(AxisEvent_getVerticalAxisValue, KInteropNumber, Ark_NativePointer)
36567 Ark_Int32 impl_AxisEvent_getAction(Ark_NativePointer thisPtr) {
36568         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36569         return GetAccessors()->getAxisEventAccessor()->getAction(self);
36570 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getAction,Ark_Int32,Ark_NativePointer)36571 KOALA_INTEROP_DIRECT_1(AxisEvent_getAction, Ark_Int32, Ark_NativePointer)
36572 void impl_AxisEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) {
36573         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36574         GetAccessors()->getAxisEventAccessor()->setAction(self, static_cast<Ark_AxisAction>(action));
36575 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setAction,Ark_NativePointer,Ark_Int32)36576 KOALA_INTEROP_DIRECT_V2(AxisEvent_setAction, Ark_NativePointer, Ark_Int32)
36577 Ark_Number impl_AxisEvent_getDisplayX(Ark_NativePointer thisPtr) {
36578         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36579         return GetAccessors()->getAxisEventAccessor()->getDisplayX(self);
36580 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayX,KInteropNumber,Ark_NativePointer)36581 KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayX, KInteropNumber, Ark_NativePointer)
36582 void impl_AxisEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) {
36583         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36584         GetAccessors()->getAxisEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX));
36585 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayX,Ark_NativePointer,KInteropNumber)36586 KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayX, Ark_NativePointer, KInteropNumber)
36587 Ark_Number impl_AxisEvent_getDisplayY(Ark_NativePointer thisPtr) {
36588         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36589         return GetAccessors()->getAxisEventAccessor()->getDisplayY(self);
36590 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayY,KInteropNumber,Ark_NativePointer)36591 KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayY, KInteropNumber, Ark_NativePointer)
36592 void impl_AxisEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) {
36593         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36594         GetAccessors()->getAxisEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY));
36595 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayY,Ark_NativePointer,KInteropNumber)36596 KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayY, Ark_NativePointer, KInteropNumber)
36597 Ark_Number impl_AxisEvent_getWindowX(Ark_NativePointer thisPtr) {
36598         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36599         return GetAccessors()->getAxisEventAccessor()->getWindowX(self);
36600 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowX,KInteropNumber,Ark_NativePointer)36601 KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowX, KInteropNumber, Ark_NativePointer)
36602 void impl_AxisEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) {
36603         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36604         GetAccessors()->getAxisEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX));
36605 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowX,Ark_NativePointer,KInteropNumber)36606 KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowX, Ark_NativePointer, KInteropNumber)
36607 Ark_Number impl_AxisEvent_getWindowY(Ark_NativePointer thisPtr) {
36608         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36609         return GetAccessors()->getAxisEventAccessor()->getWindowY(self);
36610 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowY,KInteropNumber,Ark_NativePointer)36611 KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowY, KInteropNumber, Ark_NativePointer)
36612 void impl_AxisEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) {
36613         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36614         GetAccessors()->getAxisEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY));
36615 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowY,Ark_NativePointer,KInteropNumber)36616 KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowY, Ark_NativePointer, KInteropNumber)
36617 Ark_Number impl_AxisEvent_getX(Ark_NativePointer thisPtr) {
36618         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36619         return GetAccessors()->getAxisEventAccessor()->getX(self);
36620 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getX,KInteropNumber,Ark_NativePointer)36621 KOALA_INTEROP_DIRECT_1(AxisEvent_getX, KInteropNumber, Ark_NativePointer)
36622 void impl_AxisEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) {
36623         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36624         GetAccessors()->getAxisEventAccessor()->setX(self, (const Ark_Number*) (&x));
36625 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setX,Ark_NativePointer,KInteropNumber)36626 KOALA_INTEROP_DIRECT_V2(AxisEvent_setX, Ark_NativePointer, KInteropNumber)
36627 Ark_Number impl_AxisEvent_getY(Ark_NativePointer thisPtr) {
36628         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36629         return GetAccessors()->getAxisEventAccessor()->getY(self);
36630 }
KOALA_INTEROP_DIRECT_1(AxisEvent_getY,KInteropNumber,Ark_NativePointer)36631 KOALA_INTEROP_DIRECT_1(AxisEvent_getY, KInteropNumber, Ark_NativePointer)
36632 void impl_AxisEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) {
36633         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36634         GetAccessors()->getAxisEventAccessor()->setY(self, (const Ark_Number*) (&y));
36635 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setY,Ark_NativePointer,KInteropNumber)36636 KOALA_INTEROP_DIRECT_V2(AxisEvent_setY, Ark_NativePointer, KInteropNumber)
36637 KInteropReturnBuffer impl_AxisEvent_getScrollStep(Ark_NativePointer thisPtr) {
36638         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36639         const auto &retValue = GetAccessors()->getAxisEventAccessor()->getScrollStep(self);
36640         Serializer _retSerializer {};
36641         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36642         retValue_type = runtimeType(retValue);
36643         _retSerializer.writeInt8(retValue_type);
36644         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36645             const auto retValue_value = retValue.value;
36646             _retSerializer.writeNumber(retValue_value);
36647         }
36648         return _retSerializer.toReturnBuffer();
36649 }
KOALA_INTEROP_1(AxisEvent_getScrollStep,KInteropReturnBuffer,Ark_NativePointer)36650 KOALA_INTEROP_1(AxisEvent_getScrollStep, KInteropReturnBuffer, Ark_NativePointer)
36651 void impl_AxisEvent_setScrollStep(Ark_NativePointer thisPtr, KInteropNumber scrollStep) {
36652         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36653         GetAccessors()->getAxisEventAccessor()->setScrollStep(self, (const Ark_Number*) (&scrollStep));
36654 }
KOALA_INTEROP_DIRECT_V2(AxisEvent_setScrollStep,Ark_NativePointer,KInteropNumber)36655 KOALA_INTEROP_DIRECT_V2(AxisEvent_setScrollStep, Ark_NativePointer, KInteropNumber)
36656 KInteropReturnBuffer impl_AxisEvent_getPropagation(Ark_NativePointer thisPtr) {
36657         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36658         [[maybe_unused]] const auto &retValue = GetAccessors()->getAxisEventAccessor()->getPropagation(self);
36659         Serializer _retSerializer {};
36660         _retSerializer.writeCallbackResource(retValue.resource);
36661         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.call));
36662         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.callSync));
36663         return _retSerializer.toReturnBuffer();
36664 }
KOALA_INTEROP_1(AxisEvent_getPropagation,KInteropReturnBuffer,Ark_NativePointer)36665 KOALA_INTEROP_1(AxisEvent_getPropagation, KInteropReturnBuffer, Ark_NativePointer)
36666 void impl_AxisEvent_setPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36667         Ark_AxisEvent self = reinterpret_cast<Ark_AxisEvent>(thisPtr);
36668         Deserializer thisDeserializer(thisArray, thisLength);
36669         Callback_Void propagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36670         GetAccessors()->getAxisEventAccessor()->setPropagation(self, (const Callback_Void*)&propagation_value);
36671 }
KOALA_INTEROP_DIRECT_V3(AxisEvent_setPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)36672 KOALA_INTEROP_DIRECT_V3(AxisEvent_setPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
36673 Ark_NativePointer impl_PixelMapMock_ctor() {
36674         return GetAccessors()->getPixelMapMockAccessor()->ctor();
36675 }
KOALA_INTEROP_DIRECT_0(PixelMapMock_ctor,Ark_NativePointer)36676 KOALA_INTEROP_DIRECT_0(PixelMapMock_ctor, Ark_NativePointer)
36677 Ark_NativePointer impl_PixelMapMock_getFinalizer() {
36678         return GetAccessors()->getPixelMapMockAccessor()->getFinalizer();
36679 }
KOALA_INTEROP_DIRECT_0(PixelMapMock_getFinalizer,Ark_NativePointer)36680 KOALA_INTEROP_DIRECT_0(PixelMapMock_getFinalizer, Ark_NativePointer)
36681 void impl_PixelMapMock_release(Ark_NativePointer thisPtr) {
36682         Ark_PixelMapMock self = reinterpret_cast<Ark_PixelMapMock>(thisPtr);
36683         GetAccessors()->getPixelMapMockAccessor()->release(self);
36684 }
KOALA_INTEROP_DIRECT_V1(PixelMapMock_release,Ark_NativePointer)36685 KOALA_INTEROP_DIRECT_V1(PixelMapMock_release, Ark_NativePointer)
36686 Ark_NativePointer impl_DragEvent_ctor() {
36687         return GetAccessors()->getDragEventAccessor()->ctor();
36688 }
KOALA_INTEROP_DIRECT_0(DragEvent_ctor,Ark_NativePointer)36689 KOALA_INTEROP_DIRECT_0(DragEvent_ctor, Ark_NativePointer)
36690 Ark_NativePointer impl_DragEvent_getFinalizer() {
36691         return GetAccessors()->getDragEventAccessor()->getFinalizer();
36692 }
KOALA_INTEROP_DIRECT_0(DragEvent_getFinalizer,Ark_NativePointer)36693 KOALA_INTEROP_DIRECT_0(DragEvent_getFinalizer, Ark_NativePointer)
36694 Ark_Number impl_DragEvent_getDisplayX(Ark_NativePointer thisPtr) {
36695         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36696         return GetAccessors()->getDragEventAccessor()->getDisplayX(self);
36697 }
KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayX,KInteropNumber,Ark_NativePointer)36698 KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayX, KInteropNumber, Ark_NativePointer)
36699 Ark_Number impl_DragEvent_getDisplayY(Ark_NativePointer thisPtr) {
36700         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36701         return GetAccessors()->getDragEventAccessor()->getDisplayY(self);
36702 }
KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayY,KInteropNumber,Ark_NativePointer)36703 KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayY, KInteropNumber, Ark_NativePointer)
36704 Ark_Number impl_DragEvent_getWindowX(Ark_NativePointer thisPtr) {
36705         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36706         return GetAccessors()->getDragEventAccessor()->getWindowX(self);
36707 }
KOALA_INTEROP_DIRECT_1(DragEvent_getWindowX,KInteropNumber,Ark_NativePointer)36708 KOALA_INTEROP_DIRECT_1(DragEvent_getWindowX, KInteropNumber, Ark_NativePointer)
36709 Ark_Number impl_DragEvent_getWindowY(Ark_NativePointer thisPtr) {
36710         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36711         return GetAccessors()->getDragEventAccessor()->getWindowY(self);
36712 }
KOALA_INTEROP_DIRECT_1(DragEvent_getWindowY,KInteropNumber,Ark_NativePointer)36713 KOALA_INTEROP_DIRECT_1(DragEvent_getWindowY, KInteropNumber, Ark_NativePointer)
36714 Ark_Number impl_DragEvent_getX(Ark_NativePointer thisPtr) {
36715         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36716         return GetAccessors()->getDragEventAccessor()->getX(self);
36717 }
KOALA_INTEROP_DIRECT_1(DragEvent_getX,KInteropNumber,Ark_NativePointer)36718 KOALA_INTEROP_DIRECT_1(DragEvent_getX, KInteropNumber, Ark_NativePointer)
36719 Ark_Number impl_DragEvent_getY(Ark_NativePointer thisPtr) {
36720         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36721         return GetAccessors()->getDragEventAccessor()->getY(self);
36722 }
KOALA_INTEROP_DIRECT_1(DragEvent_getY,KInteropNumber,Ark_NativePointer)36723 KOALA_INTEROP_DIRECT_1(DragEvent_getY, KInteropNumber, Ark_NativePointer)
36724 void impl_DragEvent_setData(Ark_NativePointer thisPtr, Ark_NativePointer unifiedData) {
36725         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36726         GetAccessors()->getDragEventAccessor()->setData(self, static_cast<Ark_UnifiedData>(unifiedData));
36727 }
KOALA_INTEROP_DIRECT_V2(DragEvent_setData,Ark_NativePointer,Ark_NativePointer)36728 KOALA_INTEROP_DIRECT_V2(DragEvent_setData, Ark_NativePointer, Ark_NativePointer)
36729 Ark_NativePointer impl_DragEvent_getData(KVMContext vmContext, Ark_NativePointer thisPtr) {
36730         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36731         return GetAccessors()->getDragEventAccessor()->getData(reinterpret_cast<Ark_VMContext>(vmContext), self);
36732 }
KOALA_INTEROP_CTX_1(DragEvent_getData,Ark_NativePointer,Ark_NativePointer)36733 KOALA_INTEROP_CTX_1(DragEvent_getData, Ark_NativePointer, Ark_NativePointer)
36734 KInteropReturnBuffer impl_DragEvent_getSummary(Ark_NativePointer thisPtr) {
36735         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36736         const auto &retValue = GetAccessors()->getDragEventAccessor()->getSummary(self);
36737         Serializer _retSerializer {};
36738         _retSerializer.writeSummary(retValue);
36739         return _retSerializer.toReturnBuffer();
36740 }
KOALA_INTEROP_1(DragEvent_getSummary,KInteropReturnBuffer,Ark_NativePointer)36741 KOALA_INTEROP_1(DragEvent_getSummary, KInteropReturnBuffer, Ark_NativePointer)
36742 void impl_DragEvent_setResult(Ark_NativePointer thisPtr, Ark_Int32 dragResult) {
36743         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36744         GetAccessors()->getDragEventAccessor()->setResult(self, static_cast<Ark_DragResult>(dragResult));
36745 }
KOALA_INTEROP_DIRECT_V2(DragEvent_setResult,Ark_NativePointer,Ark_Int32)36746 KOALA_INTEROP_DIRECT_V2(DragEvent_setResult, Ark_NativePointer, Ark_Int32)
36747 Ark_Int32 impl_DragEvent_getResult(Ark_NativePointer thisPtr) {
36748         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36749         return GetAccessors()->getDragEventAccessor()->getResult(self);
36750 }
KOALA_INTEROP_DIRECT_1(DragEvent_getResult,Ark_Int32,Ark_NativePointer)36751 KOALA_INTEROP_DIRECT_1(DragEvent_getResult, Ark_Int32, Ark_NativePointer)
36752 KInteropReturnBuffer impl_DragEvent_getPreviewRect(Ark_NativePointer thisPtr) {
36753         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36754         const auto &retValue = GetAccessors()->getDragEventAccessor()->getPreviewRect(self);
36755         Serializer _retSerializer {};
36756         _retSerializer.writeRectangle(retValue);
36757         return _retSerializer.toReturnBuffer();
36758 }
KOALA_INTEROP_1(DragEvent_getPreviewRect,KInteropReturnBuffer,Ark_NativePointer)36759 KOALA_INTEROP_1(DragEvent_getPreviewRect, KInteropReturnBuffer, Ark_NativePointer)
36760 Ark_Number impl_DragEvent_getVelocityX(Ark_NativePointer thisPtr) {
36761         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36762         return GetAccessors()->getDragEventAccessor()->getVelocityX(self);
36763 }
KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityX,KInteropNumber,Ark_NativePointer)36764 KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityX, KInteropNumber, Ark_NativePointer)
36765 Ark_Number impl_DragEvent_getVelocityY(Ark_NativePointer thisPtr) {
36766         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36767         return GetAccessors()->getDragEventAccessor()->getVelocityY(self);
36768 }
KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityY,KInteropNumber,Ark_NativePointer)36769 KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityY, KInteropNumber, Ark_NativePointer)
36770 Ark_Number impl_DragEvent_getVelocity(Ark_NativePointer thisPtr) {
36771         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36772         return GetAccessors()->getDragEventAccessor()->getVelocity(self);
36773 }
KOALA_INTEROP_DIRECT_1(DragEvent_getVelocity,KInteropNumber,Ark_NativePointer)36774 KOALA_INTEROP_DIRECT_1(DragEvent_getVelocity, KInteropNumber, Ark_NativePointer)
36775 Ark_Boolean impl_DragEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36776         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36777         Deserializer thisDeserializer(thisArray, thisLength);
36778         const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32();
36779         Array_String keys_value_buf = {};
36780         thisDeserializer.resizeArray<std::decay<decltype(keys_value_buf)>::type,
36781         std::decay<decltype(*keys_value_buf.array)>::type>(&keys_value_buf, keys_value_buf_length);
36782         for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) {
36783             keys_value_buf.array[keys_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
36784         }
36785         Array_String keys_value = keys_value_buf;;
36786         return GetAccessors()->getDragEventAccessor()->getModifierKeyState(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Array_String*)&keys_value);
36787 }
KOALA_INTEROP_CTX_3(DragEvent_getModifierKeyState,Ark_Boolean,Ark_NativePointer,KSerializerBuffer,int32_t)36788 KOALA_INTEROP_CTX_3(DragEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t)
36789 void impl_DragEvent_executeDropAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36790         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36791         Deserializer thisDeserializer(thisArray, thisLength);
36792         Callback_Void customDropAnimation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36793         GetAccessors()->getDragEventAccessor()->executeDropAnimation(self, (const Callback_Void*)&customDropAnimation_value);
36794 }
KOALA_INTEROP_DIRECT_V3(DragEvent_executeDropAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)36795 KOALA_INTEROP_DIRECT_V3(DragEvent_executeDropAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
36796 Ark_String impl_DragEvent_startDataLoading(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36797         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36798         Deserializer thisDeserializer(thisArray, thisLength);
36799         Ark_DataSyncOptions options_value = thisDeserializer.readDataSyncOptions();;
36800         return GetAccessors()->getDragEventAccessor()->startDataLoading(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_DataSyncOptions*)&options_value);
36801 }
KOALA_INTEROP_CTX_3(DragEvent_startDataLoading,KStringPtr,Ark_NativePointer,KSerializerBuffer,int32_t)36802 KOALA_INTEROP_CTX_3(DragEvent_startDataLoading, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t)
36803 Ark_Int32 impl_DragEvent_getDragBehavior(Ark_NativePointer thisPtr) {
36804         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36805         return GetAccessors()->getDragEventAccessor()->getDragBehavior(self);
36806 }
KOALA_INTEROP_DIRECT_1(DragEvent_getDragBehavior,Ark_Int32,Ark_NativePointer)36807 KOALA_INTEROP_DIRECT_1(DragEvent_getDragBehavior, Ark_Int32, Ark_NativePointer)
36808 void impl_DragEvent_setDragBehavior(Ark_NativePointer thisPtr, Ark_Int32 dragBehavior) {
36809         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36810         GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast<Ark_DragBehavior>(dragBehavior));
36811 }
KOALA_INTEROP_DIRECT_V2(DragEvent_setDragBehavior,Ark_NativePointer,Ark_Int32)36812 KOALA_INTEROP_DIRECT_V2(DragEvent_setDragBehavior, Ark_NativePointer, Ark_Int32)
36813 Ark_Boolean impl_DragEvent_getUseCustomDropAnimation(Ark_NativePointer thisPtr) {
36814         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36815         return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self);
36816 }
KOALA_INTEROP_DIRECT_1(DragEvent_getUseCustomDropAnimation,Ark_Boolean,Ark_NativePointer)36817 KOALA_INTEROP_DIRECT_1(DragEvent_getUseCustomDropAnimation, Ark_Boolean, Ark_NativePointer)
36818 void impl_DragEvent_setUseCustomDropAnimation(Ark_NativePointer thisPtr, Ark_Boolean useCustomDropAnimation) {
36819         Ark_DragEvent self = reinterpret_cast<Ark_DragEvent>(thisPtr);
36820         GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation);
36821 }
KOALA_INTEROP_DIRECT_V2(DragEvent_setUseCustomDropAnimation,Ark_NativePointer,Ark_Boolean)36822 KOALA_INTEROP_DIRECT_V2(DragEvent_setUseCustomDropAnimation, Ark_NativePointer, Ark_Boolean)
36823 Ark_NativePointer impl_KeyEvent_ctor() {
36824         return GetAccessors()->getKeyEventAccessor()->ctor();
36825 }
KOALA_INTEROP_DIRECT_0(KeyEvent_ctor,Ark_NativePointer)36826 KOALA_INTEROP_DIRECT_0(KeyEvent_ctor, Ark_NativePointer)
36827 Ark_NativePointer impl_KeyEvent_getFinalizer() {
36828         return GetAccessors()->getKeyEventAccessor()->getFinalizer();
36829 }
KOALA_INTEROP_DIRECT_0(KeyEvent_getFinalizer,Ark_NativePointer)36830 KOALA_INTEROP_DIRECT_0(KeyEvent_getFinalizer, Ark_NativePointer)
36831 Ark_Boolean impl_KeyEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36832         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36833         Deserializer thisDeserializer(thisArray, thisLength);
36834         const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32();
36835         Array_String keys_value_buf = {};
36836         thisDeserializer.resizeArray<std::decay<decltype(keys_value_buf)>::type,
36837         std::decay<decltype(*keys_value_buf.array)>::type>(&keys_value_buf, keys_value_buf_length);
36838         for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) {
36839             keys_value_buf.array[keys_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
36840         }
36841         Array_String keys_value = keys_value_buf;;
36842         return GetAccessors()->getKeyEventAccessor()->getModifierKeyState(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Array_String*)&keys_value);
36843 }
KOALA_INTEROP_CTX_3(KeyEvent_getModifierKeyState,Ark_Boolean,Ark_NativePointer,KSerializerBuffer,int32_t)36844 KOALA_INTEROP_CTX_3(KeyEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t)
36845 Ark_Int32 impl_KeyEvent_getType(Ark_NativePointer thisPtr) {
36846         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36847         return GetAccessors()->getKeyEventAccessor()->getType(self);
36848 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getType,Ark_Int32,Ark_NativePointer)36849 KOALA_INTEROP_DIRECT_1(KeyEvent_getType, Ark_Int32, Ark_NativePointer)
36850 void impl_KeyEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) {
36851         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36852         GetAccessors()->getKeyEventAccessor()->setType(self, static_cast<Ark_KeyType>(type));
36853 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setType,Ark_NativePointer,Ark_Int32)36854 KOALA_INTEROP_DIRECT_V2(KeyEvent_setType, Ark_NativePointer, Ark_Int32)
36855 Ark_Number impl_KeyEvent_getKeyCode(Ark_NativePointer thisPtr) {
36856         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36857         return GetAccessors()->getKeyEventAccessor()->getKeyCode(self);
36858 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getKeyCode,KInteropNumber,Ark_NativePointer)36859 KOALA_INTEROP_DIRECT_1(KeyEvent_getKeyCode, KInteropNumber, Ark_NativePointer)
36860 void impl_KeyEvent_setKeyCode(Ark_NativePointer thisPtr, KInteropNumber keyCode) {
36861         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36862         GetAccessors()->getKeyEventAccessor()->setKeyCode(self, (const Ark_Number*) (&keyCode));
36863 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeyCode,Ark_NativePointer,KInteropNumber)36864 KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeyCode, Ark_NativePointer, KInteropNumber)
36865 Ark_String impl_KeyEvent_getKeyText(Ark_NativePointer thisPtr) {
36866         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36867         return GetAccessors()->getKeyEventAccessor()->getKeyText(self);
36868 }
KOALA_INTEROP_1(KeyEvent_getKeyText,KStringPtr,Ark_NativePointer)36869 KOALA_INTEROP_1(KeyEvent_getKeyText, KStringPtr, Ark_NativePointer)
36870 void impl_KeyEvent_setKeyText(Ark_NativePointer thisPtr, const KStringPtr& keyText) {
36871         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36872         GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText));
36873 }
KOALA_INTEROP_V2(KeyEvent_setKeyText,Ark_NativePointer,KStringPtr)36874 KOALA_INTEROP_V2(KeyEvent_setKeyText, Ark_NativePointer, KStringPtr)
36875 Ark_Int32 impl_KeyEvent_getKeySource(Ark_NativePointer thisPtr) {
36876         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36877         return GetAccessors()->getKeyEventAccessor()->getKeySource(self);
36878 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getKeySource,Ark_Int32,Ark_NativePointer)36879 KOALA_INTEROP_DIRECT_1(KeyEvent_getKeySource, Ark_Int32, Ark_NativePointer)
36880 void impl_KeyEvent_setKeySource(Ark_NativePointer thisPtr, Ark_Int32 keySource) {
36881         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36882         GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast<Ark_KeySource>(keySource));
36883 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeySource,Ark_NativePointer,Ark_Int32)36884 KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeySource, Ark_NativePointer, Ark_Int32)
36885 Ark_Number impl_KeyEvent_getDeviceId(Ark_NativePointer thisPtr) {
36886         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36887         return GetAccessors()->getKeyEventAccessor()->getDeviceId(self);
36888 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getDeviceId,KInteropNumber,Ark_NativePointer)36889 KOALA_INTEROP_DIRECT_1(KeyEvent_getDeviceId, KInteropNumber, Ark_NativePointer)
36890 void impl_KeyEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) {
36891         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36892         GetAccessors()->getKeyEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId));
36893 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setDeviceId,Ark_NativePointer,KInteropNumber)36894 KOALA_INTEROP_DIRECT_V2(KeyEvent_setDeviceId, Ark_NativePointer, KInteropNumber)
36895 Ark_Number impl_KeyEvent_getMetaKey(Ark_NativePointer thisPtr) {
36896         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36897         return GetAccessors()->getKeyEventAccessor()->getMetaKey(self);
36898 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getMetaKey,KInteropNumber,Ark_NativePointer)36899 KOALA_INTEROP_DIRECT_1(KeyEvent_getMetaKey, KInteropNumber, Ark_NativePointer)
36900 void impl_KeyEvent_setMetaKey(Ark_NativePointer thisPtr, KInteropNumber metaKey) {
36901         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36902         GetAccessors()->getKeyEventAccessor()->setMetaKey(self, (const Ark_Number*) (&metaKey));
36903 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setMetaKey,Ark_NativePointer,KInteropNumber)36904 KOALA_INTEROP_DIRECT_V2(KeyEvent_setMetaKey, Ark_NativePointer, KInteropNumber)
36905 Ark_Int32 impl_KeyEvent_getTimestamp(Ark_NativePointer thisPtr) {
36906         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36907         return GetAccessors()->getKeyEventAccessor()->getTimestamp(self);
36908 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getTimestamp,Ark_Int32,Ark_NativePointer)36909 KOALA_INTEROP_DIRECT_1(KeyEvent_getTimestamp, Ark_Int32, Ark_NativePointer)
36910 void impl_KeyEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) {
36911         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36912         GetAccessors()->getKeyEventAccessor()->setTimestamp(self, timestamp);
36913 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setTimestamp,Ark_NativePointer,KLong)36914 KOALA_INTEROP_DIRECT_V2(KeyEvent_setTimestamp, Ark_NativePointer, KLong)
36915 KInteropReturnBuffer impl_KeyEvent_getStopPropagation(Ark_NativePointer thisPtr) {
36916         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36917         [[maybe_unused]] const auto &retValue = GetAccessors()->getKeyEventAccessor()->getStopPropagation(self);
36918         Serializer _retSerializer {};
36919         _retSerializer.writeCallbackResource(retValue.resource);
36920         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.call));
36921         _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue.callSync));
36922         return _retSerializer.toReturnBuffer();
36923 }
KOALA_INTEROP_1(KeyEvent_getStopPropagation,KInteropReturnBuffer,Ark_NativePointer)36924 KOALA_INTEROP_1(KeyEvent_getStopPropagation, KInteropReturnBuffer, Ark_NativePointer)
36925 void impl_KeyEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36926         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36927         Deserializer thisDeserializer(thisArray, thisLength);
36928         Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
36929         GetAccessors()->getKeyEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value);
36930 }
KOALA_INTEROP_DIRECT_V3(KeyEvent_setStopPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)36931 KOALA_INTEROP_DIRECT_V3(KeyEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
36932 Ark_Int32 impl_KeyEvent_getIntentionCode(Ark_NativePointer thisPtr) {
36933         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36934         return GetAccessors()->getKeyEventAccessor()->getIntentionCode(self);
36935 }
KOALA_INTEROP_DIRECT_1(KeyEvent_getIntentionCode,Ark_Int32,Ark_NativePointer)36936 KOALA_INTEROP_DIRECT_1(KeyEvent_getIntentionCode, Ark_Int32, Ark_NativePointer)
36937 void impl_KeyEvent_setIntentionCode(Ark_NativePointer thisPtr, Ark_Int32 intentionCode) {
36938         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36939         GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, static_cast<Ark_IntentionCode>(intentionCode));
36940 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setIntentionCode,Ark_NativePointer,Ark_Int32)36941 KOALA_INTEROP_DIRECT_V2(KeyEvent_setIntentionCode, Ark_NativePointer, Ark_Int32)
36942 KInteropReturnBuffer impl_KeyEvent_getUnicode(Ark_NativePointer thisPtr) {
36943         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36944         const auto &retValue = GetAccessors()->getKeyEventAccessor()->getUnicode(self);
36945         Serializer _retSerializer {};
36946         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
36947         retValue_type = runtimeType(retValue);
36948         _retSerializer.writeInt8(retValue_type);
36949         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
36950             const auto retValue_value = retValue.value;
36951             _retSerializer.writeNumber(retValue_value);
36952         }
36953         return _retSerializer.toReturnBuffer();
36954 }
KOALA_INTEROP_1(KeyEvent_getUnicode,KInteropReturnBuffer,Ark_NativePointer)36955 KOALA_INTEROP_1(KeyEvent_getUnicode, KInteropReturnBuffer, Ark_NativePointer)
36956 void impl_KeyEvent_setUnicode(Ark_NativePointer thisPtr, KInteropNumber unicode) {
36957         Ark_KeyEvent self = reinterpret_cast<Ark_KeyEvent>(thisPtr);
36958         GetAccessors()->getKeyEventAccessor()->setUnicode(self, (const Ark_Number*) (&unicode));
36959 }
KOALA_INTEROP_DIRECT_V2(KeyEvent_setUnicode,Ark_NativePointer,KInteropNumber)36960 KOALA_INTEROP_DIRECT_V2(KeyEvent_setUnicode, Ark_NativePointer, KInteropNumber)
36961 Ark_NativePointer impl_FocusAxisEvent_ctor() {
36962         return GetAccessors()->getFocusAxisEventAccessor()->ctor();
36963 }
KOALA_INTEROP_DIRECT_0(FocusAxisEvent_ctor,Ark_NativePointer)36964 KOALA_INTEROP_DIRECT_0(FocusAxisEvent_ctor, Ark_NativePointer)
36965 Ark_NativePointer impl_FocusAxisEvent_getFinalizer() {
36966         return GetAccessors()->getFocusAxisEventAccessor()->getFinalizer();
36967 }
KOALA_INTEROP_DIRECT_0(FocusAxisEvent_getFinalizer,Ark_NativePointer)36968 KOALA_INTEROP_DIRECT_0(FocusAxisEvent_getFinalizer, Ark_NativePointer)
36969 KInteropReturnBuffer impl_FocusAxisEvent_getAxisMap(Ark_NativePointer thisPtr) {
36970         Ark_FocusAxisEvent self = reinterpret_cast<Ark_FocusAxisEvent>(thisPtr);
36971         const auto &retValue = GetAccessors()->getFocusAxisEventAccessor()->getAxisMap(self);
36972         Serializer _retSerializer {};
36973         _retSerializer.writeInt32(retValue.size);
36974         for (int32_t i = 0; i < retValue.size; i++) {
36975             auto retValue_key = retValue.keys[i];
36976             auto retValue_value = retValue.values[i];
36977             _retSerializer.writeInt32(static_cast<Ark_AxisModel>(retValue_key));
36978             _retSerializer.writeNumber(retValue_value);
36979         }
36980         return _retSerializer.toReturnBuffer();
36981 }
KOALA_INTEROP_1(FocusAxisEvent_getAxisMap,KInteropReturnBuffer,Ark_NativePointer)36982 KOALA_INTEROP_1(FocusAxisEvent_getAxisMap, KInteropReturnBuffer, Ark_NativePointer)
36983 void impl_FocusAxisEvent_setAxisMap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
36984         Ark_FocusAxisEvent self = reinterpret_cast<Ark_FocusAxisEvent>(thisPtr);
36985         Deserializer thisDeserializer(thisArray, thisLength);
36986         const Ark_Int32 axisMap_value_buf_size = thisDeserializer.readInt32();
36987         Map_AxisModel_Number axisMap_value_buf = {};
36988         thisDeserializer.resizeMap<Map_AxisModel_Number, Ark_AxisModel, Ark_Number>(&axisMap_value_buf, axisMap_value_buf_size);
36989         for (int axisMap_value_buf_i = 0; axisMap_value_buf_i < axisMap_value_buf_size; axisMap_value_buf_i++) {
36990             const Ark_AxisModel axisMap_value_buf_key = static_cast<Ark_AxisModel>(thisDeserializer.readInt32());
36991             const Ark_Number axisMap_value_buf_value = static_cast<Ark_Number>(thisDeserializer.readNumber());
36992             axisMap_value_buf.keys[axisMap_value_buf_i] = axisMap_value_buf_key;
36993             axisMap_value_buf.values[axisMap_value_buf_i] = axisMap_value_buf_value;
36994         }
36995         Map_AxisModel_Number axisMap_value = axisMap_value_buf;;
36996         GetAccessors()->getFocusAxisEventAccessor()->setAxisMap(self, (const Map_AxisModel_Number*)&axisMap_value);
36997 }
KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setAxisMap,Ark_NativePointer,KSerializerBuffer,int32_t)36998 KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setAxisMap, Ark_NativePointer, KSerializerBuffer, int32_t)
36999 Ark_NativePointer impl_FocusAxisEvent_getStopPropagation(Ark_NativePointer thisPtr) {
37000         Ark_FocusAxisEvent self = reinterpret_cast<Ark_FocusAxisEvent>(thisPtr);
37001         [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getFocusAxisEventAccessor()->getStopPropagation(self);
37002         // TODO: Value serialization needs to be implemented
37003         return {};
37004 }
KOALA_INTEROP_DIRECT_1(FocusAxisEvent_getStopPropagation,Ark_NativePointer,Ark_NativePointer)37005 KOALA_INTEROP_DIRECT_1(FocusAxisEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer)
37006 void impl_FocusAxisEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37007         Ark_FocusAxisEvent self = reinterpret_cast<Ark_FocusAxisEvent>(thisPtr);
37008         Deserializer thisDeserializer(thisArray, thisLength);
37009         Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
37010         GetAccessors()->getFocusAxisEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value);
37011 }
KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setStopPropagation,Ark_NativePointer,KSerializerBuffer,int32_t)37012 KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t)
37013 Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, KSerializerBuffer thisArray, int32_t thisLength) {
37014         Deserializer thisDeserializer(thisArray, thisLength);
37015         const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8();
37016         Ark_ResourceColor color_value_buf = {};
37017         color_value_buf.selector = color_value_buf_selector;
37018         if (color_value_buf_selector == 0) {
37019             color_value_buf.selector = 0;
37020             color_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
37021         }
37022         else if (color_value_buf_selector == 1) {
37023             color_value_buf.selector = 1;
37024             color_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
37025         }
37026         else if (color_value_buf_selector == 2) {
37027             color_value_buf.selector = 2;
37028             color_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
37029         }
37030         else if (color_value_buf_selector == 3) {
37031             color_value_buf.selector = 3;
37032             color_value_buf.value3 = thisDeserializer.readResource();
37033         }
37034         else {
37035             INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation.");
37036         }
37037         Ark_ResourceColor color_value = static_cast<Ark_ResourceColor>(color_value_buf);;
37038         return GetAccessors()->getProgressMaskAccessor()->ctor((const Ark_Number*) (&value), (const Ark_Number*) (&total), (const Ark_ResourceColor*)&color_value);
37039 }
KOALA_INTEROP_DIRECT_4(ProgressMask_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)37040 KOALA_INTEROP_DIRECT_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
37041 Ark_NativePointer impl_ProgressMask_getFinalizer() {
37042         return GetAccessors()->getProgressMaskAccessor()->getFinalizer();
37043 }
KOALA_INTEROP_DIRECT_0(ProgressMask_getFinalizer,Ark_NativePointer)37044 KOALA_INTEROP_DIRECT_0(ProgressMask_getFinalizer, Ark_NativePointer)
37045 void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) {
37046         Ark_ProgressMask self = reinterpret_cast<Ark_ProgressMask>(thisPtr);
37047         GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*) (&value));
37048 }
KOALA_INTEROP_DIRECT_V2(ProgressMask_updateProgress,Ark_NativePointer,KInteropNumber)37049 KOALA_INTEROP_DIRECT_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber)
37050 void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37051         Ark_ProgressMask self = reinterpret_cast<Ark_ProgressMask>(thisPtr);
37052         Deserializer thisDeserializer(thisArray, thisLength);
37053         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
37054         Ark_ResourceColor value_value_buf = {};
37055         value_value_buf.selector = value_value_buf_selector;
37056         if (value_value_buf_selector == 0) {
37057             value_value_buf.selector = 0;
37058             value_value_buf.value0 = static_cast<Ark_Color>(thisDeserializer.readInt32());
37059         }
37060         else if (value_value_buf_selector == 1) {
37061             value_value_buf.selector = 1;
37062             value_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
37063         }
37064         else if (value_value_buf_selector == 2) {
37065             value_value_buf.selector = 2;
37066             value_value_buf.value2 = static_cast<Ark_String>(thisDeserializer.readString());
37067         }
37068         else if (value_value_buf_selector == 3) {
37069             value_value_buf.selector = 3;
37070             value_value_buf.value3 = thisDeserializer.readResource();
37071         }
37072         else {
37073             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
37074         }
37075         Ark_ResourceColor value_value = static_cast<Ark_ResourceColor>(value_value_buf);;
37076         GetAccessors()->getProgressMaskAccessor()->updateColor(self, (const Ark_ResourceColor*)&value_value);
37077 }
KOALA_INTEROP_DIRECT_V3(ProgressMask_updateColor,Ark_NativePointer,KSerializerBuffer,int32_t)37078 KOALA_INTEROP_DIRECT_V3(ProgressMask_updateColor, Ark_NativePointer, KSerializerBuffer, int32_t)
37079 void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) {
37080         Ark_ProgressMask self = reinterpret_cast<Ark_ProgressMask>(thisPtr);
37081         GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value);
37082 }
KOALA_INTEROP_DIRECT_V2(ProgressMask_enableBreathingAnimation,Ark_NativePointer,Ark_Boolean)37083 KOALA_INTEROP_DIRECT_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean)
37084 Ark_NativePointer impl_Measurable_ctor() {
37085         return GetAccessors()->getMeasurableAccessor()->ctor();
37086 }
KOALA_INTEROP_DIRECT_0(Measurable_ctor,Ark_NativePointer)37087 KOALA_INTEROP_DIRECT_0(Measurable_ctor, Ark_NativePointer)
37088 Ark_NativePointer impl_Measurable_getFinalizer() {
37089         return GetAccessors()->getMeasurableAccessor()->getFinalizer();
37090 }
KOALA_INTEROP_DIRECT_0(Measurable_getFinalizer,Ark_NativePointer)37091 KOALA_INTEROP_DIRECT_0(Measurable_getFinalizer, Ark_NativePointer)
37092 KInteropReturnBuffer impl_Measurable_measure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37093         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37094         Deserializer thisDeserializer(thisArray, thisLength);
37095         Ark_ConstraintSizeOptions constraint_value = thisDeserializer.readConstraintSizeOptions();;
37096         const auto &retValue = GetAccessors()->getMeasurableAccessor()->measure(self, (const Ark_ConstraintSizeOptions*)&constraint_value);
37097         Serializer _retSerializer {};
37098         _retSerializer.writeMeasureResult(retValue);
37099         return _retSerializer.toReturnBuffer();
37100 }
KOALA_INTEROP_3(Measurable_measure,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)37101 KOALA_INTEROP_3(Measurable_measure, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
37102 KInteropReturnBuffer impl_Measurable_getMargin(Ark_NativePointer thisPtr) {
37103         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37104         const auto &retValue = GetAccessors()->getMeasurableAccessor()->getMargin(self);
37105         Serializer _retSerializer {};
37106         _retSerializer.writeDirectionalEdgesT(retValue);
37107         return _retSerializer.toReturnBuffer();
37108 }
KOALA_INTEROP_1(Measurable_getMargin,KInteropReturnBuffer,Ark_NativePointer)37109 KOALA_INTEROP_1(Measurable_getMargin, KInteropReturnBuffer, Ark_NativePointer)
37110 KInteropReturnBuffer impl_Measurable_getPadding(Ark_NativePointer thisPtr) {
37111         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37112         const auto &retValue = GetAccessors()->getMeasurableAccessor()->getPadding(self);
37113         Serializer _retSerializer {};
37114         _retSerializer.writeDirectionalEdgesT(retValue);
37115         return _retSerializer.toReturnBuffer();
37116 }
KOALA_INTEROP_1(Measurable_getPadding,KInteropReturnBuffer,Ark_NativePointer)37117 KOALA_INTEROP_1(Measurable_getPadding, KInteropReturnBuffer, Ark_NativePointer)
37118 KInteropReturnBuffer impl_Measurable_getBorderWidth(Ark_NativePointer thisPtr) {
37119         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37120         const auto &retValue = GetAccessors()->getMeasurableAccessor()->getBorderWidth(self);
37121         Serializer _retSerializer {};
37122         _retSerializer.writeDirectionalEdgesT(retValue);
37123         return _retSerializer.toReturnBuffer();
37124 }
KOALA_INTEROP_1(Measurable_getBorderWidth,KInteropReturnBuffer,Ark_NativePointer)37125 KOALA_INTEROP_1(Measurable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer)
37126 KInteropReturnBuffer impl_Measurable_getUniqueId(Ark_NativePointer thisPtr) {
37127         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37128         const auto &retValue = GetAccessors()->getMeasurableAccessor()->getUniqueId(self);
37129         Serializer _retSerializer {};
37130         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37131         retValue_type = runtimeType(retValue);
37132         _retSerializer.writeInt8(retValue_type);
37133         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37134             const auto retValue_value = retValue.value;
37135             _retSerializer.writeNumber(retValue_value);
37136         }
37137         return _retSerializer.toReturnBuffer();
37138 }
KOALA_INTEROP_1(Measurable_getUniqueId,KInteropReturnBuffer,Ark_NativePointer)37139 KOALA_INTEROP_1(Measurable_getUniqueId, KInteropReturnBuffer, Ark_NativePointer)
37140 void impl_Measurable_setUniqueId(Ark_NativePointer thisPtr, KInteropNumber uniqueId) {
37141         Ark_Measurable self = reinterpret_cast<Ark_Measurable>(thisPtr);
37142         GetAccessors()->getMeasurableAccessor()->setUniqueId(self, (const Ark_Number*) (&uniqueId));
37143 }
KOALA_INTEROP_DIRECT_V2(Measurable_setUniqueId,Ark_NativePointer,KInteropNumber)37144 KOALA_INTEROP_DIRECT_V2(Measurable_setUniqueId, Ark_NativePointer, KInteropNumber)
37145 Ark_NativePointer impl_View_ctor() {
37146         return GetAccessors()->getViewAccessor()->ctor();
37147 }
KOALA_INTEROP_DIRECT_0(View_ctor,Ark_NativePointer)37148 KOALA_INTEROP_DIRECT_0(View_ctor, Ark_NativePointer)
37149 Ark_NativePointer impl_View_getFinalizer() {
37150         return GetAccessors()->getViewAccessor()->getFinalizer();
37151 }
KOALA_INTEROP_DIRECT_0(View_getFinalizer,Ark_NativePointer)37152 KOALA_INTEROP_DIRECT_0(View_getFinalizer, Ark_NativePointer)
37153 Ark_NativePointer impl_View_create(Ark_NativePointer thisPtr, Ark_NativePointer value) {
37154         Ark_View self = reinterpret_cast<Ark_View>(thisPtr);
37155         return GetAccessors()->getViewAccessor()->create(self, value);
37156 }
KOALA_INTEROP_DIRECT_2(View_create,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)37157 KOALA_INTEROP_DIRECT_2(View_create, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
37158 Ark_NativePointer impl_TextContentControllerBase_ctor() {
37159         return GetAccessors()->getTextContentControllerBaseAccessor()->ctor();
37160 }
KOALA_INTEROP_DIRECT_0(TextContentControllerBase_ctor,Ark_NativePointer)37161 KOALA_INTEROP_DIRECT_0(TextContentControllerBase_ctor, Ark_NativePointer)
37162 Ark_NativePointer impl_TextContentControllerBase_getFinalizer() {
37163         return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer();
37164 }
KOALA_INTEROP_DIRECT_0(TextContentControllerBase_getFinalizer,Ark_NativePointer)37165 KOALA_INTEROP_DIRECT_0(TextContentControllerBase_getFinalizer, Ark_NativePointer)
37166 KInteropReturnBuffer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) {
37167         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37168         const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self);
37169         Serializer _retSerializer {};
37170         _retSerializer.writeCaretOffset(retValue);
37171         return _retSerializer.toReturnBuffer();
37172 }
KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset,KInteropReturnBuffer,Ark_NativePointer)37173 KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer)
37174 KInteropReturnBuffer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) {
37175         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37176         const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self);
37177         Serializer _retSerializer {};
37178         _retSerializer.writeRectResult(retValue);
37179         return _retSerializer.toReturnBuffer();
37180 }
KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect,KInteropReturnBuffer,Ark_NativePointer)37181 KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, KInteropReturnBuffer, Ark_NativePointer)
37182 Ark_Number impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) {
37183         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37184         return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self);
37185 }
KOALA_INTEROP_DIRECT_1(TextContentControllerBase_getTextContentLineCount,KInteropNumber,Ark_NativePointer)37186 KOALA_INTEROP_DIRECT_1(TextContentControllerBase_getTextContentLineCount, KInteropNumber, Ark_NativePointer)
37187 Ark_Number impl_TextContentControllerBase_addText(Ark_NativePointer thisPtr, const KStringPtr& text, KSerializerBuffer thisArray, int32_t thisLength) {
37188         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37189         Deserializer thisDeserializer(thisArray, thisLength);
37190         const auto textOperationOptions_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37191         Opt_TextContentControllerOptions textOperationOptions_value_buf = {};
37192         textOperationOptions_value_buf.tag = textOperationOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37193         if ((INTEROP_RUNTIME_UNDEFINED) != (textOperationOptions_value_buf_runtimeType))
37194         {
37195             textOperationOptions_value_buf.value = thisDeserializer.readTextContentControllerOptions();
37196         }
37197         Opt_TextContentControllerOptions textOperationOptions_value = textOperationOptions_value_buf;;
37198         return GetAccessors()->getTextContentControllerBaseAccessor()->addText(self, (const Ark_String*) (&text), (const Opt_TextContentControllerOptions*)&textOperationOptions_value);
37199 }
KOALA_INTEROP_4(TextContentControllerBase_addText,KInteropNumber,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37200 KOALA_INTEROP_4(TextContentControllerBase_addText, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37201 void impl_TextContentControllerBase_deleteText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37202         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37203         Deserializer thisDeserializer(thisArray, thisLength);
37204         const auto range_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37205         Opt_TextRange range_value_buf = {};
37206         range_value_buf.tag = range_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37207         if ((INTEROP_RUNTIME_UNDEFINED) != (range_value_buf_runtimeType))
37208         {
37209             range_value_buf.value = thisDeserializer.readTextRange();
37210         }
37211         Opt_TextRange range_value = range_value_buf;;
37212         GetAccessors()->getTextContentControllerBaseAccessor()->deleteText(self, (const Opt_TextRange*)&range_value);
37213 }
KOALA_INTEROP_DIRECT_V3(TextContentControllerBase_deleteText,Ark_NativePointer,KSerializerBuffer,int32_t)37214 KOALA_INTEROP_DIRECT_V3(TextContentControllerBase_deleteText, Ark_NativePointer, KSerializerBuffer, int32_t)
37215 KInteropReturnBuffer impl_TextContentControllerBase_getSelection(Ark_NativePointer thisPtr) {
37216         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37217         const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getSelection(self);
37218         Serializer _retSerializer {};
37219         _retSerializer.writeTextRange(retValue);
37220         return _retSerializer.toReturnBuffer();
37221 }
KOALA_INTEROP_1(TextContentControllerBase_getSelection,KInteropReturnBuffer,Ark_NativePointer)37222 KOALA_INTEROP_1(TextContentControllerBase_getSelection, KInteropReturnBuffer, Ark_NativePointer)
37223 void impl_TextContentControllerBase_clearPreviewText(Ark_NativePointer thisPtr) {
37224         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37225         GetAccessors()->getTextContentControllerBaseAccessor()->clearPreviewText(self);
37226 }
KOALA_INTEROP_DIRECT_V1(TextContentControllerBase_clearPreviewText,Ark_NativePointer)37227 KOALA_INTEROP_DIRECT_V1(TextContentControllerBase_clearPreviewText, Ark_NativePointer)
37228 Ark_String impl_TextContentControllerBase_getText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37229         Ark_TextContentControllerBase self = reinterpret_cast<Ark_TextContentControllerBase>(thisPtr);
37230         Deserializer thisDeserializer(thisArray, thisLength);
37231         const auto range_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37232         Opt_TextRange range_value_buf = {};
37233         range_value_buf.tag = range_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37234         if ((INTEROP_RUNTIME_UNDEFINED) != (range_value_buf_runtimeType))
37235         {
37236             range_value_buf.value = thisDeserializer.readTextRange();
37237         }
37238         Opt_TextRange range_value = range_value_buf;;
37239         return GetAccessors()->getTextContentControllerBaseAccessor()->getText(self, (const Opt_TextRange*)&range_value);
37240 }
KOALA_INTEROP_3(TextContentControllerBase_getText,KStringPtr,Ark_NativePointer,KSerializerBuffer,int32_t)37241 KOALA_INTEROP_3(TextContentControllerBase_getText, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t)
37242 Ark_NativePointer impl_ChildrenMainSize_ctor(KInteropNumber childDefaultSize) {
37243         return GetAccessors()->getChildrenMainSizeAccessor()->ctor((const Ark_Number*) (&childDefaultSize));
37244 }
KOALA_INTEROP_DIRECT_1(ChildrenMainSize_ctor,Ark_NativePointer,KInteropNumber)37245 KOALA_INTEROP_DIRECT_1(ChildrenMainSize_ctor, Ark_NativePointer, KInteropNumber)
37246 Ark_NativePointer impl_ChildrenMainSize_getFinalizer() {
37247         return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer();
37248 }
KOALA_INTEROP_DIRECT_0(ChildrenMainSize_getFinalizer,Ark_NativePointer)37249 KOALA_INTEROP_DIRECT_0(ChildrenMainSize_getFinalizer, Ark_NativePointer)
37250 void impl_ChildrenMainSize_splice(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KSerializerBuffer thisArray, int32_t thisLength) {
37251         Ark_ChildrenMainSize self = reinterpret_cast<Ark_ChildrenMainSize>(thisPtr);
37252         Deserializer thisDeserializer(thisArray, thisLength);
37253         const auto deleteCount_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37254         Opt_Number deleteCount_value_buf = {};
37255         deleteCount_value_buf.tag = deleteCount_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37256         if ((INTEROP_RUNTIME_UNDEFINED) != (deleteCount_value_buf_runtimeType))
37257         {
37258             deleteCount_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
37259         }
37260         Opt_Number deleteCount_value = deleteCount_value_buf;;
37261         const auto childrenSize_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37262         Opt_Array_Number childrenSize_value_buf = {};
37263         childrenSize_value_buf.tag = childrenSize_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37264         if ((INTEROP_RUNTIME_UNDEFINED) != (childrenSize_value_buf_runtimeType))
37265         {
37266             const Ark_Int32 childrenSize_value_buf__length = thisDeserializer.readInt32();
37267             Array_Number childrenSize_value_buf_ = {};
37268             thisDeserializer.resizeArray<std::decay<decltype(childrenSize_value_buf_)>::type,
37269         std::decay<decltype(*childrenSize_value_buf_.array)>::type>(&childrenSize_value_buf_, childrenSize_value_buf__length);
37270             for (int childrenSize_value_buf__i = 0; childrenSize_value_buf__i < childrenSize_value_buf__length; childrenSize_value_buf__i++) {
37271                 childrenSize_value_buf_.array[childrenSize_value_buf__i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
37272             }
37273             childrenSize_value_buf.value = childrenSize_value_buf_;
37274         }
37275         Opt_Array_Number childrenSize_value = childrenSize_value_buf;;
37276         GetAccessors()->getChildrenMainSizeAccessor()->splice(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_Number*)&childrenSize_value);
37277 }
KOALA_INTEROP_CTX_V4(ChildrenMainSize_splice,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)37278 KOALA_INTEROP_CTX_V4(ChildrenMainSize_splice, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
37279 void impl_ChildrenMainSize_update(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber childSize) {
37280         Ark_ChildrenMainSize self = reinterpret_cast<Ark_ChildrenMainSize>(thisPtr);
37281         GetAccessors()->getChildrenMainSizeAccessor()->update(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&index), (const Ark_Number*) (&childSize));
37282 }
KOALA_INTEROP_CTX_V3(ChildrenMainSize_update,Ark_NativePointer,KInteropNumber,KInteropNumber)37283 KOALA_INTEROP_CTX_V3(ChildrenMainSize_update, Ark_NativePointer, KInteropNumber, KInteropNumber)
37284 Ark_Number impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) {
37285         Ark_ChildrenMainSize self = reinterpret_cast<Ark_ChildrenMainSize>(thisPtr);
37286         return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self);
37287 }
KOALA_INTEROP_DIRECT_1(ChildrenMainSize_getChildDefaultSize,KInteropNumber,Ark_NativePointer)37288 KOALA_INTEROP_DIRECT_1(ChildrenMainSize_getChildDefaultSize, KInteropNumber, Ark_NativePointer)
37289 void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KInteropNumber childDefaultSize) {
37290         Ark_ChildrenMainSize self = reinterpret_cast<Ark_ChildrenMainSize>(thisPtr);
37291         GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, (const Ark_Number*) (&childDefaultSize));
37292 }
KOALA_INTEROP_DIRECT_V2(ChildrenMainSize_setChildDefaultSize,Ark_NativePointer,KInteropNumber)37293 KOALA_INTEROP_DIRECT_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KInteropNumber)
37294 Ark_NativePointer impl_UICommonEvent_ctor() {
37295         return GetAccessors()->getUICommonEventAccessor()->ctor();
37296 }
KOALA_INTEROP_DIRECT_0(UICommonEvent_ctor,Ark_NativePointer)37297 KOALA_INTEROP_DIRECT_0(UICommonEvent_ctor, Ark_NativePointer)
37298 Ark_NativePointer impl_UICommonEvent_getFinalizer() {
37299         return GetAccessors()->getUICommonEventAccessor()->getFinalizer();
37300 }
KOALA_INTEROP_DIRECT_0(UICommonEvent_getFinalizer,Ark_NativePointer)37301 KOALA_INTEROP_DIRECT_0(UICommonEvent_getFinalizer, Ark_NativePointer)
37302 void impl_UICommonEvent_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37303         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37304         Deserializer thisDeserializer(thisArray, thisLength);
37305         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37306         Opt_Callback_ClickEvent_Void callback__value_buf = {};
37307         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37308         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37309         {
37310             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};
37311         }
37312         Opt_Callback_ClickEvent_Void callback__value = callback__value_buf;;
37313         GetAccessors()->getUICommonEventAccessor()->setOnClick(self, (const Opt_Callback_ClickEvent_Void*)&callback__value);
37314 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnClick,Ark_NativePointer,KSerializerBuffer,int32_t)37315 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnClick, Ark_NativePointer, KSerializerBuffer, int32_t)
37316 void impl_UICommonEvent_setOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37317         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37318         Deserializer thisDeserializer(thisArray, thisLength);
37319         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37320         Opt_Callback_TouchEvent_Void callback__value_buf = {};
37321         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37322         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37323         {
37324             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_TouchEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TouchEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))};
37325         }
37326         Opt_Callback_TouchEvent_Void callback__value = callback__value_buf;;
37327         GetAccessors()->getUICommonEventAccessor()->setOnTouch(self, (const Opt_Callback_TouchEvent_Void*)&callback__value);
37328 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnTouch,Ark_NativePointer,KSerializerBuffer,int32_t)37329 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnTouch, Ark_NativePointer, KSerializerBuffer, int32_t)
37330 void impl_UICommonEvent_setOnAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37331         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37332         Deserializer thisDeserializer(thisArray, thisLength);
37333         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37334         Opt_Callback_Void callback__value_buf = {};
37335         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37336         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37337         {
37338             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
37339         }
37340         Opt_Callback_Void callback__value = callback__value_buf;;
37341         GetAccessors()->getUICommonEventAccessor()->setOnAppear(self, (const Opt_Callback_Void*)&callback__value);
37342 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnAppear,Ark_NativePointer,KSerializerBuffer,int32_t)37343 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnAppear, Ark_NativePointer, KSerializerBuffer, int32_t)
37344 void impl_UICommonEvent_setOnDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37345         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37346         Deserializer thisDeserializer(thisArray, thisLength);
37347         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37348         Opt_Callback_Void callback__value_buf = {};
37349         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37350         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37351         {
37352             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
37353         }
37354         Opt_Callback_Void callback__value = callback__value_buf;;
37355         GetAccessors()->getUICommonEventAccessor()->setOnDisappear(self, (const Opt_Callback_Void*)&callback__value);
37356 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnDisappear,Ark_NativePointer,KSerializerBuffer,int32_t)37357 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnDisappear, Ark_NativePointer, KSerializerBuffer, int32_t)
37358 void impl_UICommonEvent_setOnKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37359         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37360         Deserializer thisDeserializer(thisArray, thisLength);
37361         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37362         Opt_Callback_KeyEvent_Void callback__value_buf = {};
37363         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37364         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37365         {
37366             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_KeyEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_KeyEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))};
37367         }
37368         Opt_Callback_KeyEvent_Void callback__value = callback__value_buf;;
37369         GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, (const Opt_Callback_KeyEvent_Void*)&callback__value);
37370 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnKeyEvent,Ark_NativePointer,KSerializerBuffer,int32_t)37371 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t)
37372 void impl_UICommonEvent_setOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37373         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37374         Deserializer thisDeserializer(thisArray, thisLength);
37375         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37376         Opt_Callback_Void callback__value_buf = {};
37377         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37378         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37379         {
37380             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
37381         }
37382         Opt_Callback_Void callback__value = callback__value_buf;;
37383         GetAccessors()->getUICommonEventAccessor()->setOnFocus(self, (const Opt_Callback_Void*)&callback__value);
37384 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnFocus,Ark_NativePointer,KSerializerBuffer,int32_t)37385 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t)
37386 void impl_UICommonEvent_setOnBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37387         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37388         Deserializer thisDeserializer(thisArray, thisLength);
37389         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37390         Opt_Callback_Void callback__value_buf = {};
37391         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37392         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37393         {
37394             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
37395         }
37396         Opt_Callback_Void callback__value = callback__value_buf;;
37397         GetAccessors()->getUICommonEventAccessor()->setOnBlur(self, (const Opt_Callback_Void*)&callback__value);
37398 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnBlur,Ark_NativePointer,KSerializerBuffer,int32_t)37399 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnBlur, Ark_NativePointer, KSerializerBuffer, int32_t)
37400 void impl_UICommonEvent_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37401         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37402         Deserializer thisDeserializer(thisArray, thisLength);
37403         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37404         Opt_HoverCallback callback__value_buf = {};
37405         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37406         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37407         {
37408             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_HoverCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_HoverCallback))))};
37409         }
37410         Opt_HoverCallback callback__value = callback__value_buf;;
37411         GetAccessors()->getUICommonEventAccessor()->setOnHover(self, (const Opt_HoverCallback*)&callback__value);
37412 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnHover,Ark_NativePointer,KSerializerBuffer,int32_t)37413 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnHover, Ark_NativePointer, KSerializerBuffer, int32_t)
37414 void impl_UICommonEvent_setOnMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37415         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37416         Deserializer thisDeserializer(thisArray, thisLength);
37417         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37418         Opt_Callback_MouseEvent_Void callback__value_buf = {};
37419         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37420         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37421         {
37422             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_MouseEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_MouseEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))};
37423         }
37424         Opt_Callback_MouseEvent_Void callback__value = callback__value_buf;;
37425         GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, (const Opt_Callback_MouseEvent_Void*)&callback__value);
37426 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnMouse,Ark_NativePointer,KSerializerBuffer,int32_t)37427 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnMouse, Ark_NativePointer, KSerializerBuffer, int32_t)
37428 void impl_UICommonEvent_setOnSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37429         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37430         Deserializer thisDeserializer(thisArray, thisLength);
37431         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37432         Opt_SizeChangeCallback callback__value_buf = {};
37433         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37434         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
37435         {
37436             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_SizeChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_SizeChangeCallback))))};
37437         }
37438         Opt_SizeChangeCallback callback__value = callback__value_buf;;
37439         GetAccessors()->getUICommonEventAccessor()->setOnSizeChange(self, (const Opt_SizeChangeCallback*)&callback__value);
37440 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnSizeChange,Ark_NativePointer,KSerializerBuffer,int32_t)37441 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnSizeChange, Ark_NativePointer, KSerializerBuffer, int32_t)
37442 void impl_UICommonEvent_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37443         Ark_UICommonEvent self = reinterpret_cast<Ark_UICommonEvent>(thisPtr);
37444         Deserializer thisDeserializer(thisArray, thisLength);
37445         Ark_VisibleAreaEventOptions options_value = thisDeserializer.readVisibleAreaEventOptions();;
37446         const auto event_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37447         Opt_VisibleAreaChangeCallback event_value_buf = {};
37448         event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37449         if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType))
37450         {
37451             event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))};
37452         }
37453         Opt_VisibleAreaChangeCallback event_value = event_value_buf;;
37454         GetAccessors()->getUICommonEventAccessor()->setOnVisibleAreaApproximateChange(self, (const Ark_VisibleAreaEventOptions*)&options_value, (const Opt_VisibleAreaChangeCallback*)&event_value);
37455 }
KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnVisibleAreaApproximateChange,Ark_NativePointer,KSerializerBuffer,int32_t)37456 KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, int32_t)
37457 Ark_NativePointer impl_GestureModifier_ctor() {
37458         return GetAccessors()->getGestureModifierAccessor()->ctor();
37459 }
KOALA_INTEROP_DIRECT_0(GestureModifier_ctor,Ark_NativePointer)37460 KOALA_INTEROP_DIRECT_0(GestureModifier_ctor, Ark_NativePointer)
37461 Ark_NativePointer impl_GestureModifier_getFinalizer() {
37462         return GetAccessors()->getGestureModifierAccessor()->getFinalizer();
37463 }
KOALA_INTEROP_DIRECT_0(GestureModifier_getFinalizer,Ark_NativePointer)37464 KOALA_INTEROP_DIRECT_0(GestureModifier_getFinalizer, Ark_NativePointer)
37465 void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37466         Ark_GestureModifier self = reinterpret_cast<Ark_GestureModifier>(thisPtr);
37467         Deserializer thisDeserializer(thisArray, thisLength);
37468         Ark_UIGestureEvent event_value = thisDeserializer.readUIGestureEvent();;
37469         GetAccessors()->getGestureModifierAccessor()->applyGesture(self, (const Ark_UIGestureEvent*)&event_value);
37470 }
KOALA_INTEROP_DIRECT_V3(GestureModifier_applyGesture,Ark_NativePointer,KSerializerBuffer,int32_t)37471 KOALA_INTEROP_DIRECT_V3(GestureModifier_applyGesture, Ark_NativePointer, KSerializerBuffer, int32_t)
37472 Ark_NativePointer impl_NavPathInfo_ctor(const KStringPtr& name, Ark_Boolean isEntry) {
37473     return GetAccessors()->getNavPathInfoAccessor()->ctor((const Ark_String*) (&name), isEntry);
37474 }
KOALA_INTEROP_2(NavPathInfo_ctor,Ark_NativePointer,KStringPtr,Ark_Boolean)37475 KOALA_INTEROP_2(NavPathInfo_ctor, Ark_NativePointer, KStringPtr, Ark_Boolean)
37476 Ark_NativePointer impl_NavPathInfo_getFinalizer() {
37477         return GetAccessors()->getNavPathInfoAccessor()->getFinalizer();
37478 }
KOALA_INTEROP_DIRECT_0(NavPathInfo_getFinalizer,Ark_NativePointer)37479 KOALA_INTEROP_DIRECT_0(NavPathInfo_getFinalizer, Ark_NativePointer)
37480 Ark_String impl_NavPathInfo_getName(Ark_NativePointer thisPtr) {
37481         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37482         return GetAccessors()->getNavPathInfoAccessor()->getName(self);
37483 }
KOALA_INTEROP_1(NavPathInfo_getName,KStringPtr,Ark_NativePointer)37484 KOALA_INTEROP_1(NavPathInfo_getName, KStringPtr, Ark_NativePointer)
37485 void impl_NavPathInfo_setName(Ark_NativePointer thisPtr, const KStringPtr& name) {
37486         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37487         GetAccessors()->getNavPathInfoAccessor()->setName(self, (const Ark_String*) (&name));
37488 }
KOALA_INTEROP_V2(NavPathInfo_setName,Ark_NativePointer,KStringPtr)37489 KOALA_INTEROP_V2(NavPathInfo_setName, Ark_NativePointer, KStringPtr)
37490 KInteropReturnBuffer impl_NavPathInfo_getParam(Ark_NativePointer thisPtr) {
37491         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37492         const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getParam(self);
37493         Serializer _retSerializer {};
37494         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37495         retValue_type = runtimeType(retValue);
37496         _retSerializer.writeInt8(retValue_type);
37497         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37498             const auto retValue_value = retValue.value;
37499             _retSerializer.writeObject(retValue_value);
37500         }
37501         return _retSerializer.toReturnBuffer();
37502 }
KOALA_INTEROP_1(NavPathInfo_getParam,KInteropReturnBuffer,Ark_NativePointer)37503 KOALA_INTEROP_1(NavPathInfo_getParam, KInteropReturnBuffer, Ark_NativePointer)
37504 void impl_NavPathInfo_setParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37505         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37506         Deserializer thisDeserializer(thisArray, thisLength);
37507         const auto param_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37508         Opt_Object param_value_buf = {};
37509         param_value_buf.tag = param_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37510         if ((INTEROP_RUNTIME_UNDEFINED) != (param_value_buf_runtimeType))
37511         {
37512             param_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
37513         }
37514         Opt_Object param_value = param_value_buf;;
37515         GetAccessors()->getNavPathInfoAccessor()->setParam(self, (const Opt_Object*)&param_value);
37516 }
KOALA_INTEROP_DIRECT_V3(NavPathInfo_setParam,Ark_NativePointer,KSerializerBuffer,int32_t)37517 KOALA_INTEROP_DIRECT_V3(NavPathInfo_setParam, Ark_NativePointer, KSerializerBuffer, int32_t)
37518 KInteropReturnBuffer impl_NavPathInfo_getOnPop(Ark_NativePointer thisPtr) {
37519         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37520         const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getOnPop(self);
37521         Serializer _retSerializer {};
37522         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37523         retValue_type = runtimeType(retValue);
37524         _retSerializer.writeInt8(retValue_type);
37525         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37526             const auto retValue_value = retValue.value;
37527             _retSerializer.writeCallbackResource(retValue_value.resource);
37528             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.call));
37529             _retSerializer.writePointer(reinterpret_cast<Ark_NativePointer>(retValue_value.callSync));
37530         }
37531         return _retSerializer.toReturnBuffer();
37532 }
KOALA_INTEROP_1(NavPathInfo_getOnPop,KInteropReturnBuffer,Ark_NativePointer)37533 KOALA_INTEROP_1(NavPathInfo_getOnPop, KInteropReturnBuffer, Ark_NativePointer)
37534 void impl_NavPathInfo_setOnPop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37535         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37536         Deserializer thisDeserializer(thisArray, thisLength);
37537         Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};;
37538         GetAccessors()->getNavPathInfoAccessor()->setOnPop(self, (const Callback_PopInfo_Void*)&onPop_value);
37539 }
KOALA_INTEROP_DIRECT_V3(NavPathInfo_setOnPop,Ark_NativePointer,KSerializerBuffer,int32_t)37540 KOALA_INTEROP_DIRECT_V3(NavPathInfo_setOnPop, Ark_NativePointer, KSerializerBuffer, int32_t)
37541 Ark_Boolean impl_NavPathInfo_getIsEntry(Ark_NativePointer thisPtr) {
37542         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37543         return GetAccessors()->getNavPathInfoAccessor()->getIsEntry(self);
37544 }
KOALA_INTEROP_1(NavPathInfo_getIsEntry,Ark_Boolean,Ark_NativePointer)37545 KOALA_INTEROP_1(NavPathInfo_getIsEntry, Ark_Boolean, Ark_NativePointer)
37546 void impl_NavPathInfo_setIsEntry(Ark_NativePointer thisPtr, Ark_Boolean isEntry) {
37547         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37548         GetAccessors()->getNavPathInfoAccessor()->setIsEntry(self, isEntry);
37549 }
KOALA_INTEROP_DIRECT_V2(NavPathInfo_setIsEntry,Ark_NativePointer,Ark_Boolean)37550 KOALA_INTEROP_DIRECT_V2(NavPathInfo_setIsEntry, Ark_NativePointer, Ark_Boolean)
37551 Ark_String impl_NavPathInfo_getNavDestinationId(Ark_NativePointer thisPtr) {
37552         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37553         return GetAccessors()->getNavPathInfoAccessor()->getNavDestinationId(self);
37554 }
KOALA_INTEROP_1(NavPathInfo_getNavDestinationId,KStringPtr,Ark_NativePointer)37555 KOALA_INTEROP_1(NavPathInfo_getNavDestinationId, KStringPtr, Ark_NativePointer)
37556 void impl_NavPathInfo_setNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) {
37557         Ark_NavPathInfo self = reinterpret_cast<Ark_NavPathInfo>(thisPtr);
37558         GetAccessors()->getNavPathInfoAccessor()->setNavDestinationId(self, (const Ark_String*) (&navDestinationId));
37559 }
KOALA_INTEROP_V2(NavPathInfo_setNavDestinationId,Ark_NativePointer,KStringPtr)37560 KOALA_INTEROP_V2(NavPathInfo_setNavDestinationId, Ark_NativePointer, KStringPtr)
37561 Ark_NativePointer impl_NavPathStack_ctor() {
37562         return GetAccessors()->getNavPathStackAccessor()->ctor();
37563 }
KOALA_INTEROP_DIRECT_0(NavPathStack_ctor,Ark_NativePointer)37564 KOALA_INTEROP_DIRECT_0(NavPathStack_ctor, Ark_NativePointer)
37565 Ark_NativePointer impl_NavPathStack_getFinalizer() {
37566         return GetAccessors()->getNavPathStackAccessor()->getFinalizer();
37567 }
KOALA_INTEROP_DIRECT_0(NavPathStack_getFinalizer,Ark_NativePointer)37568 KOALA_INTEROP_DIRECT_0(NavPathStack_getFinalizer, Ark_NativePointer)
37569 void impl_NavPathStack_pushPath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37570         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37571         Deserializer thisDeserializer(thisArray, thisLength);
37572         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37573         Opt_Boolean animated_value_buf = {};
37574         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37575         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37576         {
37577             animated_value_buf.value = thisDeserializer.readBoolean();
37578         }
37579         Opt_Boolean animated_value = animated_value_buf;;
37580         GetAccessors()->getNavPathStackAccessor()->pushPath0(self, static_cast<Ark_NavPathInfo>(info), (const Opt_Boolean*)&animated_value);
37581 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37582 KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37583 void impl_NavPathStack_pushPath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37584         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37585         Deserializer thisDeserializer(thisArray, thisLength);
37586         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37587         Opt_NavigationOptions options_value_buf = {};
37588         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37589         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
37590         {
37591             options_value_buf.value = thisDeserializer.readNavigationOptions();
37592         }
37593         Opt_NavigationOptions options_value = options_value_buf;;
37594         GetAccessors()->getNavPathStackAccessor()->pushPath1(self, static_cast<Ark_NavPathInfo>(info), (const Opt_NavigationOptions*)&options_value);
37595 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37596 KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37597 void impl_NavPathStack_pushDestination0(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37598         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37599         Deserializer thisDeserializer(thisArray, thisLength);
37600         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37601         Opt_Boolean animated_value_buf = {};
37602         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37603         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37604         {
37605             animated_value_buf.value = thisDeserializer.readBoolean();
37606         }
37607         Opt_Boolean animated_value = animated_value_buf;;
37608         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
37609         GetAccessors()->getNavPathStackAccessor()->pushDestination0(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, static_cast<Ark_NavPathInfo>(info), (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
37610 }
KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37611 KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37612 void impl_NavPathStack_pushDestination1(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37613         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37614         Deserializer thisDeserializer(thisArray, thisLength);
37615         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37616         Opt_NavigationOptions options_value_buf = {};
37617         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37618         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
37619         {
37620             options_value_buf.value = thisDeserializer.readNavigationOptions();
37621         }
37622         Opt_NavigationOptions options_value = options_value_buf;;
37623         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
37624         GetAccessors()->getNavPathStackAccessor()->pushDestination1(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, static_cast<Ark_NavPathInfo>(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
37625 }
KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37626 KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37627 void impl_NavPathStack_pushPathByName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37628         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37629         Deserializer thisDeserializer(thisArray, thisLength);
37630         const auto param_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37631         Opt_Object param_value_buf = {};
37632         param_value_buf.tag = param_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37633         if ((INTEROP_RUNTIME_UNDEFINED) != (param_value_buf_runtimeType))
37634         {
37635             param_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
37636         }
37637         Opt_Object param_value = param_value_buf;;
37638         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37639         Opt_Boolean animated_value_buf = {};
37640         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37641         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37642         {
37643             animated_value_buf.value = thisDeserializer.readBoolean();
37644         }
37645         Opt_Boolean animated_value = animated_value_buf;;
37646         GetAccessors()->getNavPathStackAccessor()->pushPathByName0(self, (const Ark_String*) (&name), (const Opt_Object*)&param_value, (const Opt_Boolean*)&animated_value);
37647 }
KOALA_INTEROP_V4(NavPathStack_pushPathByName0,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37648 KOALA_INTEROP_V4(NavPathStack_pushPathByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37649 void impl_NavPathStack_pushPathByName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37650         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37651         Deserializer thisDeserializer(thisArray, thisLength);
37652         Ark_Object param_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37653         Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};;
37654         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37655         Opt_Boolean animated_value_buf = {};
37656         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37657         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37658         {
37659             animated_value_buf.value = thisDeserializer.readBoolean();
37660         }
37661         Opt_Boolean animated_value = animated_value_buf;;
37662         GetAccessors()->getNavPathStackAccessor()->pushPathByName1(self, (const Ark_String*) (&name), (const Ark_Object*)&param_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value);
37663 }
KOALA_INTEROP_V4(NavPathStack_pushPathByName1,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37664 KOALA_INTEROP_V4(NavPathStack_pushPathByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37665 void impl_NavPathStack_pushDestinationByName0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37666         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37667         Deserializer thisDeserializer(thisArray, thisLength);
37668         Ark_Object param_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37669         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37670         Opt_Boolean animated_value_buf = {};
37671         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37672         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37673         {
37674             animated_value_buf.value = thisDeserializer.readBoolean();
37675         }
37676         Opt_Boolean animated_value = animated_value_buf;;
37677         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
37678         GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)&param_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
37679 }
KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName0,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37680 KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37681 void impl_NavPathStack_pushDestinationByName1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37682         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37683         Deserializer thisDeserializer(thisArray, thisLength);
37684         Ark_Object param_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37685         Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PopInfo parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};;
37686         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37687         Opt_Boolean animated_value_buf = {};
37688         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37689         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37690         {
37691             animated_value_buf.value = thisDeserializer.readBoolean();
37692         }
37693         Opt_Boolean animated_value = animated_value_buf;;
37694         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
37695         GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)&param_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
37696 }
KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName1,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37697 KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37698 void impl_NavPathStack_replacePath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37699         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37700         Deserializer thisDeserializer(thisArray, thisLength);
37701         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37702         Opt_Boolean animated_value_buf = {};
37703         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37704         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37705         {
37706             animated_value_buf.value = thisDeserializer.readBoolean();
37707         }
37708         Opt_Boolean animated_value = animated_value_buf;;
37709         GetAccessors()->getNavPathStackAccessor()->replacePath0(self, static_cast<Ark_NavPathInfo>(info), (const Opt_Boolean*)&animated_value);
37710 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37711 KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37712 void impl_NavPathStack_replacePath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37713         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37714         Deserializer thisDeserializer(thisArray, thisLength);
37715         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37716         Opt_NavigationOptions options_value_buf = {};
37717         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37718         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
37719         {
37720             options_value_buf.value = thisDeserializer.readNavigationOptions();
37721         }
37722         Opt_NavigationOptions options_value = options_value_buf;;
37723         GetAccessors()->getNavPathStackAccessor()->replacePath1(self, static_cast<Ark_NavPathInfo>(info), (const Opt_NavigationOptions*)&options_value);
37724 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37725 KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37726 void impl_NavPathStack_replaceDestination(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) {
37727         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37728         Deserializer thisDeserializer(thisArray, thisLength);
37729         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37730         Opt_NavigationOptions options_value_buf = {};
37731         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37732         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
37733         {
37734             options_value_buf.value = thisDeserializer.readNavigationOptions();
37735         }
37736         Opt_NavigationOptions options_value = options_value_buf;;
37737         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
37738         GetAccessors()->getNavPathStackAccessor()->replaceDestination(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, static_cast<Ark_NavPathInfo>(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
37739 }
KOALA_INTEROP_CTX_V4(NavPathStack_replaceDestination,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)37740 KOALA_INTEROP_CTX_V4(NavPathStack_replaceDestination, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
37741 void impl_NavPathStack_replacePathByName(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37742         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37743         Deserializer thisDeserializer(thisArray, thisLength);
37744         Ark_Object param_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37745         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37746         Opt_Boolean animated_value_buf = {};
37747         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37748         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37749         {
37750             animated_value_buf.value = thisDeserializer.readBoolean();
37751         }
37752         Opt_Boolean animated_value = animated_value_buf;;
37753         GetAccessors()->getNavPathStackAccessor()->replacePathByName(self, (const Ark_String*) (&name), (const Ark_Object*)&param_value, (const Opt_Boolean*)&animated_value);
37754 }
KOALA_INTEROP_V4(NavPathStack_replacePathByName,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37755 KOALA_INTEROP_V4(NavPathStack_replacePathByName, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37756 Ark_Number impl_NavPathStack_removeByIndexes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37757         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37758         Deserializer thisDeserializer(thisArray, thisLength);
37759         const Ark_Int32 indexes_value_buf_length = thisDeserializer.readInt32();
37760         Array_Number indexes_value_buf = {};
37761         thisDeserializer.resizeArray<std::decay<decltype(indexes_value_buf)>::type,
37762         std::decay<decltype(*indexes_value_buf.array)>::type>(&indexes_value_buf, indexes_value_buf_length);
37763         for (int indexes_value_buf_i = 0; indexes_value_buf_i < indexes_value_buf_length; indexes_value_buf_i++) {
37764             indexes_value_buf.array[indexes_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
37765         }
37766         Array_Number indexes_value = indexes_value_buf;;
37767         return GetAccessors()->getNavPathStackAccessor()->removeByIndexes(self, (const Array_Number*)&indexes_value);
37768 }
KOALA_INTEROP_DIRECT_3(NavPathStack_removeByIndexes,KInteropNumber,Ark_NativePointer,KSerializerBuffer,int32_t)37769 KOALA_INTEROP_DIRECT_3(NavPathStack_removeByIndexes, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t)
37770 Ark_Number impl_NavPathStack_removeByName(Ark_NativePointer thisPtr, const KStringPtr& name) {
37771         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37772         return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name));
37773 }
KOALA_INTEROP_2(NavPathStack_removeByName,KInteropNumber,Ark_NativePointer,KStringPtr)37774 KOALA_INTEROP_2(NavPathStack_removeByName, KInteropNumber, Ark_NativePointer, KStringPtr)
37775 Ark_Boolean impl_NavPathStack_removeByNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) {
37776         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37777         return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId));
37778 }
KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId,Ark_Boolean,Ark_NativePointer,KStringPtr)37779 KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId, Ark_Boolean, Ark_NativePointer, KStringPtr)
37780 KInteropReturnBuffer impl_NavPathStack_pop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37781         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37782         Deserializer thisDeserializer(thisArray, thisLength);
37783         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37784         Opt_Boolean animated_value_buf = {};
37785         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37786         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37787         {
37788             animated_value_buf.value = thisDeserializer.readBoolean();
37789         }
37790         Opt_Boolean animated_value = animated_value_buf;;
37791         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop0(self, (const Opt_Boolean*)&animated_value);
37792         Serializer _retSerializer {};
37793         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37794         retValue_type = runtimeType(retValue);
37795         _retSerializer.writeInt8(retValue_type);
37796         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37797             const auto retValue_value = retValue.value;
37798             _retSerializer.writeNavPathInfo(retValue_value);
37799         }
37800         return _retSerializer.toReturnBuffer();
37801 }
KOALA_INTEROP_3(NavPathStack_pop0,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)37802 KOALA_INTEROP_3(NavPathStack_pop0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
37803 KInteropReturnBuffer impl_NavPathStack_pop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37804         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37805         Deserializer thisDeserializer(thisArray, thisLength);
37806         Ark_Object result_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37807         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37808         Opt_Boolean animated_value_buf = {};
37809         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37810         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37811         {
37812             animated_value_buf.value = thisDeserializer.readBoolean();
37813         }
37814         Opt_Boolean animated_value = animated_value_buf;;
37815         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop1(self, (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value);
37816         Serializer _retSerializer {};
37817         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37818         retValue_type = runtimeType(retValue);
37819         _retSerializer.writeInt8(retValue_type);
37820         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37821             const auto retValue_value = retValue.value;
37822             _retSerializer.writeNavPathInfo(retValue_value);
37823         }
37824         return _retSerializer.toReturnBuffer();
37825 }
KOALA_INTEROP_3(NavPathStack_pop1,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)37826 KOALA_INTEROP_3(NavPathStack_pop1, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
37827 Ark_Number impl_NavPathStack_popToName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37828         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37829         Deserializer thisDeserializer(thisArray, thisLength);
37830         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37831         Opt_Boolean animated_value_buf = {};
37832         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37833         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37834         {
37835             animated_value_buf.value = thisDeserializer.readBoolean();
37836         }
37837         Opt_Boolean animated_value = animated_value_buf;;
37838         return GetAccessors()->getNavPathStackAccessor()->popToName0(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value);
37839 }
KOALA_INTEROP_4(NavPathStack_popToName0,KInteropNumber,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37840 KOALA_INTEROP_4(NavPathStack_popToName0, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37841 Ark_Number impl_NavPathStack_popToName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37842         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37843         Deserializer thisDeserializer(thisArray, thisLength);
37844         Ark_Object result_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37845         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37846         Opt_Boolean animated_value_buf = {};
37847         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37848         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37849         {
37850             animated_value_buf.value = thisDeserializer.readBoolean();
37851         }
37852         Opt_Boolean animated_value = animated_value_buf;;
37853         return GetAccessors()->getNavPathStackAccessor()->popToName1(self, (const Ark_String*) (&name), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value);
37854 }
KOALA_INTEROP_4(NavPathStack_popToName1,KInteropNumber,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37855 KOALA_INTEROP_4(NavPathStack_popToName1, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37856 void impl_NavPathStack_popToIndex0(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
37857         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37858         Deserializer thisDeserializer(thisArray, thisLength);
37859         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37860         Opt_Boolean animated_value_buf = {};
37861         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37862         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37863         {
37864             animated_value_buf.value = thisDeserializer.readBoolean();
37865         }
37866         Opt_Boolean animated_value = animated_value_buf;;
37867         GetAccessors()->getNavPathStackAccessor()->popToIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value);
37868 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex0,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)37869 KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
37870 void impl_NavPathStack_popToIndex1(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
37871         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37872         Deserializer thisDeserializer(thisArray, thisLength);
37873         Ark_Object result_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
37874         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37875         Opt_Boolean animated_value_buf = {};
37876         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37877         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37878         {
37879             animated_value_buf.value = thisDeserializer.readBoolean();
37880         }
37881         Opt_Boolean animated_value = animated_value_buf;;
37882         GetAccessors()->getNavPathStackAccessor()->popToIndex1(self, (const Ark_Number*) (&index), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value);
37883 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex1,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)37884 KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex1, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
37885 Ark_Number impl_NavPathStack_moveToTop(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) {
37886         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37887         Deserializer thisDeserializer(thisArray, thisLength);
37888         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37889         Opt_Boolean animated_value_buf = {};
37890         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37891         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37892         {
37893             animated_value_buf.value = thisDeserializer.readBoolean();
37894         }
37895         Opt_Boolean animated_value = animated_value_buf;;
37896         return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value);
37897 }
KOALA_INTEROP_4(NavPathStack_moveToTop,KInteropNumber,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)37898 KOALA_INTEROP_4(NavPathStack_moveToTop, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
37899 void impl_NavPathStack_moveIndexToTop(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
37900         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37901         Deserializer thisDeserializer(thisArray, thisLength);
37902         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37903         Opt_Boolean animated_value_buf = {};
37904         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37905         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37906         {
37907             animated_value_buf.value = thisDeserializer.readBoolean();
37908         }
37909         Opt_Boolean animated_value = animated_value_buf;;
37910         GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value);
37911 }
KOALA_INTEROP_DIRECT_V4(NavPathStack_moveIndexToTop,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)37912 KOALA_INTEROP_DIRECT_V4(NavPathStack_moveIndexToTop, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
37913 void impl_NavPathStack_clear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
37914         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37915         Deserializer thisDeserializer(thisArray, thisLength);
37916         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
37917         Opt_Boolean animated_value_buf = {};
37918         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
37919         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
37920         {
37921             animated_value_buf.value = thisDeserializer.readBoolean();
37922         }
37923         Opt_Boolean animated_value = animated_value_buf;;
37924         GetAccessors()->getNavPathStackAccessor()->clear(self, (const Opt_Boolean*)&animated_value);
37925 }
KOALA_INTEROP_DIRECT_V3(NavPathStack_clear,Ark_NativePointer,KSerializerBuffer,int32_t)37926 KOALA_INTEROP_DIRECT_V3(NavPathStack_clear, Ark_NativePointer, KSerializerBuffer, int32_t)
37927 KInteropReturnBuffer impl_NavPathStack_getAllPathName(Ark_NativePointer thisPtr) {
37928         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37929         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getAllPathName(self);
37930         Serializer _retSerializer {};
37931         _retSerializer.writeInt32(retValue.length);
37932         for (int i = 0; i < retValue.length; i++) {
37933             const Ark_String retValue_element = retValue.array[i];
37934             _retSerializer.writeString(retValue_element);
37935         }
37936         return _retSerializer.toReturnBuffer();
37937 }
KOALA_INTEROP_1(NavPathStack_getAllPathName,KInteropReturnBuffer,Ark_NativePointer)37938 KOALA_INTEROP_1(NavPathStack_getAllPathName, KInteropReturnBuffer, Ark_NativePointer)
37939 KInteropReturnBuffer impl_NavPathStack_getParamByIndex(Ark_NativePointer thisPtr, KInteropNumber index) {
37940         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37941         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByIndex(self, (const Ark_Number*) (&index));
37942         Serializer _retSerializer {};
37943         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37944         retValue_type = runtimeType(retValue);
37945         _retSerializer.writeInt8(retValue_type);
37946         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37947             const auto retValue_value = retValue.value;
37948             _retSerializer.writeObject(retValue_value);
37949         }
37950         return _retSerializer.toReturnBuffer();
37951 }
KOALA_INTEROP_2(NavPathStack_getParamByIndex,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber)37952 KOALA_INTEROP_2(NavPathStack_getParamByIndex, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber)
37953 KInteropReturnBuffer impl_NavPathStack_getParamByName(Ark_NativePointer thisPtr, const KStringPtr& name) {
37954         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37955         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByName(self, (const Ark_String*) (&name));
37956         Serializer _retSerializer {};
37957         _retSerializer.writeInt32(retValue.length);
37958         for (int i = 0; i < retValue.length; i++) {
37959             const Opt_Object retValue_element = retValue.array[i];
37960             Ark_Int32 retValue_element_type = INTEROP_RUNTIME_UNDEFINED;
37961             retValue_element_type = runtimeType(retValue_element);
37962             _retSerializer.writeInt8(retValue_element_type);
37963             if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_element_type)) {
37964                 const auto retValue_element_value = retValue_element.value;
37965                 _retSerializer.writeObject(retValue_element_value);
37966             }
37967         }
37968         return _retSerializer.toReturnBuffer();
37969 }
KOALA_INTEROP_2(NavPathStack_getParamByName,KInteropReturnBuffer,Ark_NativePointer,KStringPtr)37970 KOALA_INTEROP_2(NavPathStack_getParamByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr)
37971 KInteropReturnBuffer impl_NavPathStack_getIndexByName(Ark_NativePointer thisPtr, const KStringPtr& name) {
37972         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37973         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name));
37974         Serializer _retSerializer {};
37975         _retSerializer.writeInt32(retValue.length);
37976         for (int i = 0; i < retValue.length; i++) {
37977             const Ark_Number retValue_element = retValue.array[i];
37978             _retSerializer.writeNumber(retValue_element);
37979         }
37980         return _retSerializer.toReturnBuffer();
37981 }
KOALA_INTEROP_2(NavPathStack_getIndexByName,KInteropReturnBuffer,Ark_NativePointer,KStringPtr)37982 KOALA_INTEROP_2(NavPathStack_getIndexByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr)
37983 KInteropReturnBuffer impl_NavPathStack_getParent(Ark_NativePointer thisPtr) {
37984         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37985         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParent(self);
37986         Serializer _retSerializer {};
37987         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
37988         retValue_type = runtimeType(retValue);
37989         _retSerializer.writeInt8(retValue_type);
37990         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
37991             const auto retValue_value = retValue.value;
37992             _retSerializer.writeNavPathStack(retValue_value);
37993         }
37994         return _retSerializer.toReturnBuffer();
37995 }
KOALA_INTEROP_1(NavPathStack_getParent,KInteropReturnBuffer,Ark_NativePointer)37996 KOALA_INTEROP_1(NavPathStack_getParent, KInteropReturnBuffer, Ark_NativePointer)
37997 Ark_Number impl_NavPathStack_size(Ark_NativePointer thisPtr) {
37998         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
37999         return GetAccessors()->getNavPathStackAccessor()->size(self);
38000 }
KOALA_INTEROP_DIRECT_1(NavPathStack_size,KInteropNumber,Ark_NativePointer)38001 KOALA_INTEROP_DIRECT_1(NavPathStack_size, KInteropNumber, Ark_NativePointer)
38002 void impl_NavPathStack_disableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) {
38003         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
38004         GetAccessors()->getNavPathStackAccessor()->disableAnimation(self, value);
38005 }
KOALA_INTEROP_DIRECT_V2(NavPathStack_disableAnimation,Ark_NativePointer,Ark_Boolean)38006 KOALA_INTEROP_DIRECT_V2(NavPathStack_disableAnimation, Ark_NativePointer, Ark_Boolean)
38007 void impl_NavPathStack_setInterception(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38008         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
38009         Deserializer thisDeserializer(thisArray, thisLength);
38010         Ark_NavigationInterception interception_value = thisDeserializer.readNavigationInterception();;
38011         GetAccessors()->getNavPathStackAccessor()->setInterception(self, (const Ark_NavigationInterception*)&interception_value);
38012 }
KOALA_INTEROP_DIRECT_V3(NavPathStack_setInterception,Ark_NativePointer,KSerializerBuffer,int32_t)38013 KOALA_INTEROP_DIRECT_V3(NavPathStack_setInterception, Ark_NativePointer, KSerializerBuffer, int32_t)
38014 KInteropReturnBuffer impl_NavPathStack_getPathStack(Ark_NativePointer thisPtr) {
38015         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
38016         const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getPathStack(self);
38017         Serializer _retSerializer {};
38018         _retSerializer.writeInt32(retValue.length);
38019         for (int i = 0; i < retValue.length; i++) {
38020             const Ark_NavPathInfo retValue_element = retValue.array[i];
38021             _retSerializer.writeNavPathInfo(retValue_element);
38022         }
38023         return _retSerializer.toReturnBuffer();
38024 }
KOALA_INTEROP_1(NavPathStack_getPathStack,KInteropReturnBuffer,Ark_NativePointer)38025 KOALA_INTEROP_1(NavPathStack_getPathStack, KInteropReturnBuffer, Ark_NativePointer)
38026 void impl_NavPathStack_setPathStack(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38027         Ark_NavPathStack self = reinterpret_cast<Ark_NavPathStack>(thisPtr);
38028         Deserializer thisDeserializer(thisArray, thisLength);
38029         const Ark_Int32 pathStack_value_buf_length = thisDeserializer.readInt32();
38030         Array_NavPathInfo pathStack_value_buf = {};
38031         thisDeserializer.resizeArray<std::decay<decltype(pathStack_value_buf)>::type,
38032         std::decay<decltype(*pathStack_value_buf.array)>::type>(&pathStack_value_buf, pathStack_value_buf_length);
38033         for (int pathStack_value_buf_i = 0; pathStack_value_buf_i < pathStack_value_buf_length; pathStack_value_buf_i++) {
38034             pathStack_value_buf.array[pathStack_value_buf_i] = static_cast<Ark_NavPathInfo>(thisDeserializer.readNavPathInfo());
38035         }
38036         Array_NavPathInfo pathStack_value = pathStack_value_buf;;
38037         const auto animated_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38038         Opt_Boolean animated_value_buf = {};
38039         animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38040         if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType))
38041         {
38042             animated_value_buf.value = thisDeserializer.readBoolean();
38043         }
38044         Opt_Boolean animated_value = animated_value_buf;;
38045         GetAccessors()->getNavPathStackAccessor()->setPathStack(self, (const Array_NavPathInfo*)&pathStack_value, (const Opt_Boolean*)&animated_value);
38046 }
KOALA_INTEROP_DIRECT_V3(NavPathStack_setPathStack,Ark_NativePointer,KSerializerBuffer,int32_t)38047 KOALA_INTEROP_DIRECT_V3(NavPathStack_setPathStack, Ark_NativePointer, KSerializerBuffer, int32_t)
38048 Ark_NativePointer impl_NavigationTransitionProxy_ctor() {
38049         return GetAccessors()->getNavigationTransitionProxyAccessor()->ctor();
38050 }
KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_ctor,Ark_NativePointer)38051 KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_ctor, Ark_NativePointer)
38052 Ark_NativePointer impl_NavigationTransitionProxy_getFinalizer() {
38053         return GetAccessors()->getNavigationTransitionProxyAccessor()->getFinalizer();
38054 }
KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_getFinalizer,Ark_NativePointer)38055 KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_getFinalizer, Ark_NativePointer)
38056 void impl_NavigationTransitionProxy_finishTransition(Ark_NativePointer thisPtr) {
38057         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38058         GetAccessors()->getNavigationTransitionProxyAccessor()->finishTransition(self);
38059 }
KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_finishTransition,Ark_NativePointer)38060 KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_finishTransition, Ark_NativePointer)
38061 void impl_NavigationTransitionProxy_cancelTransition(Ark_NativePointer thisPtr) {
38062         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38063         GetAccessors()->getNavigationTransitionProxyAccessor()->cancelTransition(self);
38064 }
KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_cancelTransition,Ark_NativePointer)38065 KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_cancelTransition, Ark_NativePointer)
38066 void impl_NavigationTransitionProxy_updateTransition(Ark_NativePointer thisPtr, KInteropNumber progress) {
38067         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38068         GetAccessors()->getNavigationTransitionProxyAccessor()->updateTransition(self, (const Ark_Number*) (&progress));
38069 }
KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_updateTransition,Ark_NativePointer,KInteropNumber)38070 KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_updateTransition, Ark_NativePointer, KInteropNumber)
38071 KInteropReturnBuffer impl_NavigationTransitionProxy_getFrom(Ark_NativePointer thisPtr) {
38072         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38073         const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getFrom(self);
38074         Serializer _retSerializer {};
38075         _retSerializer.writeNavContentInfo(retValue);
38076         return _retSerializer.toReturnBuffer();
38077 }
KOALA_INTEROP_1(NavigationTransitionProxy_getFrom,KInteropReturnBuffer,Ark_NativePointer)38078 KOALA_INTEROP_1(NavigationTransitionProxy_getFrom, KInteropReturnBuffer, Ark_NativePointer)
38079 void impl_NavigationTransitionProxy_setFrom(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38080         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38081         Deserializer thisDeserializer(thisArray, thisLength);
38082         Ark_NavContentInfo from_value = thisDeserializer.readNavContentInfo();;
38083         GetAccessors()->getNavigationTransitionProxyAccessor()->setFrom(self, (const Ark_NavContentInfo*)&from_value);
38084 }
KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setFrom,Ark_NativePointer,KSerializerBuffer,int32_t)38085 KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setFrom, Ark_NativePointer, KSerializerBuffer, int32_t)
38086 KInteropReturnBuffer impl_NavigationTransitionProxy_getTo(Ark_NativePointer thisPtr) {
38087         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38088         const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getTo(self);
38089         Serializer _retSerializer {};
38090         _retSerializer.writeNavContentInfo(retValue);
38091         return _retSerializer.toReturnBuffer();
38092 }
KOALA_INTEROP_1(NavigationTransitionProxy_getTo,KInteropReturnBuffer,Ark_NativePointer)38093 KOALA_INTEROP_1(NavigationTransitionProxy_getTo, KInteropReturnBuffer, Ark_NativePointer)
38094 void impl_NavigationTransitionProxy_setTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38095         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38096         Deserializer thisDeserializer(thisArray, thisLength);
38097         Ark_NavContentInfo to_value = thisDeserializer.readNavContentInfo();;
38098         GetAccessors()->getNavigationTransitionProxyAccessor()->setTo(self, (const Ark_NavContentInfo*)&to_value);
38099 }
KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setTo,Ark_NativePointer,KSerializerBuffer,int32_t)38100 KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setTo, Ark_NativePointer, KSerializerBuffer, int32_t)
38101 KInteropReturnBuffer impl_NavigationTransitionProxy_getIsInteractive(Ark_NativePointer thisPtr) {
38102         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38103         const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getIsInteractive(self);
38104         Serializer _retSerializer {};
38105         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38106         retValue_type = runtimeType(retValue);
38107         _retSerializer.writeInt8(retValue_type);
38108         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
38109             const auto retValue_value = retValue.value;
38110             _retSerializer.writeBoolean(retValue_value);
38111         }
38112         return _retSerializer.toReturnBuffer();
38113 }
KOALA_INTEROP_1(NavigationTransitionProxy_getIsInteractive,KInteropReturnBuffer,Ark_NativePointer)38114 KOALA_INTEROP_1(NavigationTransitionProxy_getIsInteractive, KInteropReturnBuffer, Ark_NativePointer)
38115 void impl_NavigationTransitionProxy_setIsInteractive(Ark_NativePointer thisPtr, Ark_Boolean isInteractive) {
38116         Ark_NavigationTransitionProxy self = reinterpret_cast<Ark_NavigationTransitionProxy>(thisPtr);
38117         GetAccessors()->getNavigationTransitionProxyAccessor()->setIsInteractive(self, isInteractive);
38118 }
KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_setIsInteractive,Ark_NativePointer,Ark_Boolean)38119 KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_setIsInteractive, Ark_NativePointer, Ark_Boolean)
38120 Ark_NativePointer impl_CanvasGradient_ctor() {
38121         return GetAccessors()->getCanvasGradientAccessor()->ctor();
38122 }
KOALA_INTEROP_DIRECT_0(CanvasGradient_ctor,Ark_NativePointer)38123 KOALA_INTEROP_DIRECT_0(CanvasGradient_ctor, Ark_NativePointer)
38124 Ark_NativePointer impl_CanvasGradient_getFinalizer() {
38125         return GetAccessors()->getCanvasGradientAccessor()->getFinalizer();
38126 }
KOALA_INTEROP_DIRECT_0(CanvasGradient_getFinalizer,Ark_NativePointer)38127 KOALA_INTEROP_DIRECT_0(CanvasGradient_getFinalizer, Ark_NativePointer)
38128 void impl_CanvasGradient_addColorStop(Ark_NativePointer thisPtr, KInteropNumber offset, const KStringPtr& color) {
38129         Ark_CanvasGradient self = reinterpret_cast<Ark_CanvasGradient>(thisPtr);
38130         GetAccessors()->getCanvasGradientAccessor()->addColorStop(self, (const Ark_Number*) (&offset), (const Ark_String*) (&color));
38131 }
KOALA_INTEROP_V3(CanvasGradient_addColorStop,Ark_NativePointer,KInteropNumber,KStringPtr)38132 KOALA_INTEROP_V3(CanvasGradient_addColorStop, Ark_NativePointer, KInteropNumber, KStringPtr)
38133 Ark_NativePointer impl_CanvasPath_ctor() {
38134         return GetAccessors()->getCanvasPathAccessor()->ctor();
38135 }
KOALA_INTEROP_DIRECT_0(CanvasPath_ctor,Ark_NativePointer)38136 KOALA_INTEROP_DIRECT_0(CanvasPath_ctor, Ark_NativePointer)
38137 Ark_NativePointer impl_CanvasPath_getFinalizer() {
38138         return GetAccessors()->getCanvasPathAccessor()->getFinalizer();
38139 }
KOALA_INTEROP_DIRECT_0(CanvasPath_getFinalizer,Ark_NativePointer)38140 KOALA_INTEROP_DIRECT_0(CanvasPath_getFinalizer, Ark_NativePointer)
38141 void impl_CanvasPath_arc(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber radius, KInteropNumber startAngle, KInteropNumber endAngle, KSerializerBuffer thisArray, int32_t thisLength) {
38142         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38143         Deserializer thisDeserializer(thisArray, thisLength);
38144         const auto counterclockwise_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38145         Opt_Boolean counterclockwise_value_buf = {};
38146         counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38147         if ((INTEROP_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType))
38148         {
38149             counterclockwise_value_buf.value = thisDeserializer.readBoolean();
38150         }
38151         Opt_Boolean counterclockwise_value = counterclockwise_value_buf;;
38152         GetAccessors()->getCanvasPathAccessor()->arc(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&radius), (const Ark_Number*) (&startAngle), (const Ark_Number*) (&endAngle), (const Opt_Boolean*)&counterclockwise_value);
38153 }
KOALA_INTEROP_DIRECT_V8(CanvasPath_arc,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)38154 KOALA_INTEROP_DIRECT_V8(CanvasPath_arc, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
38155 void impl_CanvasPath_arcTo(Ark_NativePointer thisPtr, KInteropNumber x1, KInteropNumber y1, KInteropNumber x2, KInteropNumber y2, KInteropNumber radius) {
38156         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38157         GetAccessors()->getCanvasPathAccessor()->arcTo(self, (const Ark_Number*) (&x1), (const Ark_Number*) (&y1), (const Ark_Number*) (&x2), (const Ark_Number*) (&y2), (const Ark_Number*) (&radius));
38158 }
KOALA_INTEROP_DIRECT_V6(CanvasPath_arcTo,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38159 KOALA_INTEROP_DIRECT_V6(CanvasPath_arcTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38160 void impl_CanvasPath_bezierCurveTo(Ark_NativePointer thisPtr, KInteropNumber cp1x, KInteropNumber cp1y, KInteropNumber cp2x, KInteropNumber cp2y, KInteropNumber x, KInteropNumber y) {
38161         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38162         GetAccessors()->getCanvasPathAccessor()->bezierCurveTo(self, (const Ark_Number*) (&cp1x), (const Ark_Number*) (&cp1y), (const Ark_Number*) (&cp2x), (const Ark_Number*) (&cp2y), (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38163 }
KOALA_INTEROP_DIRECT_V7(CanvasPath_bezierCurveTo,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38164 KOALA_INTEROP_DIRECT_V7(CanvasPath_bezierCurveTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38165 void impl_CanvasPath_closePath(Ark_NativePointer thisPtr) {
38166         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38167         GetAccessors()->getCanvasPathAccessor()->closePath(self);
38168 }
KOALA_INTEROP_DIRECT_V1(CanvasPath_closePath,Ark_NativePointer)38169 KOALA_INTEROP_DIRECT_V1(CanvasPath_closePath, Ark_NativePointer)
38170 void impl_CanvasPath_ellipse(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber radiusX, KInteropNumber radiusY, KInteropNumber rotation, KInteropNumber startAngle, KInteropNumber endAngle, KSerializerBuffer thisArray, int32_t thisLength) {
38171         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38172         Deserializer thisDeserializer(thisArray, thisLength);
38173         const auto counterclockwise_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38174         Opt_Boolean counterclockwise_value_buf = {};
38175         counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38176         if ((INTEROP_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType))
38177         {
38178             counterclockwise_value_buf.value = thisDeserializer.readBoolean();
38179         }
38180         Opt_Boolean counterclockwise_value = counterclockwise_value_buf;;
38181         GetAccessors()->getCanvasPathAccessor()->ellipse(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&radiusX), (const Ark_Number*) (&radiusY), (const Ark_Number*) (&rotation), (const Ark_Number*) (&startAngle), (const Ark_Number*) (&endAngle), (const Opt_Boolean*)&counterclockwise_value);
38182 }
KOALA_INTEROP_DIRECT_V10(CanvasPath_ellipse,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)38183 KOALA_INTEROP_DIRECT_V10(CanvasPath_ellipse, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
38184 void impl_CanvasPath_lineTo(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
38185         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38186         GetAccessors()->getCanvasPathAccessor()->lineTo(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38187 }
KOALA_INTEROP_DIRECT_V3(CanvasPath_lineTo,Ark_NativePointer,KInteropNumber,KInteropNumber)38188 KOALA_INTEROP_DIRECT_V3(CanvasPath_lineTo, Ark_NativePointer, KInteropNumber, KInteropNumber)
38189 void impl_CanvasPath_moveTo(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
38190         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38191         GetAccessors()->getCanvasPathAccessor()->moveTo(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38192 }
KOALA_INTEROP_DIRECT_V3(CanvasPath_moveTo,Ark_NativePointer,KInteropNumber,KInteropNumber)38193 KOALA_INTEROP_DIRECT_V3(CanvasPath_moveTo, Ark_NativePointer, KInteropNumber, KInteropNumber)
38194 void impl_CanvasPath_quadraticCurveTo(Ark_NativePointer thisPtr, KInteropNumber cpx, KInteropNumber cpy, KInteropNumber x, KInteropNumber y) {
38195         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38196         GetAccessors()->getCanvasPathAccessor()->quadraticCurveTo(self, (const Ark_Number*) (&cpx), (const Ark_Number*) (&cpy), (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38197 }
KOALA_INTEROP_DIRECT_V5(CanvasPath_quadraticCurveTo,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38198 KOALA_INTEROP_DIRECT_V5(CanvasPath_quadraticCurveTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38199 void impl_CanvasPath_rect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) {
38200         Ark_CanvasPath self = reinterpret_cast<Ark_CanvasPath>(thisPtr);
38201         GetAccessors()->getCanvasPathAccessor()->rect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h));
38202 }
KOALA_INTEROP_DIRECT_V5(CanvasPath_rect,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38203 KOALA_INTEROP_DIRECT_V5(CanvasPath_rect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38204 Ark_NativePointer impl_Path2D_ctor() {
38205         return GetAccessors()->getPath2DAccessor()->ctor();
38206 }
KOALA_INTEROP_DIRECT_0(Path2D_ctor,Ark_NativePointer)38207 KOALA_INTEROP_DIRECT_0(Path2D_ctor, Ark_NativePointer)
38208 Ark_NativePointer impl_Path2D_getFinalizer() {
38209         return GetAccessors()->getPath2DAccessor()->getFinalizer();
38210 }
KOALA_INTEROP_DIRECT_0(Path2D_getFinalizer,Ark_NativePointer)38211 KOALA_INTEROP_DIRECT_0(Path2D_getFinalizer, Ark_NativePointer)
38212 void impl_Path2D_addPath(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, int32_t thisLength) {
38213         Ark_Path2D self = reinterpret_cast<Ark_Path2D>(thisPtr);
38214         Deserializer thisDeserializer(thisArray, thisLength);
38215         const auto transform_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38216         Opt_Matrix2D transform_value_buf = {};
38217         transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38218         if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType))
38219         {
38220             transform_value_buf.value = static_cast<Ark_Matrix2D>(thisDeserializer.readMatrix2D());
38221         }
38222         Opt_Matrix2D transform_value = transform_value_buf;;
38223         GetAccessors()->getPath2DAccessor()->addPath(self, static_cast<Ark_Path2D>(path), (const Opt_Matrix2D*)&transform_value);
38224 }
KOALA_INTEROP_DIRECT_V4(Path2D_addPath,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38225 KOALA_INTEROP_DIRECT_V4(Path2D_addPath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38226 Ark_NativePointer impl_CanvasPattern_ctor() {
38227         return GetAccessors()->getCanvasPatternAccessor()->ctor();
38228 }
KOALA_INTEROP_DIRECT_0(CanvasPattern_ctor,Ark_NativePointer)38229 KOALA_INTEROP_DIRECT_0(CanvasPattern_ctor, Ark_NativePointer)
38230 Ark_NativePointer impl_CanvasPattern_getFinalizer() {
38231         return GetAccessors()->getCanvasPatternAccessor()->getFinalizer();
38232 }
KOALA_INTEROP_DIRECT_0(CanvasPattern_getFinalizer,Ark_NativePointer)38233 KOALA_INTEROP_DIRECT_0(CanvasPattern_getFinalizer, Ark_NativePointer)
38234 void impl_CanvasPattern_setTransform(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38235         Ark_CanvasPattern self = reinterpret_cast<Ark_CanvasPattern>(thisPtr);
38236         Deserializer thisDeserializer(thisArray, thisLength);
38237         const auto transform_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38238         Opt_Matrix2D transform_value_buf = {};
38239         transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38240         if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType))
38241         {
38242             transform_value_buf.value = static_cast<Ark_Matrix2D>(thisDeserializer.readMatrix2D());
38243         }
38244         Opt_Matrix2D transform_value = transform_value_buf;;
38245         GetAccessors()->getCanvasPatternAccessor()->setTransform(self, (const Opt_Matrix2D*)&transform_value);
38246 }
KOALA_INTEROP_DIRECT_V3(CanvasPattern_setTransform,Ark_NativePointer,KSerializerBuffer,int32_t)38247 KOALA_INTEROP_DIRECT_V3(CanvasPattern_setTransform, Ark_NativePointer, KSerializerBuffer, int32_t)
38248 Ark_NativePointer impl_ImageBitmap_ctor(const KStringPtr& src) {
38249         return GetAccessors()->getImageBitmapAccessor()->ctor((const Ark_String*) (&src));
38250 }
KOALA_INTEROP_1(ImageBitmap_ctor,Ark_NativePointer,KStringPtr)38251 KOALA_INTEROP_1(ImageBitmap_ctor, Ark_NativePointer, KStringPtr)
38252 Ark_NativePointer impl_ImageBitmap_getFinalizer() {
38253         return GetAccessors()->getImageBitmapAccessor()->getFinalizer();
38254 }
KOALA_INTEROP_DIRECT_0(ImageBitmap_getFinalizer,Ark_NativePointer)38255 KOALA_INTEROP_DIRECT_0(ImageBitmap_getFinalizer, Ark_NativePointer)
38256 void impl_ImageBitmap_close(Ark_NativePointer thisPtr) {
38257         Ark_ImageBitmap self = reinterpret_cast<Ark_ImageBitmap>(thisPtr);
38258         GetAccessors()->getImageBitmapAccessor()->close(self);
38259 }
KOALA_INTEROP_DIRECT_V1(ImageBitmap_close,Ark_NativePointer)38260 KOALA_INTEROP_DIRECT_V1(ImageBitmap_close, Ark_NativePointer)
38261 Ark_Number impl_ImageBitmap_getHeight(Ark_NativePointer thisPtr) {
38262         Ark_ImageBitmap self = reinterpret_cast<Ark_ImageBitmap>(thisPtr);
38263         return GetAccessors()->getImageBitmapAccessor()->getHeight(self);
38264 }
KOALA_INTEROP_DIRECT_1(ImageBitmap_getHeight,KInteropNumber,Ark_NativePointer)38265 KOALA_INTEROP_DIRECT_1(ImageBitmap_getHeight, KInteropNumber, Ark_NativePointer)
38266 Ark_Number impl_ImageBitmap_getWidth(Ark_NativePointer thisPtr) {
38267         Ark_ImageBitmap self = reinterpret_cast<Ark_ImageBitmap>(thisPtr);
38268         return GetAccessors()->getImageBitmapAccessor()->getWidth(self);
38269 }
KOALA_INTEROP_DIRECT_1(ImageBitmap_getWidth,KInteropNumber,Ark_NativePointer)38270 KOALA_INTEROP_DIRECT_1(ImageBitmap_getWidth, KInteropNumber, Ark_NativePointer)
38271 Ark_NativePointer impl_ImageData_ctor(KInteropNumber width, KInteropNumber height, KSerializerBuffer thisArray, int32_t thisLength) {
38272         Deserializer thisDeserializer(thisArray, thisLength);
38273         const auto data_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38274         Opt_Buffer data_value_buf = {};
38275         data_value_buf.tag = data_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38276         if ((INTEROP_RUNTIME_UNDEFINED) != (data_value_buf_runtimeType))
38277         {
38278             data_value_buf.value = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());
38279         }
38280         Opt_Buffer data_value = data_value_buf;;
38281         return GetAccessors()->getImageDataAccessor()->ctor((const Ark_Number*) (&width), (const Ark_Number*) (&height), (const Opt_Buffer*)&data_value);
38282 }
KOALA_INTEROP_DIRECT_4(ImageData_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)38283 KOALA_INTEROP_DIRECT_4(ImageData_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
38284 Ark_NativePointer impl_ImageData_getFinalizer() {
38285         return GetAccessors()->getImageDataAccessor()->getFinalizer();
38286 }
KOALA_INTEROP_DIRECT_0(ImageData_getFinalizer,Ark_NativePointer)38287 KOALA_INTEROP_DIRECT_0(ImageData_getFinalizer, Ark_NativePointer)
38288 KInteropReturnBuffer impl_ImageData_getData(Ark_NativePointer thisPtr) {
38289         Ark_ImageData self = reinterpret_cast<Ark_ImageData>(thisPtr);
38290         const auto &retValue = GetAccessors()->getImageDataAccessor()->getData(self);
38291         Serializer _retSerializer {};
38292         _retSerializer.writeBuffer(retValue);
38293         return _retSerializer.toReturnBuffer();
38294 }
KOALA_INTEROP_1(ImageData_getData,KInteropReturnBuffer,Ark_NativePointer)38295 KOALA_INTEROP_1(ImageData_getData, KInteropReturnBuffer, Ark_NativePointer)
38296 Ark_Number impl_ImageData_getHeight(Ark_NativePointer thisPtr) {
38297         Ark_ImageData self = reinterpret_cast<Ark_ImageData>(thisPtr);
38298         return GetAccessors()->getImageDataAccessor()->getHeight(self);
38299 }
KOALA_INTEROP_DIRECT_1(ImageData_getHeight,KInteropNumber,Ark_NativePointer)38300 KOALA_INTEROP_DIRECT_1(ImageData_getHeight, KInteropNumber, Ark_NativePointer)
38301 Ark_Number impl_ImageData_getWidth(Ark_NativePointer thisPtr) {
38302         Ark_ImageData self = reinterpret_cast<Ark_ImageData>(thisPtr);
38303         return GetAccessors()->getImageDataAccessor()->getWidth(self);
38304 }
KOALA_INTEROP_DIRECT_1(ImageData_getWidth,KInteropNumber,Ark_NativePointer)38305 KOALA_INTEROP_DIRECT_1(ImageData_getWidth, KInteropNumber, Ark_NativePointer)
38306 Ark_NativePointer impl_RenderingContextSettings_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
38307         Deserializer thisDeserializer(thisArray, thisLength);
38308         const auto antialias_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38309         Opt_Boolean antialias_value_buf = {};
38310         antialias_value_buf.tag = antialias_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38311         if ((INTEROP_RUNTIME_UNDEFINED) != (antialias_value_buf_runtimeType))
38312         {
38313             antialias_value_buf.value = thisDeserializer.readBoolean();
38314         }
38315         Opt_Boolean antialias_value = antialias_value_buf;;
38316         return GetAccessors()->getRenderingContextSettingsAccessor()->ctor((const Opt_Boolean*)&antialias_value);
38317 }
KOALA_INTEROP_DIRECT_2(RenderingContextSettings_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)38318 KOALA_INTEROP_DIRECT_2(RenderingContextSettings_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
38319 Ark_NativePointer impl_RenderingContextSettings_getFinalizer() {
38320         return GetAccessors()->getRenderingContextSettingsAccessor()->getFinalizer();
38321 }
KOALA_INTEROP_DIRECT_0(RenderingContextSettings_getFinalizer,Ark_NativePointer)38322 KOALA_INTEROP_DIRECT_0(RenderingContextSettings_getFinalizer, Ark_NativePointer)
38323 KInteropReturnBuffer impl_RenderingContextSettings_getAntialias(Ark_NativePointer thisPtr) {
38324         Ark_RenderingContextSettings self = reinterpret_cast<Ark_RenderingContextSettings>(thisPtr);
38325         const auto &retValue = GetAccessors()->getRenderingContextSettingsAccessor()->getAntialias(self);
38326         Serializer _retSerializer {};
38327         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38328         retValue_type = runtimeType(retValue);
38329         _retSerializer.writeInt8(retValue_type);
38330         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
38331             const auto retValue_value = retValue.value;
38332             _retSerializer.writeBoolean(retValue_value);
38333         }
38334         return _retSerializer.toReturnBuffer();
38335 }
KOALA_INTEROP_1(RenderingContextSettings_getAntialias,KInteropReturnBuffer,Ark_NativePointer)38336 KOALA_INTEROP_1(RenderingContextSettings_getAntialias, KInteropReturnBuffer, Ark_NativePointer)
38337 void impl_RenderingContextSettings_setAntialias(Ark_NativePointer thisPtr, Ark_Boolean antialias) {
38338         Ark_RenderingContextSettings self = reinterpret_cast<Ark_RenderingContextSettings>(thisPtr);
38339         GetAccessors()->getRenderingContextSettingsAccessor()->setAntialias(self, antialias);
38340 }
KOALA_INTEROP_DIRECT_V2(RenderingContextSettings_setAntialias,Ark_NativePointer,Ark_Boolean)38341 KOALA_INTEROP_DIRECT_V2(RenderingContextSettings_setAntialias, Ark_NativePointer, Ark_Boolean)
38342 Ark_NativePointer impl_CanvasRenderer_ctor() {
38343         return GetAccessors()->getCanvasRendererAccessor()->ctor();
38344 }
KOALA_INTEROP_DIRECT_0(CanvasRenderer_ctor,Ark_NativePointer)38345 KOALA_INTEROP_DIRECT_0(CanvasRenderer_ctor, Ark_NativePointer)
38346 Ark_NativePointer impl_CanvasRenderer_getFinalizer() {
38347         return GetAccessors()->getCanvasRendererAccessor()->getFinalizer();
38348 }
KOALA_INTEROP_DIRECT_0(CanvasRenderer_getFinalizer,Ark_NativePointer)38349 KOALA_INTEROP_DIRECT_0(CanvasRenderer_getFinalizer, Ark_NativePointer)
38350 void impl_CanvasRenderer_drawImage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber dx, KInteropNumber dy) {
38351         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38352         Deserializer thisDeserializer(thisArray, thisLength);
38353         const Ark_Int8 image_value_buf_selector = thisDeserializer.readInt8();
38354         Ark_Union_ImageBitmap_PixelMap image_value_buf = {};
38355         image_value_buf.selector = image_value_buf_selector;
38356         if (image_value_buf_selector == 0) {
38357             image_value_buf.selector = 0;
38358             image_value_buf.value0 = static_cast<Ark_ImageBitmap>(thisDeserializer.readImageBitmap());
38359         }
38360         else if (image_value_buf_selector == 1) {
38361             image_value_buf.selector = 1;
38362             image_value_buf.value1 = static_cast<Ark_NativePointer>(thisDeserializer.readPointer());
38363         }
38364         else {
38365             INTEROP_FATAL("One of the branches for image_value_buf has to be chosen through deserialisation.");
38366         }
38367         Ark_Union_ImageBitmap_PixelMap image_value = static_cast<Ark_Union_ImageBitmap_PixelMap>(image_value_buf);;
38368         GetAccessors()->getCanvasRendererAccessor()->drawImage0(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&dx), (const Ark_Number*) (&dy));
38369 }
KOALA_INTEROP_DIRECT_V5(CanvasRenderer_drawImage0,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber)38370 KOALA_INTEROP_DIRECT_V5(CanvasRenderer_drawImage0, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber)
38371 void impl_CanvasRenderer_drawImage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber dx, KInteropNumber dy, KInteropNumber dw, KInteropNumber dh) {
38372         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38373         Deserializer thisDeserializer(thisArray, thisLength);
38374         const Ark_Int8 image_value_buf_selector = thisDeserializer.readInt8();
38375         Ark_Union_ImageBitmap_PixelMap image_value_buf = {};
38376         image_value_buf.selector = image_value_buf_selector;
38377         if (image_value_buf_selector == 0) {
38378             image_value_buf.selector = 0;
38379             image_value_buf.value0 = static_cast<Ark_ImageBitmap>(thisDeserializer.readImageBitmap());
38380         }
38381         else if (image_value_buf_selector == 1) {
38382             image_value_buf.selector = 1;
38383             image_value_buf.value1 = static_cast<Ark_NativePointer>(thisDeserializer.readPointer());
38384         }
38385         else {
38386             INTEROP_FATAL("One of the branches for image_value_buf has to be chosen through deserialisation.");
38387         }
38388         Ark_Union_ImageBitmap_PixelMap image_value = static_cast<Ark_Union_ImageBitmap_PixelMap>(image_value_buf);;
38389         GetAccessors()->getCanvasRendererAccessor()->drawImage1(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&dx), (const Ark_Number*) (&dy), (const Ark_Number*) (&dw), (const Ark_Number*) (&dh));
38390 }
KOALA_INTEROP_DIRECT_V7(CanvasRenderer_drawImage1,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38391 KOALA_INTEROP_DIRECT_V7(CanvasRenderer_drawImage1, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38392 void impl_CanvasRenderer_drawImage2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber sx, KInteropNumber sy, KInteropNumber sw, KInteropNumber sh, KInteropNumber dx, KInteropNumber dy, KInteropNumber dw, KInteropNumber dh) {
38393         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38394         Deserializer thisDeserializer(thisArray, thisLength);
38395         const Ark_Int8 image_value_buf_selector = thisDeserializer.readInt8();
38396         Ark_Union_ImageBitmap_PixelMap image_value_buf = {};
38397         image_value_buf.selector = image_value_buf_selector;
38398         if (image_value_buf_selector == 0) {
38399             image_value_buf.selector = 0;
38400             image_value_buf.value0 = static_cast<Ark_ImageBitmap>(thisDeserializer.readImageBitmap());
38401         }
38402         else if (image_value_buf_selector == 1) {
38403             image_value_buf.selector = 1;
38404             image_value_buf.value1 = static_cast<Ark_NativePointer>(thisDeserializer.readPointer());
38405         }
38406         else {
38407             INTEROP_FATAL("One of the branches for image_value_buf has to be chosen through deserialisation.");
38408         }
38409         Ark_Union_ImageBitmap_PixelMap image_value = static_cast<Ark_Union_ImageBitmap_PixelMap>(image_value_buf);;
38410         GetAccessors()->getCanvasRendererAccessor()->drawImage2(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh), (const Ark_Number*) (&dx), (const Ark_Number*) (&dy), (const Ark_Number*) (&dw), (const Ark_Number*) (&dh));
38411 }
KOALA_INTEROP_DIRECT_V11(CanvasRenderer_drawImage2,Ark_NativePointer,KSerializerBuffer,int32_t,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38412 KOALA_INTEROP_DIRECT_V11(CanvasRenderer_drawImage2, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38413 void impl_CanvasRenderer_beginPath(Ark_NativePointer thisPtr) {
38414         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38415         GetAccessors()->getCanvasRendererAccessor()->beginPath(self);
38416 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_beginPath,Ark_NativePointer)38417 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_beginPath, Ark_NativePointer)
38418 void impl_CanvasRenderer_clip0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38419         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38420         Deserializer thisDeserializer(thisArray, thisLength);
38421         const auto fillRule_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38422         Opt_String fillRule_value_buf = {};
38423         fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38424         if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType))
38425         {
38426             fillRule_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
38427         }
38428         Opt_String fillRule_value = fillRule_value_buf;;
38429         GetAccessors()->getCanvasRendererAccessor()->clip0(self, (const Opt_String*)&fillRule_value);
38430 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_clip0,Ark_NativePointer,KSerializerBuffer,int32_t)38431 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_clip0, Ark_NativePointer, KSerializerBuffer, int32_t)
38432 void impl_CanvasRenderer_clip1(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, int32_t thisLength) {
38433         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38434         Deserializer thisDeserializer(thisArray, thisLength);
38435         const auto fillRule_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38436         Opt_String fillRule_value_buf = {};
38437         fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38438         if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType))
38439         {
38440             fillRule_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
38441         }
38442         Opt_String fillRule_value = fillRule_value_buf;;
38443         GetAccessors()->getCanvasRendererAccessor()->clip1(self, static_cast<Ark_Path2D>(path), (const Opt_String*)&fillRule_value);
38444 }
KOALA_INTEROP_DIRECT_V4(CanvasRenderer_clip1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38445 KOALA_INTEROP_DIRECT_V4(CanvasRenderer_clip1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38446 void impl_CanvasRenderer_fill0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38447         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38448         Deserializer thisDeserializer(thisArray, thisLength);
38449         const auto fillRule_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38450         Opt_String fillRule_value_buf = {};
38451         fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38452         if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType))
38453         {
38454             fillRule_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
38455         }
38456         Opt_String fillRule_value = fillRule_value_buf;;
38457         GetAccessors()->getCanvasRendererAccessor()->fill0(self, (const Opt_String*)&fillRule_value);
38458 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_fill0,Ark_NativePointer,KSerializerBuffer,int32_t)38459 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_fill0, Ark_NativePointer, KSerializerBuffer, int32_t)
38460 void impl_CanvasRenderer_fill1(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, int32_t thisLength) {
38461         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38462         Deserializer thisDeserializer(thisArray, thisLength);
38463         const auto fillRule_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38464         Opt_String fillRule_value_buf = {};
38465         fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38466         if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType))
38467         {
38468             fillRule_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
38469         }
38470         Opt_String fillRule_value = fillRule_value_buf;;
38471         GetAccessors()->getCanvasRendererAccessor()->fill1(self, static_cast<Ark_Path2D>(path), (const Opt_String*)&fillRule_value);
38472 }
KOALA_INTEROP_DIRECT_V4(CanvasRenderer_fill1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38473 KOALA_INTEROP_DIRECT_V4(CanvasRenderer_fill1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38474 void impl_CanvasRenderer_stroke0(Ark_NativePointer thisPtr) {
38475         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38476         GetAccessors()->getCanvasRendererAccessor()->stroke0(self);
38477 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_stroke0,Ark_NativePointer)38478 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_stroke0, Ark_NativePointer)
38479 void impl_CanvasRenderer_stroke1(Ark_NativePointer thisPtr, Ark_NativePointer path) {
38480         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38481         GetAccessors()->getCanvasRendererAccessor()->stroke1(self, static_cast<Ark_Path2D>(path));
38482 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_stroke1,Ark_NativePointer,Ark_NativePointer)38483 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_stroke1, Ark_NativePointer, Ark_NativePointer)
38484 Ark_NativePointer impl_CanvasRenderer_createLinearGradient(Ark_NativePointer thisPtr, KInteropNumber x0, KInteropNumber y0, KInteropNumber x1, KInteropNumber y1) {
38485         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38486         return GetAccessors()->getCanvasRendererAccessor()->createLinearGradient(self, (const Ark_Number*) (&x0), (const Ark_Number*) (&y0), (const Ark_Number*) (&x1), (const Ark_Number*) (&y1));
38487 }
KOALA_INTEROP_DIRECT_5(CanvasRenderer_createLinearGradient,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38488 KOALA_INTEROP_DIRECT_5(CanvasRenderer_createLinearGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38489 KInteropReturnBuffer impl_CanvasRenderer_createPattern(Ark_NativePointer thisPtr, Ark_NativePointer image, KSerializerBuffer thisArray, int32_t thisLength) {
38490         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38491         Deserializer thisDeserializer(thisArray, thisLength);
38492         const auto repetition_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38493         Opt_String repetition_value_buf = {};
38494         repetition_value_buf.tag = repetition_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38495         if ((INTEROP_RUNTIME_UNDEFINED) != (repetition_value_buf_runtimeType))
38496         {
38497             repetition_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
38498         }
38499         Opt_String repetition_value = repetition_value_buf;;
38500         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->createPattern(self, static_cast<Ark_ImageBitmap>(image), (const Opt_String*)&repetition_value);
38501         Serializer _retSerializer {};
38502         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38503         retValue_type = runtimeType(retValue);
38504         _retSerializer.writeInt8(retValue_type);
38505         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
38506             const auto retValue_value = retValue.value;
38507             _retSerializer.writeCanvasPattern(retValue_value);
38508         }
38509         return _retSerializer.toReturnBuffer();
38510 }
KOALA_INTEROP_4(CanvasRenderer_createPattern,KInteropReturnBuffer,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38511 KOALA_INTEROP_4(CanvasRenderer_createPattern, KInteropReturnBuffer, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38512 Ark_NativePointer impl_CanvasRenderer_createRadialGradient(Ark_NativePointer thisPtr, KInteropNumber x0, KInteropNumber y0, KInteropNumber r0, KInteropNumber x1, KInteropNumber y1, KInteropNumber r1) {
38513         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38514         return GetAccessors()->getCanvasRendererAccessor()->createRadialGradient(self, (const Ark_Number*) (&x0), (const Ark_Number*) (&y0), (const Ark_Number*) (&r0), (const Ark_Number*) (&x1), (const Ark_Number*) (&y1), (const Ark_Number*) (&r1));
38515 }
KOALA_INTEROP_DIRECT_7(CanvasRenderer_createRadialGradient,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38516 KOALA_INTEROP_DIRECT_7(CanvasRenderer_createRadialGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38517 Ark_NativePointer impl_CanvasRenderer_createConicGradient(Ark_NativePointer thisPtr, KInteropNumber startAngle, KInteropNumber x, KInteropNumber y) {
38518         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38519         return GetAccessors()->getCanvasRendererAccessor()->createConicGradient(self, (const Ark_Number*) (&startAngle), (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38520 }
KOALA_INTEROP_DIRECT_4(CanvasRenderer_createConicGradient,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber)38521 KOALA_INTEROP_DIRECT_4(CanvasRenderer_createConicGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber)
38522 Ark_NativePointer impl_CanvasRenderer_createImageData0(Ark_NativePointer thisPtr, KInteropNumber sw, KInteropNumber sh) {
38523         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38524         return GetAccessors()->getCanvasRendererAccessor()->createImageData0(self, (const Ark_Number*) (&sw), (const Ark_Number*) (&sh));
38525 }
KOALA_INTEROP_DIRECT_3(CanvasRenderer_createImageData0,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber)38526 KOALA_INTEROP_DIRECT_3(CanvasRenderer_createImageData0, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber)
38527 Ark_NativePointer impl_CanvasRenderer_createImageData1(Ark_NativePointer thisPtr, Ark_NativePointer imagedata) {
38528         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38529         return GetAccessors()->getCanvasRendererAccessor()->createImageData1(self, static_cast<Ark_ImageData>(imagedata));
38530 }
KOALA_INTEROP_DIRECT_2(CanvasRenderer_createImageData1,Ark_NativePointer,Ark_NativePointer,Ark_NativePointer)38531 KOALA_INTEROP_DIRECT_2(CanvasRenderer_createImageData1, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer)
38532 Ark_NativePointer impl_CanvasRenderer_getImageData(Ark_NativePointer thisPtr, KInteropNumber sx, KInteropNumber sy, KInteropNumber sw, KInteropNumber sh) {
38533         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38534         return GetAccessors()->getCanvasRendererAccessor()->getImageData(self, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh));
38535 }
KOALA_INTEROP_DIRECT_5(CanvasRenderer_getImageData,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38536 KOALA_INTEROP_DIRECT_5(CanvasRenderer_getImageData, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38537 Ark_NativePointer impl_CanvasRenderer_getPixelMap(Ark_NativePointer thisPtr, KInteropNumber sx, KInteropNumber sy, KInteropNumber sw, KInteropNumber sh) {
38538         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38539         return GetAccessors()->getCanvasRendererAccessor()->getPixelMap(self, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh));
38540 }
KOALA_INTEROP_DIRECT_5(CanvasRenderer_getPixelMap,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38541 KOALA_INTEROP_DIRECT_5(CanvasRenderer_getPixelMap, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38542 void impl_CanvasRenderer_putImageData0(Ark_NativePointer thisPtr, Ark_NativePointer imagedata, KSerializerBuffer thisArray, int32_t thisLength) {
38543         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38544         Deserializer thisDeserializer(thisArray, thisLength);
38545         const Ark_Int8 dx_value_buf_selector = thisDeserializer.readInt8();
38546         Ark_Union_Number_String dx_value_buf = {};
38547         dx_value_buf.selector = dx_value_buf_selector;
38548         if (dx_value_buf_selector == 0) {
38549             dx_value_buf.selector = 0;
38550             dx_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38551         }
38552         else if (dx_value_buf_selector == 1) {
38553             dx_value_buf.selector = 1;
38554             dx_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38555         }
38556         else {
38557             INTEROP_FATAL("One of the branches for dx_value_buf has to be chosen through deserialisation.");
38558         }
38559         Ark_Union_Number_String dx_value = static_cast<Ark_Union_Number_String>(dx_value_buf);;
38560         const Ark_Int8 dy_value_buf_selector = thisDeserializer.readInt8();
38561         Ark_Union_Number_String dy_value_buf = {};
38562         dy_value_buf.selector = dy_value_buf_selector;
38563         if (dy_value_buf_selector == 0) {
38564             dy_value_buf.selector = 0;
38565             dy_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38566         }
38567         else if (dy_value_buf_selector == 1) {
38568             dy_value_buf.selector = 1;
38569             dy_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38570         }
38571         else {
38572             INTEROP_FATAL("One of the branches for dy_value_buf has to be chosen through deserialisation.");
38573         }
38574         Ark_Union_Number_String dy_value = static_cast<Ark_Union_Number_String>(dy_value_buf);;
38575         GetAccessors()->getCanvasRendererAccessor()->putImageData0(self, static_cast<Ark_ImageData>(imagedata), (const Ark_Union_Number_String*)&dx_value, (const Ark_Union_Number_String*)&dy_value);
38576 }
KOALA_INTEROP_DIRECT_V4(CanvasRenderer_putImageData0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38577 KOALA_INTEROP_DIRECT_V4(CanvasRenderer_putImageData0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38578 void impl_CanvasRenderer_putImageData1(Ark_NativePointer thisPtr, Ark_NativePointer imagedata, KSerializerBuffer thisArray, int32_t thisLength) {
38579         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38580         Deserializer thisDeserializer(thisArray, thisLength);
38581         const Ark_Int8 dx_value_buf_selector = thisDeserializer.readInt8();
38582         Ark_Union_Number_String dx_value_buf = {};
38583         dx_value_buf.selector = dx_value_buf_selector;
38584         if (dx_value_buf_selector == 0) {
38585             dx_value_buf.selector = 0;
38586             dx_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38587         }
38588         else if (dx_value_buf_selector == 1) {
38589             dx_value_buf.selector = 1;
38590             dx_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38591         }
38592         else {
38593             INTEROP_FATAL("One of the branches for dx_value_buf has to be chosen through deserialisation.");
38594         }
38595         Ark_Union_Number_String dx_value = static_cast<Ark_Union_Number_String>(dx_value_buf);;
38596         const Ark_Int8 dy_value_buf_selector = thisDeserializer.readInt8();
38597         Ark_Union_Number_String dy_value_buf = {};
38598         dy_value_buf.selector = dy_value_buf_selector;
38599         if (dy_value_buf_selector == 0) {
38600             dy_value_buf.selector = 0;
38601             dy_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38602         }
38603         else if (dy_value_buf_selector == 1) {
38604             dy_value_buf.selector = 1;
38605             dy_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38606         }
38607         else {
38608             INTEROP_FATAL("One of the branches for dy_value_buf has to be chosen through deserialisation.");
38609         }
38610         Ark_Union_Number_String dy_value = static_cast<Ark_Union_Number_String>(dy_value_buf);;
38611         const Ark_Int8 dirtyX_value_buf_selector = thisDeserializer.readInt8();
38612         Ark_Union_Number_String dirtyX_value_buf = {};
38613         dirtyX_value_buf.selector = dirtyX_value_buf_selector;
38614         if (dirtyX_value_buf_selector == 0) {
38615             dirtyX_value_buf.selector = 0;
38616             dirtyX_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38617         }
38618         else if (dirtyX_value_buf_selector == 1) {
38619             dirtyX_value_buf.selector = 1;
38620             dirtyX_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38621         }
38622         else {
38623             INTEROP_FATAL("One of the branches for dirtyX_value_buf has to be chosen through deserialisation.");
38624         }
38625         Ark_Union_Number_String dirtyX_value = static_cast<Ark_Union_Number_String>(dirtyX_value_buf);;
38626         const Ark_Int8 dirtyY_value_buf_selector = thisDeserializer.readInt8();
38627         Ark_Union_Number_String dirtyY_value_buf = {};
38628         dirtyY_value_buf.selector = dirtyY_value_buf_selector;
38629         if (dirtyY_value_buf_selector == 0) {
38630             dirtyY_value_buf.selector = 0;
38631             dirtyY_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38632         }
38633         else if (dirtyY_value_buf_selector == 1) {
38634             dirtyY_value_buf.selector = 1;
38635             dirtyY_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38636         }
38637         else {
38638             INTEROP_FATAL("One of the branches for dirtyY_value_buf has to be chosen through deserialisation.");
38639         }
38640         Ark_Union_Number_String dirtyY_value = static_cast<Ark_Union_Number_String>(dirtyY_value_buf);;
38641         const Ark_Int8 dirtyWidth_value_buf_selector = thisDeserializer.readInt8();
38642         Ark_Union_Number_String dirtyWidth_value_buf = {};
38643         dirtyWidth_value_buf.selector = dirtyWidth_value_buf_selector;
38644         if (dirtyWidth_value_buf_selector == 0) {
38645             dirtyWidth_value_buf.selector = 0;
38646             dirtyWidth_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38647         }
38648         else if (dirtyWidth_value_buf_selector == 1) {
38649             dirtyWidth_value_buf.selector = 1;
38650             dirtyWidth_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38651         }
38652         else {
38653             INTEROP_FATAL("One of the branches for dirtyWidth_value_buf has to be chosen through deserialisation.");
38654         }
38655         Ark_Union_Number_String dirtyWidth_value = static_cast<Ark_Union_Number_String>(dirtyWidth_value_buf);;
38656         const Ark_Int8 dirtyHeight_value_buf_selector = thisDeserializer.readInt8();
38657         Ark_Union_Number_String dirtyHeight_value_buf = {};
38658         dirtyHeight_value_buf.selector = dirtyHeight_value_buf_selector;
38659         if (dirtyHeight_value_buf_selector == 0) {
38660             dirtyHeight_value_buf.selector = 0;
38661             dirtyHeight_value_buf.value0 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38662         }
38663         else if (dirtyHeight_value_buf_selector == 1) {
38664             dirtyHeight_value_buf.selector = 1;
38665             dirtyHeight_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38666         }
38667         else {
38668             INTEROP_FATAL("One of the branches for dirtyHeight_value_buf has to be chosen through deserialisation.");
38669         }
38670         Ark_Union_Number_String dirtyHeight_value = static_cast<Ark_Union_Number_String>(dirtyHeight_value_buf);;
38671         GetAccessors()->getCanvasRendererAccessor()->putImageData1(self, static_cast<Ark_ImageData>(imagedata), (const Ark_Union_Number_String*)&dx_value, (const Ark_Union_Number_String*)&dy_value, (const Ark_Union_Number_String*)&dirtyX_value, (const Ark_Union_Number_String*)&dirtyY_value, (const Ark_Union_Number_String*)&dirtyWidth_value, (const Ark_Union_Number_String*)&dirtyHeight_value);
38672 }
KOALA_INTEROP_DIRECT_V4(CanvasRenderer_putImageData1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)38673 KOALA_INTEROP_DIRECT_V4(CanvasRenderer_putImageData1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
38674 KInteropReturnBuffer impl_CanvasRenderer_getLineDash(Ark_NativePointer thisPtr) {
38675         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38676         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLineDash(self);
38677         Serializer _retSerializer {};
38678         _retSerializer.writeInt32(retValue.length);
38679         for (int i = 0; i < retValue.length; i++) {
38680             const Ark_Number retValue_element = retValue.array[i];
38681             _retSerializer.writeNumber(retValue_element);
38682         }
38683         return _retSerializer.toReturnBuffer();
38684 }
KOALA_INTEROP_1(CanvasRenderer_getLineDash,KInteropReturnBuffer,Ark_NativePointer)38685 KOALA_INTEROP_1(CanvasRenderer_getLineDash, KInteropReturnBuffer, Ark_NativePointer)
38686 void impl_CanvasRenderer_setLineDash(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38687         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38688         Deserializer thisDeserializer(thisArray, thisLength);
38689         const Ark_Int32 segments_value_buf_length = thisDeserializer.readInt32();
38690         Array_Number segments_value_buf = {};
38691         thisDeserializer.resizeArray<std::decay<decltype(segments_value_buf)>::type,
38692         std::decay<decltype(*segments_value_buf.array)>::type>(&segments_value_buf, segments_value_buf_length);
38693         for (int segments_value_buf_i = 0; segments_value_buf_i < segments_value_buf_length; segments_value_buf_i++) {
38694             segments_value_buf.array[segments_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
38695         }
38696         Array_Number segments_value = segments_value_buf;;
38697         GetAccessors()->getCanvasRendererAccessor()->setLineDash(self, (const Array_Number*)&segments_value);
38698 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLineDash,Ark_NativePointer,KSerializerBuffer,int32_t)38699 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLineDash, Ark_NativePointer, KSerializerBuffer, int32_t)
38700 void impl_CanvasRenderer_clearRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) {
38701         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38702         GetAccessors()->getCanvasRendererAccessor()->clearRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h));
38703 }
KOALA_INTEROP_DIRECT_V5(CanvasRenderer_clearRect,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38704 KOALA_INTEROP_DIRECT_V5(CanvasRenderer_clearRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38705 void impl_CanvasRenderer_fillRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) {
38706         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38707         GetAccessors()->getCanvasRendererAccessor()->fillRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h));
38708 }
KOALA_INTEROP_DIRECT_V5(CanvasRenderer_fillRect,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38709 KOALA_INTEROP_DIRECT_V5(CanvasRenderer_fillRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38710 void impl_CanvasRenderer_strokeRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) {
38711         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38712         GetAccessors()->getCanvasRendererAccessor()->strokeRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h));
38713 }
KOALA_INTEROP_DIRECT_V5(CanvasRenderer_strokeRect,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38714 KOALA_INTEROP_DIRECT_V5(CanvasRenderer_strokeRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38715 void impl_CanvasRenderer_restore(Ark_NativePointer thisPtr) {
38716         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38717         GetAccessors()->getCanvasRendererAccessor()->restore(self);
38718 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restore,Ark_NativePointer)38719 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restore, Ark_NativePointer)
38720 void impl_CanvasRenderer_save(Ark_NativePointer thisPtr) {
38721         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38722         GetAccessors()->getCanvasRendererAccessor()->save(self);
38723 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_save,Ark_NativePointer)38724 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_save, Ark_NativePointer)
38725 void impl_CanvasRenderer_fillText(Ark_NativePointer thisPtr, const KStringPtr& text, KInteropNumber x, KInteropNumber y, KSerializerBuffer thisArray, int32_t thisLength) {
38726         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38727         Deserializer thisDeserializer(thisArray, thisLength);
38728         const auto maxWidth_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38729         Opt_Number maxWidth_value_buf = {};
38730         maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38731         if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType))
38732         {
38733             maxWidth_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
38734         }
38735         Opt_Number maxWidth_value = maxWidth_value_buf;;
38736         GetAccessors()->getCanvasRendererAccessor()->fillText(self, (const Ark_String*) (&text), (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Opt_Number*)&maxWidth_value);
38737 }
KOALA_INTEROP_V6(CanvasRenderer_fillText,Ark_NativePointer,KStringPtr,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)38738 KOALA_INTEROP_V6(CanvasRenderer_fillText, Ark_NativePointer, KStringPtr, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
38739 KInteropReturnBuffer impl_CanvasRenderer_measureText(Ark_NativePointer thisPtr, const KStringPtr& text) {
38740         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38741         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->measureText(self, (const Ark_String*) (&text));
38742         Serializer _retSerializer {};
38743         _retSerializer.writeTextMetrics(retValue);
38744         return _retSerializer.toReturnBuffer();
38745 }
KOALA_INTEROP_2(CanvasRenderer_measureText,KInteropReturnBuffer,Ark_NativePointer,KStringPtr)38746 KOALA_INTEROP_2(CanvasRenderer_measureText, KInteropReturnBuffer, Ark_NativePointer, KStringPtr)
38747 void impl_CanvasRenderer_strokeText(Ark_NativePointer thisPtr, const KStringPtr& text, KInteropNumber x, KInteropNumber y, KSerializerBuffer thisArray, int32_t thisLength) {
38748         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38749         Deserializer thisDeserializer(thisArray, thisLength);
38750         const auto maxWidth_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38751         Opt_Number maxWidth_value_buf = {};
38752         maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38753         if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType))
38754         {
38755             maxWidth_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
38756         }
38757         Opt_Number maxWidth_value = maxWidth_value_buf;;
38758         GetAccessors()->getCanvasRendererAccessor()->strokeText(self, (const Ark_String*) (&text), (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Opt_Number*)&maxWidth_value);
38759 }
KOALA_INTEROP_V6(CanvasRenderer_strokeText,Ark_NativePointer,KStringPtr,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)38760 KOALA_INTEROP_V6(CanvasRenderer_strokeText, Ark_NativePointer, KStringPtr, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
38761 Ark_NativePointer impl_CanvasRenderer_getTransform(Ark_NativePointer thisPtr) {
38762         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38763         return GetAccessors()->getCanvasRendererAccessor()->getTransform(self);
38764 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getTransform,Ark_NativePointer,Ark_NativePointer)38765 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getTransform, Ark_NativePointer, Ark_NativePointer)
38766 void impl_CanvasRenderer_resetTransform(Ark_NativePointer thisPtr) {
38767         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38768         GetAccessors()->getCanvasRendererAccessor()->resetTransform(self);
38769 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_resetTransform,Ark_NativePointer)38770 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_resetTransform, Ark_NativePointer)
38771 void impl_CanvasRenderer_rotate(Ark_NativePointer thisPtr, KInteropNumber angle) {
38772         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38773         GetAccessors()->getCanvasRendererAccessor()->rotate(self, (const Ark_Number*) (&angle));
38774 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_rotate,Ark_NativePointer,KInteropNumber)38775 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_rotate, Ark_NativePointer, KInteropNumber)
38776 void impl_CanvasRenderer_scale(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
38777         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38778         GetAccessors()->getCanvasRendererAccessor()->scale(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38779 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_scale,Ark_NativePointer,KInteropNumber,KInteropNumber)38780 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_scale, Ark_NativePointer, KInteropNumber, KInteropNumber)
38781 void impl_CanvasRenderer_setTransform0(Ark_NativePointer thisPtr, KInteropNumber a, KInteropNumber b, KInteropNumber c, KInteropNumber d, KInteropNumber e, KInteropNumber f) {
38782         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38783         GetAccessors()->getCanvasRendererAccessor()->setTransform0(self, (const Ark_Number*) (&a), (const Ark_Number*) (&b), (const Ark_Number*) (&c), (const Ark_Number*) (&d), (const Ark_Number*) (&e), (const Ark_Number*) (&f));
38784 }
KOALA_INTEROP_DIRECT_V7(CanvasRenderer_setTransform0,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38785 KOALA_INTEROP_DIRECT_V7(CanvasRenderer_setTransform0, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38786 void impl_CanvasRenderer_setTransform1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38787         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38788         Deserializer thisDeserializer(thisArray, thisLength);
38789         const auto transform_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38790         Opt_Matrix2D transform_value_buf = {};
38791         transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38792         if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType))
38793         {
38794             transform_value_buf.value = static_cast<Ark_Matrix2D>(thisDeserializer.readMatrix2D());
38795         }
38796         Opt_Matrix2D transform_value = transform_value_buf;;
38797         GetAccessors()->getCanvasRendererAccessor()->setTransform1(self, (const Opt_Matrix2D*)&transform_value);
38798 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setTransform1,Ark_NativePointer,KSerializerBuffer,int32_t)38799 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setTransform1, Ark_NativePointer, KSerializerBuffer, int32_t)
38800 void impl_CanvasRenderer_transform(Ark_NativePointer thisPtr, KInteropNumber a, KInteropNumber b, KInteropNumber c, KInteropNumber d, KInteropNumber e, KInteropNumber f) {
38801         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38802         GetAccessors()->getCanvasRendererAccessor()->transform(self, (const Ark_Number*) (&a), (const Ark_Number*) (&b), (const Ark_Number*) (&c), (const Ark_Number*) (&d), (const Ark_Number*) (&e), (const Ark_Number*) (&f));
38803 }
KOALA_INTEROP_DIRECT_V7(CanvasRenderer_transform,Ark_NativePointer,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber,KInteropNumber)38804 KOALA_INTEROP_DIRECT_V7(CanvasRenderer_transform, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber)
38805 void impl_CanvasRenderer_translate(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
38806         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38807         GetAccessors()->getCanvasRendererAccessor()->translate(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
38808 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_translate,Ark_NativePointer,KInteropNumber,KInteropNumber)38809 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_translate, Ark_NativePointer, KInteropNumber, KInteropNumber)
38810 void impl_CanvasRenderer_setPixelMap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38811         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38812         Deserializer thisDeserializer(thisArray, thisLength);
38813         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
38814         Opt_NativePointer value_value_buf = {};
38815         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
38816         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
38817         {
38818             value_value_buf.value = static_cast<Ark_NativePointer>(thisDeserializer.readPointer());
38819         }
38820         Opt_NativePointer value_value = value_value_buf;;
38821         GetAccessors()->getCanvasRendererAccessor()->setPixelMap(self, (const Opt_NativePointer*)&value_value);
38822 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setPixelMap,Ark_NativePointer,KSerializerBuffer,int32_t)38823 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setPixelMap, Ark_NativePointer, KSerializerBuffer, int32_t)
38824 void impl_CanvasRenderer_transferFromImageBitmap(Ark_NativePointer thisPtr, Ark_NativePointer bitmap) {
38825         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38826         GetAccessors()->getCanvasRendererAccessor()->transferFromImageBitmap(self, static_cast<Ark_ImageBitmap>(bitmap));
38827 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_transferFromImageBitmap,Ark_NativePointer,Ark_NativePointer)38828 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_transferFromImageBitmap, Ark_NativePointer, Ark_NativePointer)
38829 void impl_CanvasRenderer_saveLayer(Ark_NativePointer thisPtr) {
38830         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38831         GetAccessors()->getCanvasRendererAccessor()->saveLayer(self);
38832 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_saveLayer,Ark_NativePointer)38833 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_saveLayer, Ark_NativePointer)
38834 void impl_CanvasRenderer_restoreLayer(Ark_NativePointer thisPtr) {
38835         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38836         GetAccessors()->getCanvasRendererAccessor()->restoreLayer(self);
38837 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restoreLayer,Ark_NativePointer)38838 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restoreLayer, Ark_NativePointer)
38839 void impl_CanvasRenderer_reset(Ark_NativePointer thisPtr) {
38840         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38841         GetAccessors()->getCanvasRendererAccessor()->reset(self);
38842 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_reset,Ark_NativePointer)38843 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_reset, Ark_NativePointer)
38844 KInteropReturnBuffer impl_CanvasRenderer_getLetterSpacing(Ark_NativePointer thisPtr) {
38845         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38846         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLetterSpacing(self);
38847         Serializer _retSerializer {};
38848         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38849         retValue_type = retValue.selector;
38850         if (retValue_type == 0) {
38851             _retSerializer.writeInt8(0);
38852             const auto retValue_0 = retValue.value0;
38853             _retSerializer.writeLengthMetrics(retValue_0);
38854         }
38855         else if (retValue_type == 1) {
38856             _retSerializer.writeInt8(1);
38857             const auto retValue_1 = retValue.value1;
38858             _retSerializer.writeString(retValue_1);
38859         }
38860         return _retSerializer.toReturnBuffer();
38861 }
KOALA_INTEROP_1(CanvasRenderer_getLetterSpacing,KInteropReturnBuffer,Ark_NativePointer)38862 KOALA_INTEROP_1(CanvasRenderer_getLetterSpacing, KInteropReturnBuffer, Ark_NativePointer)
38863 void impl_CanvasRenderer_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38864         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38865         Deserializer thisDeserializer(thisArray, thisLength);
38866         const Ark_Int8 letterSpacing_value_buf_selector = thisDeserializer.readInt8();
38867         Ark_Union_LengthMetrics_String letterSpacing_value_buf = {};
38868         letterSpacing_value_buf.selector = letterSpacing_value_buf_selector;
38869         if (letterSpacing_value_buf_selector == 0) {
38870             letterSpacing_value_buf.selector = 0;
38871             letterSpacing_value_buf.value0 = static_cast<Ark_LengthMetrics>(thisDeserializer.readLengthMetrics());
38872         }
38873         else if (letterSpacing_value_buf_selector == 1) {
38874             letterSpacing_value_buf.selector = 1;
38875             letterSpacing_value_buf.value1 = static_cast<Ark_String>(thisDeserializer.readString());
38876         }
38877         else {
38878             INTEROP_FATAL("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.");
38879         }
38880         Ark_Union_LengthMetrics_String letterSpacing_value = static_cast<Ark_Union_LengthMetrics_String>(letterSpacing_value_buf);;
38881         GetAccessors()->getCanvasRendererAccessor()->setLetterSpacing(self, (const Ark_Union_LengthMetrics_String*)&letterSpacing_value);
38882 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLetterSpacing,Ark_NativePointer,KSerializerBuffer,int32_t)38883 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t)
38884 Ark_Number impl_CanvasRenderer_getGlobalAlpha(Ark_NativePointer thisPtr) {
38885         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38886         return GetAccessors()->getCanvasRendererAccessor()->getGlobalAlpha(self);
38887 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getGlobalAlpha,KInteropNumber,Ark_NativePointer)38888 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getGlobalAlpha, KInteropNumber, Ark_NativePointer)
38889 void impl_CanvasRenderer_setGlobalAlpha(Ark_NativePointer thisPtr, KInteropNumber globalAlpha) {
38890         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38891         GetAccessors()->getCanvasRendererAccessor()->setGlobalAlpha(self, (const Ark_Number*) (&globalAlpha));
38892 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setGlobalAlpha,Ark_NativePointer,KInteropNumber)38893 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setGlobalAlpha, Ark_NativePointer, KInteropNumber)
38894 Ark_String impl_CanvasRenderer_getGlobalCompositeOperation(Ark_NativePointer thisPtr) {
38895         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38896         return GetAccessors()->getCanvasRendererAccessor()->getGlobalCompositeOperation(self);
38897 }
KOALA_INTEROP_1(CanvasRenderer_getGlobalCompositeOperation,KStringPtr,Ark_NativePointer)38898 KOALA_INTEROP_1(CanvasRenderer_getGlobalCompositeOperation, KStringPtr, Ark_NativePointer)
38899 void impl_CanvasRenderer_setGlobalCompositeOperation(Ark_NativePointer thisPtr, const KStringPtr& globalCompositeOperation) {
38900         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38901         GetAccessors()->getCanvasRendererAccessor()->setGlobalCompositeOperation(self, (const Ark_String*) (&globalCompositeOperation));
38902 }
KOALA_INTEROP_V2(CanvasRenderer_setGlobalCompositeOperation,Ark_NativePointer,KStringPtr)38903 KOALA_INTEROP_V2(CanvasRenderer_setGlobalCompositeOperation, Ark_NativePointer, KStringPtr)
38904 KInteropReturnBuffer impl_CanvasRenderer_getFillStyle(Ark_NativePointer thisPtr) {
38905         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38906         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getFillStyle(self);
38907         Serializer _retSerializer {};
38908         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38909         retValue_type = retValue.selector;
38910         if (retValue_type == 0) {
38911             _retSerializer.writeInt8(0);
38912             const auto retValue_0 = retValue.value0;
38913             _retSerializer.writeString(retValue_0);
38914         }
38915         else if (retValue_type == 1) {
38916             _retSerializer.writeInt8(1);
38917             const auto retValue_1 = retValue.value1;
38918             _retSerializer.writeNumber(retValue_1);
38919         }
38920         else if (retValue_type == 2) {
38921             _retSerializer.writeInt8(2);
38922             const auto retValue_2 = retValue.value2;
38923             _retSerializer.writeCanvasGradient(retValue_2);
38924         }
38925         else if (retValue_type == 3) {
38926             _retSerializer.writeInt8(3);
38927             const auto retValue_3 = retValue.value3;
38928             _retSerializer.writeCanvasPattern(retValue_3);
38929         }
38930         return _retSerializer.toReturnBuffer();
38931 }
KOALA_INTEROP_1(CanvasRenderer_getFillStyle,KInteropReturnBuffer,Ark_NativePointer)38932 KOALA_INTEROP_1(CanvasRenderer_getFillStyle, KInteropReturnBuffer, Ark_NativePointer)
38933 void impl_CanvasRenderer_setFillStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38934         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38935         Deserializer thisDeserializer(thisArray, thisLength);
38936         const Ark_Int8 fillStyle_value_buf_selector = thisDeserializer.readInt8();
38937         Ark_Union_String_Number_CanvasGradient_CanvasPattern fillStyle_value_buf = {};
38938         fillStyle_value_buf.selector = fillStyle_value_buf_selector;
38939         if (fillStyle_value_buf_selector == 0) {
38940             fillStyle_value_buf.selector = 0;
38941             fillStyle_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
38942         }
38943         else if (fillStyle_value_buf_selector == 1) {
38944             fillStyle_value_buf.selector = 1;
38945             fillStyle_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
38946         }
38947         else if (fillStyle_value_buf_selector == 2) {
38948             fillStyle_value_buf.selector = 2;
38949             fillStyle_value_buf.value2 = static_cast<Ark_CanvasGradient>(thisDeserializer.readCanvasGradient());
38950         }
38951         else if (fillStyle_value_buf_selector == 3) {
38952             fillStyle_value_buf.selector = 3;
38953             fillStyle_value_buf.value3 = static_cast<Ark_CanvasPattern>(thisDeserializer.readCanvasPattern());
38954         }
38955         else {
38956             INTEROP_FATAL("One of the branches for fillStyle_value_buf has to be chosen through deserialisation.");
38957         }
38958         Ark_Union_String_Number_CanvasGradient_CanvasPattern fillStyle_value = static_cast<Ark_Union_String_Number_CanvasGradient_CanvasPattern>(fillStyle_value_buf);;
38959         GetAccessors()->getCanvasRendererAccessor()->setFillStyle(self, (const Ark_Union_String_Number_CanvasGradient_CanvasPattern*)&fillStyle_value);
38960 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setFillStyle,Ark_NativePointer,KSerializerBuffer,int32_t)38961 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setFillStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
38962 KInteropReturnBuffer impl_CanvasRenderer_getStrokeStyle(Ark_NativePointer thisPtr) {
38963         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38964         const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getStrokeStyle(self);
38965         Serializer _retSerializer {};
38966         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
38967         retValue_type = retValue.selector;
38968         if (retValue_type == 0) {
38969             _retSerializer.writeInt8(0);
38970             const auto retValue_0 = retValue.value0;
38971             _retSerializer.writeString(retValue_0);
38972         }
38973         else if (retValue_type == 1) {
38974             _retSerializer.writeInt8(1);
38975             const auto retValue_1 = retValue.value1;
38976             _retSerializer.writeNumber(retValue_1);
38977         }
38978         else if (retValue_type == 2) {
38979             _retSerializer.writeInt8(2);
38980             const auto retValue_2 = retValue.value2;
38981             _retSerializer.writeCanvasGradient(retValue_2);
38982         }
38983         else if (retValue_type == 3) {
38984             _retSerializer.writeInt8(3);
38985             const auto retValue_3 = retValue.value3;
38986             _retSerializer.writeCanvasPattern(retValue_3);
38987         }
38988         return _retSerializer.toReturnBuffer();
38989 }
KOALA_INTEROP_1(CanvasRenderer_getStrokeStyle,KInteropReturnBuffer,Ark_NativePointer)38990 KOALA_INTEROP_1(CanvasRenderer_getStrokeStyle, KInteropReturnBuffer, Ark_NativePointer)
38991 void impl_CanvasRenderer_setStrokeStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
38992         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
38993         Deserializer thisDeserializer(thisArray, thisLength);
38994         const Ark_Int8 strokeStyle_value_buf_selector = thisDeserializer.readInt8();
38995         Ark_Union_String_Number_CanvasGradient_CanvasPattern strokeStyle_value_buf = {};
38996         strokeStyle_value_buf.selector = strokeStyle_value_buf_selector;
38997         if (strokeStyle_value_buf_selector == 0) {
38998             strokeStyle_value_buf.selector = 0;
38999             strokeStyle_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
39000         }
39001         else if (strokeStyle_value_buf_selector == 1) {
39002             strokeStyle_value_buf.selector = 1;
39003             strokeStyle_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
39004         }
39005         else if (strokeStyle_value_buf_selector == 2) {
39006             strokeStyle_value_buf.selector = 2;
39007             strokeStyle_value_buf.value2 = static_cast<Ark_CanvasGradient>(thisDeserializer.readCanvasGradient());
39008         }
39009         else if (strokeStyle_value_buf_selector == 3) {
39010             strokeStyle_value_buf.selector = 3;
39011             strokeStyle_value_buf.value3 = static_cast<Ark_CanvasPattern>(thisDeserializer.readCanvasPattern());
39012         }
39013         else {
39014             INTEROP_FATAL("One of the branches for strokeStyle_value_buf has to be chosen through deserialisation.");
39015         }
39016         Ark_Union_String_Number_CanvasGradient_CanvasPattern strokeStyle_value = static_cast<Ark_Union_String_Number_CanvasGradient_CanvasPattern>(strokeStyle_value_buf);;
39017         GetAccessors()->getCanvasRendererAccessor()->setStrokeStyle(self, (const Ark_Union_String_Number_CanvasGradient_CanvasPattern*)&strokeStyle_value);
39018 }
KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setStrokeStyle,Ark_NativePointer,KSerializerBuffer,int32_t)39019 KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setStrokeStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
39020 Ark_String impl_CanvasRenderer_getFilter(Ark_NativePointer thisPtr) {
39021         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39022         return GetAccessors()->getCanvasRendererAccessor()->getFilter(self);
39023 }
KOALA_INTEROP_1(CanvasRenderer_getFilter,KStringPtr,Ark_NativePointer)39024 KOALA_INTEROP_1(CanvasRenderer_getFilter, KStringPtr, Ark_NativePointer)
39025 void impl_CanvasRenderer_setFilter(Ark_NativePointer thisPtr, const KStringPtr& filter) {
39026         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39027         GetAccessors()->getCanvasRendererAccessor()->setFilter(self, (const Ark_String*) (&filter));
39028 }
KOALA_INTEROP_V2(CanvasRenderer_setFilter,Ark_NativePointer,KStringPtr)39029 KOALA_INTEROP_V2(CanvasRenderer_setFilter, Ark_NativePointer, KStringPtr)
39030 Ark_Boolean impl_CanvasRenderer_getImageSmoothingEnabled(Ark_NativePointer thisPtr) {
39031         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39032         return GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingEnabled(self);
39033 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getImageSmoothingEnabled,Ark_Boolean,Ark_NativePointer)39034 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getImageSmoothingEnabled, Ark_Boolean, Ark_NativePointer)
39035 void impl_CanvasRenderer_setImageSmoothingEnabled(Ark_NativePointer thisPtr, Ark_Boolean imageSmoothingEnabled) {
39036         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39037         GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingEnabled(self, imageSmoothingEnabled);
39038 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setImageSmoothingEnabled,Ark_NativePointer,Ark_Boolean)39039 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setImageSmoothingEnabled, Ark_NativePointer, Ark_Boolean)
39040 void impl_CanvasRenderer_getImageSmoothingQuality(Ark_NativePointer thisPtr) {
39041         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39042         GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingQuality(self);
39043 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getImageSmoothingQuality,Ark_NativePointer)39044 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getImageSmoothingQuality, Ark_NativePointer)
39045 void impl_CanvasRenderer_setImageSmoothingQuality(Ark_NativePointer thisPtr, const KStringPtr& imageSmoothingQuality) {
39046         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39047         GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingQuality(self, (const Ark_String*) (&imageSmoothingQuality));
39048 }
KOALA_INTEROP_V2(CanvasRenderer_setImageSmoothingQuality,Ark_NativePointer,KStringPtr)39049 KOALA_INTEROP_V2(CanvasRenderer_setImageSmoothingQuality, Ark_NativePointer, KStringPtr)
39050 void impl_CanvasRenderer_getLineCap(Ark_NativePointer thisPtr) {
39051         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39052         GetAccessors()->getCanvasRendererAccessor()->getLineCap(self);
39053 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineCap,Ark_NativePointer)39054 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineCap, Ark_NativePointer)
39055 void impl_CanvasRenderer_setLineCap(Ark_NativePointer thisPtr, const KStringPtr& lineCap) {
39056         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39057         GetAccessors()->getCanvasRendererAccessor()->setLineCap(self, (const Ark_String*) (&lineCap));
39058 }
KOALA_INTEROP_V2(CanvasRenderer_setLineCap,Ark_NativePointer,KStringPtr)39059 KOALA_INTEROP_V2(CanvasRenderer_setLineCap, Ark_NativePointer, KStringPtr)
39060 Ark_Number impl_CanvasRenderer_getLineDashOffset(Ark_NativePointer thisPtr) {
39061         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39062         return GetAccessors()->getCanvasRendererAccessor()->getLineDashOffset(self);
39063 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getLineDashOffset,KInteropNumber,Ark_NativePointer)39064 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getLineDashOffset, KInteropNumber, Ark_NativePointer)
39065 void impl_CanvasRenderer_setLineDashOffset(Ark_NativePointer thisPtr, KInteropNumber lineDashOffset) {
39066         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39067         GetAccessors()->getCanvasRendererAccessor()->setLineDashOffset(self, (const Ark_Number*) (&lineDashOffset));
39068 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setLineDashOffset,Ark_NativePointer,KInteropNumber)39069 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setLineDashOffset, Ark_NativePointer, KInteropNumber)
39070 void impl_CanvasRenderer_getLineJoin(Ark_NativePointer thisPtr) {
39071         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39072         GetAccessors()->getCanvasRendererAccessor()->getLineJoin(self);
39073 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineJoin,Ark_NativePointer)39074 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineJoin, Ark_NativePointer)
39075 void impl_CanvasRenderer_setLineJoin(Ark_NativePointer thisPtr, const KStringPtr& lineJoin) {
39076         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39077         GetAccessors()->getCanvasRendererAccessor()->setLineJoin(self, (const Ark_String*) (&lineJoin));
39078 }
KOALA_INTEROP_V2(CanvasRenderer_setLineJoin,Ark_NativePointer,KStringPtr)39079 KOALA_INTEROP_V2(CanvasRenderer_setLineJoin, Ark_NativePointer, KStringPtr)
39080 Ark_Number impl_CanvasRenderer_getLineWidth(Ark_NativePointer thisPtr) {
39081         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39082         return GetAccessors()->getCanvasRendererAccessor()->getLineWidth(self);
39083 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getLineWidth,KInteropNumber,Ark_NativePointer)39084 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getLineWidth, KInteropNumber, Ark_NativePointer)
39085 void impl_CanvasRenderer_setLineWidth(Ark_NativePointer thisPtr, KInteropNumber lineWidth) {
39086         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39087         GetAccessors()->getCanvasRendererAccessor()->setLineWidth(self, (const Ark_Number*) (&lineWidth));
39088 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setLineWidth,Ark_NativePointer,KInteropNumber)39089 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setLineWidth, Ark_NativePointer, KInteropNumber)
39090 Ark_Number impl_CanvasRenderer_getMiterLimit(Ark_NativePointer thisPtr) {
39091         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39092         return GetAccessors()->getCanvasRendererAccessor()->getMiterLimit(self);
39093 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getMiterLimit,KInteropNumber,Ark_NativePointer)39094 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getMiterLimit, KInteropNumber, Ark_NativePointer)
39095 void impl_CanvasRenderer_setMiterLimit(Ark_NativePointer thisPtr, KInteropNumber miterLimit) {
39096         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39097         GetAccessors()->getCanvasRendererAccessor()->setMiterLimit(self, (const Ark_Number*) (&miterLimit));
39098 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setMiterLimit,Ark_NativePointer,KInteropNumber)39099 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setMiterLimit, Ark_NativePointer, KInteropNumber)
39100 Ark_Number impl_CanvasRenderer_getShadowBlur(Ark_NativePointer thisPtr) {
39101         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39102         return GetAccessors()->getCanvasRendererAccessor()->getShadowBlur(self);
39103 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowBlur,KInteropNumber,Ark_NativePointer)39104 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowBlur, KInteropNumber, Ark_NativePointer)
39105 void impl_CanvasRenderer_setShadowBlur(Ark_NativePointer thisPtr, KInteropNumber shadowBlur) {
39106         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39107         GetAccessors()->getCanvasRendererAccessor()->setShadowBlur(self, (const Ark_Number*) (&shadowBlur));
39108 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowBlur,Ark_NativePointer,KInteropNumber)39109 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowBlur, Ark_NativePointer, KInteropNumber)
39110 Ark_String impl_CanvasRenderer_getShadowColor(Ark_NativePointer thisPtr) {
39111         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39112         return GetAccessors()->getCanvasRendererAccessor()->getShadowColor(self);
39113 }
KOALA_INTEROP_1(CanvasRenderer_getShadowColor,KStringPtr,Ark_NativePointer)39114 KOALA_INTEROP_1(CanvasRenderer_getShadowColor, KStringPtr, Ark_NativePointer)
39115 void impl_CanvasRenderer_setShadowColor(Ark_NativePointer thisPtr, const KStringPtr& shadowColor) {
39116         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39117         GetAccessors()->getCanvasRendererAccessor()->setShadowColor(self, (const Ark_String*) (&shadowColor));
39118 }
KOALA_INTEROP_V2(CanvasRenderer_setShadowColor,Ark_NativePointer,KStringPtr)39119 KOALA_INTEROP_V2(CanvasRenderer_setShadowColor, Ark_NativePointer, KStringPtr)
39120 Ark_Number impl_CanvasRenderer_getShadowOffsetX(Ark_NativePointer thisPtr) {
39121         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39122         return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetX(self);
39123 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowOffsetX,KInteropNumber,Ark_NativePointer)39124 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowOffsetX, KInteropNumber, Ark_NativePointer)
39125 void impl_CanvasRenderer_setShadowOffsetX(Ark_NativePointer thisPtr, KInteropNumber shadowOffsetX) {
39126         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39127         GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetX(self, (const Ark_Number*) (&shadowOffsetX));
39128 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowOffsetX,Ark_NativePointer,KInteropNumber)39129 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowOffsetX, Ark_NativePointer, KInteropNumber)
39130 Ark_Number impl_CanvasRenderer_getShadowOffsetY(Ark_NativePointer thisPtr) {
39131         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39132         return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetY(self);
39133 }
KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowOffsetY,KInteropNumber,Ark_NativePointer)39134 KOALA_INTEROP_DIRECT_1(CanvasRenderer_getShadowOffsetY, KInteropNumber, Ark_NativePointer)
39135 void impl_CanvasRenderer_setShadowOffsetY(Ark_NativePointer thisPtr, KInteropNumber shadowOffsetY) {
39136         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39137         GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetY(self, (const Ark_Number*) (&shadowOffsetY));
39138 }
KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowOffsetY,Ark_NativePointer,KInteropNumber)39139 KOALA_INTEROP_DIRECT_V2(CanvasRenderer_setShadowOffsetY, Ark_NativePointer, KInteropNumber)
39140 void impl_CanvasRenderer_getDirection(Ark_NativePointer thisPtr) {
39141         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39142         GetAccessors()->getCanvasRendererAccessor()->getDirection(self);
39143 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getDirection,Ark_NativePointer)39144 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getDirection, Ark_NativePointer)
39145 void impl_CanvasRenderer_setDirection(Ark_NativePointer thisPtr, const KStringPtr& direction) {
39146         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39147         GetAccessors()->getCanvasRendererAccessor()->setDirection(self, (const Ark_String*) (&direction));
39148 }
KOALA_INTEROP_V2(CanvasRenderer_setDirection,Ark_NativePointer,KStringPtr)39149 KOALA_INTEROP_V2(CanvasRenderer_setDirection, Ark_NativePointer, KStringPtr)
39150 Ark_String impl_CanvasRenderer_getFont(Ark_NativePointer thisPtr) {
39151         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39152         return GetAccessors()->getCanvasRendererAccessor()->getFont(self);
39153 }
KOALA_INTEROP_1(CanvasRenderer_getFont,KStringPtr,Ark_NativePointer)39154 KOALA_INTEROP_1(CanvasRenderer_getFont, KStringPtr, Ark_NativePointer)
39155 void impl_CanvasRenderer_setFont(Ark_NativePointer thisPtr, const KStringPtr& font) {
39156         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39157         GetAccessors()->getCanvasRendererAccessor()->setFont(self, (const Ark_String*) (&font));
39158 }
KOALA_INTEROP_V2(CanvasRenderer_setFont,Ark_NativePointer,KStringPtr)39159 KOALA_INTEROP_V2(CanvasRenderer_setFont, Ark_NativePointer, KStringPtr)
39160 void impl_CanvasRenderer_getTextAlign(Ark_NativePointer thisPtr) {
39161         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39162         GetAccessors()->getCanvasRendererAccessor()->getTextAlign(self);
39163 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextAlign,Ark_NativePointer)39164 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextAlign, Ark_NativePointer)
39165 void impl_CanvasRenderer_setTextAlign(Ark_NativePointer thisPtr, const KStringPtr& textAlign) {
39166         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39167         GetAccessors()->getCanvasRendererAccessor()->setTextAlign(self, (const Ark_String*) (&textAlign));
39168 }
KOALA_INTEROP_V2(CanvasRenderer_setTextAlign,Ark_NativePointer,KStringPtr)39169 KOALA_INTEROP_V2(CanvasRenderer_setTextAlign, Ark_NativePointer, KStringPtr)
39170 void impl_CanvasRenderer_getTextBaseline(Ark_NativePointer thisPtr) {
39171         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39172         GetAccessors()->getCanvasRendererAccessor()->getTextBaseline(self);
39173 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextBaseline,Ark_NativePointer)39174 KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextBaseline, Ark_NativePointer)
39175 void impl_CanvasRenderer_setTextBaseline(Ark_NativePointer thisPtr, const KStringPtr& textBaseline) {
39176         Ark_CanvasRenderer self = reinterpret_cast<Ark_CanvasRenderer>(thisPtr);
39177         GetAccessors()->getCanvasRendererAccessor()->setTextBaseline(self, (const Ark_String*) (&textBaseline));
39178 }
KOALA_INTEROP_V2(CanvasRenderer_setTextBaseline,Ark_NativePointer,KStringPtr)39179 KOALA_INTEROP_V2(CanvasRenderer_setTextBaseline, Ark_NativePointer, KStringPtr)
39180 Ark_NativePointer impl_CanvasRenderingContext2D_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39181         Deserializer thisDeserializer(thisArray, thisLength);
39182         const auto settings_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39183         Opt_RenderingContextSettings settings_value_buf = {};
39184         settings_value_buf.tag = settings_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39185         if ((INTEROP_RUNTIME_UNDEFINED) != (settings_value_buf_runtimeType))
39186         {
39187             settings_value_buf.value = static_cast<Ark_RenderingContextSettings>(thisDeserializer.readRenderingContextSettings());
39188         }
39189         Opt_RenderingContextSettings settings_value = settings_value_buf;;
39190         return GetAccessors()->getCanvasRenderingContext2DAccessor()->ctor((const Opt_RenderingContextSettings*)&settings_value);
39191 }
KOALA_INTEROP_DIRECT_2(CanvasRenderingContext2D_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39192 KOALA_INTEROP_DIRECT_2(CanvasRenderingContext2D_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39193 Ark_NativePointer impl_CanvasRenderingContext2D_getFinalizer() {
39194         return GetAccessors()->getCanvasRenderingContext2DAccessor()->getFinalizer();
39195 }
KOALA_INTEROP_DIRECT_0(CanvasRenderingContext2D_getFinalizer,Ark_NativePointer)39196 KOALA_INTEROP_DIRECT_0(CanvasRenderingContext2D_getFinalizer, Ark_NativePointer)
39197 Ark_String impl_CanvasRenderingContext2D_toDataURL(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39198         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39199         Deserializer thisDeserializer(thisArray, thisLength);
39200         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39201         Opt_String type_value_buf = {};
39202         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39203         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
39204         {
39205             type_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
39206         }
39207         Opt_String type_value = type_value_buf;;
39208         const auto quality_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39209         Opt_Float32 quality_value_buf = {};
39210         quality_value_buf.tag = quality_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39211         if ((INTEROP_RUNTIME_UNDEFINED) != (quality_value_buf_runtimeType))
39212         {
39213             quality_value_buf.value = thisDeserializer.readFloat32();
39214         }
39215         Opt_Float32 quality_value = quality_value_buf;;
39216         return GetAccessors()->getCanvasRenderingContext2DAccessor()->toDataURL(self, (const Opt_String*)&type_value, (const Opt_Float32*)&quality_value);
39217 }
KOALA_INTEROP_3(CanvasRenderingContext2D_toDataURL,KStringPtr,Ark_NativePointer,KSerializerBuffer,int32_t)39218 KOALA_INTEROP_3(CanvasRenderingContext2D_toDataURL, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t)
39219 void impl_CanvasRenderingContext2D_startImageAnalyzer(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39220         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39221         Deserializer thisDeserializer(thisArray, thisLength);
39222         Ark_ImageAnalyzerConfig config_value = thisDeserializer.readImageAnalyzerConfig();;
39223         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
39224         GetAccessors()->getCanvasRenderingContext2DAccessor()->startImageAnalyzer(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Ark_ImageAnalyzerConfig*)&config_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
39225 }
KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_startImageAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)39226 KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_startImageAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
39227 void impl_CanvasRenderingContext2D_stopImageAnalyzer(Ark_NativePointer thisPtr) {
39228         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39229         GetAccessors()->getCanvasRenderingContext2DAccessor()->stopImageAnalyzer(self);
39230 }
KOALA_INTEROP_DIRECT_V1(CanvasRenderingContext2D_stopImageAnalyzer,Ark_NativePointer)39231 KOALA_INTEROP_DIRECT_V1(CanvasRenderingContext2D_stopImageAnalyzer, Ark_NativePointer)
39232 void impl_CanvasRenderingContext2D_onOnAttach(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39233         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39234         Deserializer thisDeserializer(thisArray, thisLength);
39235         Callback_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
39236         GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnAttach(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Callback_Void*)&callback__value);
39237 }
KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_onOnAttach,Ark_NativePointer,KSerializerBuffer,int32_t)39238 KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_onOnAttach, Ark_NativePointer, KSerializerBuffer, int32_t)
39239 void impl_CanvasRenderingContext2D_onOnDetach(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39240         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39241         Deserializer thisDeserializer(thisArray, thisLength);
39242         Callback_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
39243         GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnDetach(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Callback_Void*)&callback__value);
39244 }
KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_onOnDetach,Ark_NativePointer,KSerializerBuffer,int32_t)39245 KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_onOnDetach, Ark_NativePointer, KSerializerBuffer, int32_t)
39246 void impl_CanvasRenderingContext2D_offOnAttach(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39247         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39248         Deserializer thisDeserializer(thisArray, thisLength);
39249         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39250         Opt_Callback_Void callback__value_buf = {};
39251         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39252         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
39253         {
39254             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
39255         }
39256         Opt_Callback_Void callback__value = callback__value_buf;;
39257         GetAccessors()->getCanvasRenderingContext2DAccessor()->offOnAttach(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Opt_Callback_Void*)&callback__value);
39258 }
KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_offOnAttach,Ark_NativePointer,KSerializerBuffer,int32_t)39259 KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_offOnAttach, Ark_NativePointer, KSerializerBuffer, int32_t)
39260 void impl_CanvasRenderingContext2D_offOnDetach(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39261         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39262         Deserializer thisDeserializer(thisArray, thisLength);
39263         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39264         Opt_Callback_Void callback__value_buf = {};
39265         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39266         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
39267         {
39268             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
39269         }
39270         Opt_Callback_Void callback__value = callback__value_buf;;
39271         GetAccessors()->getCanvasRenderingContext2DAccessor()->offOnDetach(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Opt_Callback_Void*)&callback__value);
39272 }
KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_offOnDetach,Ark_NativePointer,KSerializerBuffer,int32_t)39273 KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_offOnDetach, Ark_NativePointer, KSerializerBuffer, int32_t)
39274 Ark_Number impl_CanvasRenderingContext2D_getHeight(Ark_NativePointer thisPtr) {
39275         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39276         return GetAccessors()->getCanvasRenderingContext2DAccessor()->getHeight(self);
39277 }
KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getHeight,KInteropNumber,Ark_NativePointer)39278 KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getHeight, KInteropNumber, Ark_NativePointer)
39279 Ark_Number impl_CanvasRenderingContext2D_getWidth(Ark_NativePointer thisPtr) {
39280         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39281         return GetAccessors()->getCanvasRenderingContext2DAccessor()->getWidth(self);
39282 }
KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getWidth,KInteropNumber,Ark_NativePointer)39283 KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getWidth, KInteropNumber, Ark_NativePointer)
39284 Ark_NativePointer impl_CanvasRenderingContext2D_getCanvas(Ark_NativePointer thisPtr) {
39285         Ark_CanvasRenderingContext2D self = reinterpret_cast<Ark_CanvasRenderingContext2D>(thisPtr);
39286         return GetAccessors()->getCanvasRenderingContext2DAccessor()->getCanvas(self);
39287 }
KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getCanvas,Ark_NativePointer,Ark_NativePointer)39288 KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getCanvas, Ark_NativePointer, Ark_NativePointer)
39289 Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_ctor(KInteropNumber width, KInteropNumber height, KSerializerBuffer thisArray, int32_t thisLength) {
39290         Deserializer thisDeserializer(thisArray, thisLength);
39291         const auto settings_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39292         Opt_RenderingContextSettings settings_value_buf = {};
39293         settings_value_buf.tag = settings_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39294         if ((INTEROP_RUNTIME_UNDEFINED) != (settings_value_buf_runtimeType))
39295         {
39296             settings_value_buf.value = static_cast<Ark_RenderingContextSettings>(thisDeserializer.readRenderingContextSettings());
39297         }
39298         Opt_RenderingContextSettings settings_value = settings_value_buf;;
39299         return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->ctor((const Ark_Number*) (&width), (const Ark_Number*) (&height), (const Opt_RenderingContextSettings*)&settings_value);
39300 }
KOALA_INTEROP_DIRECT_4(OffscreenCanvasRenderingContext2D_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)39301 KOALA_INTEROP_DIRECT_4(OffscreenCanvasRenderingContext2D_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
39302 Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_getFinalizer() {
39303         return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->getFinalizer();
39304 }
KOALA_INTEROP_DIRECT_0(OffscreenCanvasRenderingContext2D_getFinalizer,Ark_NativePointer)39305 KOALA_INTEROP_DIRECT_0(OffscreenCanvasRenderingContext2D_getFinalizer, Ark_NativePointer)
39306 Ark_String impl_OffscreenCanvasRenderingContext2D_toDataURL(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39307         Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast<Ark_OffscreenCanvasRenderingContext2D>(thisPtr);
39308         Deserializer thisDeserializer(thisArray, thisLength);
39309         const auto type_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39310         Opt_String type_value_buf = {};
39311         type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39312         if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType))
39313         {
39314             type_value_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
39315         }
39316         Opt_String type_value = type_value_buf;;
39317         const auto quality_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39318         Opt_Float32 quality_value_buf = {};
39319         quality_value_buf.tag = quality_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39320         if ((INTEROP_RUNTIME_UNDEFINED) != (quality_value_buf_runtimeType))
39321         {
39322             quality_value_buf.value = thisDeserializer.readFloat32();
39323         }
39324         Opt_Float32 quality_value = quality_value_buf;;
39325         return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->toDataURL(self, (const Opt_String*)&type_value, (const Opt_Float32*)&quality_value);
39326 }
KOALA_INTEROP_3(OffscreenCanvasRenderingContext2D_toDataURL,KStringPtr,Ark_NativePointer,KSerializerBuffer,int32_t)39327 KOALA_INTEROP_3(OffscreenCanvasRenderingContext2D_toDataURL, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t)
39328 Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_transferToImageBitmap(Ark_NativePointer thisPtr) {
39329         Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast<Ark_OffscreenCanvasRenderingContext2D>(thisPtr);
39330         return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->transferToImageBitmap(self);
39331 }
KOALA_INTEROP_DIRECT_1(OffscreenCanvasRenderingContext2D_transferToImageBitmap,Ark_NativePointer,Ark_NativePointer)39332 KOALA_INTEROP_DIRECT_1(OffscreenCanvasRenderingContext2D_transferToImageBitmap, Ark_NativePointer, Ark_NativePointer)
39333 Ark_NativePointer impl_OffscreenCanvas_ctor(KInteropNumber width, KInteropNumber height) {
39334         return GetAccessors()->getOffscreenCanvasAccessor()->ctor((const Ark_Number*) (&width), (const Ark_Number*) (&height));
39335 }
KOALA_INTEROP_DIRECT_2(OffscreenCanvas_ctor,Ark_NativePointer,KInteropNumber,KInteropNumber)39336 KOALA_INTEROP_DIRECT_2(OffscreenCanvas_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber)
39337 Ark_NativePointer impl_OffscreenCanvas_getFinalizer() {
39338         return GetAccessors()->getOffscreenCanvasAccessor()->getFinalizer();
39339 }
KOALA_INTEROP_DIRECT_0(OffscreenCanvas_getFinalizer,Ark_NativePointer)39340 KOALA_INTEROP_DIRECT_0(OffscreenCanvas_getFinalizer, Ark_NativePointer)
39341 Ark_NativePointer impl_OffscreenCanvas_transferToImageBitmap(Ark_NativePointer thisPtr) {
39342         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39343         return GetAccessors()->getOffscreenCanvasAccessor()->transferToImageBitmap(self);
39344 }
KOALA_INTEROP_DIRECT_1(OffscreenCanvas_transferToImageBitmap,Ark_NativePointer,Ark_NativePointer)39345 KOALA_INTEROP_DIRECT_1(OffscreenCanvas_transferToImageBitmap, Ark_NativePointer, Ark_NativePointer)
39346 Ark_NativePointer impl_OffscreenCanvas_getContext2d(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39347         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39348         Deserializer thisDeserializer(thisArray, thisLength);
39349         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39350         Opt_RenderingContextSettings options_value_buf = {};
39351         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39352         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
39353         {
39354             options_value_buf.value = static_cast<Ark_RenderingContextSettings>(thisDeserializer.readRenderingContextSettings());
39355         }
39356         Opt_RenderingContextSettings options_value = options_value_buf;;
39357         return GetAccessors()->getOffscreenCanvasAccessor()->getContext2d(self, (const Opt_RenderingContextSettings*)&options_value);
39358 }
KOALA_INTEROP_DIRECT_3(OffscreenCanvas_getContext2d,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39359 KOALA_INTEROP_DIRECT_3(OffscreenCanvas_getContext2d, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39360 Ark_Number impl_OffscreenCanvas_getHeight(Ark_NativePointer thisPtr) {
39361         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39362         return GetAccessors()->getOffscreenCanvasAccessor()->getHeight(self);
39363 }
KOALA_INTEROP_DIRECT_1(OffscreenCanvas_getHeight,KInteropNumber,Ark_NativePointer)39364 KOALA_INTEROP_DIRECT_1(OffscreenCanvas_getHeight, KInteropNumber, Ark_NativePointer)
39365 void impl_OffscreenCanvas_setHeight(Ark_NativePointer thisPtr, KInteropNumber height) {
39366         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39367         GetAccessors()->getOffscreenCanvasAccessor()->setHeight(self, (const Ark_Number*) (&height));
39368 }
KOALA_INTEROP_DIRECT_V2(OffscreenCanvas_setHeight,Ark_NativePointer,KInteropNumber)39369 KOALA_INTEROP_DIRECT_V2(OffscreenCanvas_setHeight, Ark_NativePointer, KInteropNumber)
39370 Ark_Number impl_OffscreenCanvas_getWidth(Ark_NativePointer thisPtr) {
39371         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39372         return GetAccessors()->getOffscreenCanvasAccessor()->getWidth(self);
39373 }
KOALA_INTEROP_DIRECT_1(OffscreenCanvas_getWidth,KInteropNumber,Ark_NativePointer)39374 KOALA_INTEROP_DIRECT_1(OffscreenCanvas_getWidth, KInteropNumber, Ark_NativePointer)
39375 void impl_OffscreenCanvas_setWidth(Ark_NativePointer thisPtr, KInteropNumber width) {
39376         Ark_OffscreenCanvas self = reinterpret_cast<Ark_OffscreenCanvas>(thisPtr);
39377         GetAccessors()->getOffscreenCanvasAccessor()->setWidth(self, (const Ark_Number*) (&width));
39378 }
KOALA_INTEROP_DIRECT_V2(OffscreenCanvas_setWidth,Ark_NativePointer,KInteropNumber)39379 KOALA_INTEROP_DIRECT_V2(OffscreenCanvas_setWidth, Ark_NativePointer, KInteropNumber)
39380 Ark_NativePointer impl_DrawingRenderingContext_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39381         Deserializer thisDeserializer(thisArray, thisLength);
39382         const auto unit_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39383         Opt_LengthMetricsUnit unit_value_buf = {};
39384         unit_value_buf.tag = unit_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39385         if ((INTEROP_RUNTIME_UNDEFINED) != (unit_value_buf_runtimeType))
39386         {
39387             unit_value_buf.value = static_cast<Ark_LengthMetricsUnit>(thisDeserializer.readInt32());
39388         }
39389         Opt_LengthMetricsUnit unit_value = unit_value_buf;;
39390         return GetAccessors()->getDrawingRenderingContextAccessor()->ctor((const Opt_LengthMetricsUnit*)&unit_value);
39391 }
KOALA_INTEROP_DIRECT_2(DrawingRenderingContext_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39392 KOALA_INTEROP_DIRECT_2(DrawingRenderingContext_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39393 Ark_NativePointer impl_DrawingRenderingContext_getFinalizer() {
39394         return GetAccessors()->getDrawingRenderingContextAccessor()->getFinalizer();
39395 }
KOALA_INTEROP_DIRECT_0(DrawingRenderingContext_getFinalizer,Ark_NativePointer)39396 KOALA_INTEROP_DIRECT_0(DrawingRenderingContext_getFinalizer, Ark_NativePointer)
39397 void impl_DrawingRenderingContext_invalidate(Ark_NativePointer thisPtr) {
39398         Ark_DrawingRenderingContext self = reinterpret_cast<Ark_DrawingRenderingContext>(thisPtr);
39399         GetAccessors()->getDrawingRenderingContextAccessor()->invalidate(self);
39400 }
KOALA_INTEROP_DIRECT_V1(DrawingRenderingContext_invalidate,Ark_NativePointer)39401 KOALA_INTEROP_DIRECT_V1(DrawingRenderingContext_invalidate, Ark_NativePointer)
39402 KInteropReturnBuffer impl_DrawingRenderingContext_getSize(Ark_NativePointer thisPtr) {
39403         Ark_DrawingRenderingContext self = reinterpret_cast<Ark_DrawingRenderingContext>(thisPtr);
39404         const auto &retValue = GetAccessors()->getDrawingRenderingContextAccessor()->getSize(self);
39405         Serializer _retSerializer {};
39406         _retSerializer.writeSize(retValue);
39407         return _retSerializer.toReturnBuffer();
39408 }
KOALA_INTEROP_1(DrawingRenderingContext_getSize,KInteropReturnBuffer,Ark_NativePointer)39409 KOALA_INTEROP_1(DrawingRenderingContext_getSize, KInteropReturnBuffer, Ark_NativePointer)
39410 Ark_NativePointer impl_DrawingRenderingContext_getCanvas(Ark_NativePointer thisPtr) {
39411         Ark_DrawingRenderingContext self = reinterpret_cast<Ark_DrawingRenderingContext>(thisPtr);
39412         return GetAccessors()->getDrawingRenderingContextAccessor()->getCanvas(self);
39413 }
KOALA_INTEROP_DIRECT_1(DrawingRenderingContext_getCanvas,Ark_NativePointer,Ark_NativePointer)39414 KOALA_INTEROP_DIRECT_1(DrawingRenderingContext_getCanvas, Ark_NativePointer, Ark_NativePointer)
39415 void impl_ContextMenu_close() {
39416         GetAccessors()->getContextMenuAccessor()->close();
39417 }
KOALA_INTEROP_DIRECT_V0(ContextMenu_close)39418 KOALA_INTEROP_DIRECT_V0(ContextMenu_close)
39419 Ark_NativePointer impl_CustomDialogController_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39420         Deserializer thisDeserializer(thisArray, thisLength);
39421         Ark_CustomDialogControllerOptions value_value = thisDeserializer.readCustomDialogControllerOptions();;
39422         return GetAccessors()->getCustomDialogControllerAccessor()->ctor((const Ark_CustomDialogControllerOptions*)&value_value);
39423 }
KOALA_INTEROP_DIRECT_2(CustomDialogController_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39424 KOALA_INTEROP_DIRECT_2(CustomDialogController_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39425 Ark_NativePointer impl_CustomDialogController_getFinalizer() {
39426         return GetAccessors()->getCustomDialogControllerAccessor()->getFinalizer();
39427 }
KOALA_INTEROP_DIRECT_0(CustomDialogController_getFinalizer,Ark_NativePointer)39428 KOALA_INTEROP_DIRECT_0(CustomDialogController_getFinalizer, Ark_NativePointer)
39429 void impl_CustomDialogController_open(Ark_NativePointer thisPtr) {
39430         Ark_CustomDialogController self = reinterpret_cast<Ark_CustomDialogController>(thisPtr);
39431         GetAccessors()->getCustomDialogControllerAccessor()->open(self);
39432 }
KOALA_INTEROP_DIRECT_V1(CustomDialogController_open,Ark_NativePointer)39433 KOALA_INTEROP_DIRECT_V1(CustomDialogController_open, Ark_NativePointer)
39434 void impl_CustomDialogController_close(Ark_NativePointer thisPtr) {
39435         Ark_CustomDialogController self = reinterpret_cast<Ark_CustomDialogController>(thisPtr);
39436         GetAccessors()->getCustomDialogControllerAccessor()->close(self);
39437 }
KOALA_INTEROP_DIRECT_V1(CustomDialogController_close,Ark_NativePointer)39438 KOALA_INTEROP_DIRECT_V1(CustomDialogController_close, Ark_NativePointer)
39439 Ark_NativePointer impl_LinearGradient_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39440         Deserializer thisDeserializer(thisArray, thisLength);
39441         const Ark_Int32 colorStops_value_buf_length = thisDeserializer.readInt32();
39442         Array_ColorStop colorStops_value_buf = {};
39443         thisDeserializer.resizeArray<std::decay<decltype(colorStops_value_buf)>::type,
39444         std::decay<decltype(*colorStops_value_buf.array)>::type>(&colorStops_value_buf, colorStops_value_buf_length);
39445         for (int colorStops_value_buf_i = 0; colorStops_value_buf_i < colorStops_value_buf_length; colorStops_value_buf_i++) {
39446             colorStops_value_buf.array[colorStops_value_buf_i] = thisDeserializer.readColorStop();
39447         }
39448         Array_ColorStop colorStops_value = colorStops_value_buf;;
39449         return GetAccessors()->getLinearGradientAccessor()->ctor((const Array_ColorStop*)&colorStops_value);
39450 }
KOALA_INTEROP_DIRECT_2(LinearGradient_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39451 KOALA_INTEROP_DIRECT_2(LinearGradient_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39452 Ark_NativePointer impl_LinearGradient_getFinalizer() {
39453         return GetAccessors()->getLinearGradientAccessor()->getFinalizer();
39454 }
KOALA_INTEROP_DIRECT_0(LinearGradient_getFinalizer,Ark_NativePointer)39455 KOALA_INTEROP_DIRECT_0(LinearGradient_getFinalizer, Ark_NativePointer)
39456 void impl_DatePickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) {
39457         Deserializer thisDeserializer(thisArray, thisLength);
39458         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39459         Opt_DatePickerDialogOptions options_value_buf = {};
39460         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39461         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
39462         {
39463             options_value_buf.value = thisDeserializer.readDatePickerDialogOptions();
39464         }
39465         Opt_DatePickerDialogOptions options_value = options_value_buf;;
39466         GetAccessors()->getDatePickerDialogAccessor()->show((const Opt_DatePickerDialogOptions*)&options_value);
39467 }
KOALA_INTEROP_DIRECT_V2(DatePickerDialog_show,KSerializerBuffer,int32_t)39468 KOALA_INTEROP_DIRECT_V2(DatePickerDialog_show, KSerializerBuffer, int32_t)
39469 Ark_NativePointer impl_BaseGestureEvent_ctor() {
39470         return GetAccessors()->getBaseGestureEventAccessor()->ctor();
39471 }
KOALA_INTEROP_DIRECT_0(BaseGestureEvent_ctor,Ark_NativePointer)39472 KOALA_INTEROP_DIRECT_0(BaseGestureEvent_ctor, Ark_NativePointer)
39473 Ark_NativePointer impl_BaseGestureEvent_getFinalizer() {
39474         return GetAccessors()->getBaseGestureEventAccessor()->getFinalizer();
39475 }
KOALA_INTEROP_DIRECT_0(BaseGestureEvent_getFinalizer,Ark_NativePointer)39476 KOALA_INTEROP_DIRECT_0(BaseGestureEvent_getFinalizer, Ark_NativePointer)
39477 KInteropReturnBuffer impl_BaseGestureEvent_getFingerList(Ark_NativePointer thisPtr) {
39478         Ark_BaseGestureEvent self = reinterpret_cast<Ark_BaseGestureEvent>(thisPtr);
39479         const auto &retValue = GetAccessors()->getBaseGestureEventAccessor()->getFingerList(self);
39480         Serializer _retSerializer {};
39481         _retSerializer.writeInt32(retValue.length);
39482         for (int i = 0; i < retValue.length; i++) {
39483             const Ark_FingerInfo retValue_element = retValue.array[i];
39484             _retSerializer.writeFingerInfo(retValue_element);
39485         }
39486         return _retSerializer.toReturnBuffer();
39487 }
KOALA_INTEROP_1(BaseGestureEvent_getFingerList,KInteropReturnBuffer,Ark_NativePointer)39488 KOALA_INTEROP_1(BaseGestureEvent_getFingerList, KInteropReturnBuffer, Ark_NativePointer)
39489 void impl_BaseGestureEvent_setFingerList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39490         Ark_BaseGestureEvent self = reinterpret_cast<Ark_BaseGestureEvent>(thisPtr);
39491         Deserializer thisDeserializer(thisArray, thisLength);
39492         const Ark_Int32 fingerList_value_buf_length = thisDeserializer.readInt32();
39493         Array_FingerInfo fingerList_value_buf = {};
39494         thisDeserializer.resizeArray<std::decay<decltype(fingerList_value_buf)>::type,
39495         std::decay<decltype(*fingerList_value_buf.array)>::type>(&fingerList_value_buf, fingerList_value_buf_length);
39496         for (int fingerList_value_buf_i = 0; fingerList_value_buf_i < fingerList_value_buf_length; fingerList_value_buf_i++) {
39497             fingerList_value_buf.array[fingerList_value_buf_i] = thisDeserializer.readFingerInfo();
39498         }
39499         Array_FingerInfo fingerList_value = fingerList_value_buf;;
39500         GetAccessors()->getBaseGestureEventAccessor()->setFingerList(self, (const Array_FingerInfo*)&fingerList_value);
39501 }
KOALA_INTEROP_DIRECT_V3(BaseGestureEvent_setFingerList,Ark_NativePointer,KSerializerBuffer,int32_t)39502 KOALA_INTEROP_DIRECT_V3(BaseGestureEvent_setFingerList, Ark_NativePointer, KSerializerBuffer, int32_t)
39503 Ark_NativePointer impl_TapGestureEvent_ctor() {
39504         return GetAccessors()->getTapGestureEventAccessor()->ctor();
39505 }
KOALA_INTEROP_DIRECT_0(TapGestureEvent_ctor,Ark_NativePointer)39506 KOALA_INTEROP_DIRECT_0(TapGestureEvent_ctor, Ark_NativePointer)
39507 Ark_NativePointer impl_TapGestureEvent_getFinalizer() {
39508         return GetAccessors()->getTapGestureEventAccessor()->getFinalizer();
39509 }
KOALA_INTEROP_DIRECT_0(TapGestureEvent_getFinalizer,Ark_NativePointer)39510 KOALA_INTEROP_DIRECT_0(TapGestureEvent_getFinalizer, Ark_NativePointer)
39511 Ark_NativePointer impl_LongPressGestureEvent_ctor() {
39512         return GetAccessors()->getLongPressGestureEventAccessor()->ctor();
39513 }
KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_ctor,Ark_NativePointer)39514 KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_ctor, Ark_NativePointer)
39515 Ark_NativePointer impl_LongPressGestureEvent_getFinalizer() {
39516         return GetAccessors()->getLongPressGestureEventAccessor()->getFinalizer();
39517 }
KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_getFinalizer,Ark_NativePointer)39518 KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_getFinalizer, Ark_NativePointer)
39519 Ark_Boolean impl_LongPressGestureEvent_getRepeat(Ark_NativePointer thisPtr) {
39520         Ark_LongPressGestureEvent self = reinterpret_cast<Ark_LongPressGestureEvent>(thisPtr);
39521         return GetAccessors()->getLongPressGestureEventAccessor()->getRepeat(self);
39522 }
KOALA_INTEROP_DIRECT_1(LongPressGestureEvent_getRepeat,Ark_Boolean,Ark_NativePointer)39523 KOALA_INTEROP_DIRECT_1(LongPressGestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer)
39524 void impl_LongPressGestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) {
39525         Ark_LongPressGestureEvent self = reinterpret_cast<Ark_LongPressGestureEvent>(thisPtr);
39526         GetAccessors()->getLongPressGestureEventAccessor()->setRepeat(self, repeat);
39527 }
KOALA_INTEROP_DIRECT_V2(LongPressGestureEvent_setRepeat,Ark_NativePointer,Ark_Boolean)39528 KOALA_INTEROP_DIRECT_V2(LongPressGestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean)
39529 Ark_NativePointer impl_PanGestureEvent_ctor() {
39530         return GetAccessors()->getPanGestureEventAccessor()->ctor();
39531 }
KOALA_INTEROP_DIRECT_0(PanGestureEvent_ctor,Ark_NativePointer)39532 KOALA_INTEROP_DIRECT_0(PanGestureEvent_ctor, Ark_NativePointer)
39533 Ark_NativePointer impl_PanGestureEvent_getFinalizer() {
39534         return GetAccessors()->getPanGestureEventAccessor()->getFinalizer();
39535 }
KOALA_INTEROP_DIRECT_0(PanGestureEvent_getFinalizer,Ark_NativePointer)39536 KOALA_INTEROP_DIRECT_0(PanGestureEvent_getFinalizer, Ark_NativePointer)
39537 Ark_Number impl_PanGestureEvent_getOffsetX(Ark_NativePointer thisPtr) {
39538         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39539         return GetAccessors()->getPanGestureEventAccessor()->getOffsetX(self);
39540 }
KOALA_INTEROP_DIRECT_1(PanGestureEvent_getOffsetX,KInteropNumber,Ark_NativePointer)39541 KOALA_INTEROP_DIRECT_1(PanGestureEvent_getOffsetX, KInteropNumber, Ark_NativePointer)
39542 void impl_PanGestureEvent_setOffsetX(Ark_NativePointer thisPtr, KInteropNumber offsetX) {
39543         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39544         GetAccessors()->getPanGestureEventAccessor()->setOffsetX(self, (const Ark_Number*) (&offsetX));
39545 }
KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setOffsetX,Ark_NativePointer,KInteropNumber)39546 KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setOffsetX, Ark_NativePointer, KInteropNumber)
39547 Ark_Number impl_PanGestureEvent_getOffsetY(Ark_NativePointer thisPtr) {
39548         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39549         return GetAccessors()->getPanGestureEventAccessor()->getOffsetY(self);
39550 }
KOALA_INTEROP_DIRECT_1(PanGestureEvent_getOffsetY,KInteropNumber,Ark_NativePointer)39551 KOALA_INTEROP_DIRECT_1(PanGestureEvent_getOffsetY, KInteropNumber, Ark_NativePointer)
39552 void impl_PanGestureEvent_setOffsetY(Ark_NativePointer thisPtr, KInteropNumber offsetY) {
39553         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39554         GetAccessors()->getPanGestureEventAccessor()->setOffsetY(self, (const Ark_Number*) (&offsetY));
39555 }
KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setOffsetY,Ark_NativePointer,KInteropNumber)39556 KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setOffsetY, Ark_NativePointer, KInteropNumber)
39557 Ark_Number impl_PanGestureEvent_getVelocityX(Ark_NativePointer thisPtr) {
39558         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39559         return GetAccessors()->getPanGestureEventAccessor()->getVelocityX(self);
39560 }
KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocityX,KInteropNumber,Ark_NativePointer)39561 KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocityX, KInteropNumber, Ark_NativePointer)
39562 void impl_PanGestureEvent_setVelocityX(Ark_NativePointer thisPtr, KInteropNumber velocityX) {
39563         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39564         GetAccessors()->getPanGestureEventAccessor()->setVelocityX(self, (const Ark_Number*) (&velocityX));
39565 }
KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocityX,Ark_NativePointer,KInteropNumber)39566 KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocityX, Ark_NativePointer, KInteropNumber)
39567 Ark_Number impl_PanGestureEvent_getVelocityY(Ark_NativePointer thisPtr) {
39568         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39569         return GetAccessors()->getPanGestureEventAccessor()->getVelocityY(self);
39570 }
KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocityY,KInteropNumber,Ark_NativePointer)39571 KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocityY, KInteropNumber, Ark_NativePointer)
39572 void impl_PanGestureEvent_setVelocityY(Ark_NativePointer thisPtr, KInteropNumber velocityY) {
39573         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39574         GetAccessors()->getPanGestureEventAccessor()->setVelocityY(self, (const Ark_Number*) (&velocityY));
39575 }
KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocityY,Ark_NativePointer,KInteropNumber)39576 KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocityY, Ark_NativePointer, KInteropNumber)
39577 Ark_Number impl_PanGestureEvent_getVelocity(Ark_NativePointer thisPtr) {
39578         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39579         return GetAccessors()->getPanGestureEventAccessor()->getVelocity(self);
39580 }
KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocity,KInteropNumber,Ark_NativePointer)39581 KOALA_INTEROP_DIRECT_1(PanGestureEvent_getVelocity, KInteropNumber, Ark_NativePointer)
39582 void impl_PanGestureEvent_setVelocity(Ark_NativePointer thisPtr, KInteropNumber velocity) {
39583         Ark_PanGestureEvent self = reinterpret_cast<Ark_PanGestureEvent>(thisPtr);
39584         GetAccessors()->getPanGestureEventAccessor()->setVelocity(self, (const Ark_Number*) (&velocity));
39585 }
KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocity,Ark_NativePointer,KInteropNumber)39586 KOALA_INTEROP_DIRECT_V2(PanGestureEvent_setVelocity, Ark_NativePointer, KInteropNumber)
39587 Ark_NativePointer impl_PinchGestureEvent_ctor() {
39588         return GetAccessors()->getPinchGestureEventAccessor()->ctor();
39589 }
KOALA_INTEROP_DIRECT_0(PinchGestureEvent_ctor,Ark_NativePointer)39590 KOALA_INTEROP_DIRECT_0(PinchGestureEvent_ctor, Ark_NativePointer)
39591 Ark_NativePointer impl_PinchGestureEvent_getFinalizer() {
39592         return GetAccessors()->getPinchGestureEventAccessor()->getFinalizer();
39593 }
KOALA_INTEROP_DIRECT_0(PinchGestureEvent_getFinalizer,Ark_NativePointer)39594 KOALA_INTEROP_DIRECT_0(PinchGestureEvent_getFinalizer, Ark_NativePointer)
39595 Ark_Number impl_PinchGestureEvent_getScale(Ark_NativePointer thisPtr) {
39596         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39597         return GetAccessors()->getPinchGestureEventAccessor()->getScale(self);
39598 }
KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getScale,KInteropNumber,Ark_NativePointer)39599 KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getScale, KInteropNumber, Ark_NativePointer)
39600 void impl_PinchGestureEvent_setScale(Ark_NativePointer thisPtr, KInteropNumber scale) {
39601         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39602         GetAccessors()->getPinchGestureEventAccessor()->setScale(self, (const Ark_Number*) (&scale));
39603 }
KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setScale,Ark_NativePointer,KInteropNumber)39604 KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setScale, Ark_NativePointer, KInteropNumber)
39605 Ark_Number impl_PinchGestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) {
39606         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39607         return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterX(self);
39608 }
KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getPinchCenterX,KInteropNumber,Ark_NativePointer)39609 KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getPinchCenterX, KInteropNumber, Ark_NativePointer)
39610 void impl_PinchGestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KInteropNumber pinchCenterX) {
39611         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39612         GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterX(self, (const Ark_Number*) (&pinchCenterX));
39613 }
KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setPinchCenterX,Ark_NativePointer,KInteropNumber)39614 KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setPinchCenterX, Ark_NativePointer, KInteropNumber)
39615 Ark_Number impl_PinchGestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) {
39616         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39617         return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterY(self);
39618 }
KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getPinchCenterY,KInteropNumber,Ark_NativePointer)39619 KOALA_INTEROP_DIRECT_1(PinchGestureEvent_getPinchCenterY, KInteropNumber, Ark_NativePointer)
39620 void impl_PinchGestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KInteropNumber pinchCenterY) {
39621         Ark_PinchGestureEvent self = reinterpret_cast<Ark_PinchGestureEvent>(thisPtr);
39622         GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterY(self, (const Ark_Number*) (&pinchCenterY));
39623 }
KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setPinchCenterY,Ark_NativePointer,KInteropNumber)39624 KOALA_INTEROP_DIRECT_V2(PinchGestureEvent_setPinchCenterY, Ark_NativePointer, KInteropNumber)
39625 Ark_NativePointer impl_RotationGestureEvent_ctor() {
39626         return GetAccessors()->getRotationGestureEventAccessor()->ctor();
39627 }
KOALA_INTEROP_DIRECT_0(RotationGestureEvent_ctor,Ark_NativePointer)39628 KOALA_INTEROP_DIRECT_0(RotationGestureEvent_ctor, Ark_NativePointer)
39629 Ark_NativePointer impl_RotationGestureEvent_getFinalizer() {
39630         return GetAccessors()->getRotationGestureEventAccessor()->getFinalizer();
39631 }
KOALA_INTEROP_DIRECT_0(RotationGestureEvent_getFinalizer,Ark_NativePointer)39632 KOALA_INTEROP_DIRECT_0(RotationGestureEvent_getFinalizer, Ark_NativePointer)
39633 Ark_Number impl_RotationGestureEvent_getAngle(Ark_NativePointer thisPtr) {
39634         Ark_RotationGestureEvent self = reinterpret_cast<Ark_RotationGestureEvent>(thisPtr);
39635         return GetAccessors()->getRotationGestureEventAccessor()->getAngle(self);
39636 }
KOALA_INTEROP_DIRECT_1(RotationGestureEvent_getAngle,KInteropNumber,Ark_NativePointer)39637 KOALA_INTEROP_DIRECT_1(RotationGestureEvent_getAngle, KInteropNumber, Ark_NativePointer)
39638 void impl_RotationGestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) {
39639         Ark_RotationGestureEvent self = reinterpret_cast<Ark_RotationGestureEvent>(thisPtr);
39640         GetAccessors()->getRotationGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle));
39641 }
KOALA_INTEROP_DIRECT_V2(RotationGestureEvent_setAngle,Ark_NativePointer,KInteropNumber)39642 KOALA_INTEROP_DIRECT_V2(RotationGestureEvent_setAngle, Ark_NativePointer, KInteropNumber)
39643 Ark_NativePointer impl_SwipeGestureEvent_ctor() {
39644         return GetAccessors()->getSwipeGestureEventAccessor()->ctor();
39645 }
KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_ctor,Ark_NativePointer)39646 KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_ctor, Ark_NativePointer)
39647 Ark_NativePointer impl_SwipeGestureEvent_getFinalizer() {
39648         return GetAccessors()->getSwipeGestureEventAccessor()->getFinalizer();
39649 }
KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_getFinalizer,Ark_NativePointer)39650 KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_getFinalizer, Ark_NativePointer)
39651 Ark_Number impl_SwipeGestureEvent_getAngle(Ark_NativePointer thisPtr) {
39652         Ark_SwipeGestureEvent self = reinterpret_cast<Ark_SwipeGestureEvent>(thisPtr);
39653         return GetAccessors()->getSwipeGestureEventAccessor()->getAngle(self);
39654 }
KOALA_INTEROP_DIRECT_1(SwipeGestureEvent_getAngle,KInteropNumber,Ark_NativePointer)39655 KOALA_INTEROP_DIRECT_1(SwipeGestureEvent_getAngle, KInteropNumber, Ark_NativePointer)
39656 void impl_SwipeGestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) {
39657         Ark_SwipeGestureEvent self = reinterpret_cast<Ark_SwipeGestureEvent>(thisPtr);
39658         GetAccessors()->getSwipeGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle));
39659 }
KOALA_INTEROP_DIRECT_V2(SwipeGestureEvent_setAngle,Ark_NativePointer,KInteropNumber)39660 KOALA_INTEROP_DIRECT_V2(SwipeGestureEvent_setAngle, Ark_NativePointer, KInteropNumber)
39661 Ark_Number impl_SwipeGestureEvent_getSpeed(Ark_NativePointer thisPtr) {
39662         Ark_SwipeGestureEvent self = reinterpret_cast<Ark_SwipeGestureEvent>(thisPtr);
39663         return GetAccessors()->getSwipeGestureEventAccessor()->getSpeed(self);
39664 }
KOALA_INTEROP_DIRECT_1(SwipeGestureEvent_getSpeed,KInteropNumber,Ark_NativePointer)39665 KOALA_INTEROP_DIRECT_1(SwipeGestureEvent_getSpeed, KInteropNumber, Ark_NativePointer)
39666 void impl_SwipeGestureEvent_setSpeed(Ark_NativePointer thisPtr, KInteropNumber speed) {
39667         Ark_SwipeGestureEvent self = reinterpret_cast<Ark_SwipeGestureEvent>(thisPtr);
39668         GetAccessors()->getSwipeGestureEventAccessor()->setSpeed(self, (const Ark_Number*) (&speed));
39669 }
KOALA_INTEROP_DIRECT_V2(SwipeGestureEvent_setSpeed,Ark_NativePointer,KInteropNumber)39670 KOALA_INTEROP_DIRECT_V2(SwipeGestureEvent_setSpeed, Ark_NativePointer, KInteropNumber)
39671 Ark_NativePointer impl_GestureEvent_ctor() {
39672         return GetAccessors()->getGestureEventAccessor()->ctor();
39673 }
KOALA_INTEROP_DIRECT_0(GestureEvent_ctor,Ark_NativePointer)39674 KOALA_INTEROP_DIRECT_0(GestureEvent_ctor, Ark_NativePointer)
39675 Ark_NativePointer impl_GestureEvent_getFinalizer() {
39676         return GetAccessors()->getGestureEventAccessor()->getFinalizer();
39677 }
KOALA_INTEROP_DIRECT_0(GestureEvent_getFinalizer,Ark_NativePointer)39678 KOALA_INTEROP_DIRECT_0(GestureEvent_getFinalizer, Ark_NativePointer)
39679 Ark_Boolean impl_GestureEvent_getRepeat(Ark_NativePointer thisPtr) {
39680         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39681         return GetAccessors()->getGestureEventAccessor()->getRepeat(self);
39682 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getRepeat,Ark_Boolean,Ark_NativePointer)39683 KOALA_INTEROP_DIRECT_1(GestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer)
39684 void impl_GestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) {
39685         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39686         GetAccessors()->getGestureEventAccessor()->setRepeat(self, repeat);
39687 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setRepeat,Ark_NativePointer,Ark_Boolean)39688 KOALA_INTEROP_DIRECT_V2(GestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean)
39689 KInteropReturnBuffer impl_GestureEvent_getFingerList(Ark_NativePointer thisPtr) {
39690         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39691         const auto &retValue = GetAccessors()->getGestureEventAccessor()->getFingerList(self);
39692         Serializer _retSerializer {};
39693         _retSerializer.writeInt32(retValue.length);
39694         for (int i = 0; i < retValue.length; i++) {
39695             const Ark_FingerInfo retValue_element = retValue.array[i];
39696             _retSerializer.writeFingerInfo(retValue_element);
39697         }
39698         return _retSerializer.toReturnBuffer();
39699 }
KOALA_INTEROP_1(GestureEvent_getFingerList,KInteropReturnBuffer,Ark_NativePointer)39700 KOALA_INTEROP_1(GestureEvent_getFingerList, KInteropReturnBuffer, Ark_NativePointer)
39701 void impl_GestureEvent_setFingerList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39702         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39703         Deserializer thisDeserializer(thisArray, thisLength);
39704         const Ark_Int32 fingerList_value_buf_length = thisDeserializer.readInt32();
39705         Array_FingerInfo fingerList_value_buf = {};
39706         thisDeserializer.resizeArray<std::decay<decltype(fingerList_value_buf)>::type,
39707         std::decay<decltype(*fingerList_value_buf.array)>::type>(&fingerList_value_buf, fingerList_value_buf_length);
39708         for (int fingerList_value_buf_i = 0; fingerList_value_buf_i < fingerList_value_buf_length; fingerList_value_buf_i++) {
39709             fingerList_value_buf.array[fingerList_value_buf_i] = thisDeserializer.readFingerInfo();
39710         }
39711         Array_FingerInfo fingerList_value = fingerList_value_buf;;
39712         GetAccessors()->getGestureEventAccessor()->setFingerList(self, (const Array_FingerInfo*)&fingerList_value);
39713 }
KOALA_INTEROP_DIRECT_V3(GestureEvent_setFingerList,Ark_NativePointer,KSerializerBuffer,int32_t)39714 KOALA_INTEROP_DIRECT_V3(GestureEvent_setFingerList, Ark_NativePointer, KSerializerBuffer, int32_t)
39715 Ark_Number impl_GestureEvent_getOffsetX(Ark_NativePointer thisPtr) {
39716         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39717         return GetAccessors()->getGestureEventAccessor()->getOffsetX(self);
39718 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getOffsetX,KInteropNumber,Ark_NativePointer)39719 KOALA_INTEROP_DIRECT_1(GestureEvent_getOffsetX, KInteropNumber, Ark_NativePointer)
39720 void impl_GestureEvent_setOffsetX(Ark_NativePointer thisPtr, KInteropNumber offsetX) {
39721         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39722         GetAccessors()->getGestureEventAccessor()->setOffsetX(self, (const Ark_Number*) (&offsetX));
39723 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setOffsetX,Ark_NativePointer,KInteropNumber)39724 KOALA_INTEROP_DIRECT_V2(GestureEvent_setOffsetX, Ark_NativePointer, KInteropNumber)
39725 Ark_Number impl_GestureEvent_getOffsetY(Ark_NativePointer thisPtr) {
39726         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39727         return GetAccessors()->getGestureEventAccessor()->getOffsetY(self);
39728 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getOffsetY,KInteropNumber,Ark_NativePointer)39729 KOALA_INTEROP_DIRECT_1(GestureEvent_getOffsetY, KInteropNumber, Ark_NativePointer)
39730 void impl_GestureEvent_setOffsetY(Ark_NativePointer thisPtr, KInteropNumber offsetY) {
39731         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39732         GetAccessors()->getGestureEventAccessor()->setOffsetY(self, (const Ark_Number*) (&offsetY));
39733 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setOffsetY,Ark_NativePointer,KInteropNumber)39734 KOALA_INTEROP_DIRECT_V2(GestureEvent_setOffsetY, Ark_NativePointer, KInteropNumber)
39735 Ark_Number impl_GestureEvent_getAngle(Ark_NativePointer thisPtr) {
39736         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39737         return GetAccessors()->getGestureEventAccessor()->getAngle(self);
39738 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getAngle,KInteropNumber,Ark_NativePointer)39739 KOALA_INTEROP_DIRECT_1(GestureEvent_getAngle, KInteropNumber, Ark_NativePointer)
39740 void impl_GestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) {
39741         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39742         GetAccessors()->getGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle));
39743 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setAngle,Ark_NativePointer,KInteropNumber)39744 KOALA_INTEROP_DIRECT_V2(GestureEvent_setAngle, Ark_NativePointer, KInteropNumber)
39745 Ark_Number impl_GestureEvent_getSpeed(Ark_NativePointer thisPtr) {
39746         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39747         return GetAccessors()->getGestureEventAccessor()->getSpeed(self);
39748 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getSpeed,KInteropNumber,Ark_NativePointer)39749 KOALA_INTEROP_DIRECT_1(GestureEvent_getSpeed, KInteropNumber, Ark_NativePointer)
39750 void impl_GestureEvent_setSpeed(Ark_NativePointer thisPtr, KInteropNumber speed) {
39751         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39752         GetAccessors()->getGestureEventAccessor()->setSpeed(self, (const Ark_Number*) (&speed));
39753 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setSpeed,Ark_NativePointer,KInteropNumber)39754 KOALA_INTEROP_DIRECT_V2(GestureEvent_setSpeed, Ark_NativePointer, KInteropNumber)
39755 Ark_Number impl_GestureEvent_getScale(Ark_NativePointer thisPtr) {
39756         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39757         return GetAccessors()->getGestureEventAccessor()->getScale(self);
39758 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getScale,KInteropNumber,Ark_NativePointer)39759 KOALA_INTEROP_DIRECT_1(GestureEvent_getScale, KInteropNumber, Ark_NativePointer)
39760 void impl_GestureEvent_setScale(Ark_NativePointer thisPtr, KInteropNumber scale) {
39761         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39762         GetAccessors()->getGestureEventAccessor()->setScale(self, (const Ark_Number*) (&scale));
39763 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setScale,Ark_NativePointer,KInteropNumber)39764 KOALA_INTEROP_DIRECT_V2(GestureEvent_setScale, Ark_NativePointer, KInteropNumber)
39765 Ark_Number impl_GestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) {
39766         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39767         return GetAccessors()->getGestureEventAccessor()->getPinchCenterX(self);
39768 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getPinchCenterX,KInteropNumber,Ark_NativePointer)39769 KOALA_INTEROP_DIRECT_1(GestureEvent_getPinchCenterX, KInteropNumber, Ark_NativePointer)
39770 void impl_GestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KInteropNumber pinchCenterX) {
39771         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39772         GetAccessors()->getGestureEventAccessor()->setPinchCenterX(self, (const Ark_Number*) (&pinchCenterX));
39773 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setPinchCenterX,Ark_NativePointer,KInteropNumber)39774 KOALA_INTEROP_DIRECT_V2(GestureEvent_setPinchCenterX, Ark_NativePointer, KInteropNumber)
39775 Ark_Number impl_GestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) {
39776         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39777         return GetAccessors()->getGestureEventAccessor()->getPinchCenterY(self);
39778 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getPinchCenterY,KInteropNumber,Ark_NativePointer)39779 KOALA_INTEROP_DIRECT_1(GestureEvent_getPinchCenterY, KInteropNumber, Ark_NativePointer)
39780 void impl_GestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KInteropNumber pinchCenterY) {
39781         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39782         GetAccessors()->getGestureEventAccessor()->setPinchCenterY(self, (const Ark_Number*) (&pinchCenterY));
39783 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setPinchCenterY,Ark_NativePointer,KInteropNumber)39784 KOALA_INTEROP_DIRECT_V2(GestureEvent_setPinchCenterY, Ark_NativePointer, KInteropNumber)
39785 Ark_Number impl_GestureEvent_getVelocityX(Ark_NativePointer thisPtr) {
39786         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39787         return GetAccessors()->getGestureEventAccessor()->getVelocityX(self);
39788 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocityX,KInteropNumber,Ark_NativePointer)39789 KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocityX, KInteropNumber, Ark_NativePointer)
39790 void impl_GestureEvent_setVelocityX(Ark_NativePointer thisPtr, KInteropNumber velocityX) {
39791         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39792         GetAccessors()->getGestureEventAccessor()->setVelocityX(self, (const Ark_Number*) (&velocityX));
39793 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocityX,Ark_NativePointer,KInteropNumber)39794 KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocityX, Ark_NativePointer, KInteropNumber)
39795 Ark_Number impl_GestureEvent_getVelocityY(Ark_NativePointer thisPtr) {
39796         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39797         return GetAccessors()->getGestureEventAccessor()->getVelocityY(self);
39798 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocityY,KInteropNumber,Ark_NativePointer)39799 KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocityY, KInteropNumber, Ark_NativePointer)
39800 void impl_GestureEvent_setVelocityY(Ark_NativePointer thisPtr, KInteropNumber velocityY) {
39801         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39802         GetAccessors()->getGestureEventAccessor()->setVelocityY(self, (const Ark_Number*) (&velocityY));
39803 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocityY,Ark_NativePointer,KInteropNumber)39804 KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocityY, Ark_NativePointer, KInteropNumber)
39805 Ark_Number impl_GestureEvent_getVelocity(Ark_NativePointer thisPtr) {
39806         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39807         return GetAccessors()->getGestureEventAccessor()->getVelocity(self);
39808 }
KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocity,KInteropNumber,Ark_NativePointer)39809 KOALA_INTEROP_DIRECT_1(GestureEvent_getVelocity, KInteropNumber, Ark_NativePointer)
39810 void impl_GestureEvent_setVelocity(Ark_NativePointer thisPtr, KInteropNumber velocity) {
39811         Ark_GestureEvent self = reinterpret_cast<Ark_GestureEvent>(thisPtr);
39812         GetAccessors()->getGestureEventAccessor()->setVelocity(self, (const Ark_Number*) (&velocity));
39813 }
KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocity,Ark_NativePointer,KInteropNumber)39814 KOALA_INTEROP_DIRECT_V2(GestureEvent_setVelocity, Ark_NativePointer, KInteropNumber)
39815 Ark_NativePointer impl_TapGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39816         Deserializer thisDeserializer(thisArray, thisLength);
39817         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39818         Opt_TapGestureParameters value_value_buf = {};
39819         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39820         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
39821         {
39822             value_value_buf.value = thisDeserializer.readTapGestureParameters();
39823         }
39824         Opt_TapGestureParameters value_value = value_value_buf;;
39825         return GetAccessors()->getTapGestureInterfaceAccessor()->ctor((const Opt_TapGestureParameters*)&value_value);
39826 }
KOALA_INTEROP_DIRECT_2(TapGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39827 KOALA_INTEROP_DIRECT_2(TapGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39828 Ark_NativePointer impl_TapGestureInterface_getFinalizer() {
39829         return GetAccessors()->getTapGestureInterfaceAccessor()->getFinalizer();
39830 }
KOALA_INTEROP_DIRECT_0(TapGestureInterface_getFinalizer,Ark_NativePointer)39831 KOALA_INTEROP_DIRECT_0(TapGestureInterface_getFinalizer, Ark_NativePointer)
39832 Ark_NativePointer impl_TapGestureInterface_onAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39833         Ark_TapGestureInterface self = reinterpret_cast<Ark_TapGestureInterface>(thisPtr);
39834         Deserializer thisDeserializer(thisArray, thisLength);
39835         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
39836         return GetAccessors()->getTapGestureInterfaceAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value);
39837 }
KOALA_INTEROP_DIRECT_3(TapGestureInterface_onAction,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39838 KOALA_INTEROP_DIRECT_3(TapGestureInterface_onAction, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39839 Ark_NativePointer impl_LongPressGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39840         Deserializer thisDeserializer(thisArray, thisLength);
39841         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39842         Opt_Literal_Number_duration_fingers_Boolean_repeat value_value_buf = {};
39843         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39844         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
39845         {
39846             Ark_Literal_Number_duration_fingers_Boolean_repeat value_value_buf_ = {};
39847             const auto value_value_buf__fingers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39848             Opt_Number value_value_buf__fingers_buf = {};
39849             value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39850             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType))
39851             {
39852                 value_value_buf__fingers_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
39853             }
39854             value_value_buf_.fingers = value_value_buf__fingers_buf;
39855             const auto value_value_buf__repeat_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39856             Opt_Boolean value_value_buf__repeat_buf = {};
39857             value_value_buf__repeat_buf.tag = value_value_buf__repeat_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39858             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__repeat_buf_runtimeType))
39859             {
39860                 value_value_buf__repeat_buf.value = thisDeserializer.readBoolean();
39861             }
39862             value_value_buf_.repeat = value_value_buf__repeat_buf;
39863             const auto value_value_buf__duration_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39864             Opt_Number value_value_buf__duration_buf = {};
39865             value_value_buf__duration_buf.tag = value_value_buf__duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39866             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__duration_buf_runtimeType))
39867             {
39868                 value_value_buf__duration_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
39869             }
39870             value_value_buf_.duration = value_value_buf__duration_buf;
39871             value_value_buf.value = value_value_buf_;
39872         }
39873         Opt_Literal_Number_duration_fingers_Boolean_repeat value_value = value_value_buf;;
39874         return GetAccessors()->getLongPressGestureInterfaceAccessor()->ctor((const Opt_Literal_Number_duration_fingers_Boolean_repeat*)&value_value);
39875 }
KOALA_INTEROP_DIRECT_2(LongPressGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39876 KOALA_INTEROP_DIRECT_2(LongPressGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39877 Ark_NativePointer impl_LongPressGestureInterface_getFinalizer() {
39878         return GetAccessors()->getLongPressGestureInterfaceAccessor()->getFinalizer();
39879 }
KOALA_INTEROP_DIRECT_0(LongPressGestureInterface_getFinalizer,Ark_NativePointer)39880 KOALA_INTEROP_DIRECT_0(LongPressGestureInterface_getFinalizer, Ark_NativePointer)
39881 Ark_NativePointer impl_LongPressGestureInterface_onAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39882         Ark_LongPressGestureInterface self = reinterpret_cast<Ark_LongPressGestureInterface>(thisPtr);
39883         Deserializer thisDeserializer(thisArray, thisLength);
39884         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
39885         return GetAccessors()->getLongPressGestureInterfaceAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value);
39886 }
KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onAction,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39887 KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onAction, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39888 Ark_NativePointer impl_LongPressGestureInterface_onActionEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39889         Ark_LongPressGestureInterface self = reinterpret_cast<Ark_LongPressGestureInterface>(thisPtr);
39890         Deserializer thisDeserializer(thisArray, thisLength);
39891         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
39892         return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value);
39893 }
KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionEnd,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39894 KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39895 Ark_NativePointer impl_LongPressGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39896         Ark_LongPressGestureInterface self = reinterpret_cast<Ark_LongPressGestureInterface>(thisPtr);
39897         Deserializer thisDeserializer(thisArray, thisLength);
39898         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
39899         return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value);
39900 }
KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39901 KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39902 Ark_NativePointer impl_LongPressGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
39903         Ark_LongPressGestureInterface self = reinterpret_cast<Ark_LongPressGestureInterface>(thisPtr);
39904         Deserializer thisDeserializer(thisArray, thisLength);
39905         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
39906         return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value);
39907 }
KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)39908 KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
39909 Ark_NativePointer impl_PanGestureOptions_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39910         Deserializer thisDeserializer(thisArray, thisLength);
39911         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39912         Opt_PanGestureHandlerOptions value_value_buf = {};
39913         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39914         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
39915         {
39916             Ark_PanGestureHandlerOptions value_value_buf_ = thisDeserializer.readPanGestureHandlerOptions();
39917             value_value_buf.value = value_value_buf_;
39918         }
39919         Opt_PanGestureHandlerOptions value_value = value_value_buf;;
39920         return GetAccessors()->getPanGestureOptionsAccessor()->ctor((const Opt_PanGestureHandlerOptions*)&value_value);
39921 }
KOALA_INTEROP_DIRECT_2(PanGestureOptions_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)39922 KOALA_INTEROP_DIRECT_2(PanGestureOptions_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
39923 Ark_NativePointer impl_PanGestureOptions_getFinalizer() {
39924         return GetAccessors()->getPanGestureOptionsAccessor()->getFinalizer();
39925 }
KOALA_INTEROP_DIRECT_0(PanGestureOptions_getFinalizer,Ark_NativePointer)39926 KOALA_INTEROP_DIRECT_0(PanGestureOptions_getFinalizer, Ark_NativePointer)
39927 void impl_PanGestureOptions_setDirection(Ark_NativePointer thisPtr, Ark_Int32 value) {
39928         Ark_PanGestureOptions self = reinterpret_cast<Ark_PanGestureOptions>(thisPtr);
39929         GetAccessors()->getPanGestureOptionsAccessor()->setDirection(self, static_cast<Ark_PanDirection>(value));
39930 }
KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setDirection,Ark_NativePointer,Ark_Int32)39931 KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setDirection, Ark_NativePointer, Ark_Int32)
39932 void impl_PanGestureOptions_setDistance(Ark_NativePointer thisPtr, KInteropNumber value) {
39933         Ark_PanGestureOptions self = reinterpret_cast<Ark_PanGestureOptions>(thisPtr);
39934         GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, (const Ark_Number*) (&value));
39935 }
KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setDistance,Ark_NativePointer,KInteropNumber)39936 KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setDistance, Ark_NativePointer, KInteropNumber)
39937 void impl_PanGestureOptions_setFingers(Ark_NativePointer thisPtr, KInteropNumber value) {
39938         Ark_PanGestureOptions self = reinterpret_cast<Ark_PanGestureOptions>(thisPtr);
39939         GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, (const Ark_Number*) (&value));
39940 }
KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setFingers,Ark_NativePointer,KInteropNumber)39941 KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setFingers, Ark_NativePointer, KInteropNumber)
39942 Ark_Int32 impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) {
39943         Ark_PanGestureOptions self = reinterpret_cast<Ark_PanGestureOptions>(thisPtr);
39944         return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self);
39945 }
KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDirection,Ark_Int32,Ark_NativePointer)39946 KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDirection, Ark_Int32, Ark_NativePointer)
39947 Ark_Number impl_PanGestureOptions_getDistance(Ark_NativePointer thisPtr) {
39948         Ark_PanGestureOptions self = reinterpret_cast<Ark_PanGestureOptions>(thisPtr);
39949         return GetAccessors()->getPanGestureOptionsAccessor()->getDistance(self);
39950 }
KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDistance,KInteropNumber,Ark_NativePointer)39951 KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDistance, KInteropNumber, Ark_NativePointer)
39952 Ark_NativePointer impl_PanGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
39953         Deserializer thisDeserializer(thisArray, thisLength);
39954         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39955         Opt_Type_PanGestureInterface_callable0_value value_value_buf = {};
39956         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39957         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
39958         {
39959             const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8();
39960             Ark_Type_PanGestureInterface_callable0_value value_value_buf_ = {};
39961             value_value_buf_.selector = value_value_buf__selector;
39962             if (value_value_buf__selector == 0) {
39963                 value_value_buf_.selector = 0;
39964                 Ark_Literal_Number_distance_fingers_PanDirection_direction value_value_buf__u = {};
39965                 const auto value_value_buf__u_fingers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39966                 Opt_Number value_value_buf__u_fingers_buf = {};
39967                 value_value_buf__u_fingers_buf.tag = value_value_buf__u_fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39968                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_fingers_buf_runtimeType))
39969                 {
39970                     value_value_buf__u_fingers_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
39971                 }
39972                 value_value_buf__u.fingers = value_value_buf__u_fingers_buf;
39973                 const auto value_value_buf__u_direction_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39974                 Opt_PanDirection value_value_buf__u_direction_buf = {};
39975                 value_value_buf__u_direction_buf.tag = value_value_buf__u_direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39976                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_direction_buf_runtimeType))
39977                 {
39978                     value_value_buf__u_direction_buf.value = static_cast<Ark_PanDirection>(thisDeserializer.readInt32());
39979                 }
39980                 value_value_buf__u.direction = value_value_buf__u_direction_buf;
39981                 const auto value_value_buf__u_distance_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
39982                 Opt_Number value_value_buf__u_distance_buf = {};
39983                 value_value_buf__u_distance_buf.tag = value_value_buf__u_distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
39984                 if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__u_distance_buf_runtimeType))
39985                 {
39986                     value_value_buf__u_distance_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
39987                 }
39988                 value_value_buf__u.distance = value_value_buf__u_distance_buf;
39989                 value_value_buf_.value0 = value_value_buf__u;
39990             }
39991             else if (value_value_buf__selector == 1) {
39992                 value_value_buf_.selector = 1;
39993                 value_value_buf_.value1 = static_cast<Ark_PanGestureOptions>(thisDeserializer.readPanGestureOptions());
39994             }
39995             else {
39996                 INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation.");
39997             }
39998             value_value_buf.value = static_cast<Ark_Type_PanGestureInterface_callable0_value>(value_value_buf_);
39999         }
40000         Opt_Type_PanGestureInterface_callable0_value value_value = value_value_buf;;
40001         return GetAccessors()->getPanGestureInterfaceAccessor()->ctor((const Opt_Type_PanGestureInterface_callable0_value*)&value_value);
40002 }
KOALA_INTEROP_DIRECT_2(PanGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)40003 KOALA_INTEROP_DIRECT_2(PanGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
40004 Ark_NativePointer impl_PanGestureInterface_getFinalizer() {
40005         return GetAccessors()->getPanGestureInterfaceAccessor()->getFinalizer();
40006 }
KOALA_INTEROP_DIRECT_0(PanGestureInterface_getFinalizer,Ark_NativePointer)40007 KOALA_INTEROP_DIRECT_0(PanGestureInterface_getFinalizer, Ark_NativePointer)
40008 Ark_NativePointer impl_PanGestureInterface_onActionStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40009         Ark_PanGestureInterface self = reinterpret_cast<Ark_PanGestureInterface>(thisPtr);
40010         Deserializer thisDeserializer(thisArray, thisLength);
40011         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40012         return GetAccessors()->getPanGestureInterfaceAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value);
40013 }
KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionStart,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40014 KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionStart, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40015 Ark_NativePointer impl_PanGestureInterface_onActionUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40016         Ark_PanGestureInterface self = reinterpret_cast<Ark_PanGestureInterface>(thisPtr);
40017         Deserializer thisDeserializer(thisArray, thisLength);
40018         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40019         return GetAccessors()->getPanGestureInterfaceAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value);
40020 }
KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionUpdate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40021 KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionUpdate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40022 Ark_NativePointer impl_PanGestureInterface_onActionEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40023         Ark_PanGestureInterface self = reinterpret_cast<Ark_PanGestureInterface>(thisPtr);
40024         Deserializer thisDeserializer(thisArray, thisLength);
40025         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40026         return GetAccessors()->getPanGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value);
40027 }
KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionEnd,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40028 KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40029 Ark_NativePointer impl_PanGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40030         Ark_PanGestureInterface self = reinterpret_cast<Ark_PanGestureInterface>(thisPtr);
40031         Deserializer thisDeserializer(thisArray, thisLength);
40032         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
40033         return GetAccessors()->getPanGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value);
40034 }
KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40035 KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40036 Ark_NativePointer impl_PanGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40037         Ark_PanGestureInterface self = reinterpret_cast<Ark_PanGestureInterface>(thisPtr);
40038         Deserializer thisDeserializer(thisArray, thisLength);
40039         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40040         return GetAccessors()->getPanGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value);
40041 }
KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40042 KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40043 Ark_NativePointer impl_SwipeGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
40044         Deserializer thisDeserializer(thisArray, thisLength);
40045         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40046         Opt_Literal_Number_fingers_speed_SwipeDirection_direction value_value_buf = {};
40047         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40048         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
40049         {
40050             Ark_Literal_Number_fingers_speed_SwipeDirection_direction value_value_buf_ = {};
40051             const auto value_value_buf__fingers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40052             Opt_Number value_value_buf__fingers_buf = {};
40053             value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40054             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType))
40055             {
40056                 value_value_buf__fingers_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40057             }
40058             value_value_buf_.fingers = value_value_buf__fingers_buf;
40059             const auto value_value_buf__direction_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40060             Opt_SwipeDirection value_value_buf__direction_buf = {};
40061             value_value_buf__direction_buf.tag = value_value_buf__direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40062             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__direction_buf_runtimeType))
40063             {
40064                 value_value_buf__direction_buf.value = static_cast<Ark_SwipeDirection>(thisDeserializer.readInt32());
40065             }
40066             value_value_buf_.direction = value_value_buf__direction_buf;
40067             const auto value_value_buf__speed_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40068             Opt_Number value_value_buf__speed_buf = {};
40069             value_value_buf__speed_buf.tag = value_value_buf__speed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40070             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__speed_buf_runtimeType))
40071             {
40072                 value_value_buf__speed_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40073             }
40074             value_value_buf_.speed = value_value_buf__speed_buf;
40075             value_value_buf.value = value_value_buf_;
40076         }
40077         Opt_Literal_Number_fingers_speed_SwipeDirection_direction value_value = value_value_buf;;
40078         return GetAccessors()->getSwipeGestureInterfaceAccessor()->ctor((const Opt_Literal_Number_fingers_speed_SwipeDirection_direction*)&value_value);
40079 }
KOALA_INTEROP_DIRECT_2(SwipeGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)40080 KOALA_INTEROP_DIRECT_2(SwipeGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
40081 Ark_NativePointer impl_SwipeGestureInterface_getFinalizer() {
40082         return GetAccessors()->getSwipeGestureInterfaceAccessor()->getFinalizer();
40083 }
KOALA_INTEROP_DIRECT_0(SwipeGestureInterface_getFinalizer,Ark_NativePointer)40084 KOALA_INTEROP_DIRECT_0(SwipeGestureInterface_getFinalizer, Ark_NativePointer)
40085 Ark_NativePointer impl_SwipeGestureInterface_onAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40086         Ark_SwipeGestureInterface self = reinterpret_cast<Ark_SwipeGestureInterface>(thisPtr);
40087         Deserializer thisDeserializer(thisArray, thisLength);
40088         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40089         return GetAccessors()->getSwipeGestureInterfaceAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value);
40090 }
KOALA_INTEROP_DIRECT_3(SwipeGestureInterface_onAction,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40091 KOALA_INTEROP_DIRECT_3(SwipeGestureInterface_onAction, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40092 Ark_NativePointer impl_PinchGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
40093         Deserializer thisDeserializer(thisArray, thisLength);
40094         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40095         Opt_Literal_Number_distance_fingers value_value_buf = {};
40096         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40097         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
40098         {
40099             Ark_Literal_Number_distance_fingers value_value_buf_ = {};
40100             const auto value_value_buf__fingers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40101             Opt_Number value_value_buf__fingers_buf = {};
40102             value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40103             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType))
40104             {
40105                 value_value_buf__fingers_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40106             }
40107             value_value_buf_.fingers = value_value_buf__fingers_buf;
40108             const auto value_value_buf__distance_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40109             Opt_Number value_value_buf__distance_buf = {};
40110             value_value_buf__distance_buf.tag = value_value_buf__distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40111             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__distance_buf_runtimeType))
40112             {
40113                 value_value_buf__distance_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40114             }
40115             value_value_buf_.distance = value_value_buf__distance_buf;
40116             value_value_buf.value = value_value_buf_;
40117         }
40118         Opt_Literal_Number_distance_fingers value_value = value_value_buf;;
40119         return GetAccessors()->getPinchGestureInterfaceAccessor()->ctor((const Opt_Literal_Number_distance_fingers*)&value_value);
40120 }
KOALA_INTEROP_DIRECT_2(PinchGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)40121 KOALA_INTEROP_DIRECT_2(PinchGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
40122 Ark_NativePointer impl_PinchGestureInterface_getFinalizer() {
40123         return GetAccessors()->getPinchGestureInterfaceAccessor()->getFinalizer();
40124 }
KOALA_INTEROP_DIRECT_0(PinchGestureInterface_getFinalizer,Ark_NativePointer)40125 KOALA_INTEROP_DIRECT_0(PinchGestureInterface_getFinalizer, Ark_NativePointer)
40126 Ark_NativePointer impl_PinchGestureInterface_onActionStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40127         Ark_PinchGestureInterface self = reinterpret_cast<Ark_PinchGestureInterface>(thisPtr);
40128         Deserializer thisDeserializer(thisArray, thisLength);
40129         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40130         return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value);
40131 }
KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionStart,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40132 KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionStart, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40133 Ark_NativePointer impl_PinchGestureInterface_onActionUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40134         Ark_PinchGestureInterface self = reinterpret_cast<Ark_PinchGestureInterface>(thisPtr);
40135         Deserializer thisDeserializer(thisArray, thisLength);
40136         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40137         return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value);
40138 }
KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionUpdate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40139 KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionUpdate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40140 Ark_NativePointer impl_PinchGestureInterface_onActionEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40141         Ark_PinchGestureInterface self = reinterpret_cast<Ark_PinchGestureInterface>(thisPtr);
40142         Deserializer thisDeserializer(thisArray, thisLength);
40143         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40144         return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value);
40145 }
KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionEnd,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40146 KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40147 Ark_NativePointer impl_PinchGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40148         Ark_PinchGestureInterface self = reinterpret_cast<Ark_PinchGestureInterface>(thisPtr);
40149         Deserializer thisDeserializer(thisArray, thisLength);
40150         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
40151         return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value);
40152 }
KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40153 KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40154 Ark_NativePointer impl_PinchGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40155         Ark_PinchGestureInterface self = reinterpret_cast<Ark_PinchGestureInterface>(thisPtr);
40156         Deserializer thisDeserializer(thisArray, thisLength);
40157         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40158         return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value);
40159 }
KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40160 KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40161 Ark_NativePointer impl_RotationGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
40162         Deserializer thisDeserializer(thisArray, thisLength);
40163         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40164         Opt_Literal_Number_angle_fingers value_value_buf = {};
40165         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40166         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
40167         {
40168             Ark_Literal_Number_angle_fingers value_value_buf_ = {};
40169             const auto value_value_buf__fingers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40170             Opt_Number value_value_buf__fingers_buf = {};
40171             value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40172             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType))
40173             {
40174                 value_value_buf__fingers_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40175             }
40176             value_value_buf_.fingers = value_value_buf__fingers_buf;
40177             const auto value_value_buf__angle_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40178             Opt_Number value_value_buf__angle_buf = {};
40179             value_value_buf__angle_buf.tag = value_value_buf__angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40180             if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__angle_buf_runtimeType))
40181             {
40182                 value_value_buf__angle_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40183             }
40184             value_value_buf_.angle = value_value_buf__angle_buf;
40185             value_value_buf.value = value_value_buf_;
40186         }
40187         Opt_Literal_Number_angle_fingers value_value = value_value_buf;;
40188         return GetAccessors()->getRotationGestureInterfaceAccessor()->ctor((const Opt_Literal_Number_angle_fingers*)&value_value);
40189 }
KOALA_INTEROP_DIRECT_2(RotationGestureInterface_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)40190 KOALA_INTEROP_DIRECT_2(RotationGestureInterface_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
40191 Ark_NativePointer impl_RotationGestureInterface_getFinalizer() {
40192         return GetAccessors()->getRotationGestureInterfaceAccessor()->getFinalizer();
40193 }
KOALA_INTEROP_DIRECT_0(RotationGestureInterface_getFinalizer,Ark_NativePointer)40194 KOALA_INTEROP_DIRECT_0(RotationGestureInterface_getFinalizer, Ark_NativePointer)
40195 Ark_NativePointer impl_RotationGestureInterface_onActionStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40196         Ark_RotationGestureInterface self = reinterpret_cast<Ark_RotationGestureInterface>(thisPtr);
40197         Deserializer thisDeserializer(thisArray, thisLength);
40198         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40199         return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value);
40200 }
KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionStart,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40201 KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionStart, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40202 Ark_NativePointer impl_RotationGestureInterface_onActionUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40203         Ark_RotationGestureInterface self = reinterpret_cast<Ark_RotationGestureInterface>(thisPtr);
40204         Deserializer thisDeserializer(thisArray, thisLength);
40205         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40206         return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value);
40207 }
KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionUpdate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40208 KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionUpdate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40209 Ark_NativePointer impl_RotationGestureInterface_onActionEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40210         Ark_RotationGestureInterface self = reinterpret_cast<Ark_RotationGestureInterface>(thisPtr);
40211         Deserializer thisDeserializer(thisArray, thisLength);
40212         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40213         return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value);
40214 }
KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionEnd,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40215 KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40216 Ark_NativePointer impl_RotationGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40217         Ark_RotationGestureInterface self = reinterpret_cast<Ark_RotationGestureInterface>(thisPtr);
40218         Deserializer thisDeserializer(thisArray, thisLength);
40219         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
40220         return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value);
40221 }
KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40222 KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40223 Ark_NativePointer impl_RotationGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40224         Ark_RotationGestureInterface self = reinterpret_cast<Ark_RotationGestureInterface>(thisPtr);
40225         Deserializer thisDeserializer(thisArray, thisLength);
40226         Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GestureEvent event)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};;
40227         return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value);
40228 }
KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel1,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40229 KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40230 Ark_NativePointer impl_GestureGroupInterface_ctor(Ark_Int32 mode, KSerializerBuffer thisArray, int32_t thisLength) {
40231         Deserializer thisDeserializer(thisArray, thisLength);
40232         const Ark_Int32 gesture_value_buf_length = thisDeserializer.readInt32();
40233         Array_GestureType gesture_value_buf = {};
40234         thisDeserializer.resizeArray<std::decay<decltype(gesture_value_buf)>::type,
40235         std::decay<decltype(*gesture_value_buf.array)>::type>(&gesture_value_buf, gesture_value_buf_length);
40236         for (int gesture_value_buf_i = 0; gesture_value_buf_i < gesture_value_buf_length; gesture_value_buf_i++) {
40237             const Ark_Int8 gesture_value_buf_buf_selector = thisDeserializer.readInt8();
40238             Ark_GestureType gesture_value_buf_buf = {};
40239             gesture_value_buf_buf.selector = gesture_value_buf_buf_selector;
40240             if (gesture_value_buf_buf_selector == 0) {
40241                 gesture_value_buf_buf.selector = 0;
40242                 gesture_value_buf_buf.value0 = static_cast<Ark_TapGestureInterface>(thisDeserializer.readTapGestureInterface());
40243             }
40244             else if (gesture_value_buf_buf_selector == 1) {
40245                 gesture_value_buf_buf.selector = 1;
40246                 gesture_value_buf_buf.value1 = static_cast<Ark_LongPressGestureInterface>(thisDeserializer.readLongPressGestureInterface());
40247             }
40248             else if (gesture_value_buf_buf_selector == 2) {
40249                 gesture_value_buf_buf.selector = 2;
40250                 gesture_value_buf_buf.value2 = static_cast<Ark_PanGestureInterface>(thisDeserializer.readPanGestureInterface());
40251             }
40252             else if (gesture_value_buf_buf_selector == 3) {
40253                 gesture_value_buf_buf.selector = 3;
40254                 gesture_value_buf_buf.value3 = static_cast<Ark_PinchGestureInterface>(thisDeserializer.readPinchGestureInterface());
40255             }
40256             else if (gesture_value_buf_buf_selector == 4) {
40257                 gesture_value_buf_buf.selector = 4;
40258                 gesture_value_buf_buf.value4 = static_cast<Ark_SwipeGestureInterface>(thisDeserializer.readSwipeGestureInterface());
40259             }
40260             else if (gesture_value_buf_buf_selector == 5) {
40261                 gesture_value_buf_buf.selector = 5;
40262                 gesture_value_buf_buf.value5 = static_cast<Ark_RotationGestureInterface>(thisDeserializer.readRotationGestureInterface());
40263             }
40264             else if (gesture_value_buf_buf_selector == 6) {
40265                 gesture_value_buf_buf.selector = 6;
40266                 gesture_value_buf_buf.value6 = static_cast<Ark_GestureGroupInterface>(thisDeserializer.readGestureGroupInterface());
40267             }
40268             else {
40269                 INTEROP_FATAL("One of the branches for gesture_value_buf_buf has to be chosen through deserialisation.");
40270             }
40271             gesture_value_buf.array[gesture_value_buf_i] = static_cast<Ark_GestureType>(gesture_value_buf_buf);
40272         }
40273         Array_GestureType gesture_value = gesture_value_buf;;
40274         return GetAccessors()->getGestureGroupInterfaceAccessor()->ctor(static_cast<Ark_GestureMode>(mode), (const Array_GestureType*)&gesture_value);
40275 }
KOALA_INTEROP_DIRECT_3(GestureGroupInterface_ctor,Ark_NativePointer,Ark_Int32,KSerializerBuffer,int32_t)40276 KOALA_INTEROP_DIRECT_3(GestureGroupInterface_ctor, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t)
40277 Ark_NativePointer impl_GestureGroupInterface_getFinalizer() {
40278         return GetAccessors()->getGestureGroupInterfaceAccessor()->getFinalizer();
40279 }
KOALA_INTEROP_DIRECT_0(GestureGroupInterface_getFinalizer,Ark_NativePointer)40280 KOALA_INTEROP_DIRECT_0(GestureGroupInterface_getFinalizer, Ark_NativePointer)
40281 Ark_NativePointer impl_GestureGroupInterface_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40282         Ark_GestureGroupInterface self = reinterpret_cast<Ark_GestureGroupInterface>(thisPtr);
40283         Deserializer thisDeserializer(thisArray, thisLength);
40284         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
40285         return GetAccessors()->getGestureGroupInterfaceAccessor()->onCancel(self, (const Callback_Void*)&event_value);
40286 }
KOALA_INTEROP_DIRECT_3(GestureGroupInterface_onCancel,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40287 KOALA_INTEROP_DIRECT_3(GestureGroupInterface_onCancel, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40288 Ark_NativePointer impl_ScrollableTargetInfo_ctor() {
40289         return GetAccessors()->getScrollableTargetInfoAccessor()->ctor();
40290 }
KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_ctor,Ark_NativePointer)40291 KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_ctor, Ark_NativePointer)
40292 Ark_NativePointer impl_ScrollableTargetInfo_getFinalizer() {
40293         return GetAccessors()->getScrollableTargetInfoAccessor()->getFinalizer();
40294 }
KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_getFinalizer,Ark_NativePointer)40295 KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_getFinalizer, Ark_NativePointer)
40296 Ark_Boolean impl_ScrollableTargetInfo_isBegin(Ark_NativePointer thisPtr) {
40297         Ark_ScrollableTargetInfo self = reinterpret_cast<Ark_ScrollableTargetInfo>(thisPtr);
40298         return GetAccessors()->getScrollableTargetInfoAccessor()->isBegin(self);
40299 }
KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isBegin,Ark_Boolean,Ark_NativePointer)40300 KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isBegin, Ark_Boolean, Ark_NativePointer)
40301 Ark_Boolean impl_ScrollableTargetInfo_isEnd(Ark_NativePointer thisPtr) {
40302         Ark_ScrollableTargetInfo self = reinterpret_cast<Ark_ScrollableTargetInfo>(thisPtr);
40303         return GetAccessors()->getScrollableTargetInfoAccessor()->isEnd(self);
40304 }
KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isEnd,Ark_Boolean,Ark_NativePointer)40305 KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isEnd, Ark_Boolean, Ark_NativePointer)
40306 Ark_NativePointer impl_EventTargetInfo_ctor() {
40307         return GetAccessors()->getEventTargetInfoAccessor()->ctor();
40308 }
KOALA_INTEROP_DIRECT_0(EventTargetInfo_ctor,Ark_NativePointer)40309 KOALA_INTEROP_DIRECT_0(EventTargetInfo_ctor, Ark_NativePointer)
40310 Ark_NativePointer impl_EventTargetInfo_getFinalizer() {
40311         return GetAccessors()->getEventTargetInfoAccessor()->getFinalizer();
40312 }
KOALA_INTEROP_DIRECT_0(EventTargetInfo_getFinalizer,Ark_NativePointer)40313 KOALA_INTEROP_DIRECT_0(EventTargetInfo_getFinalizer, Ark_NativePointer)
40314 Ark_String impl_EventTargetInfo_getId(Ark_NativePointer thisPtr) {
40315         Ark_EventTargetInfo self = reinterpret_cast<Ark_EventTargetInfo>(thisPtr);
40316         return GetAccessors()->getEventTargetInfoAccessor()->getId(self);
40317 }
KOALA_INTEROP_1(EventTargetInfo_getId,KStringPtr,Ark_NativePointer)40318 KOALA_INTEROP_1(EventTargetInfo_getId, KStringPtr, Ark_NativePointer)
40319 Ark_NativePointer impl_GestureRecognizer_ctor() {
40320         return GetAccessors()->getGestureRecognizerAccessor()->ctor();
40321 }
KOALA_INTEROP_DIRECT_0(GestureRecognizer_ctor,Ark_NativePointer)40322 KOALA_INTEROP_DIRECT_0(GestureRecognizer_ctor, Ark_NativePointer)
40323 Ark_NativePointer impl_GestureRecognizer_getFinalizer() {
40324         return GetAccessors()->getGestureRecognizerAccessor()->getFinalizer();
40325 }
KOALA_INTEROP_DIRECT_0(GestureRecognizer_getFinalizer,Ark_NativePointer)40326 KOALA_INTEROP_DIRECT_0(GestureRecognizer_getFinalizer, Ark_NativePointer)
40327 Ark_String impl_GestureRecognizer_getTag(Ark_NativePointer thisPtr) {
40328         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40329         return GetAccessors()->getGestureRecognizerAccessor()->getTag(self);
40330 }
KOALA_INTEROP_1(GestureRecognizer_getTag,KStringPtr,Ark_NativePointer)40331 KOALA_INTEROP_1(GestureRecognizer_getTag, KStringPtr, Ark_NativePointer)
40332 Ark_Int32 impl_GestureRecognizer_getType(Ark_NativePointer thisPtr) {
40333         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40334         return GetAccessors()->getGestureRecognizerAccessor()->getType(self);
40335 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_getType,Ark_Int32,Ark_NativePointer)40336 KOALA_INTEROP_DIRECT_1(GestureRecognizer_getType, Ark_Int32, Ark_NativePointer)
40337 Ark_Boolean impl_GestureRecognizer_isBuiltIn(Ark_NativePointer thisPtr) {
40338         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40339         return GetAccessors()->getGestureRecognizerAccessor()->isBuiltIn(self);
40340 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_isBuiltIn,Ark_Boolean,Ark_NativePointer)40341 KOALA_INTEROP_DIRECT_1(GestureRecognizer_isBuiltIn, Ark_Boolean, Ark_NativePointer)
40342 void impl_GestureRecognizer_setEnabled(Ark_NativePointer thisPtr, Ark_Boolean isEnabled) {
40343         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40344         GetAccessors()->getGestureRecognizerAccessor()->setEnabled(self, isEnabled);
40345 }
KOALA_INTEROP_DIRECT_V2(GestureRecognizer_setEnabled,Ark_NativePointer,Ark_Boolean)40346 KOALA_INTEROP_DIRECT_V2(GestureRecognizer_setEnabled, Ark_NativePointer, Ark_Boolean)
40347 Ark_Boolean impl_GestureRecognizer_isEnabled(Ark_NativePointer thisPtr) {
40348         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40349         return GetAccessors()->getGestureRecognizerAccessor()->isEnabled(self);
40350 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_isEnabled,Ark_Boolean,Ark_NativePointer)40351 KOALA_INTEROP_DIRECT_1(GestureRecognizer_isEnabled, Ark_Boolean, Ark_NativePointer)
40352 Ark_Int32 impl_GestureRecognizer_getState(Ark_NativePointer thisPtr) {
40353         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40354         return GetAccessors()->getGestureRecognizerAccessor()->getState(self);
40355 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_getState,Ark_Int32,Ark_NativePointer)40356 KOALA_INTEROP_DIRECT_1(GestureRecognizer_getState, Ark_Int32, Ark_NativePointer)
40357 Ark_NativePointer impl_GestureRecognizer_getEventTargetInfo(Ark_NativePointer thisPtr) {
40358         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40359         return GetAccessors()->getGestureRecognizerAccessor()->getEventTargetInfo(self);
40360 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_getEventTargetInfo,Ark_NativePointer,Ark_NativePointer)40361 KOALA_INTEROP_DIRECT_1(GestureRecognizer_getEventTargetInfo, Ark_NativePointer, Ark_NativePointer)
40362 Ark_Boolean impl_GestureRecognizer_isValid(Ark_NativePointer thisPtr) {
40363         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40364         return GetAccessors()->getGestureRecognizerAccessor()->isValid(self);
40365 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_isValid,Ark_Boolean,Ark_NativePointer)40366 KOALA_INTEROP_DIRECT_1(GestureRecognizer_isValid, Ark_Boolean, Ark_NativePointer)
40367 Ark_Number impl_GestureRecognizer_getFingerCount(Ark_NativePointer thisPtr) {
40368         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40369         return GetAccessors()->getGestureRecognizerAccessor()->getFingerCount(self);
40370 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_getFingerCount,KInteropNumber,Ark_NativePointer)40371 KOALA_INTEROP_DIRECT_1(GestureRecognizer_getFingerCount, KInteropNumber, Ark_NativePointer)
40372 Ark_Boolean impl_GestureRecognizer_isFingerCountLimit(Ark_NativePointer thisPtr) {
40373         Ark_GestureRecognizer self = reinterpret_cast<Ark_GestureRecognizer>(thisPtr);
40374         return GetAccessors()->getGestureRecognizerAccessor()->isFingerCountLimit(self);
40375 }
KOALA_INTEROP_DIRECT_1(GestureRecognizer_isFingerCountLimit,Ark_Boolean,Ark_NativePointer)40376 KOALA_INTEROP_DIRECT_1(GestureRecognizer_isFingerCountLimit, Ark_Boolean, Ark_NativePointer)
40377 Ark_NativePointer impl_TapRecognizer_ctor() {
40378         return GetAccessors()->getTapRecognizerAccessor()->ctor();
40379 }
KOALA_INTEROP_DIRECT_0(TapRecognizer_ctor,Ark_NativePointer)40380 KOALA_INTEROP_DIRECT_0(TapRecognizer_ctor, Ark_NativePointer)
40381 Ark_NativePointer impl_TapRecognizer_getFinalizer() {
40382         return GetAccessors()->getTapRecognizerAccessor()->getFinalizer();
40383 }
KOALA_INTEROP_DIRECT_0(TapRecognizer_getFinalizer,Ark_NativePointer)40384 KOALA_INTEROP_DIRECT_0(TapRecognizer_getFinalizer, Ark_NativePointer)
40385 Ark_Number impl_TapRecognizer_getTapCount(Ark_NativePointer thisPtr) {
40386         Ark_TapRecognizer self = reinterpret_cast<Ark_TapRecognizer>(thisPtr);
40387         return GetAccessors()->getTapRecognizerAccessor()->getTapCount(self);
40388 }
KOALA_INTEROP_DIRECT_1(TapRecognizer_getTapCount,KInteropNumber,Ark_NativePointer)40389 KOALA_INTEROP_DIRECT_1(TapRecognizer_getTapCount, KInteropNumber, Ark_NativePointer)
40390 Ark_NativePointer impl_LongPressRecognizer_ctor() {
40391         return GetAccessors()->getLongPressRecognizerAccessor()->ctor();
40392 }
KOALA_INTEROP_DIRECT_0(LongPressRecognizer_ctor,Ark_NativePointer)40393 KOALA_INTEROP_DIRECT_0(LongPressRecognizer_ctor, Ark_NativePointer)
40394 Ark_NativePointer impl_LongPressRecognizer_getFinalizer() {
40395         return GetAccessors()->getLongPressRecognizerAccessor()->getFinalizer();
40396 }
KOALA_INTEROP_DIRECT_0(LongPressRecognizer_getFinalizer,Ark_NativePointer)40397 KOALA_INTEROP_DIRECT_0(LongPressRecognizer_getFinalizer, Ark_NativePointer)
40398 Ark_Boolean impl_LongPressRecognizer_isRepeat(Ark_NativePointer thisPtr) {
40399         Ark_LongPressRecognizer self = reinterpret_cast<Ark_LongPressRecognizer>(thisPtr);
40400         return GetAccessors()->getLongPressRecognizerAccessor()->isRepeat(self);
40401 }
KOALA_INTEROP_DIRECT_1(LongPressRecognizer_isRepeat,Ark_Boolean,Ark_NativePointer)40402 KOALA_INTEROP_DIRECT_1(LongPressRecognizer_isRepeat, Ark_Boolean, Ark_NativePointer)
40403 Ark_Number impl_LongPressRecognizer_getDuration(Ark_NativePointer thisPtr) {
40404         Ark_LongPressRecognizer self = reinterpret_cast<Ark_LongPressRecognizer>(thisPtr);
40405         return GetAccessors()->getLongPressRecognizerAccessor()->getDuration(self);
40406 }
KOALA_INTEROP_DIRECT_1(LongPressRecognizer_getDuration,KInteropNumber,Ark_NativePointer)40407 KOALA_INTEROP_DIRECT_1(LongPressRecognizer_getDuration, KInteropNumber, Ark_NativePointer)
40408 Ark_NativePointer impl_SwipeRecognizer_ctor() {
40409         return GetAccessors()->getSwipeRecognizerAccessor()->ctor();
40410 }
KOALA_INTEROP_DIRECT_0(SwipeRecognizer_ctor,Ark_NativePointer)40411 KOALA_INTEROP_DIRECT_0(SwipeRecognizer_ctor, Ark_NativePointer)
40412 Ark_NativePointer impl_SwipeRecognizer_getFinalizer() {
40413         return GetAccessors()->getSwipeRecognizerAccessor()->getFinalizer();
40414 }
KOALA_INTEROP_DIRECT_0(SwipeRecognizer_getFinalizer,Ark_NativePointer)40415 KOALA_INTEROP_DIRECT_0(SwipeRecognizer_getFinalizer, Ark_NativePointer)
40416 Ark_Number impl_SwipeRecognizer_getVelocityThreshold(Ark_NativePointer thisPtr) {
40417         Ark_SwipeRecognizer self = reinterpret_cast<Ark_SwipeRecognizer>(thisPtr);
40418         return GetAccessors()->getSwipeRecognizerAccessor()->getVelocityThreshold(self);
40419 }
KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getVelocityThreshold,KInteropNumber,Ark_NativePointer)40420 KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getVelocityThreshold, KInteropNumber, Ark_NativePointer)
40421 Ark_Int32 impl_SwipeRecognizer_getDirection(Ark_NativePointer thisPtr) {
40422         Ark_SwipeRecognizer self = reinterpret_cast<Ark_SwipeRecognizer>(thisPtr);
40423         return GetAccessors()->getSwipeRecognizerAccessor()->getDirection(self);
40424 }
KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getDirection,Ark_Int32,Ark_NativePointer)40425 KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getDirection, Ark_Int32, Ark_NativePointer)
40426 Ark_NativePointer impl_PinchRecognizer_ctor() {
40427         return GetAccessors()->getPinchRecognizerAccessor()->ctor();
40428 }
KOALA_INTEROP_DIRECT_0(PinchRecognizer_ctor,Ark_NativePointer)40429 KOALA_INTEROP_DIRECT_0(PinchRecognizer_ctor, Ark_NativePointer)
40430 Ark_NativePointer impl_PinchRecognizer_getFinalizer() {
40431         return GetAccessors()->getPinchRecognizerAccessor()->getFinalizer();
40432 }
KOALA_INTEROP_DIRECT_0(PinchRecognizer_getFinalizer,Ark_NativePointer)40433 KOALA_INTEROP_DIRECT_0(PinchRecognizer_getFinalizer, Ark_NativePointer)
40434 Ark_Number impl_PinchRecognizer_getDistance(Ark_NativePointer thisPtr) {
40435         Ark_PinchRecognizer self = reinterpret_cast<Ark_PinchRecognizer>(thisPtr);
40436         return GetAccessors()->getPinchRecognizerAccessor()->getDistance(self);
40437 }
KOALA_INTEROP_DIRECT_1(PinchRecognizer_getDistance,KInteropNumber,Ark_NativePointer)40438 KOALA_INTEROP_DIRECT_1(PinchRecognizer_getDistance, KInteropNumber, Ark_NativePointer)
40439 Ark_NativePointer impl_RotationRecognizer_ctor() {
40440         return GetAccessors()->getRotationRecognizerAccessor()->ctor();
40441 }
KOALA_INTEROP_DIRECT_0(RotationRecognizer_ctor,Ark_NativePointer)40442 KOALA_INTEROP_DIRECT_0(RotationRecognizer_ctor, Ark_NativePointer)
40443 Ark_NativePointer impl_RotationRecognizer_getFinalizer() {
40444         return GetAccessors()->getRotationRecognizerAccessor()->getFinalizer();
40445 }
KOALA_INTEROP_DIRECT_0(RotationRecognizer_getFinalizer,Ark_NativePointer)40446 KOALA_INTEROP_DIRECT_0(RotationRecognizer_getFinalizer, Ark_NativePointer)
40447 Ark_Number impl_RotationRecognizer_getAngle(Ark_NativePointer thisPtr) {
40448         Ark_RotationRecognizer self = reinterpret_cast<Ark_RotationRecognizer>(thisPtr);
40449         return GetAccessors()->getRotationRecognizerAccessor()->getAngle(self);
40450 }
KOALA_INTEROP_DIRECT_1(RotationRecognizer_getAngle,KInteropNumber,Ark_NativePointer)40451 KOALA_INTEROP_DIRECT_1(RotationRecognizer_getAngle, KInteropNumber, Ark_NativePointer)
40452 Ark_NativePointer impl_PanRecognizer_ctor() {
40453         return GetAccessors()->getPanRecognizerAccessor()->ctor();
40454 }
KOALA_INTEROP_DIRECT_0(PanRecognizer_ctor,Ark_NativePointer)40455 KOALA_INTEROP_DIRECT_0(PanRecognizer_ctor, Ark_NativePointer)
40456 Ark_NativePointer impl_PanRecognizer_getFinalizer() {
40457         return GetAccessors()->getPanRecognizerAccessor()->getFinalizer();
40458 }
KOALA_INTEROP_DIRECT_0(PanRecognizer_getFinalizer,Ark_NativePointer)40459 KOALA_INTEROP_DIRECT_0(PanRecognizer_getFinalizer, Ark_NativePointer)
40460 Ark_NativePointer impl_PanRecognizer_getPanGestureOptions(Ark_NativePointer thisPtr) {
40461         Ark_PanRecognizer self = reinterpret_cast<Ark_PanRecognizer>(thisPtr);
40462         return GetAccessors()->getPanRecognizerAccessor()->getPanGestureOptions(self);
40463 }
KOALA_INTEROP_DIRECT_1(PanRecognizer_getPanGestureOptions,Ark_NativePointer,Ark_NativePointer)40464 KOALA_INTEROP_DIRECT_1(PanRecognizer_getPanGestureOptions, Ark_NativePointer, Ark_NativePointer)
40465 Ark_NativePointer impl_ImageAnalyzerController_ctor() {
40466         return GetAccessors()->getImageAnalyzerControllerAccessor()->ctor();
40467 }
KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_ctor,Ark_NativePointer)40468 KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_ctor, Ark_NativePointer)
40469 Ark_NativePointer impl_ImageAnalyzerController_getFinalizer() {
40470         return GetAccessors()->getImageAnalyzerControllerAccessor()->getFinalizer();
40471 }
KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_getFinalizer,Ark_NativePointer)40472 KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_getFinalizer, Ark_NativePointer)
40473 KInteropReturnBuffer impl_ImageAnalyzerController_getImageAnalyzerSupportTypes(Ark_NativePointer thisPtr) {
40474         Ark_ImageAnalyzerController self = reinterpret_cast<Ark_ImageAnalyzerController>(thisPtr);
40475         const auto &retValue = GetAccessors()->getImageAnalyzerControllerAccessor()->getImageAnalyzerSupportTypes(self);
40476         Serializer _retSerializer {};
40477         _retSerializer.writeInt32(retValue.length);
40478         for (int i = 0; i < retValue.length; i++) {
40479             const Ark_ImageAnalyzerType retValue_element = retValue.array[i];
40480             _retSerializer.writeInt32(static_cast<Ark_ImageAnalyzerType>(retValue_element));
40481         }
40482         return _retSerializer.toReturnBuffer();
40483 }
KOALA_INTEROP_1(ImageAnalyzerController_getImageAnalyzerSupportTypes,KInteropReturnBuffer,Ark_NativePointer)40484 KOALA_INTEROP_1(ImageAnalyzerController_getImageAnalyzerSupportTypes, KInteropReturnBuffer, Ark_NativePointer)
40485 Ark_NativePointer impl_ListScroller_ctor() {
40486         return GetAccessors()->getListScrollerAccessor()->ctor();
40487 }
KOALA_INTEROP_DIRECT_0(ListScroller_ctor,Ark_NativePointer)40488 KOALA_INTEROP_DIRECT_0(ListScroller_ctor, Ark_NativePointer)
40489 Ark_NativePointer impl_ListScroller_getFinalizer() {
40490         return GetAccessors()->getListScrollerAccessor()->getFinalizer();
40491 }
KOALA_INTEROP_DIRECT_0(ListScroller_getFinalizer,Ark_NativePointer)40492 KOALA_INTEROP_DIRECT_0(ListScroller_getFinalizer, Ark_NativePointer)
40493 KInteropReturnBuffer impl_ListScroller_getItemRectInGroup(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber indexInGroup) {
40494         Ark_ListScroller self = reinterpret_cast<Ark_ListScroller>(thisPtr);
40495         const auto &retValue = GetAccessors()->getListScrollerAccessor()->getItemRectInGroup(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&index), (const Ark_Number*) (&indexInGroup));
40496         Serializer _retSerializer {};
40497         _retSerializer.writeRectResult(retValue);
40498         return _retSerializer.toReturnBuffer();
40499 }
KOALA_INTEROP_CTX_3(ListScroller_getItemRectInGroup,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber,KInteropNumber)40500 KOALA_INTEROP_CTX_3(ListScroller_getItemRectInGroup, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber, KInteropNumber)
40501 void impl_ListScroller_scrollToItemInGroup(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber indexInGroup, KSerializerBuffer thisArray, int32_t thisLength) {
40502         Ark_ListScroller self = reinterpret_cast<Ark_ListScroller>(thisPtr);
40503         Deserializer thisDeserializer(thisArray, thisLength);
40504         const auto smooth_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40505         Opt_Boolean smooth_value_buf = {};
40506         smooth_value_buf.tag = smooth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40507         if ((INTEROP_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType))
40508         {
40509             smooth_value_buf.value = thisDeserializer.readBoolean();
40510         }
40511         Opt_Boolean smooth_value = smooth_value_buf;;
40512         const auto align_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40513         Opt_ScrollAlign align_value_buf = {};
40514         align_value_buf.tag = align_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40515         if ((INTEROP_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType))
40516         {
40517             align_value_buf.value = static_cast<Ark_ScrollAlign>(thisDeserializer.readInt32());
40518         }
40519         Opt_ScrollAlign align_value = align_value_buf;;
40520         GetAccessors()->getListScrollerAccessor()->scrollToItemInGroup(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&index), (const Ark_Number*) (&indexInGroup), (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value);
40521 }
KOALA_INTEROP_CTX_V5(ListScroller_scrollToItemInGroup,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)40522 KOALA_INTEROP_CTX_V5(ListScroller_scrollToItemInGroup, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
40523 void impl_ListScroller_closeAllSwipeActions(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40524         Ark_ListScroller self = reinterpret_cast<Ark_ListScroller>(thisPtr);
40525         Deserializer thisDeserializer(thisArray, thisLength);
40526         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40527         Opt_CloseSwipeActionOptions options_value_buf = {};
40528         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40529         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
40530         {
40531             options_value_buf.value = thisDeserializer.readCloseSwipeActionOptions();
40532         }
40533         Opt_CloseSwipeActionOptions options_value = options_value_buf;;
40534         GetAccessors()->getListScrollerAccessor()->closeAllSwipeActions(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Opt_CloseSwipeActionOptions*)&options_value);
40535 }
KOALA_INTEROP_CTX_V3(ListScroller_closeAllSwipeActions,Ark_NativePointer,KSerializerBuffer,int32_t)40536 KOALA_INTEROP_CTX_V3(ListScroller_closeAllSwipeActions, Ark_NativePointer, KSerializerBuffer, int32_t)
40537 KInteropReturnBuffer impl_ListScroller_getVisibleListContentInfo(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
40538         Ark_ListScroller self = reinterpret_cast<Ark_ListScroller>(thisPtr);
40539         const auto &retValue = GetAccessors()->getListScrollerAccessor()->getVisibleListContentInfo(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
40540         Serializer _retSerializer {};
40541         _retSerializer.writeVisibleListContentInfo(retValue);
40542         return _retSerializer.toReturnBuffer();
40543 }
KOALA_INTEROP_CTX_3(ListScroller_getVisibleListContentInfo,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber,KInteropNumber)40544 KOALA_INTEROP_CTX_3(ListScroller_getVisibleListContentInfo, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber, KInteropNumber)
40545 Ark_NativePointer impl_Matrix2D_ctor() {
40546         return GetAccessors()->getMatrix2DAccessor()->ctor();
40547 }
KOALA_INTEROP_DIRECT_0(Matrix2D_ctor,Ark_NativePointer)40548 KOALA_INTEROP_DIRECT_0(Matrix2D_ctor, Ark_NativePointer)
40549 Ark_NativePointer impl_Matrix2D_getFinalizer() {
40550         return GetAccessors()->getMatrix2DAccessor()->getFinalizer();
40551 }
KOALA_INTEROP_DIRECT_0(Matrix2D_getFinalizer,Ark_NativePointer)40552 KOALA_INTEROP_DIRECT_0(Matrix2D_getFinalizer, Ark_NativePointer)
40553 Ark_NativePointer impl_Matrix2D_identity(Ark_NativePointer thisPtr) {
40554         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40555         return GetAccessors()->getMatrix2DAccessor()->identity(self);
40556 }
KOALA_INTEROP_DIRECT_1(Matrix2D_identity,Ark_NativePointer,Ark_NativePointer)40557 KOALA_INTEROP_DIRECT_1(Matrix2D_identity, Ark_NativePointer, Ark_NativePointer)
40558 Ark_NativePointer impl_Matrix2D_invert(Ark_NativePointer thisPtr) {
40559         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40560         return GetAccessors()->getMatrix2DAccessor()->invert(self);
40561 }
KOALA_INTEROP_DIRECT_1(Matrix2D_invert,Ark_NativePointer,Ark_NativePointer)40562 KOALA_INTEROP_DIRECT_1(Matrix2D_invert, Ark_NativePointer, Ark_NativePointer)
40563 Ark_NativePointer impl_Matrix2D_multiply(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40564         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40565         Deserializer thisDeserializer(thisArray, thisLength);
40566         const auto other_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40567         Opt_Matrix2D other_value_buf = {};
40568         other_value_buf.tag = other_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40569         if ((INTEROP_RUNTIME_UNDEFINED) != (other_value_buf_runtimeType))
40570         {
40571             other_value_buf.value = static_cast<Ark_Matrix2D>(thisDeserializer.readMatrix2D());
40572         }
40573         Opt_Matrix2D other_value = other_value_buf;;
40574         return GetAccessors()->getMatrix2DAccessor()->multiply(self, (const Opt_Matrix2D*)&other_value);
40575 }
KOALA_INTEROP_DIRECT_3(Matrix2D_multiply,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40576 KOALA_INTEROP_DIRECT_3(Matrix2D_multiply, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40577 Ark_NativePointer impl_Matrix2D_rotate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40578         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40579         Deserializer thisDeserializer(thisArray, thisLength);
40580         const auto rx_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40581         Opt_Number rx_value_buf = {};
40582         rx_value_buf.tag = rx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40583         if ((INTEROP_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType))
40584         {
40585             rx_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40586         }
40587         Opt_Number rx_value = rx_value_buf;;
40588         const auto ry_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40589         Opt_Number ry_value_buf = {};
40590         ry_value_buf.tag = ry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40591         if ((INTEROP_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType))
40592         {
40593             ry_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40594         }
40595         Opt_Number ry_value = ry_value_buf;;
40596         return GetAccessors()->getMatrix2DAccessor()->rotate0(self, (const Opt_Number*)&rx_value, (const Opt_Number*)&ry_value);
40597 }
KOALA_INTEROP_DIRECT_3(Matrix2D_rotate0,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40598 KOALA_INTEROP_DIRECT_3(Matrix2D_rotate0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40599 Ark_NativePointer impl_Matrix2D_rotate1(Ark_NativePointer thisPtr, KInteropNumber degree, KSerializerBuffer thisArray, int32_t thisLength) {
40600         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40601         Deserializer thisDeserializer(thisArray, thisLength);
40602         const auto rx_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40603         Opt_Number rx_value_buf = {};
40604         rx_value_buf.tag = rx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40605         if ((INTEROP_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType))
40606         {
40607             rx_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40608         }
40609         Opt_Number rx_value = rx_value_buf;;
40610         const auto ry_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40611         Opt_Number ry_value_buf = {};
40612         ry_value_buf.tag = ry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40613         if ((INTEROP_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType))
40614         {
40615             ry_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40616         }
40617         Opt_Number ry_value = ry_value_buf;;
40618         return GetAccessors()->getMatrix2DAccessor()->rotate1(self, (const Ark_Number*) (&degree), (const Opt_Number*)&rx_value, (const Opt_Number*)&ry_value);
40619 }
KOALA_INTEROP_DIRECT_4(Matrix2D_rotate1,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)40620 KOALA_INTEROP_DIRECT_4(Matrix2D_rotate1, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
40621 Ark_NativePointer impl_Matrix2D_translate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40622         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40623         Deserializer thisDeserializer(thisArray, thisLength);
40624         const auto tx_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40625         Opt_Number tx_value_buf = {};
40626         tx_value_buf.tag = tx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40627         if ((INTEROP_RUNTIME_UNDEFINED) != (tx_value_buf_runtimeType))
40628         {
40629             tx_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40630         }
40631         Opt_Number tx_value = tx_value_buf;;
40632         const auto ty_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40633         Opt_Number ty_value_buf = {};
40634         ty_value_buf.tag = ty_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40635         if ((INTEROP_RUNTIME_UNDEFINED) != (ty_value_buf_runtimeType))
40636         {
40637             ty_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40638         }
40639         Opt_Number ty_value = ty_value_buf;;
40640         return GetAccessors()->getMatrix2DAccessor()->translate(self, (const Opt_Number*)&tx_value, (const Opt_Number*)&ty_value);
40641 }
KOALA_INTEROP_DIRECT_3(Matrix2D_translate,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40642 KOALA_INTEROP_DIRECT_3(Matrix2D_translate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40643 Ark_NativePointer impl_Matrix2D_scale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40644         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40645         Deserializer thisDeserializer(thisArray, thisLength);
40646         const auto sx_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40647         Opt_Number sx_value_buf = {};
40648         sx_value_buf.tag = sx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40649         if ((INTEROP_RUNTIME_UNDEFINED) != (sx_value_buf_runtimeType))
40650         {
40651             sx_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40652         }
40653         Opt_Number sx_value = sx_value_buf;;
40654         const auto sy_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40655         Opt_Number sy_value_buf = {};
40656         sy_value_buf.tag = sy_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40657         if ((INTEROP_RUNTIME_UNDEFINED) != (sy_value_buf_runtimeType))
40658         {
40659             sy_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
40660         }
40661         Opt_Number sy_value = sy_value_buf;;
40662         return GetAccessors()->getMatrix2DAccessor()->scale(self, (const Opt_Number*)&sx_value, (const Opt_Number*)&sy_value);
40663 }
KOALA_INTEROP_DIRECT_3(Matrix2D_scale,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)40664 KOALA_INTEROP_DIRECT_3(Matrix2D_scale, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
40665 KInteropReturnBuffer impl_Matrix2D_getScaleX(Ark_NativePointer thisPtr) {
40666         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40667         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleX(self);
40668         Serializer _retSerializer {};
40669         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40670         retValue_type = runtimeType(retValue);
40671         _retSerializer.writeInt8(retValue_type);
40672         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40673             const auto retValue_value = retValue.value;
40674             _retSerializer.writeNumber(retValue_value);
40675         }
40676         return _retSerializer.toReturnBuffer();
40677 }
KOALA_INTEROP_1(Matrix2D_getScaleX,KInteropReturnBuffer,Ark_NativePointer)40678 KOALA_INTEROP_1(Matrix2D_getScaleX, KInteropReturnBuffer, Ark_NativePointer)
40679 void impl_Matrix2D_setScaleX(Ark_NativePointer thisPtr, KInteropNumber scaleX) {
40680         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40681         GetAccessors()->getMatrix2DAccessor()->setScaleX(self, (const Ark_Number*) (&scaleX));
40682 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setScaleX,Ark_NativePointer,KInteropNumber)40683 KOALA_INTEROP_DIRECT_V2(Matrix2D_setScaleX, Ark_NativePointer, KInteropNumber)
40684 KInteropReturnBuffer impl_Matrix2D_getRotateY(Ark_NativePointer thisPtr) {
40685         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40686         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateY(self);
40687         Serializer _retSerializer {};
40688         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40689         retValue_type = runtimeType(retValue);
40690         _retSerializer.writeInt8(retValue_type);
40691         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40692             const auto retValue_value = retValue.value;
40693             _retSerializer.writeNumber(retValue_value);
40694         }
40695         return _retSerializer.toReturnBuffer();
40696 }
KOALA_INTEROP_1(Matrix2D_getRotateY,KInteropReturnBuffer,Ark_NativePointer)40697 KOALA_INTEROP_1(Matrix2D_getRotateY, KInteropReturnBuffer, Ark_NativePointer)
40698 void impl_Matrix2D_setRotateY(Ark_NativePointer thisPtr, KInteropNumber rotateY) {
40699         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40700         GetAccessors()->getMatrix2DAccessor()->setRotateY(self, (const Ark_Number*) (&rotateY));
40701 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setRotateY,Ark_NativePointer,KInteropNumber)40702 KOALA_INTEROP_DIRECT_V2(Matrix2D_setRotateY, Ark_NativePointer, KInteropNumber)
40703 KInteropReturnBuffer impl_Matrix2D_getRotateX(Ark_NativePointer thisPtr) {
40704         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40705         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateX(self);
40706         Serializer _retSerializer {};
40707         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40708         retValue_type = runtimeType(retValue);
40709         _retSerializer.writeInt8(retValue_type);
40710         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40711             const auto retValue_value = retValue.value;
40712             _retSerializer.writeNumber(retValue_value);
40713         }
40714         return _retSerializer.toReturnBuffer();
40715 }
KOALA_INTEROP_1(Matrix2D_getRotateX,KInteropReturnBuffer,Ark_NativePointer)40716 KOALA_INTEROP_1(Matrix2D_getRotateX, KInteropReturnBuffer, Ark_NativePointer)
40717 void impl_Matrix2D_setRotateX(Ark_NativePointer thisPtr, KInteropNumber rotateX) {
40718         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40719         GetAccessors()->getMatrix2DAccessor()->setRotateX(self, (const Ark_Number*) (&rotateX));
40720 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setRotateX,Ark_NativePointer,KInteropNumber)40721 KOALA_INTEROP_DIRECT_V2(Matrix2D_setRotateX, Ark_NativePointer, KInteropNumber)
40722 KInteropReturnBuffer impl_Matrix2D_getScaleY(Ark_NativePointer thisPtr) {
40723         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40724         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleY(self);
40725         Serializer _retSerializer {};
40726         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40727         retValue_type = runtimeType(retValue);
40728         _retSerializer.writeInt8(retValue_type);
40729         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40730             const auto retValue_value = retValue.value;
40731             _retSerializer.writeNumber(retValue_value);
40732         }
40733         return _retSerializer.toReturnBuffer();
40734 }
KOALA_INTEROP_1(Matrix2D_getScaleY,KInteropReturnBuffer,Ark_NativePointer)40735 KOALA_INTEROP_1(Matrix2D_getScaleY, KInteropReturnBuffer, Ark_NativePointer)
40736 void impl_Matrix2D_setScaleY(Ark_NativePointer thisPtr, KInteropNumber scaleY) {
40737         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40738         GetAccessors()->getMatrix2DAccessor()->setScaleY(self, (const Ark_Number*) (&scaleY));
40739 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setScaleY,Ark_NativePointer,KInteropNumber)40740 KOALA_INTEROP_DIRECT_V2(Matrix2D_setScaleY, Ark_NativePointer, KInteropNumber)
40741 KInteropReturnBuffer impl_Matrix2D_getTranslateX(Ark_NativePointer thisPtr) {
40742         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40743         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateX(self);
40744         Serializer _retSerializer {};
40745         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40746         retValue_type = runtimeType(retValue);
40747         _retSerializer.writeInt8(retValue_type);
40748         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40749             const auto retValue_value = retValue.value;
40750             _retSerializer.writeNumber(retValue_value);
40751         }
40752         return _retSerializer.toReturnBuffer();
40753 }
KOALA_INTEROP_1(Matrix2D_getTranslateX,KInteropReturnBuffer,Ark_NativePointer)40754 KOALA_INTEROP_1(Matrix2D_getTranslateX, KInteropReturnBuffer, Ark_NativePointer)
40755 void impl_Matrix2D_setTranslateX(Ark_NativePointer thisPtr, KInteropNumber translateX) {
40756         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40757         GetAccessors()->getMatrix2DAccessor()->setTranslateX(self, (const Ark_Number*) (&translateX));
40758 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setTranslateX,Ark_NativePointer,KInteropNumber)40759 KOALA_INTEROP_DIRECT_V2(Matrix2D_setTranslateX, Ark_NativePointer, KInteropNumber)
40760 KInteropReturnBuffer impl_Matrix2D_getTranslateY(Ark_NativePointer thisPtr) {
40761         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40762         const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateY(self);
40763         Serializer _retSerializer {};
40764         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40765         retValue_type = runtimeType(retValue);
40766         _retSerializer.writeInt8(retValue_type);
40767         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40768             const auto retValue_value = retValue.value;
40769             _retSerializer.writeNumber(retValue_value);
40770         }
40771         return _retSerializer.toReturnBuffer();
40772 }
KOALA_INTEROP_1(Matrix2D_getTranslateY,KInteropReturnBuffer,Ark_NativePointer)40773 KOALA_INTEROP_1(Matrix2D_getTranslateY, KInteropReturnBuffer, Ark_NativePointer)
40774 void impl_Matrix2D_setTranslateY(Ark_NativePointer thisPtr, KInteropNumber translateY) {
40775         Ark_Matrix2D self = reinterpret_cast<Ark_Matrix2D>(thisPtr);
40776         GetAccessors()->getMatrix2DAccessor()->setTranslateY(self, (const Ark_Number*) (&translateY));
40777 }
KOALA_INTEROP_DIRECT_V2(Matrix2D_setTranslateY,Ark_NativePointer,KInteropNumber)40778 KOALA_INTEROP_DIRECT_V2(Matrix2D_setTranslateY, Ark_NativePointer, KInteropNumber)
40779 Ark_NativePointer impl_NavDestinationContext_ctor() {
40780         return GetAccessors()->getNavDestinationContextAccessor()->ctor();
40781 }
KOALA_INTEROP_DIRECT_0(NavDestinationContext_ctor,Ark_NativePointer)40782 KOALA_INTEROP_DIRECT_0(NavDestinationContext_ctor, Ark_NativePointer)
40783 Ark_NativePointer impl_NavDestinationContext_getFinalizer() {
40784         return GetAccessors()->getNavDestinationContextAccessor()->getFinalizer();
40785 }
KOALA_INTEROP_DIRECT_0(NavDestinationContext_getFinalizer,Ark_NativePointer)40786 KOALA_INTEROP_DIRECT_0(NavDestinationContext_getFinalizer, Ark_NativePointer)
40787 KInteropReturnBuffer impl_NavDestinationContext_getConfigInRouteMap(Ark_NativePointer thisPtr) {
40788         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40789         const auto &retValue = GetAccessors()->getNavDestinationContextAccessor()->getConfigInRouteMap(self);
40790         Serializer _retSerializer {};
40791         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40792         retValue_type = runtimeType(retValue);
40793         _retSerializer.writeInt8(retValue_type);
40794         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40795             const auto retValue_value = retValue.value;
40796             _retSerializer.writeRouteMapConfig(retValue_value);
40797         }
40798         return _retSerializer.toReturnBuffer();
40799 }
KOALA_INTEROP_1(NavDestinationContext_getConfigInRouteMap,KInteropReturnBuffer,Ark_NativePointer)40800 KOALA_INTEROP_1(NavDestinationContext_getConfigInRouteMap, KInteropReturnBuffer, Ark_NativePointer)
40801 Ark_NativePointer impl_NavDestinationContext_getPathInfo(Ark_NativePointer thisPtr) {
40802         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40803         return GetAccessors()->getNavDestinationContextAccessor()->getPathInfo(self);
40804 }
KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathInfo,Ark_NativePointer,Ark_NativePointer)40805 KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathInfo, Ark_NativePointer, Ark_NativePointer)
40806 void impl_NavDestinationContext_setPathInfo(Ark_NativePointer thisPtr, Ark_NativePointer pathInfo) {
40807         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40808         GetAccessors()->getNavDestinationContextAccessor()->setPathInfo(self, static_cast<Ark_NavPathInfo>(pathInfo));
40809 }
KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathInfo,Ark_NativePointer,Ark_NativePointer)40810 KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathInfo, Ark_NativePointer, Ark_NativePointer)
40811 Ark_NativePointer impl_NavDestinationContext_getPathStack(Ark_NativePointer thisPtr) {
40812         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40813         return GetAccessors()->getNavDestinationContextAccessor()->getPathStack(self);
40814 }
KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathStack,Ark_NativePointer,Ark_NativePointer)40815 KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathStack, Ark_NativePointer, Ark_NativePointer)
40816 void impl_NavDestinationContext_setPathStack(Ark_NativePointer thisPtr, Ark_NativePointer pathStack) {
40817         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40818         GetAccessors()->getNavDestinationContextAccessor()->setPathStack(self, static_cast<Ark_NavPathStack>(pathStack));
40819 }
KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathStack,Ark_NativePointer,Ark_NativePointer)40820 KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathStack, Ark_NativePointer, Ark_NativePointer)
40821 Ark_String impl_NavDestinationContext_getNavDestinationId(Ark_NativePointer thisPtr) {
40822         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40823         return GetAccessors()->getNavDestinationContextAccessor()->getNavDestinationId(self);
40824 }
KOALA_INTEROP_1(NavDestinationContext_getNavDestinationId,KStringPtr,Ark_NativePointer)40825 KOALA_INTEROP_1(NavDestinationContext_getNavDestinationId, KStringPtr, Ark_NativePointer)
40826 void impl_NavDestinationContext_setNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) {
40827         Ark_NavDestinationContext self = reinterpret_cast<Ark_NavDestinationContext>(thisPtr);
40828         GetAccessors()->getNavDestinationContextAccessor()->setNavDestinationId(self, (const Ark_String*) (&navDestinationId));
40829 }
KOALA_INTEROP_V2(NavDestinationContext_setNavDestinationId,Ark_NativePointer,KStringPtr)40830 KOALA_INTEROP_V2(NavDestinationContext_setNavDestinationId, Ark_NativePointer, KStringPtr)
40831 Ark_NativePointer impl_PatternLockController_ctor() {
40832         return GetAccessors()->getPatternLockControllerAccessor()->ctor();
40833 }
KOALA_INTEROP_DIRECT_0(PatternLockController_ctor,Ark_NativePointer)40834 KOALA_INTEROP_DIRECT_0(PatternLockController_ctor, Ark_NativePointer)
40835 Ark_NativePointer impl_PatternLockController_getFinalizer() {
40836         return GetAccessors()->getPatternLockControllerAccessor()->getFinalizer();
40837 }
KOALA_INTEROP_DIRECT_0(PatternLockController_getFinalizer,Ark_NativePointer)40838 KOALA_INTEROP_DIRECT_0(PatternLockController_getFinalizer, Ark_NativePointer)
40839 void impl_PatternLockController_reset(Ark_NativePointer thisPtr) {
40840         Ark_PatternLockController self = reinterpret_cast<Ark_PatternLockController>(thisPtr);
40841         GetAccessors()->getPatternLockControllerAccessor()->reset(self);
40842 }
KOALA_INTEROP_DIRECT_V1(PatternLockController_reset,Ark_NativePointer)40843 KOALA_INTEROP_DIRECT_V1(PatternLockController_reset, Ark_NativePointer)
40844 void impl_PatternLockController_setChallengeResult(Ark_NativePointer thisPtr, Ark_Int32 result) {
40845         Ark_PatternLockController self = reinterpret_cast<Ark_PatternLockController>(thisPtr);
40846         GetAccessors()->getPatternLockControllerAccessor()->setChallengeResult(self, static_cast<Ark_PatternLockChallengeResult>(result));
40847 }
KOALA_INTEROP_DIRECT_V2(PatternLockController_setChallengeResult,Ark_NativePointer,Ark_Int32)40848 KOALA_INTEROP_DIRECT_V2(PatternLockController_setChallengeResult, Ark_NativePointer, Ark_Int32)
40849 Ark_NativePointer impl_VirtualScrollOptions_ctor() {
40850         return GetAccessors()->getVirtualScrollOptionsAccessor()->ctor();
40851 }
KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_ctor,Ark_NativePointer)40852 KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_ctor, Ark_NativePointer)
40853 Ark_NativePointer impl_VirtualScrollOptions_getFinalizer() {
40854         return GetAccessors()->getVirtualScrollOptionsAccessor()->getFinalizer();
40855 }
KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_getFinalizer,Ark_NativePointer)40856 KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_getFinalizer, Ark_NativePointer)
40857 void impl_VirtualScrollOptions_onLazyLoading(Ark_NativePointer thisPtr, KInteropNumber index) {
40858         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40859         GetAccessors()->getVirtualScrollOptionsAccessor()->onLazyLoading(self, (const Ark_Number*) (&index));
40860 }
KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_onLazyLoading,Ark_NativePointer,KInteropNumber)40861 KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_onLazyLoading, Ark_NativePointer, KInteropNumber)
40862 Ark_Number impl_VirtualScrollOptions_onTotalCount(Ark_NativePointer thisPtr) {
40863         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40864         return GetAccessors()->getVirtualScrollOptionsAccessor()->onTotalCount(self);
40865 }
KOALA_INTEROP_DIRECT_1(VirtualScrollOptions_onTotalCount,KInteropNumber,Ark_NativePointer)40866 KOALA_INTEROP_DIRECT_1(VirtualScrollOptions_onTotalCount, KInteropNumber, Ark_NativePointer)
40867 KInteropReturnBuffer impl_VirtualScrollOptions_getTotalCount(Ark_NativePointer thisPtr) {
40868         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40869         const auto &retValue = GetAccessors()->getVirtualScrollOptionsAccessor()->getTotalCount(self);
40870         Serializer _retSerializer {};
40871         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40872         retValue_type = runtimeType(retValue);
40873         _retSerializer.writeInt8(retValue_type);
40874         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40875             const auto retValue_value = retValue.value;
40876             _retSerializer.writeNumber(retValue_value);
40877         }
40878         return _retSerializer.toReturnBuffer();
40879 }
KOALA_INTEROP_1(VirtualScrollOptions_getTotalCount,KInteropReturnBuffer,Ark_NativePointer)40880 KOALA_INTEROP_1(VirtualScrollOptions_getTotalCount, KInteropReturnBuffer, Ark_NativePointer)
40881 void impl_VirtualScrollOptions_setTotalCount(Ark_NativePointer thisPtr, KInteropNumber totalCount) {
40882         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40883         GetAccessors()->getVirtualScrollOptionsAccessor()->setTotalCount(self, (const Ark_Number*) (&totalCount));
40884 }
KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setTotalCount,Ark_NativePointer,KInteropNumber)40885 KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setTotalCount, Ark_NativePointer, KInteropNumber)
40886 KInteropReturnBuffer impl_VirtualScrollOptions_getReusable(Ark_NativePointer thisPtr) {
40887         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40888         const auto &retValue = GetAccessors()->getVirtualScrollOptionsAccessor()->getReusable(self);
40889         Serializer _retSerializer {};
40890         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40891         retValue_type = runtimeType(retValue);
40892         _retSerializer.writeInt8(retValue_type);
40893         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40894             const auto retValue_value = retValue.value;
40895             _retSerializer.writeBoolean(retValue_value);
40896         }
40897         return _retSerializer.toReturnBuffer();
40898 }
KOALA_INTEROP_1(VirtualScrollOptions_getReusable,KInteropReturnBuffer,Ark_NativePointer)40899 KOALA_INTEROP_1(VirtualScrollOptions_getReusable, KInteropReturnBuffer, Ark_NativePointer)
40900 void impl_VirtualScrollOptions_setReusable(Ark_NativePointer thisPtr, Ark_Boolean reusable) {
40901         Ark_VirtualScrollOptions self = reinterpret_cast<Ark_VirtualScrollOptions>(thisPtr);
40902         GetAccessors()->getVirtualScrollOptionsAccessor()->setReusable(self, reusable);
40903 }
KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setReusable,Ark_NativePointer,Ark_Boolean)40904 KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setReusable, Ark_NativePointer, Ark_Boolean)
40905 Ark_NativePointer impl_RichEditorBaseController_ctor() {
40906         return GetAccessors()->getRichEditorBaseControllerAccessor()->ctor();
40907 }
KOALA_INTEROP_DIRECT_0(RichEditorBaseController_ctor,Ark_NativePointer)40908 KOALA_INTEROP_DIRECT_0(RichEditorBaseController_ctor, Ark_NativePointer)
40909 Ark_NativePointer impl_RichEditorBaseController_getFinalizer() {
40910         return GetAccessors()->getRichEditorBaseControllerAccessor()->getFinalizer();
40911 }
KOALA_INTEROP_DIRECT_0(RichEditorBaseController_getFinalizer,Ark_NativePointer)40912 KOALA_INTEROP_DIRECT_0(RichEditorBaseController_getFinalizer, Ark_NativePointer)
40913 Ark_Number impl_RichEditorBaseController_getCaretOffset(Ark_NativePointer thisPtr) {
40914         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40915         return GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretOffset(self);
40916 }
KOALA_INTEROP_DIRECT_1(RichEditorBaseController_getCaretOffset,KInteropNumber,Ark_NativePointer)40917 KOALA_INTEROP_DIRECT_1(RichEditorBaseController_getCaretOffset, KInteropNumber, Ark_NativePointer)
40918 Ark_Boolean impl_RichEditorBaseController_setCaretOffset(Ark_NativePointer thisPtr, KInteropNumber offset) {
40919         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40920         return GetAccessors()->getRichEditorBaseControllerAccessor()->setCaretOffset(self, (const Ark_Number*) (&offset));
40921 }
KOALA_INTEROP_DIRECT_2(RichEditorBaseController_setCaretOffset,Ark_Boolean,Ark_NativePointer,KInteropNumber)40922 KOALA_INTEROP_DIRECT_2(RichEditorBaseController_setCaretOffset, Ark_Boolean, Ark_NativePointer, KInteropNumber)
40923 void impl_RichEditorBaseController_closeSelectionMenu(Ark_NativePointer thisPtr) {
40924         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40925         GetAccessors()->getRichEditorBaseControllerAccessor()->closeSelectionMenu(self);
40926 }
KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_closeSelectionMenu,Ark_NativePointer)40927 KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_closeSelectionMenu, Ark_NativePointer)
40928 KInteropReturnBuffer impl_RichEditorBaseController_getTypingStyle(Ark_NativePointer thisPtr) {
40929         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40930         const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getTypingStyle(self);
40931         Serializer _retSerializer {};
40932         _retSerializer.writeRichEditorTextStyle(retValue);
40933         return _retSerializer.toReturnBuffer();
40934 }
KOALA_INTEROP_1(RichEditorBaseController_getTypingStyle,KInteropReturnBuffer,Ark_NativePointer)40935 KOALA_INTEROP_1(RichEditorBaseController_getTypingStyle, KInteropReturnBuffer, Ark_NativePointer)
40936 void impl_RichEditorBaseController_setTypingStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
40937         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40938         Deserializer thisDeserializer(thisArray, thisLength);
40939         Ark_RichEditorTextStyle value_value = thisDeserializer.readRichEditorTextStyle();;
40940         GetAccessors()->getRichEditorBaseControllerAccessor()->setTypingStyle(self, (const Ark_RichEditorTextStyle*)&value_value);
40941 }
KOALA_INTEROP_DIRECT_V3(RichEditorBaseController_setTypingStyle,Ark_NativePointer,KSerializerBuffer,int32_t)40942 KOALA_INTEROP_DIRECT_V3(RichEditorBaseController_setTypingStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
40943 void impl_RichEditorBaseController_setSelection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd, KSerializerBuffer thisArray, int32_t thisLength) {
40944         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40945         Deserializer thisDeserializer(thisArray, thisLength);
40946         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
40947         Opt_SelectionOptions options_value_buf = {};
40948         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
40949         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
40950         {
40951             options_value_buf.value = thisDeserializer.readSelectionOptions();
40952         }
40953         Opt_SelectionOptions options_value = options_value_buf;;
40954         GetAccessors()->getRichEditorBaseControllerAccessor()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value);
40955 }
KOALA_INTEROP_DIRECT_V5(RichEditorBaseController_setSelection,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)40956 KOALA_INTEROP_DIRECT_V5(RichEditorBaseController_setSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
40957 Ark_Boolean impl_RichEditorBaseController_isEditing(Ark_NativePointer thisPtr) {
40958         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40959         return GetAccessors()->getRichEditorBaseControllerAccessor()->isEditing(self);
40960 }
KOALA_INTEROP_DIRECT_1(RichEditorBaseController_isEditing,Ark_Boolean,Ark_NativePointer)40961 KOALA_INTEROP_DIRECT_1(RichEditorBaseController_isEditing, Ark_Boolean, Ark_NativePointer)
40962 void impl_RichEditorBaseController_stopEditing(Ark_NativePointer thisPtr) {
40963         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40964         GetAccessors()->getRichEditorBaseControllerAccessor()->stopEditing(self);
40965 }
KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_stopEditing,Ark_NativePointer)40966 KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_stopEditing, Ark_NativePointer)
40967 Ark_NativePointer impl_RichEditorBaseController_getLayoutManager(Ark_NativePointer thisPtr) {
40968         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40969         return GetAccessors()->getRichEditorBaseControllerAccessor()->getLayoutManager(self);
40970 }
KOALA_INTEROP_DIRECT_1(RichEditorBaseController_getLayoutManager,Ark_NativePointer,Ark_NativePointer)40971 KOALA_INTEROP_DIRECT_1(RichEditorBaseController_getLayoutManager, Ark_NativePointer, Ark_NativePointer)
40972 KInteropReturnBuffer impl_RichEditorBaseController_getPreviewText(Ark_NativePointer thisPtr) {
40973         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40974         const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getPreviewText(self);
40975         Serializer _retSerializer {};
40976         _retSerializer.writePreviewText(retValue);
40977         return _retSerializer.toReturnBuffer();
40978 }
KOALA_INTEROP_1(RichEditorBaseController_getPreviewText,KInteropReturnBuffer,Ark_NativePointer)40979 KOALA_INTEROP_1(RichEditorBaseController_getPreviewText, KInteropReturnBuffer, Ark_NativePointer)
40980 KInteropReturnBuffer impl_RichEditorBaseController_getCaretRect(Ark_NativePointer thisPtr) {
40981         Ark_RichEditorBaseController self = reinterpret_cast<Ark_RichEditorBaseController>(thisPtr);
40982         const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretRect(self);
40983         Serializer _retSerializer {};
40984         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
40985         retValue_type = runtimeType(retValue);
40986         _retSerializer.writeInt8(retValue_type);
40987         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
40988             const auto retValue_value = retValue.value;
40989             _retSerializer.writeRectResult(retValue_value);
40990         }
40991         return _retSerializer.toReturnBuffer();
40992 }
KOALA_INTEROP_1(RichEditorBaseController_getCaretRect,KInteropReturnBuffer,Ark_NativePointer)40993 KOALA_INTEROP_1(RichEditorBaseController_getCaretRect, KInteropReturnBuffer, Ark_NativePointer)
40994 Ark_NativePointer impl_RichEditorController_ctor() {
40995         return GetAccessors()->getRichEditorControllerAccessor()->ctor();
40996 }
KOALA_INTEROP_DIRECT_0(RichEditorController_ctor,Ark_NativePointer)40997 KOALA_INTEROP_DIRECT_0(RichEditorController_ctor, Ark_NativePointer)
40998 Ark_NativePointer impl_RichEditorController_getFinalizer() {
40999         return GetAccessors()->getRichEditorControllerAccessor()->getFinalizer();
41000 }
KOALA_INTEROP_DIRECT_0(RichEditorController_getFinalizer,Ark_NativePointer)41001 KOALA_INTEROP_DIRECT_0(RichEditorController_getFinalizer, Ark_NativePointer)
41002 Ark_Number impl_RichEditorController_addTextSpan(Ark_NativePointer thisPtr, const KStringPtr& value, KSerializerBuffer thisArray, int32_t thisLength) {
41003         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41004         Deserializer thisDeserializer(thisArray, thisLength);
41005         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41006         Opt_RichEditorTextSpanOptions options_value_buf = {};
41007         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41008         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41009         {
41010             options_value_buf.value = thisDeserializer.readRichEditorTextSpanOptions();
41011         }
41012         Opt_RichEditorTextSpanOptions options_value = options_value_buf;;
41013         return GetAccessors()->getRichEditorControllerAccessor()->addTextSpan(self, (const Ark_String*) (&value), (const Opt_RichEditorTextSpanOptions*)&options_value);
41014 }
KOALA_INTEROP_4(RichEditorController_addTextSpan,KInteropNumber,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)41015 KOALA_INTEROP_4(RichEditorController_addTextSpan, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
41016 Ark_Number impl_RichEditorController_addImageSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41017         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41018         Deserializer thisDeserializer(thisArray, thisLength);
41019         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
41020         Ark_Union_PixelMap_ResourceStr value_value_buf = {};
41021         value_value_buf.selector = value_value_buf_selector;
41022         if (value_value_buf_selector == 0) {
41023             value_value_buf.selector = 0;
41024             value_value_buf.value0 = static_cast<Ark_PixelMap>(thisDeserializer.readPixelMap());
41025         }
41026         else if (value_value_buf_selector == 1) {
41027             value_value_buf.selector = 1;
41028             const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8();
41029             Ark_ResourceStr value_value_buf_u = {};
41030             value_value_buf_u.selector = value_value_buf_u_selector;
41031             if (value_value_buf_u_selector == 0) {
41032                 value_value_buf_u.selector = 0;
41033                 value_value_buf_u.value0 = static_cast<Ark_String>(thisDeserializer.readString());
41034             }
41035             else if (value_value_buf_u_selector == 1) {
41036                 value_value_buf_u.selector = 1;
41037                 value_value_buf_u.value1 = thisDeserializer.readResource();
41038             }
41039             else {
41040                 INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation.");
41041             }
41042             value_value_buf.value1 = static_cast<Ark_ResourceStr>(value_value_buf_u);
41043         }
41044         else {
41045             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
41046         }
41047         Ark_Union_PixelMap_ResourceStr value_value = static_cast<Ark_Union_PixelMap_ResourceStr>(value_value_buf);;
41048         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41049         Opt_RichEditorImageSpanOptions options_value_buf = {};
41050         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41051         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41052         {
41053             options_value_buf.value = thisDeserializer.readRichEditorImageSpanOptions();
41054         }
41055         Opt_RichEditorImageSpanOptions options_value = options_value_buf;;
41056         return GetAccessors()->getRichEditorControllerAccessor()->addImageSpan(self, (const Ark_Union_PixelMap_ResourceStr*)&value_value, (const Opt_RichEditorImageSpanOptions*)&options_value);
41057 }
KOALA_INTEROP_DIRECT_3(RichEditorController_addImageSpan,KInteropNumber,Ark_NativePointer,KSerializerBuffer,int32_t)41058 KOALA_INTEROP_DIRECT_3(RichEditorController_addImageSpan, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t)
41059 Ark_Number impl_RichEditorController_addBuilderSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41060         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41061         Deserializer thisDeserializer(thisArray, thisLength);
41062         CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativePointer parentNode, const Callback_Pointer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};;
41063         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41064         Opt_RichEditorBuilderSpanOptions options_value_buf = {};
41065         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41066         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41067         {
41068             options_value_buf.value = thisDeserializer.readRichEditorBuilderSpanOptions();
41069         }
41070         Opt_RichEditorBuilderSpanOptions options_value = options_value_buf;;
41071         return GetAccessors()->getRichEditorControllerAccessor()->addBuilderSpan(self, (const CustomNodeBuilder*)&value_value, (const Opt_RichEditorBuilderSpanOptions*)&options_value);
41072 }
KOALA_INTEROP_DIRECT_3(RichEditorController_addBuilderSpan,KInteropNumber,Ark_NativePointer,KSerializerBuffer,int32_t)41073 KOALA_INTEROP_DIRECT_3(RichEditorController_addBuilderSpan, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t)
41074 Ark_Number impl_RichEditorController_addSymbolSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41075         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41076         Deserializer thisDeserializer(thisArray, thisLength);
41077         Ark_Resource value_value = thisDeserializer.readResource();;
41078         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41079         Opt_RichEditorSymbolSpanOptions options_value_buf = {};
41080         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41081         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41082         {
41083             options_value_buf.value = thisDeserializer.readRichEditorSymbolSpanOptions();
41084         }
41085         Opt_RichEditorSymbolSpanOptions options_value = options_value_buf;;
41086         return GetAccessors()->getRichEditorControllerAccessor()->addSymbolSpan(self, (const Ark_Resource*)&value_value, (const Opt_RichEditorSymbolSpanOptions*)&options_value);
41087 }
KOALA_INTEROP_DIRECT_3(RichEditorController_addSymbolSpan,KInteropNumber,Ark_NativePointer,KSerializerBuffer,int32_t)41088 KOALA_INTEROP_DIRECT_3(RichEditorController_addSymbolSpan, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t)
41089 void impl_RichEditorController_updateSpanStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41090         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41091         Deserializer thisDeserializer(thisArray, thisLength);
41092         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
41093         Ark_Type_RichEditorController_updateSpanStyle_value value_value_buf = {};
41094         value_value_buf.selector = value_value_buf_selector;
41095         if (value_value_buf_selector == 0) {
41096             value_value_buf.selector = 0;
41097             value_value_buf.value0 = thisDeserializer.readRichEditorUpdateTextSpanStyleOptions();
41098         }
41099         else if (value_value_buf_selector == 1) {
41100             value_value_buf.selector = 1;
41101             value_value_buf.value1 = thisDeserializer.readRichEditorUpdateImageSpanStyleOptions();
41102         }
41103         else if (value_value_buf_selector == 2) {
41104             value_value_buf.selector = 2;
41105             value_value_buf.value2 = thisDeserializer.readRichEditorUpdateSymbolSpanStyleOptions();
41106         }
41107         else {
41108             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
41109         }
41110         Ark_Type_RichEditorController_updateSpanStyle_value value_value = static_cast<Ark_Type_RichEditorController_updateSpanStyle_value>(value_value_buf);;
41111         GetAccessors()->getRichEditorControllerAccessor()->updateSpanStyle(self, (const Ark_Type_RichEditorController_updateSpanStyle_value*)&value_value);
41112 }
KOALA_INTEROP_DIRECT_V3(RichEditorController_updateSpanStyle,Ark_NativePointer,KSerializerBuffer,int32_t)41113 KOALA_INTEROP_DIRECT_V3(RichEditorController_updateSpanStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
41114 void impl_RichEditorController_updateParagraphStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41115         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41116         Deserializer thisDeserializer(thisArray, thisLength);
41117         Ark_RichEditorParagraphStyleOptions value_value = thisDeserializer.readRichEditorParagraphStyleOptions();;
41118         GetAccessors()->getRichEditorControllerAccessor()->updateParagraphStyle(self, (const Ark_RichEditorParagraphStyleOptions*)&value_value);
41119 }
KOALA_INTEROP_DIRECT_V3(RichEditorController_updateParagraphStyle,Ark_NativePointer,KSerializerBuffer,int32_t)41120 KOALA_INTEROP_DIRECT_V3(RichEditorController_updateParagraphStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
41121 void impl_RichEditorController_deleteSpans(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41122         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41123         Deserializer thisDeserializer(thisArray, thisLength);
41124         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41125         Opt_RichEditorRange value_value_buf = {};
41126         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41127         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
41128         {
41129             value_value_buf.value = thisDeserializer.readRichEditorRange();
41130         }
41131         Opt_RichEditorRange value_value = value_value_buf;;
41132         GetAccessors()->getRichEditorControllerAccessor()->deleteSpans(self, (const Opt_RichEditorRange*)&value_value);
41133 }
KOALA_INTEROP_DIRECT_V3(RichEditorController_deleteSpans,Ark_NativePointer,KSerializerBuffer,int32_t)41134 KOALA_INTEROP_DIRECT_V3(RichEditorController_deleteSpans, Ark_NativePointer, KSerializerBuffer, int32_t)
41135 KInteropReturnBuffer impl_RichEditorController_getSpans(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41136         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41137         Deserializer thisDeserializer(thisArray, thisLength);
41138         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41139         Opt_RichEditorRange value_value_buf = {};
41140         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41141         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
41142         {
41143             value_value_buf.value = thisDeserializer.readRichEditorRange();
41144         }
41145         Opt_RichEditorRange value_value = value_value_buf;;
41146         const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSpans(self, (const Opt_RichEditorRange*)&value_value);
41147         Serializer _retSerializer {};
41148         _retSerializer.writeInt32(retValue.length);
41149         for (int i = 0; i < retValue.length; i++) {
41150             const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult retValue_element = retValue.array[i];
41151             Ark_Int32 retValue_element_type = INTEROP_RUNTIME_UNDEFINED;
41152             retValue_element_type = retValue_element.selector;
41153             if (retValue_element_type == 0) {
41154                 _retSerializer.writeInt8(0);
41155                 const auto retValue_element_0 = retValue_element.value0;
41156                 _retSerializer.writeRichEditorImageSpanResult(retValue_element_0);
41157             }
41158             else if (retValue_element_type == 1) {
41159                 _retSerializer.writeInt8(1);
41160                 const auto retValue_element_1 = retValue_element.value1;
41161                 _retSerializer.writeRichEditorTextSpanResult(retValue_element_1);
41162             }
41163         }
41164         return _retSerializer.toReturnBuffer();
41165 }
KOALA_INTEROP_3(RichEditorController_getSpans,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)41166 KOALA_INTEROP_3(RichEditorController_getSpans, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
41167 KInteropReturnBuffer impl_RichEditorController_getParagraphs(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41168         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41169         Deserializer thisDeserializer(thisArray, thisLength);
41170         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41171         Opt_RichEditorRange value_value_buf = {};
41172         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41173         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
41174         {
41175             value_value_buf.value = thisDeserializer.readRichEditorRange();
41176         }
41177         Opt_RichEditorRange value_value = value_value_buf;;
41178         const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getParagraphs(self, (const Opt_RichEditorRange*)&value_value);
41179         Serializer _retSerializer {};
41180         _retSerializer.writeInt32(retValue.length);
41181         for (int i = 0; i < retValue.length; i++) {
41182             const Ark_RichEditorParagraphResult retValue_element = retValue.array[i];
41183             _retSerializer.writeRichEditorParagraphResult(retValue_element);
41184         }
41185         return _retSerializer.toReturnBuffer();
41186 }
KOALA_INTEROP_3(RichEditorController_getParagraphs,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)41187 KOALA_INTEROP_3(RichEditorController_getParagraphs, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
41188 KInteropReturnBuffer impl_RichEditorController_getSelection(Ark_NativePointer thisPtr) {
41189         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41190         const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSelection(self);
41191         Serializer _retSerializer {};
41192         _retSerializer.writeRichEditorSelection(retValue);
41193         return _retSerializer.toReturnBuffer();
41194 }
KOALA_INTEROP_1(RichEditorController_getSelection,KInteropReturnBuffer,Ark_NativePointer)41195 KOALA_INTEROP_1(RichEditorController_getSelection, KInteropReturnBuffer, Ark_NativePointer)
41196 KInteropReturnBuffer impl_RichEditorController_fromStyledString(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer value) {
41197         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41198         const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->fromStyledString(reinterpret_cast<Ark_VMContext>(vmContext), self, static_cast<Ark_StyledString>(value));
41199         Serializer _retSerializer {};
41200         _retSerializer.writeInt32(retValue.length);
41201         for (int i = 0; i < retValue.length; i++) {
41202             const Ark_RichEditorSpan retValue_element = retValue.array[i];
41203             Ark_Int32 retValue_element_type = INTEROP_RUNTIME_UNDEFINED;
41204             retValue_element_type = retValue_element.selector;
41205             if (retValue_element_type == 0) {
41206                 _retSerializer.writeInt8(0);
41207                 const auto retValue_element_0 = retValue_element.value0;
41208                 _retSerializer.writeRichEditorImageSpanResult(retValue_element_0);
41209             }
41210             else if (retValue_element_type == 1) {
41211                 _retSerializer.writeInt8(1);
41212                 const auto retValue_element_1 = retValue_element.value1;
41213                 _retSerializer.writeRichEditorTextSpanResult(retValue_element_1);
41214             }
41215         }
41216         return _retSerializer.toReturnBuffer();
41217 }
KOALA_INTEROP_CTX_2(RichEditorController_fromStyledString,KInteropReturnBuffer,Ark_NativePointer,Ark_NativePointer)41218 KOALA_INTEROP_CTX_2(RichEditorController_fromStyledString, KInteropReturnBuffer, Ark_NativePointer, Ark_NativePointer)
41219 Ark_NativePointer impl_RichEditorController_toStyledString(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41220         Ark_RichEditorController self = reinterpret_cast<Ark_RichEditorController>(thisPtr);
41221         Deserializer thisDeserializer(thisArray, thisLength);
41222         Ark_RichEditorRange value_value = thisDeserializer.readRichEditorRange();;
41223         return GetAccessors()->getRichEditorControllerAccessor()->toStyledString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_RichEditorRange*)&value_value);
41224 }
KOALA_INTEROP_CTX_3(RichEditorController_toStyledString,Ark_NativePointer,Ark_NativePointer,KSerializerBuffer,int32_t)41225 KOALA_INTEROP_CTX_3(RichEditorController_toStyledString, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t)
41226 Ark_NativePointer impl_RichEditorStyledStringController_ctor() {
41227         return GetAccessors()->getRichEditorStyledStringControllerAccessor()->ctor();
41228 }
KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_ctor,Ark_NativePointer)41229 KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_ctor, Ark_NativePointer)
41230 Ark_NativePointer impl_RichEditorStyledStringController_getFinalizer() {
41231         return GetAccessors()->getRichEditorStyledStringControllerAccessor()->getFinalizer();
41232 }
KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_getFinalizer,Ark_NativePointer)41233 KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_getFinalizer, Ark_NativePointer)
41234 void impl_RichEditorStyledStringController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer styledString) {
41235         Ark_RichEditorStyledStringController self = reinterpret_cast<Ark_RichEditorStyledStringController>(thisPtr);
41236         GetAccessors()->getRichEditorStyledStringControllerAccessor()->setStyledString(self, static_cast<Ark_StyledString>(styledString));
41237 }
KOALA_INTEROP_DIRECT_V2(RichEditorStyledStringController_setStyledString,Ark_NativePointer,Ark_NativePointer)41238 KOALA_INTEROP_DIRECT_V2(RichEditorStyledStringController_setStyledString, Ark_NativePointer, Ark_NativePointer)
41239 Ark_NativePointer impl_RichEditorStyledStringController_getStyledString(Ark_NativePointer thisPtr) {
41240         Ark_RichEditorStyledStringController self = reinterpret_cast<Ark_RichEditorStyledStringController>(thisPtr);
41241         return GetAccessors()->getRichEditorStyledStringControllerAccessor()->getStyledString(self);
41242 }
KOALA_INTEROP_DIRECT_1(RichEditorStyledStringController_getStyledString,Ark_NativePointer,Ark_NativePointer)41243 KOALA_INTEROP_DIRECT_1(RichEditorStyledStringController_getStyledString, Ark_NativePointer, Ark_NativePointer)
41244 KInteropReturnBuffer impl_RichEditorStyledStringController_getSelection(Ark_NativePointer thisPtr) {
41245         Ark_RichEditorStyledStringController self = reinterpret_cast<Ark_RichEditorStyledStringController>(thisPtr);
41246         const auto &retValue = GetAccessors()->getRichEditorStyledStringControllerAccessor()->getSelection(self);
41247         Serializer _retSerializer {};
41248         _retSerializer.writeRichEditorRange(retValue);
41249         return _retSerializer.toReturnBuffer();
41250 }
KOALA_INTEROP_1(RichEditorStyledStringController_getSelection,KInteropReturnBuffer,Ark_NativePointer)41251 KOALA_INTEROP_1(RichEditorStyledStringController_getSelection, KInteropReturnBuffer, Ark_NativePointer)
41252 void impl_RichEditorStyledStringController_onContentChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41253         Ark_RichEditorStyledStringController self = reinterpret_cast<Ark_RichEditorStyledStringController>(thisPtr);
41254         Deserializer thisDeserializer(thisArray, thisLength);
41255         Ark_StyledStringChangedListener listener_value = thisDeserializer.readStyledStringChangedListener();;
41256         GetAccessors()->getRichEditorStyledStringControllerAccessor()->onContentChanged(self, (const Ark_StyledStringChangedListener*)&listener_value);
41257 }
KOALA_INTEROP_DIRECT_V3(RichEditorStyledStringController_onContentChanged,Ark_NativePointer,KSerializerBuffer,int32_t)41258 KOALA_INTEROP_DIRECT_V3(RichEditorStyledStringController_onContentChanged, Ark_NativePointer, KSerializerBuffer, int32_t)
41259 Ark_NativePointer impl_Scroller_ctor() {
41260         return GetAccessors()->getScrollerAccessor()->ctor();
41261 }
KOALA_INTEROP_DIRECT_0(Scroller_ctor,Ark_NativePointer)41262 KOALA_INTEROP_DIRECT_0(Scroller_ctor, Ark_NativePointer)
41263 Ark_NativePointer impl_Scroller_getFinalizer() {
41264         return GetAccessors()->getScrollerAccessor()->getFinalizer();
41265 }
KOALA_INTEROP_DIRECT_0(Scroller_getFinalizer,Ark_NativePointer)41266 KOALA_INTEROP_DIRECT_0(Scroller_getFinalizer, Ark_NativePointer)
41267 void impl_Scroller_scrollTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41268         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41269         Deserializer thisDeserializer(thisArray, thisLength);
41270         Ark_ScrollOptions options_value = thisDeserializer.readScrollOptions();;
41271         GetAccessors()->getScrollerAccessor()->scrollTo(self, (const Ark_ScrollOptions*)&options_value);
41272 }
KOALA_INTEROP_DIRECT_V3(Scroller_scrollTo,Ark_NativePointer,KSerializerBuffer,int32_t)41273 KOALA_INTEROP_DIRECT_V3(Scroller_scrollTo, Ark_NativePointer, KSerializerBuffer, int32_t)
41274 void impl_Scroller_scrollEdge(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) {
41275         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41276         Deserializer thisDeserializer(thisArray, thisLength);
41277         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41278         Opt_ScrollEdgeOptions options_value_buf = {};
41279         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41280         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41281         {
41282             options_value_buf.value = thisDeserializer.readScrollEdgeOptions();
41283         }
41284         Opt_ScrollEdgeOptions options_value = options_value_buf;;
41285         GetAccessors()->getScrollerAccessor()->scrollEdge(self, static_cast<Ark_Edge>(value), (const Opt_ScrollEdgeOptions*)&options_value);
41286 }
KOALA_INTEROP_DIRECT_V4(Scroller_scrollEdge,Ark_NativePointer,Ark_Int32,KSerializerBuffer,int32_t)41287 KOALA_INTEROP_DIRECT_V4(Scroller_scrollEdge, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t)
41288 void impl_Scroller_fling(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber velocity) {
41289         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41290         GetAccessors()->getScrollerAccessor()->fling(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&velocity));
41291 }
KOALA_INTEROP_CTX_V2(Scroller_fling,Ark_NativePointer,KInteropNumber)41292 KOALA_INTEROP_CTX_V2(Scroller_fling, Ark_NativePointer, KInteropNumber)
41293 void impl_Scroller_scrollPage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41294         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41295         Deserializer thisDeserializer(thisArray, thisLength);
41296         Ark_ScrollPageOptions value_value = thisDeserializer.readScrollPageOptions();;
41297         GetAccessors()->getScrollerAccessor()->scrollPage0(self, (const Ark_ScrollPageOptions*)&value_value);
41298 }
KOALA_INTEROP_DIRECT_V3(Scroller_scrollPage0,Ark_NativePointer,KSerializerBuffer,int32_t)41299 KOALA_INTEROP_DIRECT_V3(Scroller_scrollPage0, Ark_NativePointer, KSerializerBuffer, int32_t)
41300 void impl_Scroller_scrollPage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41301         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41302         Deserializer thisDeserializer(thisArray, thisLength);
41303         Ark_Literal_Boolean_next_Axis_direction value_value_buf = {};
41304         value_value_buf.next = thisDeserializer.readBoolean();
41305         const auto value_value_buf_direction_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41306         Opt_Axis value_value_buf_direction_buf = {};
41307         value_value_buf_direction_buf.tag = value_value_buf_direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41308         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_direction_buf_runtimeType))
41309         {
41310             value_value_buf_direction_buf.value = static_cast<Ark_Axis>(thisDeserializer.readInt32());
41311         }
41312         value_value_buf.direction = value_value_buf_direction_buf;
41313         Ark_Literal_Boolean_next_Axis_direction value_value = value_value_buf;;
41314         GetAccessors()->getScrollerAccessor()->scrollPage1(self, (const Ark_Literal_Boolean_next_Axis_direction*)&value_value);
41315 }
KOALA_INTEROP_DIRECT_V3(Scroller_scrollPage1,Ark_NativePointer,KSerializerBuffer,int32_t)41316 KOALA_INTEROP_DIRECT_V3(Scroller_scrollPage1, Ark_NativePointer, KSerializerBuffer, int32_t)
41317 KInteropReturnBuffer impl_Scroller_currentOffset(Ark_NativePointer thisPtr) {
41318         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41319         const auto &retValue = GetAccessors()->getScrollerAccessor()->currentOffset(self);
41320         Serializer _retSerializer {};
41321         _retSerializer.writeOffsetResult(retValue);
41322         return _retSerializer.toReturnBuffer();
41323 }
KOALA_INTEROP_1(Scroller_currentOffset,KInteropReturnBuffer,Ark_NativePointer)41324 KOALA_INTEROP_1(Scroller_currentOffset, KInteropReturnBuffer, Ark_NativePointer)
41325 void impl_Scroller_scrollToIndex(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) {
41326         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41327         Deserializer thisDeserializer(thisArray, thisLength);
41328         const auto smooth_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41329         Opt_Boolean smooth_value_buf = {};
41330         smooth_value_buf.tag = smooth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41331         if ((INTEROP_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType))
41332         {
41333             smooth_value_buf.value = thisDeserializer.readBoolean();
41334         }
41335         Opt_Boolean smooth_value = smooth_value_buf;;
41336         const auto align_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41337         Opt_ScrollAlign align_value_buf = {};
41338         align_value_buf.tag = align_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41339         if ((INTEROP_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType))
41340         {
41341             align_value_buf.value = static_cast<Ark_ScrollAlign>(thisDeserializer.readInt32());
41342         }
41343         Opt_ScrollAlign align_value = align_value_buf;;
41344         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41345         Opt_ScrollToIndexOptions options_value_buf = {};
41346         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41347         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41348         {
41349             options_value_buf.value = thisDeserializer.readScrollToIndexOptions();
41350         }
41351         Opt_ScrollToIndexOptions options_value = options_value_buf;;
41352         GetAccessors()->getScrollerAccessor()->scrollToIndex(self, (const Ark_Number*) (&value), (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value, (const Opt_ScrollToIndexOptions*)&options_value);
41353 }
KOALA_INTEROP_DIRECT_V4(Scroller_scrollToIndex,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)41354 KOALA_INTEROP_DIRECT_V4(Scroller_scrollToIndex, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
41355 void impl_Scroller_scrollBy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41356         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41357 
41358         Deserializer thisDeserializer(thisArray, thisLength);
41359         const auto dx_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41360         Opt_Length dx_value_buf = {};
41361         dx_value_buf.tag = dx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41362         if ((INTEROP_RUNTIME_UNDEFINED) != (dx_value_buf_runtimeType)) {
41363             dx_value_buf.value = thisDeserializer.readLength();
41364         }
41365         Opt_Length dx_value = dx_value_buf;;
41366 
41367         const auto dy_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41368         Opt_Length dy_value_buf = {};
41369         dy_value_buf.tag = dy_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41370         if ((INTEROP_RUNTIME_UNDEFINED) != (dy_value_buf_runtimeType)) {
41371             dy_value_buf.value = thisDeserializer.readLength();
41372         }
41373         Opt_Length dy_value = dy_value_buf;;
41374         GetAccessors()->getScrollerAccessor()->scrollBy(self, (const Opt_Length*)&dx_value, (const Opt_Length*)&dy_value);
41375 }
KOALA_INTEROP_DIRECT_V3(Scroller_scrollBy,Ark_NativePointer,KSerializerBuffer,int32_t)41376 KOALA_INTEROP_DIRECT_V3(Scroller_scrollBy, Ark_NativePointer, KSerializerBuffer, int32_t)
41377 Ark_Boolean impl_Scroller_isAtEnd(Ark_NativePointer thisPtr) {
41378         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41379         return GetAccessors()->getScrollerAccessor()->isAtEnd(self);
41380 }
KOALA_INTEROP_DIRECT_1(Scroller_isAtEnd,Ark_Boolean,Ark_NativePointer)41381 KOALA_INTEROP_DIRECT_1(Scroller_isAtEnd, Ark_Boolean, Ark_NativePointer)
41382 KInteropReturnBuffer impl_Scroller_getItemRect(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index) {
41383         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41384         const auto &retValue = GetAccessors()->getScrollerAccessor()->getItemRect(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&index));
41385         Serializer _retSerializer {};
41386         _retSerializer.writeRectResult(retValue);
41387         return _retSerializer.toReturnBuffer();
41388 }
KOALA_INTEROP_CTX_2(Scroller_getItemRect,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber)41389 KOALA_INTEROP_CTX_2(Scroller_getItemRect, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber)
41390 Ark_Number impl_Scroller_getItemIndex(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
41391         Ark_Scroller self = reinterpret_cast<Ark_Scroller>(thisPtr);
41392         return GetAccessors()->getScrollerAccessor()->getItemIndex(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
41393 }
KOALA_INTEROP_CTX_3(Scroller_getItemIndex,KInteropNumber,Ark_NativePointer,KInteropNumber,KInteropNumber)41394 KOALA_INTEROP_CTX_3(Scroller_getItemIndex, KInteropNumber, Ark_NativePointer, KInteropNumber, KInteropNumber)
41395 Ark_NativePointer impl_SearchController_ctor() {
41396         return GetAccessors()->getSearchControllerAccessor()->ctor();
41397 }
KOALA_INTEROP_DIRECT_0(SearchController_ctor,Ark_NativePointer)41398 KOALA_INTEROP_DIRECT_0(SearchController_ctor, Ark_NativePointer)
41399 Ark_NativePointer impl_SearchController_getFinalizer() {
41400         return GetAccessors()->getSearchControllerAccessor()->getFinalizer();
41401 }
KOALA_INTEROP_DIRECT_0(SearchController_getFinalizer,Ark_NativePointer)41402 KOALA_INTEROP_DIRECT_0(SearchController_getFinalizer, Ark_NativePointer)
41403 void impl_SearchController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) {
41404         Ark_SearchController self = reinterpret_cast<Ark_SearchController>(thisPtr);
41405         GetAccessors()->getSearchControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value));
41406 }
KOALA_INTEROP_DIRECT_V2(SearchController_caretPosition,Ark_NativePointer,KInteropNumber)41407 KOALA_INTEROP_DIRECT_V2(SearchController_caretPosition, Ark_NativePointer, KInteropNumber)
41408 void impl_SearchController_stopEditing(Ark_NativePointer thisPtr) {
41409         Ark_SearchController self = reinterpret_cast<Ark_SearchController>(thisPtr);
41410         GetAccessors()->getSearchControllerAccessor()->stopEditing(self);
41411 }
KOALA_INTEROP_DIRECT_V1(SearchController_stopEditing,Ark_NativePointer)41412 KOALA_INTEROP_DIRECT_V1(SearchController_stopEditing, Ark_NativePointer)
41413 void impl_SearchController_setTextSelection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd, KSerializerBuffer thisArray, int32_t thisLength) {
41414         Ark_SearchController self = reinterpret_cast<Ark_SearchController>(thisPtr);
41415         Deserializer thisDeserializer(thisArray, thisLength);
41416         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41417         Opt_SelectionOptions options_value_buf = {};
41418         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41419         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
41420         {
41421             options_value_buf.value = thisDeserializer.readSelectionOptions();
41422         }
41423         Opt_SelectionOptions options_value = options_value_buf;;
41424         GetAccessors()->getSearchControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value);
41425 }
KOALA_INTEROP_DIRECT_V5(SearchController_setTextSelection,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)41426 KOALA_INTEROP_DIRECT_V5(SearchController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
41427 Ark_NativePointer impl_MenuItemConfiguration_ctor() {
41428         return GetAccessors()->getMenuItemConfigurationAccessor()->ctor();
41429 }
KOALA_INTEROP_DIRECT_0(MenuItemConfiguration_ctor,Ark_NativePointer)41430 KOALA_INTEROP_DIRECT_0(MenuItemConfiguration_ctor, Ark_NativePointer)
41431 Ark_NativePointer impl_MenuItemConfiguration_getFinalizer() {
41432         return GetAccessors()->getMenuItemConfigurationAccessor()->getFinalizer();
41433 }
KOALA_INTEROP_DIRECT_0(MenuItemConfiguration_getFinalizer,Ark_NativePointer)41434 KOALA_INTEROP_DIRECT_0(MenuItemConfiguration_getFinalizer, Ark_NativePointer)
41435 void impl_MenuItemConfiguration_triggerSelect(Ark_NativePointer thisPtr, KInteropNumber index, const KStringPtr& value) {
41436         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41437         GetAccessors()->getMenuItemConfigurationAccessor()->triggerSelect(self, (const Ark_Number*) (&index), (const Ark_String*) (&value));
41438 }
KOALA_INTEROP_V3(MenuItemConfiguration_triggerSelect,Ark_NativePointer,KInteropNumber,KStringPtr)41439 KOALA_INTEROP_V3(MenuItemConfiguration_triggerSelect, Ark_NativePointer, KInteropNumber, KStringPtr)
41440 Ark_Boolean impl_MenuItemConfiguration_getEnabled(Ark_NativePointer thisPtr) {
41441         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41442         return GetAccessors()->getMenuItemConfigurationAccessor()->getEnabled(self);
41443 }
KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getEnabled,Ark_Boolean,Ark_NativePointer)41444 KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getEnabled, Ark_Boolean, Ark_NativePointer)
41445 void impl_MenuItemConfiguration_setEnabled(Ark_NativePointer thisPtr, Ark_Boolean enabled) {
41446         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41447         GetAccessors()->getMenuItemConfigurationAccessor()->setEnabled(self, enabled);
41448 }
KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setEnabled,Ark_NativePointer,Ark_Boolean)41449 KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setEnabled, Ark_NativePointer, Ark_Boolean)
41450 KInteropReturnBuffer impl_MenuItemConfiguration_getContentModifier(Ark_NativePointer thisPtr) {
41451         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41452         const auto &retValue = GetAccessors()->getMenuItemConfigurationAccessor()->getContentModifier(self);
41453         Serializer _retSerializer {};
41454         _retSerializer.writeObject(retValue);
41455         return _retSerializer.toReturnBuffer();
41456 }
KOALA_INTEROP_1(MenuItemConfiguration_getContentModifier,KInteropReturnBuffer,Ark_NativePointer)41457 KOALA_INTEROP_1(MenuItemConfiguration_getContentModifier, KInteropReturnBuffer, Ark_NativePointer)
41458 void impl_MenuItemConfiguration_setContentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41459         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41460         Deserializer thisDeserializer(thisArray, thisLength);
41461         Ark_Object contentModifier_value = static_cast<Ark_ContentModifier>(thisDeserializer.readObject());;
41462         GetAccessors()->getMenuItemConfigurationAccessor()->setContentModifier(self, (const Ark_Object*)&contentModifier_value);
41463 }
KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setContentModifier,Ark_NativePointer,KSerializerBuffer,int32_t)41464 KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setContentModifier, Ark_NativePointer, KSerializerBuffer, int32_t)
41465 void impl_MenuItemConfiguration_getValue(Ark_NativePointer thisPtr) {
41466         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41467         GetAccessors()->getMenuItemConfigurationAccessor()->getValue(self);
41468 }
KOALA_INTEROP_DIRECT_V1(MenuItemConfiguration_getValue,Ark_NativePointer)41469 KOALA_INTEROP_DIRECT_V1(MenuItemConfiguration_getValue, Ark_NativePointer)
41470 void impl_MenuItemConfiguration_setValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41471         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41472         Deserializer thisDeserializer(thisArray, thisLength);
41473         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
41474         Ark_ResourceStr value_value_buf = {};
41475         value_value_buf.selector = value_value_buf_selector;
41476         if (value_value_buf_selector == 0) {
41477             value_value_buf.selector = 0;
41478             value_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
41479         }
41480         else if (value_value_buf_selector == 1) {
41481             value_value_buf.selector = 1;
41482             value_value_buf.value1 = thisDeserializer.readResource();
41483         }
41484         else {
41485             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
41486         }
41487         Ark_ResourceStr value_value = static_cast<Ark_ResourceStr>(value_value_buf);;
41488         GetAccessors()->getMenuItemConfigurationAccessor()->setValue(self, (const Ark_ResourceStr*)&value_value);
41489 }
KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setValue,Ark_NativePointer,KSerializerBuffer,int32_t)41490 KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setValue, Ark_NativePointer, KSerializerBuffer, int32_t)
41491 KInteropReturnBuffer impl_MenuItemConfiguration_getIcon(Ark_NativePointer thisPtr) {
41492         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41493         const auto &retValue = GetAccessors()->getMenuItemConfigurationAccessor()->getIcon(self);
41494         Serializer _retSerializer {};
41495         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41496         retValue_type = runtimeType(retValue);
41497         _retSerializer.writeInt8(retValue_type);
41498         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41499             const auto retValue_value = retValue.value;
41500             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
41501             retValue_value_type = retValue_value.selector;
41502             if (retValue_value_type == 0) {
41503                 _retSerializer.writeInt8(0);
41504                 const auto retValue_value_0 = retValue_value.value0;
41505                 _retSerializer.writeString(retValue_value_0);
41506             }
41507             else if (retValue_value_type == 1) {
41508                 _retSerializer.writeInt8(1);
41509                 const auto retValue_value_1 = retValue_value.value1;
41510                 _retSerializer.writeResource(retValue_value_1);
41511             }
41512         }
41513         return _retSerializer.toReturnBuffer();
41514 }
KOALA_INTEROP_1(MenuItemConfiguration_getIcon,KInteropReturnBuffer,Ark_NativePointer)41515 KOALA_INTEROP_1(MenuItemConfiguration_getIcon, KInteropReturnBuffer, Ark_NativePointer)
41516 void impl_MenuItemConfiguration_setIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41517         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41518         Deserializer thisDeserializer(thisArray, thisLength);
41519         const Ark_Int8 icon_value_buf_selector = thisDeserializer.readInt8();
41520         Ark_ResourceStr icon_value_buf = {};
41521         icon_value_buf.selector = icon_value_buf_selector;
41522         if (icon_value_buf_selector == 0) {
41523             icon_value_buf.selector = 0;
41524             icon_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
41525         }
41526         else if (icon_value_buf_selector == 1) {
41527             icon_value_buf.selector = 1;
41528             icon_value_buf.value1 = thisDeserializer.readResource();
41529         }
41530         else {
41531             INTEROP_FATAL("One of the branches for icon_value_buf has to be chosen through deserialisation.");
41532         }
41533         Ark_ResourceStr icon_value = static_cast<Ark_ResourceStr>(icon_value_buf);;
41534         GetAccessors()->getMenuItemConfigurationAccessor()->setIcon(self, (const Ark_ResourceStr*)&icon_value);
41535 }
KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setIcon,Ark_NativePointer,KSerializerBuffer,int32_t)41536 KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
41537 KInteropReturnBuffer impl_MenuItemConfiguration_getSymbolIcon(Ark_NativePointer thisPtr) {
41538         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41539         const auto &retValue = GetAccessors()->getMenuItemConfigurationAccessor()->getSymbolIcon(self);
41540         Serializer _retSerializer {};
41541         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41542         retValue_type = runtimeType(retValue);
41543         _retSerializer.writeInt8(retValue_type);
41544         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41545             const auto retValue_value = retValue.value;
41546             _retSerializer.writeSymbolGlyphModifier(retValue_value);
41547         }
41548         return _retSerializer.toReturnBuffer();
41549 }
KOALA_INTEROP_1(MenuItemConfiguration_getSymbolIcon,KInteropReturnBuffer,Ark_NativePointer)41550 KOALA_INTEROP_1(MenuItemConfiguration_getSymbolIcon, KInteropReturnBuffer, Ark_NativePointer)
41551 void impl_MenuItemConfiguration_setSymbolIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41552         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41553         Deserializer thisDeserializer(thisArray, thisLength);
41554         Ark_SymbolGlyphModifier symbolIcon_value = thisDeserializer.readSymbolGlyphModifier();;
41555         GetAccessors()->getMenuItemConfigurationAccessor()->setSymbolIcon(self, (const Ark_SymbolGlyphModifier*)&symbolIcon_value);
41556 }
KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setSymbolIcon,Ark_NativePointer,KSerializerBuffer,int32_t)41557 KOALA_INTEROP_DIRECT_V3(MenuItemConfiguration_setSymbolIcon, Ark_NativePointer, KSerializerBuffer, int32_t)
41558 Ark_Boolean impl_MenuItemConfiguration_getSelected(Ark_NativePointer thisPtr) {
41559         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41560         return GetAccessors()->getMenuItemConfigurationAccessor()->getSelected(self);
41561 }
KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getSelected,Ark_Boolean,Ark_NativePointer)41562 KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getSelected, Ark_Boolean, Ark_NativePointer)
41563 void impl_MenuItemConfiguration_setSelected(Ark_NativePointer thisPtr, Ark_Boolean selected) {
41564         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41565         GetAccessors()->getMenuItemConfigurationAccessor()->setSelected(self, selected);
41566 }
KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setSelected,Ark_NativePointer,Ark_Boolean)41567 KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setSelected, Ark_NativePointer, Ark_Boolean)
41568 Ark_Number impl_MenuItemConfiguration_getIndex(Ark_NativePointer thisPtr) {
41569         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41570         return GetAccessors()->getMenuItemConfigurationAccessor()->getIndex(self);
41571 }
KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getIndex,KInteropNumber,Ark_NativePointer)41572 KOALA_INTEROP_DIRECT_1(MenuItemConfiguration_getIndex, KInteropNumber, Ark_NativePointer)
41573 void impl_MenuItemConfiguration_setIndex(Ark_NativePointer thisPtr, KInteropNumber index) {
41574         Ark_MenuItemConfiguration self = reinterpret_cast<Ark_MenuItemConfiguration>(thisPtr);
41575         GetAccessors()->getMenuItemConfigurationAccessor()->setIndex(self, (const Ark_Number*) (&index));
41576 }
KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setIndex,Ark_NativePointer,KInteropNumber)41577 KOALA_INTEROP_DIRECT_V2(MenuItemConfiguration_setIndex, Ark_NativePointer, KInteropNumber)
41578 Ark_NativePointer impl_SwiperController_ctor() {
41579         return GetAccessors()->getSwiperControllerAccessor()->ctor();
41580 }
KOALA_INTEROP_DIRECT_0(SwiperController_ctor,Ark_NativePointer)41581 KOALA_INTEROP_DIRECT_0(SwiperController_ctor, Ark_NativePointer)
41582 Ark_NativePointer impl_SwiperController_getFinalizer() {
41583         return GetAccessors()->getSwiperControllerAccessor()->getFinalizer();
41584 }
KOALA_INTEROP_DIRECT_0(SwiperController_getFinalizer,Ark_NativePointer)41585 KOALA_INTEROP_DIRECT_0(SwiperController_getFinalizer, Ark_NativePointer)
41586 void impl_SwiperController_showNext(Ark_NativePointer thisPtr) {
41587         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41588         GetAccessors()->getSwiperControllerAccessor()->showNext(self);
41589 }
KOALA_INTEROP_DIRECT_V1(SwiperController_showNext,Ark_NativePointer)41590 KOALA_INTEROP_DIRECT_V1(SwiperController_showNext, Ark_NativePointer)
41591 void impl_SwiperController_showPrevious(Ark_NativePointer thisPtr) {
41592         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41593         GetAccessors()->getSwiperControllerAccessor()->showPrevious(self);
41594 }
KOALA_INTEROP_DIRECT_V1(SwiperController_showPrevious,Ark_NativePointer)41595 KOALA_INTEROP_DIRECT_V1(SwiperController_showPrevious, Ark_NativePointer)
41596 void impl_SwiperController_changeIndex0(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
41597         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41598         Deserializer thisDeserializer(thisArray, thisLength);
41599         const auto useAnimation_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41600         Opt_Boolean useAnimation_value_buf = {};
41601         useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41602         if ((INTEROP_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType))
41603         {
41604             useAnimation_value_buf.value = thisDeserializer.readBoolean();
41605         }
41606         Opt_Boolean useAnimation_value = useAnimation_value_buf;;
41607         GetAccessors()->getSwiperControllerAccessor()->changeIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value);
41608 }
KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex0,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)41609 KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
41610 void impl_SwiperController_changeIndex1(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
41611         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41612         Deserializer thisDeserializer(thisArray, thisLength);
41613         const auto animationMode_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41614         Opt_Union_SwiperAnimationMode_Boolean animationMode_value_buf = {};
41615         animationMode_value_buf.tag = animationMode_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41616         if ((INTEROP_RUNTIME_UNDEFINED) != (animationMode_value_buf_runtimeType))
41617         {
41618             const Ark_Int8 animationMode_value_buf__selector = thisDeserializer.readInt8();
41619             Ark_Union_SwiperAnimationMode_Boolean animationMode_value_buf_ = {};
41620             animationMode_value_buf_.selector = animationMode_value_buf__selector;
41621             if (animationMode_value_buf__selector == 0) {
41622                 animationMode_value_buf_.selector = 0;
41623                 animationMode_value_buf_.value0 = static_cast<Ark_SwiperAnimationMode>(thisDeserializer.readInt32());
41624             }
41625             else if (animationMode_value_buf__selector == 1) {
41626                 animationMode_value_buf_.selector = 1;
41627                 animationMode_value_buf_.value1 = thisDeserializer.readBoolean();
41628             }
41629             else {
41630                 INTEROP_FATAL("One of the branches for animationMode_value_buf_ has to be chosen through deserialisation.");
41631             }
41632             animationMode_value_buf.value = static_cast<Ark_Union_SwiperAnimationMode_Boolean>(animationMode_value_buf_);
41633         }
41634         Opt_Union_SwiperAnimationMode_Boolean animationMode_value = animationMode_value_buf;;
41635         GetAccessors()->getSwiperControllerAccessor()->changeIndex1(self, (const Ark_Number*) (&index), (const Opt_Union_SwiperAnimationMode_Boolean*)&animationMode_value);
41636 }
KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex1,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)41637 KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex1, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
41638 void impl_SwiperController_finishAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41639         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41640         Deserializer thisDeserializer(thisArray, thisLength);
41641         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41642         Opt_VoidCallback callback__value_buf = {};
41643         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41644         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
41645         {
41646             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_VoidCallback))))};
41647         }
41648         Opt_VoidCallback callback__value = callback__value_buf;;
41649         GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, (const Opt_VoidCallback*)&callback__value);
41650 }
KOALA_INTEROP_DIRECT_V3(SwiperController_finishAnimation,Ark_NativePointer,KSerializerBuffer,int32_t)41651 KOALA_INTEROP_DIRECT_V3(SwiperController_finishAnimation, Ark_NativePointer, KSerializerBuffer, int32_t)
41652 void impl_SwiperController_preloadItems(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41653         Ark_SwiperController self = reinterpret_cast<Ark_SwiperController>(thisPtr);
41654         Deserializer thisDeserializer(thisArray, thisLength);
41655         const auto indices_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41656         Opt_Array_Number indices_value_buf = {};
41657         indices_value_buf.tag = indices_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41658         if ((INTEROP_RUNTIME_UNDEFINED) != (indices_value_buf_runtimeType))
41659         {
41660             const Ark_Int32 indices_value_buf__length = thisDeserializer.readInt32();
41661             Array_Number indices_value_buf_ = {};
41662             thisDeserializer.resizeArray<std::decay<decltype(indices_value_buf_)>::type,
41663         std::decay<decltype(*indices_value_buf_.array)>::type>(&indices_value_buf_, indices_value_buf__length);
41664             for (int indices_value_buf__i = 0; indices_value_buf__i < indices_value_buf__length; indices_value_buf__i++) {
41665                 indices_value_buf_.array[indices_value_buf__i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
41666             }
41667             indices_value_buf.value = indices_value_buf_;
41668         }
41669         Opt_Array_Number indices_value = indices_value_buf;;
41670         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
41671         GetAccessors()->getSwiperControllerAccessor()->preloadItems(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Opt_Array_Number*)&indices_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
41672 }
KOALA_INTEROP_CTX_V3(SwiperController_preloadItems,Ark_NativePointer,KSerializerBuffer,int32_t)41673 KOALA_INTEROP_CTX_V3(SwiperController_preloadItems, Ark_NativePointer, KSerializerBuffer, int32_t)
41674 Ark_NativePointer impl_SwiperContentTransitionProxy_ctor() {
41675         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->ctor();
41676 }
KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_ctor,Ark_NativePointer)41677 KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_ctor, Ark_NativePointer)
41678 Ark_NativePointer impl_SwiperContentTransitionProxy_getFinalizer() {
41679         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getFinalizer();
41680 }
KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_getFinalizer,Ark_NativePointer)41681 KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_getFinalizer, Ark_NativePointer)
41682 void impl_SwiperContentTransitionProxy_finishTransition(Ark_NativePointer thisPtr) {
41683         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41684         GetAccessors()->getSwiperContentTransitionProxyAccessor()->finishTransition(self);
41685 }
KOALA_INTEROP_DIRECT_V1(SwiperContentTransitionProxy_finishTransition,Ark_NativePointer)41686 KOALA_INTEROP_DIRECT_V1(SwiperContentTransitionProxy_finishTransition, Ark_NativePointer)
41687 Ark_Number impl_SwiperContentTransitionProxy_getSelectedIndex(Ark_NativePointer thisPtr) {
41688         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41689         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getSelectedIndex(self);
41690 }
KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getSelectedIndex,KInteropNumber,Ark_NativePointer)41691 KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getSelectedIndex, KInteropNumber, Ark_NativePointer)
41692 void impl_SwiperContentTransitionProxy_setSelectedIndex(Ark_NativePointer thisPtr, KInteropNumber selectedIndex) {
41693         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41694         GetAccessors()->getSwiperContentTransitionProxyAccessor()->setSelectedIndex(self, (const Ark_Number*) (&selectedIndex));
41695 }
KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setSelectedIndex,Ark_NativePointer,KInteropNumber)41696 KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setSelectedIndex, Ark_NativePointer, KInteropNumber)
41697 Ark_Number impl_SwiperContentTransitionProxy_getIndex(Ark_NativePointer thisPtr) {
41698         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41699         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getIndex(self);
41700 }
KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getIndex,KInteropNumber,Ark_NativePointer)41701 KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getIndex, KInteropNumber, Ark_NativePointer)
41702 void impl_SwiperContentTransitionProxy_setIndex(Ark_NativePointer thisPtr, KInteropNumber index) {
41703         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41704         GetAccessors()->getSwiperContentTransitionProxyAccessor()->setIndex(self, (const Ark_Number*) (&index));
41705 }
KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setIndex,Ark_NativePointer,KInteropNumber)41706 KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setIndex, Ark_NativePointer, KInteropNumber)
41707 Ark_Number impl_SwiperContentTransitionProxy_getPosition(Ark_NativePointer thisPtr) {
41708         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41709         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getPosition(self);
41710 }
KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getPosition,KInteropNumber,Ark_NativePointer)41711 KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getPosition, KInteropNumber, Ark_NativePointer)
41712 void impl_SwiperContentTransitionProxy_setPosition(Ark_NativePointer thisPtr, KInteropNumber position) {
41713         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41714         GetAccessors()->getSwiperContentTransitionProxyAccessor()->setPosition(self, (const Ark_Number*) (&position));
41715 }
KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setPosition,Ark_NativePointer,KInteropNumber)41716 KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setPosition, Ark_NativePointer, KInteropNumber)
41717 Ark_Number impl_SwiperContentTransitionProxy_getMainAxisLength(Ark_NativePointer thisPtr) {
41718         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41719         return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getMainAxisLength(self);
41720 }
KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getMainAxisLength,KInteropNumber,Ark_NativePointer)41721 KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getMainAxisLength, KInteropNumber, Ark_NativePointer)
41722 void impl_SwiperContentTransitionProxy_setMainAxisLength(Ark_NativePointer thisPtr, KInteropNumber mainAxisLength) {
41723         Ark_SwiperContentTransitionProxy self = reinterpret_cast<Ark_SwiperContentTransitionProxy>(thisPtr);
41724         GetAccessors()->getSwiperContentTransitionProxyAccessor()->setMainAxisLength(self, (const Ark_Number*) (&mainAxisLength));
41725 }
KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setMainAxisLength,Ark_NativePointer,KInteropNumber)41726 KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setMainAxisLength, Ark_NativePointer, KInteropNumber)
41727 Ark_NativePointer impl_IndicatorComponentController_ctor() {
41728         return GetAccessors()->getIndicatorComponentControllerAccessor()->ctor();
41729 }
KOALA_INTEROP_DIRECT_0(IndicatorComponentController_ctor,Ark_NativePointer)41730 KOALA_INTEROP_DIRECT_0(IndicatorComponentController_ctor, Ark_NativePointer)
41731 Ark_NativePointer impl_IndicatorComponentController_getFinalizer() {
41732         return GetAccessors()->getIndicatorComponentControllerAccessor()->getFinalizer();
41733 }
KOALA_INTEROP_DIRECT_0(IndicatorComponentController_getFinalizer,Ark_NativePointer)41734 KOALA_INTEROP_DIRECT_0(IndicatorComponentController_getFinalizer, Ark_NativePointer)
41735 void impl_IndicatorComponentController_showNext(Ark_NativePointer thisPtr) {
41736         Ark_IndicatorComponentController self = reinterpret_cast<Ark_IndicatorComponentController>(thisPtr);
41737         GetAccessors()->getIndicatorComponentControllerAccessor()->showNext(self);
41738 }
KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showNext,Ark_NativePointer)41739 KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showNext, Ark_NativePointer)
41740 void impl_IndicatorComponentController_showPrevious(Ark_NativePointer thisPtr) {
41741         Ark_IndicatorComponentController self = reinterpret_cast<Ark_IndicatorComponentController>(thisPtr);
41742         GetAccessors()->getIndicatorComponentControllerAccessor()->showPrevious(self);
41743 }
KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showPrevious,Ark_NativePointer)41744 KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showPrevious, Ark_NativePointer)
41745 void impl_IndicatorComponentController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) {
41746         Ark_IndicatorComponentController self = reinterpret_cast<Ark_IndicatorComponentController>(thisPtr);
41747         Deserializer thisDeserializer(thisArray, thisLength);
41748         const auto useAnimation_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41749         Opt_Boolean useAnimation_value_buf = {};
41750         useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41751         if ((INTEROP_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType))
41752         {
41753             useAnimation_value_buf.value = thisDeserializer.readBoolean();
41754         }
41755         Opt_Boolean useAnimation_value = useAnimation_value_buf;;
41756         GetAccessors()->getIndicatorComponentControllerAccessor()->changeIndex(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value);
41757 }
KOALA_INTEROP_DIRECT_V4(IndicatorComponentController_changeIndex,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)41758 KOALA_INTEROP_DIRECT_V4(IndicatorComponentController_changeIndex, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
41759 Ark_NativePointer impl_HierarchicalSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
41760         Deserializer thisDeserializer(thisArray, thisLength);
41761         const auto fillStyle_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41762         Opt_EffectFillStyle fillStyle_value_buf = {};
41763         fillStyle_value_buf.tag = fillStyle_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41764         if ((INTEROP_RUNTIME_UNDEFINED) != (fillStyle_value_buf_runtimeType))
41765         {
41766             fillStyle_value_buf.value = static_cast<Ark_EffectFillStyle>(thisDeserializer.readInt32());
41767         }
41768         Opt_EffectFillStyle fillStyle_value = fillStyle_value_buf;;
41769         return GetAccessors()->getHierarchicalSymbolEffectAccessor()->ctor((const Opt_EffectFillStyle*)&fillStyle_value);
41770 }
KOALA_INTEROP_DIRECT_2(HierarchicalSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)41771 KOALA_INTEROP_DIRECT_2(HierarchicalSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
41772 Ark_NativePointer impl_HierarchicalSymbolEffect_getFinalizer() {
41773         return GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFinalizer();
41774 }
KOALA_INTEROP_DIRECT_0(HierarchicalSymbolEffect_getFinalizer,Ark_NativePointer)41775 KOALA_INTEROP_DIRECT_0(HierarchicalSymbolEffect_getFinalizer, Ark_NativePointer)
41776 KInteropReturnBuffer impl_HierarchicalSymbolEffect_getFillStyle(Ark_NativePointer thisPtr) {
41777         Ark_HierarchicalSymbolEffect self = reinterpret_cast<Ark_HierarchicalSymbolEffect>(thisPtr);
41778         const auto &retValue = GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFillStyle(self);
41779         Serializer _retSerializer {};
41780         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41781         retValue_type = runtimeType(retValue);
41782         _retSerializer.writeInt8(retValue_type);
41783         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41784             const auto retValue_value = retValue.value;
41785             _retSerializer.writeInt32(static_cast<Ark_EffectFillStyle>(retValue_value));
41786         }
41787         return _retSerializer.toReturnBuffer();
41788 }
KOALA_INTEROP_1(HierarchicalSymbolEffect_getFillStyle,KInteropReturnBuffer,Ark_NativePointer)41789 KOALA_INTEROP_1(HierarchicalSymbolEffect_getFillStyle, KInteropReturnBuffer, Ark_NativePointer)
41790 void impl_HierarchicalSymbolEffect_setFillStyle(Ark_NativePointer thisPtr, Ark_Int32 fillStyle) {
41791         Ark_HierarchicalSymbolEffect self = reinterpret_cast<Ark_HierarchicalSymbolEffect>(thisPtr);
41792         GetAccessors()->getHierarchicalSymbolEffectAccessor()->setFillStyle(self, static_cast<Ark_EffectFillStyle>(fillStyle));
41793 }
KOALA_INTEROP_DIRECT_V2(HierarchicalSymbolEffect_setFillStyle,Ark_NativePointer,Ark_Int32)41794 KOALA_INTEROP_DIRECT_V2(HierarchicalSymbolEffect_setFillStyle, Ark_NativePointer, Ark_Int32)
41795 Ark_NativePointer impl_AppearSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
41796         Deserializer thisDeserializer(thisArray, thisLength);
41797         const auto scope_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41798         Opt_EffectScope scope_value_buf = {};
41799         scope_value_buf.tag = scope_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41800         if ((INTEROP_RUNTIME_UNDEFINED) != (scope_value_buf_runtimeType))
41801         {
41802             scope_value_buf.value = static_cast<Ark_EffectScope>(thisDeserializer.readInt32());
41803         }
41804         Opt_EffectScope scope_value = scope_value_buf;;
41805         return GetAccessors()->getAppearSymbolEffectAccessor()->ctor((const Opt_EffectScope*)&scope_value);
41806 }
KOALA_INTEROP_DIRECT_2(AppearSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)41807 KOALA_INTEROP_DIRECT_2(AppearSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
41808 Ark_NativePointer impl_AppearSymbolEffect_getFinalizer() {
41809         return GetAccessors()->getAppearSymbolEffectAccessor()->getFinalizer();
41810 }
KOALA_INTEROP_DIRECT_0(AppearSymbolEffect_getFinalizer,Ark_NativePointer)41811 KOALA_INTEROP_DIRECT_0(AppearSymbolEffect_getFinalizer, Ark_NativePointer)
41812 KInteropReturnBuffer impl_AppearSymbolEffect_getScope(Ark_NativePointer thisPtr) {
41813         Ark_AppearSymbolEffect self = reinterpret_cast<Ark_AppearSymbolEffect>(thisPtr);
41814         const auto &retValue = GetAccessors()->getAppearSymbolEffectAccessor()->getScope(self);
41815         Serializer _retSerializer {};
41816         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41817         retValue_type = runtimeType(retValue);
41818         _retSerializer.writeInt8(retValue_type);
41819         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41820             const auto retValue_value = retValue.value;
41821             _retSerializer.writeInt32(static_cast<Ark_EffectScope>(retValue_value));
41822         }
41823         return _retSerializer.toReturnBuffer();
41824 }
KOALA_INTEROP_1(AppearSymbolEffect_getScope,KInteropReturnBuffer,Ark_NativePointer)41825 KOALA_INTEROP_1(AppearSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer)
41826 void impl_AppearSymbolEffect_setScope(Ark_NativePointer thisPtr, Ark_Int32 scope) {
41827         Ark_AppearSymbolEffect self = reinterpret_cast<Ark_AppearSymbolEffect>(thisPtr);
41828         GetAccessors()->getAppearSymbolEffectAccessor()->setScope(self, static_cast<Ark_EffectScope>(scope));
41829 }
KOALA_INTEROP_DIRECT_V2(AppearSymbolEffect_setScope,Ark_NativePointer,Ark_Int32)41830 KOALA_INTEROP_DIRECT_V2(AppearSymbolEffect_setScope, Ark_NativePointer, Ark_Int32)
41831 Ark_NativePointer impl_DisappearSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
41832         Deserializer thisDeserializer(thisArray, thisLength);
41833         const auto scope_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41834         Opt_EffectScope scope_value_buf = {};
41835         scope_value_buf.tag = scope_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41836         if ((INTEROP_RUNTIME_UNDEFINED) != (scope_value_buf_runtimeType))
41837         {
41838             scope_value_buf.value = static_cast<Ark_EffectScope>(thisDeserializer.readInt32());
41839         }
41840         Opt_EffectScope scope_value = scope_value_buf;;
41841         return GetAccessors()->getDisappearSymbolEffectAccessor()->ctor((const Opt_EffectScope*)&scope_value);
41842 }
KOALA_INTEROP_DIRECT_2(DisappearSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)41843 KOALA_INTEROP_DIRECT_2(DisappearSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
41844 Ark_NativePointer impl_DisappearSymbolEffect_getFinalizer() {
41845         return GetAccessors()->getDisappearSymbolEffectAccessor()->getFinalizer();
41846 }
KOALA_INTEROP_DIRECT_0(DisappearSymbolEffect_getFinalizer,Ark_NativePointer)41847 KOALA_INTEROP_DIRECT_0(DisappearSymbolEffect_getFinalizer, Ark_NativePointer)
41848 KInteropReturnBuffer impl_DisappearSymbolEffect_getScope(Ark_NativePointer thisPtr) {
41849         Ark_DisappearSymbolEffect self = reinterpret_cast<Ark_DisappearSymbolEffect>(thisPtr);
41850         const auto &retValue = GetAccessors()->getDisappearSymbolEffectAccessor()->getScope(self);
41851         Serializer _retSerializer {};
41852         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41853         retValue_type = runtimeType(retValue);
41854         _retSerializer.writeInt8(retValue_type);
41855         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41856             const auto retValue_value = retValue.value;
41857             _retSerializer.writeInt32(static_cast<Ark_EffectScope>(retValue_value));
41858         }
41859         return _retSerializer.toReturnBuffer();
41860 }
KOALA_INTEROP_1(DisappearSymbolEffect_getScope,KInteropReturnBuffer,Ark_NativePointer)41861 KOALA_INTEROP_1(DisappearSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer)
41862 void impl_DisappearSymbolEffect_setScope(Ark_NativePointer thisPtr, Ark_Int32 scope) {
41863         Ark_DisappearSymbolEffect self = reinterpret_cast<Ark_DisappearSymbolEffect>(thisPtr);
41864         GetAccessors()->getDisappearSymbolEffectAccessor()->setScope(self, static_cast<Ark_EffectScope>(scope));
41865 }
KOALA_INTEROP_DIRECT_V2(DisappearSymbolEffect_setScope,Ark_NativePointer,Ark_Int32)41866 KOALA_INTEROP_DIRECT_V2(DisappearSymbolEffect_setScope, Ark_NativePointer, Ark_Int32)
41867 Ark_NativePointer impl_BounceSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
41868         Deserializer thisDeserializer(thisArray, thisLength);
41869         const auto scope_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41870         Opt_EffectScope scope_value_buf = {};
41871         scope_value_buf.tag = scope_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41872         if ((INTEROP_RUNTIME_UNDEFINED) != (scope_value_buf_runtimeType))
41873         {
41874             scope_value_buf.value = static_cast<Ark_EffectScope>(thisDeserializer.readInt32());
41875         }
41876         Opt_EffectScope scope_value = scope_value_buf;;
41877         const auto direction_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41878         Opt_EffectDirection direction_value_buf = {};
41879         direction_value_buf.tag = direction_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41880         if ((INTEROP_RUNTIME_UNDEFINED) != (direction_value_buf_runtimeType))
41881         {
41882             direction_value_buf.value = static_cast<Ark_EffectDirection>(thisDeserializer.readInt32());
41883         }
41884         Opt_EffectDirection direction_value = direction_value_buf;;
41885         return GetAccessors()->getBounceSymbolEffectAccessor()->ctor((const Opt_EffectScope*)&scope_value, (const Opt_EffectDirection*)&direction_value);
41886 }
KOALA_INTEROP_DIRECT_2(BounceSymbolEffect_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)41887 KOALA_INTEROP_DIRECT_2(BounceSymbolEffect_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
41888 Ark_NativePointer impl_BounceSymbolEffect_getFinalizer() {
41889         return GetAccessors()->getBounceSymbolEffectAccessor()->getFinalizer();
41890 }
KOALA_INTEROP_DIRECT_0(BounceSymbolEffect_getFinalizer,Ark_NativePointer)41891 KOALA_INTEROP_DIRECT_0(BounceSymbolEffect_getFinalizer, Ark_NativePointer)
41892 KInteropReturnBuffer impl_BounceSymbolEffect_getScope(Ark_NativePointer thisPtr) {
41893         Ark_BounceSymbolEffect self = reinterpret_cast<Ark_BounceSymbolEffect>(thisPtr);
41894         const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getScope(self);
41895         Serializer _retSerializer {};
41896         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41897         retValue_type = runtimeType(retValue);
41898         _retSerializer.writeInt8(retValue_type);
41899         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41900             const auto retValue_value = retValue.value;
41901             _retSerializer.writeInt32(static_cast<Ark_EffectScope>(retValue_value));
41902         }
41903         return _retSerializer.toReturnBuffer();
41904 }
KOALA_INTEROP_1(BounceSymbolEffect_getScope,KInteropReturnBuffer,Ark_NativePointer)41905 KOALA_INTEROP_1(BounceSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer)
41906 void impl_BounceSymbolEffect_setScope(Ark_NativePointer thisPtr, Ark_Int32 scope) {
41907         Ark_BounceSymbolEffect self = reinterpret_cast<Ark_BounceSymbolEffect>(thisPtr);
41908         GetAccessors()->getBounceSymbolEffectAccessor()->setScope(self, static_cast<Ark_EffectScope>(scope));
41909 }
KOALA_INTEROP_DIRECT_V2(BounceSymbolEffect_setScope,Ark_NativePointer,Ark_Int32)41910 KOALA_INTEROP_DIRECT_V2(BounceSymbolEffect_setScope, Ark_NativePointer, Ark_Int32)
41911 KInteropReturnBuffer impl_BounceSymbolEffect_getDirection(Ark_NativePointer thisPtr) {
41912         Ark_BounceSymbolEffect self = reinterpret_cast<Ark_BounceSymbolEffect>(thisPtr);
41913         const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getDirection(self);
41914         Serializer _retSerializer {};
41915         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
41916         retValue_type = runtimeType(retValue);
41917         _retSerializer.writeInt8(retValue_type);
41918         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
41919             const auto retValue_value = retValue.value;
41920             _retSerializer.writeInt32(static_cast<Ark_EffectDirection>(retValue_value));
41921         }
41922         return _retSerializer.toReturnBuffer();
41923 }
KOALA_INTEROP_1(BounceSymbolEffect_getDirection,KInteropReturnBuffer,Ark_NativePointer)41924 KOALA_INTEROP_1(BounceSymbolEffect_getDirection, KInteropReturnBuffer, Ark_NativePointer)
41925 void impl_BounceSymbolEffect_setDirection(Ark_NativePointer thisPtr, Ark_Int32 direction) {
41926         Ark_BounceSymbolEffect self = reinterpret_cast<Ark_BounceSymbolEffect>(thisPtr);
41927         GetAccessors()->getBounceSymbolEffectAccessor()->setDirection(self, static_cast<Ark_EffectDirection>(direction));
41928 }
KOALA_INTEROP_DIRECT_V2(BounceSymbolEffect_setDirection,Ark_NativePointer,Ark_Int32)41929 KOALA_INTEROP_DIRECT_V2(BounceSymbolEffect_setDirection, Ark_NativePointer, Ark_Int32)
41930 Ark_NativePointer impl_PulseSymbolEffect_ctor() {
41931         return GetAccessors()->getPulseSymbolEffectAccessor()->ctor();
41932 }
KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_ctor,Ark_NativePointer)41933 KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_ctor, Ark_NativePointer)
41934 Ark_NativePointer impl_PulseSymbolEffect_getFinalizer() {
41935         return GetAccessors()->getPulseSymbolEffectAccessor()->getFinalizer();
41936 }
KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_getFinalizer,Ark_NativePointer)41937 KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_getFinalizer, Ark_NativePointer)
41938 Ark_NativePointer impl_TabsController_ctor() {
41939         return GetAccessors()->getTabsControllerAccessor()->ctor();
41940 }
KOALA_INTEROP_DIRECT_0(TabsController_ctor,Ark_NativePointer)41941 KOALA_INTEROP_DIRECT_0(TabsController_ctor, Ark_NativePointer)
41942 Ark_NativePointer impl_TabsController_getFinalizer() {
41943         return GetAccessors()->getTabsControllerAccessor()->getFinalizer();
41944 }
KOALA_INTEROP_DIRECT_0(TabsController_getFinalizer,Ark_NativePointer)41945 KOALA_INTEROP_DIRECT_0(TabsController_getFinalizer, Ark_NativePointer)
41946 void impl_TabsController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber value) {
41947         Ark_TabsController self = reinterpret_cast<Ark_TabsController>(thisPtr);
41948         GetAccessors()->getTabsControllerAccessor()->changeIndex(self, (const Ark_Number*) (&value));
41949 }
KOALA_INTEROP_DIRECT_V2(TabsController_changeIndex,Ark_NativePointer,KInteropNumber)41950 KOALA_INTEROP_DIRECT_V2(TabsController_changeIndex, Ark_NativePointer, KInteropNumber)
41951 void impl_TabsController_preloadItems(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41952         Ark_TabsController self = reinterpret_cast<Ark_TabsController>(thisPtr);
41953         Deserializer thisDeserializer(thisArray, thisLength);
41954         const auto indices_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
41955         Opt_Array_Number indices_value_buf = {};
41956         indices_value_buf.tag = indices_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
41957         if ((INTEROP_RUNTIME_UNDEFINED) != (indices_value_buf_runtimeType))
41958         {
41959             const Ark_Int32 indices_value_buf__length = thisDeserializer.readInt32();
41960             Array_Number indices_value_buf_ = {};
41961             thisDeserializer.resizeArray<std::decay<decltype(indices_value_buf_)>::type,
41962         std::decay<decltype(*indices_value_buf_.array)>::type>(&indices_value_buf_, indices_value_buf__length);
41963             for (int indices_value_buf__i = 0; indices_value_buf__i < indices_value_buf__length; indices_value_buf__i++) {
41964                 indices_value_buf_.array[indices_value_buf__i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
41965             }
41966             indices_value_buf.value = indices_value_buf_;
41967         }
41968         Opt_Array_Number indices_value = indices_value_buf;;
41969         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
41970         GetAccessors()->getTabsControllerAccessor()->preloadItems(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Opt_Array_Number*)&indices_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
41971 }
KOALA_INTEROP_CTX_V3(TabsController_preloadItems,Ark_NativePointer,KSerializerBuffer,int32_t)41972 KOALA_INTEROP_CTX_V3(TabsController_preloadItems, Ark_NativePointer, KSerializerBuffer, int32_t)
41973 void impl_TabsController_setTabBarTranslate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
41974         Ark_TabsController self = reinterpret_cast<Ark_TabsController>(thisPtr);
41975         Deserializer thisDeserializer(thisArray, thisLength);
41976         Ark_TranslateOptions translate_value = thisDeserializer.readTranslateOptions();;
41977         GetAccessors()->getTabsControllerAccessor()->setTabBarTranslate(self, (const Ark_TranslateOptions*)&translate_value);
41978 }
KOALA_INTEROP_DIRECT_V3(TabsController_setTabBarTranslate,Ark_NativePointer,KSerializerBuffer,int32_t)41979 KOALA_INTEROP_DIRECT_V3(TabsController_setTabBarTranslate, Ark_NativePointer, KSerializerBuffer, int32_t)
41980 void impl_TabsController_setTabBarOpacity(Ark_NativePointer thisPtr, KInteropNumber opacity) {
41981         Ark_TabsController self = reinterpret_cast<Ark_TabsController>(thisPtr);
41982         GetAccessors()->getTabsControllerAccessor()->setTabBarOpacity(self, (const Ark_Number*) (&opacity));
41983 }
KOALA_INTEROP_DIRECT_V2(TabsController_setTabBarOpacity,Ark_NativePointer,KInteropNumber)41984 KOALA_INTEROP_DIRECT_V2(TabsController_setTabBarOpacity, Ark_NativePointer, KInteropNumber)
41985 Ark_NativePointer impl_TabContentTransitionProxy_ctor() {
41986         return GetAccessors()->getTabContentTransitionProxyAccessor()->ctor();
41987 }
KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_ctor,Ark_NativePointer)41988 KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_ctor, Ark_NativePointer)
41989 Ark_NativePointer impl_TabContentTransitionProxy_getFinalizer() {
41990         return GetAccessors()->getTabContentTransitionProxyAccessor()->getFinalizer();
41991 }
KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_getFinalizer,Ark_NativePointer)41992 KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_getFinalizer, Ark_NativePointer)
41993 void impl_TabContentTransitionProxy_finishTransition(Ark_NativePointer thisPtr) {
41994         Ark_TabContentTransitionProxy self = reinterpret_cast<Ark_TabContentTransitionProxy>(thisPtr);
41995         GetAccessors()->getTabContentTransitionProxyAccessor()->finishTransition(self);
41996 }
KOALA_INTEROP_DIRECT_V1(TabContentTransitionProxy_finishTransition,Ark_NativePointer)41997 KOALA_INTEROP_DIRECT_V1(TabContentTransitionProxy_finishTransition, Ark_NativePointer)
41998 Ark_Number impl_TabContentTransitionProxy_getFrom(Ark_NativePointer thisPtr) {
41999         Ark_TabContentTransitionProxy self = reinterpret_cast<Ark_TabContentTransitionProxy>(thisPtr);
42000         return GetAccessors()->getTabContentTransitionProxyAccessor()->getFrom(self);
42001 }
KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getFrom,KInteropNumber,Ark_NativePointer)42002 KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getFrom, KInteropNumber, Ark_NativePointer)
42003 void impl_TabContentTransitionProxy_setFrom(Ark_NativePointer thisPtr, KInteropNumber from) {
42004         Ark_TabContentTransitionProxy self = reinterpret_cast<Ark_TabContentTransitionProxy>(thisPtr);
42005         GetAccessors()->getTabContentTransitionProxyAccessor()->setFrom(self, (const Ark_Number*) (&from));
42006 }
KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setFrom,Ark_NativePointer,KInteropNumber)42007 KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setFrom, Ark_NativePointer, KInteropNumber)
42008 Ark_Number impl_TabContentTransitionProxy_getTo(Ark_NativePointer thisPtr) {
42009         Ark_TabContentTransitionProxy self = reinterpret_cast<Ark_TabContentTransitionProxy>(thisPtr);
42010         return GetAccessors()->getTabContentTransitionProxyAccessor()->getTo(self);
42011 }
KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getTo,KInteropNumber,Ark_NativePointer)42012 KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getTo, KInteropNumber, Ark_NativePointer)
42013 void impl_TabContentTransitionProxy_setTo(Ark_NativePointer thisPtr, KInteropNumber to) {
42014         Ark_TabContentTransitionProxy self = reinterpret_cast<Ark_TabContentTransitionProxy>(thisPtr);
42015         GetAccessors()->getTabContentTransitionProxyAccessor()->setTo(self, (const Ark_Number*) (&to));
42016 }
KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setTo,Ark_NativePointer,KInteropNumber)42017 KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setTo, Ark_NativePointer, KInteropNumber)
42018 Ark_NativePointer impl_TextController_ctor() {
42019         return GetAccessors()->getTextControllerAccessor()->ctor();
42020 }
KOALA_INTEROP_DIRECT_0(TextController_ctor,Ark_NativePointer)42021 KOALA_INTEROP_DIRECT_0(TextController_ctor, Ark_NativePointer)
42022 Ark_NativePointer impl_TextController_getFinalizer() {
42023         return GetAccessors()->getTextControllerAccessor()->getFinalizer();
42024 }
KOALA_INTEROP_DIRECT_0(TextController_getFinalizer,Ark_NativePointer)42025 KOALA_INTEROP_DIRECT_0(TextController_getFinalizer, Ark_NativePointer)
42026 void impl_TextController_closeSelectionMenu(Ark_NativePointer thisPtr) {
42027         Ark_TextController self = reinterpret_cast<Ark_TextController>(thisPtr);
42028         GetAccessors()->getTextControllerAccessor()->closeSelectionMenu(self);
42029 }
KOALA_INTEROP_DIRECT_V1(TextController_closeSelectionMenu,Ark_NativePointer)42030 KOALA_INTEROP_DIRECT_V1(TextController_closeSelectionMenu, Ark_NativePointer)
42031 void impl_TextController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer value) {
42032         Ark_TextController self = reinterpret_cast<Ark_TextController>(thisPtr);
42033         GetAccessors()->getTextControllerAccessor()->setStyledString(self, static_cast<Ark_StyledString>(value));
42034 }
KOALA_INTEROP_DIRECT_V2(TextController_setStyledString,Ark_NativePointer,Ark_NativePointer)42035 KOALA_INTEROP_DIRECT_V2(TextController_setStyledString, Ark_NativePointer, Ark_NativePointer)
42036 Ark_NativePointer impl_TextController_getLayoutManager(Ark_NativePointer thisPtr) {
42037         Ark_TextController self = reinterpret_cast<Ark_TextController>(thisPtr);
42038         return GetAccessors()->getTextControllerAccessor()->getLayoutManager(self);
42039 }
KOALA_INTEROP_DIRECT_1(TextController_getLayoutManager,Ark_NativePointer,Ark_NativePointer)42040 KOALA_INTEROP_DIRECT_1(TextController_getLayoutManager, Ark_NativePointer, Ark_NativePointer)
42041 Ark_NativePointer impl_TextAreaController_ctor() {
42042         return GetAccessors()->getTextAreaControllerAccessor()->ctor();
42043 }
KOALA_INTEROP_DIRECT_0(TextAreaController_ctor,Ark_NativePointer)42044 KOALA_INTEROP_DIRECT_0(TextAreaController_ctor, Ark_NativePointer)
42045 Ark_NativePointer impl_TextAreaController_getFinalizer() {
42046         return GetAccessors()->getTextAreaControllerAccessor()->getFinalizer();
42047 }
KOALA_INTEROP_DIRECT_0(TextAreaController_getFinalizer,Ark_NativePointer)42048 KOALA_INTEROP_DIRECT_0(TextAreaController_getFinalizer, Ark_NativePointer)
42049 void impl_TextAreaController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) {
42050         Ark_TextAreaController self = reinterpret_cast<Ark_TextAreaController>(thisPtr);
42051         GetAccessors()->getTextAreaControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value));
42052 }
KOALA_INTEROP_DIRECT_V2(TextAreaController_caretPosition,Ark_NativePointer,KInteropNumber)42053 KOALA_INTEROP_DIRECT_V2(TextAreaController_caretPosition, Ark_NativePointer, KInteropNumber)
42054 void impl_TextAreaController_setTextSelection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd, KSerializerBuffer thisArray, int32_t thisLength) {
42055         Ark_TextAreaController self = reinterpret_cast<Ark_TextAreaController>(thisPtr);
42056         Deserializer thisDeserializer(thisArray, thisLength);
42057         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
42058         Opt_SelectionOptions options_value_buf = {};
42059         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
42060         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
42061         {
42062             options_value_buf.value = thisDeserializer.readSelectionOptions();
42063         }
42064         Opt_SelectionOptions options_value = options_value_buf;;
42065         GetAccessors()->getTextAreaControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value);
42066 }
KOALA_INTEROP_DIRECT_V5(TextAreaController_setTextSelection,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)42067 KOALA_INTEROP_DIRECT_V5(TextAreaController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
42068 void impl_TextAreaController_stopEditing(Ark_NativePointer thisPtr) {
42069         Ark_TextAreaController self = reinterpret_cast<Ark_TextAreaController>(thisPtr);
42070         GetAccessors()->getTextAreaControllerAccessor()->stopEditing(self);
42071 }
KOALA_INTEROP_DIRECT_V1(TextAreaController_stopEditing,Ark_NativePointer)42072 KOALA_INTEROP_DIRECT_V1(TextAreaController_stopEditing, Ark_NativePointer)
42073 Ark_NativePointer impl_TextClockController_ctor() {
42074         return GetAccessors()->getTextClockControllerAccessor()->ctor();
42075 }
KOALA_INTEROP_DIRECT_0(TextClockController_ctor,Ark_NativePointer)42076 KOALA_INTEROP_DIRECT_0(TextClockController_ctor, Ark_NativePointer)
42077 Ark_NativePointer impl_TextClockController_getFinalizer() {
42078         return GetAccessors()->getTextClockControllerAccessor()->getFinalizer();
42079 }
KOALA_INTEROP_DIRECT_0(TextClockController_getFinalizer,Ark_NativePointer)42080 KOALA_INTEROP_DIRECT_0(TextClockController_getFinalizer, Ark_NativePointer)
42081 void impl_TextClockController_start(Ark_NativePointer thisPtr) {
42082         Ark_TextClockController self = reinterpret_cast<Ark_TextClockController>(thisPtr);
42083         GetAccessors()->getTextClockControllerAccessor()->start(self);
42084 }
KOALA_INTEROP_DIRECT_V1(TextClockController_start,Ark_NativePointer)42085 KOALA_INTEROP_DIRECT_V1(TextClockController_start, Ark_NativePointer)
42086 void impl_TextClockController_stop(Ark_NativePointer thisPtr) {
42087         Ark_TextClockController self = reinterpret_cast<Ark_TextClockController>(thisPtr);
42088         GetAccessors()->getTextClockControllerAccessor()->stop(self);
42089 }
KOALA_INTEROP_DIRECT_V1(TextClockController_stop,Ark_NativePointer)42090 KOALA_INTEROP_DIRECT_V1(TextClockController_stop, Ark_NativePointer)
42091 Ark_NativePointer impl_TextBaseController_ctor() {
42092         return GetAccessors()->getTextBaseControllerAccessor()->ctor();
42093 }
KOALA_INTEROP_DIRECT_0(TextBaseController_ctor,Ark_NativePointer)42094 KOALA_INTEROP_DIRECT_0(TextBaseController_ctor, Ark_NativePointer)
42095 Ark_NativePointer impl_TextBaseController_getFinalizer() {
42096         return GetAccessors()->getTextBaseControllerAccessor()->getFinalizer();
42097 }
KOALA_INTEROP_DIRECT_0(TextBaseController_getFinalizer,Ark_NativePointer)42098 KOALA_INTEROP_DIRECT_0(TextBaseController_getFinalizer, Ark_NativePointer)
42099 void impl_TextBaseController_setSelection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd, KSerializerBuffer thisArray, int32_t thisLength) {
42100         Ark_TextBaseController self = reinterpret_cast<Ark_TextBaseController>(thisPtr);
42101         Deserializer thisDeserializer(thisArray, thisLength);
42102         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
42103         Opt_SelectionOptions options_value_buf = {};
42104         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
42105         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
42106         {
42107             options_value_buf.value = thisDeserializer.readSelectionOptions();
42108         }
42109         Opt_SelectionOptions options_value = options_value_buf;;
42110         GetAccessors()->getTextBaseControllerAccessor()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value);
42111 }
KOALA_INTEROP_DIRECT_V5(TextBaseController_setSelection,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)42112 KOALA_INTEROP_DIRECT_V5(TextBaseController_setSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
42113 void impl_TextBaseController_closeSelectionMenu(Ark_NativePointer thisPtr) {
42114         Ark_TextBaseController self = reinterpret_cast<Ark_TextBaseController>(thisPtr);
42115         GetAccessors()->getTextBaseControllerAccessor()->closeSelectionMenu(self);
42116 }
KOALA_INTEROP_DIRECT_V1(TextBaseController_closeSelectionMenu,Ark_NativePointer)42117 KOALA_INTEROP_DIRECT_V1(TextBaseController_closeSelectionMenu, Ark_NativePointer)
42118 Ark_NativePointer impl_TextBaseController_getLayoutManager(Ark_NativePointer thisPtr) {
42119         Ark_TextBaseController self = reinterpret_cast<Ark_TextBaseController>(thisPtr);
42120         return GetAccessors()->getTextBaseControllerAccessor()->getLayoutManager(self);
42121 }
KOALA_INTEROP_DIRECT_1(TextBaseController_getLayoutManager,Ark_NativePointer,Ark_NativePointer)42122 KOALA_INTEROP_DIRECT_1(TextBaseController_getLayoutManager, Ark_NativePointer, Ark_NativePointer)
42123 Ark_NativePointer impl_TextEditControllerEx_ctor() {
42124         return GetAccessors()->getTextEditControllerExAccessor()->ctor();
42125 }
KOALA_INTEROP_DIRECT_0(TextEditControllerEx_ctor,Ark_NativePointer)42126 KOALA_INTEROP_DIRECT_0(TextEditControllerEx_ctor, Ark_NativePointer)
42127 Ark_NativePointer impl_TextEditControllerEx_getFinalizer() {
42128         return GetAccessors()->getTextEditControllerExAccessor()->getFinalizer();
42129 }
KOALA_INTEROP_DIRECT_0(TextEditControllerEx_getFinalizer,Ark_NativePointer)42130 KOALA_INTEROP_DIRECT_0(TextEditControllerEx_getFinalizer, Ark_NativePointer)
42131 Ark_Boolean impl_TextEditControllerEx_isEditing(Ark_NativePointer thisPtr) {
42132         Ark_TextEditControllerEx self = reinterpret_cast<Ark_TextEditControllerEx>(thisPtr);
42133         return GetAccessors()->getTextEditControllerExAccessor()->isEditing(self);
42134 }
KOALA_INTEROP_DIRECT_1(TextEditControllerEx_isEditing,Ark_Boolean,Ark_NativePointer)42135 KOALA_INTEROP_DIRECT_1(TextEditControllerEx_isEditing, Ark_Boolean, Ark_NativePointer)
42136 void impl_TextEditControllerEx_stopEditing(Ark_NativePointer thisPtr) {
42137         Ark_TextEditControllerEx self = reinterpret_cast<Ark_TextEditControllerEx>(thisPtr);
42138         GetAccessors()->getTextEditControllerExAccessor()->stopEditing(self);
42139 }
KOALA_INTEROP_DIRECT_V1(TextEditControllerEx_stopEditing,Ark_NativePointer)42140 KOALA_INTEROP_DIRECT_V1(TextEditControllerEx_stopEditing, Ark_NativePointer)
42141 Ark_Boolean impl_TextEditControllerEx_setCaretOffset(Ark_NativePointer thisPtr, KInteropNumber offset) {
42142         Ark_TextEditControllerEx self = reinterpret_cast<Ark_TextEditControllerEx>(thisPtr);
42143         return GetAccessors()->getTextEditControllerExAccessor()->setCaretOffset(self, (const Ark_Number*) (&offset));
42144 }
KOALA_INTEROP_DIRECT_2(TextEditControllerEx_setCaretOffset,Ark_Boolean,Ark_NativePointer,KInteropNumber)42145 KOALA_INTEROP_DIRECT_2(TextEditControllerEx_setCaretOffset, Ark_Boolean, Ark_NativePointer, KInteropNumber)
42146 Ark_Number impl_TextEditControllerEx_getCaretOffset(Ark_NativePointer thisPtr) {
42147         Ark_TextEditControllerEx self = reinterpret_cast<Ark_TextEditControllerEx>(thisPtr);
42148         return GetAccessors()->getTextEditControllerExAccessor()->getCaretOffset(self);
42149 }
KOALA_INTEROP_DIRECT_1(TextEditControllerEx_getCaretOffset,KInteropNumber,Ark_NativePointer)42150 KOALA_INTEROP_DIRECT_1(TextEditControllerEx_getCaretOffset, KInteropNumber, Ark_NativePointer)
42151 KInteropReturnBuffer impl_TextEditControllerEx_getPreviewText(Ark_NativePointer thisPtr) {
42152         Ark_TextEditControllerEx self = reinterpret_cast<Ark_TextEditControllerEx>(thisPtr);
42153         const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->getPreviewText(self);
42154         Serializer _retSerializer {};
42155         _retSerializer.writePreviewText(retValue);
42156         return _retSerializer.toReturnBuffer();
42157 }
KOALA_INTEROP_1(TextEditControllerEx_getPreviewText,KInteropReturnBuffer,Ark_NativePointer)42158 KOALA_INTEROP_1(TextEditControllerEx_getPreviewText, KInteropReturnBuffer, Ark_NativePointer)
42159 Ark_NativePointer impl_StyledStringController_ctor() {
42160         return GetAccessors()->getStyledStringControllerAccessor()->ctor();
42161 }
KOALA_INTEROP_DIRECT_0(StyledStringController_ctor,Ark_NativePointer)42162 KOALA_INTEROP_DIRECT_0(StyledStringController_ctor, Ark_NativePointer)
42163 Ark_NativePointer impl_StyledStringController_getFinalizer() {
42164         return GetAccessors()->getStyledStringControllerAccessor()->getFinalizer();
42165 }
KOALA_INTEROP_DIRECT_0(StyledStringController_getFinalizer,Ark_NativePointer)42166 KOALA_INTEROP_DIRECT_0(StyledStringController_getFinalizer, Ark_NativePointer)
42167 void impl_StyledStringController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer styledString) {
42168         Ark_StyledStringController self = reinterpret_cast<Ark_StyledStringController>(thisPtr);
42169         GetAccessors()->getStyledStringControllerAccessor()->setStyledString(self, static_cast<Ark_StyledString>(styledString));
42170 }
KOALA_INTEROP_DIRECT_V2(StyledStringController_setStyledString,Ark_NativePointer,Ark_NativePointer)42171 KOALA_INTEROP_DIRECT_V2(StyledStringController_setStyledString, Ark_NativePointer, Ark_NativePointer)
42172 Ark_NativePointer impl_StyledStringController_getStyledString(Ark_NativePointer thisPtr) {
42173         Ark_StyledStringController self = reinterpret_cast<Ark_StyledStringController>(thisPtr);
42174         return GetAccessors()->getStyledStringControllerAccessor()->getStyledString(self);
42175 }
KOALA_INTEROP_DIRECT_1(StyledStringController_getStyledString,Ark_NativePointer,Ark_NativePointer)42176 KOALA_INTEROP_DIRECT_1(StyledStringController_getStyledString, Ark_NativePointer, Ark_NativePointer)
42177 Ark_NativePointer impl_LayoutManager_ctor() {
42178         return GetAccessors()->getLayoutManagerAccessor()->ctor();
42179 }
KOALA_INTEROP_DIRECT_0(LayoutManager_ctor,Ark_NativePointer)42180 KOALA_INTEROP_DIRECT_0(LayoutManager_ctor, Ark_NativePointer)
42181 Ark_NativePointer impl_LayoutManager_getFinalizer() {
42182         return GetAccessors()->getLayoutManagerAccessor()->getFinalizer();
42183 }
KOALA_INTEROP_DIRECT_0(LayoutManager_getFinalizer,Ark_NativePointer)42184 KOALA_INTEROP_DIRECT_0(LayoutManager_getFinalizer, Ark_NativePointer)
42185 Ark_Number impl_LayoutManager_getLineCount(Ark_NativePointer thisPtr) {
42186         Ark_LayoutManager self = reinterpret_cast<Ark_LayoutManager>(thisPtr);
42187         return GetAccessors()->getLayoutManagerAccessor()->getLineCount(self);
42188 }
KOALA_INTEROP_DIRECT_1(LayoutManager_getLineCount,KInteropNumber,Ark_NativePointer)42189 KOALA_INTEROP_DIRECT_1(LayoutManager_getLineCount, KInteropNumber, Ark_NativePointer)
42190 KInteropReturnBuffer impl_LayoutManager_getGlyphPositionAtCoordinate(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) {
42191         Ark_LayoutManager self = reinterpret_cast<Ark_LayoutManager>(thisPtr);
42192         const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getGlyphPositionAtCoordinate(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y));
42193         Serializer _retSerializer {};
42194         _retSerializer.writePositionWithAffinity(retValue);
42195         return _retSerializer.toReturnBuffer();
42196 }
KOALA_INTEROP_3(LayoutManager_getGlyphPositionAtCoordinate,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber,KInteropNumber)42197 KOALA_INTEROP_3(LayoutManager_getGlyphPositionAtCoordinate, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber, KInteropNumber)
42198 KInteropReturnBuffer impl_LayoutManager_getLineMetrics(Ark_NativePointer thisPtr, KInteropNumber lineNumber) {
42199         Ark_LayoutManager self = reinterpret_cast<Ark_LayoutManager>(thisPtr);
42200         const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getLineMetrics(self, (const Ark_Number*) (&lineNumber));
42201         Serializer _retSerializer {};
42202         _retSerializer.writeLineMetrics(retValue);
42203         return _retSerializer.toReturnBuffer();
42204 }
KOALA_INTEROP_2(LayoutManager_getLineMetrics,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber)42205 KOALA_INTEROP_2(LayoutManager_getLineMetrics, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber)
42206 KInteropReturnBuffer impl_LayoutManager_getRectsForRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 widthStyle, Ark_Int32 heightStyle) {
42207         Ark_LayoutManager self = reinterpret_cast<Ark_LayoutManager>(thisPtr);
42208         Deserializer thisDeserializer(thisArray, thisLength);
42209         Ark_TextRange range_value = thisDeserializer.readTextRange();;
42210         const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getRectsForRange(self, (const Ark_TextRange*)&range_value, static_cast<Ark_RectWidthStyle>(widthStyle), static_cast<Ark_RectHeightStyle>(heightStyle));
42211         Serializer _retSerializer {};
42212         _retSerializer.writeInt32(retValue.length);
42213         for (int i = 0; i < retValue.length; i++) {
42214             const Ark_TextBox retValue_element = retValue.array[i];
42215             _retSerializer.writeTextBox(retValue_element);
42216         }
42217         return _retSerializer.toReturnBuffer();
42218 }
KOALA_INTEROP_5(LayoutManager_getRectsForRange,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t,Ark_Int32,Ark_Int32)42219 KOALA_INTEROP_5(LayoutManager_getRectsForRange, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32, Ark_Int32)
42220 Ark_NativePointer impl_TextMenuItemId_ctor() {
42221         return GetAccessors()->getTextMenuItemIdAccessor()->ctor();
42222 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_ctor,Ark_NativePointer)42223 KOALA_INTEROP_DIRECT_0(TextMenuItemId_ctor, Ark_NativePointer)
42224 Ark_NativePointer impl_TextMenuItemId_getFinalizer() {
42225         return GetAccessors()->getTextMenuItemIdAccessor()->getFinalizer();
42226 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getFinalizer,Ark_NativePointer)42227 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getFinalizer, Ark_NativePointer)
42228 Ark_NativePointer impl_TextMenuItemId_of(KSerializerBuffer thisArray, int32_t thisLength) {
42229         Deserializer thisDeserializer(thisArray, thisLength);
42230         const Ark_Int8 id_value_buf_selector = thisDeserializer.readInt8();
42231         Ark_ResourceStr id_value_buf = {};
42232         id_value_buf.selector = id_value_buf_selector;
42233         if (id_value_buf_selector == 0) {
42234             id_value_buf.selector = 0;
42235             id_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
42236         }
42237         else if (id_value_buf_selector == 1) {
42238             id_value_buf.selector = 1;
42239             id_value_buf.value1 = thisDeserializer.readResource();
42240         }
42241         else {
42242             INTEROP_FATAL("One of the branches for id_value_buf has to be chosen through deserialisation.");
42243         }
42244         Ark_ResourceStr id_value = static_cast<Ark_ResourceStr>(id_value_buf);;
42245         return GetAccessors()->getTextMenuItemIdAccessor()->of((const Ark_ResourceStr*)&id_value);
42246 }
KOALA_INTEROP_DIRECT_2(TextMenuItemId_of,Ark_NativePointer,KSerializerBuffer,int32_t)42247 KOALA_INTEROP_DIRECT_2(TextMenuItemId_of, Ark_NativePointer, KSerializerBuffer, int32_t)
42248 Ark_Boolean impl_TextMenuItemId_equals(Ark_NativePointer thisPtr, Ark_NativePointer id) {
42249         Ark_TextMenuItemId self = reinterpret_cast<Ark_TextMenuItemId>(thisPtr);
42250         return GetAccessors()->getTextMenuItemIdAccessor()->equals(self, static_cast<Ark_TextMenuItemId>(id));
42251 }
KOALA_INTEROP_DIRECT_2(TextMenuItemId_equals,Ark_Boolean,Ark_NativePointer,Ark_NativePointer)42252 KOALA_INTEROP_DIRECT_2(TextMenuItemId_equals, Ark_Boolean, Ark_NativePointer, Ark_NativePointer)
42253 Ark_NativePointer impl_TextMenuItemId_getCUT() {
42254         return GetAccessors()->getTextMenuItemIdAccessor()->getCUT();
42255 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCUT,Ark_NativePointer)42256 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCUT, Ark_NativePointer)
42257 Ark_NativePointer impl_TextMenuItemId_getCOPY() {
42258         return GetAccessors()->getTextMenuItemIdAccessor()->getCOPY();
42259 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOPY,Ark_NativePointer)42260 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOPY, Ark_NativePointer)
42261 Ark_NativePointer impl_TextMenuItemId_getPASTE() {
42262         return GetAccessors()->getTextMenuItemIdAccessor()->getPASTE();
42263 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getPASTE,Ark_NativePointer)42264 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getPASTE, Ark_NativePointer)
42265 Ark_NativePointer impl_TextMenuItemId_getSELECT_ALL() {
42266         return GetAccessors()->getTextMenuItemIdAccessor()->getSELECT_ALL();
42267 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSELECT_ALL,Ark_NativePointer)42268 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSELECT_ALL, Ark_NativePointer)
42269 Ark_NativePointer impl_TextMenuItemId_getCOLLABORATION_SERVICE() {
42270         return GetAccessors()->getTextMenuItemIdAccessor()->getCOLLABORATION_SERVICE();
42271 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOLLABORATION_SERVICE,Ark_NativePointer)42272 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOLLABORATION_SERVICE, Ark_NativePointer)
42273 Ark_NativePointer impl_TextMenuItemId_getCAMERA_INPUT() {
42274         return GetAccessors()->getTextMenuItemIdAccessor()->getCAMERA_INPUT();
42275 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCAMERA_INPUT,Ark_NativePointer)42276 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCAMERA_INPUT, Ark_NativePointer)
42277 Ark_NativePointer impl_TextMenuItemId_getAI_WRITER() {
42278         return GetAccessors()->getTextMenuItemIdAccessor()->getAI_WRITER();
42279 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getAI_WRITER,Ark_NativePointer)42280 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getAI_WRITER, Ark_NativePointer)
42281 Ark_NativePointer impl_TextMenuItemId_getTRANSLATE() {
42282         return GetAccessors()->getTextMenuItemIdAccessor()->getTRANSLATE();
42283 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getTRANSLATE,Ark_NativePointer)42284 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getTRANSLATE, Ark_NativePointer)
42285 Ark_NativePointer impl_TextMenuItemId_getSEARCH() {
42286         return GetAccessors()->getTextMenuItemIdAccessor()->getSEARCH();
42287 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSEARCH,Ark_NativePointer)42288 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSEARCH, Ark_NativePointer)
42289 Ark_NativePointer impl_TextMenuItemId_getSHARE() {
42290         return GetAccessors()->getTextMenuItemIdAccessor()->getSHARE();
42291 }
KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSHARE,Ark_NativePointer)42292 KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSHARE, Ark_NativePointer)
42293 Ark_NativePointer impl_SubmitEvent_ctor() {
42294         return GetAccessors()->getSubmitEventAccessor()->ctor();
42295 }
KOALA_INTEROP_DIRECT_0(SubmitEvent_ctor,Ark_NativePointer)42296 KOALA_INTEROP_DIRECT_0(SubmitEvent_ctor, Ark_NativePointer)
42297 Ark_NativePointer impl_SubmitEvent_getFinalizer() {
42298         return GetAccessors()->getSubmitEventAccessor()->getFinalizer();
42299 }
KOALA_INTEROP_DIRECT_0(SubmitEvent_getFinalizer,Ark_NativePointer)42300 KOALA_INTEROP_DIRECT_0(SubmitEvent_getFinalizer, Ark_NativePointer)
42301 void impl_SubmitEvent_keepEditableState(Ark_NativePointer thisPtr) {
42302         Ark_SubmitEvent self = reinterpret_cast<Ark_SubmitEvent>(thisPtr);
42303         GetAccessors()->getSubmitEventAccessor()->keepEditableState(self);
42304 }
KOALA_INTEROP_DIRECT_V1(SubmitEvent_keepEditableState,Ark_NativePointer)42305 KOALA_INTEROP_DIRECT_V1(SubmitEvent_keepEditableState, Ark_NativePointer)
42306 Ark_String impl_SubmitEvent_getText(Ark_NativePointer thisPtr) {
42307         Ark_SubmitEvent self = reinterpret_cast<Ark_SubmitEvent>(thisPtr);
42308         return GetAccessors()->getSubmitEventAccessor()->getText(self);
42309 }
KOALA_INTEROP_1(SubmitEvent_getText,KStringPtr,Ark_NativePointer)42310 KOALA_INTEROP_1(SubmitEvent_getText, KStringPtr, Ark_NativePointer)
42311 void impl_SubmitEvent_setText(Ark_NativePointer thisPtr, const KStringPtr& text) {
42312         Ark_SubmitEvent self = reinterpret_cast<Ark_SubmitEvent>(thisPtr);
42313         GetAccessors()->getSubmitEventAccessor()->setText(self, (const Ark_String*) (&text));
42314 }
KOALA_INTEROP_V2(SubmitEvent_setText,Ark_NativePointer,KStringPtr)42315 KOALA_INTEROP_V2(SubmitEvent_setText, Ark_NativePointer, KStringPtr)
42316 Ark_NativePointer impl_TextInputController_ctor() {
42317         return GetAccessors()->getTextInputControllerAccessor()->ctor();
42318 }
KOALA_INTEROP_DIRECT_0(TextInputController_ctor,Ark_NativePointer)42319 KOALA_INTEROP_DIRECT_0(TextInputController_ctor, Ark_NativePointer)
42320 Ark_NativePointer impl_TextInputController_getFinalizer() {
42321         return GetAccessors()->getTextInputControllerAccessor()->getFinalizer();
42322 }
KOALA_INTEROP_DIRECT_0(TextInputController_getFinalizer,Ark_NativePointer)42323 KOALA_INTEROP_DIRECT_0(TextInputController_getFinalizer, Ark_NativePointer)
42324 void impl_TextInputController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) {
42325         Ark_TextInputController self = reinterpret_cast<Ark_TextInputController>(thisPtr);
42326         GetAccessors()->getTextInputControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value));
42327 }
KOALA_INTEROP_DIRECT_V2(TextInputController_caretPosition,Ark_NativePointer,KInteropNumber)42328 KOALA_INTEROP_DIRECT_V2(TextInputController_caretPosition, Ark_NativePointer, KInteropNumber)
42329 void impl_TextInputController_setTextSelection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd, KSerializerBuffer thisArray, int32_t thisLength) {
42330         Ark_TextInputController self = reinterpret_cast<Ark_TextInputController>(thisPtr);
42331         Deserializer thisDeserializer(thisArray, thisLength);
42332         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
42333         Opt_SelectionOptions options_value_buf = {};
42334         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
42335         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
42336         {
42337             options_value_buf.value = thisDeserializer.readSelectionOptions();
42338         }
42339         Opt_SelectionOptions options_value = options_value_buf;;
42340         GetAccessors()->getTextInputControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value);
42341 }
KOALA_INTEROP_DIRECT_V5(TextInputController_setTextSelection,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)42342 KOALA_INTEROP_DIRECT_V5(TextInputController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
42343 void impl_TextInputController_stopEditing(Ark_NativePointer thisPtr) {
42344         Ark_TextInputController self = reinterpret_cast<Ark_TextInputController>(thisPtr);
42345         GetAccessors()->getTextInputControllerAccessor()->stopEditing(self);
42346 }
KOALA_INTEROP_DIRECT_V1(TextInputController_stopEditing,Ark_NativePointer)42347 KOALA_INTEROP_DIRECT_V1(TextInputController_stopEditing, Ark_NativePointer)
42348 void impl_TextPickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) {
42349         Deserializer thisDeserializer(thisArray, thisLength);
42350         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
42351         Opt_TextPickerDialogOptions options_value_buf = {};
42352         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
42353         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
42354         {
42355             options_value_buf.value = thisDeserializer.readTextPickerDialogOptions();
42356         }
42357         Opt_TextPickerDialogOptions options_value = options_value_buf;;
42358         GetAccessors()->getTextPickerDialogAccessor()->show((const Opt_TextPickerDialogOptions*)&options_value);
42359 }
KOALA_INTEROP_DIRECT_V2(TextPickerDialog_show,KSerializerBuffer,int32_t)42360 KOALA_INTEROP_DIRECT_V2(TextPickerDialog_show, KSerializerBuffer, int32_t)
42361 Ark_NativePointer impl_TextTimerController_ctor() {
42362         return GetAccessors()->getTextTimerControllerAccessor()->ctor();
42363 }
KOALA_INTEROP_DIRECT_0(TextTimerController_ctor,Ark_NativePointer)42364 KOALA_INTEROP_DIRECT_0(TextTimerController_ctor, Ark_NativePointer)
42365 Ark_NativePointer impl_TextTimerController_getFinalizer() {
42366         return GetAccessors()->getTextTimerControllerAccessor()->getFinalizer();
42367 }
KOALA_INTEROP_DIRECT_0(TextTimerController_getFinalizer,Ark_NativePointer)42368 KOALA_INTEROP_DIRECT_0(TextTimerController_getFinalizer, Ark_NativePointer)
42369 void impl_TextTimerController_start(Ark_NativePointer thisPtr) {
42370         Ark_TextTimerController self = reinterpret_cast<Ark_TextTimerController>(thisPtr);
42371         GetAccessors()->getTextTimerControllerAccessor()->start(self);
42372 }
KOALA_INTEROP_DIRECT_V1(TextTimerController_start,Ark_NativePointer)42373 KOALA_INTEROP_DIRECT_V1(TextTimerController_start, Ark_NativePointer)
42374 void impl_TextTimerController_pause(Ark_NativePointer thisPtr) {
42375         Ark_TextTimerController self = reinterpret_cast<Ark_TextTimerController>(thisPtr);
42376         GetAccessors()->getTextTimerControllerAccessor()->pause(self);
42377 }
KOALA_INTEROP_DIRECT_V1(TextTimerController_pause,Ark_NativePointer)42378 KOALA_INTEROP_DIRECT_V1(TextTimerController_pause, Ark_NativePointer)
42379 void impl_TextTimerController_reset(Ark_NativePointer thisPtr) {
42380         Ark_TextTimerController self = reinterpret_cast<Ark_TextTimerController>(thisPtr);
42381         GetAccessors()->getTextTimerControllerAccessor()->reset(self);
42382 }
KOALA_INTEROP_DIRECT_V1(TextTimerController_reset,Ark_NativePointer)42383 KOALA_INTEROP_DIRECT_V1(TextTimerController_reset, Ark_NativePointer)
42384 void impl_TimePickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) {
42385         Deserializer thisDeserializer(thisArray, thisLength);
42386         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
42387         Opt_TimePickerDialogOptions options_value_buf = {};
42388         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
42389         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
42390         {
42391             options_value_buf.value = thisDeserializer.readTimePickerDialogOptions();
42392         }
42393         Opt_TimePickerDialogOptions options_value = options_value_buf;;
42394         GetAccessors()->getTimePickerDialogAccessor()->show((const Opt_TimePickerDialogOptions*)&options_value);
42395 }
KOALA_INTEROP_DIRECT_V2(TimePickerDialog_show,KSerializerBuffer,int32_t)42396 KOALA_INTEROP_DIRECT_V2(TimePickerDialog_show, KSerializerBuffer, int32_t)
42397 Ark_NativePointer impl_ColorFilter_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
42398         Deserializer thisDeserializer(thisArray, thisLength);
42399         const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32();
42400         Array_Number value_value_buf = {};
42401         thisDeserializer.resizeArray<std::decay<decltype(value_value_buf)>::type,
42402         std::decay<decltype(*value_value_buf.array)>::type>(&value_value_buf, value_value_buf_length);
42403         for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) {
42404             value_value_buf.array[value_value_buf_i] = static_cast<Ark_Number>(thisDeserializer.readNumber());
42405         }
42406         Array_Number value_value = value_value_buf;;
42407         return GetAccessors()->getColorFilterAccessor()->ctor((const Array_Number*)&value_value);
42408 }
KOALA_INTEROP_DIRECT_2(ColorFilter_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)42409 KOALA_INTEROP_DIRECT_2(ColorFilter_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
42410 Ark_NativePointer impl_ColorFilter_getFinalizer() {
42411         return GetAccessors()->getColorFilterAccessor()->getFinalizer();
42412 }
KOALA_INTEROP_DIRECT_0(ColorFilter_getFinalizer,Ark_NativePointer)42413 KOALA_INTEROP_DIRECT_0(ColorFilter_getFinalizer, Ark_NativePointer)
42414 Ark_NativePointer impl_VideoController_ctor() {
42415         return GetAccessors()->getVideoControllerAccessor()->ctor();
42416 }
KOALA_INTEROP_DIRECT_0(VideoController_ctor,Ark_NativePointer)42417 KOALA_INTEROP_DIRECT_0(VideoController_ctor, Ark_NativePointer)
42418 Ark_NativePointer impl_VideoController_getFinalizer() {
42419         return GetAccessors()->getVideoControllerAccessor()->getFinalizer();
42420 }
KOALA_INTEROP_DIRECT_0(VideoController_getFinalizer,Ark_NativePointer)42421 KOALA_INTEROP_DIRECT_0(VideoController_getFinalizer, Ark_NativePointer)
42422 void impl_VideoController_start(Ark_NativePointer thisPtr) {
42423         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42424         GetAccessors()->getVideoControllerAccessor()->start(self);
42425 }
KOALA_INTEROP_DIRECT_V1(VideoController_start,Ark_NativePointer)42426 KOALA_INTEROP_DIRECT_V1(VideoController_start, Ark_NativePointer)
42427 void impl_VideoController_pause(Ark_NativePointer thisPtr) {
42428         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42429         GetAccessors()->getVideoControllerAccessor()->pause(self);
42430 }
KOALA_INTEROP_DIRECT_V1(VideoController_pause,Ark_NativePointer)42431 KOALA_INTEROP_DIRECT_V1(VideoController_pause, Ark_NativePointer)
42432 void impl_VideoController_stop(Ark_NativePointer thisPtr) {
42433         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42434         GetAccessors()->getVideoControllerAccessor()->stop(self);
42435 }
KOALA_INTEROP_DIRECT_V1(VideoController_stop,Ark_NativePointer)42436 KOALA_INTEROP_DIRECT_V1(VideoController_stop, Ark_NativePointer)
42437 void impl_VideoController_setCurrentTime0(Ark_NativePointer thisPtr, KInteropNumber value) {
42438         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42439         GetAccessors()->getVideoControllerAccessor()->setCurrentTime0(self, (const Ark_Number*) (&value));
42440 }
KOALA_INTEROP_DIRECT_V2(VideoController_setCurrentTime0,Ark_NativePointer,KInteropNumber)42441 KOALA_INTEROP_DIRECT_V2(VideoController_setCurrentTime0, Ark_NativePointer, KInteropNumber)
42442 void impl_VideoController_setCurrentTime1(Ark_NativePointer thisPtr, KInteropNumber value, Ark_Int32 seekMode) {
42443         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42444         GetAccessors()->getVideoControllerAccessor()->setCurrentTime1(self, (const Ark_Number*) (&value), static_cast<Ark_SeekMode>(seekMode));
42445 }
KOALA_INTEROP_DIRECT_V3(VideoController_setCurrentTime1,Ark_NativePointer,KInteropNumber,Ark_Int32)42446 KOALA_INTEROP_DIRECT_V3(VideoController_setCurrentTime1, Ark_NativePointer, KInteropNumber, Ark_Int32)
42447 void impl_VideoController_requestFullscreen(Ark_NativePointer thisPtr, Ark_Boolean value) {
42448         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42449         GetAccessors()->getVideoControllerAccessor()->requestFullscreen(self, value);
42450 }
KOALA_INTEROP_DIRECT_V2(VideoController_requestFullscreen,Ark_NativePointer,Ark_Boolean)42451 KOALA_INTEROP_DIRECT_V2(VideoController_requestFullscreen, Ark_NativePointer, Ark_Boolean)
42452 void impl_VideoController_exitFullscreen(Ark_NativePointer thisPtr) {
42453         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42454         GetAccessors()->getVideoControllerAccessor()->exitFullscreen(self);
42455 }
KOALA_INTEROP_DIRECT_V1(VideoController_exitFullscreen,Ark_NativePointer)42456 KOALA_INTEROP_DIRECT_V1(VideoController_exitFullscreen, Ark_NativePointer)
42457 void impl_VideoController_reset(Ark_NativePointer thisPtr) {
42458         Ark_VideoController self = reinterpret_cast<Ark_VideoController>(thisPtr);
42459         GetAccessors()->getVideoControllerAccessor()->reset(self);
42460 }
KOALA_INTEROP_DIRECT_V1(VideoController_reset,Ark_NativePointer)42461 KOALA_INTEROP_DIRECT_V1(VideoController_reset, Ark_NativePointer)
42462 Ark_NativePointer impl_WebKeyboardController_ctor() {
42463         return GetAccessors()->getWebKeyboardControllerAccessor()->ctor();
42464 }
KOALA_INTEROP_DIRECT_0(WebKeyboardController_ctor,Ark_NativePointer)42465 KOALA_INTEROP_DIRECT_0(WebKeyboardController_ctor, Ark_NativePointer)
42466 Ark_NativePointer impl_WebKeyboardController_getFinalizer() {
42467         return GetAccessors()->getWebKeyboardControllerAccessor()->getFinalizer();
42468 }
KOALA_INTEROP_DIRECT_0(WebKeyboardController_getFinalizer,Ark_NativePointer)42469 KOALA_INTEROP_DIRECT_0(WebKeyboardController_getFinalizer, Ark_NativePointer)
42470 void impl_WebKeyboardController_insertText(Ark_NativePointer thisPtr, const KStringPtr& text) {
42471         Ark_WebKeyboardController self = reinterpret_cast<Ark_WebKeyboardController>(thisPtr);
42472         GetAccessors()->getWebKeyboardControllerAccessor()->insertText(self, (const Ark_String*) (&text));
42473 }
KOALA_INTEROP_V2(WebKeyboardController_insertText,Ark_NativePointer,KStringPtr)42474 KOALA_INTEROP_V2(WebKeyboardController_insertText, Ark_NativePointer, KStringPtr)
42475 void impl_WebKeyboardController_deleteForward(Ark_NativePointer thisPtr, KInteropNumber length) {
42476         Ark_WebKeyboardController self = reinterpret_cast<Ark_WebKeyboardController>(thisPtr);
42477         GetAccessors()->getWebKeyboardControllerAccessor()->deleteForward(self, (const Ark_Number*) (&length));
42478 }
KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteForward,Ark_NativePointer,KInteropNumber)42479 KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteForward, Ark_NativePointer, KInteropNumber)
42480 void impl_WebKeyboardController_deleteBackward(Ark_NativePointer thisPtr, KInteropNumber length) {
42481         Ark_WebKeyboardController self = reinterpret_cast<Ark_WebKeyboardController>(thisPtr);
42482         GetAccessors()->getWebKeyboardControllerAccessor()->deleteBackward(self, (const Ark_Number*) (&length));
42483 }
KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteBackward,Ark_NativePointer,KInteropNumber)42484 KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteBackward, Ark_NativePointer, KInteropNumber)
42485 void impl_WebKeyboardController_sendFunctionKey(Ark_NativePointer thisPtr, KInteropNumber key) {
42486         Ark_WebKeyboardController self = reinterpret_cast<Ark_WebKeyboardController>(thisPtr);
42487         GetAccessors()->getWebKeyboardControllerAccessor()->sendFunctionKey(self, (const Ark_Number*) (&key));
42488 }
KOALA_INTEROP_DIRECT_V2(WebKeyboardController_sendFunctionKey,Ark_NativePointer,KInteropNumber)42489 KOALA_INTEROP_DIRECT_V2(WebKeyboardController_sendFunctionKey, Ark_NativePointer, KInteropNumber)
42490 void impl_WebKeyboardController_close(Ark_NativePointer thisPtr) {
42491         Ark_WebKeyboardController self = reinterpret_cast<Ark_WebKeyboardController>(thisPtr);
42492         GetAccessors()->getWebKeyboardControllerAccessor()->close(self);
42493 }
KOALA_INTEROP_DIRECT_V1(WebKeyboardController_close,Ark_NativePointer)42494 KOALA_INTEROP_DIRECT_V1(WebKeyboardController_close, Ark_NativePointer)
42495 Ark_NativePointer impl_FullScreenExitHandler_ctor() {
42496         return GetAccessors()->getFullScreenExitHandlerAccessor()->ctor();
42497 }
KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_ctor,Ark_NativePointer)42498 KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_ctor, Ark_NativePointer)
42499 Ark_NativePointer impl_FullScreenExitHandler_getFinalizer() {
42500         return GetAccessors()->getFullScreenExitHandlerAccessor()->getFinalizer();
42501 }
KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_getFinalizer,Ark_NativePointer)42502 KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_getFinalizer, Ark_NativePointer)
42503 void impl_FullScreenExitHandler_exitFullScreen(Ark_NativePointer thisPtr) {
42504         Ark_FullScreenExitHandler self = reinterpret_cast<Ark_FullScreenExitHandler>(thisPtr);
42505         GetAccessors()->getFullScreenExitHandlerAccessor()->exitFullScreen(self);
42506 }
KOALA_INTEROP_DIRECT_V1(FullScreenExitHandler_exitFullScreen,Ark_NativePointer)42507 KOALA_INTEROP_DIRECT_V1(FullScreenExitHandler_exitFullScreen, Ark_NativePointer)
42508 Ark_NativePointer impl_FileSelectorParam_ctor() {
42509         return GetAccessors()->getFileSelectorParamAccessor()->ctor();
42510 }
KOALA_INTEROP_DIRECT_0(FileSelectorParam_ctor,Ark_NativePointer)42511 KOALA_INTEROP_DIRECT_0(FileSelectorParam_ctor, Ark_NativePointer)
42512 Ark_NativePointer impl_FileSelectorParam_getFinalizer() {
42513         return GetAccessors()->getFileSelectorParamAccessor()->getFinalizer();
42514 }
KOALA_INTEROP_DIRECT_0(FileSelectorParam_getFinalizer,Ark_NativePointer)42515 KOALA_INTEROP_DIRECT_0(FileSelectorParam_getFinalizer, Ark_NativePointer)
42516 Ark_String impl_FileSelectorParam_getTitle(Ark_NativePointer thisPtr) {
42517         Ark_FileSelectorParam self = reinterpret_cast<Ark_FileSelectorParam>(thisPtr);
42518         return GetAccessors()->getFileSelectorParamAccessor()->getTitle(self);
42519 }
KOALA_INTEROP_1(FileSelectorParam_getTitle,KStringPtr,Ark_NativePointer)42520 KOALA_INTEROP_1(FileSelectorParam_getTitle, KStringPtr, Ark_NativePointer)
42521 Ark_Int32 impl_FileSelectorParam_getMode(Ark_NativePointer thisPtr) {
42522         Ark_FileSelectorParam self = reinterpret_cast<Ark_FileSelectorParam>(thisPtr);
42523         return GetAccessors()->getFileSelectorParamAccessor()->getMode(self);
42524 }
KOALA_INTEROP_DIRECT_1(FileSelectorParam_getMode,Ark_Int32,Ark_NativePointer)42525 KOALA_INTEROP_DIRECT_1(FileSelectorParam_getMode, Ark_Int32, Ark_NativePointer)
42526 KInteropReturnBuffer impl_FileSelectorParam_getAcceptType(Ark_NativePointer thisPtr) {
42527         Ark_FileSelectorParam self = reinterpret_cast<Ark_FileSelectorParam>(thisPtr);
42528         const auto &retValue = GetAccessors()->getFileSelectorParamAccessor()->getAcceptType(self);
42529         Serializer _retSerializer {};
42530         _retSerializer.writeInt32(retValue.length);
42531         for (int i = 0; i < retValue.length; i++) {
42532             const Ark_String retValue_element = retValue.array[i];
42533             _retSerializer.writeString(retValue_element);
42534         }
42535         return _retSerializer.toReturnBuffer();
42536 }
KOALA_INTEROP_1(FileSelectorParam_getAcceptType,KInteropReturnBuffer,Ark_NativePointer)42537 KOALA_INTEROP_1(FileSelectorParam_getAcceptType, KInteropReturnBuffer, Ark_NativePointer)
42538 Ark_Boolean impl_FileSelectorParam_isCapture(Ark_NativePointer thisPtr) {
42539         Ark_FileSelectorParam self = reinterpret_cast<Ark_FileSelectorParam>(thisPtr);
42540         return GetAccessors()->getFileSelectorParamAccessor()->isCapture(self);
42541 }
KOALA_INTEROP_DIRECT_1(FileSelectorParam_isCapture,Ark_Boolean,Ark_NativePointer)42542 KOALA_INTEROP_DIRECT_1(FileSelectorParam_isCapture, Ark_Boolean, Ark_NativePointer)
42543 KInteropReturnBuffer impl_FileSelectorParam_getMimeTypes(Ark_NativePointer thisPtr) {
42544         Ark_FileSelectorParam self = reinterpret_cast<Ark_FileSelectorParam>(thisPtr);
42545         const auto &retValue = GetAccessors()->getFileSelectorParamAccessor()->getMimeTypes(self);
42546         Serializer _retSerializer {};
42547         _retSerializer.writeInt32(retValue.length);
42548         for (int i = 0; i < retValue.length; i++) {
42549             const Ark_String retValue_element = retValue.array[i];
42550             _retSerializer.writeString(retValue_element);
42551         }
42552         return _retSerializer.toReturnBuffer();
42553 }
KOALA_INTEROP_1(FileSelectorParam_getMimeTypes,KInteropReturnBuffer,Ark_NativePointer)42554 KOALA_INTEROP_1(FileSelectorParam_getMimeTypes, KInteropReturnBuffer, Ark_NativePointer)
42555 Ark_NativePointer impl_JsResult_ctor() {
42556         return GetAccessors()->getJsResultAccessor()->ctor();
42557 }
KOALA_INTEROP_DIRECT_0(JsResult_ctor,Ark_NativePointer)42558 KOALA_INTEROP_DIRECT_0(JsResult_ctor, Ark_NativePointer)
42559 Ark_NativePointer impl_JsResult_getFinalizer() {
42560         return GetAccessors()->getJsResultAccessor()->getFinalizer();
42561 }
KOALA_INTEROP_DIRECT_0(JsResult_getFinalizer,Ark_NativePointer)42562 KOALA_INTEROP_DIRECT_0(JsResult_getFinalizer, Ark_NativePointer)
42563 void impl_JsResult_handleCancel(Ark_NativePointer thisPtr) {
42564         Ark_JsResult self = reinterpret_cast<Ark_JsResult>(thisPtr);
42565         GetAccessors()->getJsResultAccessor()->handleCancel(self);
42566 }
KOALA_INTEROP_DIRECT_V1(JsResult_handleCancel,Ark_NativePointer)42567 KOALA_INTEROP_DIRECT_V1(JsResult_handleCancel, Ark_NativePointer)
42568 void impl_JsResult_handleConfirm(Ark_NativePointer thisPtr) {
42569         Ark_JsResult self = reinterpret_cast<Ark_JsResult>(thisPtr);
42570         GetAccessors()->getJsResultAccessor()->handleConfirm(self);
42571 }
KOALA_INTEROP_DIRECT_V1(JsResult_handleConfirm,Ark_NativePointer)42572 KOALA_INTEROP_DIRECT_V1(JsResult_handleConfirm, Ark_NativePointer)
42573 void impl_JsResult_handlePromptConfirm(Ark_NativePointer thisPtr, const KStringPtr& result) {
42574         Ark_JsResult self = reinterpret_cast<Ark_JsResult>(thisPtr);
42575         GetAccessors()->getJsResultAccessor()->handlePromptConfirm(self, (const Ark_String*) (&result));
42576 }
KOALA_INTEROP_V2(JsResult_handlePromptConfirm,Ark_NativePointer,KStringPtr)42577 KOALA_INTEROP_V2(JsResult_handlePromptConfirm, Ark_NativePointer, KStringPtr)
42578 Ark_NativePointer impl_FileSelectorResult_ctor() {
42579         return GetAccessors()->getFileSelectorResultAccessor()->ctor();
42580 }
KOALA_INTEROP_DIRECT_0(FileSelectorResult_ctor,Ark_NativePointer)42581 KOALA_INTEROP_DIRECT_0(FileSelectorResult_ctor, Ark_NativePointer)
42582 Ark_NativePointer impl_FileSelectorResult_getFinalizer() {
42583         return GetAccessors()->getFileSelectorResultAccessor()->getFinalizer();
42584 }
KOALA_INTEROP_DIRECT_0(FileSelectorResult_getFinalizer,Ark_NativePointer)42585 KOALA_INTEROP_DIRECT_0(FileSelectorResult_getFinalizer, Ark_NativePointer)
42586 void impl_FileSelectorResult_handleFileList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
42587         Ark_FileSelectorResult self = reinterpret_cast<Ark_FileSelectorResult>(thisPtr);
42588         Deserializer thisDeserializer(thisArray, thisLength);
42589         const Ark_Int32 fileList_value_buf_length = thisDeserializer.readInt32();
42590         Array_String fileList_value_buf = {};
42591         thisDeserializer.resizeArray<std::decay<decltype(fileList_value_buf)>::type,
42592         std::decay<decltype(*fileList_value_buf.array)>::type>(&fileList_value_buf, fileList_value_buf_length);
42593         for (int fileList_value_buf_i = 0; fileList_value_buf_i < fileList_value_buf_length; fileList_value_buf_i++) {
42594             fileList_value_buf.array[fileList_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
42595         }
42596         Array_String fileList_value = fileList_value_buf;;
42597         GetAccessors()->getFileSelectorResultAccessor()->handleFileList(self, (const Array_String*)&fileList_value);
42598 }
KOALA_INTEROP_DIRECT_V3(FileSelectorResult_handleFileList,Ark_NativePointer,KSerializerBuffer,int32_t)42599 KOALA_INTEROP_DIRECT_V3(FileSelectorResult_handleFileList, Ark_NativePointer, KSerializerBuffer, int32_t)
42600 Ark_NativePointer impl_HttpAuthHandler_ctor() {
42601         return GetAccessors()->getHttpAuthHandlerAccessor()->ctor();
42602 }
KOALA_INTEROP_DIRECT_0(HttpAuthHandler_ctor,Ark_NativePointer)42603 KOALA_INTEROP_DIRECT_0(HttpAuthHandler_ctor, Ark_NativePointer)
42604 Ark_NativePointer impl_HttpAuthHandler_getFinalizer() {
42605         return GetAccessors()->getHttpAuthHandlerAccessor()->getFinalizer();
42606 }
KOALA_INTEROP_DIRECT_0(HttpAuthHandler_getFinalizer,Ark_NativePointer)42607 KOALA_INTEROP_DIRECT_0(HttpAuthHandler_getFinalizer, Ark_NativePointer)
42608 Ark_Boolean impl_HttpAuthHandler_confirm(Ark_NativePointer thisPtr, const KStringPtr& userName, const KStringPtr& password) {
42609         Ark_HttpAuthHandler self = reinterpret_cast<Ark_HttpAuthHandler>(thisPtr);
42610         return GetAccessors()->getHttpAuthHandlerAccessor()->confirm(self, (const Ark_String*) (&userName), (const Ark_String*) (&password));
42611 }
KOALA_INTEROP_3(HttpAuthHandler_confirm,Ark_Boolean,Ark_NativePointer,KStringPtr,KStringPtr)42612 KOALA_INTEROP_3(HttpAuthHandler_confirm, Ark_Boolean, Ark_NativePointer, KStringPtr, KStringPtr)
42613 void impl_HttpAuthHandler_cancel(Ark_NativePointer thisPtr) {
42614         Ark_HttpAuthHandler self = reinterpret_cast<Ark_HttpAuthHandler>(thisPtr);
42615         GetAccessors()->getHttpAuthHandlerAccessor()->cancel(self);
42616 }
KOALA_INTEROP_DIRECT_V1(HttpAuthHandler_cancel,Ark_NativePointer)42617 KOALA_INTEROP_DIRECT_V1(HttpAuthHandler_cancel, Ark_NativePointer)
42618 Ark_Boolean impl_HttpAuthHandler_isHttpAuthInfoSaved(Ark_NativePointer thisPtr) {
42619         Ark_HttpAuthHandler self = reinterpret_cast<Ark_HttpAuthHandler>(thisPtr);
42620         return GetAccessors()->getHttpAuthHandlerAccessor()->isHttpAuthInfoSaved(self);
42621 }
KOALA_INTEROP_DIRECT_1(HttpAuthHandler_isHttpAuthInfoSaved,Ark_Boolean,Ark_NativePointer)42622 KOALA_INTEROP_DIRECT_1(HttpAuthHandler_isHttpAuthInfoSaved, Ark_Boolean, Ark_NativePointer)
42623 Ark_NativePointer impl_SslErrorHandler_ctor() {
42624         return GetAccessors()->getSslErrorHandlerAccessor()->ctor();
42625 }
KOALA_INTEROP_DIRECT_0(SslErrorHandler_ctor,Ark_NativePointer)42626 KOALA_INTEROP_DIRECT_0(SslErrorHandler_ctor, Ark_NativePointer)
42627 Ark_NativePointer impl_SslErrorHandler_getFinalizer() {
42628         return GetAccessors()->getSslErrorHandlerAccessor()->getFinalizer();
42629 }
KOALA_INTEROP_DIRECT_0(SslErrorHandler_getFinalizer,Ark_NativePointer)42630 KOALA_INTEROP_DIRECT_0(SslErrorHandler_getFinalizer, Ark_NativePointer)
42631 void impl_SslErrorHandler_handleConfirm(Ark_NativePointer thisPtr) {
42632         Ark_SslErrorHandler self = reinterpret_cast<Ark_SslErrorHandler>(thisPtr);
42633         GetAccessors()->getSslErrorHandlerAccessor()->handleConfirm(self);
42634 }
KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleConfirm,Ark_NativePointer)42635 KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleConfirm, Ark_NativePointer)
42636 void impl_SslErrorHandler_handleCancel(Ark_NativePointer thisPtr) {
42637         Ark_SslErrorHandler self = reinterpret_cast<Ark_SslErrorHandler>(thisPtr);
42638         GetAccessors()->getSslErrorHandlerAccessor()->handleCancel(self);
42639 }
KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleCancel,Ark_NativePointer)42640 KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleCancel, Ark_NativePointer)
42641 Ark_NativePointer impl_ClientAuthenticationHandler_ctor() {
42642         return GetAccessors()->getClientAuthenticationHandlerAccessor()->ctor();
42643 }
KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_ctor,Ark_NativePointer)42644 KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_ctor, Ark_NativePointer)
42645 Ark_NativePointer impl_ClientAuthenticationHandler_getFinalizer() {
42646         return GetAccessors()->getClientAuthenticationHandlerAccessor()->getFinalizer();
42647 }
KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_getFinalizer,Ark_NativePointer)42648 KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_getFinalizer, Ark_NativePointer)
42649 void impl_ClientAuthenticationHandler_confirm0(Ark_NativePointer thisPtr, const KStringPtr& priKeyFile, const KStringPtr& certChainFile) {
42650         Ark_ClientAuthenticationHandler self = reinterpret_cast<Ark_ClientAuthenticationHandler>(thisPtr);
42651         GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm0(self, (const Ark_String*) (&priKeyFile), (const Ark_String*) (&certChainFile));
42652 }
KOALA_INTEROP_V3(ClientAuthenticationHandler_confirm0,Ark_NativePointer,KStringPtr,KStringPtr)42653 KOALA_INTEROP_V3(ClientAuthenticationHandler_confirm0, Ark_NativePointer, KStringPtr, KStringPtr)
42654 void impl_ClientAuthenticationHandler_confirm1(Ark_NativePointer thisPtr, const KStringPtr& authUri) {
42655         Ark_ClientAuthenticationHandler self = reinterpret_cast<Ark_ClientAuthenticationHandler>(thisPtr);
42656         GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm1(self, (const Ark_String*) (&authUri));
42657 }
KOALA_INTEROP_V2(ClientAuthenticationHandler_confirm1,Ark_NativePointer,KStringPtr)42658 KOALA_INTEROP_V2(ClientAuthenticationHandler_confirm1, Ark_NativePointer, KStringPtr)
42659 void impl_ClientAuthenticationHandler_cancel(Ark_NativePointer thisPtr) {
42660         Ark_ClientAuthenticationHandler self = reinterpret_cast<Ark_ClientAuthenticationHandler>(thisPtr);
42661         GetAccessors()->getClientAuthenticationHandlerAccessor()->cancel(self);
42662 }
KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_cancel,Ark_NativePointer)42663 KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_cancel, Ark_NativePointer)
42664 void impl_ClientAuthenticationHandler_ignore(Ark_NativePointer thisPtr) {
42665         Ark_ClientAuthenticationHandler self = reinterpret_cast<Ark_ClientAuthenticationHandler>(thisPtr);
42666         GetAccessors()->getClientAuthenticationHandlerAccessor()->ignore(self);
42667 }
KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_ignore,Ark_NativePointer)42668 KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_ignore, Ark_NativePointer)
42669 Ark_NativePointer impl_PermissionRequest_ctor() {
42670         return GetAccessors()->getPermissionRequestAccessor()->ctor();
42671 }
KOALA_INTEROP_DIRECT_0(PermissionRequest_ctor,Ark_NativePointer)42672 KOALA_INTEROP_DIRECT_0(PermissionRequest_ctor, Ark_NativePointer)
42673 Ark_NativePointer impl_PermissionRequest_getFinalizer() {
42674         return GetAccessors()->getPermissionRequestAccessor()->getFinalizer();
42675 }
KOALA_INTEROP_DIRECT_0(PermissionRequest_getFinalizer,Ark_NativePointer)42676 KOALA_INTEROP_DIRECT_0(PermissionRequest_getFinalizer, Ark_NativePointer)
42677 void impl_PermissionRequest_deny(Ark_NativePointer thisPtr) {
42678         Ark_PermissionRequest self = reinterpret_cast<Ark_PermissionRequest>(thisPtr);
42679         GetAccessors()->getPermissionRequestAccessor()->deny(self);
42680 }
KOALA_INTEROP_DIRECT_V1(PermissionRequest_deny,Ark_NativePointer)42681 KOALA_INTEROP_DIRECT_V1(PermissionRequest_deny, Ark_NativePointer)
42682 Ark_String impl_PermissionRequest_getOrigin(Ark_NativePointer thisPtr) {
42683         Ark_PermissionRequest self = reinterpret_cast<Ark_PermissionRequest>(thisPtr);
42684         return GetAccessors()->getPermissionRequestAccessor()->getOrigin(self);
42685 }
KOALA_INTEROP_1(PermissionRequest_getOrigin,KStringPtr,Ark_NativePointer)42686 KOALA_INTEROP_1(PermissionRequest_getOrigin, KStringPtr, Ark_NativePointer)
42687 KInteropReturnBuffer impl_PermissionRequest_getAccessibleResource(Ark_NativePointer thisPtr) {
42688         Ark_PermissionRequest self = reinterpret_cast<Ark_PermissionRequest>(thisPtr);
42689         const auto &retValue = GetAccessors()->getPermissionRequestAccessor()->getAccessibleResource(self);
42690         Serializer _retSerializer {};
42691         _retSerializer.writeInt32(retValue.length);
42692         for (int i = 0; i < retValue.length; i++) {
42693             const Ark_String retValue_element = retValue.array[i];
42694             _retSerializer.writeString(retValue_element);
42695         }
42696         return _retSerializer.toReturnBuffer();
42697 }
KOALA_INTEROP_1(PermissionRequest_getAccessibleResource,KInteropReturnBuffer,Ark_NativePointer)42698 KOALA_INTEROP_1(PermissionRequest_getAccessibleResource, KInteropReturnBuffer, Ark_NativePointer)
42699 void impl_PermissionRequest_grant(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
42700         Ark_PermissionRequest self = reinterpret_cast<Ark_PermissionRequest>(thisPtr);
42701         Deserializer thisDeserializer(thisArray, thisLength);
42702         const Ark_Int32 resources_value_buf_length = thisDeserializer.readInt32();
42703         Array_String resources_value_buf = {};
42704         thisDeserializer.resizeArray<std::decay<decltype(resources_value_buf)>::type,
42705         std::decay<decltype(*resources_value_buf.array)>::type>(&resources_value_buf, resources_value_buf_length);
42706         for (int resources_value_buf_i = 0; resources_value_buf_i < resources_value_buf_length; resources_value_buf_i++) {
42707             resources_value_buf.array[resources_value_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
42708         }
42709         Array_String resources_value = resources_value_buf;;
42710         GetAccessors()->getPermissionRequestAccessor()->grant(self, (const Array_String*)&resources_value);
42711 }
KOALA_INTEROP_DIRECT_V3(PermissionRequest_grant,Ark_NativePointer,KSerializerBuffer,int32_t)42712 KOALA_INTEROP_DIRECT_V3(PermissionRequest_grant, Ark_NativePointer, KSerializerBuffer, int32_t)
42713 Ark_NativePointer impl_ScreenCaptureHandler_ctor() {
42714         return GetAccessors()->getScreenCaptureHandlerAccessor()->ctor();
42715 }
KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_ctor,Ark_NativePointer)42716 KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_ctor, Ark_NativePointer)
42717 Ark_NativePointer impl_ScreenCaptureHandler_getFinalizer() {
42718         return GetAccessors()->getScreenCaptureHandlerAccessor()->getFinalizer();
42719 }
KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_getFinalizer,Ark_NativePointer)42720 KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_getFinalizer, Ark_NativePointer)
42721 Ark_String impl_ScreenCaptureHandler_getOrigin(Ark_NativePointer thisPtr) {
42722         Ark_ScreenCaptureHandler self = reinterpret_cast<Ark_ScreenCaptureHandler>(thisPtr);
42723         return GetAccessors()->getScreenCaptureHandlerAccessor()->getOrigin(self);
42724 }
KOALA_INTEROP_1(ScreenCaptureHandler_getOrigin,KStringPtr,Ark_NativePointer)42725 KOALA_INTEROP_1(ScreenCaptureHandler_getOrigin, KStringPtr, Ark_NativePointer)
42726 void impl_ScreenCaptureHandler_grant(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
42727         Ark_ScreenCaptureHandler self = reinterpret_cast<Ark_ScreenCaptureHandler>(thisPtr);
42728         Deserializer thisDeserializer(thisArray, thisLength);
42729         Ark_ScreenCaptureConfig config_value = thisDeserializer.readScreenCaptureConfig();;
42730         GetAccessors()->getScreenCaptureHandlerAccessor()->grant(self, (const Ark_ScreenCaptureConfig*)&config_value);
42731 }
KOALA_INTEROP_DIRECT_V3(ScreenCaptureHandler_grant,Ark_NativePointer,KSerializerBuffer,int32_t)42732 KOALA_INTEROP_DIRECT_V3(ScreenCaptureHandler_grant, Ark_NativePointer, KSerializerBuffer, int32_t)
42733 void impl_ScreenCaptureHandler_deny(Ark_NativePointer thisPtr) {
42734         Ark_ScreenCaptureHandler self = reinterpret_cast<Ark_ScreenCaptureHandler>(thisPtr);
42735         GetAccessors()->getScreenCaptureHandlerAccessor()->deny(self);
42736 }
KOALA_INTEROP_DIRECT_V1(ScreenCaptureHandler_deny,Ark_NativePointer)42737 KOALA_INTEROP_DIRECT_V1(ScreenCaptureHandler_deny, Ark_NativePointer)
42738 Ark_NativePointer impl_DataResubmissionHandler_ctor() {
42739         return GetAccessors()->getDataResubmissionHandlerAccessor()->ctor();
42740 }
KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_ctor,Ark_NativePointer)42741 KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_ctor, Ark_NativePointer)
42742 Ark_NativePointer impl_DataResubmissionHandler_getFinalizer() {
42743         return GetAccessors()->getDataResubmissionHandlerAccessor()->getFinalizer();
42744 }
KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_getFinalizer,Ark_NativePointer)42745 KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_getFinalizer, Ark_NativePointer)
42746 void impl_DataResubmissionHandler_resend(Ark_NativePointer thisPtr) {
42747         Ark_DataResubmissionHandler self = reinterpret_cast<Ark_DataResubmissionHandler>(thisPtr);
42748         GetAccessors()->getDataResubmissionHandlerAccessor()->resend(self);
42749 }
KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_resend,Ark_NativePointer)42750 KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_resend, Ark_NativePointer)
42751 void impl_DataResubmissionHandler_cancel(Ark_NativePointer thisPtr) {
42752         Ark_DataResubmissionHandler self = reinterpret_cast<Ark_DataResubmissionHandler>(thisPtr);
42753         GetAccessors()->getDataResubmissionHandlerAccessor()->cancel(self);
42754 }
KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_cancel,Ark_NativePointer)42755 KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_cancel, Ark_NativePointer)
42756 Ark_NativePointer impl_ControllerHandler_ctor() {
42757         return GetAccessors()->getControllerHandlerAccessor()->ctor();
42758 }
KOALA_INTEROP_DIRECT_0(ControllerHandler_ctor,Ark_NativePointer)42759 KOALA_INTEROP_DIRECT_0(ControllerHandler_ctor, Ark_NativePointer)
42760 Ark_NativePointer impl_ControllerHandler_getFinalizer() {
42761         return GetAccessors()->getControllerHandlerAccessor()->getFinalizer();
42762 }
KOALA_INTEROP_DIRECT_0(ControllerHandler_getFinalizer,Ark_NativePointer)42763 KOALA_INTEROP_DIRECT_0(ControllerHandler_getFinalizer, Ark_NativePointer)
42764 void impl_ControllerHandler_setWebController(Ark_NativePointer thisPtr, Ark_NativePointer controller) {
42765         Ark_ControllerHandler self = reinterpret_cast<Ark_ControllerHandler>(thisPtr);
42766         GetAccessors()->getControllerHandlerAccessor()->setWebController(self, static_cast<Ark_WebviewController>(controller));
42767 }
KOALA_INTEROP_DIRECT_V2(ControllerHandler_setWebController,Ark_NativePointer,Ark_NativePointer)42768 KOALA_INTEROP_DIRECT_V2(ControllerHandler_setWebController, Ark_NativePointer, Ark_NativePointer)
42769 Ark_NativePointer impl_WebContextMenuParam_ctor() {
42770         return GetAccessors()->getWebContextMenuParamAccessor()->ctor();
42771 }
KOALA_INTEROP_DIRECT_0(WebContextMenuParam_ctor,Ark_NativePointer)42772 KOALA_INTEROP_DIRECT_0(WebContextMenuParam_ctor, Ark_NativePointer)
42773 Ark_NativePointer impl_WebContextMenuParam_getFinalizer() {
42774         return GetAccessors()->getWebContextMenuParamAccessor()->getFinalizer();
42775 }
KOALA_INTEROP_DIRECT_0(WebContextMenuParam_getFinalizer,Ark_NativePointer)42776 KOALA_INTEROP_DIRECT_0(WebContextMenuParam_getFinalizer, Ark_NativePointer)
42777 Ark_Number impl_WebContextMenuParam_x(Ark_NativePointer thisPtr) {
42778         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42779         return GetAccessors()->getWebContextMenuParamAccessor()->x(self);
42780 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_x,KInteropNumber,Ark_NativePointer)42781 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_x, KInteropNumber, Ark_NativePointer)
42782 Ark_Number impl_WebContextMenuParam_y(Ark_NativePointer thisPtr) {
42783         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42784         return GetAccessors()->getWebContextMenuParamAccessor()->y(self);
42785 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_y,KInteropNumber,Ark_NativePointer)42786 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_y, KInteropNumber, Ark_NativePointer)
42787 Ark_String impl_WebContextMenuParam_getLinkUrl(Ark_NativePointer thisPtr) {
42788         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42789         return GetAccessors()->getWebContextMenuParamAccessor()->getLinkUrl(self);
42790 }
KOALA_INTEROP_1(WebContextMenuParam_getLinkUrl,KStringPtr,Ark_NativePointer)42791 KOALA_INTEROP_1(WebContextMenuParam_getLinkUrl, KStringPtr, Ark_NativePointer)
42792 Ark_String impl_WebContextMenuParam_getUnfilteredLinkUrl(Ark_NativePointer thisPtr) {
42793         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42794         return GetAccessors()->getWebContextMenuParamAccessor()->getUnfilteredLinkUrl(self);
42795 }
KOALA_INTEROP_1(WebContextMenuParam_getUnfilteredLinkUrl,KStringPtr,Ark_NativePointer)42796 KOALA_INTEROP_1(WebContextMenuParam_getUnfilteredLinkUrl, KStringPtr, Ark_NativePointer)
42797 Ark_String impl_WebContextMenuParam_getSourceUrl(Ark_NativePointer thisPtr) {
42798         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42799         return GetAccessors()->getWebContextMenuParamAccessor()->getSourceUrl(self);
42800 }
KOALA_INTEROP_1(WebContextMenuParam_getSourceUrl,KStringPtr,Ark_NativePointer)42801 KOALA_INTEROP_1(WebContextMenuParam_getSourceUrl, KStringPtr, Ark_NativePointer)
42802 Ark_Boolean impl_WebContextMenuParam_existsImageContents(Ark_NativePointer thisPtr) {
42803         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42804         return GetAccessors()->getWebContextMenuParamAccessor()->existsImageContents(self);
42805 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_existsImageContents,Ark_Boolean,Ark_NativePointer)42806 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_existsImageContents, Ark_Boolean, Ark_NativePointer)
42807 Ark_Int32 impl_WebContextMenuParam_getMediaType(Ark_NativePointer thisPtr) {
42808         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42809         return GetAccessors()->getWebContextMenuParamAccessor()->getMediaType(self);
42810 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getMediaType,Ark_Int32,Ark_NativePointer)42811 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getMediaType, Ark_Int32, Ark_NativePointer)
42812 Ark_String impl_WebContextMenuParam_getSelectionText(Ark_NativePointer thisPtr) {
42813         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42814         return GetAccessors()->getWebContextMenuParamAccessor()->getSelectionText(self);
42815 }
KOALA_INTEROP_1(WebContextMenuParam_getSelectionText,KStringPtr,Ark_NativePointer)42816 KOALA_INTEROP_1(WebContextMenuParam_getSelectionText, KStringPtr, Ark_NativePointer)
42817 Ark_Int32 impl_WebContextMenuParam_getSourceType(Ark_NativePointer thisPtr) {
42818         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42819         return GetAccessors()->getWebContextMenuParamAccessor()->getSourceType(self);
42820 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getSourceType,Ark_Int32,Ark_NativePointer)42821 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getSourceType, Ark_Int32, Ark_NativePointer)
42822 Ark_Int32 impl_WebContextMenuParam_getInputFieldType(Ark_NativePointer thisPtr) {
42823         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42824         return GetAccessors()->getWebContextMenuParamAccessor()->getInputFieldType(self);
42825 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getInputFieldType,Ark_Int32,Ark_NativePointer)42826 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getInputFieldType, Ark_Int32, Ark_NativePointer)
42827 Ark_Boolean impl_WebContextMenuParam_isEditable(Ark_NativePointer thisPtr) {
42828         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42829         return GetAccessors()->getWebContextMenuParamAccessor()->isEditable(self);
42830 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_isEditable,Ark_Boolean,Ark_NativePointer)42831 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_isEditable, Ark_Boolean, Ark_NativePointer)
42832 Ark_Number impl_WebContextMenuParam_getEditStateFlags(Ark_NativePointer thisPtr) {
42833         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42834         return GetAccessors()->getWebContextMenuParamAccessor()->getEditStateFlags(self);
42835 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getEditStateFlags,KInteropNumber,Ark_NativePointer)42836 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getEditStateFlags, KInteropNumber, Ark_NativePointer)
42837 Ark_Number impl_WebContextMenuParam_getPreviewWidth(Ark_NativePointer thisPtr) {
42838         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42839         return GetAccessors()->getWebContextMenuParamAccessor()->getPreviewWidth(self);
42840 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewWidth,KInteropNumber,Ark_NativePointer)42841 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewWidth, KInteropNumber, Ark_NativePointer)
42842 Ark_Number impl_WebContextMenuParam_getPreviewHeight(Ark_NativePointer thisPtr) {
42843         Ark_WebContextMenuParam self = reinterpret_cast<Ark_WebContextMenuParam>(thisPtr);
42844         return GetAccessors()->getWebContextMenuParamAccessor()->getPreviewHeight(self);
42845 }
KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewHeight,KInteropNumber,Ark_NativePointer)42846 KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewHeight, KInteropNumber, Ark_NativePointer)
42847 Ark_NativePointer impl_WebContextMenuResult_ctor() {
42848         return GetAccessors()->getWebContextMenuResultAccessor()->ctor();
42849 }
KOALA_INTEROP_DIRECT_0(WebContextMenuResult_ctor,Ark_NativePointer)42850 KOALA_INTEROP_DIRECT_0(WebContextMenuResult_ctor, Ark_NativePointer)
42851 Ark_NativePointer impl_WebContextMenuResult_getFinalizer() {
42852         return GetAccessors()->getWebContextMenuResultAccessor()->getFinalizer();
42853 }
KOALA_INTEROP_DIRECT_0(WebContextMenuResult_getFinalizer,Ark_NativePointer)42854 KOALA_INTEROP_DIRECT_0(WebContextMenuResult_getFinalizer, Ark_NativePointer)
42855 void impl_WebContextMenuResult_closeContextMenu(Ark_NativePointer thisPtr) {
42856         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42857         GetAccessors()->getWebContextMenuResultAccessor()->closeContextMenu(self);
42858 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_closeContextMenu,Ark_NativePointer)42859 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_closeContextMenu, Ark_NativePointer)
42860 void impl_WebContextMenuResult_copyImage(Ark_NativePointer thisPtr) {
42861         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42862         GetAccessors()->getWebContextMenuResultAccessor()->copyImage(self);
42863 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copyImage,Ark_NativePointer)42864 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copyImage, Ark_NativePointer)
42865 void impl_WebContextMenuResult_copy(Ark_NativePointer thisPtr) {
42866         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42867         GetAccessors()->getWebContextMenuResultAccessor()->copy(self);
42868 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copy,Ark_NativePointer)42869 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copy, Ark_NativePointer)
42870 void impl_WebContextMenuResult_paste(Ark_NativePointer thisPtr) {
42871         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42872         GetAccessors()->getWebContextMenuResultAccessor()->paste(self);
42873 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_paste,Ark_NativePointer)42874 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_paste, Ark_NativePointer)
42875 void impl_WebContextMenuResult_cut(Ark_NativePointer thisPtr) {
42876         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42877         GetAccessors()->getWebContextMenuResultAccessor()->cut(self);
42878 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_cut,Ark_NativePointer)42879 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_cut, Ark_NativePointer)
42880 void impl_WebContextMenuResult_selectAll(Ark_NativePointer thisPtr) {
42881         Ark_WebContextMenuResult self = reinterpret_cast<Ark_WebContextMenuResult>(thisPtr);
42882         GetAccessors()->getWebContextMenuResultAccessor()->selectAll(self);
42883 }
KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_selectAll,Ark_NativePointer)42884 KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_selectAll, Ark_NativePointer)
42885 Ark_NativePointer impl_ConsoleMessage_ctor(const KStringPtr& message, const KStringPtr& sourceId, KInteropNumber lineNumber, Ark_Int32 messageLevel) {
42886         return GetAccessors()->getConsoleMessageAccessor()->ctor((const Ark_String*) (&message), (const Ark_String*) (&sourceId), (const Ark_Number*) (&lineNumber), static_cast<Ark_MessageLevel>(messageLevel));
42887 }
KOALA_INTEROP_4(ConsoleMessage_ctor,Ark_NativePointer,KStringPtr,KStringPtr,KInteropNumber,Ark_Int32)42888 KOALA_INTEROP_4(ConsoleMessage_ctor, Ark_NativePointer, KStringPtr, KStringPtr, KInteropNumber, Ark_Int32)
42889 Ark_NativePointer impl_ConsoleMessage_getFinalizer() {
42890         return GetAccessors()->getConsoleMessageAccessor()->getFinalizer();
42891 }
KOALA_INTEROP_DIRECT_0(ConsoleMessage_getFinalizer,Ark_NativePointer)42892 KOALA_INTEROP_DIRECT_0(ConsoleMessage_getFinalizer, Ark_NativePointer)
42893 Ark_String impl_ConsoleMessage_getMessage(Ark_NativePointer thisPtr) {
42894         Ark_ConsoleMessage self = reinterpret_cast<Ark_ConsoleMessage>(thisPtr);
42895         return GetAccessors()->getConsoleMessageAccessor()->getMessage(self);
42896 }
KOALA_INTEROP_1(ConsoleMessage_getMessage,KStringPtr,Ark_NativePointer)42897 KOALA_INTEROP_1(ConsoleMessage_getMessage, KStringPtr, Ark_NativePointer)
42898 Ark_String impl_ConsoleMessage_getSourceId(Ark_NativePointer thisPtr) {
42899         Ark_ConsoleMessage self = reinterpret_cast<Ark_ConsoleMessage>(thisPtr);
42900         return GetAccessors()->getConsoleMessageAccessor()->getSourceId(self);
42901 }
KOALA_INTEROP_1(ConsoleMessage_getSourceId,KStringPtr,Ark_NativePointer)42902 KOALA_INTEROP_1(ConsoleMessage_getSourceId, KStringPtr, Ark_NativePointer)
42903 Ark_Number impl_ConsoleMessage_getLineNumber(Ark_NativePointer thisPtr) {
42904         Ark_ConsoleMessage self = reinterpret_cast<Ark_ConsoleMessage>(thisPtr);
42905         return GetAccessors()->getConsoleMessageAccessor()->getLineNumber(self);
42906 }
KOALA_INTEROP_DIRECT_1(ConsoleMessage_getLineNumber,KInteropNumber,Ark_NativePointer)42907 KOALA_INTEROP_DIRECT_1(ConsoleMessage_getLineNumber, KInteropNumber, Ark_NativePointer)
42908 Ark_Int32 impl_ConsoleMessage_getMessageLevel(Ark_NativePointer thisPtr) {
42909         Ark_ConsoleMessage self = reinterpret_cast<Ark_ConsoleMessage>(thisPtr);
42910         return GetAccessors()->getConsoleMessageAccessor()->getMessageLevel(self);
42911 }
KOALA_INTEROP_DIRECT_1(ConsoleMessage_getMessageLevel,Ark_Int32,Ark_NativePointer)42912 KOALA_INTEROP_DIRECT_1(ConsoleMessage_getMessageLevel, Ark_Int32, Ark_NativePointer)
42913 Ark_NativePointer impl_WebResourceRequest_ctor() {
42914         return GetAccessors()->getWebResourceRequestAccessor()->ctor();
42915 }
KOALA_INTEROP_DIRECT_0(WebResourceRequest_ctor,Ark_NativePointer)42916 KOALA_INTEROP_DIRECT_0(WebResourceRequest_ctor, Ark_NativePointer)
42917 Ark_NativePointer impl_WebResourceRequest_getFinalizer() {
42918         return GetAccessors()->getWebResourceRequestAccessor()->getFinalizer();
42919 }
KOALA_INTEROP_DIRECT_0(WebResourceRequest_getFinalizer,Ark_NativePointer)42920 KOALA_INTEROP_DIRECT_0(WebResourceRequest_getFinalizer, Ark_NativePointer)
42921 KInteropReturnBuffer impl_WebResourceRequest_getRequestHeader(Ark_NativePointer thisPtr) {
42922         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42923         const auto &retValue = GetAccessors()->getWebResourceRequestAccessor()->getRequestHeader(self);
42924         Serializer _retSerializer {};
42925         _retSerializer.writeInt32(retValue.length);
42926         for (int i = 0; i < retValue.length; i++) {
42927             const Ark_Header retValue_element = retValue.array[i];
42928             _retSerializer.writeHeader(retValue_element);
42929         }
42930         return _retSerializer.toReturnBuffer();
42931 }
KOALA_INTEROP_1(WebResourceRequest_getRequestHeader,KInteropReturnBuffer,Ark_NativePointer)42932 KOALA_INTEROP_1(WebResourceRequest_getRequestHeader, KInteropReturnBuffer, Ark_NativePointer)
42933 Ark_String impl_WebResourceRequest_getRequestUrl(Ark_NativePointer thisPtr) {
42934         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42935         return GetAccessors()->getWebResourceRequestAccessor()->getRequestUrl(self);
42936 }
KOALA_INTEROP_1(WebResourceRequest_getRequestUrl,KStringPtr,Ark_NativePointer)42937 KOALA_INTEROP_1(WebResourceRequest_getRequestUrl, KStringPtr, Ark_NativePointer)
42938 Ark_Boolean impl_WebResourceRequest_isRequestGesture(Ark_NativePointer thisPtr) {
42939         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42940         return GetAccessors()->getWebResourceRequestAccessor()->isRequestGesture(self);
42941 }
KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRequestGesture,Ark_Boolean,Ark_NativePointer)42942 KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRequestGesture, Ark_Boolean, Ark_NativePointer)
42943 Ark_Boolean impl_WebResourceRequest_isMainFrame(Ark_NativePointer thisPtr) {
42944         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42945         return GetAccessors()->getWebResourceRequestAccessor()->isMainFrame(self);
42946 }
KOALA_INTEROP_DIRECT_1(WebResourceRequest_isMainFrame,Ark_Boolean,Ark_NativePointer)42947 KOALA_INTEROP_DIRECT_1(WebResourceRequest_isMainFrame, Ark_Boolean, Ark_NativePointer)
42948 Ark_Boolean impl_WebResourceRequest_isRedirect(Ark_NativePointer thisPtr) {
42949         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42950         return GetAccessors()->getWebResourceRequestAccessor()->isRedirect(self);
42951 }
KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRedirect,Ark_Boolean,Ark_NativePointer)42952 KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRedirect, Ark_Boolean, Ark_NativePointer)
42953 Ark_String impl_WebResourceRequest_getRequestMethod(Ark_NativePointer thisPtr) {
42954         Ark_WebResourceRequest self = reinterpret_cast<Ark_WebResourceRequest>(thisPtr);
42955         return GetAccessors()->getWebResourceRequestAccessor()->getRequestMethod(self);
42956 }
KOALA_INTEROP_1(WebResourceRequest_getRequestMethod,KStringPtr,Ark_NativePointer)42957 KOALA_INTEROP_1(WebResourceRequest_getRequestMethod, KStringPtr, Ark_NativePointer)
42958 Ark_NativePointer impl_WebResourceResponse_ctor() {
42959         return GetAccessors()->getWebResourceResponseAccessor()->ctor();
42960 }
KOALA_INTEROP_DIRECT_0(WebResourceResponse_ctor,Ark_NativePointer)42961 KOALA_INTEROP_DIRECT_0(WebResourceResponse_ctor, Ark_NativePointer)
42962 Ark_NativePointer impl_WebResourceResponse_getFinalizer() {
42963         return GetAccessors()->getWebResourceResponseAccessor()->getFinalizer();
42964 }
KOALA_INTEROP_DIRECT_0(WebResourceResponse_getFinalizer,Ark_NativePointer)42965 KOALA_INTEROP_DIRECT_0(WebResourceResponse_getFinalizer, Ark_NativePointer)
42966 Ark_String impl_WebResourceResponse_getResponseData(Ark_NativePointer thisPtr) {
42967         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
42968         return GetAccessors()->getWebResourceResponseAccessor()->getResponseData(self);
42969 }
KOALA_INTEROP_1(WebResourceResponse_getResponseData,KStringPtr,Ark_NativePointer)42970 KOALA_INTEROP_1(WebResourceResponse_getResponseData, KStringPtr, Ark_NativePointer)
42971 KInteropReturnBuffer impl_WebResourceResponse_getResponseDataEx(Ark_NativePointer thisPtr) {
42972         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
42973         const auto &retValue = GetAccessors()->getWebResourceResponseAccessor()->getResponseDataEx(self);
42974         Serializer _retSerializer {};
42975         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
42976         retValue_type = runtimeType(retValue);
42977         _retSerializer.writeInt8(retValue_type);
42978         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
42979             const auto retValue_value = retValue.value;
42980             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
42981             retValue_value_type = retValue_value.selector;
42982             if (retValue_value_type == 0) {
42983                 _retSerializer.writeInt8(0);
42984                 const auto retValue_value_0 = retValue_value.value0;
42985                 _retSerializer.writeString(retValue_value_0);
42986             }
42987             else if (retValue_value_type == 1) {
42988                 _retSerializer.writeInt8(1);
42989                 const auto retValue_value_1 = retValue_value.value1;
42990                 _retSerializer.writeNumber(retValue_value_1);
42991             }
42992             else if (retValue_value_type == 2) {
42993                 _retSerializer.writeInt8(2);
42994                 const auto retValue_value_2 = retValue_value.value2;
42995                 _retSerializer.writeBuffer(retValue_value_2);
42996             }
42997             else if (retValue_value_type == 3) {
42998                 _retSerializer.writeInt8(3);
42999                 const auto retValue_value_3 = retValue_value.value3;
43000                 _retSerializer.writeResource(retValue_value_3);
43001             }
43002         }
43003         return _retSerializer.toReturnBuffer();
43004 }
KOALA_INTEROP_1(WebResourceResponse_getResponseDataEx,KInteropReturnBuffer,Ark_NativePointer)43005 KOALA_INTEROP_1(WebResourceResponse_getResponseDataEx, KInteropReturnBuffer, Ark_NativePointer)
43006 Ark_String impl_WebResourceResponse_getResponseEncoding(Ark_NativePointer thisPtr) {
43007         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43008         return GetAccessors()->getWebResourceResponseAccessor()->getResponseEncoding(self);
43009 }
KOALA_INTEROP_1(WebResourceResponse_getResponseEncoding,KStringPtr,Ark_NativePointer)43010 KOALA_INTEROP_1(WebResourceResponse_getResponseEncoding, KStringPtr, Ark_NativePointer)
43011 Ark_String impl_WebResourceResponse_getResponseMimeType(Ark_NativePointer thisPtr) {
43012         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43013         return GetAccessors()->getWebResourceResponseAccessor()->getResponseMimeType(self);
43014 }
KOALA_INTEROP_1(WebResourceResponse_getResponseMimeType,KStringPtr,Ark_NativePointer)43015 KOALA_INTEROP_1(WebResourceResponse_getResponseMimeType, KStringPtr, Ark_NativePointer)
43016 Ark_String impl_WebResourceResponse_getReasonMessage(Ark_NativePointer thisPtr) {
43017         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43018         return GetAccessors()->getWebResourceResponseAccessor()->getReasonMessage(self);
43019 }
KOALA_INTEROP_1(WebResourceResponse_getReasonMessage,KStringPtr,Ark_NativePointer)43020 KOALA_INTEROP_1(WebResourceResponse_getReasonMessage, KStringPtr, Ark_NativePointer)
43021 KInteropReturnBuffer impl_WebResourceResponse_getResponseHeader(Ark_NativePointer thisPtr) {
43022         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43023         const auto &retValue = GetAccessors()->getWebResourceResponseAccessor()->getResponseHeader(self);
43024         Serializer _retSerializer {};
43025         _retSerializer.writeInt32(retValue.length);
43026         for (int i = 0; i < retValue.length; i++) {
43027             const Ark_Header retValue_element = retValue.array[i];
43028             _retSerializer.writeHeader(retValue_element);
43029         }
43030         return _retSerializer.toReturnBuffer();
43031 }
KOALA_INTEROP_1(WebResourceResponse_getResponseHeader,KInteropReturnBuffer,Ark_NativePointer)43032 KOALA_INTEROP_1(WebResourceResponse_getResponseHeader, KInteropReturnBuffer, Ark_NativePointer)
43033 Ark_Number impl_WebResourceResponse_getResponseCode(Ark_NativePointer thisPtr) {
43034         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43035         return GetAccessors()->getWebResourceResponseAccessor()->getResponseCode(self);
43036 }
KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseCode,KInteropNumber,Ark_NativePointer)43037 KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseCode, KInteropNumber, Ark_NativePointer)
43038 void impl_WebResourceResponse_setResponseData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43039         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43040         Deserializer thisDeserializer(thisArray, thisLength);
43041         const Ark_Int8 data_value_buf_selector = thisDeserializer.readInt8();
43042         Ark_Union_String_Number_Resource_Buffer data_value_buf = {};
43043         data_value_buf.selector = data_value_buf_selector;
43044         if (data_value_buf_selector == 0) {
43045             data_value_buf.selector = 0;
43046             data_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
43047         }
43048         else if (data_value_buf_selector == 1) {
43049             data_value_buf.selector = 1;
43050             data_value_buf.value1 = static_cast<Ark_Number>(thisDeserializer.readNumber());
43051         }
43052         else if (data_value_buf_selector == 2) {
43053             data_value_buf.selector = 2;
43054             data_value_buf.value2 = thisDeserializer.readResource();
43055         }
43056         else if (data_value_buf_selector == 3) {
43057             data_value_buf.selector = 3;
43058             data_value_buf.value3 = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());
43059         }
43060         else {
43061             INTEROP_FATAL("One of the branches for data_value_buf has to be chosen through deserialisation.");
43062         }
43063         Ark_Union_String_Number_Resource_Buffer data_value = static_cast<Ark_Union_String_Number_Resource_Buffer>(data_value_buf);;
43064         GetAccessors()->getWebResourceResponseAccessor()->setResponseData(self, (const Ark_Union_String_Number_Resource_Buffer*)&data_value);
43065 }
KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseData,Ark_NativePointer,KSerializerBuffer,int32_t)43066 KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseData, Ark_NativePointer, KSerializerBuffer, int32_t)
43067 void impl_WebResourceResponse_setResponseEncoding(Ark_NativePointer thisPtr, const KStringPtr& encoding) {
43068         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43069         GetAccessors()->getWebResourceResponseAccessor()->setResponseEncoding(self, (const Ark_String*) (&encoding));
43070 }
KOALA_INTEROP_V2(WebResourceResponse_setResponseEncoding,Ark_NativePointer,KStringPtr)43071 KOALA_INTEROP_V2(WebResourceResponse_setResponseEncoding, Ark_NativePointer, KStringPtr)
43072 void impl_WebResourceResponse_setResponseMimeType(Ark_NativePointer thisPtr, const KStringPtr& mimeType) {
43073         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43074         GetAccessors()->getWebResourceResponseAccessor()->setResponseMimeType(self, (const Ark_String*) (&mimeType));
43075 }
KOALA_INTEROP_V2(WebResourceResponse_setResponseMimeType,Ark_NativePointer,KStringPtr)43076 KOALA_INTEROP_V2(WebResourceResponse_setResponseMimeType, Ark_NativePointer, KStringPtr)
43077 void impl_WebResourceResponse_setReasonMessage(Ark_NativePointer thisPtr, const KStringPtr& reason) {
43078         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43079         GetAccessors()->getWebResourceResponseAccessor()->setReasonMessage(self, (const Ark_String*) (&reason));
43080 }
KOALA_INTEROP_V2(WebResourceResponse_setReasonMessage,Ark_NativePointer,KStringPtr)43081 KOALA_INTEROP_V2(WebResourceResponse_setReasonMessage, Ark_NativePointer, KStringPtr)
43082 void impl_WebResourceResponse_setResponseHeader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43083         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43084         Deserializer thisDeserializer(thisArray, thisLength);
43085         const Ark_Int32 header_value_buf_length = thisDeserializer.readInt32();
43086         Array_Header header_value_buf = {};
43087         thisDeserializer.resizeArray<std::decay<decltype(header_value_buf)>::type,
43088         std::decay<decltype(*header_value_buf.array)>::type>(&header_value_buf, header_value_buf_length);
43089         for (int header_value_buf_i = 0; header_value_buf_i < header_value_buf_length; header_value_buf_i++) {
43090             header_value_buf.array[header_value_buf_i] = thisDeserializer.readHeader();
43091         }
43092         Array_Header header_value = header_value_buf;;
43093         GetAccessors()->getWebResourceResponseAccessor()->setResponseHeader(self, (const Array_Header*)&header_value);
43094 }
KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseHeader,Ark_NativePointer,KSerializerBuffer,int32_t)43095 KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseHeader, Ark_NativePointer, KSerializerBuffer, int32_t)
43096 void impl_WebResourceResponse_setResponseCode(Ark_NativePointer thisPtr, KInteropNumber code) {
43097         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43098         GetAccessors()->getWebResourceResponseAccessor()->setResponseCode(self, (const Ark_Number*) (&code));
43099 }
KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseCode,Ark_NativePointer,KInteropNumber)43100 KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseCode, Ark_NativePointer, KInteropNumber)
43101 void impl_WebResourceResponse_setResponseIsReady(Ark_NativePointer thisPtr, Ark_Boolean IsReady) {
43102         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43103         GetAccessors()->getWebResourceResponseAccessor()->setResponseIsReady(self, IsReady);
43104 }
KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseIsReady,Ark_NativePointer,Ark_Boolean)43105 KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseIsReady, Ark_NativePointer, Ark_Boolean)
43106 Ark_Boolean impl_WebResourceResponse_getResponseIsReady(Ark_NativePointer thisPtr) {
43107         Ark_WebResourceResponse self = reinterpret_cast<Ark_WebResourceResponse>(thisPtr);
43108         return GetAccessors()->getWebResourceResponseAccessor()->getResponseIsReady(self);
43109 }
KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseIsReady,Ark_Boolean,Ark_NativePointer)43110 KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseIsReady, Ark_Boolean, Ark_NativePointer)
43111 Ark_NativePointer impl_WebResourceError_ctor() {
43112         return GetAccessors()->getWebResourceErrorAccessor()->ctor();
43113 }
KOALA_INTEROP_DIRECT_0(WebResourceError_ctor,Ark_NativePointer)43114 KOALA_INTEROP_DIRECT_0(WebResourceError_ctor, Ark_NativePointer)
43115 Ark_NativePointer impl_WebResourceError_getFinalizer() {
43116         return GetAccessors()->getWebResourceErrorAccessor()->getFinalizer();
43117 }
KOALA_INTEROP_DIRECT_0(WebResourceError_getFinalizer,Ark_NativePointer)43118 KOALA_INTEROP_DIRECT_0(WebResourceError_getFinalizer, Ark_NativePointer)
43119 Ark_String impl_WebResourceError_getErrorInfo(Ark_NativePointer thisPtr) {
43120         Ark_WebResourceError self = reinterpret_cast<Ark_WebResourceError>(thisPtr);
43121         return GetAccessors()->getWebResourceErrorAccessor()->getErrorInfo(self);
43122 }
KOALA_INTEROP_1(WebResourceError_getErrorInfo,KStringPtr,Ark_NativePointer)43123 KOALA_INTEROP_1(WebResourceError_getErrorInfo, KStringPtr, Ark_NativePointer)
43124 Ark_Number impl_WebResourceError_getErrorCode(Ark_NativePointer thisPtr) {
43125         Ark_WebResourceError self = reinterpret_cast<Ark_WebResourceError>(thisPtr);
43126         return GetAccessors()->getWebResourceErrorAccessor()->getErrorCode(self);
43127 }
KOALA_INTEROP_DIRECT_1(WebResourceError_getErrorCode,KInteropNumber,Ark_NativePointer)43128 KOALA_INTEROP_DIRECT_1(WebResourceError_getErrorCode, KInteropNumber, Ark_NativePointer)
43129 Ark_NativePointer impl_JsGeolocation_ctor() {
43130         return GetAccessors()->getJsGeolocationAccessor()->ctor();
43131 }
KOALA_INTEROP_DIRECT_0(JsGeolocation_ctor,Ark_NativePointer)43132 KOALA_INTEROP_DIRECT_0(JsGeolocation_ctor, Ark_NativePointer)
43133 Ark_NativePointer impl_JsGeolocation_getFinalizer() {
43134         return GetAccessors()->getJsGeolocationAccessor()->getFinalizer();
43135 }
KOALA_INTEROP_DIRECT_0(JsGeolocation_getFinalizer,Ark_NativePointer)43136 KOALA_INTEROP_DIRECT_0(JsGeolocation_getFinalizer, Ark_NativePointer)
43137 void impl_JsGeolocation_invoke(Ark_NativePointer thisPtr, const KStringPtr& origin, Ark_Boolean allow, Ark_Boolean retain) {
43138         Ark_JsGeolocation self = reinterpret_cast<Ark_JsGeolocation>(thisPtr);
43139         GetAccessors()->getJsGeolocationAccessor()->invoke(self, (const Ark_String*) (&origin), allow, retain);
43140 }
KOALA_INTEROP_V4(JsGeolocation_invoke,Ark_NativePointer,KStringPtr,Ark_Boolean,Ark_Boolean)43141 KOALA_INTEROP_V4(JsGeolocation_invoke, Ark_NativePointer, KStringPtr, Ark_Boolean, Ark_Boolean)
43142 Ark_NativePointer impl_WebCookie_ctor() {
43143         return GetAccessors()->getWebCookieAccessor()->ctor();
43144 }
KOALA_INTEROP_DIRECT_0(WebCookie_ctor,Ark_NativePointer)43145 KOALA_INTEROP_DIRECT_0(WebCookie_ctor, Ark_NativePointer)
43146 Ark_NativePointer impl_WebCookie_getFinalizer() {
43147         return GetAccessors()->getWebCookieAccessor()->getFinalizer();
43148 }
KOALA_INTEROP_DIRECT_0(WebCookie_getFinalizer,Ark_NativePointer)43149 KOALA_INTEROP_DIRECT_0(WebCookie_getFinalizer, Ark_NativePointer)
43150 void impl_WebCookie_setCookie(Ark_NativePointer thisPtr) {
43151         Ark_WebCookie self = reinterpret_cast<Ark_WebCookie>(thisPtr);
43152         GetAccessors()->getWebCookieAccessor()->setCookie(self);
43153 }
KOALA_INTEROP_DIRECT_V1(WebCookie_setCookie,Ark_NativePointer)43154 KOALA_INTEROP_DIRECT_V1(WebCookie_setCookie, Ark_NativePointer)
43155 void impl_WebCookie_saveCookie(Ark_NativePointer thisPtr) {
43156         Ark_WebCookie self = reinterpret_cast<Ark_WebCookie>(thisPtr);
43157         GetAccessors()->getWebCookieAccessor()->saveCookie(self);
43158 }
KOALA_INTEROP_DIRECT_V1(WebCookie_saveCookie,Ark_NativePointer)43159 KOALA_INTEROP_DIRECT_V1(WebCookie_saveCookie, Ark_NativePointer)
43160 Ark_NativePointer impl_EventResult_ctor() {
43161         return GetAccessors()->getEventResultAccessor()->ctor();
43162 }
KOALA_INTEROP_DIRECT_0(EventResult_ctor,Ark_NativePointer)43163 KOALA_INTEROP_DIRECT_0(EventResult_ctor, Ark_NativePointer)
43164 Ark_NativePointer impl_EventResult_getFinalizer() {
43165         return GetAccessors()->getEventResultAccessor()->getFinalizer();
43166 }
KOALA_INTEROP_DIRECT_0(EventResult_getFinalizer,Ark_NativePointer)43167 KOALA_INTEROP_DIRECT_0(EventResult_getFinalizer, Ark_NativePointer)
43168 void impl_EventResult_setGestureEventResult0(Ark_NativePointer thisPtr, Ark_Boolean result) {
43169         Ark_EventResult self = reinterpret_cast<Ark_EventResult>(thisPtr);
43170         GetAccessors()->getEventResultAccessor()->setGestureEventResult0(self, result);
43171 }
KOALA_INTEROP_DIRECT_V2(EventResult_setGestureEventResult0,Ark_NativePointer,Ark_Boolean)43172 KOALA_INTEROP_DIRECT_V2(EventResult_setGestureEventResult0, Ark_NativePointer, Ark_Boolean)
43173 void impl_EventResult_setGestureEventResult1(Ark_NativePointer thisPtr, Ark_Boolean result, Ark_Boolean stopPropagation) {
43174         Ark_EventResult self = reinterpret_cast<Ark_EventResult>(thisPtr);
43175         GetAccessors()->getEventResultAccessor()->setGestureEventResult1(self, result, stopPropagation);
43176 }
KOALA_INTEROP_DIRECT_V3(EventResult_setGestureEventResult1,Ark_NativePointer,Ark_Boolean,Ark_Boolean)43177 KOALA_INTEROP_DIRECT_V3(EventResult_setGestureEventResult1, Ark_NativePointer, Ark_Boolean, Ark_Boolean)
43178 Ark_NativePointer impl_WebController_ctor() {
43179         return GetAccessors()->getWebControllerAccessor()->ctor();
43180 }
KOALA_INTEROP_DIRECT_0(WebController_ctor,Ark_NativePointer)43181 KOALA_INTEROP_DIRECT_0(WebController_ctor, Ark_NativePointer)
43182 Ark_NativePointer impl_WebController_getFinalizer() {
43183         return GetAccessors()->getWebControllerAccessor()->getFinalizer();
43184 }
KOALA_INTEROP_DIRECT_0(WebController_getFinalizer,Ark_NativePointer)43185 KOALA_INTEROP_DIRECT_0(WebController_getFinalizer, Ark_NativePointer)
43186 void impl_WebController_onInactive(Ark_NativePointer thisPtr) {
43187         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43188         GetAccessors()->getWebControllerAccessor()->onInactive(self);
43189 }
KOALA_INTEROP_DIRECT_V1(WebController_onInactive,Ark_NativePointer)43190 KOALA_INTEROP_DIRECT_V1(WebController_onInactive, Ark_NativePointer)
43191 void impl_WebController_onActive(Ark_NativePointer thisPtr) {
43192         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43193         GetAccessors()->getWebControllerAccessor()->onActive(self);
43194 }
KOALA_INTEROP_DIRECT_V1(WebController_onActive,Ark_NativePointer)43195 KOALA_INTEROP_DIRECT_V1(WebController_onActive, Ark_NativePointer)
43196 void impl_WebController_zoom(Ark_NativePointer thisPtr, KInteropNumber factor) {
43197         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43198         GetAccessors()->getWebControllerAccessor()->zoom(self, (const Ark_Number*) (&factor));
43199 }
KOALA_INTEROP_DIRECT_V2(WebController_zoom,Ark_NativePointer,KInteropNumber)43200 KOALA_INTEROP_DIRECT_V2(WebController_zoom, Ark_NativePointer, KInteropNumber)
43201 void impl_WebController_clearHistory(Ark_NativePointer thisPtr) {
43202         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43203         GetAccessors()->getWebControllerAccessor()->clearHistory(self);
43204 }
KOALA_INTEROP_DIRECT_V1(WebController_clearHistory,Ark_NativePointer)43205 KOALA_INTEROP_DIRECT_V1(WebController_clearHistory, Ark_NativePointer)
43206 void impl_WebController_runJavaScript(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43207         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43208         Deserializer thisDeserializer(thisArray, thisLength);
43209         Ark_Literal_String_script_Callback_String_Void_callback_ options_value_buf = {};
43210         options_value_buf.script = static_cast<Ark_String>(thisDeserializer.readString());
43211         const auto options_value_buf_callback__buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43212         Opt_Callback_String_Void options_value_buf_callback__buf = {};
43213         options_value_buf_callback__buf.tag = options_value_buf_callback__buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43214         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_callback__buf_runtimeType))
43215         {
43216             options_value_buf_callback__buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};
43217         }
43218         options_value_buf.callback_ = options_value_buf_callback__buf;
43219         Ark_Literal_String_script_Callback_String_Void_callback_ options_value = options_value_buf;;
43220         GetAccessors()->getWebControllerAccessor()->runJavaScript(self, (const Ark_Literal_String_script_Callback_String_Void_callback_*)&options_value);
43221 }
KOALA_INTEROP_DIRECT_V3(WebController_runJavaScript,Ark_NativePointer,KSerializerBuffer,int32_t)43222 KOALA_INTEROP_DIRECT_V3(WebController_runJavaScript, Ark_NativePointer, KSerializerBuffer, int32_t)
43223 void impl_WebController_loadData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43224         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43225         Deserializer thisDeserializer(thisArray, thisLength);
43226         Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType options_value_buf = {};
43227         options_value_buf.data = static_cast<Ark_String>(thisDeserializer.readString());
43228         options_value_buf.mimeType = static_cast<Ark_String>(thisDeserializer.readString());
43229         options_value_buf.encoding = static_cast<Ark_String>(thisDeserializer.readString());
43230         const auto options_value_buf_baseUrl_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43231         Opt_String options_value_buf_baseUrl_buf = {};
43232         options_value_buf_baseUrl_buf.tag = options_value_buf_baseUrl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43233         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_baseUrl_buf_runtimeType))
43234         {
43235             options_value_buf_baseUrl_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
43236         }
43237         options_value_buf.baseUrl = options_value_buf_baseUrl_buf;
43238         const auto options_value_buf_historyUrl_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43239         Opt_String options_value_buf_historyUrl_buf = {};
43240         options_value_buf_historyUrl_buf.tag = options_value_buf_historyUrl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43241         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_historyUrl_buf_runtimeType))
43242         {
43243             options_value_buf_historyUrl_buf.value = static_cast<Ark_String>(thisDeserializer.readString());
43244         }
43245         options_value_buf.historyUrl = options_value_buf_historyUrl_buf;
43246         Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType options_value = options_value_buf;;
43247         GetAccessors()->getWebControllerAccessor()->loadData(self, (const Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType*)&options_value);
43248 }
KOALA_INTEROP_DIRECT_V3(WebController_loadData,Ark_NativePointer,KSerializerBuffer,int32_t)43249 KOALA_INTEROP_DIRECT_V3(WebController_loadData, Ark_NativePointer, KSerializerBuffer, int32_t)
43250 void impl_WebController_loadUrl(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43251         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43252         Deserializer thisDeserializer(thisArray, thisLength);
43253         Ark_Literal_Union_String_Resource_url_Array_Header_headers options_value_buf = {};
43254         const Ark_Int8 options_value_buf_url_buf_selector = thisDeserializer.readInt8();
43255         Ark_Union_String_Resource options_value_buf_url_buf = {};
43256         options_value_buf_url_buf.selector = options_value_buf_url_buf_selector;
43257         if (options_value_buf_url_buf_selector == 0) {
43258             options_value_buf_url_buf.selector = 0;
43259             options_value_buf_url_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
43260         }
43261         else if (options_value_buf_url_buf_selector == 1) {
43262             options_value_buf_url_buf.selector = 1;
43263             options_value_buf_url_buf.value1 = thisDeserializer.readResource();
43264         }
43265         else {
43266             INTEROP_FATAL("One of the branches for options_value_buf_url_buf has to be chosen through deserialisation.");
43267         }
43268         options_value_buf.url = static_cast<Ark_Union_String_Resource>(options_value_buf_url_buf);
43269         const auto options_value_buf_headers_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43270         Opt_Array_Header options_value_buf_headers_buf = {};
43271         options_value_buf_headers_buf.tag = options_value_buf_headers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43272         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_headers_buf_runtimeType))
43273         {
43274             const Ark_Int32 options_value_buf_headers_buf__length = thisDeserializer.readInt32();
43275             Array_Header options_value_buf_headers_buf_ = {};
43276             thisDeserializer.resizeArray<std::decay<decltype(options_value_buf_headers_buf_)>::type,
43277         std::decay<decltype(*options_value_buf_headers_buf_.array)>::type>(&options_value_buf_headers_buf_, options_value_buf_headers_buf__length);
43278             for (int options_value_buf_headers_buf__i = 0; options_value_buf_headers_buf__i < options_value_buf_headers_buf__length; options_value_buf_headers_buf__i++) {
43279                 options_value_buf_headers_buf_.array[options_value_buf_headers_buf__i] = thisDeserializer.readHeader();
43280             }
43281             options_value_buf_headers_buf.value = options_value_buf_headers_buf_;
43282         }
43283         options_value_buf.headers = options_value_buf_headers_buf;
43284         Ark_Literal_Union_String_Resource_url_Array_Header_headers options_value = options_value_buf;;
43285         GetAccessors()->getWebControllerAccessor()->loadUrl(self, (const Ark_Literal_Union_String_Resource_url_Array_Header_headers*)&options_value);
43286 }
KOALA_INTEROP_DIRECT_V3(WebController_loadUrl,Ark_NativePointer,KSerializerBuffer,int32_t)43287 KOALA_INTEROP_DIRECT_V3(WebController_loadUrl, Ark_NativePointer, KSerializerBuffer, int32_t)
43288 void impl_WebController_refresh(Ark_NativePointer thisPtr) {
43289         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43290         GetAccessors()->getWebControllerAccessor()->refresh(self);
43291 }
KOALA_INTEROP_DIRECT_V1(WebController_refresh,Ark_NativePointer)43292 KOALA_INTEROP_DIRECT_V1(WebController_refresh, Ark_NativePointer)
43293 void impl_WebController_stop(Ark_NativePointer thisPtr) {
43294         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43295         GetAccessors()->getWebControllerAccessor()->stop(self);
43296 }
KOALA_INTEROP_DIRECT_V1(WebController_stop,Ark_NativePointer)43297 KOALA_INTEROP_DIRECT_V1(WebController_stop, Ark_NativePointer)
43298 void impl_WebController_registerJavaScriptProxy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43299         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43300         Deserializer thisDeserializer(thisArray, thisLength);
43301         Ark_Literal_Object_object__String_name_Array_String_methodList options_value_buf = {};
43302         options_value_buf.object_ = static_cast<Ark_Object>(thisDeserializer.readObject());
43303         options_value_buf.name = static_cast<Ark_String>(thisDeserializer.readString());
43304         const Ark_Int32 options_value_buf_methodList_buf_length = thisDeserializer.readInt32();
43305         Array_String options_value_buf_methodList_buf = {};
43306         thisDeserializer.resizeArray<std::decay<decltype(options_value_buf_methodList_buf)>::type,
43307         std::decay<decltype(*options_value_buf_methodList_buf.array)>::type>(&options_value_buf_methodList_buf, options_value_buf_methodList_buf_length);
43308         for (int options_value_buf_methodList_buf_i = 0; options_value_buf_methodList_buf_i < options_value_buf_methodList_buf_length; options_value_buf_methodList_buf_i++) {
43309             options_value_buf_methodList_buf.array[options_value_buf_methodList_buf_i] = static_cast<Ark_String>(thisDeserializer.readString());
43310         }
43311         options_value_buf.methodList = options_value_buf_methodList_buf;
43312         Ark_Literal_Object_object__String_name_Array_String_methodList options_value = options_value_buf;;
43313         GetAccessors()->getWebControllerAccessor()->registerJavaScriptProxy(self, (const Ark_Literal_Object_object__String_name_Array_String_methodList*)&options_value);
43314 }
KOALA_INTEROP_DIRECT_V3(WebController_registerJavaScriptProxy,Ark_NativePointer,KSerializerBuffer,int32_t)43315 KOALA_INTEROP_DIRECT_V3(WebController_registerJavaScriptProxy, Ark_NativePointer, KSerializerBuffer, int32_t)
43316 void impl_WebController_deleteJavaScriptRegister(Ark_NativePointer thisPtr, const KStringPtr& name) {
43317         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43318         GetAccessors()->getWebControllerAccessor()->deleteJavaScriptRegister(self, (const Ark_String*) (&name));
43319 }
KOALA_INTEROP_V2(WebController_deleteJavaScriptRegister,Ark_NativePointer,KStringPtr)43320 KOALA_INTEROP_V2(WebController_deleteJavaScriptRegister, Ark_NativePointer, KStringPtr)
43321 Ark_Int32 impl_WebController_getHitTest(Ark_NativePointer thisPtr) {
43322         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43323         return GetAccessors()->getWebControllerAccessor()->getHitTest(self);
43324 }
KOALA_INTEROP_DIRECT_1(WebController_getHitTest,Ark_Int32,Ark_NativePointer)43325 KOALA_INTEROP_DIRECT_1(WebController_getHitTest, Ark_Int32, Ark_NativePointer)
43326 void impl_WebController_requestFocus(Ark_NativePointer thisPtr) {
43327         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43328         GetAccessors()->getWebControllerAccessor()->requestFocus(self);
43329 }
KOALA_INTEROP_DIRECT_V1(WebController_requestFocus,Ark_NativePointer)43330 KOALA_INTEROP_DIRECT_V1(WebController_requestFocus, Ark_NativePointer)
43331 Ark_Boolean impl_WebController_accessBackward(Ark_NativePointer thisPtr) {
43332         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43333         return GetAccessors()->getWebControllerAccessor()->accessBackward(self);
43334 }
KOALA_INTEROP_DIRECT_1(WebController_accessBackward,Ark_Boolean,Ark_NativePointer)43335 KOALA_INTEROP_DIRECT_1(WebController_accessBackward, Ark_Boolean, Ark_NativePointer)
43336 Ark_Boolean impl_WebController_accessForward(Ark_NativePointer thisPtr) {
43337         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43338         return GetAccessors()->getWebControllerAccessor()->accessForward(self);
43339 }
KOALA_INTEROP_DIRECT_1(WebController_accessForward,Ark_Boolean,Ark_NativePointer)43340 KOALA_INTEROP_DIRECT_1(WebController_accessForward, Ark_Boolean, Ark_NativePointer)
43341 Ark_Boolean impl_WebController_accessStep(Ark_NativePointer thisPtr, KInteropNumber step) {
43342         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43343         return GetAccessors()->getWebControllerAccessor()->accessStep(self, (const Ark_Number*) (&step));
43344 }
KOALA_INTEROP_DIRECT_2(WebController_accessStep,Ark_Boolean,Ark_NativePointer,KInteropNumber)43345 KOALA_INTEROP_DIRECT_2(WebController_accessStep, Ark_Boolean, Ark_NativePointer, KInteropNumber)
43346 void impl_WebController_backward(Ark_NativePointer thisPtr) {
43347         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43348         GetAccessors()->getWebControllerAccessor()->backward(self);
43349 }
KOALA_INTEROP_DIRECT_V1(WebController_backward,Ark_NativePointer)43350 KOALA_INTEROP_DIRECT_V1(WebController_backward, Ark_NativePointer)
43351 void impl_WebController_forward(Ark_NativePointer thisPtr) {
43352         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43353         GetAccessors()->getWebControllerAccessor()->forward(self);
43354 }
KOALA_INTEROP_DIRECT_V1(WebController_forward,Ark_NativePointer)43355 KOALA_INTEROP_DIRECT_V1(WebController_forward, Ark_NativePointer)
43356 Ark_NativePointer impl_WebController_getCookieManager(Ark_NativePointer thisPtr) {
43357         Ark_WebController self = reinterpret_cast<Ark_WebController>(thisPtr);
43358         return GetAccessors()->getWebControllerAccessor()->getCookieManager(self);
43359 }
KOALA_INTEROP_DIRECT_1(WebController_getCookieManager,Ark_NativePointer,Ark_NativePointer)43360 KOALA_INTEROP_DIRECT_1(WebController_getCookieManager, Ark_NativePointer, Ark_NativePointer)
43361 Ark_NativePointer impl_XComponentController_ctor() {
43362         return GetAccessors()->getXComponentControllerAccessor()->ctor();
43363 }
KOALA_INTEROP_DIRECT_0(XComponentController_ctor,Ark_NativePointer)43364 KOALA_INTEROP_DIRECT_0(XComponentController_ctor, Ark_NativePointer)
43365 Ark_NativePointer impl_XComponentController_getFinalizer() {
43366         return GetAccessors()->getXComponentControllerAccessor()->getFinalizer();
43367 }
KOALA_INTEROP_DIRECT_0(XComponentController_getFinalizer,Ark_NativePointer)43368 KOALA_INTEROP_DIRECT_0(XComponentController_getFinalizer, Ark_NativePointer)
43369 Ark_String impl_XComponentController_getXComponentSurfaceId(Ark_NativePointer thisPtr) {
43370         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43371         return GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceId(self);
43372 }
KOALA_INTEROP_1(XComponentController_getXComponentSurfaceId,KStringPtr,Ark_NativePointer)43373 KOALA_INTEROP_1(XComponentController_getXComponentSurfaceId, KStringPtr, Ark_NativePointer)
43374 void impl_XComponentController_getXComponentContext(Ark_NativePointer thisPtr) {
43375         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43376         GetAccessors()->getXComponentControllerAccessor()->getXComponentContext(self);
43377 }
KOALA_INTEROP_DIRECT_V1(XComponentController_getXComponentContext,Ark_NativePointer)43378 KOALA_INTEROP_DIRECT_V1(XComponentController_getXComponentContext, Ark_NativePointer)
43379 void impl_XComponentController_setXComponentSurfaceSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43380         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43381         Deserializer thisDeserializer(thisArray, thisLength);
43382         Ark_Literal_Number_surfaceHeight_surfaceWidth value_value_buf = {};
43383         value_value_buf.surfaceWidth = static_cast<Ark_Number>(thisDeserializer.readNumber());
43384         value_value_buf.surfaceHeight = static_cast<Ark_Number>(thisDeserializer.readNumber());
43385         Ark_Literal_Number_surfaceHeight_surfaceWidth value_value = value_value_buf;;
43386         GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceSize(self, (const Ark_Literal_Number_surfaceHeight_surfaceWidth*)&value_value);
43387 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceSize,Ark_NativePointer,KSerializerBuffer,int32_t)43388 KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceSize, Ark_NativePointer, KSerializerBuffer, int32_t)
43389 void impl_XComponentController_setXComponentSurfaceRect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43390         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43391         Deserializer thisDeserializer(thisArray, thisLength);
43392         Ark_SurfaceRect rect_value = thisDeserializer.readSurfaceRect();;
43393         GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRect(self, (const Ark_SurfaceRect*)&rect_value);
43394 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRect,Ark_NativePointer,KSerializerBuffer,int32_t)43395 KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRect, Ark_NativePointer, KSerializerBuffer, int32_t)
43396 KInteropReturnBuffer impl_XComponentController_getXComponentSurfaceRect(Ark_NativePointer thisPtr) {
43397         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43398         const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRect(self);
43399         Serializer _retSerializer {};
43400         _retSerializer.writeSurfaceRect(retValue);
43401         return _retSerializer.toReturnBuffer();
43402 }
KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRect,KInteropReturnBuffer,Ark_NativePointer)43403 KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRect, KInteropReturnBuffer, Ark_NativePointer)
43404 void impl_XComponentController_setXComponentSurfaceRotation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43405         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43406         Deserializer thisDeserializer(thisArray, thisLength);
43407         Ark_SurfaceRotationOptions rotationOptions_value = thisDeserializer.readSurfaceRotationOptions();;
43408         GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRotation(self, (const Ark_SurfaceRotationOptions*)&rotationOptions_value);
43409 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRotation,Ark_NativePointer,KSerializerBuffer,int32_t)43410 KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRotation, Ark_NativePointer, KSerializerBuffer, int32_t)
43411 KInteropReturnBuffer impl_XComponentController_getXComponentSurfaceRotation(Ark_NativePointer thisPtr) {
43412         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43413         const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRotation(self);
43414         Serializer _retSerializer {};
43415         _retSerializer.writeSurfaceRotationOptions(retValue);
43416         return _retSerializer.toReturnBuffer();
43417 }
KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRotation,KInteropReturnBuffer,Ark_NativePointer)43418 KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRotation, KInteropReturnBuffer, Ark_NativePointer)
43419 void impl_XComponentController_onSurfaceCreated(Ark_NativePointer thisPtr, const KStringPtr& surfaceId) {
43420         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43421         GetAccessors()->getXComponentControllerAccessor()->onSurfaceCreated(self, (const Ark_String*) (&surfaceId));
43422 }
KOALA_INTEROP_V2(XComponentController_onSurfaceCreated,Ark_NativePointer,KStringPtr)43423 KOALA_INTEROP_V2(XComponentController_onSurfaceCreated, Ark_NativePointer, KStringPtr)
43424 void impl_XComponentController_onSurfaceChanged(Ark_NativePointer thisPtr, const KStringPtr& surfaceId, KSerializerBuffer thisArray, int32_t thisLength) {
43425         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43426         Deserializer thisDeserializer(thisArray, thisLength);
43427         Ark_SurfaceRect rect_value = thisDeserializer.readSurfaceRect();;
43428         GetAccessors()->getXComponentControllerAccessor()->onSurfaceChanged(self, (const Ark_String*) (&surfaceId), (const Ark_SurfaceRect*)&rect_value);
43429 }
KOALA_INTEROP_V4(XComponentController_onSurfaceChanged,Ark_NativePointer,KStringPtr,KSerializerBuffer,int32_t)43430 KOALA_INTEROP_V4(XComponentController_onSurfaceChanged, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t)
43431 void impl_XComponentController_onSurfaceDestroyed(Ark_NativePointer thisPtr, const KStringPtr& surfaceId) {
43432         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43433         GetAccessors()->getXComponentControllerAccessor()->onSurfaceDestroyed(self, (const Ark_String*) (&surfaceId));
43434 }
KOALA_INTEROP_V2(XComponentController_onSurfaceDestroyed,Ark_NativePointer,KStringPtr)43435 KOALA_INTEROP_V2(XComponentController_onSurfaceDestroyed, Ark_NativePointer, KStringPtr)
43436 void impl_XComponentController_startImageAnalyzer(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43437         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43438         Deserializer thisDeserializer(thisArray, thisLength);
43439         Ark_ImageAnalyzerConfig config_value = thisDeserializer.readImageAnalyzerConfig();;
43440         Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};;
43441         GetAccessors()->getXComponentControllerAccessor()->startImageAnalyzer(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), self, (const Ark_ImageAnalyzerConfig*)&config_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
43442 }
KOALA_INTEROP_CTX_V3(XComponentController_startImageAnalyzer,Ark_NativePointer,KSerializerBuffer,int32_t)43443 KOALA_INTEROP_CTX_V3(XComponentController_startImageAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t)
43444 void impl_XComponentController_stopImageAnalyzer(Ark_NativePointer thisPtr) {
43445         Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43446         GetAccessors()->getXComponentControllerAccessor()->stopImageAnalyzer(self);
43447 }
KOALA_INTEROP_DIRECT_V1(XComponentController_stopImageAnalyzer,Ark_NativePointer)43448 KOALA_INTEROP_DIRECT_V1(XComponentController_stopImageAnalyzer, Ark_NativePointer)
43449 void impl_XComponentController_setOnSurfaceCreatedCallback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43450     Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43451     Deserializer thisDeserializer(thisArray, thisLength);
43452     Callback_String_Void onSurfaceCreatedCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};;
43453     GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceCreatedCallback(self, (const Callback_String_Void*)&onSurfaceCreatedCallback_value);
43454 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceCreatedCallback,Ark_NativePointer,KSerializerBuffer,int32_t)43455 KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceCreatedCallback, Ark_NativePointer, KSerializerBuffer, int32_t)
43456 void impl_XComponentController_setOnSurfaceChangedCallback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43457     Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43458     Deserializer thisDeserializer(thisArray, thisLength);
43459     Callback_String_SurfaceRect_Void onSurfaceChangedCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String surfaceId, const Ark_SurfaceRect rect)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_SurfaceRect_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String surfaceId, const Ark_SurfaceRect rect)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_SurfaceRect_Void))))};;
43460     GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceChangedCallback(self, (const Callback_String_SurfaceRect_Void*)&onSurfaceChangedCallback_value);
43461 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceChangedCallback,Ark_NativePointer,KSerializerBuffer,int32_t)43462 KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceChangedCallback, Ark_NativePointer, KSerializerBuffer, int32_t)
43463 void impl_XComponentController_setOnSurfaceDestroyedCallback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43464     Ark_XComponentController self = reinterpret_cast<Ark_XComponentController>(thisPtr);
43465     Deserializer thisDeserializer(thisArray, thisLength);
43466     Callback_String_Void onSurfaceDestroyedCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String breakpoints)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};;
43467     GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceDestroyedCallback(self, (const Callback_String_Void*)&onSurfaceDestroyedCallback_value);
43468 }
KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceDestroyedCallback,Ark_NativePointer,KSerializerBuffer,int32_t)43469 KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceDestroyedCallback, Ark_NativePointer, KSerializerBuffer, int32_t)
43470 Ark_NativePointer impl_WaterFlowSections_ctor() {
43471         return GetAccessors()->getWaterFlowSectionsAccessor()->ctor();
43472 }
KOALA_INTEROP_DIRECT_0(WaterFlowSections_ctor,Ark_NativePointer)43473 KOALA_INTEROP_DIRECT_0(WaterFlowSections_ctor, Ark_NativePointer)
43474 Ark_NativePointer impl_WaterFlowSections_getFinalizer() {
43475         return GetAccessors()->getWaterFlowSectionsAccessor()->getFinalizer();
43476 }
KOALA_INTEROP_DIRECT_0(WaterFlowSections_getFinalizer,Ark_NativePointer)43477 KOALA_INTEROP_DIRECT_0(WaterFlowSections_getFinalizer, Ark_NativePointer)
43478 Ark_Boolean impl_WaterFlowSections_splice(Ark_NativePointer thisPtr, KInteropNumber start, KSerializerBuffer thisArray, int32_t thisLength) {
43479         Ark_WaterFlowSections self = reinterpret_cast<Ark_WaterFlowSections>(thisPtr);
43480         Deserializer thisDeserializer(thisArray, thisLength);
43481         const auto deleteCount_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43482         Opt_Number deleteCount_value_buf = {};
43483         deleteCount_value_buf.tag = deleteCount_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43484         if ((INTEROP_RUNTIME_UNDEFINED) != (deleteCount_value_buf_runtimeType))
43485         {
43486             deleteCount_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
43487         }
43488         Opt_Number deleteCount_value = deleteCount_value_buf;;
43489         const auto sections_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43490         Opt_Array_SectionOptions sections_value_buf = {};
43491         sections_value_buf.tag = sections_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43492         if ((INTEROP_RUNTIME_UNDEFINED) != (sections_value_buf_runtimeType))
43493         {
43494             const Ark_Int32 sections_value_buf__length = thisDeserializer.readInt32();
43495             Array_SectionOptions sections_value_buf_ = {};
43496             thisDeserializer.resizeArray<std::decay<decltype(sections_value_buf_)>::type,
43497         std::decay<decltype(*sections_value_buf_.array)>::type>(&sections_value_buf_, sections_value_buf__length);
43498             for (int sections_value_buf__i = 0; sections_value_buf__i < sections_value_buf__length; sections_value_buf__i++) {
43499                 sections_value_buf_.array[sections_value_buf__i] = thisDeserializer.readSectionOptions();
43500             }
43501             sections_value_buf.value = sections_value_buf_;
43502         }
43503         Opt_Array_SectionOptions sections_value = sections_value_buf;;
43504         return GetAccessors()->getWaterFlowSectionsAccessor()->splice(self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_SectionOptions*)&sections_value);
43505 }
KOALA_INTEROP_DIRECT_4(WaterFlowSections_splice,Ark_Boolean,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)43506 KOALA_INTEROP_DIRECT_4(WaterFlowSections_splice, Ark_Boolean, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
43507 Ark_Boolean impl_WaterFlowSections_push(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43508         Ark_WaterFlowSections self = reinterpret_cast<Ark_WaterFlowSections>(thisPtr);
43509         Deserializer thisDeserializer(thisArray, thisLength);
43510         Ark_SectionOptions section_value = thisDeserializer.readSectionOptions();;
43511         return GetAccessors()->getWaterFlowSectionsAccessor()->push(self, (const Ark_SectionOptions*)&section_value);
43512 }
KOALA_INTEROP_DIRECT_3(WaterFlowSections_push,Ark_Boolean,Ark_NativePointer,KSerializerBuffer,int32_t)43513 KOALA_INTEROP_DIRECT_3(WaterFlowSections_push, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t)
43514 Ark_Boolean impl_WaterFlowSections_update(Ark_NativePointer thisPtr, KInteropNumber sectionIndex, KSerializerBuffer thisArray, int32_t thisLength) {
43515         Ark_WaterFlowSections self = reinterpret_cast<Ark_WaterFlowSections>(thisPtr);
43516         Deserializer thisDeserializer(thisArray, thisLength);
43517         Ark_SectionOptions section_value = thisDeserializer.readSectionOptions();;
43518         return GetAccessors()->getWaterFlowSectionsAccessor()->update(self, (const Ark_Number*) (&sectionIndex), (const Ark_SectionOptions*)&section_value);
43519 }
KOALA_INTEROP_DIRECT_4(WaterFlowSections_update,Ark_Boolean,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)43520 KOALA_INTEROP_DIRECT_4(WaterFlowSections_update, Ark_Boolean, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
43521 KInteropReturnBuffer impl_WaterFlowSections_values(Ark_NativePointer thisPtr) {
43522         Ark_WaterFlowSections self = reinterpret_cast<Ark_WaterFlowSections>(thisPtr);
43523         const auto &retValue = GetAccessors()->getWaterFlowSectionsAccessor()->values(self);
43524         Serializer _retSerializer {};
43525         _retSerializer.writeInt32(retValue.length);
43526         for (int i = 0; i < retValue.length; i++) {
43527             const Ark_SectionOptions retValue_element = retValue.array[i];
43528             _retSerializer.writeSectionOptions(retValue_element);
43529         }
43530         return _retSerializer.toReturnBuffer();
43531 }
KOALA_INTEROP_1(WaterFlowSections_values,KInteropReturnBuffer,Ark_NativePointer)43532 KOALA_INTEROP_1(WaterFlowSections_values, KInteropReturnBuffer, Ark_NativePointer)
43533 Ark_Number impl_WaterFlowSections_length(Ark_NativePointer thisPtr) {
43534         Ark_WaterFlowSections self = reinterpret_cast<Ark_WaterFlowSections>(thisPtr);
43535         return GetAccessors()->getWaterFlowSectionsAccessor()->length(self);
43536 }
KOALA_INTEROP_DIRECT_1(WaterFlowSections_length,KInteropNumber,Ark_NativePointer)43537 KOALA_INTEROP_DIRECT_1(WaterFlowSections_length, KInteropNumber, Ark_NativePointer)
43538 Ark_NativePointer impl_UIExtensionProxy_ctor() {
43539         return GetAccessors()->getUIExtensionProxyAccessor()->ctor();
43540 }
KOALA_INTEROP_DIRECT_0(UIExtensionProxy_ctor,Ark_NativePointer)43541 KOALA_INTEROP_DIRECT_0(UIExtensionProxy_ctor, Ark_NativePointer)
43542 Ark_NativePointer impl_UIExtensionProxy_getFinalizer() {
43543         return GetAccessors()->getUIExtensionProxyAccessor()->getFinalizer();
43544 }
KOALA_INTEROP_DIRECT_0(UIExtensionProxy_getFinalizer,Ark_NativePointer)43545 KOALA_INTEROP_DIRECT_0(UIExtensionProxy_getFinalizer, Ark_NativePointer)
43546 void impl_UIExtensionProxy_send(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43547         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43548         Deserializer thisDeserializer(thisArray, thisLength);
43549         const Ark_Int32 data_value_buf_size = thisDeserializer.readInt32();
43550         Map_String_Object data_value_buf = {};
43551         thisDeserializer.resizeMap<Map_String_Object, Ark_String, Ark_Object>(&data_value_buf, data_value_buf_size);
43552         for (int data_value_buf_i = 0; data_value_buf_i < data_value_buf_size; data_value_buf_i++) {
43553             const Ark_String data_value_buf_key = static_cast<Ark_String>(thisDeserializer.readString());
43554             const Ark_Object data_value_buf_value = static_cast<Ark_Object>(thisDeserializer.readObject());
43555             data_value_buf.keys[data_value_buf_i] = data_value_buf_key;
43556             data_value_buf.values[data_value_buf_i] = data_value_buf_value;
43557         }
43558         Map_String_Object data_value = data_value_buf;;
43559         GetAccessors()->getUIExtensionProxyAccessor()->send(self, (const Map_String_Object*)&data_value);
43560 }
KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_send,Ark_NativePointer,KSerializerBuffer,int32_t)43561 KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_send, Ark_NativePointer, KSerializerBuffer, int32_t)
43562 KInteropReturnBuffer impl_UIExtensionProxy_sendSync(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43563         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43564         Deserializer thisDeserializer(thisArray, thisLength);
43565         const Ark_Int32 data_value_buf_size = thisDeserializer.readInt32();
43566         Map_String_Object data_value_buf = {};
43567         thisDeserializer.resizeMap<Map_String_Object, Ark_String, Ark_Object>(&data_value_buf, data_value_buf_size);
43568         for (int data_value_buf_i = 0; data_value_buf_i < data_value_buf_size; data_value_buf_i++) {
43569             const Ark_String data_value_buf_key = static_cast<Ark_String>(thisDeserializer.readString());
43570             const Ark_Object data_value_buf_value = static_cast<Ark_Object>(thisDeserializer.readObject());
43571             data_value_buf.keys[data_value_buf_i] = data_value_buf_key;
43572             data_value_buf.values[data_value_buf_i] = data_value_buf_value;
43573         }
43574         Map_String_Object data_value = data_value_buf;;
43575         const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->sendSync(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Map_String_Object*)&data_value);
43576         Serializer _retSerializer {};
43577         _retSerializer.writeInt32(retValue.size);
43578         for (int32_t i = 0; i < retValue.size; i++) {
43579             auto retValue_key = retValue.keys[i];
43580             auto retValue_value = retValue.values[i];
43581             _retSerializer.writeString(retValue_key);
43582             _retSerializer.writeObject(retValue_value);
43583         }
43584         return _retSerializer.toReturnBuffer();
43585 }
KOALA_INTEROP_CTX_3(UIExtensionProxy_sendSync,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)43586 KOALA_INTEROP_CTX_3(UIExtensionProxy_sendSync, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
43587 void impl_UIExtensionProxy_onAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43588         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43589         Deserializer thisDeserializer(thisArray, thisLength);
43590         Callback_UIExtensionProxy_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};;
43591         GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback__value);
43592 }
KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onAsyncReceiverRegister,Ark_NativePointer,KSerializerBuffer,int32_t)43593 KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t)
43594 void impl_UIExtensionProxy_onSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43595         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43596         Deserializer thisDeserializer(thisArray, thisLength);
43597         Callback_UIExtensionProxy_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};;
43598         GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback__value);
43599 }
KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onSyncReceiverRegister,Ark_NativePointer,KSerializerBuffer,int32_t)43600 KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t)
43601 void impl_UIExtensionProxy_offAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43602         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43603         Deserializer thisDeserializer(thisArray, thisLength);
43604         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43605         Opt_Callback_UIExtensionProxy_Void callback__value_buf = {};
43606         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43607         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
43608         {
43609             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};
43610         }
43611         Opt_Callback_UIExtensionProxy_Void callback__value = callback__value_buf;;
43612         GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback__value);
43613 }
KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offAsyncReceiverRegister,Ark_NativePointer,KSerializerBuffer,int32_t)43614 KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t)
43615 void impl_UIExtensionProxy_offSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
43616         Ark_UIExtensionProxy self = reinterpret_cast<Ark_UIExtensionProxy>(thisPtr);
43617         Deserializer thisDeserializer(thisArray, thisLength);
43618         const auto callback__value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43619         Opt_Callback_UIExtensionProxy_Void callback__value_buf = {};
43620         callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43621         if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType))
43622         {
43623             callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};
43624         }
43625         Opt_Callback_UIExtensionProxy_Void callback__value = callback__value_buf;;
43626         GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback__value);
43627 }
KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offSyncReceiverRegister,Ark_NativePointer,KSerializerBuffer,int32_t)43628 KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t)
43629 Ark_NativePointer impl_StyledString_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
43630         Deserializer thisDeserializer(thisArray, thisLength);
43631         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
43632         Ark_Union_String_ImageAttachment_CustomSpan value_value_buf = {};
43633         value_value_buf.selector = value_value_buf_selector;
43634         if (value_value_buf_selector == 0) {
43635             value_value_buf.selector = 0;
43636             value_value_buf.value0 = static_cast<Ark_String>(thisDeserializer.readString());
43637         }
43638         else if (value_value_buf_selector == 1) {
43639             value_value_buf.selector = 1;
43640             value_value_buf.value1 = static_cast<Ark_ImageAttachment>(thisDeserializer.readImageAttachment());
43641         }
43642         else if (value_value_buf_selector == 2) {
43643             value_value_buf.selector = 2;
43644             value_value_buf.value2 = static_cast<Ark_CustomSpan>(thisDeserializer.readCustomSpan());
43645         }
43646         else {
43647             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
43648         }
43649         Ark_Union_String_ImageAttachment_CustomSpan value_value = static_cast<Ark_Union_String_ImageAttachment_CustomSpan>(value_value_buf);;
43650         const auto styles_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43651         Opt_Array_StyleOptions styles_value_buf = {};
43652         styles_value_buf.tag = styles_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43653         if ((INTEROP_RUNTIME_UNDEFINED) != (styles_value_buf_runtimeType))
43654         {
43655             const Ark_Int32 styles_value_buf__length = thisDeserializer.readInt32();
43656             Array_StyleOptions styles_value_buf_ = {};
43657             thisDeserializer.resizeArray<std::decay<decltype(styles_value_buf_)>::type,
43658         std::decay<decltype(*styles_value_buf_.array)>::type>(&styles_value_buf_, styles_value_buf__length);
43659             for (int styles_value_buf__i = 0; styles_value_buf__i < styles_value_buf__length; styles_value_buf__i++) {
43660                 styles_value_buf_.array[styles_value_buf__i] = thisDeserializer.readStyleOptions();
43661             }
43662             styles_value_buf.value = styles_value_buf_;
43663         }
43664         Opt_Array_StyleOptions styles_value = styles_value_buf;;
43665         return GetAccessors()->getStyledStringAccessor()->ctor((const Ark_Union_String_ImageAttachment_CustomSpan*)&value_value, (const Opt_Array_StyleOptions*)&styles_value);
43666 }
KOALA_INTEROP_DIRECT_2(StyledString_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)43667 KOALA_INTEROP_DIRECT_2(StyledString_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
43668 Ark_NativePointer impl_StyledString_getFinalizer() {
43669         return GetAccessors()->getStyledStringAccessor()->getFinalizer();
43670 }
KOALA_INTEROP_DIRECT_0(StyledString_getFinalizer,Ark_NativePointer)43671 KOALA_INTEROP_DIRECT_0(StyledString_getFinalizer, Ark_NativePointer)
43672 Ark_String impl_StyledString_getString(Ark_NativePointer thisPtr) {
43673         Ark_StyledString self = reinterpret_cast<Ark_StyledString>(thisPtr);
43674         return GetAccessors()->getStyledStringAccessor()->getString(self);
43675 }
KOALA_INTEROP_1(StyledString_getString,KStringPtr,Ark_NativePointer)43676 KOALA_INTEROP_1(StyledString_getString, KStringPtr, Ark_NativePointer)
43677 KInteropReturnBuffer impl_StyledString_getStyles(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, KSerializerBuffer thisArray, int32_t thisLength) {
43678         Ark_StyledString self = reinterpret_cast<Ark_StyledString>(thisPtr);
43679         Deserializer thisDeserializer(thisArray, thisLength);
43680         const auto styledKey_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43681         Opt_StyledStringKey styledKey_value_buf = {};
43682         styledKey_value_buf.tag = styledKey_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43683         if ((INTEROP_RUNTIME_UNDEFINED) != (styledKey_value_buf_runtimeType))
43684         {
43685             styledKey_value_buf.value = static_cast<Ark_StyledStringKey>(thisDeserializer.readInt32());
43686         }
43687         Opt_StyledStringKey styledKey_value = styledKey_value_buf;;
43688         const auto &retValue = GetAccessors()->getStyledStringAccessor()->getStyles(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), (const Opt_StyledStringKey*)&styledKey_value);
43689         Serializer _retSerializer {};
43690         _retSerializer.writeInt32(retValue.length);
43691         for (int i = 0; i < retValue.length; i++) {
43692             const Ark_SpanStyle retValue_element = retValue.array[i];
43693             _retSerializer.writeSpanStyle(retValue_element);
43694         }
43695         return _retSerializer.toReturnBuffer();
43696 }
KOALA_INTEROP_CTX_5(StyledString_getStyles,KInteropReturnBuffer,Ark_NativePointer,KInteropNumber,KInteropNumber,KSerializerBuffer,int32_t)43697 KOALA_INTEROP_CTX_5(StyledString_getStyles, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t)
43698 Ark_Boolean impl_StyledString_equals(Ark_NativePointer thisPtr, Ark_NativePointer other) {
43699         Ark_StyledString self = reinterpret_cast<Ark_StyledString>(thisPtr);
43700         return GetAccessors()->getStyledStringAccessor()->equals(self, static_cast<Ark_StyledString>(other));
43701 }
KOALA_INTEROP_DIRECT_2(StyledString_equals,Ark_Boolean,Ark_NativePointer,Ark_NativePointer)43702 KOALA_INTEROP_DIRECT_2(StyledString_equals, Ark_Boolean, Ark_NativePointer, Ark_NativePointer)
43703 Ark_NativePointer impl_StyledString_subStyledString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KSerializerBuffer thisArray, int32_t thisLength) {
43704         Ark_StyledString self = reinterpret_cast<Ark_StyledString>(thisPtr);
43705         Deserializer thisDeserializer(thisArray, thisLength);
43706         const auto length_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43707         Opt_Number length_value_buf = {};
43708         length_value_buf.tag = length_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43709         if ((INTEROP_RUNTIME_UNDEFINED) != (length_value_buf_runtimeType))
43710         {
43711             length_value_buf.value = static_cast<Ark_Number>(thisDeserializer.readNumber());
43712         }
43713         Opt_Number length_value = length_value_buf;;
43714         return GetAccessors()->getStyledStringAccessor()->subStyledString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Opt_Number*)&length_value);
43715 }
KOALA_INTEROP_CTX_4(StyledString_subStyledString,Ark_NativePointer,Ark_NativePointer,KInteropNumber,KSerializerBuffer,int32_t)43716 KOALA_INTEROP_CTX_4(StyledString_subStyledString, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t)
43717 void impl_StyledString_fromHtml(KVMContext vmContext, const KStringPtr& html, KSerializerBuffer thisArray, int32_t thisLength) {
43718         Deserializer thisDeserializer(thisArray, thisLength);
43719         Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_StyledString_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_StyledString_Opt_Array_String_Void))))};;
43720         GetAccessors()->getStyledStringAccessor()->fromHtml(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), (const Ark_String*) (&html), (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
43721 }
KOALA_INTEROP_CTX_V3(StyledString_fromHtml,KStringPtr,KSerializerBuffer,int32_t)43722 KOALA_INTEROP_CTX_V3(StyledString_fromHtml, KStringPtr, KSerializerBuffer, int32_t)
43723 Ark_String impl_StyledString_toHtml(KVMContext vmContext, Ark_NativePointer styledString) {
43724         return GetAccessors()->getStyledStringAccessor()->toHtml(reinterpret_cast<Ark_VMContext>(vmContext), static_cast<Ark_StyledString>(styledString));
43725 }
KOALA_INTEROP_CTX_1(StyledString_toHtml,KStringPtr,Ark_NativePointer)43726 KOALA_INTEROP_CTX_1(StyledString_toHtml, KStringPtr, Ark_NativePointer)
43727 KInteropReturnBuffer impl_StyledString_marshalling0(Ark_NativePointer styledString, KSerializerBuffer thisArray, int32_t thisLength) {
43728         Deserializer thisDeserializer(thisArray, thisLength);
43729         StyledStringMarshallCallback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_UserDataSpan marshallableVal, const Callback_Buffer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_StyledStringMarshallCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UserDataSpan marshallableVal, const Callback_Buffer_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_StyledStringMarshallCallback))))};;
43730         const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling0(static_cast<Ark_StyledString>(styledString), (const StyledStringMarshallCallback*)&callback__value);
43731         Serializer _retSerializer {};
43732         _retSerializer.writeBuffer(retValue);
43733         return _retSerializer.toReturnBuffer();
43734 }
KOALA_INTEROP_3(StyledString_marshalling0,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)43735 KOALA_INTEROP_3(StyledString_marshalling0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
43736 KInteropReturnBuffer impl_StyledString_marshalling1(Ark_NativePointer styledString) {
43737         const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling1(static_cast<Ark_StyledString>(styledString));
43738         Serializer _retSerializer {};
43739         _retSerializer.writeBuffer(retValue);
43740         return _retSerializer.toReturnBuffer();
43741 }
KOALA_INTEROP_1(StyledString_marshalling1,KInteropReturnBuffer,Ark_NativePointer)43742 KOALA_INTEROP_1(StyledString_marshalling1, KInteropReturnBuffer, Ark_NativePointer)
43743 void impl_StyledString_unmarshalling0(KVMContext vmContext, KSerializerBuffer thisArray, int32_t thisLength) {
43744         Deserializer thisDeserializer(thisArray, thisLength);
43745         Ark_Buffer buffer_value = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());;
43746         StyledStringUnmarshallCallback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_Buffer buf, const Callback_StyledStringMarshallingValue_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_StyledStringUnmarshallCallback)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Buffer buf, const Callback_StyledStringMarshallingValue_Void continuation)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_StyledStringUnmarshallCallback))))};;
43747         Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_StyledString_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_StyledString_Opt_Array_String_Void))))};;
43748         GetAccessors()->getStyledStringAccessor()->unmarshalling0(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), (const Ark_Buffer*)&buffer_value, (const StyledStringUnmarshallCallback*)&callback__value, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
43749 }
KOALA_INTEROP_CTX_V2(StyledString_unmarshalling0,KSerializerBuffer,int32_t)43750 KOALA_INTEROP_CTX_V2(StyledString_unmarshalling0, KSerializerBuffer, int32_t)
43751 void impl_StyledString_unmarshalling1(KVMContext vmContext, KSerializerBuffer thisArray, int32_t thisLength) {
43752         Deserializer thisDeserializer(thisArray, thisLength);
43753         Ark_Buffer buffer_value = static_cast<Ark_Buffer>(thisDeserializer.readBuffer());;
43754         Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Opt_StyledString_Opt_Array_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_StyledString value, const Opt_Array_String error)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Opt_StyledString_Opt_Array_String_Void))))};;
43755         GetAccessors()->getStyledStringAccessor()->unmarshalling1(reinterpret_cast<Ark_VMContext>(vmContext), GetAsyncWorker(), (const Ark_Buffer*)&buffer_value, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value);
43756 }
KOALA_INTEROP_CTX_V2(StyledString_unmarshalling1,KSerializerBuffer,int32_t)43757 KOALA_INTEROP_CTX_V2(StyledString_unmarshalling1, KSerializerBuffer, int32_t)
43758 Ark_Number impl_StyledString_getLength(Ark_NativePointer thisPtr) {
43759         Ark_StyledString self = reinterpret_cast<Ark_StyledString>(thisPtr);
43760         return GetAccessors()->getStyledStringAccessor()->getLength(self);
43761 }
KOALA_INTEROP_DIRECT_1(StyledString_getLength,KInteropNumber,Ark_NativePointer)43762 KOALA_INTEROP_DIRECT_1(StyledString_getLength, KInteropNumber, Ark_NativePointer)
43763 Ark_NativePointer impl_TextStyle_styled_string_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
43764         Deserializer thisDeserializer(thisArray, thisLength);
43765         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
43766         Opt_TextStyleInterface value_value_buf = {};
43767         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
43768         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
43769         {
43770             value_value_buf.value = thisDeserializer.readTextStyleInterface();
43771         }
43772         Opt_TextStyleInterface value_value = value_value_buf;;
43773         return GetAccessors()->getTextStyle_styled_stringAccessor()->ctor((const Opt_TextStyleInterface*)&value_value);
43774 }
KOALA_INTEROP_DIRECT_2(TextStyle_styled_string_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)43775 KOALA_INTEROP_DIRECT_2(TextStyle_styled_string_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
43776 Ark_NativePointer impl_TextStyle_styled_string_getFinalizer() {
43777         return GetAccessors()->getTextStyle_styled_stringAccessor()->getFinalizer();
43778 }
KOALA_INTEROP_DIRECT_0(TextStyle_styled_string_getFinalizer,Ark_NativePointer)43779 KOALA_INTEROP_DIRECT_0(TextStyle_styled_string_getFinalizer, Ark_NativePointer)
43780 KInteropReturnBuffer impl_TextStyle_styled_string_getFontColor(Ark_NativePointer thisPtr) {
43781         Ark_TextStyle_styled_string self = reinterpret_cast<Ark_TextStyle_styled_string>(thisPtr);
43782         const auto &retValue = GetAccessors()->getTextStyle_styled_stringAccessor()->getFontColor(self);
43783         Serializer _retSerializer {};
43784         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43785         retValue_type = runtimeType(retValue);
43786         _retSerializer.writeInt8(retValue_type);
43787         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43788             const auto retValue_value = retValue.value;
43789             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
43790             retValue_value_type = retValue_value.selector;
43791             if (retValue_value_type == 0) {
43792                 _retSerializer.writeInt8(0);
43793                 const auto retValue_value_0 = retValue_value.value0;
43794                 _retSerializer.writeInt32(static_cast<Ark_Color>(retValue_value_0));
43795             }
43796             else if (retValue_value_type == 1) {
43797                 _retSerializer.writeInt8(1);
43798                 const auto retValue_value_1 = retValue_value.value1;
43799                 _retSerializer.writeNumber(retValue_value_1);
43800             }
43801             else if (retValue_value_type == 2) {
43802                 _retSerializer.writeInt8(2);
43803                 const auto retValue_value_2 = retValue_value.value2;
43804                 _retSerializer.writeString(retValue_value_2);
43805             }
43806             else if (retValue_value_type == 3) {
43807                 _retSerializer.writeInt8(3);
43808                 const auto retValue_value_3 = retValue_value.value3;
43809                 _retSerializer.writeResource(retValue_value_3);
43810             }
43811         }
43812         return _retSerializer.toReturnBuffer();
43813 }
KOALA_INTEROP_1(TextStyle_styled_string_getFontColor,KInteropReturnBuffer,Ark_NativePointer)43814 KOALA_INTEROP_1(TextStyle_styled_string_getFontColor, KInteropReturnBuffer, Ark_NativePointer)
43815 KInteropReturnBuffer impl_TextStyle_styled_string_getFontFamily(Ark_NativePointer thisPtr) {
43816         Ark_TextStyle_styled_string self = reinterpret_cast<Ark_TextStyle_styled_string>(thisPtr);
43817         const auto &retValue = GetAccessors()->getTextStyle_styled_stringAccessor()->getFontFamily(self);
43818         Serializer _retSerializer {};
43819         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43820         retValue_type = runtimeType(retValue);
43821         _retSerializer.writeInt8(retValue_type);
43822         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43823             const auto retValue_value = retValue.value;
43824             _retSerializer.writeString(retValue_value);
43825         }
43826         return _retSerializer.toReturnBuffer();
43827 }
KOALA_INTEROP_1(TextStyle_styled_string_getFontFamily,KInteropReturnBuffer,Ark_NativePointer)43828 KOALA_INTEROP_1(TextStyle_styled_string_getFontFamily, KInteropReturnBuffer, Ark_NativePointer)
43829 KInteropReturnBuffer impl_TextStyle_styled_string_getFontSize(Ark_NativePointer thisPtr) {
43830         Ark_TextStyle_styled_string self = reinterpret_cast<Ark_TextStyle_styled_string>(thisPtr);
43831         const auto &retValue = GetAccessors()->getTextStyle_styled_stringAccessor()->getFontSize(self);
43832         Serializer _retSerializer {};
43833         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43834         retValue_type = runtimeType(retValue);
43835         _retSerializer.writeInt8(retValue_type);
43836         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43837             const auto retValue_value = retValue.value;
43838             _retSerializer.writeNumber(retValue_value);
43839         }
43840         return _retSerializer.toReturnBuffer();
43841 }
KOALA_INTEROP_1(TextStyle_styled_string_getFontSize,KInteropReturnBuffer,Ark_NativePointer)43842 KOALA_INTEROP_1(TextStyle_styled_string_getFontSize, KInteropReturnBuffer, Ark_NativePointer)
43843 KInteropReturnBuffer impl_TextStyle_styled_string_getFontWeight(Ark_NativePointer thisPtr) {
43844         Ark_TextStyle_styled_string self = reinterpret_cast<Ark_TextStyle_styled_string>(thisPtr);
43845         const auto &retValue = GetAccessors()->getTextStyle_styled_stringAccessor()->getFontWeight(self);
43846         Serializer _retSerializer {};
43847         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43848         retValue_type = runtimeType(retValue);
43849         _retSerializer.writeInt8(retValue_type);
43850         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43851             const auto retValue_value = retValue.value;
43852             _retSerializer.writeNumber(retValue_value);
43853         }
43854         return _retSerializer.toReturnBuffer();
43855 }
KOALA_INTEROP_1(TextStyle_styled_string_getFontWeight,KInteropReturnBuffer,Ark_NativePointer)43856 KOALA_INTEROP_1(TextStyle_styled_string_getFontWeight, KInteropReturnBuffer, Ark_NativePointer)
43857 KInteropReturnBuffer impl_TextStyle_styled_string_getFontStyle(Ark_NativePointer thisPtr) {
43858         Ark_TextStyle_styled_string self = reinterpret_cast<Ark_TextStyle_styled_string>(thisPtr);
43859         const auto &retValue = GetAccessors()->getTextStyle_styled_stringAccessor()->getFontStyle(self);
43860         Serializer _retSerializer {};
43861         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43862         retValue_type = runtimeType(retValue);
43863         _retSerializer.writeInt8(retValue_type);
43864         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43865             const auto retValue_value = retValue.value;
43866             _retSerializer.writeInt32(static_cast<Ark_FontStyle>(retValue_value));
43867         }
43868         return _retSerializer.toReturnBuffer();
43869 }
KOALA_INTEROP_1(TextStyle_styled_string_getFontStyle,KInteropReturnBuffer,Ark_NativePointer)43870 KOALA_INTEROP_1(TextStyle_styled_string_getFontStyle, KInteropReturnBuffer, Ark_NativePointer)
43871 Ark_NativePointer impl_DecorationStyle_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
43872         Deserializer thisDeserializer(thisArray, thisLength);
43873         Ark_DecorationStyleInterface value_value = thisDeserializer.readDecorationStyleInterface();;
43874         return GetAccessors()->getDecorationStyleAccessor()->ctor((const Ark_DecorationStyleInterface*)&value_value);
43875 }
KOALA_INTEROP_DIRECT_2(DecorationStyle_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)43876 KOALA_INTEROP_DIRECT_2(DecorationStyle_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
43877 Ark_NativePointer impl_DecorationStyle_getFinalizer() {
43878         return GetAccessors()->getDecorationStyleAccessor()->getFinalizer();
43879 }
KOALA_INTEROP_DIRECT_0(DecorationStyle_getFinalizer,Ark_NativePointer)43880 KOALA_INTEROP_DIRECT_0(DecorationStyle_getFinalizer, Ark_NativePointer)
43881 Ark_Int32 impl_DecorationStyle_getType(Ark_NativePointer thisPtr) {
43882         Ark_DecorationStyle self = reinterpret_cast<Ark_DecorationStyle>(thisPtr);
43883         return GetAccessors()->getDecorationStyleAccessor()->getType(self);
43884 }
KOALA_INTEROP_DIRECT_1(DecorationStyle_getType,Ark_Int32,Ark_NativePointer)43885 KOALA_INTEROP_DIRECT_1(DecorationStyle_getType, Ark_Int32, Ark_NativePointer)
43886 KInteropReturnBuffer impl_DecorationStyle_getColor(Ark_NativePointer thisPtr) {
43887         Ark_DecorationStyle self = reinterpret_cast<Ark_DecorationStyle>(thisPtr);
43888         const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getColor(self);
43889         Serializer _retSerializer {};
43890         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43891         retValue_type = runtimeType(retValue);
43892         _retSerializer.writeInt8(retValue_type);
43893         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43894             const auto retValue_value = retValue.value;
43895             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
43896             retValue_value_type = retValue_value.selector;
43897             if (retValue_value_type == 0) {
43898                 _retSerializer.writeInt8(0);
43899                 const auto retValue_value_0 = retValue_value.value0;
43900                 _retSerializer.writeInt32(static_cast<Ark_Color>(retValue_value_0));
43901             }
43902             else if (retValue_value_type == 1) {
43903                 _retSerializer.writeInt8(1);
43904                 const auto retValue_value_1 = retValue_value.value1;
43905                 _retSerializer.writeNumber(retValue_value_1);
43906             }
43907             else if (retValue_value_type == 2) {
43908                 _retSerializer.writeInt8(2);
43909                 const auto retValue_value_2 = retValue_value.value2;
43910                 _retSerializer.writeString(retValue_value_2);
43911             }
43912             else if (retValue_value_type == 3) {
43913                 _retSerializer.writeInt8(3);
43914                 const auto retValue_value_3 = retValue_value.value3;
43915                 _retSerializer.writeResource(retValue_value_3);
43916             }
43917         }
43918         return _retSerializer.toReturnBuffer();
43919 }
KOALA_INTEROP_1(DecorationStyle_getColor,KInteropReturnBuffer,Ark_NativePointer)43920 KOALA_INTEROP_1(DecorationStyle_getColor, KInteropReturnBuffer, Ark_NativePointer)
43921 KInteropReturnBuffer impl_DecorationStyle_getStyle(Ark_NativePointer thisPtr) {
43922         Ark_DecorationStyle self = reinterpret_cast<Ark_DecorationStyle>(thisPtr);
43923         const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getStyle(self);
43924         Serializer _retSerializer {};
43925         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
43926         retValue_type = runtimeType(retValue);
43927         _retSerializer.writeInt8(retValue_type);
43928         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
43929             const auto retValue_value = retValue.value;
43930             _retSerializer.writeInt32(static_cast<Ark_TextDecorationStyle>(retValue_value));
43931         }
43932         return _retSerializer.toReturnBuffer();
43933 }
KOALA_INTEROP_1(DecorationStyle_getStyle,KInteropReturnBuffer,Ark_NativePointer)43934 KOALA_INTEROP_1(DecorationStyle_getStyle, KInteropReturnBuffer, Ark_NativePointer)
43935 Ark_NativePointer impl_BaselineOffsetStyle_ctor(Ark_NativePointer value) {
43936         return GetAccessors()->getBaselineOffsetStyleAccessor()->ctor(static_cast<Ark_LengthMetrics>(value));
43937 }
KOALA_INTEROP_DIRECT_1(BaselineOffsetStyle_ctor,Ark_NativePointer,Ark_NativePointer)43938 KOALA_INTEROP_DIRECT_1(BaselineOffsetStyle_ctor, Ark_NativePointer, Ark_NativePointer)
43939 Ark_NativePointer impl_BaselineOffsetStyle_getFinalizer() {
43940         return GetAccessors()->getBaselineOffsetStyleAccessor()->getFinalizer();
43941 }
KOALA_INTEROP_DIRECT_0(BaselineOffsetStyle_getFinalizer,Ark_NativePointer)43942 KOALA_INTEROP_DIRECT_0(BaselineOffsetStyle_getFinalizer, Ark_NativePointer)
43943 Ark_Number impl_BaselineOffsetStyle_getBaselineOffset(Ark_NativePointer thisPtr) {
43944         Ark_BaselineOffsetStyle self = reinterpret_cast<Ark_BaselineOffsetStyle>(thisPtr);
43945         return GetAccessors()->getBaselineOffsetStyleAccessor()->getBaselineOffset(self);
43946 }
KOALA_INTEROP_DIRECT_1(BaselineOffsetStyle_getBaselineOffset,KInteropNumber,Ark_NativePointer)43947 KOALA_INTEROP_DIRECT_1(BaselineOffsetStyle_getBaselineOffset, KInteropNumber, Ark_NativePointer)
43948 Ark_NativePointer impl_LetterSpacingStyle_ctor(Ark_NativePointer value) {
43949         return GetAccessors()->getLetterSpacingStyleAccessor()->ctor(static_cast<Ark_LengthMetrics>(value));
43950 }
KOALA_INTEROP_DIRECT_1(LetterSpacingStyle_ctor,Ark_NativePointer,Ark_NativePointer)43951 KOALA_INTEROP_DIRECT_1(LetterSpacingStyle_ctor, Ark_NativePointer, Ark_NativePointer)
43952 Ark_NativePointer impl_LetterSpacingStyle_getFinalizer() {
43953         return GetAccessors()->getLetterSpacingStyleAccessor()->getFinalizer();
43954 }
KOALA_INTEROP_DIRECT_0(LetterSpacingStyle_getFinalizer,Ark_NativePointer)43955 KOALA_INTEROP_DIRECT_0(LetterSpacingStyle_getFinalizer, Ark_NativePointer)
43956 Ark_Number impl_LetterSpacingStyle_getLetterSpacing(Ark_NativePointer thisPtr) {
43957         Ark_LetterSpacingStyle self = reinterpret_cast<Ark_LetterSpacingStyle>(thisPtr);
43958         return GetAccessors()->getLetterSpacingStyleAccessor()->getLetterSpacing(self);
43959 }
KOALA_INTEROP_DIRECT_1(LetterSpacingStyle_getLetterSpacing,KInteropNumber,Ark_NativePointer)43960 KOALA_INTEROP_DIRECT_1(LetterSpacingStyle_getLetterSpacing, KInteropNumber, Ark_NativePointer)
43961 Ark_NativePointer impl_TextShadowStyle_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
43962         Deserializer thisDeserializer(thisArray, thisLength);
43963         const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8();
43964         Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {};
43965         value_value_buf.selector = value_value_buf_selector;
43966         if (value_value_buf_selector == 0) {
43967             value_value_buf.selector = 0;
43968             value_value_buf.value0 = thisDeserializer.readShadowOptions();
43969         }
43970         else if (value_value_buf_selector == 1) {
43971             value_value_buf.selector = 1;
43972             const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32();
43973             Array_ShadowOptions value_value_buf_u = {};
43974             thisDeserializer.resizeArray<std::decay<decltype(value_value_buf_u)>::type,
43975         std::decay<decltype(*value_value_buf_u.array)>::type>(&value_value_buf_u, value_value_buf_u_length);
43976             for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) {
43977                 value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions();
43978             }
43979             value_value_buf.value1 = value_value_buf_u;
43980         }
43981         else {
43982             INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation.");
43983         }
43984         Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast<Ark_Union_ShadowOptions_Array_ShadowOptions>(value_value_buf);;
43985         return GetAccessors()->getTextShadowStyleAccessor()->ctor((const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value);
43986 }
KOALA_INTEROP_DIRECT_2(TextShadowStyle_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)43987 KOALA_INTEROP_DIRECT_2(TextShadowStyle_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
43988 Ark_NativePointer impl_TextShadowStyle_getFinalizer() {
43989         return GetAccessors()->getTextShadowStyleAccessor()->getFinalizer();
43990 }
KOALA_INTEROP_DIRECT_0(TextShadowStyle_getFinalizer,Ark_NativePointer)43991 KOALA_INTEROP_DIRECT_0(TextShadowStyle_getFinalizer, Ark_NativePointer)
43992 KInteropReturnBuffer impl_TextShadowStyle_getTextShadow(Ark_NativePointer thisPtr) {
43993         Ark_TextShadowStyle self = reinterpret_cast<Ark_TextShadowStyle>(thisPtr);
43994         const auto &retValue = GetAccessors()->getTextShadowStyleAccessor()->getTextShadow(self);
43995         Serializer _retSerializer {};
43996         _retSerializer.writeInt32(retValue.length);
43997         for (int i = 0; i < retValue.length; i++) {
43998             const Ark_ShadowOptions retValue_element = retValue.array[i];
43999             _retSerializer.writeShadowOptions(retValue_element);
44000         }
44001         return _retSerializer.toReturnBuffer();
44002 }
KOALA_INTEROP_1(TextShadowStyle_getTextShadow,KInteropReturnBuffer,Ark_NativePointer)44003 KOALA_INTEROP_1(TextShadowStyle_getTextShadow, KInteropReturnBuffer, Ark_NativePointer)
44004 Ark_NativePointer impl_BackgroundColorStyle_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
44005         Deserializer thisDeserializer(thisArray, thisLength);
44006         Ark_TextBackgroundStyle textBackgroundStyle_value = thisDeserializer.readTextBackgroundStyle();;
44007         return GetAccessors()->getBackgroundColorStyleAccessor()->ctor((const Ark_TextBackgroundStyle*)&textBackgroundStyle_value);
44008 }
KOALA_INTEROP_DIRECT_2(BackgroundColorStyle_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)44009 KOALA_INTEROP_DIRECT_2(BackgroundColorStyle_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
44010 Ark_NativePointer impl_BackgroundColorStyle_getFinalizer() {
44011         return GetAccessors()->getBackgroundColorStyleAccessor()->getFinalizer();
44012 }
KOALA_INTEROP_DIRECT_0(BackgroundColorStyle_getFinalizer,Ark_NativePointer)44013 KOALA_INTEROP_DIRECT_0(BackgroundColorStyle_getFinalizer, Ark_NativePointer)
44014 KInteropReturnBuffer impl_BackgroundColorStyle_getTextBackgroundStyle(Ark_NativePointer thisPtr) {
44015         Ark_BackgroundColorStyle self = reinterpret_cast<Ark_BackgroundColorStyle>(thisPtr);
44016         const auto &retValue = GetAccessors()->getBackgroundColorStyleAccessor()->getTextBackgroundStyle(self);
44017         Serializer _retSerializer {};
44018         _retSerializer.writeTextBackgroundStyle(retValue);
44019         return _retSerializer.toReturnBuffer();
44020 }
KOALA_INTEROP_1(BackgroundColorStyle_getTextBackgroundStyle,KInteropReturnBuffer,Ark_NativePointer)44021 KOALA_INTEROP_1(BackgroundColorStyle_getTextBackgroundStyle, KInteropReturnBuffer, Ark_NativePointer)
44022 Ark_NativePointer impl_GestureStyle_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
44023         Deserializer thisDeserializer(thisArray, thisLength);
44024         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
44025         Opt_GestureStyleInterface value_value_buf = {};
44026         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
44027         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
44028         {
44029             value_value_buf.value = thisDeserializer.readGestureStyleInterface();
44030         }
44031         Opt_GestureStyleInterface value_value = value_value_buf;;
44032         return GetAccessors()->getGestureStyleAccessor()->ctor((const Opt_GestureStyleInterface*)&value_value);
44033 }
KOALA_INTEROP_DIRECT_2(GestureStyle_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)44034 KOALA_INTEROP_DIRECT_2(GestureStyle_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
44035 Ark_NativePointer impl_GestureStyle_getFinalizer() {
44036         return GetAccessors()->getGestureStyleAccessor()->getFinalizer();
44037 }
KOALA_INTEROP_DIRECT_0(GestureStyle_getFinalizer,Ark_NativePointer)44038 KOALA_INTEROP_DIRECT_0(GestureStyle_getFinalizer, Ark_NativePointer)
44039 Ark_NativePointer impl_ParagraphStyle_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
44040         Deserializer thisDeserializer(thisArray, thisLength);
44041         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
44042         Opt_ParagraphStyleInterface value_value_buf = {};
44043         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
44044         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
44045         {
44046             value_value_buf.value = thisDeserializer.readParagraphStyleInterface();
44047         }
44048         Opt_ParagraphStyleInterface value_value = value_value_buf;;
44049         return GetAccessors()->getParagraphStyleAccessor()->ctor((const Opt_ParagraphStyleInterface*)&value_value);
44050 }
KOALA_INTEROP_DIRECT_2(ParagraphStyle_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)44051 KOALA_INTEROP_DIRECT_2(ParagraphStyle_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
44052 Ark_NativePointer impl_ParagraphStyle_getFinalizer() {
44053         return GetAccessors()->getParagraphStyleAccessor()->getFinalizer();
44054 }
KOALA_INTEROP_DIRECT_0(ParagraphStyle_getFinalizer,Ark_NativePointer)44055 KOALA_INTEROP_DIRECT_0(ParagraphStyle_getFinalizer, Ark_NativePointer)
44056 KInteropReturnBuffer impl_ParagraphStyle_getTextAlign(Ark_NativePointer thisPtr) {
44057         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44058         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextAlign(self);
44059         Serializer _retSerializer {};
44060         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44061         retValue_type = runtimeType(retValue);
44062         _retSerializer.writeInt8(retValue_type);
44063         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44064             const auto retValue_value = retValue.value;
44065             _retSerializer.writeInt32(static_cast<Ark_TextAlign>(retValue_value));
44066         }
44067         return _retSerializer.toReturnBuffer();
44068 }
KOALA_INTEROP_1(ParagraphStyle_getTextAlign,KInteropReturnBuffer,Ark_NativePointer)44069 KOALA_INTEROP_1(ParagraphStyle_getTextAlign, KInteropReturnBuffer, Ark_NativePointer)
44070 KInteropReturnBuffer impl_ParagraphStyle_getTextIndent(Ark_NativePointer thisPtr) {
44071         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44072         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextIndent(self);
44073         Serializer _retSerializer {};
44074         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44075         retValue_type = runtimeType(retValue);
44076         _retSerializer.writeInt8(retValue_type);
44077         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44078             const auto retValue_value = retValue.value;
44079             _retSerializer.writeNumber(retValue_value);
44080         }
44081         return _retSerializer.toReturnBuffer();
44082 }
KOALA_INTEROP_1(ParagraphStyle_getTextIndent,KInteropReturnBuffer,Ark_NativePointer)44083 KOALA_INTEROP_1(ParagraphStyle_getTextIndent, KInteropReturnBuffer, Ark_NativePointer)
44084 KInteropReturnBuffer impl_ParagraphStyle_getMaxLines(Ark_NativePointer thisPtr) {
44085         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44086         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getMaxLines(self);
44087         Serializer _retSerializer {};
44088         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44089         retValue_type = runtimeType(retValue);
44090         _retSerializer.writeInt8(retValue_type);
44091         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44092             const auto retValue_value = retValue.value;
44093             _retSerializer.writeNumber(retValue_value);
44094         }
44095         return _retSerializer.toReturnBuffer();
44096 }
KOALA_INTEROP_1(ParagraphStyle_getMaxLines,KInteropReturnBuffer,Ark_NativePointer)44097 KOALA_INTEROP_1(ParagraphStyle_getMaxLines, KInteropReturnBuffer, Ark_NativePointer)
44098 KInteropReturnBuffer impl_ParagraphStyle_getOverflow(Ark_NativePointer thisPtr) {
44099         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44100         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getOverflow(self);
44101         Serializer _retSerializer {};
44102         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44103         retValue_type = runtimeType(retValue);
44104         _retSerializer.writeInt8(retValue_type);
44105         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44106             const auto retValue_value = retValue.value;
44107             _retSerializer.writeInt32(static_cast<Ark_TextOverflow>(retValue_value));
44108         }
44109         return _retSerializer.toReturnBuffer();
44110 }
KOALA_INTEROP_1(ParagraphStyle_getOverflow,KInteropReturnBuffer,Ark_NativePointer)44111 KOALA_INTEROP_1(ParagraphStyle_getOverflow, KInteropReturnBuffer, Ark_NativePointer)
44112 KInteropReturnBuffer impl_ParagraphStyle_getWordBreak(Ark_NativePointer thisPtr) {
44113         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44114         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getWordBreak(self);
44115         Serializer _retSerializer {};
44116         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44117         retValue_type = runtimeType(retValue);
44118         _retSerializer.writeInt8(retValue_type);
44119         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44120             const auto retValue_value = retValue.value;
44121             _retSerializer.writeInt32(static_cast<Ark_WordBreak>(retValue_value));
44122         }
44123         return _retSerializer.toReturnBuffer();
44124 }
KOALA_INTEROP_1(ParagraphStyle_getWordBreak,KInteropReturnBuffer,Ark_NativePointer)44125 KOALA_INTEROP_1(ParagraphStyle_getWordBreak, KInteropReturnBuffer, Ark_NativePointer)
44126 KInteropReturnBuffer impl_ParagraphStyle_getLeadingMargin(Ark_NativePointer thisPtr) {
44127         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44128         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getLeadingMargin(self);
44129         Serializer _retSerializer {};
44130         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44131         retValue_type = runtimeType(retValue);
44132         _retSerializer.writeInt8(retValue_type);
44133         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44134             const auto retValue_value = retValue.value;
44135             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
44136             retValue_value_type = retValue_value.selector;
44137             if (retValue_value_type == 0) {
44138                 _retSerializer.writeInt8(0);
44139                 const auto retValue_value_0 = retValue_value.value0;
44140                 _retSerializer.writeNumber(retValue_value_0);
44141             }
44142             else if (retValue_value_type == 1) {
44143                 _retSerializer.writeInt8(1);
44144                 const auto retValue_value_1 = retValue_value.value1;
44145                 _retSerializer.writeLeadingMarginPlaceholder(retValue_value_1);
44146             }
44147         }
44148         return _retSerializer.toReturnBuffer();
44149 }
KOALA_INTEROP_1(ParagraphStyle_getLeadingMargin,KInteropReturnBuffer,Ark_NativePointer)44150 KOALA_INTEROP_1(ParagraphStyle_getLeadingMargin, KInteropReturnBuffer, Ark_NativePointer)
44151 KInteropReturnBuffer impl_ParagraphStyle_getParagraphSpacing(Ark_NativePointer thisPtr) {
44152         Ark_ParagraphStyle self = reinterpret_cast<Ark_ParagraphStyle>(thisPtr);
44153         const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getParagraphSpacing(self);
44154         Serializer _retSerializer {};
44155         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44156         retValue_type = runtimeType(retValue);
44157         _retSerializer.writeInt8(retValue_type);
44158         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44159             const auto retValue_value = retValue.value;
44160             _retSerializer.writeNumber(retValue_value);
44161         }
44162         return _retSerializer.toReturnBuffer();
44163 }
KOALA_INTEROP_1(ParagraphStyle_getParagraphSpacing,KInteropReturnBuffer,Ark_NativePointer)44164 KOALA_INTEROP_1(ParagraphStyle_getParagraphSpacing, KInteropReturnBuffer, Ark_NativePointer)
44165 Ark_NativePointer impl_LineHeightStyle_ctor(Ark_NativePointer lineHeight) {
44166         return GetAccessors()->getLineHeightStyleAccessor()->ctor(static_cast<Ark_LengthMetrics>(lineHeight));
44167 }
KOALA_INTEROP_DIRECT_1(LineHeightStyle_ctor,Ark_NativePointer,Ark_NativePointer)44168 KOALA_INTEROP_DIRECT_1(LineHeightStyle_ctor, Ark_NativePointer, Ark_NativePointer)
44169 Ark_NativePointer impl_LineHeightStyle_getFinalizer() {
44170         return GetAccessors()->getLineHeightStyleAccessor()->getFinalizer();
44171 }
KOALA_INTEROP_DIRECT_0(LineHeightStyle_getFinalizer,Ark_NativePointer)44172 KOALA_INTEROP_DIRECT_0(LineHeightStyle_getFinalizer, Ark_NativePointer)
44173 Ark_Number impl_LineHeightStyle_getLineHeight(Ark_NativePointer thisPtr) {
44174         Ark_LineHeightStyle self = reinterpret_cast<Ark_LineHeightStyle>(thisPtr);
44175         return GetAccessors()->getLineHeightStyleAccessor()->getLineHeight(self);
44176 }
KOALA_INTEROP_DIRECT_1(LineHeightStyle_getLineHeight,KInteropNumber,Ark_NativePointer)44177 KOALA_INTEROP_DIRECT_1(LineHeightStyle_getLineHeight, KInteropNumber, Ark_NativePointer)
44178 Ark_NativePointer impl_UrlStyle_ctor(const KStringPtr& url) {
44179         return GetAccessors()->getUrlStyleAccessor()->ctor((const Ark_String*) (&url));
44180 }
KOALA_INTEROP_1(UrlStyle_ctor,Ark_NativePointer,KStringPtr)44181 KOALA_INTEROP_1(UrlStyle_ctor, Ark_NativePointer, KStringPtr)
44182 Ark_NativePointer impl_UrlStyle_getFinalizer() {
44183         return GetAccessors()->getUrlStyleAccessor()->getFinalizer();
44184 }
KOALA_INTEROP_DIRECT_0(UrlStyle_getFinalizer,Ark_NativePointer)44185 KOALA_INTEROP_DIRECT_0(UrlStyle_getFinalizer, Ark_NativePointer)
44186 Ark_String impl_UrlStyle_getUrl(Ark_NativePointer thisPtr) {
44187         Ark_UrlStyle self = reinterpret_cast<Ark_UrlStyle>(thisPtr);
44188         return GetAccessors()->getUrlStyleAccessor()->getUrl(self);
44189 }
KOALA_INTEROP_1(UrlStyle_getUrl,KStringPtr,Ark_NativePointer)44190 KOALA_INTEROP_1(UrlStyle_getUrl, KStringPtr, Ark_NativePointer)
44191 Ark_NativePointer impl_MutableStyledString_ctor() {
44192         return GetAccessors()->getMutableStyledStringAccessor()->ctor();
44193 }
KOALA_INTEROP_DIRECT_0(MutableStyledString_ctor,Ark_NativePointer)44194 KOALA_INTEROP_DIRECT_0(MutableStyledString_ctor, Ark_NativePointer)
44195 Ark_NativePointer impl_MutableStyledString_getFinalizer() {
44196         return GetAccessors()->getMutableStyledStringAccessor()->getFinalizer();
44197 }
KOALA_INTEROP_DIRECT_0(MutableStyledString_getFinalizer,Ark_NativePointer)44198 KOALA_INTEROP_DIRECT_0(MutableStyledString_getFinalizer, Ark_NativePointer)
44199 void impl_MutableStyledString_replaceString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, const KStringPtr& other) {
44200         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44201         GetAccessors()->getMutableStyledStringAccessor()->replaceString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), (const Ark_String*) (&other));
44202 }
KOALA_INTEROP_CTX_V4(MutableStyledString_replaceString,Ark_NativePointer,KInteropNumber,KInteropNumber,KStringPtr)44203 KOALA_INTEROP_CTX_V4(MutableStyledString_replaceString, Ark_NativePointer, KInteropNumber, KInteropNumber, KStringPtr)
44204 void impl_MutableStyledString_insertString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, const KStringPtr& other) {
44205         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44206         GetAccessors()->getMutableStyledStringAccessor()->insertString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_String*) (&other));
44207 }
KOALA_INTEROP_CTX_V3(MutableStyledString_insertString,Ark_NativePointer,KInteropNumber,KStringPtr)44208 KOALA_INTEROP_CTX_V3(MutableStyledString_insertString, Ark_NativePointer, KInteropNumber, KStringPtr)
44209 void impl_MutableStyledString_removeString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length) {
44210         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44211         GetAccessors()->getMutableStyledStringAccessor()->removeString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length));
44212 }
KOALA_INTEROP_CTX_V3(MutableStyledString_removeString,Ark_NativePointer,KInteropNumber,KInteropNumber)44213 KOALA_INTEROP_CTX_V3(MutableStyledString_removeString, Ark_NativePointer, KInteropNumber, KInteropNumber)
44214 void impl_MutableStyledString_replaceStyle(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
44215         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44216         Deserializer thisDeserializer(thisArray, thisLength);
44217         Ark_SpanStyle spanStyle_value = thisDeserializer.readSpanStyle();;
44218         GetAccessors()->getMutableStyledStringAccessor()->replaceStyle(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_SpanStyle*)&spanStyle_value);
44219 }
KOALA_INTEROP_CTX_V3(MutableStyledString_replaceStyle,Ark_NativePointer,KSerializerBuffer,int32_t)44220 KOALA_INTEROP_CTX_V3(MutableStyledString_replaceStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
44221 void impl_MutableStyledString_setStyle(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
44222         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44223         Deserializer thisDeserializer(thisArray, thisLength);
44224         Ark_SpanStyle spanStyle_value = thisDeserializer.readSpanStyle();;
44225         GetAccessors()->getMutableStyledStringAccessor()->setStyle(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_SpanStyle*)&spanStyle_value);
44226 }
KOALA_INTEROP_CTX_V3(MutableStyledString_setStyle,Ark_NativePointer,KSerializerBuffer,int32_t)44227 KOALA_INTEROP_CTX_V3(MutableStyledString_setStyle, Ark_NativePointer, KSerializerBuffer, int32_t)
44228 void impl_MutableStyledString_removeStyle(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, Ark_Int32 styledKey) {
44229         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44230         GetAccessors()->getMutableStyledStringAccessor()->removeStyle(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), static_cast<Ark_StyledStringKey>(styledKey));
44231 }
KOALA_INTEROP_CTX_V4(MutableStyledString_removeStyle,Ark_NativePointer,KInteropNumber,KInteropNumber,Ark_Int32)44232 KOALA_INTEROP_CTX_V4(MutableStyledString_removeStyle, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Int32)
44233 void impl_MutableStyledString_removeStyles(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length) {
44234         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44235         GetAccessors()->getMutableStyledStringAccessor()->removeStyles(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length));
44236 }
KOALA_INTEROP_CTX_V3(MutableStyledString_removeStyles,Ark_NativePointer,KInteropNumber,KInteropNumber)44237 KOALA_INTEROP_CTX_V3(MutableStyledString_removeStyles, Ark_NativePointer, KInteropNumber, KInteropNumber)
44238 void impl_MutableStyledString_clearStyles(Ark_NativePointer thisPtr) {
44239         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44240         GetAccessors()->getMutableStyledStringAccessor()->clearStyles(self);
44241 }
KOALA_INTEROP_DIRECT_V1(MutableStyledString_clearStyles,Ark_NativePointer)44242 KOALA_INTEROP_DIRECT_V1(MutableStyledString_clearStyles, Ark_NativePointer)
44243 void impl_MutableStyledString_replaceStyledString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, Ark_NativePointer other) {
44244         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44245         GetAccessors()->getMutableStyledStringAccessor()->replaceStyledString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), static_cast<Ark_StyledString>(other));
44246 }
KOALA_INTEROP_CTX_V4(MutableStyledString_replaceStyledString,Ark_NativePointer,KInteropNumber,KInteropNumber,Ark_NativePointer)44247 KOALA_INTEROP_CTX_V4(MutableStyledString_replaceStyledString, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_NativePointer)
44248 void impl_MutableStyledString_insertStyledString(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, Ark_NativePointer other) {
44249         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44250         GetAccessors()->getMutableStyledStringAccessor()->insertStyledString(reinterpret_cast<Ark_VMContext>(vmContext), self, (const Ark_Number*) (&start), static_cast<Ark_StyledString>(other));
44251 }
KOALA_INTEROP_CTX_V3(MutableStyledString_insertStyledString,Ark_NativePointer,KInteropNumber,Ark_NativePointer)44252 KOALA_INTEROP_CTX_V3(MutableStyledString_insertStyledString, Ark_NativePointer, KInteropNumber, Ark_NativePointer)
44253 void impl_MutableStyledString_appendStyledString(Ark_NativePointer thisPtr, Ark_NativePointer other) {
44254         Ark_MutableStyledString self = reinterpret_cast<Ark_MutableStyledString>(thisPtr);
44255         GetAccessors()->getMutableStyledStringAccessor()->appendStyledString(self, static_cast<Ark_StyledString>(other));
44256 }
KOALA_INTEROP_DIRECT_V2(MutableStyledString_appendStyledString,Ark_NativePointer,Ark_NativePointer)44257 KOALA_INTEROP_DIRECT_V2(MutableStyledString_appendStyledString, Ark_NativePointer, Ark_NativePointer)
44258 Ark_NativePointer impl_ImageAttachment_ctor(KSerializerBuffer thisArray, int32_t thisLength) {
44259         Deserializer thisDeserializer(thisArray, thisLength);
44260         Ark_ImageAttachmentInterface value_value = thisDeserializer.readImageAttachmentInterface();;
44261         return GetAccessors()->getImageAttachmentAccessor()->ctor((const Ark_ImageAttachmentInterface*)&value_value);
44262 }
KOALA_INTEROP_DIRECT_2(ImageAttachment_ctor,Ark_NativePointer,KSerializerBuffer,int32_t)44263 KOALA_INTEROP_DIRECT_2(ImageAttachment_ctor, Ark_NativePointer, KSerializerBuffer, int32_t)
44264 Ark_NativePointer impl_ImageAttachment_getFinalizer() {
44265         return GetAccessors()->getImageAttachmentAccessor()->getFinalizer();
44266 }
KOALA_INTEROP_DIRECT_0(ImageAttachment_getFinalizer,Ark_NativePointer)44267 KOALA_INTEROP_DIRECT_0(ImageAttachment_getFinalizer, Ark_NativePointer)
44268 Ark_NativePointer impl_ImageAttachment_getValue(Ark_NativePointer thisPtr) {
44269         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44270         return GetAccessors()->getImageAttachmentAccessor()->getValue(self);
44271 }
KOALA_INTEROP_DIRECT_1(ImageAttachment_getValue,Ark_NativePointer,Ark_NativePointer)44272 KOALA_INTEROP_DIRECT_1(ImageAttachment_getValue, Ark_NativePointer, Ark_NativePointer)
44273 KInteropReturnBuffer impl_ImageAttachment_getSize(Ark_NativePointer thisPtr) {
44274         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44275         const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getSize(self);
44276         Serializer _retSerializer {};
44277         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44278         retValue_type = runtimeType(retValue);
44279         _retSerializer.writeInt8(retValue_type);
44280         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44281             const auto retValue_value = retValue.value;
44282             _retSerializer.writeSizeOptions(retValue_value);
44283         }
44284         return _retSerializer.toReturnBuffer();
44285 }
KOALA_INTEROP_1(ImageAttachment_getSize,KInteropReturnBuffer,Ark_NativePointer)44286 KOALA_INTEROP_1(ImageAttachment_getSize, KInteropReturnBuffer, Ark_NativePointer)
44287 KInteropReturnBuffer impl_ImageAttachment_getVerticalAlign(Ark_NativePointer thisPtr) {
44288         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44289         const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getVerticalAlign(self);
44290         Serializer _retSerializer {};
44291         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44292         retValue_type = runtimeType(retValue);
44293         _retSerializer.writeInt8(retValue_type);
44294         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44295             const auto retValue_value = retValue.value;
44296             _retSerializer.writeInt32(static_cast<Ark_ImageSpanAlignment>(retValue_value));
44297         }
44298         return _retSerializer.toReturnBuffer();
44299 }
KOALA_INTEROP_1(ImageAttachment_getVerticalAlign,KInteropReturnBuffer,Ark_NativePointer)44300 KOALA_INTEROP_1(ImageAttachment_getVerticalAlign, KInteropReturnBuffer, Ark_NativePointer)
44301 KInteropReturnBuffer impl_ImageAttachment_getObjectFit(Ark_NativePointer thisPtr) {
44302         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44303         const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getObjectFit(self);
44304         Serializer _retSerializer {};
44305         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44306         retValue_type = runtimeType(retValue);
44307         _retSerializer.writeInt8(retValue_type);
44308         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44309             const auto retValue_value = retValue.value;
44310             _retSerializer.writeInt32(static_cast<Ark_ImageFit>(retValue_value));
44311         }
44312         return _retSerializer.toReturnBuffer();
44313 }
KOALA_INTEROP_1(ImageAttachment_getObjectFit,KInteropReturnBuffer,Ark_NativePointer)44314 KOALA_INTEROP_1(ImageAttachment_getObjectFit, KInteropReturnBuffer, Ark_NativePointer)
44315 KInteropReturnBuffer impl_ImageAttachment_getLayoutStyle(Ark_NativePointer thisPtr) {
44316         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44317         const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getLayoutStyle(self);
44318         Serializer _retSerializer {};
44319         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44320         retValue_type = runtimeType(retValue);
44321         _retSerializer.writeInt8(retValue_type);
44322         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44323             const auto retValue_value = retValue.value;
44324             _retSerializer.writeImageAttachmentLayoutStyle(retValue_value);
44325         }
44326         return _retSerializer.toReturnBuffer();
44327 }
KOALA_INTEROP_1(ImageAttachment_getLayoutStyle,KInteropReturnBuffer,Ark_NativePointer)44328 KOALA_INTEROP_1(ImageAttachment_getLayoutStyle, KInteropReturnBuffer, Ark_NativePointer)
44329 KInteropReturnBuffer impl_ImageAttachment_getColorFilter(Ark_NativePointer thisPtr) {
44330         Ark_ImageAttachment self = reinterpret_cast<Ark_ImageAttachment>(thisPtr);
44331         const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getColorFilter(self);
44332         Serializer _retSerializer {};
44333         Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED;
44334         retValue_type = runtimeType(retValue);
44335         _retSerializer.writeInt8(retValue_type);
44336         if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) {
44337             const auto retValue_value = retValue.value;
44338             Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED;
44339             retValue_value_type = retValue_value.selector;
44340             if (retValue_value_type == 0) {
44341                 _retSerializer.writeInt8(0);
44342                 const auto retValue_value_0 = retValue_value.value0;
44343                 _retSerializer.writeColorFilter(retValue_value_0);
44344             }
44345             else if (retValue_value_type == 1) {
44346                 _retSerializer.writeInt8(1);
44347                 const auto retValue_value_1 = retValue_value.value1;
44348                 _retSerializer.writeDrawingColorFilter(retValue_value_1);
44349             }
44350         }
44351         return _retSerializer.toReturnBuffer();
44352 }
KOALA_INTEROP_1(ImageAttachment_getColorFilter,KInteropReturnBuffer,Ark_NativePointer)44353 KOALA_INTEROP_1(ImageAttachment_getColorFilter, KInteropReturnBuffer, Ark_NativePointer)
44354 Ark_NativePointer impl_CustomSpan_ctor() {
44355         return GetAccessors()->getCustomSpanAccessor()->ctor();
44356 }
KOALA_INTEROP_DIRECT_0(CustomSpan_ctor,Ark_NativePointer)44357 KOALA_INTEROP_DIRECT_0(CustomSpan_ctor, Ark_NativePointer)
44358 Ark_NativePointer impl_CustomSpan_getFinalizer() {
44359         return GetAccessors()->getCustomSpanAccessor()->getFinalizer();
44360 }
KOALA_INTEROP_DIRECT_0(CustomSpan_getFinalizer,Ark_NativePointer)44361 KOALA_INTEROP_DIRECT_0(CustomSpan_getFinalizer, Ark_NativePointer)
44362 KInteropReturnBuffer impl_CustomSpan_onMeasure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
44363         Ark_CustomSpan self = reinterpret_cast<Ark_CustomSpan>(thisPtr);
44364         Deserializer thisDeserializer(thisArray, thisLength);
44365         Ark_CustomSpanMeasureInfo measureInfo_value = thisDeserializer.readCustomSpanMeasureInfo();;
44366         const auto &retValue = GetAccessors()->getCustomSpanAccessor()->onMeasure(self, (const Ark_CustomSpanMeasureInfo*)&measureInfo_value);
44367         Serializer _retSerializer {};
44368         _retSerializer.writeCustomSpanMetrics(retValue);
44369         return _retSerializer.toReturnBuffer();
44370 }
KOALA_INTEROP_3(CustomSpan_onMeasure,KInteropReturnBuffer,Ark_NativePointer,KSerializerBuffer,int32_t)44371 KOALA_INTEROP_3(CustomSpan_onMeasure, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t)
44372 void impl_CustomSpan_onDraw(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
44373         Ark_CustomSpan self = reinterpret_cast<Ark_CustomSpan>(thisPtr);
44374         Deserializer thisDeserializer(thisArray, thisLength);
44375         Ark_DrawContext context_value = thisDeserializer.readDrawContext();;
44376         Ark_CustomSpanDrawInfo drawInfo_value = thisDeserializer.readCustomSpanDrawInfo();;
44377         GetAccessors()->getCustomSpanAccessor()->onDraw(self, (const Ark_DrawContext*)&context_value, (const Ark_CustomSpanDrawInfo*)&drawInfo_value);
44378 }
KOALA_INTEROP_DIRECT_V3(CustomSpan_onDraw,Ark_NativePointer,KSerializerBuffer,int32_t)44379 KOALA_INTEROP_DIRECT_V3(CustomSpan_onDraw, Ark_NativePointer, KSerializerBuffer, int32_t)
44380 void impl_CustomSpan_invalidate(Ark_NativePointer thisPtr) {
44381         Ark_CustomSpan self = reinterpret_cast<Ark_CustomSpan>(thisPtr);
44382         GetAccessors()->getCustomSpanAccessor()->invalidate(self);
44383 }
KOALA_INTEROP_DIRECT_V1(CustomSpan_invalidate,Ark_NativePointer)44384 KOALA_INTEROP_DIRECT_V1(CustomSpan_invalidate, Ark_NativePointer)
44385 Ark_NativePointer impl_LinearIndicatorController_ctor() {
44386         return GetAccessors()->getLinearIndicatorControllerAccessor()->ctor();
44387 }
KOALA_INTEROP_DIRECT_0(LinearIndicatorController_ctor,Ark_NativePointer)44388 KOALA_INTEROP_DIRECT_0(LinearIndicatorController_ctor, Ark_NativePointer)
44389 Ark_NativePointer impl_LinearIndicatorController_getFinalizer() {
44390         return GetAccessors()->getLinearIndicatorControllerAccessor()->getFinalizer();
44391 }
KOALA_INTEROP_DIRECT_0(LinearIndicatorController_getFinalizer,Ark_NativePointer)44392 KOALA_INTEROP_DIRECT_0(LinearIndicatorController_getFinalizer, Ark_NativePointer)
44393 void impl_LinearIndicatorController_setProgress(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber progress) {
44394         Ark_LinearIndicatorController self = reinterpret_cast<Ark_LinearIndicatorController>(thisPtr);
44395         GetAccessors()->getLinearIndicatorControllerAccessor()->setProgress(self, (const Ark_Number*) (&index), (const Ark_Number*) (&progress));
44396 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorController_setProgress,Ark_NativePointer,KInteropNumber,KInteropNumber)44397 KOALA_INTEROP_DIRECT_V3(LinearIndicatorController_setProgress, Ark_NativePointer, KInteropNumber, KInteropNumber)
44398 void impl_LinearIndicatorController_start(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) {
44399         Ark_LinearIndicatorController self = reinterpret_cast<Ark_LinearIndicatorController>(thisPtr);
44400         Deserializer thisDeserializer(thisArray, thisLength);
44401         const auto options_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
44402         Opt_LinearIndicatorStartOptions options_value_buf = {};
44403         options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
44404         if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType))
44405         {
44406             options_value_buf.value = thisDeserializer.readLinearIndicatorStartOptions();
44407         }
44408         Opt_LinearIndicatorStartOptions options_value = options_value_buf;;
44409         GetAccessors()->getLinearIndicatorControllerAccessor()->start(self, (const Opt_LinearIndicatorStartOptions*)&options_value);
44410 }
KOALA_INTEROP_DIRECT_V3(LinearIndicatorController_start,Ark_NativePointer,KSerializerBuffer,int32_t)44411 KOALA_INTEROP_DIRECT_V3(LinearIndicatorController_start, Ark_NativePointer, KSerializerBuffer, int32_t)
44412 void impl_LinearIndicatorController_pause(Ark_NativePointer thisPtr) {
44413         Ark_LinearIndicatorController self = reinterpret_cast<Ark_LinearIndicatorController>(thisPtr);
44414         GetAccessors()->getLinearIndicatorControllerAccessor()->pause(self);
44415 }
KOALA_INTEROP_DIRECT_V1(LinearIndicatorController_pause,Ark_NativePointer)44416 KOALA_INTEROP_DIRECT_V1(LinearIndicatorController_pause, Ark_NativePointer)
44417 void impl_LinearIndicatorController_stop(Ark_NativePointer thisPtr) {
44418         Ark_LinearIndicatorController self = reinterpret_cast<Ark_LinearIndicatorController>(thisPtr);
44419         GetAccessors()->getLinearIndicatorControllerAccessor()->stop(self);
44420 }
KOALA_INTEROP_DIRECT_V1(LinearIndicatorController_stop,Ark_NativePointer)44421 KOALA_INTEROP_DIRECT_V1(LinearIndicatorController_stop, Ark_NativePointer)
44422 KInteropReturnBuffer impl_GlobalScope_getRectangleById(const KStringPtr& id) {
44423         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->getRectangleById((const Ark_String*) (&id));
44424         Serializer _retSerializer {};
44425         _retSerializer.writeComponentInfo(retValue);
44426         return _retSerializer.toReturnBuffer();
44427 }
KOALA_INTEROP_1(GlobalScope_getRectangleById,KInteropReturnBuffer,KStringPtr)44428 KOALA_INTEROP_1(GlobalScope_getRectangleById, KInteropReturnBuffer, KStringPtr)
44429 KInteropReturnBuffer impl_GlobalScope_edgeColors(KInteropNumber all) {
44430         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->edgeColors((const Ark_Number*) (&all));
44431         Serializer _retSerializer {};
44432         _retSerializer.writeEdges(retValue);
44433         return _retSerializer.toReturnBuffer();
44434 }
KOALA_INTEROP_1(GlobalScope_edgeColors,KInteropReturnBuffer,KInteropNumber)44435 KOALA_INTEROP_1(GlobalScope_edgeColors, KInteropReturnBuffer, KInteropNumber)
44436 KInteropReturnBuffer impl_GlobalScope_edgeWidths(KInteropNumber all) {
44437         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->edgeWidths((const Ark_Number*) (&all));
44438         Serializer _retSerializer {};
44439         _retSerializer.writeEdges(retValue);
44440         return _retSerializer.toReturnBuffer();
44441 }
KOALA_INTEROP_1(GlobalScope_edgeWidths,KInteropReturnBuffer,KInteropNumber)44442 KOALA_INTEROP_1(GlobalScope_edgeWidths, KInteropReturnBuffer, KInteropNumber)
44443 KInteropReturnBuffer impl_GlobalScope_borderRadiuses(KInteropNumber all) {
44444         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->borderRadiuses((const Ark_Number*) (&all));
44445         Serializer _retSerializer {};
44446         _retSerializer.writeBorderRadiuses(retValue);
44447         return _retSerializer.toReturnBuffer();
44448 }
KOALA_INTEROP_1(GlobalScope_borderRadiuses,KInteropReturnBuffer,KInteropNumber)44449 KOALA_INTEROP_1(GlobalScope_borderRadiuses, KInteropReturnBuffer, KInteropNumber)
44450 KInteropReturnBuffer impl_GlobalScope_wrapBuilder(KSerializerBuffer thisArray, int32_t thisLength) {
44451         Deserializer thisDeserializer(thisArray, thisLength);
44452         Callback_WrappedBuilder_Args_Void builder_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_CommonConfiguration args)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_WrappedBuilder_Args_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CommonConfiguration args)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_WrappedBuilder_Args_Void))))};;
44453         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->wrapBuilder((const Callback_WrappedBuilder_Args_Void*)&builder_value);
44454         Serializer _retSerializer {};
44455         _retSerializer.writeWrappedBuilder(retValue);
44456         return _retSerializer.toReturnBuffer();
44457 }
KOALA_INTEROP_2(GlobalScope_wrapBuilder,KInteropReturnBuffer,KSerializerBuffer,int32_t)44458 KOALA_INTEROP_2(GlobalScope_wrapBuilder, KInteropReturnBuffer, KSerializerBuffer, int32_t)
44459 Ark_NativePointer impl_GlobalScope_getContext(KSerializerBuffer thisArray, int32_t thisLength) {
44460         Deserializer thisDeserializer(thisArray, thisLength);
44461         const auto component_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
44462         Opt_Object component_value_buf = {};
44463         component_value_buf.tag = component_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
44464         if ((INTEROP_RUNTIME_UNDEFINED) != (component_value_buf_runtimeType))
44465         {
44466             component_value_buf.value = static_cast<Ark_Object>(thisDeserializer.readObject());
44467         }
44468         Opt_Object component_value = component_value_buf;;
44469         return GetAccessors()->getGlobalScopeAccessor()->getContext((const Opt_Object*)&component_value);
44470 }
KOALA_INTEROP_DIRECT_2(GlobalScope_getContext,Ark_NativePointer,KSerializerBuffer,int32_t)44471 KOALA_INTEROP_DIRECT_2(GlobalScope_getContext, Ark_NativePointer, KSerializerBuffer, int32_t)
44472 void impl_GlobalScope_postCardAction(KSerializerBuffer thisArray, int32_t thisLength) {
44473         Deserializer thisDeserializer(thisArray, thisLength);
44474         Ark_Object component_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
44475         Ark_Object action_value = static_cast<Ark_Object>(thisDeserializer.readObject());;
44476         GetAccessors()->getGlobalScopeAccessor()->postCardAction((const Ark_Object*)&component_value, (const Ark_Object*)&action_value);
44477 }
KOALA_INTEROP_DIRECT_V2(GlobalScope_postCardAction,KSerializerBuffer,int32_t)44478 KOALA_INTEROP_DIRECT_V2(GlobalScope_postCardAction, KSerializerBuffer, int32_t)
44479 KInteropReturnBuffer impl_GlobalScope_dollar_r(const KStringPtr& value, KSerializerBuffer thisArray, int32_t thisLength) {
44480         Deserializer thisDeserializer(thisArray, thisLength);
44481         const Ark_Int32 params_value_buf_length = thisDeserializer.readInt32();
44482         Array_Object params_value_buf = {};
44483         thisDeserializer.resizeArray<std::decay<decltype(params_value_buf)>::type,
44484         std::decay<decltype(*params_value_buf.array)>::type>(&params_value_buf, params_value_buf_length);
44485         for (int params_value_buf_i = 0; params_value_buf_i < params_value_buf_length; params_value_buf_i++) {
44486             params_value_buf.array[params_value_buf_i] = static_cast<Ark_Object>(thisDeserializer.readObject());
44487         }
44488         Array_Object params_value = params_value_buf;;
44489         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->dollar_r((const Ark_String*) (&value), (const Array_Object*)&params_value);
44490         Serializer _retSerializer {};
44491         _retSerializer.writeResource(retValue);
44492         return _retSerializer.toReturnBuffer();
44493 }
KOALA_INTEROP_3(GlobalScope_dollar_r,KInteropReturnBuffer,KStringPtr,KSerializerBuffer,int32_t)44494 KOALA_INTEROP_3(GlobalScope_dollar_r, KInteropReturnBuffer, KStringPtr, KSerializerBuffer, int32_t)
44495 KInteropReturnBuffer impl_GlobalScope_dollar_rawfile(const KStringPtr& value) {
44496         const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->dollar_rawfile((const Ark_String*) (&value));
44497         Serializer _retSerializer {};
44498         _retSerializer.writeResource(retValue);
44499         return _retSerializer.toReturnBuffer();
44500 }
KOALA_INTEROP_1(GlobalScope_dollar_rawfile,KInteropReturnBuffer,KStringPtr)44501 KOALA_INTEROP_1(GlobalScope_dollar_rawfile, KInteropReturnBuffer, KStringPtr)
44502 void impl_GlobalScope_animateTo(KSerializerBuffer thisArray, int32_t thisLength) {
44503         Deserializer thisDeserializer(thisArray, thisLength);
44504         Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();;
44505         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
44506         GetAccessors()->getGlobalScopeAccessor()->animateTo((const Ark_AnimateParam*)&value_value, (const Callback_Void*)&event_value);
44507 }
KOALA_INTEROP_DIRECT_V2(GlobalScope_animateTo,KSerializerBuffer,int32_t)44508 KOALA_INTEROP_DIRECT_V2(GlobalScope_animateTo, KSerializerBuffer, int32_t)
44509 void impl_GlobalScope_animateToImmediately(KSerializerBuffer thisArray, int32_t thisLength) {
44510         Deserializer thisDeserializer(thisArray, thisLength);
44511         Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();;
44512         Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};;
44513         GetAccessors()->getGlobalScopeAccessor()->animateToImmediately((const Ark_AnimateParam*)&value_value, (const Callback_Void*)&event_value);
44514 }
KOALA_INTEROP_DIRECT_V2(GlobalScope_animateToImmediately,KSerializerBuffer,int32_t)44515 KOALA_INTEROP_DIRECT_V2(GlobalScope_animateToImmediately, KSerializerBuffer, int32_t)
44516 Ark_Number impl_GlobalScope_vp2px(KInteropNumber value) {
44517         return GetAccessors()->getGlobalScopeAccessor()->vp2px((const Ark_Number*) (&value));
44518 }
KOALA_INTEROP_DIRECT_1(GlobalScope_vp2px,KInteropNumber,KInteropNumber)44519 KOALA_INTEROP_DIRECT_1(GlobalScope_vp2px, KInteropNumber, KInteropNumber)
44520 Ark_Number impl_GlobalScope_px2vp(KInteropNumber value) {
44521         return GetAccessors()->getGlobalScopeAccessor()->px2vp((const Ark_Number*) (&value));
44522 }
KOALA_INTEROP_DIRECT_1(GlobalScope_px2vp,KInteropNumber,KInteropNumber)44523 KOALA_INTEROP_DIRECT_1(GlobalScope_px2vp, KInteropNumber, KInteropNumber)
44524 Ark_Number impl_GlobalScope_fp2px(KInteropNumber value) {
44525         return GetAccessors()->getGlobalScopeAccessor()->fp2px((const Ark_Number*) (&value));
44526 }
KOALA_INTEROP_DIRECT_1(GlobalScope_fp2px,KInteropNumber,KInteropNumber)44527 KOALA_INTEROP_DIRECT_1(GlobalScope_fp2px, KInteropNumber, KInteropNumber)
44528 Ark_Number impl_GlobalScope_px2fp(KInteropNumber value) {
44529         return GetAccessors()->getGlobalScopeAccessor()->px2fp((const Ark_Number*) (&value));
44530 }
KOALA_INTEROP_DIRECT_1(GlobalScope_px2fp,KInteropNumber,KInteropNumber)44531 KOALA_INTEROP_DIRECT_1(GlobalScope_px2fp, KInteropNumber, KInteropNumber)
44532 Ark_Number impl_GlobalScope_lpx2px(KInteropNumber value) {
44533         return GetAccessors()->getGlobalScopeAccessor()->lpx2px((const Ark_Number*) (&value));
44534 }
KOALA_INTEROP_DIRECT_1(GlobalScope_lpx2px,KInteropNumber,KInteropNumber)44535 KOALA_INTEROP_DIRECT_1(GlobalScope_lpx2px, KInteropNumber, KInteropNumber)
44536 Ark_Number impl_GlobalScope_px2lpx(KInteropNumber value) {
44537         return GetAccessors()->getGlobalScopeAccessor()->px2lpx((const Ark_Number*) (&value));
44538 }
KOALA_INTEROP_DIRECT_1(GlobalScope_px2lpx,KInteropNumber,KInteropNumber)44539 KOALA_INTEROP_DIRECT_1(GlobalScope_px2lpx, KInteropNumber, KInteropNumber)
44540 void impl_GlobalScope_getInspectorNodes() {
44541         GetAccessors()->getGlobalScopeAccessor()->getInspectorNodes();
44542 }
KOALA_INTEROP_DIRECT_V0(GlobalScope_getInspectorNodes)44543 KOALA_INTEROP_DIRECT_V0(GlobalScope_getInspectorNodes)
44544 void impl_GlobalScope_getInspectorNodeById(KInteropNumber id) {
44545         GetAccessors()->getGlobalScopeAccessor()->getInspectorNodeById((const Ark_Number*) (&id));
44546 }
KOALA_INTEROP_DIRECT_V1(GlobalScope_getInspectorNodeById,KInteropNumber)44547 KOALA_INTEROP_DIRECT_V1(GlobalScope_getInspectorNodeById, KInteropNumber)
44548 void impl_GlobalScope_setAppBgColor(const KStringPtr& value) {
44549         GetAccessors()->getGlobalScopeAccessor()->setAppBgColor((const Ark_String*) (&value));
44550 }
KOALA_INTEROP_V1(GlobalScope_setAppBgColor,KStringPtr)44551 KOALA_INTEROP_V1(GlobalScope_setAppBgColor, KStringPtr)
44552 void impl_GlobalScope_Profiler_registerVsyncCallback(KSerializerBuffer thisArray, int32_t thisLength) {
44553         Deserializer thisDeserializer(thisArray, thisLength);
44554         Profiler_Callback_String_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId, const Ark_String info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String info)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};;
44555         GetAccessors()->getGlobalScopeAccessor()->Profiler_registerVsyncCallback((const Profiler_Callback_String_Void*)&callback__value);
44556 }
KOALA_INTEROP_DIRECT_V2(GlobalScope_Profiler_registerVsyncCallback,KSerializerBuffer,int32_t)44557 KOALA_INTEROP_DIRECT_V2(GlobalScope_Profiler_registerVsyncCallback, KSerializerBuffer, int32_t)
44558 void impl_GlobalScope_Profiler_unregisterVsyncCallback() {
44559         GetAccessors()->getGlobalScopeAccessor()->Profiler_unregisterVsyncCallback();
44560 }
KOALA_INTEROP_DIRECT_V0(GlobalScope_Profiler_unregisterVsyncCallback)44561 KOALA_INTEROP_DIRECT_V0(GlobalScope_Profiler_unregisterVsyncCallback)
44562 void impl_GlobalScope_cursorControl_setCursor(Ark_Int32 value) {
44563         GetAccessors()->getGlobalScopeAccessor()->cursorControl_setCursor(static_cast<Ark_PointerStyle>(value));
44564 }
KOALA_INTEROP_DIRECT_V1(GlobalScope_cursorControl_setCursor,Ark_Int32)44565 KOALA_INTEROP_DIRECT_V1(GlobalScope_cursorControl_setCursor, Ark_Int32)
44566 void impl_GlobalScope_cursorControl_restoreDefault() {
44567         GetAccessors()->getGlobalScopeAccessor()->cursorControl_restoreDefault();
44568 }
KOALA_INTEROP_DIRECT_V0(GlobalScope_cursorControl_restoreDefault)44569 KOALA_INTEROP_DIRECT_V0(GlobalScope_cursorControl_restoreDefault)
44570 Ark_Boolean impl_GlobalScope_focusControl_requestFocus(const KStringPtr& value) {
44571         return GetAccessors()->getGlobalScopeAccessor()->focusControl_requestFocus((const Ark_String*) (&value));
44572 }
KOALA_INTEROP_1(GlobalScope_focusControl_requestFocus,Ark_Boolean,KStringPtr)44573 KOALA_INTEROP_1(GlobalScope_focusControl_requestFocus, Ark_Boolean, KStringPtr)
44574 Ark_NativePointer impl_RouterExtender_RouterPush1attribute(const KStringPtr& value) {
44575         return GetAccessors()->getRouterExtenderAccessor()->push((const Ark_String*)(&value));
44576 }
KOALA_INTEROP_1(RouterExtender_RouterPush1attribute,Ark_NativePointer,KStringPtr)44577 KOALA_INTEROP_1(RouterExtender_RouterPush1attribute, Ark_NativePointer, KStringPtr)
44578 Ark_NativePointer impl_RouterExtender_RouterReplace1attribute(KSerializerBuffer thisArray, int32_t thisLength) {
44579         Deserializer thisDeserializer(thisArray, thisLength);
44580         const auto url = static_cast<Ark_String>(thisDeserializer.readString());
44581         const auto value_value_buf_runtimeType = static_cast<Ark_RuntimeType>(thisDeserializer.readInt8());
44582         Opt_Callback_Void value_value_buf = {};
44583         value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT;
44584         if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType))
44585         {
44586             value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast<void(*)(const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast<void(*)(Ark_VMContext vmContext, const Ark_Int32 resourceId)>(thisDeserializer.readPointerOrDefault(reinterpret_cast<Ark_NativePointer>(getManagedCallbackCallerSync(Kind_Callback_Void))))};
44587         }
44588         Opt_Callback_Void value_value = value_value_buf;
44589         return GetAccessors()->getRouterExtenderAccessor()->replace((const Ark_String*)(&url) ,(const Opt_Callback_Void*)&value_value);
44590 }
KOALA_INTEROP_DIRECT_2(RouterExtender_RouterReplace1attribute,Ark_NativePointer,KSerializerBuffer,int32_t)44591 KOALA_INTEROP_DIRECT_2(RouterExtender_RouterReplace1attribute, Ark_NativePointer, KSerializerBuffer, int32_t)
44592 void impl_RouterExtender_MoveCommonUnderPageNode(Ark_NativePointer commonNode, Ark_NativePointer pageNode) {
44593         return GetAccessors()->getRouterExtenderAccessor()->moveCommonUnderPageNode(commonNode, pageNode);
44594 }
KOALA_INTEROP_DIRECT_V2(RouterExtender_MoveCommonUnderPageNode,Ark_NativePointer,Ark_NativePointer)44595 KOALA_INTEROP_DIRECT_V2(RouterExtender_MoveCommonUnderPageNode, Ark_NativePointer, Ark_NativePointer)
44596 void impl_RouterExtender_RouterBack0attribute() {
44597         return GetAccessors()->getRouterExtenderAccessor()->back();
44598 }
KOALA_INTEROP_DIRECT_V0(RouterExtender_RouterBack0attribute)44599 KOALA_INTEROP_DIRECT_V0(RouterExtender_RouterBack0attribute)
44600 Ark_NativePointer impl_RouterExtender_RouterRunPage(const KStringPtr& value) {
44601         return GetAccessors()->getRouterExtenderAccessor()->runPage((const Ark_String*)(&value));
44602 }
KOALA_INTEROP_1(RouterExtender_RouterRunPage,Ark_NativePointer,KStringPtr)44603 KOALA_INTEROP_1(RouterExtender_RouterRunPage, Ark_NativePointer, KStringPtr)
44604 void impl_RouterExtender_RouterClear() {
44605         GetAccessors()->getRouterExtenderAccessor()->clear();
44606 }
KOALA_INTEROP_DIRECT_V0(RouterExtender_RouterClear)44607 KOALA_INTEROP_DIRECT_V0(RouterExtender_RouterClear)
44608 Ark_Int64 impl_UIStateGet(Ark_NativePointer thisPtr) {
44609         return GetNodeModifiers()->getUIStateModifier()->getUIState(thisPtr);
44610 }
44611 KOALA_INTEROP_1(UIStateGet, Ark_Int64, Ark_NativePointer)