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