1import { RuntimeType } from "./peers/SerializerBase" 2import { Deserializer } from "./peers/Deserializer" 3import { int32, CustomTextEncoder } from "@koalaui/common" 4import { encodeToData, KInt, KPointer, KStringPtr, nullptr, pointer } from "@koalaui/interop" 5import { NativeModuleEmpty } from "@koalaui/arkoala" 6import { CallbackTransformer } from "./peers/CallbackTransformer" 7export interface UIElement { 8 nodeId: int32 9 kind: string 10 children: Array<UIElement>|undefined 11 elementId: string|undefined 12} 13const NULL_POINTER = 0 14const FINALIZER_POINTER = 1 15export interface MenuAlign { 16 type: string 17 dx?: string 18 dy?: string 19} 20export interface RootInterface { 21} 22export interface ComponentRootInterface { 23} 24export interface AbilityComponentInterface extends CommonMethodInterface,UIElement { 25 setAbilityComponentOptions_value?: { want: Want } 26 onConnect_value?: (() => void) 27 onDisconnect_value?: (() => void) 28} 29export interface AlphabetIndexerInterface extends CommonMethodInterface,UIElement { 30 setAlphabetIndexerOptions_options?: AlphabetIndexerOptions 31 onSelected_value?: ((index: number) => void) 32 color_value?: ResourceColor 33 selectedColor_value?: ResourceColor 34 popupColor_value?: ResourceColor 35 selectedBackgroundColor_value?: ResourceColor 36 popupBackground_value?: ResourceColor 37 popupSelectedColor_value?: ResourceColor 38 popupUnselectedColor_value?: ResourceColor 39 popupItemBackgroundColor_value?: ResourceColor 40 usingPopup_value?: boolean 41 selectedFont_value?: Font 42 popupFont_value?: Font 43 popupItemFont_value?: Font 44 itemSize_value?: string | number 45 font_value?: Font 46 onSelect_value?: OnAlphabetIndexerSelectCallback 47 onRequestPopupData_value?: OnAlphabetIndexerRequestPopupDataCallback 48 onPopupSelect_value?: OnAlphabetIndexerPopupSelectCallback 49 selected_value?: number 50 popupPosition_value?: Position 51 autoCollapse_value?: boolean 52 popupItemBorderRadius_value?: number 53 itemBorderRadius_value?: number 54 popupBackgroundBlurStyle_value?: BlurStyle 55 popupTitleBackground_value?: ResourceColor 56 enableHapticFeedback_value?: boolean 57 alignStyle_value?: IndexerAlign 58 alignStyle_offset?: Length | undefined 59} 60export interface AnimatorInterface extends CommonMethodInterface,UIElement { 61 setAnimatorOptions_value?: string 62 state_value?: AnimationStatus 63 duration_value?: number 64 curve_value?: Curve 65 delay_value?: number 66 fillMode_value?: FillMode 67 iterations_value?: number 68 playMode_value?: PlayMode 69 motion_value?: SpringMotion | FrictionMotion | ScrollMotion 70 onStart_value?: (() => void) 71 onPause_value?: (() => void) 72 onRepeat_value?: (() => void) 73 onCancel_value?: (() => void) 74 onFinish_value?: (() => void) 75 onFrame_value?: ((index: number) => void) 76} 77export interface BadgeInterface extends CommonMethodInterface,UIElement { 78 setBadgeOptions0_value?: BadgeParamWithNumber 79 setBadgeOptions1_value?: BadgeParamWithString 80} 81export interface BlankInterface extends CommonMethodInterface,UIElement { 82 setBlankOptions_min?: number | string | undefined 83 color_value?: ResourceColor 84} 85export interface ButtonInterface extends CommonMethodInterface,UIElement { 86 setButtonOptions1_options?: ButtonOptions 87 setButtonOptions2_label?: ResourceStr 88 setButtonOptions2_options?: ButtonOptions | undefined 89 type_value?: ButtonType 90 stateEffect_value?: boolean 91 buttonStyle_value?: ButtonStyleMode 92 controlSize_value?: ControlSize 93 role_value?: ButtonRole 94 fontColor_value?: ResourceColor 95 fontSize_value?: Length 96 fontWeight_value?: number | FontWeight | string 97 fontStyle_value?: FontStyle 98 fontFamily_value?: string | Resource 99 contentModifier_value?: ContentModifier<any> 100 labelStyle_value?: LabelStyle 101} 102export interface CalendarInterface { 103 setCalendarOptions_value?: { date: { year: number, month: number, day: number }, currentData: MonthData, preData: MonthData, nextData: MonthData, controller?: CalendarController } 104 showLunar_value?: boolean 105 showHoliday_value?: boolean 106 needSlide_value?: boolean 107 startOfWeek_value?: number 108 offDays_value?: number 109 direction_value?: Axis 110 currentDayStyle_value?: CurrentDayStyle 111 nonCurrentDayStyle_value?: NonCurrentDayStyle 112 todayStyle_value?: TodayStyle 113 weekStyle_value?: WeekStyle 114 workStateStyle_value?: WorkStateStyle 115 onSelectChange_value?: ((event: CalendarSelectedDate) => void) 116 onRequestData_value?: ((event: CalendarRequestedData) => void) 117} 118export interface CalendarPickerInterface extends CommonMethodInterface,UIElement { 119 setCalendarPickerOptions_options?: CalendarOptions | undefined 120 textStyle_value?: PickerTextStyle 121 onChange_value?: ((parameter: Date) => void) 122 edgeAlign_alignType?: CalendarAlign 123 edgeAlign_offset?: Offset | undefined 124} 125export interface CanvasInterface extends CommonMethodInterface,UIElement { 126 setCanvasOptions0_context?: CanvasRenderingContext2D | DrawingRenderingContext | undefined 127 setCanvasOptions1_context?: CanvasRenderingContext2D | DrawingRenderingContext 128 setCanvasOptions1_imageAIOptions?: ImageAIOptions 129 onReady_value?: VoidCallback 130 enableAnalyzer_value?: boolean 131} 132export interface CheckboxInterface extends CommonMethodInterface,UIElement { 133 setCheckboxOptions_options?: CheckboxOptions | undefined 134 select_value?: boolean 135 selectedColor_value?: ResourceColor 136 shape_value?: CheckBoxShape 137 unselectedColor_value?: ResourceColor 138 mark_value?: MarkStyle 139 onChange_value?: OnCheckboxChangeCallback 140 contentModifier_value?: ContentModifier<any> 141} 142export interface CheckboxGroupInterface extends CommonMethodInterface,UIElement { 143 setCheckboxGroupOptions_options?: CheckboxGroupOptions | undefined 144 selectAll_value?: boolean 145 selectedColor_value?: ResourceColor 146 unselectedColor_value?: ResourceColor 147 mark_value?: MarkStyle 148 onChange_value?: OnCheckboxGroupChangeCallback 149 checkboxShape_value?: CheckBoxShape 150} 151export interface CircleInterface extends CommonShapeMethodInterface,UIElement { 152 setCircleOptions_value?: CircleOptions | undefined 153} 154export interface ColumnInterface extends CommonMethodInterface,UIElement { 155 setColumnOptions_options?: ColumnOptions | undefined 156 alignItems_value?: HorizontalAlign 157 justifyContent_value?: FlexAlign 158 pointLight_value?: PointLightStyle 159 reverse_value?: boolean | undefined 160} 161export interface ColumnSplitInterface extends CommonMethodInterface,UIElement { 162 resizeable_value?: boolean 163 divider_value?: ColumnSplitDividerStyle | undefined 164} 165export interface CommonMethodInterface { 166 width_value?: Length 167 height_value?: Length 168 drawModifier_value?: DrawModifier | undefined 169 responseRegion_value?: Array<Rectangle> | Rectangle 170 mouseResponseRegion_value?: Array<Rectangle> | Rectangle 171 size_value?: SizeOptions 172 constraintSize_value?: ConstraintSizeOptions 173 touchable_value?: boolean 174 hitTestBehavior_value?: HitTestMode 175 onChildTouchTest_value?: ((value: Array<TouchTestInfo>) => TouchResult) 176 layoutWeight_value?: number | string 177 chainWeight_value?: ChainWeightOptions 178 padding_value?: Padding | Length | LocalizedPadding 179 safeAreaPadding_value?: Padding | LengthMetrics | LocalizedPadding 180 margin_value?: Margin | Length | LocalizedMargin 181 backgroundColor_value?: ResourceColor 182 pixelRound_value?: PixelRoundPolicy 183 backgroundImageSize_value?: SizeOptions | ImageSize 184 backgroundImagePosition_value?: Position | Alignment 185 backgroundEffect_value?: BackgroundEffectOptions 186 backgroundImageResizable_value?: ResizableOptions 187 foregroundEffect_value?: ForegroundEffectOptions 188 visualEffect_value?: VisualEffect 189 backgroundFilter_value?: Filter 190 foregroundFilter_value?: Filter 191 compositingFilter_value?: Filter 192 opacity_value?: number | Resource 193 border_value?: BorderOptions 194 borderStyle_value?: BorderStyle | EdgeStyles 195 borderWidth_value?: Length | EdgeWidths | LocalizedEdgeWidths 196 borderColor_value?: ResourceColor | EdgeColors | LocalizedEdgeColors 197 borderRadius_value?: Length | BorderRadiuses | LocalizedBorderRadiuses 198 borderImage_value?: BorderImageOption 199 outline_value?: OutlineOptions 200 outlineStyle_value?: OutlineStyle | EdgeOutlineStyles 201 outlineWidth_value?: Dimension | EdgeOutlineWidths 202 outlineColor_value?: ResourceColor | EdgeColors | LocalizedEdgeColors 203 outlineRadius_value?: Dimension | OutlineRadiuses 204 foregroundColor_value?: ResourceColor | ColoringStrategy 205 onClick0_value?: ((event: ClickEvent) => void) 206 onClick1_event?: ((event: ClickEvent) => void) 207 onClick1_distanceThreshold?: number 208 onHover_value?: ((isHover: boolean, event: HoverEvent) => void) 209 onAccessibilityHover_value?: AccessibilityCallback 210 hoverEffect_value?: HoverEffect 211 onMouse_value?: ((event: MouseEvent) => void) 212 onTouch_value?: ((event: TouchEvent) => void) 213 onKeyEvent_value?: ((event: KeyEvent) => void) 214 onKeyPreIme_value?: ((parameter: KeyEvent) => boolean) 215 focusable_value?: boolean 216 onFocus_value?: (() => void) 217 onBlur_value?: (() => void) 218 tabIndex_value?: number 219 defaultFocus_value?: boolean 220 groupDefaultFocus_value?: boolean 221 focusOnTouch_value?: boolean 222 focusBox_value?: FocusBoxStyle 223 animation_value?: AnimateParam 224 transition0_value?: TransitionOptions | TransitionEffect 225 transition1_effect?: TransitionEffect 226 transition1_onFinish?: TransitionFinishCallback | undefined 227 motionBlur_value?: MotionBlurOptions 228 brightness_value?: number 229 contrast_value?: number 230 grayscale_value?: number 231 colorBlend_value?: Color | string | Resource 232 saturate_value?: number 233 sepia_value?: number 234 invert_value?: number | InvertOptions 235 hueRotate_value?: number | string 236 useShadowBatching_value?: boolean 237 useEffect0_value?: boolean 238 useEffect1_useEffect?: boolean 239 useEffect1_effectType?: EffectType 240 renderGroup_value?: boolean 241 freeze_value?: boolean 242 translate_value?: TranslateOptions 243 scale_value?: ScaleOptions 244 gridSpan_value?: number 245 gridOffset_value?: number 246 rotate_value?: RotateOptions 247 transform_value?: Object 248 onAppear_value?: (() => void) 249 onDisAppear_value?: (() => void) 250 onAttach_value?: (() => void) 251 onDetach_value?: (() => void) 252 onAreaChange_value?: ((oldValue: Area, newValue: Area) => void) 253 visibility_value?: Visibility 254 flexGrow_value?: number 255 flexShrink_value?: number 256 flexBasis_value?: number | string 257 alignSelf_value?: ItemAlign 258 displayPriority_value?: number 259 zIndex_value?: number 260 direction_value?: Direction 261 align_value?: Alignment 262 position_value?: Position | Edges | LocalizedEdges 263 markAnchor_value?: Position | LocalizedPosition 264 offset_value?: Position | Edges | LocalizedEdges 265 enabled_value?: boolean 266 useSizeType_value?: { xs?: number | { span: number, offset: number }, sm?: number | { span: number, offset: number }, md?: number | { span: number, offset: number }, lg?: number | { span: number, offset: number } } 267 alignRules0_value?: AlignRuleOption 268 alignRules1_value?: LocalizedAlignRuleOptions 269 aspectRatio_value?: number 270 clickEffect_value?: ClickEffect | undefined 271 onDragStart_value?: ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) 272 onDragEnter_value?: ((event: DragEvent, extraParams?: string) => void) 273 onDragMove_value?: ((event: DragEvent, extraParams?: string) => void) 274 onDragLeave_value?: ((event: DragEvent, extraParams?: string) => void) 275 onDrop_value?: ((event: DragEvent, extraParams?: string) => void) 276 onDragEnd_value?: ((event: DragEvent, extraParams?: string) => void) 277 allowDrop_value?: Array<UniformDataType> | undefined 278 draggable_value?: boolean 279 dragPreview_value?: CustomBuilder | DragItemInfo | string 280 onPreDrag_value?: ((parameter: PreDragStatus) => void) 281 linearGradient_value?: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } 282 sweepGradient_value?: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } 283 radialGradient_value?: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } 284 motionPath_value?: MotionPathOptions 285 shadow_value?: ShadowOptions | ShadowStyle 286 clip0_value?: boolean 287 clip1_value?: boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute 288 clipShape_value?: CircleShape | EllipseShape | PathShape | RectShape 289 mask0_value?: ProgressMask 290 mask1_value?: CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask 291 maskShape_value?: CircleShape | EllipseShape | PathShape | RectShape 292 key_value?: string 293 id_value?: string 294 geometryTransition0_value?: string 295 geometryTransition1_id?: string 296 geometryTransition1_options?: GeometryTransitionOptions | undefined 297 stateStyles_value?: StateStyles 298 restoreId_value?: number 299 sphericalEffect_value?: number 300 lightUpEffect_value?: number 301 pixelStretchEffect_value?: PixelStretchEffectOptions 302 accessibilityGroup0_value?: boolean 303 accessibilityGroup1_isGroup?: boolean 304 accessibilityGroup1_accessibilityOptions?: AccessibilityOptions 305 accessibilityText0_value?: string 306 accessibilityText1_value?: Resource 307 accessibilityTextHint_value?: string 308 accessibilityDescription0_value?: string 309 accessibilityDescription1_value?: Resource 310 accessibilityLevel_value?: string 311 accessibilityVirtualNode_value?: CustomBuilder 312 accessibilityChecked_value?: boolean 313 accessibilitySelected_value?: boolean 314 obscured_value?: Array<ObscuredReasons> 315 reuseId_value?: string 316 renderFit_value?: RenderFit 317 gestureModifier_value?: GestureModifier 318 backgroundBrightness_value?: BackgroundBrightnessOptions 319 onGestureJudgeBegin_value?: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult) 320 onGestureRecognizerJudgeBegin0_value?: GestureRecognizerJudgeBeginCallback 321 onGestureRecognizerJudgeBegin1_callback?: GestureRecognizerJudgeBeginCallback 322 onGestureRecognizerJudgeBegin1_exposeInnerGesture?: boolean 323 shouldBuiltInRecognizerParallelWith_value?: ShouldBuiltInRecognizerParallelWithCallback 324 monopolizeEvents_value?: boolean 325 onTouchIntercept_value?: ((parameter: TouchEvent) => HitTestMode) 326 onSizeChange_value?: SizeChangeCallback 327 customProperty_name?: string 328 customProperty_value?: Object | undefined 329 expandSafeArea_types?: Array<SafeAreaType> | undefined 330 expandSafeArea_edges?: Array<SafeAreaEdge> | undefined 331 background_builder?: CustomBuilder 332 background_options?: { align?: Alignment } | undefined 333 backgroundImage_src?: ResourceStr | PixelMap 334 backgroundImage_repeat?: ImageRepeat | undefined 335 backgroundBlurStyle_value?: BlurStyle 336 backgroundBlurStyle_options?: BackgroundBlurStyleOptions | undefined 337 foregroundBlurStyle_value?: BlurStyle 338 foregroundBlurStyle_options?: ForegroundBlurStyleOptions | undefined 339 focusScopeId0_id?: string 340 focusScopeId0_isGroup?: boolean | undefined 341 focusScopeId1_id?: string 342 focusScopeId1_isGroup?: boolean | undefined 343 focusScopeId1_arrowStepOut?: boolean | undefined 344 focusScopePriority_scopeId?: string 345 focusScopePriority_priority?: FocusPriority | undefined 346 gesture_gesture?: GestureControl.GestureType 347 gesture_mask?: GestureMask | undefined 348 priorityGesture_gesture?: GestureControl.GestureType 349 priorityGesture_mask?: GestureMask | undefined 350 parallelGesture_gesture?: GestureControl.GestureType 351 parallelGesture_mask?: GestureMask | undefined 352 blur_value?: number 353 blur_options?: BlurOptions | undefined 354 linearGradientBlur_value?: number 355 linearGradientBlur_options?: LinearGradientBlurOptions 356 backdropBlur_value?: number 357 backdropBlur_options?: BlurOptions | undefined 358 sharedTransition_id?: string 359 sharedTransition_options?: sharedTransitionOptions | undefined 360 chainMode_direction?: Axis 361 chainMode_style?: ChainStyle 362 dragPreviewOptions_value?: DragPreviewOptions 363 dragPreviewOptions_options?: DragInteractionOptions | undefined 364 overlay_value?: string | CustomBuilder | ComponentContent 365 overlay_options?: OverlayOptions | undefined 366 blendMode_value?: BlendMode 367 blendMode_type?: BlendApplyType | undefined 368 advancedBlendMode_effect?: BlendMode | Blender 369 advancedBlendMode_type?: BlendApplyType | undefined 370 bindPopup_show?: boolean 371 bindPopup_popup?: PopupOptions | CustomPopupOptions 372 bindMenu0_content?: Array<MenuElement> | CustomBuilder 373 bindMenu0_options?: MenuOptions | undefined 374 bindMenu1_isShow?: boolean 375 bindMenu1_content?: Array<MenuElement> | CustomBuilder 376 bindMenu1_options?: MenuOptions | undefined 377 bindContextMenu0_content?: CustomBuilder 378 bindContextMenu0_responseType?: ResponseType 379 bindContextMenu0_options?: ContextMenuOptions | undefined 380 bindContextMenu1_isShown?: boolean 381 bindContextMenu1_content?: CustomBuilder 382 bindContextMenu1_options?: ContextMenuOptions | undefined 383 bindContentCover0_isShow?: boolean | undefined 384 bindContentCover0_builder?: CustomBuilder 385 bindContentCover0_type?: ModalTransition | undefined 386 bindContentCover1_isShow?: boolean | undefined 387 bindContentCover1_builder?: CustomBuilder 388 bindContentCover1_options?: ContentCoverOptions | undefined 389 bindSheet_isShow?: boolean | undefined 390 bindSheet_builder?: CustomBuilder 391 bindSheet_options?: SheetOptions | undefined 392 onVisibleAreaChange_ratios?: Array<number> 393 onVisibleAreaChange_event?: VisibleAreaChangeCallback 394 keyboardShortcut_value?: string | FunctionKey 395 keyboardShortcut_keys?: Array<ModifierKey> 396 keyboardShortcut_action?: (() => void) | undefined 397} 398export interface CommonShapeMethodInterface extends CommonMethodInterface,UIElement { 399 stroke_value?: ResourceColor 400 fill_value?: ResourceColor 401 strokeDashOffset_value?: number | string 402 strokeLineCap_value?: LineCapStyle 403 strokeLineJoin_value?: LineJoinStyle 404 strokeMiterLimit_value?: number | string 405 strokeOpacity_value?: number | string | Resource 406 fillOpacity_value?: number | string | Resource 407 strokeWidth_value?: Length 408 antiAlias_value?: boolean 409 strokeDashArray_value?: Array<any> 410} 411export interface CommonInterface extends CommonMethodInterface,UIElement { 412} 413export interface ScrollableCommonMethodInterface extends CommonMethodInterface,UIElement { 414 scrollBar_value?: BarState 415 scrollBarColor_value?: Color | number | string 416 scrollBarWidth_value?: number | string 417 nestedScroll_value?: NestedScrollOptions 418 enableScrollInteraction_value?: boolean 419 friction_value?: number | Resource 420 onScroll_value?: ((scrollOffset: number, scrollState: ScrollState) => void) 421 onWillScroll_value?: ScrollOnWillScrollCallback | undefined 422 onDidScroll_value?: ScrollOnWillScrollCallback | undefined 423 onReachStart_value?: (() => void) 424 onReachEnd_value?: (() => void) 425 onScrollStart_value?: (() => void) 426 onScrollStop_value?: (() => void) 427 flingSpeedLimit_value?: number 428 clipContent_value?: ContentClipMode | RectShape 429 edgeEffect_edgeEffect?: EdgeEffect 430 edgeEffect_options?: EdgeEffectOptions | undefined 431 fadingEdge_enabled?: boolean | undefined 432 fadingEdge_options?: FadingEdgeOptions | undefined 433} 434export interface Component3DInterface extends CommonMethodInterface,UIElement { 435 setComponent3DOptions_sceneOptions?: SceneOptions | undefined 436 environment_value?: ResourceStr 437 shader_value?: ResourceStr 438 shaderImageTexture_value?: ResourceStr 439 shaderInputBuffer_value?: Array<number> 440 renderWidth_value?: Dimension 441 renderHeight_value?: Dimension 442 customRender_uri?: ResourceStr 443 customRender_selfRenderUpdate?: boolean 444} 445export interface ContainerSpanInterface { 446 textBackgroundStyle_value?: TextBackgroundStyle 447} 448export interface CounterInterface extends CommonMethodInterface,UIElement { 449 onInc_value?: VoidCallback 450 onDec_value?: VoidCallback 451 enableDec_value?: boolean 452 enableInc_value?: boolean 453} 454export interface DataPanelInterface extends CommonMethodInterface,UIElement { 455 setDataPanelOptions_options?: DataPanelOptions 456 closeEffect_value?: boolean 457 valueColors_value?: Array<ResourceColor | LinearGradient_data_panel> 458 trackBackgroundColor_value?: ResourceColor 459 strokeWidth_value?: Length 460 trackShadow_value?: DataPanelShadowOptions 461 contentModifier_value?: ContentModifier<any> 462} 463export interface DatePickerInterface extends CommonMethodInterface,UIElement { 464 setDatePickerOptions_options?: DatePickerOptions | undefined 465 lunar_value?: boolean 466 disappearTextStyle_value?: PickerTextStyle 467 textStyle_value?: PickerTextStyle 468 selectedTextStyle_value?: PickerTextStyle 469 onChange_value?: ((value: DatePickerResult) => void) 470 onDateChange_value?: ((parameter: Date) => void) 471} 472export interface DividerInterface extends CommonMethodInterface,UIElement { 473 vertical_value?: boolean 474 color_value?: ResourceColor 475 strokeWidth_value?: number | string 476 lineCap_value?: LineCapStyle 477} 478export interface EffectComponentInterface extends CommonMethodInterface,UIElement { 479} 480export interface EllipseInterface extends CommonShapeMethodInterface,UIElement { 481 setEllipseOptions_options?: EllipseOptions | undefined 482} 483export interface EmbeddedComponentInterface extends CommonMethodInterface,UIElement { 484 setEmbeddedComponentOptions_loader?: Want 485 setEmbeddedComponentOptions_type?: EmbeddedType 486 onTerminated_value?: ((parameter: TerminationInfo) => void) 487 onError_value?: Object 488} 489export interface FlexInterface extends CommonMethodInterface,UIElement { 490 setFlexOptions_value?: FlexOptions | undefined 491 pointLight_value?: PointLightStyle 492} 493export interface FlowItemInterface extends CommonMethodInterface,UIElement { 494} 495export interface FolderStackInterface extends CommonMethodInterface,UIElement { 496 setFolderStackOptions_options?: FolderStackOptions | undefined 497 alignContent_value?: Alignment 498 onFolderStateChange_value?: OnFoldStatusChangeCallback 499 onHoverStatusChange_value?: OnHoverStatusChangeCallback 500 enableAnimation_value?: boolean 501 autoHalfFold_value?: boolean 502} 503export interface FormComponentInterface extends CommonMethodInterface,UIElement { 504 setFormComponentOptions_value?: FormInfo 505 size_value?: SizeOptions 506 moduleName_value?: string 507 dimension_value?: FormDimension 508 allowUpdate_value?: boolean 509 visibility_value?: Visibility 510 onAcquired_value?: ((parameter: FormCallbackInfo) => void) 511 onError_value?: ((info: { errcode: number, msg: string }) => void) 512 onRouter_value?: ((info: any) => void) 513 onUninstall_value?: ((parameter: FormCallbackInfo) => void) 514 onLoad_value?: (() => void) 515} 516export interface FormLinkInterface extends CommonMethodInterface,UIElement { 517 setFormLinkOptions_options?: FormLinkOptions 518} 519export interface GaugeInterface extends CommonMethodInterface,UIElement { 520 setGaugeOptions_options?: GaugeOptions 521 value_value?: number 522 startAngle_value?: number 523 endAngle_value?: number 524 colors_value?: ResourceColor | LinearGradient_common | Array<[ ResourceColor | LinearGradient_common, number ]> 525 strokeWidth_value?: Length 526 description_value?: CustomBuilder 527 trackShadow_value?: GaugeShadowOptions 528 indicator_value?: GaugeIndicatorOptions 529 privacySensitive_value?: boolean | undefined 530 contentModifier_value?: ContentModifier<any> 531} 532export interface GridInterface extends ScrollableCommonMethodInterface,UIElement { 533 setGridOptions_scroller?: Scroller | undefined 534 setGridOptions_layoutOptions?: GridLayoutOptions | undefined 535 columnsTemplate_value?: string 536 rowsTemplate_value?: string 537 columnsGap_value?: Length 538 rowsGap_value?: Length 539 scrollBarWidth_value?: number | string 540 scrollBarColor_value?: Color | number | string 541 scrollBar_value?: BarState 542 onScrollBarUpdate_value?: ((index: number, offset: number) => ComputedBarAttribute) 543 onScrollIndex_value?: ((first: number, last: number) => void) 544 cachedCount0_value?: number 545 cachedCount1_count?: number 546 cachedCount1_show?: boolean 547 editMode_value?: boolean 548 multiSelectable_value?: boolean 549 maxCount_value?: number 550 minCount_value?: number 551 cellLength_value?: number 552 layoutDirection_value?: GridDirection 553 supportAnimation_value?: boolean 554 onItemDragStart_value?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) 555 onItemDragEnter_value?: ((event: ItemDragInfo) => void) 556 onItemDragMove_value?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) 557 onItemDragLeave_value?: ((event: ItemDragInfo, itemIndex: number) => void) 558 onItemDrop_value?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) 559 nestedScroll_value?: NestedScrollOptions 560 enableScrollInteraction_value?: boolean 561 friction_value?: number | Resource 562 alignItems_value?: GridItemAlignment | undefined 563 onScroll_value?: ((scrollOffset: number, scrollState: ScrollState) => void) 564 onReachStart_value?: (() => void) 565 onReachEnd_value?: (() => void) 566 onScrollStart_value?: (() => void) 567 onScrollStop_value?: (() => void) 568 onScrollFrameBegin_value?: ((offset: number, state: ScrollState) => { offsetRemain: number }) 569 edgeEffect_value?: EdgeEffect 570 edgeEffect_options?: EdgeEffectOptions | undefined 571} 572export interface GridItemInterface extends CommonMethodInterface,UIElement { 573 setGridItemOptions_value?: GridItemOptions | undefined 574 rowStart_value?: number 575 rowEnd_value?: number 576 columnStart_value?: number 577 columnEnd_value?: number 578 forceRebuild_value?: boolean 579 selectable_value?: boolean 580 selected_value?: boolean 581 onSelect_value?: ((parameter: boolean) => void) 582} 583export interface GridColInterface extends CommonMethodInterface,UIElement { 584 setGridColOptions_option?: GridColOptions | undefined 585 span_value?: number | GridColColumnOption 586 gridColOffset_value?: number | GridColColumnOption 587 order_value?: number | GridColColumnOption 588} 589export interface GridContainerInterface extends ColumnInterface,UIElement { 590 setGridContainerOptions_value?: GridContainerOptions | undefined 591} 592export interface GridRowInterface extends CommonMethodInterface,UIElement { 593 setGridRowOptions_option?: GridRowOptions | undefined 594 onBreakpointChange_value?: ((breakpoints: string) => void) 595 alignItems_value?: ItemAlign 596} 597export interface HyperlinkInterface extends CommonMethodInterface,UIElement { 598 setHyperlinkOptions_address?: string | Resource 599 setHyperlinkOptions_content?: string | Resource | undefined 600 color_value?: Color | number | string | Resource 601} 602export interface ImageInterface extends CommonMethodInterface,UIElement { 603 setImageOptions0_src?: PixelMap | ResourceStr | DrawableDescriptor 604 setImageOptions1_src?: PixelMap | ResourceStr | DrawableDescriptor | ImageContent 605 setImageOptions2_src?: PixelMap | ResourceStr | DrawableDescriptor 606 setImageOptions2_imageAIOptions?: ImageAIOptions 607 alt_value?: string | Resource | PixelMap 608 matchTextDirection_value?: boolean 609 fitOriginalSize_value?: boolean 610 fillColor_value?: ResourceColor 611 objectFit_value?: ImageFit 612 objectRepeat_value?: ImageRepeat 613 autoResize_value?: boolean 614 renderMode_value?: ImageRenderMode 615 dynamicRangeMode_value?: DynamicRangeMode 616 interpolation_value?: ImageInterpolation 617 sourceSize_value?: ImageSourceSize 618 syncLoad_value?: boolean 619 colorFilter_value?: ColorFilter | DrawingColorFilter 620 copyOption_value?: CopyOptions 621 draggable_value?: boolean 622 pointLight_value?: PointLightStyle 623 edgeAntialiasing_value?: number 624 onComplete_value?: ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void) 625 onError_value?: ImageErrorCallback 626 onFinish_value?: (() => void) 627 enableAnalyzer_value?: boolean 628 analyzerConfig_value?: ImageAnalyzerConfig 629 resizable_value?: ResizableOptions 630 privacySensitive_value?: boolean 631 enhancedImageQuality_value?: ResolutionQuality 632} 633export interface ImageAnimatorInterface extends CommonMethodInterface,UIElement { 634 images_value?: Array<ImageFrameInfo> 635 state_value?: AnimationStatus 636 duration_value?: number 637 reverse_value?: boolean 638 fixedSize_value?: boolean 639 preDecode_value?: number 640 fillMode_value?: FillMode 641 iterations_value?: number 642 onStart_value?: (() => void) 643 onPause_value?: (() => void) 644 onRepeat_value?: (() => void) 645 onCancel_value?: (() => void) 646 onFinish_value?: (() => void) 647} 648export interface ImageSpanInterface extends BaseSpanInterface,UIElement { 649 setImageSpanOptions_value?: ResourceStr | PixelMap 650 verticalAlign_value?: ImageSpanAlignment 651 colorFilter_value?: ColorFilter | DrawingColorFilter 652 objectFit_value?: ImageFit 653 onComplete_value?: ImageCompleteCallback 654 onError_value?: ImageErrorCallback 655 alt_value?: PixelMap 656} 657export interface LineInterface extends CommonShapeMethodInterface,UIElement { 658 setLineOptions_options?: LineOptions | undefined 659 startPoint_value?: Array<any> 660 endPoint_value?: Array<any> 661} 662export interface ListInterface extends ScrollableCommonMethodInterface,UIElement { 663 setListOptions_options?: ListOptions | undefined 664 alignListItem_value?: ListItemAlign 665 listDirection_value?: Axis 666 scrollBar_value?: BarState 667 contentStartOffset_value?: number 668 contentEndOffset_value?: number 669 divider_value?: ListDividerOptions | undefined 670 editMode_value?: boolean 671 multiSelectable_value?: boolean 672 cachedCount0_value?: number 673 cachedCount1_count?: number 674 cachedCount1_show?: boolean 675 chainAnimation_value?: boolean 676 chainAnimationOptions_value?: ChainAnimationOptions 677 sticky_value?: StickyStyle 678 scrollSnapAlign_value?: ScrollSnapAlign 679 nestedScroll_value?: NestedScrollOptions 680 enableScrollInteraction_value?: boolean 681 friction_value?: number | Resource 682 childrenMainSize_value?: ChildrenMainSize 683 maintainVisibleContentPosition_value?: boolean 684 onScroll_value?: ((scrollOffset: number, scrollState: ScrollState) => void) 685 onScrollIndex_value?: ((start: number, end: number, center: number) => void) 686 onScrollVisibleContentChange_value?: OnScrollVisibleContentChangeCallback 687 onReachStart_value?: (() => void) 688 onReachEnd_value?: (() => void) 689 onScrollStart_value?: (() => void) 690 onScrollStop_value?: (() => void) 691 onItemDelete_value?: ((index: number) => boolean) 692 onItemMove_value?: ((from: number, to: number) => boolean) 693 onItemDragStart_value?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) 694 onItemDragEnter_value?: ((event: ItemDragInfo) => void) 695 onItemDragMove_value?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) 696 onItemDragLeave_value?: ((event: ItemDragInfo, itemIndex: number) => void) 697 onItemDrop_value?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) 698 onScrollFrameBegin_value?: ((offset: number, state: ScrollState) => { offsetRemain: number }) 699 lanes_value?: number | LengthConstrain 700 lanes_gutter?: Dimension | undefined 701 edgeEffect_value?: EdgeEffect 702 edgeEffect_options?: EdgeEffectOptions | undefined 703} 704export interface ListItemInterface extends CommonMethodInterface,UIElement { 705 setListItemOptions0_value?: ListItemOptions | undefined 706 setListItemOptions1_value?: string | undefined 707 sticky_value?: Sticky 708 editable_value?: boolean | EditMode 709 selectable_value?: boolean 710 selected_value?: boolean 711 swipeAction_value?: SwipeActionOptions 712 onSelect_value?: ((parameter: boolean) => void) 713} 714export interface ListItemGroupInterface extends CommonMethodInterface,UIElement { 715 setListItemGroupOptions_options?: ListItemGroupOptions | undefined 716 divider_value?: ListDividerOptions | undefined 717 childrenMainSize_value?: ChildrenMainSize 718} 719export interface LoadingProgressInterface extends CommonMethodInterface,UIElement { 720 color_value?: ResourceColor 721 enableLoading_value?: boolean 722 contentModifier_value?: ContentModifier<any> 723} 724export interface LocationButtonInterface extends SecurityComponentMethodInterface,UIElement { 725 setLocationButtonOptions1_options?: LocationButtonOptions 726 onClick_value?: ((event: ClickEvent, result: LocationButtonOnClickResult) => void) 727} 728export interface MarqueeInterface extends CommonMethodInterface,UIElement { 729 setMarqueeOptions_options?: MarqueeOptions 730 fontColor_value?: ResourceColor 731 fontSize_value?: Length 732 allowScale_value?: boolean 733 fontWeight_value?: number | FontWeight | string 734 fontFamily_value?: string | Resource 735 marqueeUpdateStrategy_value?: MarqueeUpdateStrategy 736 onStart_value?: (() => void) 737 onBounce_value?: (() => void) 738 onFinish_value?: (() => void) 739} 740export interface MediaCachedImageInterface extends ImageInterface,UIElement { 741 setMediaCachedImageOptions_src?: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource 742} 743export interface MenuInterface extends CommonMethodInterface,UIElement { 744 fontSize_value?: Length 745 font_value?: Font 746 fontColor_value?: ResourceColor 747 radius_value?: Dimension | BorderRadiuses 748 menuItemDivider_value?: DividerStyleOptions | undefined 749 menuItemGroupDivider_value?: DividerStyleOptions | undefined 750 subMenuExpandingMode_value?: SubMenuExpandingMode 751} 752export interface MenuItemInterface extends CommonMethodInterface,UIElement { 753 setMenuItemOptions_value?: MenuItemOptions | CustomBuilder | undefined 754 selected_value?: boolean 755 selectIcon_value?: boolean | ResourceStr | SymbolGlyphModifier 756 onChange_value?: ((parameter: boolean) => void) 757 contentFont_value?: Font 758 contentFontColor_value?: ResourceColor 759 labelFont_value?: Font 760 labelFontColor_value?: ResourceColor 761} 762export interface MenuItemGroupInterface extends CommonMethodInterface,UIElement { 763 setMenuItemGroupOptions_value?: MenuItemGroupOptions | undefined 764} 765export interface NavDestinationInterface extends CommonMethodInterface,UIElement { 766 hideTitleBar0_value?: boolean 767 hideTitleBar1_hide?: boolean 768 hideTitleBar1_animated?: boolean 769 onShown_value?: (() => void) 770 onHidden_value?: (() => void) 771 onBackPressed_value?: (() => boolean) 772 mode_value?: NavDestinationMode 773 backButtonIcon_value?: ResourceStr | PixelMap | SymbolGlyphModifier 774 menus_value?: Array<NavigationMenuItem> | CustomBuilder 775 onReady_value?: ((parameter: NavDestinationContext) => void) 776 onWillAppear_value?: (() => void) 777 onWillDisappear_value?: (() => void) 778 onWillShow_value?: (() => void) 779 onWillHide_value?: (() => void) 780 systemBarStyle_value?: SystemBarStyle | undefined 781 recoverable_value?: boolean | undefined 782 systemTransition_value?: NavigationSystemTransitionType 783 title_value?: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource 784 title_options?: NavigationTitleOptions | undefined 785 toolbarConfiguration_toolbarParam?: Array<ToolbarItem> | CustomBuilder 786 toolbarConfiguration_options?: NavigationToolbarOptions | undefined 787 hideToolBar_hide?: boolean 788 hideToolBar_animated?: boolean | undefined 789 ignoreLayoutSafeArea_types?: Array<LayoutSafeAreaType> | undefined 790 ignoreLayoutSafeArea_edges?: Array<LayoutSafeAreaEdge> | undefined 791} 792export interface NavRouterInterface extends CommonMethodInterface,UIElement { 793 setNavRouterOptions1_value?: RouteInfo 794 onStateChange_value?: ((parameter: boolean) => void) 795 mode_value?: NavRouteMode 796} 797export interface NavigatorInterface extends CommonMethodInterface,UIElement { 798 setNavigatorOptions0_value?: { target: string, type?: NavigationType } | undefined 799 active_value?: boolean 800 type_value?: NavigationType 801 target_value?: string 802 params_value?: Object 803} 804export interface NodeContainerInterface extends CommonMethodInterface,UIElement { 805 setNodeContainerOptions_controller?: NodeController 806} 807export interface PanelInterface extends CommonMethodInterface,UIElement { 808 setPanelOptions_show?: boolean 809 mode_value?: PanelMode 810 type_value?: PanelType 811 dragBar_value?: boolean 812 customHeight_value?: Dimension | PanelHeight 813 fullHeight_value?: number | string 814 halfHeight_value?: number | string 815 miniHeight_value?: number | string 816 show_value?: boolean 817 backgroundMask_value?: ResourceColor 818 showCloseIcon_value?: boolean 819 onChange_value?: ((width: number, height: number, mode: PanelMode) => void) 820 onHeightChange_value?: ((index: number) => void) 821} 822export interface PasteButtonInterface extends SecurityComponentMethodInterface,UIElement { 823 setPasteButtonOptions1_options?: PasteButtonOptions 824 onClick_value?: ((event: ClickEvent, result: PasteButtonOnClickResult) => void) 825} 826export interface PathInterface extends CommonShapeMethodInterface,UIElement { 827 setPathOptions_options?: PathOptions | undefined 828 commands_value?: string 829} 830export interface PatternLockInterface extends CommonMethodInterface,UIElement { 831 setPatternLockOptions_controller?: PatternLockController | undefined 832 sideLength_value?: Length 833 circleRadius_value?: Length 834 backgroundColor_value?: ResourceColor 835 regularColor_value?: ResourceColor 836 selectedColor_value?: ResourceColor 837 activeColor_value?: ResourceColor 838 pathColor_value?: ResourceColor 839 pathStrokeWidth_value?: number | string 840 onPatternComplete_value?: ((input: Array<number>) => void) 841 autoReset_value?: boolean 842 onDotConnect_value?: ((index: number) => void) 843 activateCircleStyle_value?: CircleStyleOptions | undefined 844} 845export interface PluginComponentInterface extends CommonMethodInterface,UIElement { 846 setPluginComponentOptions_options?: PluginComponentOptions 847 onComplete_value?: VoidCallback 848 onError_value?: PluginErrorCallback 849} 850export interface PolygonInterface extends CommonShapeMethodInterface,UIElement { 851 setPolygonOptions_options?: PolygonOptions | undefined 852 points_value?: Array<any> 853} 854export interface PolylineInterface extends CommonShapeMethodInterface,UIElement { 855 setPolylineOptions_options?: PolylineOptions | undefined 856 points_value?: Array<any> 857} 858export interface ProgressInterface extends CommonMethodInterface,UIElement { 859 setProgressOptions_options?: ProgressOptions 860 value_value?: number 861 color_value?: ResourceColor | LinearGradient_common 862 style_value?: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions 863 privacySensitive_value?: boolean | undefined 864 contentModifier_value?: ContentModifier<any> 865} 866export interface QRCodeInterface extends CommonMethodInterface,UIElement { 867 setQRCodeOptions_value?: string 868 color_value?: ResourceColor 869 backgroundColor_value?: ResourceColor 870 contentOpacity_value?: number | Resource 871} 872export interface RadioInterface extends CommonMethodInterface,UIElement { 873 setRadioOptions_options?: RadioOptions 874 checked_value?: boolean 875 onChange_value?: ((parameter: boolean) => void) 876 radioStyle_value?: RadioStyle | undefined 877 contentModifier_value?: ContentModifier<any> 878} 879export interface RatingInterface extends CommonMethodInterface,UIElement { 880 setRatingOptions_options?: RatingOptions | undefined 881 stars_value?: number 882 stepSize_value?: number 883 starStyle_value?: StarStyleOptions 884 onChange_value?: ((index: number) => void) 885 contentModifier_value?: ContentModifier<any> 886} 887export interface RectInterface extends CommonShapeMethodInterface,UIElement { 888 setRectOptions_options?: RectOptions | RoundedRectOptions | undefined 889 radiusWidth_value?: number | string 890 radiusHeight_value?: number | string 891 radius_value?: number | string | Array<any> 892} 893export interface RefreshInterface extends CommonMethodInterface,UIElement { 894 setRefreshOptions_value?: RefreshOptions 895 onStateChange_value?: ((state: RefreshStatus) => void) 896 onRefreshing_value?: (() => void) 897 refreshOffset_value?: number 898 pullToRefresh_value?: boolean 899 onOffsetChange_value?: ((index: number) => void) 900 pullDownRatio_value?: number | undefined 901} 902export interface RelativeContainerInterface extends CommonMethodInterface,UIElement { 903 guideLine_value?: Array<GuideLineStyle> 904 barrier0_value?: Array<BarrierStyle> 905 barrier1_value?: Array<LocalizedBarrierStyle> 906} 907export interface RichEditorInterface extends CommonMethodInterface,UIElement { 908 setRichEditorOptions0_value?: RichEditorOptions 909 setRichEditorOptions1_options?: RichEditorStyledStringOptions 910 onReady_value?: (() => void) 911 onSelect_value?: ((parameter: RichEditorSelection) => void) 912 onSelectionChange_value?: ((parameter: RichEditorRange) => void) 913 aboutToIMEInput_value?: ((parameter: RichEditorInsertValue) => boolean) 914 onIMEInputComplete_value?: ((parameter: RichEditorTextSpanResult) => void) 915 onDidIMEInput_value?: ((parameter: TextRange) => void) 916 aboutToDelete_value?: ((parameter: RichEditorDeleteValue) => boolean) 917 onDeleteComplete_value?: (() => void) 918 copyOptions_value?: CopyOptions 919 onPaste_value?: PasteEventCallback 920 enableDataDetector_value?: boolean 921 enablePreviewText_value?: boolean 922 dataDetectorConfig_value?: TextDataDetectorConfig 923 caretColor_value?: ResourceColor 924 selectedBackgroundColor_value?: ResourceColor 925 onEditingChange_value?: ((parameter: boolean) => void) 926 enterKeyType_value?: EnterKeyType 927 onSubmit_value?: SubmitCallback 928 onWillChange_value?: ((parameter: RichEditorChangeValue) => boolean) 929 onDidChange_value?: OnDidChangeCallback 930 onCut_value?: ((parameter: CutEvent) => void) 931 onCopy_value?: ((parameter: CopyEvent) => void) 932 editMenuOptions_value?: EditMenuOptions 933 enableKeyboardOnFocus_value?: boolean 934 enableHapticFeedback_value?: boolean 935 barState_value?: BarState 936 bindSelectionMenu_spanType?: RichEditorSpanType 937 bindSelectionMenu_content?: CustomBuilder 938 bindSelectionMenu_responseType?: ResponseType | RichEditorResponseType 939 bindSelectionMenu_options?: SelectionMenuOptions | undefined 940 customKeyboard_value?: CustomBuilder 941 customKeyboard_options?: KeyboardOptions | undefined 942 placeholder_value?: ResourceStr 943 placeholder_style?: PlaceholderStyle | undefined 944} 945export interface RichTextInterface extends CommonMethodInterface,UIElement { 946 setRichTextOptions_content?: string 947 onStart_value?: (() => void) 948 onComplete_value?: (() => void) 949} 950export interface RootSceneInterface extends CommonMethodInterface,UIElement { 951 setRootSceneOptions_session?: RootSceneSession 952} 953export interface RowInterface extends CommonMethodInterface,UIElement { 954 setRowOptions_options?: RowOptions | undefined 955 alignItems_value?: VerticalAlign 956 justifyContent_value?: FlexAlign 957 pointLight_value?: PointLightStyle 958 reverse_value?: boolean | undefined 959} 960export interface RowSplitInterface extends CommonMethodInterface,UIElement { 961 resizeable_value?: boolean 962} 963export interface SaveButtonInterface extends SecurityComponentMethodInterface,UIElement { 964 setSaveButtonOptions1_options?: SaveButtonOptions 965 onClick_value?: ((event: ClickEvent, result: SaveButtonOnClickResult) => void) 966} 967export interface ScreenInterface extends CommonMethodInterface,UIElement { 968 setScreenOptions_screenId?: number 969} 970export interface ScrollInterface extends ScrollableCommonMethodInterface,UIElement { 971 setScrollOptions_scroller?: Scroller | undefined 972 scrollable_value?: ScrollDirection 973 onScroll_value?: ((scrollOffset: number, scrollState: ScrollState) => void) 974 onWillScroll_value?: ScrollOnWillScrollCallback | undefined 975 onDidScroll_value?: ScrollOnWillScrollCallback | undefined 976 onScrollEdge_value?: OnScrollEdgeCallback 977 onScrollStart_value?: (() => void) 978 onScrollEnd_value?: (() => void) 979 onScrollStop_value?: (() => void) 980 scrollBar_value?: BarState 981 scrollBarColor_value?: Color | number | string 982 scrollBarWidth_value?: number | string 983 onScrollFrameBegin_value?: OnScrollFrameBeginCallback 984 nestedScroll_value?: NestedScrollOptions 985 enableScrollInteraction_value?: boolean 986 friction_value?: number | Resource 987 scrollSnap_value?: ScrollSnapOptions 988 enablePaging_value?: boolean 989 initialOffset_value?: OffsetOptions 990 edgeEffect_edgeEffect?: EdgeEffect 991 edgeEffect_options?: EdgeEffectOptions | undefined 992} 993export interface ScrollBarInterface extends CommonMethodInterface,UIElement { 994 setScrollBarOptions_value?: ScrollBarOptions 995 enableNestedScroll_value?: boolean | undefined 996} 997export interface SearchInterface extends CommonMethodInterface,UIElement { 998 setSearchOptions_options?: SearchOptions | undefined 999 fontColor_value?: ResourceColor 1000 searchIcon_value?: IconOptions | SymbolGlyphModifier 1001 cancelButton_value?: CancelButtonOptions | CancelButtonSymbolOptions 1002 textIndent_value?: Dimension 1003 onEditChange_value?: ((parameter: boolean) => void) 1004 selectedBackgroundColor_value?: ResourceColor 1005 caretStyle_value?: CaretStyle 1006 placeholderColor_value?: ResourceColor 1007 placeholderFont_value?: Font | undefined 1008 textFont_value?: Font | undefined 1009 enterKeyType_value?: EnterKeyType 1010 onSubmit0_value?: ((breakpoints: string) => void) 1011 onSubmit1_value?: SearchSubmitCallback 1012 onChange_value?: EditableTextOnChangeCallback 1013 onTextSelectionChange_value?: OnTextSelectionChangeCallback 1014 onContentScroll_value?: OnContentScrollCallback 1015 onCopy_value?: ((breakpoints: string) => void) 1016 onCut_value?: ((breakpoints: string) => void) 1017 onPaste_value?: OnPasteCallback 1018 copyOption_value?: CopyOptions 1019 maxLength_value?: number 1020 textAlign_value?: TextAlign 1021 enableKeyboardOnFocus_value?: boolean 1022 selectionMenuHidden_value?: boolean 1023 minFontSize_value?: number | string | Resource 1024 maxFontSize_value?: number | string | Resource 1025 decoration_value?: TextDecorationOptions 1026 letterSpacing_value?: number | string | Resource 1027 lineHeight_value?: number | string | Resource 1028 type_value?: SearchType 1029 fontFeature_value?: string 1030 onWillInsert_value?: ((parameter: InsertValue) => boolean) 1031 onDidInsert_value?: ((parameter: InsertValue) => void) 1032 onWillDelete_value?: ((parameter: DeleteValue) => boolean) 1033 onDidDelete_value?: ((parameter: DeleteValue) => void) 1034 editMenuOptions_value?: EditMenuOptions 1035 enablePreviewText_value?: boolean 1036 enableHapticFeedback_value?: boolean 1037 searchButton_value?: string 1038 searchButton_option?: SearchButtonOptions | undefined 1039 inputFilter_value?: ResourceStr 1040 inputFilter_error?: ((breakpoints: string) => void) | undefined 1041 customKeyboard_value?: CustomBuilder 1042 customKeyboard_options?: KeyboardOptions | undefined 1043} 1044export interface SecurityComponentMethodInterface { 1045 iconSize_value?: Dimension 1046 layoutDirection_value?: SecurityComponentLayoutDirection 1047 position_value?: Position 1048 markAnchor_value?: Position 1049 offset_value?: Position | Edges | LocalizedEdges 1050 fontSize_value?: Dimension 1051 fontStyle_value?: FontStyle 1052 fontWeight_value?: number | FontWeight | string 1053 fontFamily_value?: string | Resource 1054 fontColor_value?: ResourceColor 1055 iconColor_value?: ResourceColor 1056 backgroundColor_value?: ResourceColor 1057 borderStyle_value?: BorderStyle 1058 borderWidth_value?: Dimension 1059 borderColor_value?: ResourceColor 1060 borderRadius_value?: Dimension 1061 padding_value?: Padding | Dimension 1062 textIconSpace_value?: Dimension 1063 key_value?: string 1064 width_value?: Length 1065 height_value?: Length 1066 size_value?: SizeOptions 1067 constraintSize_value?: ConstraintSizeOptions 1068} 1069export interface SelectInterface extends CommonMethodInterface,UIElement { 1070 setSelectOptions_options?: Array<SelectOption> 1071 selected_value?: number | Resource 1072 value_value?: ResourceStr 1073 font_value?: Font 1074 fontColor_value?: ResourceColor 1075 selectedOptionBgColor_value?: ResourceColor 1076 selectedOptionFont_value?: Font 1077 selectedOptionFontColor_value?: ResourceColor 1078 optionBgColor_value?: ResourceColor 1079 optionFont_value?: Font 1080 optionFontColor_value?: ResourceColor 1081 onSelect_value?: ((index: number, value: string) => void) 1082 space_value?: Length 1083 arrowPosition_value?: ArrowPosition 1084 optionWidth_value?: Dimension | OptionWidthMode 1085 optionHeight_value?: Dimension 1086 menuBackgroundColor_value?: ResourceColor 1087 menuBackgroundBlurStyle_value?: BlurStyle 1088 controlSize_value?: ControlSize 1089 menuItemContentModifier_value?: ContentModifier<any> 1090 divider_value?: DividerOptions | undefined 1091 menuAlign_alignType?: MenuAlignType 1092 menuAlign_offset?: Offset | undefined 1093} 1094export interface ShapeInterface extends CommonMethodInterface,UIElement { 1095 setShapeOptions0_value?: PixelMap 1096 viewPort_value?: ViewportRect 1097 stroke_value?: ResourceColor 1098 fill_value?: ResourceColor 1099 strokeDashOffset_value?: number | string 1100 strokeDashArray_value?: Array<any> 1101 strokeLineCap_value?: LineCapStyle 1102 strokeLineJoin_value?: LineJoinStyle 1103 strokeMiterLimit_value?: number | string 1104 strokeOpacity_value?: number | string | Resource 1105 fillOpacity_value?: number | string | Resource 1106 strokeWidth_value?: number | string 1107 antiAlias_value?: boolean 1108 mesh_value?: Array<any> 1109 mesh_column?: number 1110 mesh_row?: number 1111} 1112export interface SliderInterface extends CommonMethodInterface,UIElement { 1113 setSliderOptions_options?: SliderOptions | undefined 1114 blockColor_value?: ResourceColor 1115 trackColor_value?: ResourceColor | LinearGradient_common 1116 selectedColor_value?: ResourceColor 1117 minLabel_value?: string 1118 maxLabel_value?: string 1119 showSteps_value?: boolean 1120 trackThickness_value?: Length 1121 onChange_value?: ((value: number, mode: SliderChangeMode) => void) 1122 blockBorderColor_value?: ResourceColor 1123 blockBorderWidth_value?: Length 1124 stepColor_value?: ResourceColor 1125 trackBorderRadius_value?: Length 1126 selectedBorderRadius_value?: Dimension 1127 blockSize_value?: SizeOptions 1128 blockStyle_value?: SliderBlockStyle 1129 stepSize_value?: Length 1130 sliderInteractionMode_value?: SliderInteraction 1131 minResponsiveDistance_value?: number 1132 contentModifier_value?: ContentModifier<any> 1133 slideRange_value?: SlideRange 1134 showTips_value?: boolean 1135 showTips_content?: ResourceStr | undefined 1136} 1137export interface BaseSpanInterface extends CommonMethodInterface,UIElement { 1138 textBackgroundStyle_value?: TextBackgroundStyle 1139 baselineOffset_value?: LengthMetrics 1140} 1141export interface SpanInterface extends BaseSpanInterface,UIElement { 1142 setSpanOptions_value?: string | Resource 1143 font_value?: Font 1144 fontColor_value?: ResourceColor 1145 fontSize_value?: number | string | Resource 1146 fontStyle_value?: FontStyle 1147 fontWeight_value?: number | FontWeight | string 1148 fontFamily_value?: string | Resource 1149 decoration_value?: DecorationStyleInterface 1150 letterSpacing_value?: number | string 1151 textCase_value?: TextCase 1152 lineHeight_value?: Length 1153 textShadow_value?: ShadowOptions | Array<ShadowOptions> 1154} 1155export interface StackInterface extends CommonMethodInterface,UIElement { 1156 setStackOptions_options?: StackOptions | undefined 1157 alignContent_value?: Alignment 1158 pointLight_value?: PointLightStyle 1159} 1160export interface StepperInterface extends CommonMethodInterface,UIElement { 1161 setStepperOptions_value?: { index?: number } | undefined 1162 onFinish_value?: (() => void) 1163 onSkip_value?: (() => void) 1164 onChange_value?: ((first: number, last: number) => void) 1165 onNext_value?: ((first: number, last: number) => void) 1166 onPrevious_value?: ((first: number, last: number) => void) 1167} 1168export interface StepperItemInterface extends CommonMethodInterface,UIElement { 1169 prevLabel_value?: string 1170 nextLabel_value?: string 1171 status_value?: ItemState | undefined 1172} 1173export interface SwiperInterface extends CommonMethodInterface,UIElement { 1174 setSwiperOptions_controller?: SwiperController | undefined 1175 index_value?: number 1176 autoPlay_value?: boolean 1177 interval_value?: number 1178 indicator0_value?: DotIndicator | DigitIndicator | boolean 1179 indicator1_value?: IndicatorComponentController 1180 loop_value?: boolean 1181 duration_value?: number 1182 vertical_value?: boolean 1183 itemSpace_value?: number | string 1184 displayMode_value?: SwiperDisplayMode 1185 cachedCount_value?: number 1186 effectMode_value?: EdgeEffect 1187 disableSwipe_value?: boolean 1188 curve_value?: Curve | string | ICurve 1189 onChange_value?: ((index: number) => void) 1190 indicatorStyle_value?: IndicatorStyle | undefined 1191 onAnimationStart_value?: OnSwiperAnimationStartCallback 1192 onAnimationEnd_value?: OnSwiperAnimationEndCallback 1193 onGestureSwipe_value?: OnSwiperGestureSwipeCallback 1194 nestedScroll_value?: SwiperNestedScrollMode 1195 customContentTransition_value?: SwiperContentAnimatedTransition 1196 onContentDidScroll_value?: ContentDidScrollCallback 1197 indicatorInteractive_value?: boolean 1198 displayArrow_value?: ArrowStyle | boolean 1199 displayArrow_isHoverShow?: boolean | undefined 1200 displayCount_value?: number | string | SwiperAutoFill 1201 displayCount_swipeByGroup?: boolean | undefined 1202 prevMargin_value?: Length 1203 prevMargin_ignoreBlank?: boolean | undefined 1204 nextMargin_value?: Length 1205 nextMargin_ignoreBlank?: boolean | undefined 1206} 1207export interface IndicatorComponentInterface extends CommonMethodInterface,UIElement { 1208 setIndicatorComponentOptions_controller?: IndicatorComponentController | undefined 1209 initialIndex_value?: number 1210 count_value?: number 1211 style_value?: DotIndicator | DigitIndicator 1212 loop_value?: boolean 1213 vertical_value?: boolean 1214 onChange_value?: ((index: number) => void) 1215} 1216export interface SymbolGlyphInterface extends CommonMethodInterface,UIElement { 1217 setSymbolGlyphOptions_value?: Resource | undefined 1218 fontSize_value?: number | string | Resource 1219 fontColor_value?: Array<ResourceColor> 1220 fontWeight_value?: number | FontWeight | string 1221 effectStrategy_value?: SymbolEffectStrategy 1222 renderingStrategy_value?: SymbolRenderingStrategy 1223 symbolEffect0_symbolEffect?: SymbolEffect 1224 symbolEffect0_isActive?: boolean | undefined 1225 symbolEffect1_symbolEffect?: SymbolEffect 1226 symbolEffect1_triggerValue?: number | undefined 1227} 1228export interface SymbolSpanInterface extends CommonMethodInterface,UIElement { 1229 setSymbolSpanOptions_value?: Resource 1230 fontSize_value?: number | string | Resource 1231 fontColor_value?: Array<ResourceColor> 1232 fontWeight_value?: number | FontWeight | string 1233 effectStrategy_value?: SymbolEffectStrategy 1234 renderingStrategy_value?: SymbolRenderingStrategy 1235} 1236export interface TabsInterface extends CommonMethodInterface,UIElement { 1237 setTabsOptions_options?: TabsOptions | undefined 1238 vertical_value?: boolean 1239 barPosition_value?: BarPosition 1240 scrollable_value?: boolean 1241 barMode0_value?: BarMode 1242 barMode1_value?: BarMode 1243 barMode1_options?: ScrollableBarModeOptions | undefined 1244 barWidth_value?: Length 1245 barHeight_value?: Length 1246 animationDuration_value?: number 1247 animationMode_value?: AnimationMode | undefined 1248 edgeEffect_value?: EdgeEffect | undefined 1249 onChange_value?: ((index: number) => void) 1250 onTabBarClick_value?: ((index: number) => void) 1251 onAnimationStart_value?: OnTabsAnimationStartCallback 1252 onAnimationEnd_value?: OnTabsAnimationEndCallback 1253 onGestureSwipe_value?: OnTabsGestureSwipeCallback 1254 fadingEdge_value?: boolean 1255 divider_value?: DividerStyle | undefined 1256 barOverlap_value?: boolean 1257 barBackgroundColor_value?: ResourceColor 1258 barGridAlign_value?: BarGridColumnOptions 1259 customContentTransition_value?: TabsCustomContentTransitionCallback 1260 barBackgroundBlurStyle0_value?: BlurStyle 1261 barBackgroundBlurStyle1_style?: BlurStyle 1262 barBackgroundBlurStyle1_options?: BackgroundBlurStyleOptions 1263 barBackgroundEffect_value?: BackgroundEffectOptions 1264 onContentWillChange_value?: OnTabsContentWillChangeCallback 1265 barModeScrollable_options?: ScrollableBarModeOptions 1266} 1267export interface TabContentInterface extends CommonMethodInterface,UIElement { 1268 tabBar0_value?: string | Resource | CustomBuilder | TabBarOptions 1269 tabBar1_value?: SubTabBarStyle | BottomTabBarStyle 1270 onWillShow_value?: VoidCallback 1271 onWillHide_value?: VoidCallback 1272} 1273export interface TextInterface extends CommonMethodInterface,UIElement { 1274 setTextOptions_content?: string | Resource | undefined 1275 setTextOptions_value?: TextOptions | undefined 1276 font0_value?: Font 1277 font1_fontValue?: Font 1278 font1_options?: FontSettingOptions | undefined 1279 fontColor_value?: ResourceColor 1280 fontSize_value?: number | string | Resource 1281 minFontSize_value?: number | string | Resource 1282 maxFontSize_value?: number | string | Resource 1283 minFontScale_value?: number | Resource 1284 maxFontScale_value?: number | Resource 1285 fontStyle_value?: FontStyle 1286 fontWeight0_value?: number | FontWeight | string 1287 fontWeight1_weight?: number | FontWeight | string 1288 fontWeight1_options?: FontSettingOptions | undefined 1289 lineSpacing_value?: LengthMetrics 1290 textAlign_value?: TextAlign 1291 lineHeight_value?: number | string | Resource 1292 textOverflow_value?: TextOverflowOptions 1293 fontFamily_value?: string | Resource 1294 maxLines_value?: number 1295 decoration_value?: DecorationStyleInterface 1296 letterSpacing_value?: number | string 1297 textCase_value?: TextCase 1298 baselineOffset_value?: number | string 1299 copyOption_value?: CopyOptions 1300 draggable_value?: boolean 1301 textShadow_value?: ShadowOptions | Array<ShadowOptions> 1302 heightAdaptivePolicy_value?: TextHeightAdaptivePolicy 1303 textIndent_value?: Length 1304 wordBreak_value?: WordBreak 1305 lineBreakStrategy_value?: LineBreakStrategy 1306 onCopy_value?: ((breakpoints: string) => void) 1307 caretColor_value?: ResourceColor 1308 selectedBackgroundColor_value?: ResourceColor 1309 ellipsisMode_value?: EllipsisMode 1310 enableDataDetector_value?: boolean 1311 dataDetectorConfig_value?: TextDataDetectorConfig 1312 onTextSelectionChange_value?: ((first: number, last: number) => void) 1313 fontFeature_value?: string 1314 privacySensitive_value?: boolean 1315 textSelectable_value?: TextSelectableMode 1316 editMenuOptions_value?: EditMenuOptions 1317 halfLeading_value?: boolean 1318 enableHapticFeedback_value?: boolean 1319 selection_selectionStart?: number 1320 selection_selectionEnd?: number 1321 bindSelectionMenu_spanType?: TextSpanType 1322 bindSelectionMenu_content?: CustomBuilder 1323 bindSelectionMenu_responseType?: TextResponseType 1324 bindSelectionMenu_options?: SelectionMenuOptions | undefined 1325} 1326export interface TextAreaInterface extends CommonMethodInterface,UIElement { 1327 setTextAreaOptions_value?: TextAreaOptions | undefined 1328 placeholderColor_value?: ResourceColor 1329 placeholderFont_value?: Font 1330 enterKeyType_value?: EnterKeyType 1331 textAlign_value?: TextAlign 1332 caretColor_value?: ResourceColor 1333 fontColor_value?: ResourceColor 1334 fontSize_value?: Length 1335 fontStyle_value?: FontStyle 1336 fontWeight_value?: number | FontWeight | string 1337 fontFamily_value?: ResourceStr 1338 textOverflow_value?: TextOverflow 1339 textIndent_value?: Dimension 1340 caretStyle_value?: CaretStyle 1341 selectedBackgroundColor_value?: ResourceColor 1342 onSubmit0_value?: ((enterKey: EnterKeyType) => void) 1343 onSubmit1_value?: TextAreaSubmitCallback 1344 onChange_value?: EditableTextOnChangeCallback 1345 onTextSelectionChange_value?: ((first: number, last: number) => void) 1346 onContentScroll_value?: ((first: number, last: number) => void) 1347 onEditChange_value?: ((parameter: boolean) => void) 1348 onCopy_value?: ((breakpoints: string) => void) 1349 onCut_value?: ((breakpoints: string) => void) 1350 onPaste_value?: ((value: string, event: PasteEvent) => void) 1351 copyOption_value?: CopyOptions 1352 enableKeyboardOnFocus_value?: boolean 1353 maxLength_value?: number 1354 style_value?: TextContentStyle 1355 barState_value?: BarState 1356 selectionMenuHidden_value?: boolean 1357 minFontSize_value?: number | string | Resource 1358 maxFontSize_value?: number | string | Resource 1359 heightAdaptivePolicy_value?: TextHeightAdaptivePolicy 1360 maxLines_value?: number 1361 wordBreak_value?: WordBreak 1362 lineBreakStrategy_value?: LineBreakStrategy 1363 decoration_value?: TextDecorationOptions 1364 letterSpacing_value?: number | string | Resource 1365 lineSpacing_value?: LengthMetrics 1366 lineHeight_value?: number | string | Resource 1367 type_value?: TextAreaType 1368 enableAutoFill_value?: boolean 1369 contentType_value?: ContentType 1370 fontFeature_value?: string 1371 onWillInsert_value?: ((parameter: InsertValue) => boolean) 1372 onDidInsert_value?: ((parameter: InsertValue) => void) 1373 onWillDelete_value?: ((parameter: DeleteValue) => boolean) 1374 onDidDelete_value?: ((parameter: DeleteValue) => void) 1375 editMenuOptions_value?: EditMenuOptions 1376 enablePreviewText_value?: boolean 1377 enableHapticFeedback_value?: boolean 1378 inputFilter_value?: ResourceStr 1379 inputFilter_error?: ((breakpoints: string) => void) | undefined 1380 showCounter_value?: boolean 1381 showCounter_options?: InputCounterOptions | undefined 1382 customKeyboard_value?: CustomBuilder 1383 customKeyboard_options?: KeyboardOptions | undefined 1384} 1385export interface TextClockInterface extends CommonMethodInterface,UIElement { 1386 setTextClockOptions_options?: TextClockOptions | undefined 1387 format_value?: string 1388 onDateChange_value?: ((index: number) => void) 1389 fontColor_value?: ResourceColor 1390 fontSize_value?: Length 1391 fontStyle_value?: FontStyle 1392 fontWeight_value?: number | FontWeight | string 1393 fontFamily_value?: ResourceStr 1394 textShadow_value?: ShadowOptions | Array<ShadowOptions> 1395 fontFeature_value?: string 1396 contentModifier_value?: ContentModifier<any> 1397 dateTimeOptions_value?: DateTimeOptions | undefined 1398} 1399export interface TextInputInterface extends CommonMethodInterface,UIElement { 1400 setTextInputOptions_value?: TextInputOptions | undefined 1401 type_value?: InputType 1402 contentType_value?: ContentType 1403 placeholderColor_value?: ResourceColor 1404 textOverflow_value?: TextOverflow 1405 textIndent_value?: Dimension 1406 placeholderFont_value?: Font | undefined 1407 enterKeyType_value?: EnterKeyType 1408 caretColor_value?: ResourceColor 1409 onEditChanged_value?: ((parameter: boolean) => void) 1410 onEditChange_value?: ((parameter: boolean) => void) 1411 onSubmit_value?: OnSubmitCallback 1412 onChange_value?: EditableTextOnChangeCallback 1413 onTextSelectionChange_value?: OnTextSelectionChangeCallback 1414 onContentScroll_value?: OnContentScrollCallback 1415 maxLength_value?: number 1416 fontColor_value?: ResourceColor 1417 fontSize_value?: Length 1418 fontStyle_value?: FontStyle 1419 fontWeight_value?: number | FontWeight | string 1420 fontFamily_value?: ResourceStr 1421 onCopy_value?: ((breakpoints: string) => void) 1422 onCut_value?: ((breakpoints: string) => void) 1423 onPaste_value?: OnPasteCallback 1424 copyOption_value?: CopyOptions 1425 showPasswordIcon_value?: boolean 1426 textAlign_value?: TextAlign 1427 style_value?: TextInputStyle | TextContentStyle 1428 caretStyle_value?: CaretStyle 1429 selectedBackgroundColor_value?: ResourceColor 1430 caretPosition_value?: number 1431 enableKeyboardOnFocus_value?: boolean 1432 passwordIcon_value?: PasswordIcon 1433 showError_value?: ResourceStr | undefined 1434 showUnit_value?: CustomBuilder 1435 showUnderline_value?: boolean 1436 underlineColor_value?: ResourceColor | UnderlineColor | undefined 1437 selectionMenuHidden_value?: boolean 1438 barState_value?: BarState 1439 maxLines_value?: number 1440 wordBreak_value?: WordBreak 1441 lineBreakStrategy_value?: LineBreakStrategy 1442 cancelButton0_value?: CancelButtonOptions 1443 cancelButton1_value?: CancelButtonSymbolOptions 1444 selectAll_value?: boolean 1445 minFontSize_value?: number | string | Resource 1446 maxFontSize_value?: number | string | Resource 1447 heightAdaptivePolicy_value?: TextHeightAdaptivePolicy 1448 enableAutoFill_value?: boolean 1449 decoration_value?: TextDecorationOptions 1450 letterSpacing_value?: number | string | Resource 1451 lineHeight_value?: number | string | Resource 1452 passwordRules_value?: string 1453 fontFeature_value?: string 1454 showPassword_value?: boolean 1455 onSecurityStateChange_value?: ((parameter: boolean) => void) 1456 onWillInsert_value?: ((parameter: InsertValue) => boolean) 1457 onDidInsert_value?: ((parameter: InsertValue) => void) 1458 onWillDelete_value?: ((parameter: DeleteValue) => boolean) 1459 onDidDelete_value?: ((parameter: DeleteValue) => void) 1460 editMenuOptions_value?: EditMenuOptions 1461 enablePreviewText_value?: boolean 1462 enableHapticFeedback_value?: boolean 1463 inputFilter_value?: ResourceStr 1464 inputFilter_error?: ((breakpoints: string) => void) | undefined 1465 customKeyboard_value?: CustomBuilder 1466 customKeyboard_options?: KeyboardOptions | undefined 1467 showCounter_value?: boolean 1468 showCounter_options?: InputCounterOptions | undefined 1469} 1470export interface TextPickerInterface extends CommonMethodInterface,UIElement { 1471 setTextPickerOptions_options?: TextPickerOptions | undefined 1472 defaultPickerItemHeight_value?: number | string 1473 canLoop_value?: boolean 1474 disappearTextStyle_value?: PickerTextStyle 1475 textStyle_value?: PickerTextStyle 1476 selectedTextStyle_value?: PickerTextStyle 1477 onAccept_value?: ((value: string, index: number) => void) 1478 onCancel_value?: (() => void) 1479 onChange_value?: ((value: string | Array<string>, index: number | Array<number>) => void) 1480 selectedIndex_value?: number | Array<number> 1481 divider_value?: DividerOptions | undefined 1482 gradientHeight_value?: Dimension 1483} 1484export interface TextTimerInterface extends CommonMethodInterface,UIElement { 1485 setTextTimerOptions_options?: TextTimerOptions | undefined 1486 format_value?: string 1487 fontColor_value?: ResourceColor 1488 fontSize_value?: Length 1489 fontStyle_value?: FontStyle 1490 fontWeight_value?: number | FontWeight | string 1491 fontFamily_value?: ResourceStr 1492 onTimer_value?: ((first: number, last: number) => void) 1493 textShadow_value?: ShadowOptions | Array<ShadowOptions> 1494 contentModifier_value?: ContentModifier<any> 1495} 1496export interface TimePickerInterface extends CommonMethodInterface,UIElement { 1497 setTimePickerOptions_options?: TimePickerOptions | undefined 1498 useMilitaryTime_value?: boolean 1499 loop_value?: boolean 1500 disappearTextStyle_value?: PickerTextStyle 1501 textStyle_value?: PickerTextStyle 1502 selectedTextStyle_value?: PickerTextStyle 1503 dateTimeOptions_value?: DateTimeOptions 1504 onChange_value?: ((value: TimePickerResult) => void) 1505 enableHapticFeedback_value?: boolean 1506} 1507export interface ToggleInterface extends CommonMethodInterface,UIElement { 1508 setToggleOptions_options?: ToggleOptions 1509 onChange_value?: ((parameter: boolean) => void) 1510 contentModifier_value?: ContentModifier<any> 1511 selectedColor_value?: ResourceColor 1512 switchPointColor_value?: ResourceColor 1513 switchStyle_value?: SwitchStyle 1514} 1515export interface VideoInterface extends CommonMethodInterface,UIElement { 1516 setVideoOptions_value?: VideoOptions 1517 muted_value?: boolean 1518 autoPlay_value?: boolean 1519 controls_value?: boolean 1520 loop_value?: boolean 1521 objectFit_value?: ImageFit 1522 onStart_value?: VoidCallback 1523 onPause_value?: VoidCallback 1524 onFinish_value?: VoidCallback 1525 onFullscreenChange_value?: ((parameter: FullscreenInfo) => void) 1526 onPrepared_value?: ((parameter: PreparedInfo) => void) 1527 onSeeking_value?: ((parameter: PlaybackInfo) => void) 1528 onSeeked_value?: ((parameter: PlaybackInfo) => void) 1529 onUpdate_value?: ((parameter: PlaybackInfo) => void) 1530 onError_value?: (() => void) 1531 onStop_value?: (() => void) 1532 enableAnalyzer_value?: boolean 1533 analyzerConfig_value?: ImageAnalyzerConfig 1534} 1535export interface WebInterface extends CommonMethodInterface,UIElement { 1536 setWebOptions_value?: WebOptions 1537 javaScriptAccess_value?: boolean 1538 fileAccess_value?: boolean 1539 onlineImageAccess_value?: boolean 1540 domStorageAccess_value?: boolean 1541 imageAccess_value?: boolean 1542 mixedMode_value?: MixedMode 1543 zoomAccess_value?: boolean 1544 geolocationAccess_value?: boolean 1545 javaScriptProxy_value?: JavaScriptProxy 1546 password_value?: boolean 1547 cacheMode_value?: CacheMode 1548 darkMode_value?: WebDarkMode 1549 forceDarkAccess_value?: boolean 1550 mediaOptions_value?: WebMediaOptions 1551 tableData_value?: boolean 1552 wideViewModeAccess_value?: boolean 1553 overviewModeAccess_value?: boolean 1554 overScrollMode_value?: OverScrollMode 1555 textZoomAtio_value?: number 1556 textZoomRatio_value?: number 1557 databaseAccess_value?: boolean 1558 initialScale_value?: number 1559 userAgent_value?: string 1560 metaViewport_value?: boolean 1561 onPageEnd_value?: ((parameter: OnPageEndEvent) => void) 1562 onPageBegin_value?: ((parameter: OnPageBeginEvent) => void) 1563 onProgressChange_value?: ((parameter: OnProgressChangeEvent) => void) 1564 onTitleReceive_value?: ((parameter: OnTitleReceiveEvent) => void) 1565 onGeolocationHide_value?: (() => void) 1566 onGeolocationShow_value?: ((parameter: OnGeolocationShowEvent) => void) 1567 onRequestSelected_value?: (() => void) 1568 onAlert_value?: ((parameter: OnAlertEvent) => boolean) 1569 onBeforeUnload_value?: ((parameter: OnBeforeUnloadEvent) => boolean) 1570 onConfirm_value?: ((parameter: OnConfirmEvent) => boolean) 1571 onPrompt_value?: ((parameter: OnPromptEvent) => boolean) 1572 onConsole_value?: ((parameter: OnConsoleEvent) => boolean) 1573 onErrorReceive_value?: ((parameter: OnErrorReceiveEvent) => void) 1574 onHttpErrorReceive_value?: ((parameter: OnHttpErrorReceiveEvent) => void) 1575 onDownloadStart_value?: ((parameter: OnDownloadStartEvent) => void) 1576 onRefreshAccessedHistory_value?: ((parameter: OnRefreshAccessedHistoryEvent) => void) 1577 onUrlLoadIntercept_value?: ((event?: { data: string | WebResourceRequest }) => boolean) 1578 onSslErrorReceive_value?: ((event?: { handler: Function, error: Object }) => void) 1579 onRenderExited0_value?: ((parameter: OnRenderExitedEvent) => void) 1580 onRenderExited1_value?: ((event?: { detail: Object }) => boolean) 1581 onShowFileSelector_value?: ((parameter: OnShowFileSelectorEvent) => boolean) 1582 onFileSelectorShow_value?: ((event?: { callback: Function, fileSelector: Object }) => void) 1583 onResourceLoad_value?: ((parameter: OnResourceLoadEvent) => void) 1584 onFullScreenExit_value?: (() => void) 1585 onFullScreenEnter_value?: OnFullScreenEnterCallback 1586 onScaleChange_value?: ((parameter: OnScaleChangeEvent) => void) 1587 onHttpAuthRequest_value?: ((parameter: OnHttpAuthRequestEvent) => boolean) 1588 onInterceptRequest_value?: ((parameter: OnInterceptRequestEvent) => WebResourceResponse) 1589 onPermissionRequest_value?: ((parameter: OnPermissionRequestEvent) => void) 1590 onScreenCaptureRequest_value?: ((parameter: OnScreenCaptureRequestEvent) => void) 1591 onContextMenuShow_value?: ((parameter: OnContextMenuShowEvent) => boolean) 1592 onContextMenuHide_value?: OnContextMenuHideCallback 1593 mediaPlayGestureAccess_value?: boolean 1594 onSearchResultReceive_value?: ((parameter: OnSearchResultReceiveEvent) => void) 1595 onScroll_value?: ((parameter: OnScrollEvent) => void) 1596 onSslErrorEventReceive_value?: ((parameter: OnSslErrorEventReceiveEvent) => void) 1597 onSslErrorEvent_value?: OnSslErrorEventCallback 1598 onClientAuthenticationRequest_value?: ((parameter: OnClientAuthenticationEvent) => void) 1599 onWindowNew_value?: ((parameter: OnWindowNewEvent) => void) 1600 onWindowExit_value?: (() => void) 1601 multiWindowAccess_value?: boolean 1602 onInterceptKeyEvent_value?: ((parameter: KeyEvent) => boolean) 1603 webStandardFont_value?: string 1604 webSerifFont_value?: string 1605 webSansSerifFont_value?: string 1606 webFixedFont_value?: string 1607 webFantasyFont_value?: string 1608 webCursiveFont_value?: string 1609 defaultFixedFontSize_value?: number 1610 defaultFontSize_value?: number 1611 minFontSize_value?: number 1612 minLogicalFontSize_value?: number 1613 defaultTextEncodingFormat_value?: string 1614 forceDisplayScrollBar_value?: boolean 1615 blockNetwork_value?: boolean 1616 horizontalScrollBarAccess_value?: boolean 1617 verticalScrollBarAccess_value?: boolean 1618 onTouchIconUrlReceived_value?: ((parameter: OnTouchIconUrlReceivedEvent) => void) 1619 onFaviconReceived_value?: ((parameter: OnFaviconReceivedEvent) => void) 1620 onPageVisible_value?: ((parameter: OnPageVisibleEvent) => void) 1621 onDataResubmitted_value?: ((parameter: OnDataResubmittedEvent) => void) 1622 pinchSmooth_value?: boolean 1623 allowWindowOpenMethod_value?: boolean 1624 onAudioStateChanged_value?: ((parameter: OnAudioStateChangedEvent) => void) 1625 onFirstContentfulPaint_value?: ((parameter: OnFirstContentfulPaintEvent) => void) 1626 onFirstMeaningfulPaint_value?: OnFirstMeaningfulPaintCallback 1627 onLargestContentfulPaint_value?: OnLargestContentfulPaintCallback 1628 onLoadIntercept_value?: ((parameter: OnLoadInterceptEvent) => boolean) 1629 onControllerAttached_value?: (() => void) 1630 onOverScroll_value?: ((parameter: OnOverScrollEvent) => void) 1631 onSafeBrowsingCheckResult_value?: OnSafeBrowsingCheckResultCallback 1632 onNavigationEntryCommitted_value?: OnNavigationEntryCommittedCallback 1633 onIntelligentTrackingPreventionResult_value?: OnIntelligentTrackingPreventionCallback 1634 javaScriptOnDocumentStart_value?: Array<ScriptItem> 1635 javaScriptOnDocumentEnd_value?: Array<ScriptItem> 1636 layoutMode_value?: WebLayoutMode 1637 nestedScroll_value?: NestedScrollOptions | NestedScrollOptionsExt 1638 enableNativeEmbedMode_value?: boolean 1639 onNativeEmbedLifecycleChange_value?: ((event: NativeEmbedDataInfo) => void) 1640 onNativeEmbedVisibilityChange_value?: OnNativeEmbedVisibilityChangeCallback 1641 onNativeEmbedGestureEvent_value?: ((event: NativeEmbedTouchInfo) => void) 1642 copyOptions_value?: CopyOptions 1643 onOverrideUrlLoading_value?: OnOverrideUrlLoadingCallback 1644 textAutosizing_value?: boolean 1645 enableNativeMediaPlayer_value?: NativeMediaPlayerConfig 1646 enableSmoothDragResize_value?: boolean 1647 onRenderProcessNotResponding_value?: OnRenderProcessNotRespondingCallback 1648 onRenderProcessResponding_value?: OnRenderProcessRespondingCallback 1649 selectionMenuOptions_value?: Array<ExpandedMenuItemOptions> 1650 onViewportFitChanged_value?: OnViewportFitChangedCallback 1651 onInterceptKeyboardAttach_value?: WebKeyboardCallback 1652 onAdsBlocked_value?: OnAdsBlockedCallback 1653 keyboardAvoidMode_value?: WebKeyboardAvoidMode 1654 editMenuOptions_value?: EditMenuOptions 1655 enableHapticFeedback_value?: boolean 1656 registerNativeEmbedRule_tag?: string 1657 registerNativeEmbedRule_type?: string 1658 bindSelectionMenu_elementType?: WebElementType 1659 bindSelectionMenu_content?: CustomBuilder 1660 bindSelectionMenu_responseType?: WebResponseType 1661 bindSelectionMenu_options?: SelectionMenuOptionsExt | undefined 1662} 1663export interface WindowSceneInterface extends CommonMethodInterface,UIElement { 1664 setWindowSceneOptions_persistentId?: number 1665 attractionEffect_destination?: Position 1666 attractionEffect_fraction?: number 1667} 1668export interface XComponentInterface extends CommonMethodInterface,UIElement { 1669 setXComponentOptions0_value?: { id: string, type: string, libraryname?: string, controller?: XComponentController } 1670 setXComponentOptions1_value?: { id: string, type: string, libraryname?: string, controller?: XComponentController } 1671 setXComponentOptions2_options?: XComponentOptions 1672 onLoad_value?: OnNativeLoadCallback 1673 onDestroy_value?: VoidCallback 1674 enableAnalyzer_value?: boolean 1675 enableSecure_value?: boolean 1676} 1677export interface SideBarContainerInterface extends CommonMethodInterface,UIElement { 1678 setSideBarContainerOptions_type?: SideBarContainerType | undefined 1679 showSideBar_value?: boolean 1680 controlButton_value?: ButtonStyle 1681 showControlButton_value?: boolean 1682 onChange_value?: ((parameter: boolean) => void) 1683 sideBarWidth0_value?: number 1684 sideBarWidth1_value?: Length 1685 minSideBarWidth0_value?: number 1686 minSideBarWidth1_value?: Length 1687 maxSideBarWidth0_value?: number 1688 maxSideBarWidth1_value?: Length 1689 autoHide_value?: boolean 1690 sideBarPosition_value?: SideBarPosition 1691 divider_value?: DividerStyle | undefined 1692 minContentWidth_value?: Dimension 1693} 1694export interface RemoteWindowInterface extends CommonMethodInterface,UIElement { 1695 setRemoteWindowOptions_target?: WindowAnimationTarget 1696} 1697export interface WaterFlowInterface extends ScrollableCommonMethodInterface,UIElement { 1698 setWaterFlowOptions_options?: WaterFlowOptions | undefined 1699 columnsTemplate_value?: string 1700 itemConstraintSize_value?: ConstraintSizeOptions 1701 rowsTemplate_value?: string 1702 columnsGap_value?: Length 1703 rowsGap_value?: Length 1704 layoutDirection_value?: FlexDirection 1705 nestedScroll_value?: NestedScrollOptions 1706 enableScrollInteraction_value?: boolean 1707 friction_value?: number | Resource 1708 cachedCount0_value?: number 1709 cachedCount1_count?: number 1710 cachedCount1_show?: boolean 1711 onReachStart_value?: (() => void) 1712 onReachEnd_value?: (() => void) 1713 onScrollFrameBegin_value?: ((offset: number, state: ScrollState) => { offsetRemain: number }) 1714 onScrollIndex_value?: ((first: number, last: number) => void) 1715} 1716export interface UIExtensionComponentInterface extends CommonMethodInterface,UIElement { 1717 setUIExtensionComponentOptions_want?: Want 1718 setUIExtensionComponentOptions_options?: UIExtensionOptions | undefined 1719 onRemoteReady_value?: ((parameter: UIExtensionProxy) => void) 1720 onReceive_value?: ReceiveCallback 1721 onResult_value?: ((parameter: { code: number, want?: Want }) => void) 1722 onRelease_value?: ((index: number) => void) 1723 onError_value?: Object 1724 onTerminated_value?: ((parameter: TerminationInfo) => void) 1725} 1726export interface LinearIndicatorInterface extends CommonMethodInterface,UIElement { 1727 setLinearIndicatorOptions_count?: number | undefined 1728 setLinearIndicatorOptions_controller?: LinearIndicatorController | undefined 1729 indicatorStyle_value?: LinearIndicatorStyle | undefined 1730 indicatorLoop_value?: boolean | undefined 1731 onChange_value?: OnLinearIndicatorChangeCallback | undefined 1732} 1733export class NativeModuleRecorder extends NativeModuleEmpty { 1734 private pointers = new Array<Object|null>(2) 1735 private nameByNodeType: (type: int32) => string 1736 rootElement: UIElement | undefined = undefined 1737 private static readonly textEncoder = new CustomTextEncoder() 1738 private nodeById = new Map<string, UIElement>() 1739 constructor(nameByNodeType: ((type: int32) => string)) { 1740 super() 1741 this.nameByNodeType = nameByNodeType 1742 this.pointers[NULL_POINTER] = null 1743 this.pointers[FINALIZER_POINTER] = (ptr: pointer) => { this.pointers[ptr as number] = null } 1744 } 1745 _ManagedStringWrite(value: string, buffer: Uint8Array, offset: int32): int32 { 1746 if (typeof value === 'number' || value === null) 1747 throw "Not implemented" 1748 if (typeof buffer === 'number' || buffer === null) 1749 throw "Not implemented" 1750 const encoded = NativeModuleRecorder.textEncoder.encode(value, false) 1751 let length = encoded.length + 1 // zero-terminated 1752 buffer.set([...encoded, 0], offset) 1753 return length 1754 } 1755 _CaptureUIStructure(): KPointer { 1756 return this.object2ptr(JSON.stringify({ 1757 rootElement: this.rootElement 1758 })) 1759 } 1760 private ptr2object<T>(ptr: KPointer): T { 1761 return this.pointers[ptr as number] as T 1762 } 1763 private object2ptr(object: Object | undefined): KPointer { 1764 if (object == null) return nullptr 1765 for (let i = 1; i < this.pointers.length; i++) { 1766 if (this.pointers[i] == null) { 1767 this.pointers[i] = object 1768 return i 1769 } 1770 } 1771 let ptr = this.pointers.length 1772 this.pointers.push(object) 1773 return ptr 1774 } 1775 _StringLength(ptr: KPointer): int32 { 1776 return this.ptr2object<string>(ptr).length 1777 } 1778 _StringData(ptr: KPointer, buffer: Uint8Array, length: number): void { 1779 let value = this.ptr2object<string>(ptr); 1780 (buffer as Uint8Array).set(encodeToData(value)) 1781 } 1782 _GetStringFinalizer(): KPointer { 1783 return FINALIZER_POINTER as pointer 1784 } 1785 _InvokeFinalizer(ptr: KPointer, finalizer: KPointer): void { 1786 let finalizerFunc = this.ptr2object<(obj: pointer) => void>(finalizer) 1787 finalizerFunc(ptr) 1788 } 1789 _CreateNode(type: int32, id: int32, flags: int32): KPointer { 1790 let element: UIElement = { 1791 nodeId: id, 1792 kind: this.nameByNodeType(type), 1793 children: [], 1794 elementId: undefined, 1795 } 1796 if (type == 0 /* ArkUINodeType.Root */) { 1797 this.rootElement = element 1798 } 1799 return this.object2ptr(element) 1800 } 1801 _DisposeNode(ptr: KPointer): void { 1802 let node = this.ptr2object<UIElement|null>(ptr) 1803 console.log("Dispose", node) 1804 if (node?.elementId) this.nodeById.delete(node.elementId) 1805 } 1806 _AddChild(ptr1: KPointer, ptr2: KPointer): number { 1807 let parent = this.ptr2object<UIElement|null>(ptr1) 1808 let child = this.ptr2object<UIElement|null>(ptr2) 1809 parent?.children?.push(child!) 1810 return 0 1811 } 1812 _RemoveChild(parentPtr: KPointer, childPtr: KPointer): void { 1813 let parent = this.ptr2object<UIElement|null>(parentPtr) 1814 let child = this.ptr2object<UIElement|null>(childPtr) 1815 parent?.children?.forEach((element, index) => { 1816 if (element == child) { 1817 parent?.children?.splice(index, 1) 1818 } 1819 }) 1820 } 1821 _InsertChildAfter(ptr0: KPointer, ptr1: KPointer, ptr2: KPointer): number { 1822 let parent = this.ptr2object<UIElement|null>(ptr0) 1823 let child = this.ptr2object<UIElement|null>(ptr1) 1824 let sibling = this.ptr2object<UIElement|null>(ptr2) 1825 if (sibling) { 1826 let inserted = false 1827 parent?.children?.forEach((element, index) => { 1828 if (element == sibling) { 1829 inserted = true 1830 parent?.children?.splice(index + 1, 0, child!) 1831 } 1832 }) 1833 if (!inserted) throw Error("Cannot find sibling to insert") 1834 } else { 1835 if (child) parent?.children?.push(child) 1836 } 1837 return 0 1838 } 1839 _InsertChildBefore(ptr0: KPointer, ptr1: KPointer, ptr2: KPointer): number { 1840 let parent = this.ptr2object<UIElement|null>(ptr0) 1841 let child = this.ptr2object<UIElement|null>(ptr1) 1842 let sibling = this.ptr2object<UIElement|null>(ptr2) 1843 if (sibling) { 1844 let inserted = false 1845 parent?.children?.forEach((element, index) => { 1846 if (element == sibling) { 1847 inserted = true 1848 parent?.children?.splice(index - 1, 0, child!) 1849 } 1850 }) 1851 if (!inserted) throw Error("Cannot find sibling to insert") 1852 } else { 1853 if (child) parent?.children?.push(child) 1854 } 1855 return 0 1856 } 1857 _InsertChildAt(ptr0: KPointer, ptr1: KPointer, arg: number): number { 1858 let parent = this.ptr2object<UIElement|null>(ptr0) 1859 let child = this.ptr2object<UIElement|null>(ptr1) 1860 let inserted = false 1861 parent?.children?.forEach((element, index) => { 1862 if (index == arg) { 1863 inserted = true 1864 parent?.children?.splice(index, 0, child!) 1865 } 1866 }) 1867 if (!inserted) throw Error("Cannot find sibling to insert") 1868 return 0 1869 } 1870 _Root_construct(id: int32, flags: int32): KPointer { 1871 let element: UIElement = { 1872 nodeId: 0, 1873 kind: '', 1874 children: [], 1875 elementId: undefined, 1876 } 1877 return this.object2ptr(element) 1878 } 1879 _ComponentRoot_construct(id: int32, flags: int32): KPointer { 1880 let element: UIElement = { 1881 nodeId: 0, 1882 kind: '', 1883 children: [], 1884 elementId: undefined, 1885 } 1886 return this.object2ptr(element) 1887 } 1888 _AbilityComponent_construct(id: int32, flags: int32): KPointer { 1889 let element: UIElement = { 1890 nodeId: 0, 1891 kind: '', 1892 children: [], 1893 elementId: undefined, 1894 } 1895 return this.object2ptr(element) 1896 } 1897 _AlphabetIndexer_construct(id: int32, flags: int32): KPointer { 1898 let element: UIElement = { 1899 nodeId: 0, 1900 kind: '', 1901 children: [], 1902 elementId: undefined, 1903 } 1904 return this.object2ptr(element) 1905 } 1906 _Animator_construct(id: int32, flags: int32): KPointer { 1907 let element: UIElement = { 1908 nodeId: 0, 1909 kind: '', 1910 children: [], 1911 elementId: undefined, 1912 } 1913 return this.object2ptr(element) 1914 } 1915 _Badge_construct(id: int32, flags: int32): KPointer { 1916 let element: UIElement = { 1917 nodeId: 0, 1918 kind: '', 1919 children: [], 1920 elementId: undefined, 1921 } 1922 return this.object2ptr(element) 1923 } 1924 _Blank_construct(id: int32, flags: int32): KPointer { 1925 let element: UIElement = { 1926 nodeId: 0, 1927 kind: '', 1928 children: [], 1929 elementId: undefined, 1930 } 1931 return this.object2ptr(element) 1932 } 1933 _Button_construct(id: int32, flags: int32): KPointer { 1934 let element: UIElement = { 1935 nodeId: 0, 1936 kind: '', 1937 children: [], 1938 elementId: undefined, 1939 } 1940 return this.object2ptr(element) 1941 } 1942 _Calendar_construct(id: int32, flags: int32): KPointer { 1943 let element: UIElement = { 1944 nodeId: 0, 1945 kind: '', 1946 children: [], 1947 elementId: undefined, 1948 } 1949 return this.object2ptr(element) 1950 } 1951 _CalendarPicker_construct(id: int32, flags: int32): KPointer { 1952 let element: UIElement = { 1953 nodeId: 0, 1954 kind: '', 1955 children: [], 1956 elementId: undefined, 1957 } 1958 return this.object2ptr(element) 1959 } 1960 _Canvas_construct(id: int32, flags: int32): KPointer { 1961 let element: UIElement = { 1962 nodeId: 0, 1963 kind: '', 1964 children: [], 1965 elementId: undefined, 1966 } 1967 return this.object2ptr(element) 1968 } 1969 _Checkbox_construct(id: int32, flags: int32): KPointer { 1970 let element: UIElement = { 1971 nodeId: 0, 1972 kind: '', 1973 children: [], 1974 elementId: undefined, 1975 } 1976 return this.object2ptr(element) 1977 } 1978 _CheckboxGroup_construct(id: int32, flags: int32): KPointer { 1979 let element: UIElement = { 1980 nodeId: 0, 1981 kind: '', 1982 children: [], 1983 elementId: undefined, 1984 } 1985 return this.object2ptr(element) 1986 } 1987 _Circle_construct(id: int32, flags: int32): KPointer { 1988 let element: UIElement = { 1989 nodeId: 0, 1990 kind: '', 1991 children: [], 1992 elementId: undefined, 1993 } 1994 return this.object2ptr(element) 1995 } 1996 _Column_construct(id: int32, flags: int32): KPointer { 1997 let element: UIElement = { 1998 nodeId: 0, 1999 kind: '', 2000 children: [], 2001 elementId: undefined, 2002 } 2003 return this.object2ptr(element) 2004 } 2005 _ColumnSplit_construct(id: int32, flags: int32): KPointer { 2006 let element: UIElement = { 2007 nodeId: 0, 2008 kind: '', 2009 children: [], 2010 elementId: undefined, 2011 } 2012 return this.object2ptr(element) 2013 } 2014 _CommonMethod_construct(id: int32, flags: int32): KPointer { 2015 let element: UIElement = { 2016 nodeId: 0, 2017 kind: '', 2018 children: [], 2019 elementId: undefined, 2020 } 2021 return this.object2ptr(element) 2022 } 2023 _CommonShapeMethod_construct(id: int32, flags: int32): KPointer { 2024 let element: UIElement = { 2025 nodeId: 0, 2026 kind: '', 2027 children: [], 2028 elementId: undefined, 2029 } 2030 return this.object2ptr(element) 2031 } 2032 _Common_construct(id: int32, flags: int32): KPointer { 2033 let element: UIElement = { 2034 nodeId: 0, 2035 kind: '', 2036 children: [], 2037 elementId: undefined, 2038 } 2039 return this.object2ptr(element) 2040 } 2041 _ScrollableCommonMethod_construct(id: int32, flags: int32): KPointer { 2042 let element: UIElement = { 2043 nodeId: 0, 2044 kind: '', 2045 children: [], 2046 elementId: undefined, 2047 } 2048 return this.object2ptr(element) 2049 } 2050 _Component3D_construct(id: int32, flags: int32): KPointer { 2051 let element: UIElement = { 2052 nodeId: 0, 2053 kind: '', 2054 children: [], 2055 elementId: undefined, 2056 } 2057 return this.object2ptr(element) 2058 } 2059 _ContainerSpan_construct(id: int32, flags: int32): KPointer { 2060 let element: UIElement = { 2061 nodeId: 0, 2062 kind: '', 2063 children: [], 2064 elementId: undefined, 2065 } 2066 return this.object2ptr(element) 2067 } 2068 _Counter_construct(id: int32, flags: int32): KPointer { 2069 let element: UIElement = { 2070 nodeId: 0, 2071 kind: '', 2072 children: [], 2073 elementId: undefined, 2074 } 2075 return this.object2ptr(element) 2076 } 2077 _DataPanel_construct(id: int32, flags: int32): KPointer { 2078 let element: UIElement = { 2079 nodeId: 0, 2080 kind: '', 2081 children: [], 2082 elementId: undefined, 2083 } 2084 return this.object2ptr(element) 2085 } 2086 _DatePicker_construct(id: int32, flags: int32): KPointer { 2087 let element: UIElement = { 2088 nodeId: 0, 2089 kind: '', 2090 children: [], 2091 elementId: undefined, 2092 } 2093 return this.object2ptr(element) 2094 } 2095 _Divider_construct(id: int32, flags: int32): KPointer { 2096 let element: UIElement = { 2097 nodeId: 0, 2098 kind: '', 2099 children: [], 2100 elementId: undefined, 2101 } 2102 return this.object2ptr(element) 2103 } 2104 _EffectComponent_construct(id: int32, flags: int32): KPointer { 2105 let element: UIElement = { 2106 nodeId: 0, 2107 kind: '', 2108 children: [], 2109 elementId: undefined, 2110 } 2111 return this.object2ptr(element) 2112 } 2113 _Ellipse_construct(id: int32, flags: int32): KPointer { 2114 let element: UIElement = { 2115 nodeId: 0, 2116 kind: '', 2117 children: [], 2118 elementId: undefined, 2119 } 2120 return this.object2ptr(element) 2121 } 2122 _EmbeddedComponent_construct(id: int32, flags: int32): KPointer { 2123 let element: UIElement = { 2124 nodeId: 0, 2125 kind: '', 2126 children: [], 2127 elementId: undefined, 2128 } 2129 return this.object2ptr(element) 2130 } 2131 _Flex_construct(id: int32, flags: int32): KPointer { 2132 let element: UIElement = { 2133 nodeId: 0, 2134 kind: '', 2135 children: [], 2136 elementId: undefined, 2137 } 2138 return this.object2ptr(element) 2139 } 2140 _FlowItem_construct(id: int32, flags: int32): KPointer { 2141 let element: UIElement = { 2142 nodeId: 0, 2143 kind: '', 2144 children: [], 2145 elementId: undefined, 2146 } 2147 return this.object2ptr(element) 2148 } 2149 _FolderStack_construct(id: int32, flags: int32): KPointer { 2150 let element: UIElement = { 2151 nodeId: 0, 2152 kind: '', 2153 children: [], 2154 elementId: undefined, 2155 } 2156 return this.object2ptr(element) 2157 } 2158 _FormComponent_construct(id: int32, flags: int32): KPointer { 2159 let element: UIElement = { 2160 nodeId: 0, 2161 kind: '', 2162 children: [], 2163 elementId: undefined, 2164 } 2165 return this.object2ptr(element) 2166 } 2167 _FormLink_construct(id: int32, flags: int32): KPointer { 2168 let element: UIElement = { 2169 nodeId: 0, 2170 kind: '', 2171 children: [], 2172 elementId: undefined, 2173 } 2174 return this.object2ptr(element) 2175 } 2176 _Gauge_construct(id: int32, flags: int32): KPointer { 2177 let element: UIElement = { 2178 nodeId: 0, 2179 kind: '', 2180 children: [], 2181 elementId: undefined, 2182 } 2183 return this.object2ptr(element) 2184 } 2185 _Grid_construct(id: int32, flags: int32): KPointer { 2186 let element: UIElement = { 2187 nodeId: 0, 2188 kind: '', 2189 children: [], 2190 elementId: undefined, 2191 } 2192 return this.object2ptr(element) 2193 } 2194 _GridItem_construct(id: int32, flags: int32): KPointer { 2195 let element: UIElement = { 2196 nodeId: 0, 2197 kind: '', 2198 children: [], 2199 elementId: undefined, 2200 } 2201 return this.object2ptr(element) 2202 } 2203 _GridCol_construct(id: int32, flags: int32): KPointer { 2204 let element: UIElement = { 2205 nodeId: 0, 2206 kind: '', 2207 children: [], 2208 elementId: undefined, 2209 } 2210 return this.object2ptr(element) 2211 } 2212 _GridContainer_construct(id: int32, flags: int32): KPointer { 2213 let element: UIElement = { 2214 nodeId: 0, 2215 kind: '', 2216 children: [], 2217 elementId: undefined, 2218 } 2219 return this.object2ptr(element) 2220 } 2221 _GridRow_construct(id: int32, flags: int32): KPointer { 2222 let element: UIElement = { 2223 nodeId: 0, 2224 kind: '', 2225 children: [], 2226 elementId: undefined, 2227 } 2228 return this.object2ptr(element) 2229 } 2230 _Hyperlink_construct(id: int32, flags: int32): KPointer { 2231 let element: UIElement = { 2232 nodeId: 0, 2233 kind: '', 2234 children: [], 2235 elementId: undefined, 2236 } 2237 return this.object2ptr(element) 2238 } 2239 _Image_construct(id: int32, flags: int32): KPointer { 2240 let element: UIElement = { 2241 nodeId: 0, 2242 kind: '', 2243 children: [], 2244 elementId: undefined, 2245 } 2246 return this.object2ptr(element) 2247 } 2248 _ImageAnimator_construct(id: int32, flags: int32): KPointer { 2249 let element: UIElement = { 2250 nodeId: 0, 2251 kind: '', 2252 children: [], 2253 elementId: undefined, 2254 } 2255 return this.object2ptr(element) 2256 } 2257 _ImageSpan_construct(id: int32, flags: int32): KPointer { 2258 let element: UIElement = { 2259 nodeId: 0, 2260 kind: '', 2261 children: [], 2262 elementId: undefined, 2263 } 2264 return this.object2ptr(element) 2265 } 2266 _Line_construct(id: int32, flags: int32): KPointer { 2267 let element: UIElement = { 2268 nodeId: 0, 2269 kind: '', 2270 children: [], 2271 elementId: undefined, 2272 } 2273 return this.object2ptr(element) 2274 } 2275 _List_construct(id: int32, flags: int32): KPointer { 2276 let element: UIElement = { 2277 nodeId: 0, 2278 kind: '', 2279 children: [], 2280 elementId: undefined, 2281 } 2282 return this.object2ptr(element) 2283 } 2284 _ListItem_construct(id: int32, flags: int32): KPointer { 2285 let element: UIElement = { 2286 nodeId: 0, 2287 kind: '', 2288 children: [], 2289 elementId: undefined, 2290 } 2291 return this.object2ptr(element) 2292 } 2293 _ListItemGroup_construct(id: int32, flags: int32): KPointer { 2294 let element: UIElement = { 2295 nodeId: 0, 2296 kind: '', 2297 children: [], 2298 elementId: undefined, 2299 } 2300 return this.object2ptr(element) 2301 } 2302 _LoadingProgress_construct(id: int32, flags: int32): KPointer { 2303 let element: UIElement = { 2304 nodeId: 0, 2305 kind: '', 2306 children: [], 2307 elementId: undefined, 2308 } 2309 return this.object2ptr(element) 2310 } 2311 _LocationButton_construct(id: int32, flags: int32): KPointer { 2312 let element: UIElement = { 2313 nodeId: 0, 2314 kind: '', 2315 children: [], 2316 elementId: undefined, 2317 } 2318 return this.object2ptr(element) 2319 } 2320 _Marquee_construct(id: int32, flags: int32): KPointer { 2321 let element: UIElement = { 2322 nodeId: 0, 2323 kind: '', 2324 children: [], 2325 elementId: undefined, 2326 } 2327 return this.object2ptr(element) 2328 } 2329 _MediaCachedImage_construct(id: int32, flags: int32): KPointer { 2330 let element: UIElement = { 2331 nodeId: 0, 2332 kind: '', 2333 children: [], 2334 elementId: undefined, 2335 } 2336 return this.object2ptr(element) 2337 } 2338 _Menu_construct(id: int32, flags: int32): KPointer { 2339 let element: UIElement = { 2340 nodeId: 0, 2341 kind: '', 2342 children: [], 2343 elementId: undefined, 2344 } 2345 return this.object2ptr(element) 2346 } 2347 _MenuItem_construct(id: int32, flags: int32): KPointer { 2348 let element: UIElement = { 2349 nodeId: 0, 2350 kind: '', 2351 children: [], 2352 elementId: undefined, 2353 } 2354 return this.object2ptr(element) 2355 } 2356 _MenuItemGroup_construct(id: int32, flags: int32): KPointer { 2357 let element: UIElement = { 2358 nodeId: 0, 2359 kind: '', 2360 children: [], 2361 elementId: undefined, 2362 } 2363 return this.object2ptr(element) 2364 } 2365 _NavDestination_construct(id: int32, flags: int32): KPointer { 2366 let element: UIElement = { 2367 nodeId: 0, 2368 kind: '', 2369 children: [], 2370 elementId: undefined, 2371 } 2372 return this.object2ptr(element) 2373 } 2374 _NavRouter_construct(id: int32, flags: int32): KPointer { 2375 let element: UIElement = { 2376 nodeId: 0, 2377 kind: '', 2378 children: [], 2379 elementId: undefined, 2380 } 2381 return this.object2ptr(element) 2382 } 2383 _Navigator_construct(id: int32, flags: int32): KPointer { 2384 let element: UIElement = { 2385 nodeId: 0, 2386 kind: '', 2387 children: [], 2388 elementId: undefined, 2389 } 2390 return this.object2ptr(element) 2391 } 2392 _NodeContainer_construct(id: int32, flags: int32): KPointer { 2393 let element: UIElement = { 2394 nodeId: 0, 2395 kind: '', 2396 children: [], 2397 elementId: undefined, 2398 } 2399 return this.object2ptr(element) 2400 } 2401 _Panel_construct(id: int32, flags: int32): KPointer { 2402 let element: UIElement = { 2403 nodeId: 0, 2404 kind: '', 2405 children: [], 2406 elementId: undefined, 2407 } 2408 return this.object2ptr(element) 2409 } 2410 _PasteButton_construct(id: int32, flags: int32): KPointer { 2411 let element: UIElement = { 2412 nodeId: 0, 2413 kind: '', 2414 children: [], 2415 elementId: undefined, 2416 } 2417 return this.object2ptr(element) 2418 } 2419 _Path_construct(id: int32, flags: int32): KPointer { 2420 let element: UIElement = { 2421 nodeId: 0, 2422 kind: '', 2423 children: [], 2424 elementId: undefined, 2425 } 2426 return this.object2ptr(element) 2427 } 2428 _PatternLock_construct(id: int32, flags: int32): KPointer { 2429 let element: UIElement = { 2430 nodeId: 0, 2431 kind: '', 2432 children: [], 2433 elementId: undefined, 2434 } 2435 return this.object2ptr(element) 2436 } 2437 _PluginComponent_construct(id: int32, flags: int32): KPointer { 2438 let element: UIElement = { 2439 nodeId: 0, 2440 kind: '', 2441 children: [], 2442 elementId: undefined, 2443 } 2444 return this.object2ptr(element) 2445 } 2446 _Polygon_construct(id: int32, flags: int32): KPointer { 2447 let element: UIElement = { 2448 nodeId: 0, 2449 kind: '', 2450 children: [], 2451 elementId: undefined, 2452 } 2453 return this.object2ptr(element) 2454 } 2455 _Polyline_construct(id: int32, flags: int32): KPointer { 2456 let element: UIElement = { 2457 nodeId: 0, 2458 kind: '', 2459 children: [], 2460 elementId: undefined, 2461 } 2462 return this.object2ptr(element) 2463 } 2464 _Progress_construct(id: int32, flags: int32): KPointer { 2465 let element: UIElement = { 2466 nodeId: 0, 2467 kind: '', 2468 children: [], 2469 elementId: undefined, 2470 } 2471 return this.object2ptr(element) 2472 } 2473 _QRCode_construct(id: int32, flags: int32): KPointer { 2474 let element: UIElement = { 2475 nodeId: 0, 2476 kind: '', 2477 children: [], 2478 elementId: undefined, 2479 } 2480 return this.object2ptr(element) 2481 } 2482 _Radio_construct(id: int32, flags: int32): KPointer { 2483 let element: UIElement = { 2484 nodeId: 0, 2485 kind: '', 2486 children: [], 2487 elementId: undefined, 2488 } 2489 return this.object2ptr(element) 2490 } 2491 _Rating_construct(id: int32, flags: int32): KPointer { 2492 let element: UIElement = { 2493 nodeId: 0, 2494 kind: '', 2495 children: [], 2496 elementId: undefined, 2497 } 2498 return this.object2ptr(element) 2499 } 2500 _Rect_construct(id: int32, flags: int32): KPointer { 2501 let element: UIElement = { 2502 nodeId: 0, 2503 kind: '', 2504 children: [], 2505 elementId: undefined, 2506 } 2507 return this.object2ptr(element) 2508 } 2509 _Refresh_construct(id: int32, flags: int32): KPointer { 2510 let element: UIElement = { 2511 nodeId: 0, 2512 kind: '', 2513 children: [], 2514 elementId: undefined, 2515 } 2516 return this.object2ptr(element) 2517 } 2518 _RelativeContainer_construct(id: int32, flags: int32): KPointer { 2519 let element: UIElement = { 2520 nodeId: 0, 2521 kind: '', 2522 children: [], 2523 elementId: undefined, 2524 } 2525 return this.object2ptr(element) 2526 } 2527 _RichEditor_construct(id: int32, flags: int32): KPointer { 2528 let element: UIElement = { 2529 nodeId: 0, 2530 kind: '', 2531 children: [], 2532 elementId: undefined, 2533 } 2534 return this.object2ptr(element) 2535 } 2536 _RichText_construct(id: int32, flags: int32): KPointer { 2537 let element: UIElement = { 2538 nodeId: 0, 2539 kind: '', 2540 children: [], 2541 elementId: undefined, 2542 } 2543 return this.object2ptr(element) 2544 } 2545 _RootScene_construct(id: int32, flags: int32): KPointer { 2546 let element: UIElement = { 2547 nodeId: 0, 2548 kind: '', 2549 children: [], 2550 elementId: undefined, 2551 } 2552 return this.object2ptr(element) 2553 } 2554 _Row_construct(id: int32, flags: int32): KPointer { 2555 let element: UIElement = { 2556 nodeId: 0, 2557 kind: '', 2558 children: [], 2559 elementId: undefined, 2560 } 2561 return this.object2ptr(element) 2562 } 2563 _RowSplit_construct(id: int32, flags: int32): KPointer { 2564 let element: UIElement = { 2565 nodeId: 0, 2566 kind: '', 2567 children: [], 2568 elementId: undefined, 2569 } 2570 return this.object2ptr(element) 2571 } 2572 _SaveButton_construct(id: int32, flags: int32): KPointer { 2573 let element: UIElement = { 2574 nodeId: 0, 2575 kind: '', 2576 children: [], 2577 elementId: undefined, 2578 } 2579 return this.object2ptr(element) 2580 } 2581 _Screen_construct(id: int32, flags: int32): KPointer { 2582 let element: UIElement = { 2583 nodeId: 0, 2584 kind: '', 2585 children: [], 2586 elementId: undefined, 2587 } 2588 return this.object2ptr(element) 2589 } 2590 _Scroll_construct(id: int32, flags: int32): KPointer { 2591 let element: UIElement = { 2592 nodeId: 0, 2593 kind: '', 2594 children: [], 2595 elementId: undefined, 2596 } 2597 return this.object2ptr(element) 2598 } 2599 _ScrollBar_construct(id: int32, flags: int32): KPointer { 2600 let element: UIElement = { 2601 nodeId: 0, 2602 kind: '', 2603 children: [], 2604 elementId: undefined, 2605 } 2606 return this.object2ptr(element) 2607 } 2608 _Search_construct(id: int32, flags: int32): KPointer { 2609 let element: UIElement = { 2610 nodeId: 0, 2611 kind: '', 2612 children: [], 2613 elementId: undefined, 2614 } 2615 return this.object2ptr(element) 2616 } 2617 _SecurityComponentMethod_construct(id: int32, flags: int32): KPointer { 2618 let element: UIElement = { 2619 nodeId: 0, 2620 kind: '', 2621 children: [], 2622 elementId: undefined, 2623 } 2624 return this.object2ptr(element) 2625 } 2626 _Select_construct(id: int32, flags: int32): KPointer { 2627 let element: UIElement = { 2628 nodeId: 0, 2629 kind: '', 2630 children: [], 2631 elementId: undefined, 2632 } 2633 return this.object2ptr(element) 2634 } 2635 _Shape_construct(id: int32, flags: int32): KPointer { 2636 let element: UIElement = { 2637 nodeId: 0, 2638 kind: '', 2639 children: [], 2640 elementId: undefined, 2641 } 2642 return this.object2ptr(element) 2643 } 2644 _Slider_construct(id: int32, flags: int32): KPointer { 2645 let element: UIElement = { 2646 nodeId: 0, 2647 kind: '', 2648 children: [], 2649 elementId: undefined, 2650 } 2651 return this.object2ptr(element) 2652 } 2653 _BaseSpan_construct(id: int32, flags: int32): KPointer { 2654 let element: UIElement = { 2655 nodeId: 0, 2656 kind: '', 2657 children: [], 2658 elementId: undefined, 2659 } 2660 return this.object2ptr(element) 2661 } 2662 _Span_construct(id: int32, flags: int32): KPointer { 2663 let element: UIElement = { 2664 nodeId: 0, 2665 kind: '', 2666 children: [], 2667 elementId: undefined, 2668 } 2669 return this.object2ptr(element) 2670 } 2671 _Stack_construct(id: int32, flags: int32): KPointer { 2672 let element: UIElement = { 2673 nodeId: 0, 2674 kind: '', 2675 children: [], 2676 elementId: undefined, 2677 } 2678 return this.object2ptr(element) 2679 } 2680 _Stepper_construct(id: int32, flags: int32): KPointer { 2681 let element: UIElement = { 2682 nodeId: 0, 2683 kind: '', 2684 children: [], 2685 elementId: undefined, 2686 } 2687 return this.object2ptr(element) 2688 } 2689 _StepperItem_construct(id: int32, flags: int32): KPointer { 2690 let element: UIElement = { 2691 nodeId: 0, 2692 kind: '', 2693 children: [], 2694 elementId: undefined, 2695 } 2696 return this.object2ptr(element) 2697 } 2698 _Swiper_construct(id: int32, flags: int32): KPointer { 2699 let element: UIElement = { 2700 nodeId: 0, 2701 kind: '', 2702 children: [], 2703 elementId: undefined, 2704 } 2705 return this.object2ptr(element) 2706 } 2707 _IndicatorComponent_construct(id: int32, flags: int32): KPointer { 2708 let element: UIElement = { 2709 nodeId: 0, 2710 kind: '', 2711 children: [], 2712 elementId: undefined, 2713 } 2714 return this.object2ptr(element) 2715 } 2716 _SymbolGlyph_construct(id: int32, flags: int32): KPointer { 2717 let element: UIElement = { 2718 nodeId: 0, 2719 kind: '', 2720 children: [], 2721 elementId: undefined, 2722 } 2723 return this.object2ptr(element) 2724 } 2725 _SymbolSpan_construct(id: int32, flags: int32): KPointer { 2726 let element: UIElement = { 2727 nodeId: 0, 2728 kind: '', 2729 children: [], 2730 elementId: undefined, 2731 } 2732 return this.object2ptr(element) 2733 } 2734 _Tabs_construct(id: int32, flags: int32): KPointer { 2735 let element: UIElement = { 2736 nodeId: 0, 2737 kind: '', 2738 children: [], 2739 elementId: undefined, 2740 } 2741 return this.object2ptr(element) 2742 } 2743 _TabContent_construct(id: int32, flags: int32): KPointer { 2744 let element: UIElement = { 2745 nodeId: 0, 2746 kind: '', 2747 children: [], 2748 elementId: undefined, 2749 } 2750 return this.object2ptr(element) 2751 } 2752 _Text_construct(id: int32, flags: int32): KPointer { 2753 let element: UIElement = { 2754 nodeId: 0, 2755 kind: '', 2756 children: [], 2757 elementId: undefined, 2758 } 2759 return this.object2ptr(element) 2760 } 2761 _TextArea_construct(id: int32, flags: int32): KPointer { 2762 let element: UIElement = { 2763 nodeId: 0, 2764 kind: '', 2765 children: [], 2766 elementId: undefined, 2767 } 2768 return this.object2ptr(element) 2769 } 2770 _TextClock_construct(id: int32, flags: int32): KPointer { 2771 let element: UIElement = { 2772 nodeId: 0, 2773 kind: '', 2774 children: [], 2775 elementId: undefined, 2776 } 2777 return this.object2ptr(element) 2778 } 2779 _TextInput_construct(id: int32, flags: int32): KPointer { 2780 let element: UIElement = { 2781 nodeId: 0, 2782 kind: '', 2783 children: [], 2784 elementId: undefined, 2785 } 2786 return this.object2ptr(element) 2787 } 2788 _TextPicker_construct(id: int32, flags: int32): KPointer { 2789 let element: UIElement = { 2790 nodeId: 0, 2791 kind: '', 2792 children: [], 2793 elementId: undefined, 2794 } 2795 return this.object2ptr(element) 2796 } 2797 _TextTimer_construct(id: int32, flags: int32): KPointer { 2798 let element: UIElement = { 2799 nodeId: 0, 2800 kind: '', 2801 children: [], 2802 elementId: undefined, 2803 } 2804 return this.object2ptr(element) 2805 } 2806 _TimePicker_construct(id: int32, flags: int32): KPointer { 2807 let element: UIElement = { 2808 nodeId: 0, 2809 kind: '', 2810 children: [], 2811 elementId: undefined, 2812 } 2813 return this.object2ptr(element) 2814 } 2815 _Toggle_construct(id: int32, flags: int32): KPointer { 2816 let element: UIElement = { 2817 nodeId: 0, 2818 kind: '', 2819 children: [], 2820 elementId: undefined, 2821 } 2822 return this.object2ptr(element) 2823 } 2824 _Video_construct(id: int32, flags: int32): KPointer { 2825 let element: UIElement = { 2826 nodeId: 0, 2827 kind: '', 2828 children: [], 2829 elementId: undefined, 2830 } 2831 return this.object2ptr(element) 2832 } 2833 _Web_construct(id: int32, flags: int32): KPointer { 2834 let element: UIElement = { 2835 nodeId: 0, 2836 kind: '', 2837 children: [], 2838 elementId: undefined, 2839 } 2840 return this.object2ptr(element) 2841 } 2842 _WindowScene_construct(id: int32, flags: int32): KPointer { 2843 let element: UIElement = { 2844 nodeId: 0, 2845 kind: '', 2846 children: [], 2847 elementId: undefined, 2848 } 2849 return this.object2ptr(element) 2850 } 2851 _XComponent_construct(id: int32, flags: int32): KPointer { 2852 let element: UIElement = { 2853 nodeId: 0, 2854 kind: '', 2855 children: [], 2856 elementId: undefined, 2857 } 2858 return this.object2ptr(element) 2859 } 2860 _SideBarContainer_construct(id: int32, flags: int32): KPointer { 2861 let element: UIElement = { 2862 nodeId: 0, 2863 kind: '', 2864 children: [], 2865 elementId: undefined, 2866 } 2867 return this.object2ptr(element) 2868 } 2869 _RemoteWindow_construct(id: int32, flags: int32): KPointer { 2870 let element: UIElement = { 2871 nodeId: 0, 2872 kind: '', 2873 children: [], 2874 elementId: undefined, 2875 } 2876 return this.object2ptr(element) 2877 } 2878 _WaterFlow_construct(id: int32, flags: int32): KPointer { 2879 let element: UIElement = { 2880 nodeId: 0, 2881 kind: '', 2882 children: [], 2883 elementId: undefined, 2884 } 2885 return this.object2ptr(element) 2886 } 2887 _UIExtensionComponent_construct(id: int32, flags: int32): KPointer { 2888 let element: UIElement = { 2889 nodeId: 0, 2890 kind: '', 2891 children: [], 2892 elementId: undefined, 2893 } 2894 return this.object2ptr(element) 2895 } 2896 _LinearIndicator_construct(id: int32, flags: int32): KPointer { 2897 let element: UIElement = { 2898 nodeId: 0, 2899 kind: '', 2900 children: [], 2901 elementId: undefined, 2902 } 2903 return this.object2ptr(element) 2904 } 2905 _AbilityComponentInterface_setAbilityComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2906 let node = this.ptr2object<AbilityComponentInterface>(ptr) 2907 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2908 const setAbilityComponentOptions_value_buf_want: Want = thisDeserializer.readWant() 2909 node.setAbilityComponentOptions_value = ({want: setAbilityComponentOptions_value_buf_want} as { want: Want }) 2910 } 2911 _AbilityComponentAttribute_onConnect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2912 let node = this.ptr2object<AbilityComponentInterface>(ptr) 2913 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2914 node.onConnect_value = thisDeserializer.readCallback_Void() 2915 } 2916 _AbilityComponentAttribute_onDisconnect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2917 let node = this.ptr2object<AbilityComponentInterface>(ptr) 2918 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2919 node.onDisconnect_value = thisDeserializer.readCallback_Void() 2920 } 2921 _AlphabetIndexerInterface_setAlphabetIndexerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2922 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2923 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2924 node.setAlphabetIndexerOptions_options = thisDeserializer.readAlphabetIndexerOptions() 2925 } 2926 _AlphabetIndexerAttribute_onSelected(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2927 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2928 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2929 node.onSelected_value = thisDeserializer.readCallback_Number_Void() 2930 } 2931 _AlphabetIndexerAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2932 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2933 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2934 const color_value_buf_selector: number = thisDeserializer.readInt8() 2935 let color_value_buf: Color | number | string | Resource | undefined|undefined 2936 if (color_value_buf_selector == 0) { 2937 color_value_buf = (thisDeserializer.readInt32() as Color) 2938 } 2939 else if (color_value_buf_selector == 1) { 2940 color_value_buf = (thisDeserializer.readNumber() as number) 2941 } 2942 else if (color_value_buf_selector == 2) { 2943 color_value_buf = (thisDeserializer.readString() as string) 2944 } 2945 else if (color_value_buf_selector == 3) { 2946 color_value_buf = thisDeserializer.readResource() 2947 } 2948 else { 2949 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 2950 } 2951 node.color_value = (color_value_buf as Color | number | string | Resource) 2952 } 2953 _AlphabetIndexerAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2954 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2955 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2956 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 2957 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 2958 if (selectedColor_value_buf_selector == 0) { 2959 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 2960 } 2961 else if (selectedColor_value_buf_selector == 1) { 2962 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 2963 } 2964 else if (selectedColor_value_buf_selector == 2) { 2965 selectedColor_value_buf = (thisDeserializer.readString() as string) 2966 } 2967 else if (selectedColor_value_buf_selector == 3) { 2968 selectedColor_value_buf = thisDeserializer.readResource() 2969 } 2970 else { 2971 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 2972 } 2973 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 2974 } 2975 _AlphabetIndexerAttribute_popupColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2976 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2977 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 2978 const popupColor_value_buf_selector: number = thisDeserializer.readInt8() 2979 let popupColor_value_buf: Color | number | string | Resource | undefined|undefined 2980 if (popupColor_value_buf_selector == 0) { 2981 popupColor_value_buf = (thisDeserializer.readInt32() as Color) 2982 } 2983 else if (popupColor_value_buf_selector == 1) { 2984 popupColor_value_buf = (thisDeserializer.readNumber() as number) 2985 } 2986 else if (popupColor_value_buf_selector == 2) { 2987 popupColor_value_buf = (thisDeserializer.readString() as string) 2988 } 2989 else if (popupColor_value_buf_selector == 3) { 2990 popupColor_value_buf = thisDeserializer.readResource() 2991 } 2992 else { 2993 throw new Error("One of the branches for popupColor_value_buf has to be chosen through deserialisation.") 2994 } 2995 node.popupColor_value = (popupColor_value_buf as Color | number | string | Resource) 2996 } 2997 _AlphabetIndexerAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 2998 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 2999 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3000 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 3001 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 3002 if (selectedBackgroundColor_value_buf_selector == 0) { 3003 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 3004 } 3005 else if (selectedBackgroundColor_value_buf_selector == 1) { 3006 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 3007 } 3008 else if (selectedBackgroundColor_value_buf_selector == 2) { 3009 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 3010 } 3011 else if (selectedBackgroundColor_value_buf_selector == 3) { 3012 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 3013 } 3014 else { 3015 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 3016 } 3017 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 3018 } 3019 _AlphabetIndexerAttribute_popupBackground(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3020 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3021 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3022 const popupBackground_value_buf_selector: number = thisDeserializer.readInt8() 3023 let popupBackground_value_buf: Color | number | string | Resource | undefined|undefined 3024 if (popupBackground_value_buf_selector == 0) { 3025 popupBackground_value_buf = (thisDeserializer.readInt32() as Color) 3026 } 3027 else if (popupBackground_value_buf_selector == 1) { 3028 popupBackground_value_buf = (thisDeserializer.readNumber() as number) 3029 } 3030 else if (popupBackground_value_buf_selector == 2) { 3031 popupBackground_value_buf = (thisDeserializer.readString() as string) 3032 } 3033 else if (popupBackground_value_buf_selector == 3) { 3034 popupBackground_value_buf = thisDeserializer.readResource() 3035 } 3036 else { 3037 throw new Error("One of the branches for popupBackground_value_buf has to be chosen through deserialisation.") 3038 } 3039 node.popupBackground_value = (popupBackground_value_buf as Color | number | string | Resource) 3040 } 3041 _AlphabetIndexerAttribute_popupSelectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3042 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3043 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3044 const popupSelectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3045 let popupSelectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3046 if (popupSelectedColor_value_buf_selector == 0) { 3047 popupSelectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3048 } 3049 else if (popupSelectedColor_value_buf_selector == 1) { 3050 popupSelectedColor_value_buf = (thisDeserializer.readNumber() as number) 3051 } 3052 else if (popupSelectedColor_value_buf_selector == 2) { 3053 popupSelectedColor_value_buf = (thisDeserializer.readString() as string) 3054 } 3055 else if (popupSelectedColor_value_buf_selector == 3) { 3056 popupSelectedColor_value_buf = thisDeserializer.readResource() 3057 } 3058 else { 3059 throw new Error("One of the branches for popupSelectedColor_value_buf has to be chosen through deserialisation.") 3060 } 3061 node.popupSelectedColor_value = (popupSelectedColor_value_buf as Color | number | string | Resource) 3062 } 3063 _AlphabetIndexerAttribute_popupUnselectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3064 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3065 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3066 const popupUnselectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3067 let popupUnselectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3068 if (popupUnselectedColor_value_buf_selector == 0) { 3069 popupUnselectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3070 } 3071 else if (popupUnselectedColor_value_buf_selector == 1) { 3072 popupUnselectedColor_value_buf = (thisDeserializer.readNumber() as number) 3073 } 3074 else if (popupUnselectedColor_value_buf_selector == 2) { 3075 popupUnselectedColor_value_buf = (thisDeserializer.readString() as string) 3076 } 3077 else if (popupUnselectedColor_value_buf_selector == 3) { 3078 popupUnselectedColor_value_buf = thisDeserializer.readResource() 3079 } 3080 else { 3081 throw new Error("One of the branches for popupUnselectedColor_value_buf has to be chosen through deserialisation.") 3082 } 3083 node.popupUnselectedColor_value = (popupUnselectedColor_value_buf as Color | number | string | Resource) 3084 } 3085 _AlphabetIndexerAttribute_popupItemBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3086 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3087 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3088 const popupItemBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 3089 let popupItemBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 3090 if (popupItemBackgroundColor_value_buf_selector == 0) { 3091 popupItemBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 3092 } 3093 else if (popupItemBackgroundColor_value_buf_selector == 1) { 3094 popupItemBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 3095 } 3096 else if (popupItemBackgroundColor_value_buf_selector == 2) { 3097 popupItemBackgroundColor_value_buf = (thisDeserializer.readString() as string) 3098 } 3099 else if (popupItemBackgroundColor_value_buf_selector == 3) { 3100 popupItemBackgroundColor_value_buf = thisDeserializer.readResource() 3101 } 3102 else { 3103 throw new Error("One of the branches for popupItemBackgroundColor_value_buf has to be chosen through deserialisation.") 3104 } 3105 node.popupItemBackgroundColor_value = (popupItemBackgroundColor_value_buf as Color | number | string | Resource) 3106 } 3107 _AlphabetIndexerAttribute_usingPopup(ptr: KPointer, value: KInt): void { 3108 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3109 node.usingPopup_value = value 3110 } 3111 _AlphabetIndexerAttribute_selectedFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3112 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3113 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3114 node.selectedFont_value = thisDeserializer.readFont() 3115 } 3116 _AlphabetIndexerAttribute_popupFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3117 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3118 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3119 node.popupFont_value = thisDeserializer.readFont() 3120 } 3121 _AlphabetIndexerAttribute_popupItemFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3122 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3123 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3124 node.popupItemFont_value = thisDeserializer.readFont() 3125 } 3126 _AlphabetIndexerAttribute_itemSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3127 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3128 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3129 const itemSize_value_buf_selector: number = thisDeserializer.readInt8() 3130 let itemSize_value_buf: string | number | undefined|undefined 3131 if (itemSize_value_buf_selector == 0) { 3132 itemSize_value_buf = (thisDeserializer.readString() as string) 3133 } 3134 else if (itemSize_value_buf_selector == 1) { 3135 itemSize_value_buf = (thisDeserializer.readNumber() as number) 3136 } 3137 else { 3138 throw new Error("One of the branches for itemSize_value_buf has to be chosen through deserialisation.") 3139 } 3140 node.itemSize_value = (itemSize_value_buf as string | number) 3141 } 3142 _AlphabetIndexerAttribute_font(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3143 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3144 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3145 node.font_value = thisDeserializer.readFont() 3146 } 3147 _AlphabetIndexerAttribute_onSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3148 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3149 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3150 node.onSelect_value = thisDeserializer.readOnAlphabetIndexerSelectCallback() 3151 } 3152 _AlphabetIndexerAttribute_onRequestPopupData(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3153 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3154 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3155 node.onRequestPopupData_value = thisDeserializer.readOnAlphabetIndexerRequestPopupDataCallback() 3156 } 3157 _AlphabetIndexerAttribute_onPopupSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3158 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3159 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3160 node.onPopupSelect_value = thisDeserializer.readOnAlphabetIndexerPopupSelectCallback() 3161 } 3162 _AlphabetIndexerAttribute_selected(ptr: KPointer, value: number): void { 3163 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3164 node.selected_value = value 3165 } 3166 _AlphabetIndexerAttribute_popupPosition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3167 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3168 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3169 node.popupPosition_value = thisDeserializer.readPosition() 3170 } 3171 _AlphabetIndexerAttribute_autoCollapse(ptr: KPointer, value: KInt): void { 3172 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3173 node.autoCollapse_value = value 3174 } 3175 _AlphabetIndexerAttribute_popupItemBorderRadius(ptr: KPointer, value: number): void { 3176 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3177 node.popupItemBorderRadius_value = value 3178 } 3179 _AlphabetIndexerAttribute_itemBorderRadius(ptr: KPointer, value: number): void { 3180 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3181 node.itemBorderRadius_value = value 3182 } 3183 _AlphabetIndexerAttribute_popupBackgroundBlurStyle(ptr: KPointer, value: KInt): void { 3184 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3185 node.popupBackgroundBlurStyle_value = value 3186 } 3187 _AlphabetIndexerAttribute_popupTitleBackground(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3188 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3189 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3190 const popupTitleBackground_value_buf_selector: number = thisDeserializer.readInt8() 3191 let popupTitleBackground_value_buf: Color | number | string | Resource | undefined|undefined 3192 if (popupTitleBackground_value_buf_selector == 0) { 3193 popupTitleBackground_value_buf = (thisDeserializer.readInt32() as Color) 3194 } 3195 else if (popupTitleBackground_value_buf_selector == 1) { 3196 popupTitleBackground_value_buf = (thisDeserializer.readNumber() as number) 3197 } 3198 else if (popupTitleBackground_value_buf_selector == 2) { 3199 popupTitleBackground_value_buf = (thisDeserializer.readString() as string) 3200 } 3201 else if (popupTitleBackground_value_buf_selector == 3) { 3202 popupTitleBackground_value_buf = thisDeserializer.readResource() 3203 } 3204 else { 3205 throw new Error("One of the branches for popupTitleBackground_value_buf has to be chosen through deserialisation.") 3206 } 3207 node.popupTitleBackground_value = (popupTitleBackground_value_buf as Color | number | string | Resource) 3208 } 3209 _AlphabetIndexerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 3210 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3211 node.enableHapticFeedback_value = value 3212 } 3213 _AlphabetIndexerAttribute_alignStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 3214 let node = this.ptr2object<AlphabetIndexerInterface>(ptr) 3215 node.alignStyle_value = value 3216 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3217 const alignStyle_offset_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3218 let alignStyle_offset_buf: Length | undefined|undefined 3219 if ((RuntimeType.UNDEFINED) != (alignStyle_offset_buf_runtimeType)) 3220 { 3221 alignStyle_offset_buf = (thisDeserializer.readLength() as Length) 3222 } 3223 node.alignStyle_offset = alignStyle_offset_buf 3224 } 3225 _AnimatorInterface_setAnimatorOptions(ptr: KPointer, value: KStringPtr): void { 3226 let node = this.ptr2object<AnimatorInterface>(ptr) 3227 node.setAnimatorOptions_value = value 3228 } 3229 _AnimatorAttribute_state(ptr: KPointer, value: KInt): void { 3230 let node = this.ptr2object<AnimatorInterface>(ptr) 3231 node.state_value = value 3232 } 3233 _AnimatorAttribute_duration(ptr: KPointer, value: number): void { 3234 let node = this.ptr2object<AnimatorInterface>(ptr) 3235 node.duration_value = value 3236 } 3237 _AnimatorAttribute_curve(ptr: KPointer, value: KInt): void { 3238 let node = this.ptr2object<AnimatorInterface>(ptr) 3239 node.curve_value = value 3240 } 3241 _AnimatorAttribute_delay(ptr: KPointer, value: number): void { 3242 let node = this.ptr2object<AnimatorInterface>(ptr) 3243 node.delay_value = value 3244 } 3245 _AnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { 3246 let node = this.ptr2object<AnimatorInterface>(ptr) 3247 node.fillMode_value = value 3248 } 3249 _AnimatorAttribute_iterations(ptr: KPointer, value: number): void { 3250 let node = this.ptr2object<AnimatorInterface>(ptr) 3251 node.iterations_value = value 3252 } 3253 _AnimatorAttribute_playMode(ptr: KPointer, value: KInt): void { 3254 let node = this.ptr2object<AnimatorInterface>(ptr) 3255 node.playMode_value = value 3256 } 3257 _AnimatorAttribute_motion(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3258 let node = this.ptr2object<AnimatorInterface>(ptr) 3259 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3260 const motion_value_buf_selector: number = thisDeserializer.readInt8() 3261 let motion_value_buf: SpringMotion | FrictionMotion | ScrollMotion | undefined|undefined 3262 if (motion_value_buf_selector == 0) { 3263 motion_value_buf = thisDeserializer.readSpringMotion() 3264 } 3265 else if (motion_value_buf_selector == 1) { 3266 motion_value_buf = thisDeserializer.readFrictionMotion() 3267 } 3268 else if (motion_value_buf_selector == 2) { 3269 motion_value_buf = thisDeserializer.readScrollMotion() 3270 } 3271 else { 3272 throw new Error("One of the branches for motion_value_buf has to be chosen through deserialisation.") 3273 } 3274 node.motion_value = (motion_value_buf as SpringMotion | FrictionMotion | ScrollMotion) 3275 } 3276 _AnimatorAttribute_onStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3277 let node = this.ptr2object<AnimatorInterface>(ptr) 3278 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3279 node.onStart_value = thisDeserializer.readCallback_Void() 3280 } 3281 _AnimatorAttribute_onPause(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3282 let node = this.ptr2object<AnimatorInterface>(ptr) 3283 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3284 node.onPause_value = thisDeserializer.readCallback_Void() 3285 } 3286 _AnimatorAttribute_onRepeat(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3287 let node = this.ptr2object<AnimatorInterface>(ptr) 3288 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3289 node.onRepeat_value = thisDeserializer.readCallback_Void() 3290 } 3291 _AnimatorAttribute_onCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3292 let node = this.ptr2object<AnimatorInterface>(ptr) 3293 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3294 node.onCancel_value = thisDeserializer.readCallback_Void() 3295 } 3296 _AnimatorAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3297 let node = this.ptr2object<AnimatorInterface>(ptr) 3298 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3299 node.onFinish_value = thisDeserializer.readCallback_Void() 3300 } 3301 _AnimatorAttribute_onFrame(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3302 let node = this.ptr2object<AnimatorInterface>(ptr) 3303 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3304 node.onFrame_value = thisDeserializer.readCallback_Number_Void() 3305 } 3306 _BadgeInterface_setBadgeOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3307 let node = this.ptr2object<BadgeInterface>(ptr) 3308 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3309 node.setBadgeOptions0_value = thisDeserializer.readBadgeParamWithNumber() 3310 } 3311 _BadgeInterface_setBadgeOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3312 let node = this.ptr2object<BadgeInterface>(ptr) 3313 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3314 node.setBadgeOptions1_value = thisDeserializer.readBadgeParamWithString() 3315 } 3316 _BlankInterface_setBlankOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3317 let node = this.ptr2object<BlankInterface>(ptr) 3318 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3319 const setBlankOptions_min_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3320 let setBlankOptions_min_buf: number | string | undefined|undefined 3321 if ((RuntimeType.UNDEFINED) != (setBlankOptions_min_buf_runtimeType)) 3322 { 3323 const setBlankOptions_min_buf__selector: number = thisDeserializer.readInt8() 3324 let setBlankOptions_min_buf_: number | string | undefined|undefined 3325 if (setBlankOptions_min_buf__selector == 0) { 3326 setBlankOptions_min_buf_ = (thisDeserializer.readNumber() as number) 3327 } 3328 else if (setBlankOptions_min_buf__selector == 1) { 3329 setBlankOptions_min_buf_ = (thisDeserializer.readString() as string) 3330 } 3331 else { 3332 throw new Error("One of the branches for setBlankOptions_min_buf_ has to be chosen through deserialisation.") 3333 } 3334 setBlankOptions_min_buf = (setBlankOptions_min_buf_ as number | string) 3335 } 3336 node.setBlankOptions_min = setBlankOptions_min_buf 3337 } 3338 _BlankAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3339 let node = this.ptr2object<BlankInterface>(ptr) 3340 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3341 const color_value_buf_selector: number = thisDeserializer.readInt8() 3342 let color_value_buf: Color | number | string | Resource | undefined|undefined 3343 if (color_value_buf_selector == 0) { 3344 color_value_buf = (thisDeserializer.readInt32() as Color) 3345 } 3346 else if (color_value_buf_selector == 1) { 3347 color_value_buf = (thisDeserializer.readNumber() as number) 3348 } 3349 else if (color_value_buf_selector == 2) { 3350 color_value_buf = (thisDeserializer.readString() as string) 3351 } 3352 else if (color_value_buf_selector == 3) { 3353 color_value_buf = thisDeserializer.readResource() 3354 } 3355 else { 3356 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 3357 } 3358 node.color_value = (color_value_buf as Color | number | string | Resource) 3359 } 3360 _ButtonInterface_setButtonOptions0(ptr: KPointer): void { 3361 let node = this.ptr2object<ButtonInterface>(ptr) 3362 } 3363 _ButtonInterface_setButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3364 let node = this.ptr2object<ButtonInterface>(ptr) 3365 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3366 node.setButtonOptions1_options = thisDeserializer.readButtonOptions() 3367 } 3368 _ButtonInterface_setButtonOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3369 let node = this.ptr2object<ButtonInterface>(ptr) 3370 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3371 const setButtonOptions2_label_buf_selector: number = thisDeserializer.readInt8() 3372 let setButtonOptions2_label_buf: string | Resource | undefined|undefined 3373 if (setButtonOptions2_label_buf_selector == 0) { 3374 setButtonOptions2_label_buf = (thisDeserializer.readString() as string) 3375 } 3376 else if (setButtonOptions2_label_buf_selector == 1) { 3377 setButtonOptions2_label_buf = thisDeserializer.readResource() 3378 } 3379 else { 3380 throw new Error("One of the branches for setButtonOptions2_label_buf has to be chosen through deserialisation.") 3381 } 3382 node.setButtonOptions2_label = (setButtonOptions2_label_buf as string | Resource) 3383 const setButtonOptions2_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3384 let setButtonOptions2_options_buf: ButtonOptions | undefined|undefined 3385 if ((RuntimeType.UNDEFINED) != (setButtonOptions2_options_buf_runtimeType)) 3386 { 3387 setButtonOptions2_options_buf = thisDeserializer.readButtonOptions() 3388 } 3389 node.setButtonOptions2_options = setButtonOptions2_options_buf 3390 } 3391 _ButtonAttribute_type(ptr: KPointer, value: KInt): void { 3392 let node = this.ptr2object<ButtonInterface>(ptr) 3393 node.type_value = value 3394 } 3395 _ButtonAttribute_stateEffect(ptr: KPointer, value: KInt): void { 3396 let node = this.ptr2object<ButtonInterface>(ptr) 3397 node.stateEffect_value = value 3398 } 3399 _ButtonAttribute_buttonStyle(ptr: KPointer, value: KInt): void { 3400 let node = this.ptr2object<ButtonInterface>(ptr) 3401 node.buttonStyle_value = value 3402 } 3403 _ButtonAttribute_controlSize(ptr: KPointer, value: KInt): void { 3404 let node = this.ptr2object<ButtonInterface>(ptr) 3405 node.controlSize_value = value 3406 } 3407 _ButtonAttribute_role(ptr: KPointer, value: KInt): void { 3408 let node = this.ptr2object<ButtonInterface>(ptr) 3409 node.role_value = value 3410 } 3411 _ButtonAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3412 let node = this.ptr2object<ButtonInterface>(ptr) 3413 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3414 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 3415 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 3416 if (fontColor_value_buf_selector == 0) { 3417 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 3418 } 3419 else if (fontColor_value_buf_selector == 1) { 3420 fontColor_value_buf = (thisDeserializer.readNumber() as number) 3421 } 3422 else if (fontColor_value_buf_selector == 2) { 3423 fontColor_value_buf = (thisDeserializer.readString() as string) 3424 } 3425 else if (fontColor_value_buf_selector == 3) { 3426 fontColor_value_buf = thisDeserializer.readResource() 3427 } 3428 else { 3429 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 3430 } 3431 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 3432 } 3433 _ButtonAttribute_fontSize(ptr: KPointer, value: Length): void { 3434 let node = this.ptr2object<ButtonInterface>(ptr) 3435 node.fontSize_value = value 3436 } 3437 _ButtonAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3438 let node = this.ptr2object<ButtonInterface>(ptr) 3439 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3440 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 3441 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 3442 if (fontWeight_value_buf_selector == 0) { 3443 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 3444 } 3445 else if (fontWeight_value_buf_selector == 1) { 3446 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 3447 } 3448 else if (fontWeight_value_buf_selector == 2) { 3449 fontWeight_value_buf = (thisDeserializer.readString() as string) 3450 } 3451 else { 3452 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 3453 } 3454 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 3455 } 3456 _ButtonAttribute_fontStyle(ptr: KPointer, value: KInt): void { 3457 let node = this.ptr2object<ButtonInterface>(ptr) 3458 node.fontStyle_value = value 3459 } 3460 _ButtonAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3461 let node = this.ptr2object<ButtonInterface>(ptr) 3462 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3463 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 3464 let fontFamily_value_buf: string | Resource | undefined|undefined 3465 if (fontFamily_value_buf_selector == 0) { 3466 fontFamily_value_buf = (thisDeserializer.readString() as string) 3467 } 3468 else if (fontFamily_value_buf_selector == 1) { 3469 fontFamily_value_buf = thisDeserializer.readResource() 3470 } 3471 else { 3472 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 3473 } 3474 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 3475 } 3476 _ButtonAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3477 let node = this.ptr2object<ButtonInterface>(ptr) 3478 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3479 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 3480 } 3481 _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3482 let node = this.ptr2object<ButtonInterface>(ptr) 3483 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3484 node.labelStyle_value = thisDeserializer.readLabelStyle() 3485 } 3486 _CalendarInterface_setCalendarOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3487 let node = this.ptr2object<CalendarInterface>(ptr) 3488 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3489 const setCalendarOptions_value_buf_date_buf_year: number = (thisDeserializer.readNumber() as number) 3490 const setCalendarOptions_value_buf_date_buf_month: number = (thisDeserializer.readNumber() as number) 3491 const setCalendarOptions_value_buf_date_buf_day: number = (thisDeserializer.readNumber() as number) 3492 const setCalendarOptions_value_buf_date: { year: number, month: number, day: number } = ({year: setCalendarOptions_value_buf_date_buf_year, month: setCalendarOptions_value_buf_date_buf_month, day: setCalendarOptions_value_buf_date_buf_day} as { year: number, month: number, day: number }) 3493 const setCalendarOptions_value_buf_currentData: MonthData = thisDeserializer.readMonthData() 3494 const setCalendarOptions_value_buf_preData: MonthData = thisDeserializer.readMonthData() 3495 const setCalendarOptions_value_buf_nextData: MonthData = thisDeserializer.readMonthData() 3496 const setCalendarOptions_value_buf_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3497 let setCalendarOptions_value_buf_controller_buf: CalendarController | undefined|undefined 3498 if ((RuntimeType.UNDEFINED) != (setCalendarOptions_value_buf_controller_buf_runtimeType)) 3499 { 3500 setCalendarOptions_value_buf_controller_buf = (thisDeserializer.readCalendarController() as CalendarController) 3501 } 3502 const setCalendarOptions_value_buf_controller: undefined | CalendarController = setCalendarOptions_value_buf_controller_buf 3503 node.setCalendarOptions_value = ({date: setCalendarOptions_value_buf_date, currentData: setCalendarOptions_value_buf_currentData, preData: setCalendarOptions_value_buf_preData, nextData: setCalendarOptions_value_buf_nextData, controller: setCalendarOptions_value_buf_controller} as { date: { year: number, month: number, day: number }, currentData: MonthData, preData: MonthData, nextData: MonthData, controller?: CalendarController }) 3504 } 3505 _CalendarAttribute_showLunar(ptr: KPointer, value: KInt): void { 3506 let node = this.ptr2object<CalendarInterface>(ptr) 3507 node.showLunar_value = value 3508 } 3509 _CalendarAttribute_showHoliday(ptr: KPointer, value: KInt): void { 3510 let node = this.ptr2object<CalendarInterface>(ptr) 3511 node.showHoliday_value = value 3512 } 3513 _CalendarAttribute_needSlide(ptr: KPointer, value: KInt): void { 3514 let node = this.ptr2object<CalendarInterface>(ptr) 3515 node.needSlide_value = value 3516 } 3517 _CalendarAttribute_startOfWeek(ptr: KPointer, value: number): void { 3518 let node = this.ptr2object<CalendarInterface>(ptr) 3519 node.startOfWeek_value = value 3520 } 3521 _CalendarAttribute_offDays(ptr: KPointer, value: number): void { 3522 let node = this.ptr2object<CalendarInterface>(ptr) 3523 node.offDays_value = value 3524 } 3525 _CalendarAttribute_direction(ptr: KPointer, value: KInt): void { 3526 let node = this.ptr2object<CalendarInterface>(ptr) 3527 node.direction_value = value 3528 } 3529 _CalendarAttribute_currentDayStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3530 let node = this.ptr2object<CalendarInterface>(ptr) 3531 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3532 node.currentDayStyle_value = thisDeserializer.readCurrentDayStyle() 3533 } 3534 _CalendarAttribute_nonCurrentDayStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3535 let node = this.ptr2object<CalendarInterface>(ptr) 3536 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3537 node.nonCurrentDayStyle_value = thisDeserializer.readNonCurrentDayStyle() 3538 } 3539 _CalendarAttribute_todayStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3540 let node = this.ptr2object<CalendarInterface>(ptr) 3541 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3542 node.todayStyle_value = thisDeserializer.readTodayStyle() 3543 } 3544 _CalendarAttribute_weekStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3545 let node = this.ptr2object<CalendarInterface>(ptr) 3546 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3547 node.weekStyle_value = thisDeserializer.readWeekStyle() 3548 } 3549 _CalendarAttribute_workStateStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3550 let node = this.ptr2object<CalendarInterface>(ptr) 3551 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3552 node.workStateStyle_value = thisDeserializer.readWorkStateStyle() 3553 } 3554 _CalendarAttribute_onSelectChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3555 let node = this.ptr2object<CalendarInterface>(ptr) 3556 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3557 node.onSelectChange_value = thisDeserializer.readCallback_CalendarSelectedDate_Void() 3558 } 3559 _CalendarAttribute_onRequestData(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3560 let node = this.ptr2object<CalendarInterface>(ptr) 3561 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3562 node.onRequestData_value = thisDeserializer.readCallback_CalendarRequestedData_Void() 3563 } 3564 _CalendarPickerInterface_setCalendarPickerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3565 let node = this.ptr2object<CalendarPickerInterface>(ptr) 3566 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3567 const setCalendarPickerOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3568 let setCalendarPickerOptions_options_buf: CalendarOptions | undefined|undefined 3569 if ((RuntimeType.UNDEFINED) != (setCalendarPickerOptions_options_buf_runtimeType)) 3570 { 3571 setCalendarPickerOptions_options_buf = thisDeserializer.readCalendarOptions() 3572 } 3573 node.setCalendarPickerOptions_options = setCalendarPickerOptions_options_buf 3574 } 3575 _CalendarPickerAttribute_textStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3576 let node = this.ptr2object<CalendarPickerInterface>(ptr) 3577 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3578 node.textStyle_value = thisDeserializer.readPickerTextStyle() 3579 } 3580 _CalendarPickerAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3581 let node = this.ptr2object<CalendarPickerInterface>(ptr) 3582 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3583 node.onChange_value = thisDeserializer.readCallback_Date_Void() 3584 } 3585 _CalendarPickerAttribute_edgeAlign(ptr: KPointer, alignType: KInt, thisArray: Uint8Array, thisLength: int32): void { 3586 let node = this.ptr2object<CalendarPickerInterface>(ptr) 3587 node.edgeAlign_alignType = alignType 3588 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3589 const edgeAlign_offset_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3590 let edgeAlign_offset_buf: Offset | undefined|undefined 3591 if ((RuntimeType.UNDEFINED) != (edgeAlign_offset_buf_runtimeType)) 3592 { 3593 const edgeAlign_offset_buf__dx: Length = (thisDeserializer.readLength() as Length) 3594 const edgeAlign_offset_buf__dy: Length = (thisDeserializer.readLength() as Length) 3595 edgeAlign_offset_buf = ({dx: edgeAlign_offset_buf__dx, dy: edgeAlign_offset_buf__dy} as Offset) 3596 } 3597 node.edgeAlign_offset = edgeAlign_offset_buf 3598 } 3599 _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3600 let node = this.ptr2object<CanvasInterface>(ptr) 3601 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3602 const setCanvasOptions0_context_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3603 let setCanvasOptions0_context_buf: CanvasRenderingContext2D | DrawingRenderingContext | undefined|undefined 3604 if ((RuntimeType.UNDEFINED) != (setCanvasOptions0_context_buf_runtimeType)) 3605 { 3606 const setCanvasOptions0_context_buf__selector: number = thisDeserializer.readInt8() 3607 let setCanvasOptions0_context_buf_: CanvasRenderingContext2D | DrawingRenderingContext | undefined|undefined 3608 if (setCanvasOptions0_context_buf__selector == 0) { 3609 setCanvasOptions0_context_buf_ = (thisDeserializer.readCanvasRenderingContext2D() as CanvasRenderingContext2D) 3610 } 3611 else if (setCanvasOptions0_context_buf__selector == 1) { 3612 setCanvasOptions0_context_buf_ = (thisDeserializer.readDrawingRenderingContext() as DrawingRenderingContext) 3613 } 3614 else { 3615 throw new Error("One of the branches for setCanvasOptions0_context_buf_ has to be chosen through deserialisation.") 3616 } 3617 setCanvasOptions0_context_buf = (setCanvasOptions0_context_buf_ as CanvasRenderingContext2D | DrawingRenderingContext) 3618 } 3619 node.setCanvasOptions0_context = setCanvasOptions0_context_buf 3620 } 3621 _CanvasInterface_setCanvasOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3622 let node = this.ptr2object<CanvasInterface>(ptr) 3623 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3624 const setCanvasOptions1_context_buf_selector: number = thisDeserializer.readInt8() 3625 let setCanvasOptions1_context_buf: CanvasRenderingContext2D | DrawingRenderingContext | undefined|undefined 3626 if (setCanvasOptions1_context_buf_selector == 0) { 3627 setCanvasOptions1_context_buf = (thisDeserializer.readCanvasRenderingContext2D() as CanvasRenderingContext2D) 3628 } 3629 else if (setCanvasOptions1_context_buf_selector == 1) { 3630 setCanvasOptions1_context_buf = (thisDeserializer.readDrawingRenderingContext() as DrawingRenderingContext) 3631 } 3632 else { 3633 throw new Error("One of the branches for setCanvasOptions1_context_buf has to be chosen through deserialisation.") 3634 } 3635 node.setCanvasOptions1_context = (setCanvasOptions1_context_buf as CanvasRenderingContext2D | DrawingRenderingContext) 3636 node.setCanvasOptions1_imageAIOptions = thisDeserializer.readImageAIOptions() 3637 } 3638 _CanvasAttribute_onReady(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3639 let node = this.ptr2object<CanvasInterface>(ptr) 3640 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3641 node.onReady_value = thisDeserializer.readVoidCallback() 3642 } 3643 _CanvasAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { 3644 let node = this.ptr2object<CanvasInterface>(ptr) 3645 node.enableAnalyzer_value = value 3646 } 3647 _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3648 let node = this.ptr2object<CheckboxInterface>(ptr) 3649 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3650 const setCheckboxOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3651 let setCheckboxOptions_options_buf: CheckboxOptions | undefined|undefined 3652 if ((RuntimeType.UNDEFINED) != (setCheckboxOptions_options_buf_runtimeType)) 3653 { 3654 setCheckboxOptions_options_buf = thisDeserializer.readCheckboxOptions() 3655 } 3656 node.setCheckboxOptions_options = setCheckboxOptions_options_buf 3657 } 3658 _CheckboxAttribute_select(ptr: KPointer, value: KInt): void { 3659 let node = this.ptr2object<CheckboxInterface>(ptr) 3660 node.select_value = value 3661 } 3662 _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3663 let node = this.ptr2object<CheckboxInterface>(ptr) 3664 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3665 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3666 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3667 if (selectedColor_value_buf_selector == 0) { 3668 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3669 } 3670 else if (selectedColor_value_buf_selector == 1) { 3671 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 3672 } 3673 else if (selectedColor_value_buf_selector == 2) { 3674 selectedColor_value_buf = (thisDeserializer.readString() as string) 3675 } 3676 else if (selectedColor_value_buf_selector == 3) { 3677 selectedColor_value_buf = thisDeserializer.readResource() 3678 } 3679 else { 3680 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 3681 } 3682 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 3683 } 3684 _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void { 3685 let node = this.ptr2object<CheckboxInterface>(ptr) 3686 node.shape_value = value 3687 } 3688 _CheckboxAttribute_unselectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3689 let node = this.ptr2object<CheckboxInterface>(ptr) 3690 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3691 const unselectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3692 let unselectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3693 if (unselectedColor_value_buf_selector == 0) { 3694 unselectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3695 } 3696 else if (unselectedColor_value_buf_selector == 1) { 3697 unselectedColor_value_buf = (thisDeserializer.readNumber() as number) 3698 } 3699 else if (unselectedColor_value_buf_selector == 2) { 3700 unselectedColor_value_buf = (thisDeserializer.readString() as string) 3701 } 3702 else if (unselectedColor_value_buf_selector == 3) { 3703 unselectedColor_value_buf = thisDeserializer.readResource() 3704 } 3705 else { 3706 throw new Error("One of the branches for unselectedColor_value_buf has to be chosen through deserialisation.") 3707 } 3708 node.unselectedColor_value = (unselectedColor_value_buf as Color | number | string | Resource) 3709 } 3710 _CheckboxAttribute_mark(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3711 let node = this.ptr2object<CheckboxInterface>(ptr) 3712 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3713 node.mark_value = thisDeserializer.readMarkStyle() 3714 } 3715 _CheckboxAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3716 let node = this.ptr2object<CheckboxInterface>(ptr) 3717 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3718 node.onChange_value = thisDeserializer.readOnCheckboxChangeCallback() 3719 } 3720 _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3721 let node = this.ptr2object<CheckboxInterface>(ptr) 3722 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3723 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 3724 } 3725 _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3726 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3727 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3728 const setCheckboxGroupOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3729 let setCheckboxGroupOptions_options_buf: CheckboxGroupOptions | undefined|undefined 3730 if ((RuntimeType.UNDEFINED) != (setCheckboxGroupOptions_options_buf_runtimeType)) 3731 { 3732 setCheckboxGroupOptions_options_buf = thisDeserializer.readCheckboxGroupOptions() 3733 } 3734 node.setCheckboxGroupOptions_options = setCheckboxGroupOptions_options_buf 3735 } 3736 _CheckboxGroupAttribute_selectAll(ptr: KPointer, value: KInt): void { 3737 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3738 node.selectAll_value = value 3739 } 3740 _CheckboxGroupAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3741 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3742 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3743 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3744 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3745 if (selectedColor_value_buf_selector == 0) { 3746 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3747 } 3748 else if (selectedColor_value_buf_selector == 1) { 3749 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 3750 } 3751 else if (selectedColor_value_buf_selector == 2) { 3752 selectedColor_value_buf = (thisDeserializer.readString() as string) 3753 } 3754 else if (selectedColor_value_buf_selector == 3) { 3755 selectedColor_value_buf = thisDeserializer.readResource() 3756 } 3757 else { 3758 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 3759 } 3760 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 3761 } 3762 _CheckboxGroupAttribute_unselectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3763 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3764 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3765 const unselectedColor_value_buf_selector: number = thisDeserializer.readInt8() 3766 let unselectedColor_value_buf: Color | number | string | Resource | undefined|undefined 3767 if (unselectedColor_value_buf_selector == 0) { 3768 unselectedColor_value_buf = (thisDeserializer.readInt32() as Color) 3769 } 3770 else if (unselectedColor_value_buf_selector == 1) { 3771 unselectedColor_value_buf = (thisDeserializer.readNumber() as number) 3772 } 3773 else if (unselectedColor_value_buf_selector == 2) { 3774 unselectedColor_value_buf = (thisDeserializer.readString() as string) 3775 } 3776 else if (unselectedColor_value_buf_selector == 3) { 3777 unselectedColor_value_buf = thisDeserializer.readResource() 3778 } 3779 else { 3780 throw new Error("One of the branches for unselectedColor_value_buf has to be chosen through deserialisation.") 3781 } 3782 node.unselectedColor_value = (unselectedColor_value_buf as Color | number | string | Resource) 3783 } 3784 _CheckboxGroupAttribute_mark(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3785 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3786 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3787 node.mark_value = thisDeserializer.readMarkStyle() 3788 } 3789 _CheckboxGroupAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3790 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3791 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3792 node.onChange_value = thisDeserializer.readOnCheckboxGroupChangeCallback() 3793 } 3794 _CheckboxGroupAttribute_checkboxShape(ptr: KPointer, value: KInt): void { 3795 let node = this.ptr2object<CheckboxGroupInterface>(ptr) 3796 node.checkboxShape_value = value 3797 } 3798 _CircleInterface_setCircleOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3799 let node = this.ptr2object<CircleInterface>(ptr) 3800 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3801 const setCircleOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3802 let setCircleOptions_value_buf: CircleOptions | undefined|undefined 3803 if ((RuntimeType.UNDEFINED) != (setCircleOptions_value_buf_runtimeType)) 3804 { 3805 setCircleOptions_value_buf = thisDeserializer.readCircleOptions() 3806 } 3807 node.setCircleOptions_value = setCircleOptions_value_buf 3808 } 3809 _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3810 let node = this.ptr2object<ColumnInterface>(ptr) 3811 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3812 const setColumnOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3813 let setColumnOptions_options_buf: ColumnOptions | undefined|undefined 3814 if ((RuntimeType.UNDEFINED) != (setColumnOptions_options_buf_runtimeType)) 3815 { 3816 setColumnOptions_options_buf = thisDeserializer.readColumnOptions() 3817 } 3818 node.setColumnOptions_options = setColumnOptions_options_buf 3819 } 3820 _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { 3821 let node = this.ptr2object<ColumnInterface>(ptr) 3822 node.alignItems_value = value 3823 } 3824 _ColumnAttribute_justifyContent(ptr: KPointer, value: KInt): void { 3825 let node = this.ptr2object<ColumnInterface>(ptr) 3826 node.justifyContent_value = value 3827 } 3828 _ColumnAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3829 let node = this.ptr2object<ColumnInterface>(ptr) 3830 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3831 node.pointLight_value = thisDeserializer.readPointLightStyle() 3832 } 3833 _ColumnAttribute_reverse(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3834 let node = this.ptr2object<ColumnInterface>(ptr) 3835 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3836 const reverse_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3837 let reverse_value_buf: boolean | undefined|undefined 3838 if ((RuntimeType.UNDEFINED) != (reverse_value_buf_runtimeType)) 3839 { 3840 reverse_value_buf = thisDeserializer.readBoolean() 3841 } 3842 node.reverse_value = reverse_value_buf 3843 } 3844 _ColumnSplitInterface_setColumnSplitOptions(ptr: KPointer): void { 3845 let node = this.ptr2object<ColumnSplitInterface>(ptr) 3846 } 3847 _ColumnSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { 3848 let node = this.ptr2object<ColumnSplitInterface>(ptr) 3849 node.resizeable_value = value 3850 } 3851 _ColumnSplitAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3852 let node = this.ptr2object<ColumnSplitInterface>(ptr) 3853 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3854 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3855 let divider_value_buf: ColumnSplitDividerStyle | undefined|undefined 3856 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 3857 { 3858 divider_value_buf = thisDeserializer.readColumnSplitDividerStyle() 3859 } 3860 node.divider_value = divider_value_buf 3861 } 3862 _CommonMethod_width(ptr: KPointer, value: Length): void { 3863 let node = this.ptr2object<CommonMethodInterface>(ptr) 3864 node.width_value = value 3865 } 3866 _CommonMethod_height(ptr: KPointer, value: Length): void { 3867 let node = this.ptr2object<CommonMethodInterface>(ptr) 3868 node.height_value = value 3869 } 3870 _CommonMethod_drawModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3871 let node = this.ptr2object<CommonMethodInterface>(ptr) 3872 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3873 const drawModifier_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3874 let drawModifier_value_buf: DrawModifier | undefined|undefined 3875 if ((RuntimeType.UNDEFINED) != (drawModifier_value_buf_runtimeType)) 3876 { 3877 drawModifier_value_buf = (thisDeserializer.readDrawModifier() as DrawModifier) 3878 } 3879 node.drawModifier_value = drawModifier_value_buf 3880 } 3881 _CommonMethod_responseRegion(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3882 let node = this.ptr2object<CommonMethodInterface>(ptr) 3883 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3884 const responseRegion_value_buf_selector: number = thisDeserializer.readInt8() 3885 let responseRegion_value_buf: Array<Rectangle> | Rectangle | undefined|undefined 3886 if (responseRegion_value_buf_selector == 0) { 3887 const responseRegion_value_buf_u_length: int32 = thisDeserializer.readInt32() 3888 let responseRegion_value_buf_u: Array<Rectangle> = new Array<Rectangle>() 3889 for (let responseRegion_value_buf_u_i = 0; responseRegion_value_buf_u_i < responseRegion_value_buf_u_length; responseRegion_value_buf_u_i++) { 3890 responseRegion_value_buf_u[responseRegion_value_buf_u_i] = thisDeserializer.readRectangle() 3891 } 3892 responseRegion_value_buf = responseRegion_value_buf_u 3893 } 3894 else if (responseRegion_value_buf_selector == 1) { 3895 responseRegion_value_buf = thisDeserializer.readRectangle() 3896 } 3897 else { 3898 throw new Error("One of the branches for responseRegion_value_buf has to be chosen through deserialisation.") 3899 } 3900 node.responseRegion_value = (responseRegion_value_buf as Array<Rectangle> | Rectangle) 3901 } 3902 _CommonMethod_mouseResponseRegion(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3903 let node = this.ptr2object<CommonMethodInterface>(ptr) 3904 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3905 const mouseResponseRegion_value_buf_selector: number = thisDeserializer.readInt8() 3906 let mouseResponseRegion_value_buf: Array<Rectangle> | Rectangle | undefined|undefined 3907 if (mouseResponseRegion_value_buf_selector == 0) { 3908 const mouseResponseRegion_value_buf_u_length: int32 = thisDeserializer.readInt32() 3909 let mouseResponseRegion_value_buf_u: Array<Rectangle> = new Array<Rectangle>() 3910 for (let mouseResponseRegion_value_buf_u_i = 0; mouseResponseRegion_value_buf_u_i < mouseResponseRegion_value_buf_u_length; mouseResponseRegion_value_buf_u_i++) { 3911 mouseResponseRegion_value_buf_u[mouseResponseRegion_value_buf_u_i] = thisDeserializer.readRectangle() 3912 } 3913 mouseResponseRegion_value_buf = mouseResponseRegion_value_buf_u 3914 } 3915 else if (mouseResponseRegion_value_buf_selector == 1) { 3916 mouseResponseRegion_value_buf = thisDeserializer.readRectangle() 3917 } 3918 else { 3919 throw new Error("One of the branches for mouseResponseRegion_value_buf has to be chosen through deserialisation.") 3920 } 3921 node.mouseResponseRegion_value = (mouseResponseRegion_value_buf as Array<Rectangle> | Rectangle) 3922 } 3923 _CommonMethod_size(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3924 let node = this.ptr2object<CommonMethodInterface>(ptr) 3925 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3926 node.size_value = thisDeserializer.readSizeOptions() 3927 } 3928 _CommonMethod_constraintSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3929 let node = this.ptr2object<CommonMethodInterface>(ptr) 3930 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3931 node.constraintSize_value = thisDeserializer.readConstraintSizeOptions() 3932 } 3933 _CommonMethod_touchable(ptr: KPointer, value: KInt): void { 3934 let node = this.ptr2object<CommonMethodInterface>(ptr) 3935 node.touchable_value = value 3936 } 3937 _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void { 3938 let node = this.ptr2object<CommonMethodInterface>(ptr) 3939 node.hitTestBehavior_value = value 3940 } 3941 _CommonMethod_onChildTouchTest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3942 let node = this.ptr2object<CommonMethodInterface>(ptr) 3943 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3944 node.onChildTouchTest_value = thisDeserializer.readCallback_Array_TouchTestInfo_TouchResult() 3945 } 3946 _CommonMethod_layoutWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3947 let node = this.ptr2object<CommonMethodInterface>(ptr) 3948 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3949 const layoutWeight_value_buf_selector: number = thisDeserializer.readInt8() 3950 let layoutWeight_value_buf: number | string | undefined|undefined 3951 if (layoutWeight_value_buf_selector == 0) { 3952 layoutWeight_value_buf = (thisDeserializer.readNumber() as number) 3953 } 3954 else if (layoutWeight_value_buf_selector == 1) { 3955 layoutWeight_value_buf = (thisDeserializer.readString() as string) 3956 } 3957 else { 3958 throw new Error("One of the branches for layoutWeight_value_buf has to be chosen through deserialisation.") 3959 } 3960 node.layoutWeight_value = (layoutWeight_value_buf as number | string) 3961 } 3962 _CommonMethod_chainWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3963 let node = this.ptr2object<CommonMethodInterface>(ptr) 3964 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3965 node.chainWeight_value = thisDeserializer.readChainWeightOptions() 3966 } 3967 _CommonMethod_padding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 3968 let node = this.ptr2object<CommonMethodInterface>(ptr) 3969 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 3970 const padding_value_buf_selector: number = thisDeserializer.readInt8() 3971 let padding_value_buf: Padding | Length | LocalizedPadding | undefined|undefined 3972 if (padding_value_buf_selector == 0) { 3973 const padding_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3974 let padding_value_buf_u_top_buf: Length | undefined|undefined 3975 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_top_buf_runtimeType)) 3976 { 3977 padding_value_buf_u_top_buf = (thisDeserializer.readLength() as Length) 3978 } 3979 const padding_value_buf_u_top: undefined | Length = padding_value_buf_u_top_buf 3980 const padding_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3981 let padding_value_buf_u_right_buf: Length | undefined|undefined 3982 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_right_buf_runtimeType)) 3983 { 3984 padding_value_buf_u_right_buf = (thisDeserializer.readLength() as Length) 3985 } 3986 const padding_value_buf_u_right: undefined | Length = padding_value_buf_u_right_buf 3987 const padding_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3988 let padding_value_buf_u_bottom_buf: Length | undefined|undefined 3989 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_bottom_buf_runtimeType)) 3990 { 3991 padding_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Length) 3992 } 3993 const padding_value_buf_u_bottom: undefined | Length = padding_value_buf_u_bottom_buf 3994 const padding_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 3995 let padding_value_buf_u_left_buf: Length | undefined|undefined 3996 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_left_buf_runtimeType)) 3997 { 3998 padding_value_buf_u_left_buf = (thisDeserializer.readLength() as Length) 3999 } 4000 const padding_value_buf_u_left: undefined | Length = padding_value_buf_u_left_buf 4001 padding_value_buf = ({top: padding_value_buf_u_top, right: padding_value_buf_u_right, bottom: padding_value_buf_u_bottom, left: padding_value_buf_u_left} as Padding) 4002 } 4003 else if (padding_value_buf_selector == 1) { 4004 padding_value_buf = (thisDeserializer.readLength() as Length) 4005 } 4006 else if (padding_value_buf_selector == 2) { 4007 padding_value_buf = thisDeserializer.readLocalizedPadding() 4008 } 4009 else { 4010 throw new Error("One of the branches for padding_value_buf has to be chosen through deserialisation.") 4011 } 4012 node.padding_value = (padding_value_buf as Padding | Length | LocalizedPadding) 4013 } 4014 _CommonMethod_safeAreaPadding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4015 let node = this.ptr2object<CommonMethodInterface>(ptr) 4016 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4017 const safeAreaPadding_value_buf_selector: number = thisDeserializer.readInt8() 4018 let safeAreaPadding_value_buf: Padding | LengthMetrics | LocalizedPadding | undefined|undefined 4019 if (safeAreaPadding_value_buf_selector == 0) { 4020 const safeAreaPadding_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4021 let safeAreaPadding_value_buf_u_top_buf: Length | undefined|undefined 4022 if ((RuntimeType.UNDEFINED) != (safeAreaPadding_value_buf_u_top_buf_runtimeType)) 4023 { 4024 safeAreaPadding_value_buf_u_top_buf = (thisDeserializer.readLength() as Length) 4025 } 4026 const safeAreaPadding_value_buf_u_top: undefined | Length = safeAreaPadding_value_buf_u_top_buf 4027 const safeAreaPadding_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4028 let safeAreaPadding_value_buf_u_right_buf: Length | undefined|undefined 4029 if ((RuntimeType.UNDEFINED) != (safeAreaPadding_value_buf_u_right_buf_runtimeType)) 4030 { 4031 safeAreaPadding_value_buf_u_right_buf = (thisDeserializer.readLength() as Length) 4032 } 4033 const safeAreaPadding_value_buf_u_right: undefined | Length = safeAreaPadding_value_buf_u_right_buf 4034 const safeAreaPadding_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4035 let safeAreaPadding_value_buf_u_bottom_buf: Length | undefined|undefined 4036 if ((RuntimeType.UNDEFINED) != (safeAreaPadding_value_buf_u_bottom_buf_runtimeType)) 4037 { 4038 safeAreaPadding_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Length) 4039 } 4040 const safeAreaPadding_value_buf_u_bottom: undefined | Length = safeAreaPadding_value_buf_u_bottom_buf 4041 const safeAreaPadding_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4042 let safeAreaPadding_value_buf_u_left_buf: Length | undefined|undefined 4043 if ((RuntimeType.UNDEFINED) != (safeAreaPadding_value_buf_u_left_buf_runtimeType)) 4044 { 4045 safeAreaPadding_value_buf_u_left_buf = (thisDeserializer.readLength() as Length) 4046 } 4047 const safeAreaPadding_value_buf_u_left: undefined | Length = safeAreaPadding_value_buf_u_left_buf 4048 safeAreaPadding_value_buf = ({top: safeAreaPadding_value_buf_u_top, right: safeAreaPadding_value_buf_u_right, bottom: safeAreaPadding_value_buf_u_bottom, left: safeAreaPadding_value_buf_u_left} as Padding) 4049 } 4050 else if (safeAreaPadding_value_buf_selector == 1) { 4051 safeAreaPadding_value_buf = thisDeserializer.readLengthMetrics() 4052 } 4053 else if (safeAreaPadding_value_buf_selector == 2) { 4054 safeAreaPadding_value_buf = thisDeserializer.readLocalizedPadding() 4055 } 4056 else { 4057 throw new Error("One of the branches for safeAreaPadding_value_buf has to be chosen through deserialisation.") 4058 } 4059 node.safeAreaPadding_value = (safeAreaPadding_value_buf as Padding | LengthMetrics | LocalizedPadding) 4060 } 4061 _CommonMethod_margin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4062 let node = this.ptr2object<CommonMethodInterface>(ptr) 4063 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4064 const margin_value_buf_selector: number = thisDeserializer.readInt8() 4065 let margin_value_buf: Margin | Length | LocalizedMargin | undefined|undefined 4066 if (margin_value_buf_selector == 0) { 4067 const margin_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4068 let margin_value_buf_u_top_buf: Length | undefined|undefined 4069 if ((RuntimeType.UNDEFINED) != (margin_value_buf_u_top_buf_runtimeType)) 4070 { 4071 margin_value_buf_u_top_buf = (thisDeserializer.readLength() as Length) 4072 } 4073 const margin_value_buf_u_top: undefined | Length = margin_value_buf_u_top_buf 4074 const margin_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4075 let margin_value_buf_u_right_buf: Length | undefined|undefined 4076 if ((RuntimeType.UNDEFINED) != (margin_value_buf_u_right_buf_runtimeType)) 4077 { 4078 margin_value_buf_u_right_buf = (thisDeserializer.readLength() as Length) 4079 } 4080 const margin_value_buf_u_right: undefined | Length = margin_value_buf_u_right_buf 4081 const margin_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4082 let margin_value_buf_u_bottom_buf: Length | undefined|undefined 4083 if ((RuntimeType.UNDEFINED) != (margin_value_buf_u_bottom_buf_runtimeType)) 4084 { 4085 margin_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Length) 4086 } 4087 const margin_value_buf_u_bottom: undefined | Length = margin_value_buf_u_bottom_buf 4088 const margin_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4089 let margin_value_buf_u_left_buf: Length | undefined|undefined 4090 if ((RuntimeType.UNDEFINED) != (margin_value_buf_u_left_buf_runtimeType)) 4091 { 4092 margin_value_buf_u_left_buf = (thisDeserializer.readLength() as Length) 4093 } 4094 const margin_value_buf_u_left: undefined | Length = margin_value_buf_u_left_buf 4095 margin_value_buf = ({top: margin_value_buf_u_top, right: margin_value_buf_u_right, bottom: margin_value_buf_u_bottom, left: margin_value_buf_u_left} as Padding) 4096 } 4097 else if (margin_value_buf_selector == 1) { 4098 margin_value_buf = (thisDeserializer.readLength() as Length) 4099 } 4100 else if (margin_value_buf_selector == 2) { 4101 margin_value_buf = thisDeserializer.readLocalizedPadding() 4102 } 4103 else { 4104 throw new Error("One of the branches for margin_value_buf has to be chosen through deserialisation.") 4105 } 4106 node.margin_value = (margin_value_buf as Margin | Length | LocalizedMargin) 4107 } 4108 _CommonMethod_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4109 let node = this.ptr2object<CommonMethodInterface>(ptr) 4110 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4111 const backgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 4112 let backgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 4113 if (backgroundColor_value_buf_selector == 0) { 4114 backgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 4115 } 4116 else if (backgroundColor_value_buf_selector == 1) { 4117 backgroundColor_value_buf = (thisDeserializer.readNumber() as number) 4118 } 4119 else if (backgroundColor_value_buf_selector == 2) { 4120 backgroundColor_value_buf = (thisDeserializer.readString() as string) 4121 } 4122 else if (backgroundColor_value_buf_selector == 3) { 4123 backgroundColor_value_buf = thisDeserializer.readResource() 4124 } 4125 else { 4126 throw new Error("One of the branches for backgroundColor_value_buf has to be chosen through deserialisation.") 4127 } 4128 node.backgroundColor_value = (backgroundColor_value_buf as Color | number | string | Resource) 4129 } 4130 _CommonMethod_pixelRound(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4131 let node = this.ptr2object<CommonMethodInterface>(ptr) 4132 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4133 node.pixelRound_value = thisDeserializer.readPixelRoundPolicy() 4134 } 4135 _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4136 let node = this.ptr2object<CommonMethodInterface>(ptr) 4137 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4138 const backgroundImageSize_value_buf_selector: number = thisDeserializer.readInt8() 4139 let backgroundImageSize_value_buf: SizeOptions | ImageSize | undefined|undefined 4140 if (backgroundImageSize_value_buf_selector == 0) { 4141 backgroundImageSize_value_buf = thisDeserializer.readSizeOptions() 4142 } 4143 else if (backgroundImageSize_value_buf_selector == 1) { 4144 backgroundImageSize_value_buf = (thisDeserializer.readInt32() as ImageSize) 4145 } 4146 else { 4147 throw new Error("One of the branches for backgroundImageSize_value_buf has to be chosen through deserialisation.") 4148 } 4149 node.backgroundImageSize_value = (backgroundImageSize_value_buf as SizeOptions | ImageSize) 4150 } 4151 _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4152 let node = this.ptr2object<CommonMethodInterface>(ptr) 4153 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4154 const backgroundImagePosition_value_buf_selector: number = thisDeserializer.readInt8() 4155 let backgroundImagePosition_value_buf: Position | Alignment | undefined|undefined 4156 if (backgroundImagePosition_value_buf_selector == 0) { 4157 backgroundImagePosition_value_buf = thisDeserializer.readPosition() 4158 } 4159 else if (backgroundImagePosition_value_buf_selector == 1) { 4160 backgroundImagePosition_value_buf = (thisDeserializer.readInt32() as Alignment) 4161 } 4162 else { 4163 throw new Error("One of the branches for backgroundImagePosition_value_buf has to be chosen through deserialisation.") 4164 } 4165 node.backgroundImagePosition_value = (backgroundImagePosition_value_buf as Position | Alignment) 4166 } 4167 _CommonMethod_backgroundEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4168 let node = this.ptr2object<CommonMethodInterface>(ptr) 4169 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4170 node.backgroundEffect_value = thisDeserializer.readBackgroundEffectOptions() 4171 } 4172 _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4173 let node = this.ptr2object<CommonMethodInterface>(ptr) 4174 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4175 node.backgroundImageResizable_value = thisDeserializer.readResizableOptions() 4176 } 4177 _CommonMethod_foregroundEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4178 let node = this.ptr2object<CommonMethodInterface>(ptr) 4179 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4180 node.foregroundEffect_value = thisDeserializer.readForegroundEffectOptions() 4181 } 4182 _CommonMethod_visualEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4183 let node = this.ptr2object<CommonMethodInterface>(ptr) 4184 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4185 node.visualEffect_value = thisDeserializer.readVisualEffect() 4186 } 4187 _CommonMethod_backgroundFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4188 let node = this.ptr2object<CommonMethodInterface>(ptr) 4189 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4190 node.backgroundFilter_value = thisDeserializer.readFilter() 4191 } 4192 _CommonMethod_foregroundFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4193 let node = this.ptr2object<CommonMethodInterface>(ptr) 4194 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4195 node.foregroundFilter_value = thisDeserializer.readFilter() 4196 } 4197 _CommonMethod_compositingFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4198 let node = this.ptr2object<CommonMethodInterface>(ptr) 4199 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4200 node.compositingFilter_value = thisDeserializer.readFilter() 4201 } 4202 _CommonMethod_opacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4203 let node = this.ptr2object<CommonMethodInterface>(ptr) 4204 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4205 const opacity_value_buf_selector: number = thisDeserializer.readInt8() 4206 let opacity_value_buf: number | Resource | undefined|undefined 4207 if (opacity_value_buf_selector == 0) { 4208 opacity_value_buf = (thisDeserializer.readNumber() as number) 4209 } 4210 else if (opacity_value_buf_selector == 1) { 4211 opacity_value_buf = thisDeserializer.readResource() 4212 } 4213 else { 4214 throw new Error("One of the branches for opacity_value_buf has to be chosen through deserialisation.") 4215 } 4216 node.opacity_value = (opacity_value_buf as number | Resource) 4217 } 4218 _CommonMethod_border(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4219 let node = this.ptr2object<CommonMethodInterface>(ptr) 4220 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4221 node.border_value = thisDeserializer.readBorderOptions() 4222 } 4223 _CommonMethod_borderStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4224 let node = this.ptr2object<CommonMethodInterface>(ptr) 4225 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4226 const borderStyle_value_buf_selector: number = thisDeserializer.readInt8() 4227 let borderStyle_value_buf: BorderStyle | EdgeStyles | undefined|undefined 4228 if (borderStyle_value_buf_selector == 0) { 4229 borderStyle_value_buf = (thisDeserializer.readInt32() as BorderStyle) 4230 } 4231 else if (borderStyle_value_buf_selector == 1) { 4232 const borderStyle_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4233 let borderStyle_value_buf_u_top_buf: BorderStyle | undefined|undefined 4234 if ((RuntimeType.UNDEFINED) != (borderStyle_value_buf_u_top_buf_runtimeType)) 4235 { 4236 borderStyle_value_buf_u_top_buf = (thisDeserializer.readInt32() as BorderStyle) 4237 } 4238 const borderStyle_value_buf_u_top: undefined | BorderStyle = borderStyle_value_buf_u_top_buf 4239 const borderStyle_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4240 let borderStyle_value_buf_u_right_buf: BorderStyle | undefined|undefined 4241 if ((RuntimeType.UNDEFINED) != (borderStyle_value_buf_u_right_buf_runtimeType)) 4242 { 4243 borderStyle_value_buf_u_right_buf = (thisDeserializer.readInt32() as BorderStyle) 4244 } 4245 const borderStyle_value_buf_u_right: undefined | BorderStyle = borderStyle_value_buf_u_right_buf 4246 const borderStyle_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4247 let borderStyle_value_buf_u_bottom_buf: BorderStyle | undefined|undefined 4248 if ((RuntimeType.UNDEFINED) != (borderStyle_value_buf_u_bottom_buf_runtimeType)) 4249 { 4250 borderStyle_value_buf_u_bottom_buf = (thisDeserializer.readInt32() as BorderStyle) 4251 } 4252 const borderStyle_value_buf_u_bottom: undefined | BorderStyle = borderStyle_value_buf_u_bottom_buf 4253 const borderStyle_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4254 let borderStyle_value_buf_u_left_buf: BorderStyle | undefined|undefined 4255 if ((RuntimeType.UNDEFINED) != (borderStyle_value_buf_u_left_buf_runtimeType)) 4256 { 4257 borderStyle_value_buf_u_left_buf = (thisDeserializer.readInt32() as BorderStyle) 4258 } 4259 const borderStyle_value_buf_u_left: undefined | BorderStyle = borderStyle_value_buf_u_left_buf 4260 borderStyle_value_buf = ({top: borderStyle_value_buf_u_top, right: borderStyle_value_buf_u_right, bottom: borderStyle_value_buf_u_bottom, left: borderStyle_value_buf_u_left} as EdgeStyles) 4261 } 4262 else { 4263 throw new Error("One of the branches for borderStyle_value_buf has to be chosen through deserialisation.") 4264 } 4265 node.borderStyle_value = (borderStyle_value_buf as BorderStyle | EdgeStyles) 4266 } 4267 _CommonMethod_borderWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4268 let node = this.ptr2object<CommonMethodInterface>(ptr) 4269 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4270 const borderWidth_value_buf_selector: number = thisDeserializer.readInt8() 4271 let borderWidth_value_buf: Length | EdgeWidths | LocalizedEdgeWidths | undefined|undefined 4272 if (borderWidth_value_buf_selector == 0) { 4273 borderWidth_value_buf = (thisDeserializer.readLength() as Length) 4274 } 4275 else if (borderWidth_value_buf_selector == 1) { 4276 const borderWidth_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4277 let borderWidth_value_buf_u_top_buf: Length | undefined|undefined 4278 if ((RuntimeType.UNDEFINED) != (borderWidth_value_buf_u_top_buf_runtimeType)) 4279 { 4280 borderWidth_value_buf_u_top_buf = (thisDeserializer.readLength() as Length) 4281 } 4282 const borderWidth_value_buf_u_top: undefined | Length = borderWidth_value_buf_u_top_buf 4283 const borderWidth_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4284 let borderWidth_value_buf_u_right_buf: Length | undefined|undefined 4285 if ((RuntimeType.UNDEFINED) != (borderWidth_value_buf_u_right_buf_runtimeType)) 4286 { 4287 borderWidth_value_buf_u_right_buf = (thisDeserializer.readLength() as Length) 4288 } 4289 const borderWidth_value_buf_u_right: undefined | Length = borderWidth_value_buf_u_right_buf 4290 const borderWidth_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4291 let borderWidth_value_buf_u_bottom_buf: Length | undefined|undefined 4292 if ((RuntimeType.UNDEFINED) != (borderWidth_value_buf_u_bottom_buf_runtimeType)) 4293 { 4294 borderWidth_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Length) 4295 } 4296 const borderWidth_value_buf_u_bottom: undefined | Length = borderWidth_value_buf_u_bottom_buf 4297 const borderWidth_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4298 let borderWidth_value_buf_u_left_buf: Length | undefined|undefined 4299 if ((RuntimeType.UNDEFINED) != (borderWidth_value_buf_u_left_buf_runtimeType)) 4300 { 4301 borderWidth_value_buf_u_left_buf = (thisDeserializer.readLength() as Length) 4302 } 4303 const borderWidth_value_buf_u_left: undefined | Length = borderWidth_value_buf_u_left_buf 4304 borderWidth_value_buf = ({top: borderWidth_value_buf_u_top, right: borderWidth_value_buf_u_right, bottom: borderWidth_value_buf_u_bottom, left: borderWidth_value_buf_u_left} as EdgeWidths) 4305 } 4306 else if (borderWidth_value_buf_selector == 2) { 4307 borderWidth_value_buf = thisDeserializer.readLocalizedEdgeWidths() 4308 } 4309 else { 4310 throw new Error("One of the branches for borderWidth_value_buf has to be chosen through deserialisation.") 4311 } 4312 node.borderWidth_value = (borderWidth_value_buf as Length | EdgeWidths | LocalizedEdgeWidths) 4313 } 4314 _CommonMethod_borderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4315 let node = this.ptr2object<CommonMethodInterface>(ptr) 4316 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4317 const borderColor_value_buf_selector: number = thisDeserializer.readInt8() 4318 let borderColor_value_buf: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined 4319 if (borderColor_value_buf_selector == 0) { 4320 const borderColor_value_buf_u_selector: number = thisDeserializer.readInt8() 4321 let borderColor_value_buf_u: Color | number | string | Resource | undefined|undefined 4322 if (borderColor_value_buf_u_selector == 0) { 4323 borderColor_value_buf_u = (thisDeserializer.readInt32() as Color) 4324 } 4325 else if (borderColor_value_buf_u_selector == 1) { 4326 borderColor_value_buf_u = (thisDeserializer.readNumber() as number) 4327 } 4328 else if (borderColor_value_buf_u_selector == 2) { 4329 borderColor_value_buf_u = (thisDeserializer.readString() as string) 4330 } 4331 else if (borderColor_value_buf_u_selector == 3) { 4332 borderColor_value_buf_u = thisDeserializer.readResource() 4333 } 4334 else { 4335 throw new Error("One of the branches for borderColor_value_buf_u has to be chosen through deserialisation.") 4336 } 4337 borderColor_value_buf = (borderColor_value_buf_u as Color | number | string | Resource) 4338 } 4339 else if (borderColor_value_buf_selector == 1) { 4340 const borderColor_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4341 let borderColor_value_buf_u_top_buf: ResourceColor | undefined|undefined 4342 if ((RuntimeType.UNDEFINED) != (borderColor_value_buf_u_top_buf_runtimeType)) 4343 { 4344 const borderColor_value_buf_u_top_buf__selector: number = thisDeserializer.readInt8() 4345 let borderColor_value_buf_u_top_buf_: Color | number | string | Resource | undefined|undefined 4346 if (borderColor_value_buf_u_top_buf__selector == 0) { 4347 borderColor_value_buf_u_top_buf_ = (thisDeserializer.readInt32() as Color) 4348 } 4349 else if (borderColor_value_buf_u_top_buf__selector == 1) { 4350 borderColor_value_buf_u_top_buf_ = (thisDeserializer.readNumber() as number) 4351 } 4352 else if (borderColor_value_buf_u_top_buf__selector == 2) { 4353 borderColor_value_buf_u_top_buf_ = (thisDeserializer.readString() as string) 4354 } 4355 else if (borderColor_value_buf_u_top_buf__selector == 3) { 4356 borderColor_value_buf_u_top_buf_ = thisDeserializer.readResource() 4357 } 4358 else { 4359 throw new Error("One of the branches for borderColor_value_buf_u_top_buf_ has to be chosen through deserialisation.") 4360 } 4361 borderColor_value_buf_u_top_buf = (borderColor_value_buf_u_top_buf_ as Color | number | string | Resource) 4362 } 4363 const borderColor_value_buf_u_top: undefined | ResourceColor = borderColor_value_buf_u_top_buf 4364 const borderColor_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4365 let borderColor_value_buf_u_right_buf: ResourceColor | undefined|undefined 4366 if ((RuntimeType.UNDEFINED) != (borderColor_value_buf_u_right_buf_runtimeType)) 4367 { 4368 const borderColor_value_buf_u_right_buf__selector: number = thisDeserializer.readInt8() 4369 let borderColor_value_buf_u_right_buf_: Color | number | string | Resource | undefined|undefined 4370 if (borderColor_value_buf_u_right_buf__selector == 0) { 4371 borderColor_value_buf_u_right_buf_ = (thisDeserializer.readInt32() as Color) 4372 } 4373 else if (borderColor_value_buf_u_right_buf__selector == 1) { 4374 borderColor_value_buf_u_right_buf_ = (thisDeserializer.readNumber() as number) 4375 } 4376 else if (borderColor_value_buf_u_right_buf__selector == 2) { 4377 borderColor_value_buf_u_right_buf_ = (thisDeserializer.readString() as string) 4378 } 4379 else if (borderColor_value_buf_u_right_buf__selector == 3) { 4380 borderColor_value_buf_u_right_buf_ = thisDeserializer.readResource() 4381 } 4382 else { 4383 throw new Error("One of the branches for borderColor_value_buf_u_right_buf_ has to be chosen through deserialisation.") 4384 } 4385 borderColor_value_buf_u_right_buf = (borderColor_value_buf_u_right_buf_ as Color | number | string | Resource) 4386 } 4387 const borderColor_value_buf_u_right: undefined | ResourceColor = borderColor_value_buf_u_right_buf 4388 const borderColor_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4389 let borderColor_value_buf_u_bottom_buf: ResourceColor | undefined|undefined 4390 if ((RuntimeType.UNDEFINED) != (borderColor_value_buf_u_bottom_buf_runtimeType)) 4391 { 4392 const borderColor_value_buf_u_bottom_buf__selector: number = thisDeserializer.readInt8() 4393 let borderColor_value_buf_u_bottom_buf_: Color | number | string | Resource | undefined|undefined 4394 if (borderColor_value_buf_u_bottom_buf__selector == 0) { 4395 borderColor_value_buf_u_bottom_buf_ = (thisDeserializer.readInt32() as Color) 4396 } 4397 else if (borderColor_value_buf_u_bottom_buf__selector == 1) { 4398 borderColor_value_buf_u_bottom_buf_ = (thisDeserializer.readNumber() as number) 4399 } 4400 else if (borderColor_value_buf_u_bottom_buf__selector == 2) { 4401 borderColor_value_buf_u_bottom_buf_ = (thisDeserializer.readString() as string) 4402 } 4403 else if (borderColor_value_buf_u_bottom_buf__selector == 3) { 4404 borderColor_value_buf_u_bottom_buf_ = thisDeserializer.readResource() 4405 } 4406 else { 4407 throw new Error("One of the branches for borderColor_value_buf_u_bottom_buf_ has to be chosen through deserialisation.") 4408 } 4409 borderColor_value_buf_u_bottom_buf = (borderColor_value_buf_u_bottom_buf_ as Color | number | string | Resource) 4410 } 4411 const borderColor_value_buf_u_bottom: undefined | ResourceColor = borderColor_value_buf_u_bottom_buf 4412 const borderColor_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4413 let borderColor_value_buf_u_left_buf: ResourceColor | undefined|undefined 4414 if ((RuntimeType.UNDEFINED) != (borderColor_value_buf_u_left_buf_runtimeType)) 4415 { 4416 const borderColor_value_buf_u_left_buf__selector: number = thisDeserializer.readInt8() 4417 let borderColor_value_buf_u_left_buf_: Color | number | string | Resource | undefined|undefined 4418 if (borderColor_value_buf_u_left_buf__selector == 0) { 4419 borderColor_value_buf_u_left_buf_ = (thisDeserializer.readInt32() as Color) 4420 } 4421 else if (borderColor_value_buf_u_left_buf__selector == 1) { 4422 borderColor_value_buf_u_left_buf_ = (thisDeserializer.readNumber() as number) 4423 } 4424 else if (borderColor_value_buf_u_left_buf__selector == 2) { 4425 borderColor_value_buf_u_left_buf_ = (thisDeserializer.readString() as string) 4426 } 4427 else if (borderColor_value_buf_u_left_buf__selector == 3) { 4428 borderColor_value_buf_u_left_buf_ = thisDeserializer.readResource() 4429 } 4430 else { 4431 throw new Error("One of the branches for borderColor_value_buf_u_left_buf_ has to be chosen through deserialisation.") 4432 } 4433 borderColor_value_buf_u_left_buf = (borderColor_value_buf_u_left_buf_ as Color | number | string | Resource) 4434 } 4435 const borderColor_value_buf_u_left: undefined | ResourceColor = borderColor_value_buf_u_left_buf 4436 borderColor_value_buf = ({top: borderColor_value_buf_u_top, right: borderColor_value_buf_u_right, bottom: borderColor_value_buf_u_bottom, left: borderColor_value_buf_u_left} as EdgeColors) 4437 } 4438 else if (borderColor_value_buf_selector == 2) { 4439 borderColor_value_buf = thisDeserializer.readLocalizedEdgeColors() 4440 } 4441 else { 4442 throw new Error("One of the branches for borderColor_value_buf has to be chosen through deserialisation.") 4443 } 4444 node.borderColor_value = (borderColor_value_buf as ResourceColor | EdgeColors | LocalizedEdgeColors) 4445 } 4446 _CommonMethod_borderRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4447 let node = this.ptr2object<CommonMethodInterface>(ptr) 4448 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4449 const borderRadius_value_buf_selector: number = thisDeserializer.readInt8() 4450 let borderRadius_value_buf: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined 4451 if (borderRadius_value_buf_selector == 0) { 4452 borderRadius_value_buf = (thisDeserializer.readLength() as Length) 4453 } 4454 else if (borderRadius_value_buf_selector == 1) { 4455 const borderRadius_value_buf_u_topLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4456 let borderRadius_value_buf_u_topLeft_buf: Length | undefined|undefined 4457 if ((RuntimeType.UNDEFINED) != (borderRadius_value_buf_u_topLeft_buf_runtimeType)) 4458 { 4459 borderRadius_value_buf_u_topLeft_buf = (thisDeserializer.readLength() as Length) 4460 } 4461 const borderRadius_value_buf_u_topLeft: undefined | Length = borderRadius_value_buf_u_topLeft_buf 4462 const borderRadius_value_buf_u_topRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4463 let borderRadius_value_buf_u_topRight_buf: Length | undefined|undefined 4464 if ((RuntimeType.UNDEFINED) != (borderRadius_value_buf_u_topRight_buf_runtimeType)) 4465 { 4466 borderRadius_value_buf_u_topRight_buf = (thisDeserializer.readLength() as Length) 4467 } 4468 const borderRadius_value_buf_u_topRight: undefined | Length = borderRadius_value_buf_u_topRight_buf 4469 const borderRadius_value_buf_u_bottomLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4470 let borderRadius_value_buf_u_bottomLeft_buf: Length | undefined|undefined 4471 if ((RuntimeType.UNDEFINED) != (borderRadius_value_buf_u_bottomLeft_buf_runtimeType)) 4472 { 4473 borderRadius_value_buf_u_bottomLeft_buf = (thisDeserializer.readLength() as Length) 4474 } 4475 const borderRadius_value_buf_u_bottomLeft: undefined | Length = borderRadius_value_buf_u_bottomLeft_buf 4476 const borderRadius_value_buf_u_bottomRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4477 let borderRadius_value_buf_u_bottomRight_buf: Length | undefined|undefined 4478 if ((RuntimeType.UNDEFINED) != (borderRadius_value_buf_u_bottomRight_buf_runtimeType)) 4479 { 4480 borderRadius_value_buf_u_bottomRight_buf = (thisDeserializer.readLength() as Length) 4481 } 4482 const borderRadius_value_buf_u_bottomRight: undefined | Length = borderRadius_value_buf_u_bottomRight_buf 4483 borderRadius_value_buf = ({topLeft: borderRadius_value_buf_u_topLeft, topRight: borderRadius_value_buf_u_topRight, bottomLeft: borderRadius_value_buf_u_bottomLeft, bottomRight: borderRadius_value_buf_u_bottomRight} as BorderRadiuses) 4484 } 4485 else if (borderRadius_value_buf_selector == 2) { 4486 borderRadius_value_buf = thisDeserializer.readLocalizedBorderRadiuses() 4487 } 4488 else { 4489 throw new Error("One of the branches for borderRadius_value_buf has to be chosen through deserialisation.") 4490 } 4491 node.borderRadius_value = (borderRadius_value_buf as Length | BorderRadiuses | LocalizedBorderRadiuses) 4492 } 4493 _CommonMethod_borderImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4494 let node = this.ptr2object<CommonMethodInterface>(ptr) 4495 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4496 node.borderImage_value = thisDeserializer.readBorderImageOption() 4497 } 4498 _CommonMethod_outline(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4499 let node = this.ptr2object<CommonMethodInterface>(ptr) 4500 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4501 node.outline_value = thisDeserializer.readOutlineOptions() 4502 } 4503 _CommonMethod_outlineStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4504 let node = this.ptr2object<CommonMethodInterface>(ptr) 4505 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4506 const outlineStyle_value_buf_selector: number = thisDeserializer.readInt8() 4507 let outlineStyle_value_buf: OutlineStyle | EdgeOutlineStyles | undefined|undefined 4508 if (outlineStyle_value_buf_selector == 0) { 4509 outlineStyle_value_buf = (thisDeserializer.readInt32() as OutlineStyle) 4510 } 4511 else if (outlineStyle_value_buf_selector == 1) { 4512 const outlineStyle_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4513 let outlineStyle_value_buf_u_top_buf: OutlineStyle | undefined|undefined 4514 if ((RuntimeType.UNDEFINED) != (outlineStyle_value_buf_u_top_buf_runtimeType)) 4515 { 4516 outlineStyle_value_buf_u_top_buf = (thisDeserializer.readInt32() as OutlineStyle) 4517 } 4518 const outlineStyle_value_buf_u_top: undefined | OutlineStyle = outlineStyle_value_buf_u_top_buf 4519 const outlineStyle_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4520 let outlineStyle_value_buf_u_right_buf: OutlineStyle | undefined|undefined 4521 if ((RuntimeType.UNDEFINED) != (outlineStyle_value_buf_u_right_buf_runtimeType)) 4522 { 4523 outlineStyle_value_buf_u_right_buf = (thisDeserializer.readInt32() as OutlineStyle) 4524 } 4525 const outlineStyle_value_buf_u_right: undefined | OutlineStyle = outlineStyle_value_buf_u_right_buf 4526 const outlineStyle_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4527 let outlineStyle_value_buf_u_bottom_buf: OutlineStyle | undefined|undefined 4528 if ((RuntimeType.UNDEFINED) != (outlineStyle_value_buf_u_bottom_buf_runtimeType)) 4529 { 4530 outlineStyle_value_buf_u_bottom_buf = (thisDeserializer.readInt32() as OutlineStyle) 4531 } 4532 const outlineStyle_value_buf_u_bottom: undefined | OutlineStyle = outlineStyle_value_buf_u_bottom_buf 4533 const outlineStyle_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4534 let outlineStyle_value_buf_u_left_buf: OutlineStyle | undefined|undefined 4535 if ((RuntimeType.UNDEFINED) != (outlineStyle_value_buf_u_left_buf_runtimeType)) 4536 { 4537 outlineStyle_value_buf_u_left_buf = (thisDeserializer.readInt32() as OutlineStyle) 4538 } 4539 const outlineStyle_value_buf_u_left: undefined | OutlineStyle = outlineStyle_value_buf_u_left_buf 4540 outlineStyle_value_buf = ({top: outlineStyle_value_buf_u_top, right: outlineStyle_value_buf_u_right, bottom: outlineStyle_value_buf_u_bottom, left: outlineStyle_value_buf_u_left} as EdgeOutlineStyles) 4541 } 4542 else { 4543 throw new Error("One of the branches for outlineStyle_value_buf has to be chosen through deserialisation.") 4544 } 4545 node.outlineStyle_value = (outlineStyle_value_buf as OutlineStyle | EdgeOutlineStyles) 4546 } 4547 _CommonMethod_outlineWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4548 let node = this.ptr2object<CommonMethodInterface>(ptr) 4549 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4550 const outlineWidth_value_buf_selector: number = thisDeserializer.readInt8() 4551 let outlineWidth_value_buf: Dimension | EdgeOutlineWidths | undefined|undefined 4552 if (outlineWidth_value_buf_selector == 0) { 4553 outlineWidth_value_buf = (thisDeserializer.readLength() as Dimension) 4554 } 4555 else if (outlineWidth_value_buf_selector == 1) { 4556 const outlineWidth_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4557 let outlineWidth_value_buf_u_top_buf: Dimension | undefined|undefined 4558 if ((RuntimeType.UNDEFINED) != (outlineWidth_value_buf_u_top_buf_runtimeType)) 4559 { 4560 outlineWidth_value_buf_u_top_buf = (thisDeserializer.readLength() as Dimension) 4561 } 4562 const outlineWidth_value_buf_u_top: undefined | Dimension = outlineWidth_value_buf_u_top_buf 4563 const outlineWidth_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4564 let outlineWidth_value_buf_u_right_buf: Dimension | undefined|undefined 4565 if ((RuntimeType.UNDEFINED) != (outlineWidth_value_buf_u_right_buf_runtimeType)) 4566 { 4567 outlineWidth_value_buf_u_right_buf = (thisDeserializer.readLength() as Dimension) 4568 } 4569 const outlineWidth_value_buf_u_right: undefined | Dimension = outlineWidth_value_buf_u_right_buf 4570 const outlineWidth_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4571 let outlineWidth_value_buf_u_bottom_buf: Dimension | undefined|undefined 4572 if ((RuntimeType.UNDEFINED) != (outlineWidth_value_buf_u_bottom_buf_runtimeType)) 4573 { 4574 outlineWidth_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Dimension) 4575 } 4576 const outlineWidth_value_buf_u_bottom: undefined | Dimension = outlineWidth_value_buf_u_bottom_buf 4577 const outlineWidth_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4578 let outlineWidth_value_buf_u_left_buf: Dimension | undefined|undefined 4579 if ((RuntimeType.UNDEFINED) != (outlineWidth_value_buf_u_left_buf_runtimeType)) 4580 { 4581 outlineWidth_value_buf_u_left_buf = (thisDeserializer.readLength() as Dimension) 4582 } 4583 const outlineWidth_value_buf_u_left: undefined | Dimension = outlineWidth_value_buf_u_left_buf 4584 outlineWidth_value_buf = ({top: outlineWidth_value_buf_u_top, right: outlineWidth_value_buf_u_right, bottom: outlineWidth_value_buf_u_bottom, left: outlineWidth_value_buf_u_left} as EdgeOutlineWidths) 4585 } 4586 else { 4587 throw new Error("One of the branches for outlineWidth_value_buf has to be chosen through deserialisation.") 4588 } 4589 node.outlineWidth_value = (outlineWidth_value_buf as Dimension | EdgeOutlineWidths) 4590 } 4591 _CommonMethod_outlineColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4592 let node = this.ptr2object<CommonMethodInterface>(ptr) 4593 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4594 const outlineColor_value_buf_selector: number = thisDeserializer.readInt8() 4595 let outlineColor_value_buf: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined 4596 if (outlineColor_value_buf_selector == 0) { 4597 const outlineColor_value_buf_u_selector: number = thisDeserializer.readInt8() 4598 let outlineColor_value_buf_u: Color | number | string | Resource | undefined|undefined 4599 if (outlineColor_value_buf_u_selector == 0) { 4600 outlineColor_value_buf_u = (thisDeserializer.readInt32() as Color) 4601 } 4602 else if (outlineColor_value_buf_u_selector == 1) { 4603 outlineColor_value_buf_u = (thisDeserializer.readNumber() as number) 4604 } 4605 else if (outlineColor_value_buf_u_selector == 2) { 4606 outlineColor_value_buf_u = (thisDeserializer.readString() as string) 4607 } 4608 else if (outlineColor_value_buf_u_selector == 3) { 4609 outlineColor_value_buf_u = thisDeserializer.readResource() 4610 } 4611 else { 4612 throw new Error("One of the branches for outlineColor_value_buf_u has to be chosen through deserialisation.") 4613 } 4614 outlineColor_value_buf = (outlineColor_value_buf_u as Color | number | string | Resource) 4615 } 4616 else if (outlineColor_value_buf_selector == 1) { 4617 const outlineColor_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4618 let outlineColor_value_buf_u_top_buf: ResourceColor | undefined|undefined 4619 if ((RuntimeType.UNDEFINED) != (outlineColor_value_buf_u_top_buf_runtimeType)) 4620 { 4621 const outlineColor_value_buf_u_top_buf__selector: number = thisDeserializer.readInt8() 4622 let outlineColor_value_buf_u_top_buf_: Color | number | string | Resource | undefined|undefined 4623 if (outlineColor_value_buf_u_top_buf__selector == 0) { 4624 outlineColor_value_buf_u_top_buf_ = (thisDeserializer.readInt32() as Color) 4625 } 4626 else if (outlineColor_value_buf_u_top_buf__selector == 1) { 4627 outlineColor_value_buf_u_top_buf_ = (thisDeserializer.readNumber() as number) 4628 } 4629 else if (outlineColor_value_buf_u_top_buf__selector == 2) { 4630 outlineColor_value_buf_u_top_buf_ = (thisDeserializer.readString() as string) 4631 } 4632 else if (outlineColor_value_buf_u_top_buf__selector == 3) { 4633 outlineColor_value_buf_u_top_buf_ = thisDeserializer.readResource() 4634 } 4635 else { 4636 throw new Error("One of the branches for outlineColor_value_buf_u_top_buf_ has to be chosen through deserialisation.") 4637 } 4638 outlineColor_value_buf_u_top_buf = (outlineColor_value_buf_u_top_buf_ as Color | number | string | Resource) 4639 } 4640 const outlineColor_value_buf_u_top: undefined | ResourceColor = outlineColor_value_buf_u_top_buf 4641 const outlineColor_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4642 let outlineColor_value_buf_u_right_buf: ResourceColor | undefined|undefined 4643 if ((RuntimeType.UNDEFINED) != (outlineColor_value_buf_u_right_buf_runtimeType)) 4644 { 4645 const outlineColor_value_buf_u_right_buf__selector: number = thisDeserializer.readInt8() 4646 let outlineColor_value_buf_u_right_buf_: Color | number | string | Resource | undefined|undefined 4647 if (outlineColor_value_buf_u_right_buf__selector == 0) { 4648 outlineColor_value_buf_u_right_buf_ = (thisDeserializer.readInt32() as Color) 4649 } 4650 else if (outlineColor_value_buf_u_right_buf__selector == 1) { 4651 outlineColor_value_buf_u_right_buf_ = (thisDeserializer.readNumber() as number) 4652 } 4653 else if (outlineColor_value_buf_u_right_buf__selector == 2) { 4654 outlineColor_value_buf_u_right_buf_ = (thisDeserializer.readString() as string) 4655 } 4656 else if (outlineColor_value_buf_u_right_buf__selector == 3) { 4657 outlineColor_value_buf_u_right_buf_ = thisDeserializer.readResource() 4658 } 4659 else { 4660 throw new Error("One of the branches for outlineColor_value_buf_u_right_buf_ has to be chosen through deserialisation.") 4661 } 4662 outlineColor_value_buf_u_right_buf = (outlineColor_value_buf_u_right_buf_ as Color | number | string | Resource) 4663 } 4664 const outlineColor_value_buf_u_right: undefined | ResourceColor = outlineColor_value_buf_u_right_buf 4665 const outlineColor_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4666 let outlineColor_value_buf_u_bottom_buf: ResourceColor | undefined|undefined 4667 if ((RuntimeType.UNDEFINED) != (outlineColor_value_buf_u_bottom_buf_runtimeType)) 4668 { 4669 const outlineColor_value_buf_u_bottom_buf__selector: number = thisDeserializer.readInt8() 4670 let outlineColor_value_buf_u_bottom_buf_: Color | number | string | Resource | undefined|undefined 4671 if (outlineColor_value_buf_u_bottom_buf__selector == 0) { 4672 outlineColor_value_buf_u_bottom_buf_ = (thisDeserializer.readInt32() as Color) 4673 } 4674 else if (outlineColor_value_buf_u_bottom_buf__selector == 1) { 4675 outlineColor_value_buf_u_bottom_buf_ = (thisDeserializer.readNumber() as number) 4676 } 4677 else if (outlineColor_value_buf_u_bottom_buf__selector == 2) { 4678 outlineColor_value_buf_u_bottom_buf_ = (thisDeserializer.readString() as string) 4679 } 4680 else if (outlineColor_value_buf_u_bottom_buf__selector == 3) { 4681 outlineColor_value_buf_u_bottom_buf_ = thisDeserializer.readResource() 4682 } 4683 else { 4684 throw new Error("One of the branches for outlineColor_value_buf_u_bottom_buf_ has to be chosen through deserialisation.") 4685 } 4686 outlineColor_value_buf_u_bottom_buf = (outlineColor_value_buf_u_bottom_buf_ as Color | number | string | Resource) 4687 } 4688 const outlineColor_value_buf_u_bottom: undefined | ResourceColor = outlineColor_value_buf_u_bottom_buf 4689 const outlineColor_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4690 let outlineColor_value_buf_u_left_buf: ResourceColor | undefined|undefined 4691 if ((RuntimeType.UNDEFINED) != (outlineColor_value_buf_u_left_buf_runtimeType)) 4692 { 4693 const outlineColor_value_buf_u_left_buf__selector: number = thisDeserializer.readInt8() 4694 let outlineColor_value_buf_u_left_buf_: Color | number | string | Resource | undefined|undefined 4695 if (outlineColor_value_buf_u_left_buf__selector == 0) { 4696 outlineColor_value_buf_u_left_buf_ = (thisDeserializer.readInt32() as Color) 4697 } 4698 else if (outlineColor_value_buf_u_left_buf__selector == 1) { 4699 outlineColor_value_buf_u_left_buf_ = (thisDeserializer.readNumber() as number) 4700 } 4701 else if (outlineColor_value_buf_u_left_buf__selector == 2) { 4702 outlineColor_value_buf_u_left_buf_ = (thisDeserializer.readString() as string) 4703 } 4704 else if (outlineColor_value_buf_u_left_buf__selector == 3) { 4705 outlineColor_value_buf_u_left_buf_ = thisDeserializer.readResource() 4706 } 4707 else { 4708 throw new Error("One of the branches for outlineColor_value_buf_u_left_buf_ has to be chosen through deserialisation.") 4709 } 4710 outlineColor_value_buf_u_left_buf = (outlineColor_value_buf_u_left_buf_ as Color | number | string | Resource) 4711 } 4712 const outlineColor_value_buf_u_left: undefined | ResourceColor = outlineColor_value_buf_u_left_buf 4713 outlineColor_value_buf = ({top: outlineColor_value_buf_u_top, right: outlineColor_value_buf_u_right, bottom: outlineColor_value_buf_u_bottom, left: outlineColor_value_buf_u_left} as EdgeColors) 4714 } 4715 else if (outlineColor_value_buf_selector == 2) { 4716 outlineColor_value_buf = thisDeserializer.readLocalizedEdgeColors() 4717 } 4718 else { 4719 throw new Error("One of the branches for outlineColor_value_buf has to be chosen through deserialisation.") 4720 } 4721 node.outlineColor_value = (outlineColor_value_buf as ResourceColor | EdgeColors | LocalizedEdgeColors) 4722 } 4723 _CommonMethod_outlineRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4724 let node = this.ptr2object<CommonMethodInterface>(ptr) 4725 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4726 const outlineRadius_value_buf_selector: number = thisDeserializer.readInt8() 4727 let outlineRadius_value_buf: Dimension | OutlineRadiuses | undefined|undefined 4728 if (outlineRadius_value_buf_selector == 0) { 4729 outlineRadius_value_buf = (thisDeserializer.readLength() as Dimension) 4730 } 4731 else if (outlineRadius_value_buf_selector == 1) { 4732 const outlineRadius_value_buf_u_topLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4733 let outlineRadius_value_buf_u_topLeft_buf: Dimension | undefined|undefined 4734 if ((RuntimeType.UNDEFINED) != (outlineRadius_value_buf_u_topLeft_buf_runtimeType)) 4735 { 4736 outlineRadius_value_buf_u_topLeft_buf = (thisDeserializer.readLength() as Dimension) 4737 } 4738 const outlineRadius_value_buf_u_topLeft: undefined | Dimension = outlineRadius_value_buf_u_topLeft_buf 4739 const outlineRadius_value_buf_u_topRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4740 let outlineRadius_value_buf_u_topRight_buf: Dimension | undefined|undefined 4741 if ((RuntimeType.UNDEFINED) != (outlineRadius_value_buf_u_topRight_buf_runtimeType)) 4742 { 4743 outlineRadius_value_buf_u_topRight_buf = (thisDeserializer.readLength() as Dimension) 4744 } 4745 const outlineRadius_value_buf_u_topRight: undefined | Dimension = outlineRadius_value_buf_u_topRight_buf 4746 const outlineRadius_value_buf_u_bottomLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4747 let outlineRadius_value_buf_u_bottomLeft_buf: Dimension | undefined|undefined 4748 if ((RuntimeType.UNDEFINED) != (outlineRadius_value_buf_u_bottomLeft_buf_runtimeType)) 4749 { 4750 outlineRadius_value_buf_u_bottomLeft_buf = (thisDeserializer.readLength() as Dimension) 4751 } 4752 const outlineRadius_value_buf_u_bottomLeft: undefined | Dimension = outlineRadius_value_buf_u_bottomLeft_buf 4753 const outlineRadius_value_buf_u_bottomRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4754 let outlineRadius_value_buf_u_bottomRight_buf: Dimension | undefined|undefined 4755 if ((RuntimeType.UNDEFINED) != (outlineRadius_value_buf_u_bottomRight_buf_runtimeType)) 4756 { 4757 outlineRadius_value_buf_u_bottomRight_buf = (thisDeserializer.readLength() as Dimension) 4758 } 4759 const outlineRadius_value_buf_u_bottomRight: undefined | Dimension = outlineRadius_value_buf_u_bottomRight_buf 4760 outlineRadius_value_buf = ({topLeft: outlineRadius_value_buf_u_topLeft, topRight: outlineRadius_value_buf_u_topRight, bottomLeft: outlineRadius_value_buf_u_bottomLeft, bottomRight: outlineRadius_value_buf_u_bottomRight} as OutlineRadiuses) 4761 } 4762 else { 4763 throw new Error("One of the branches for outlineRadius_value_buf has to be chosen through deserialisation.") 4764 } 4765 node.outlineRadius_value = (outlineRadius_value_buf as Dimension | OutlineRadiuses) 4766 } 4767 _CommonMethod_foregroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4768 let node = this.ptr2object<CommonMethodInterface>(ptr) 4769 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4770 const foregroundColor_value_buf_selector: number = thisDeserializer.readInt8() 4771 let foregroundColor_value_buf: ResourceColor | ColoringStrategy | undefined|undefined 4772 if (foregroundColor_value_buf_selector == 0) { 4773 const foregroundColor_value_buf_u_selector: number = thisDeserializer.readInt8() 4774 let foregroundColor_value_buf_u: Color | number | string | Resource | undefined|undefined 4775 if (foregroundColor_value_buf_u_selector == 0) { 4776 foregroundColor_value_buf_u = (thisDeserializer.readInt32() as Color) 4777 } 4778 else if (foregroundColor_value_buf_u_selector == 1) { 4779 foregroundColor_value_buf_u = (thisDeserializer.readNumber() as number) 4780 } 4781 else if (foregroundColor_value_buf_u_selector == 2) { 4782 foregroundColor_value_buf_u = (thisDeserializer.readString() as string) 4783 } 4784 else if (foregroundColor_value_buf_u_selector == 3) { 4785 foregroundColor_value_buf_u = thisDeserializer.readResource() 4786 } 4787 else { 4788 throw new Error("One of the branches for foregroundColor_value_buf_u has to be chosen through deserialisation.") 4789 } 4790 foregroundColor_value_buf = (foregroundColor_value_buf_u as Color | number | string | Resource) 4791 } 4792 else if (foregroundColor_value_buf_selector == 1) { 4793 foregroundColor_value_buf = Object.values(ColoringStrategy)[thisDeserializer.readInt32()] 4794 } 4795 else { 4796 throw new Error("One of the branches for foregroundColor_value_buf has to be chosen through deserialisation.") 4797 } 4798 node.foregroundColor_value = (foregroundColor_value_buf as ResourceColor | ColoringStrategy) 4799 } 4800 _CommonMethod_onClick0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4801 let node = this.ptr2object<CommonMethodInterface>(ptr) 4802 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4803 node.onClick0_value = thisDeserializer.readCallback_ClickEvent_Void() 4804 } 4805 _CommonMethod_onClick1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, distanceThreshold: number): void { 4806 let node = this.ptr2object<CommonMethodInterface>(ptr) 4807 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4808 node.onClick1_event = thisDeserializer.readCallback_ClickEvent_Void() 4809 node.onClick1_distanceThreshold = thisLength 4810 } 4811 _CommonMethod_onHover(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4812 let node = this.ptr2object<CommonMethodInterface>(ptr) 4813 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4814 node.onHover_value = thisDeserializer.readCallback_Boolean_HoverEvent_Void() 4815 } 4816 _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4817 let node = this.ptr2object<CommonMethodInterface>(ptr) 4818 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4819 node.onAccessibilityHover_value = thisDeserializer.readAccessibilityCallback() 4820 } 4821 _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void { 4822 let node = this.ptr2object<CommonMethodInterface>(ptr) 4823 node.hoverEffect_value = value 4824 } 4825 _CommonMethod_onMouse(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4826 let node = this.ptr2object<CommonMethodInterface>(ptr) 4827 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4828 node.onMouse_value = thisDeserializer.readCallback_MouseEvent_Void() 4829 } 4830 _CommonMethod_onTouch(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4831 let node = this.ptr2object<CommonMethodInterface>(ptr) 4832 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4833 node.onTouch_value = thisDeserializer.readCallback_TouchEvent_Void() 4834 } 4835 _CommonMethod_onKeyEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4836 let node = this.ptr2object<CommonMethodInterface>(ptr) 4837 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4838 node.onKeyEvent_value = thisDeserializer.readCallback_KeyEvent_Void() 4839 } 4840 _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4841 let node = this.ptr2object<CommonMethodInterface>(ptr) 4842 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4843 node.onKeyPreIme_value = thisDeserializer.readCallback_KeyEvent_Boolean() 4844 } 4845 _CommonMethod_focusable(ptr: KPointer, value: KInt): void { 4846 let node = this.ptr2object<CommonMethodInterface>(ptr) 4847 node.focusable_value = value 4848 } 4849 _CommonMethod_onFocus(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4850 let node = this.ptr2object<CommonMethodInterface>(ptr) 4851 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4852 node.onFocus_value = thisDeserializer.readCallback_Void() 4853 } 4854 _CommonMethod_onBlur(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4855 let node = this.ptr2object<CommonMethodInterface>(ptr) 4856 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4857 node.onBlur_value = thisDeserializer.readCallback_Void() 4858 } 4859 _CommonMethod_tabIndex(ptr: KPointer, value: number): void { 4860 let node = this.ptr2object<CommonMethodInterface>(ptr) 4861 node.tabIndex_value = value 4862 } 4863 _CommonMethod_defaultFocus(ptr: KPointer, value: KInt): void { 4864 let node = this.ptr2object<CommonMethodInterface>(ptr) 4865 node.defaultFocus_value = value 4866 } 4867 _CommonMethod_groupDefaultFocus(ptr: KPointer, value: KInt): void { 4868 let node = this.ptr2object<CommonMethodInterface>(ptr) 4869 node.groupDefaultFocus_value = value 4870 } 4871 _CommonMethod_focusOnTouch(ptr: KPointer, value: KInt): void { 4872 let node = this.ptr2object<CommonMethodInterface>(ptr) 4873 node.focusOnTouch_value = value 4874 } 4875 _CommonMethod_focusBox(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4876 let node = this.ptr2object<CommonMethodInterface>(ptr) 4877 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4878 node.focusBox_value = thisDeserializer.readFocusBoxStyle() 4879 } 4880 _CommonMethod_animation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4881 let node = this.ptr2object<CommonMethodInterface>(ptr) 4882 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4883 node.animation_value = thisDeserializer.readAnimateParam() 4884 } 4885 _CommonMethod_transition0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4886 let node = this.ptr2object<CommonMethodInterface>(ptr) 4887 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4888 const transition0_value_buf_selector: number = thisDeserializer.readInt8() 4889 let transition0_value_buf: TransitionOptions | TransitionEffect | undefined|undefined 4890 if (transition0_value_buf_selector == 0) { 4891 transition0_value_buf = thisDeserializer.readTransitionOptions() 4892 } 4893 else if (transition0_value_buf_selector == 1) { 4894 transition0_value_buf = (thisDeserializer.readTransitionEffect() as TransitionEffect) 4895 } 4896 else { 4897 throw new Error("One of the branches for transition0_value_buf has to be chosen through deserialisation.") 4898 } 4899 node.transition0_value = (transition0_value_buf as TransitionOptions | TransitionEffect) 4900 } 4901 _CommonMethod_transition1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4902 let node = this.ptr2object<CommonMethodInterface>(ptr) 4903 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4904 node.transition1_effect = (thisDeserializer.readTransitionEffect() as TransitionEffect) 4905 const transition1_onFinish_buf_runtimeType = (thisDeserializer.readInt8() as int32) 4906 let transition1_onFinish_buf: TransitionFinishCallback | undefined|undefined 4907 if ((RuntimeType.UNDEFINED) != (transition1_onFinish_buf_runtimeType)) 4908 { 4909 transition1_onFinish_buf = thisDeserializer.readTransitionFinishCallback() 4910 } 4911 node.transition1_onFinish = transition1_onFinish_buf 4912 } 4913 _CommonMethod_motionBlur(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4914 let node = this.ptr2object<CommonMethodInterface>(ptr) 4915 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4916 node.motionBlur_value = thisDeserializer.readMotionBlurOptions() 4917 } 4918 _CommonMethod_brightness(ptr: KPointer, value: number): void { 4919 let node = this.ptr2object<CommonMethodInterface>(ptr) 4920 node.brightness_value = value 4921 } 4922 _CommonMethod_contrast(ptr: KPointer, value: number): void { 4923 let node = this.ptr2object<CommonMethodInterface>(ptr) 4924 node.contrast_value = value 4925 } 4926 _CommonMethod_grayscale(ptr: KPointer, value: number): void { 4927 let node = this.ptr2object<CommonMethodInterface>(ptr) 4928 node.grayscale_value = value 4929 } 4930 _CommonMethod_colorBlend(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4931 let node = this.ptr2object<CommonMethodInterface>(ptr) 4932 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4933 const colorBlend_value_buf_selector: number = thisDeserializer.readInt8() 4934 let colorBlend_value_buf: Color | string | Resource | undefined|undefined 4935 if (colorBlend_value_buf_selector == 0) { 4936 colorBlend_value_buf = (thisDeserializer.readInt32() as Color) 4937 } 4938 else if (colorBlend_value_buf_selector == 1) { 4939 colorBlend_value_buf = (thisDeserializer.readString() as string) 4940 } 4941 else if (colorBlend_value_buf_selector == 2) { 4942 colorBlend_value_buf = thisDeserializer.readResource() 4943 } 4944 else { 4945 throw new Error("One of the branches for colorBlend_value_buf has to be chosen through deserialisation.") 4946 } 4947 node.colorBlend_value = (colorBlend_value_buf as Color | string | Resource) 4948 } 4949 _CommonMethod_saturate(ptr: KPointer, value: number): void { 4950 let node = this.ptr2object<CommonMethodInterface>(ptr) 4951 node.saturate_value = value 4952 } 4953 _CommonMethod_sepia(ptr: KPointer, value: number): void { 4954 let node = this.ptr2object<CommonMethodInterface>(ptr) 4955 node.sepia_value = value 4956 } 4957 _CommonMethod_invert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4958 let node = this.ptr2object<CommonMethodInterface>(ptr) 4959 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4960 const invert_value_buf_selector: number = thisDeserializer.readInt8() 4961 let invert_value_buf: number | InvertOptions | undefined|undefined 4962 if (invert_value_buf_selector == 0) { 4963 invert_value_buf = (thisDeserializer.readNumber() as number) 4964 } 4965 else if (invert_value_buf_selector == 1) { 4966 invert_value_buf = thisDeserializer.readInvertOptions() 4967 } 4968 else { 4969 throw new Error("One of the branches for invert_value_buf has to be chosen through deserialisation.") 4970 } 4971 node.invert_value = (invert_value_buf as number | InvertOptions) 4972 } 4973 _CommonMethod_hueRotate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 4974 let node = this.ptr2object<CommonMethodInterface>(ptr) 4975 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 4976 const hueRotate_value_buf_selector: number = thisDeserializer.readInt8() 4977 let hueRotate_value_buf: number | string | undefined|undefined 4978 if (hueRotate_value_buf_selector == 0) { 4979 hueRotate_value_buf = (thisDeserializer.readNumber() as number) 4980 } 4981 else if (hueRotate_value_buf_selector == 1) { 4982 hueRotate_value_buf = (thisDeserializer.readString() as string) 4983 } 4984 else { 4985 throw new Error("One of the branches for hueRotate_value_buf has to be chosen through deserialisation.") 4986 } 4987 node.hueRotate_value = (hueRotate_value_buf as number | string) 4988 } 4989 _CommonMethod_useShadowBatching(ptr: KPointer, value: KInt): void { 4990 let node = this.ptr2object<CommonMethodInterface>(ptr) 4991 node.useShadowBatching_value = value 4992 } 4993 _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void { 4994 let node = this.ptr2object<CommonMethodInterface>(ptr) 4995 node.useEffect0_value = value 4996 } 4997 _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void { 4998 let node = this.ptr2object<CommonMethodInterface>(ptr) 4999 node.useEffect1_useEffect = useEffect 5000 node.useEffect1_effectType = effectType 5001 } 5002 _CommonMethod_renderGroup(ptr: KPointer, value: KInt): void { 5003 let node = this.ptr2object<CommonMethodInterface>(ptr) 5004 node.renderGroup_value = value 5005 } 5006 _CommonMethod_freeze(ptr: KPointer, value: KInt): void { 5007 let node = this.ptr2object<CommonMethodInterface>(ptr) 5008 node.freeze_value = value 5009 } 5010 _CommonMethod_translate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5011 let node = this.ptr2object<CommonMethodInterface>(ptr) 5012 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5013 node.translate_value = thisDeserializer.readTranslateOptions() 5014 } 5015 _CommonMethod_scale(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5016 let node = this.ptr2object<CommonMethodInterface>(ptr) 5017 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5018 node.scale_value = thisDeserializer.readScaleOptions() 5019 } 5020 _CommonMethod_gridSpan(ptr: KPointer, value: number): void { 5021 let node = this.ptr2object<CommonMethodInterface>(ptr) 5022 node.gridSpan_value = value 5023 } 5024 _CommonMethod_gridOffset(ptr: KPointer, value: number): void { 5025 let node = this.ptr2object<CommonMethodInterface>(ptr) 5026 node.gridOffset_value = value 5027 } 5028 _CommonMethod_rotate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5029 let node = this.ptr2object<CommonMethodInterface>(ptr) 5030 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5031 node.rotate_value = thisDeserializer.readRotateOptions() 5032 } 5033 _CommonMethod_transform(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5034 let node = this.ptr2object<CommonMethodInterface>(ptr) 5035 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5036 node.transform_value = (thisDeserializer.readCustomObject("Object") as Object) 5037 } 5038 _CommonMethod_onAppear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5039 let node = this.ptr2object<CommonMethodInterface>(ptr) 5040 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5041 node.onAppear_value = thisDeserializer.readCallback_Void() 5042 } 5043 _CommonMethod_onDisAppear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5044 let node = this.ptr2object<CommonMethodInterface>(ptr) 5045 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5046 node.onDisAppear_value = thisDeserializer.readCallback_Void() 5047 } 5048 _CommonMethod_onAttach(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5049 let node = this.ptr2object<CommonMethodInterface>(ptr) 5050 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5051 node.onAttach_value = thisDeserializer.readCallback_Void() 5052 } 5053 _CommonMethod_onDetach(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5054 let node = this.ptr2object<CommonMethodInterface>(ptr) 5055 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5056 node.onDetach_value = thisDeserializer.readCallback_Void() 5057 } 5058 _CommonMethod_onAreaChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5059 let node = this.ptr2object<CommonMethodInterface>(ptr) 5060 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5061 node.onAreaChange_value = thisDeserializer.readCallback_Area_Area_Void() 5062 } 5063 _CommonMethod_visibility(ptr: KPointer, value: KInt): void { 5064 let node = this.ptr2object<CommonMethodInterface>(ptr) 5065 node.visibility_value = value 5066 } 5067 _CommonMethod_flexGrow(ptr: KPointer, value: number): void { 5068 let node = this.ptr2object<CommonMethodInterface>(ptr) 5069 node.flexGrow_value = value 5070 } 5071 _CommonMethod_flexShrink(ptr: KPointer, value: number): void { 5072 let node = this.ptr2object<CommonMethodInterface>(ptr) 5073 node.flexShrink_value = value 5074 } 5075 _CommonMethod_flexBasis(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5076 let node = this.ptr2object<CommonMethodInterface>(ptr) 5077 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5078 const flexBasis_value_buf_selector: number = thisDeserializer.readInt8() 5079 let flexBasis_value_buf: number | string | undefined|undefined 5080 if (flexBasis_value_buf_selector == 0) { 5081 flexBasis_value_buf = (thisDeserializer.readNumber() as number) 5082 } 5083 else if (flexBasis_value_buf_selector == 1) { 5084 flexBasis_value_buf = (thisDeserializer.readString() as string) 5085 } 5086 else { 5087 throw new Error("One of the branches for flexBasis_value_buf has to be chosen through deserialisation.") 5088 } 5089 node.flexBasis_value = (flexBasis_value_buf as number | string) 5090 } 5091 _CommonMethod_alignSelf(ptr: KPointer, value: KInt): void { 5092 let node = this.ptr2object<CommonMethodInterface>(ptr) 5093 node.alignSelf_value = value 5094 } 5095 _CommonMethod_displayPriority(ptr: KPointer, value: number): void { 5096 let node = this.ptr2object<CommonMethodInterface>(ptr) 5097 node.displayPriority_value = value 5098 } 5099 _CommonMethod_zIndex(ptr: KPointer, value: number): void { 5100 let node = this.ptr2object<CommonMethodInterface>(ptr) 5101 node.zIndex_value = value 5102 } 5103 _CommonMethod_direction(ptr: KPointer, value: KInt): void { 5104 let node = this.ptr2object<CommonMethodInterface>(ptr) 5105 node.direction_value = value 5106 } 5107 _CommonMethod_align(ptr: KPointer, value: KInt): void { 5108 let node = this.ptr2object<CommonMethodInterface>(ptr) 5109 node.align_value = value 5110 } 5111 _CommonMethod_position(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5112 let node = this.ptr2object<CommonMethodInterface>(ptr) 5113 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5114 const position_value_buf_selector: number = thisDeserializer.readInt8() 5115 let position_value_buf: Position | Edges | LocalizedEdges | undefined|undefined 5116 if (position_value_buf_selector == 0) { 5117 position_value_buf = thisDeserializer.readPosition() 5118 } 5119 else if (position_value_buf_selector == 1) { 5120 position_value_buf = thisDeserializer.readEdges() 5121 } 5122 else if (position_value_buf_selector == 2) { 5123 position_value_buf = thisDeserializer.readLocalizedEdges() 5124 } 5125 else { 5126 throw new Error("One of the branches for position_value_buf has to be chosen through deserialisation.") 5127 } 5128 node.position_value = (position_value_buf as Position | Edges | LocalizedEdges) 5129 } 5130 _CommonMethod_markAnchor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5131 let node = this.ptr2object<CommonMethodInterface>(ptr) 5132 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5133 const markAnchor_value_buf_selector: number = thisDeserializer.readInt8() 5134 let markAnchor_value_buf: Position | LocalizedPosition | undefined|undefined 5135 if (markAnchor_value_buf_selector == 0) { 5136 markAnchor_value_buf = thisDeserializer.readPosition() 5137 } 5138 else if (markAnchor_value_buf_selector == 1) { 5139 markAnchor_value_buf = thisDeserializer.readLocalizedPosition() 5140 } 5141 else { 5142 throw new Error("One of the branches for markAnchor_value_buf has to be chosen through deserialisation.") 5143 } 5144 node.markAnchor_value = (markAnchor_value_buf as Position | LocalizedPosition) 5145 } 5146 _CommonMethod_offset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5147 let node = this.ptr2object<CommonMethodInterface>(ptr) 5148 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5149 const offset_value_buf_selector: number = thisDeserializer.readInt8() 5150 let offset_value_buf: Position | Edges | LocalizedEdges | undefined|undefined 5151 if (offset_value_buf_selector == 0) { 5152 offset_value_buf = thisDeserializer.readPosition() 5153 } 5154 else if (offset_value_buf_selector == 1) { 5155 offset_value_buf = thisDeserializer.readEdges() 5156 } 5157 else if (offset_value_buf_selector == 2) { 5158 offset_value_buf = thisDeserializer.readLocalizedEdges() 5159 } 5160 else { 5161 throw new Error("One of the branches for offset_value_buf has to be chosen through deserialisation.") 5162 } 5163 node.offset_value = (offset_value_buf as Position | Edges | LocalizedEdges) 5164 } 5165 _CommonMethod_enabled(ptr: KPointer, value: KInt): void { 5166 let node = this.ptr2object<CommonMethodInterface>(ptr) 5167 node.enabled_value = value 5168 } 5169 _CommonMethod_useSizeType(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5170 let node = this.ptr2object<CommonMethodInterface>(ptr) 5171 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5172 const useSizeType_value_buf_xs_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5173 let useSizeType_value_buf_xs_buf: number | { span: number, offset: number } | undefined|undefined 5174 if ((RuntimeType.UNDEFINED) != (useSizeType_value_buf_xs_buf_runtimeType)) 5175 { 5176 const useSizeType_value_buf_xs_buf__selector: number = thisDeserializer.readInt8() 5177 let useSizeType_value_buf_xs_buf_: number | { span: number, offset: number } | undefined|undefined 5178 if (useSizeType_value_buf_xs_buf__selector == 0) { 5179 useSizeType_value_buf_xs_buf_ = (thisDeserializer.readNumber() as number) 5180 } 5181 else if (useSizeType_value_buf_xs_buf__selector == 1) { 5182 const useSizeType_value_buf_xs_buf__u_span: number = (thisDeserializer.readNumber() as number) 5183 const useSizeType_value_buf_xs_buf__u_offset: number = (thisDeserializer.readNumber() as number) 5184 useSizeType_value_buf_xs_buf_ = ({span: useSizeType_value_buf_xs_buf__u_span, offset: useSizeType_value_buf_xs_buf__u_offset} as { span: number, offset: number }) 5185 } 5186 else { 5187 throw new Error("One of the branches for useSizeType_value_buf_xs_buf_ has to be chosen through deserialisation.") 5188 } 5189 useSizeType_value_buf_xs_buf = (useSizeType_value_buf_xs_buf_ as number | { span: number, offset: number }) 5190 } 5191 const useSizeType_value_buf_xs: undefined | number | { span: number, offset: number } = useSizeType_value_buf_xs_buf 5192 const useSizeType_value_buf_sm_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5193 let useSizeType_value_buf_sm_buf: number | { span: number, offset: number } | undefined|undefined 5194 if ((RuntimeType.UNDEFINED) != (useSizeType_value_buf_sm_buf_runtimeType)) 5195 { 5196 const useSizeType_value_buf_sm_buf__selector: number = thisDeserializer.readInt8() 5197 let useSizeType_value_buf_sm_buf_: number | { span: number, offset: number } | undefined|undefined 5198 if (useSizeType_value_buf_sm_buf__selector == 0) { 5199 useSizeType_value_buf_sm_buf_ = (thisDeserializer.readNumber() as number) 5200 } 5201 else if (useSizeType_value_buf_sm_buf__selector == 1) { 5202 const useSizeType_value_buf_sm_buf__u_span: number = (thisDeserializer.readNumber() as number) 5203 const useSizeType_value_buf_sm_buf__u_offset: number = (thisDeserializer.readNumber() as number) 5204 useSizeType_value_buf_sm_buf_ = ({span: useSizeType_value_buf_sm_buf__u_span, offset: useSizeType_value_buf_sm_buf__u_offset} as { span: number, offset: number }) 5205 } 5206 else { 5207 throw new Error("One of the branches for useSizeType_value_buf_sm_buf_ has to be chosen through deserialisation.") 5208 } 5209 useSizeType_value_buf_sm_buf = (useSizeType_value_buf_sm_buf_ as number | { span: number, offset: number }) 5210 } 5211 const useSizeType_value_buf_sm: undefined | number | { span: number, offset: number } = useSizeType_value_buf_sm_buf 5212 const useSizeType_value_buf_md_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5213 let useSizeType_value_buf_md_buf: number | { span: number, offset: number } | undefined|undefined 5214 if ((RuntimeType.UNDEFINED) != (useSizeType_value_buf_md_buf_runtimeType)) 5215 { 5216 const useSizeType_value_buf_md_buf__selector: number = thisDeserializer.readInt8() 5217 let useSizeType_value_buf_md_buf_: number | { span: number, offset: number } | undefined|undefined 5218 if (useSizeType_value_buf_md_buf__selector == 0) { 5219 useSizeType_value_buf_md_buf_ = (thisDeserializer.readNumber() as number) 5220 } 5221 else if (useSizeType_value_buf_md_buf__selector == 1) { 5222 const useSizeType_value_buf_md_buf__u_span: number = (thisDeserializer.readNumber() as number) 5223 const useSizeType_value_buf_md_buf__u_offset: number = (thisDeserializer.readNumber() as number) 5224 useSizeType_value_buf_md_buf_ = ({span: useSizeType_value_buf_md_buf__u_span, offset: useSizeType_value_buf_md_buf__u_offset} as { span: number, offset: number }) 5225 } 5226 else { 5227 throw new Error("One of the branches for useSizeType_value_buf_md_buf_ has to be chosen through deserialisation.") 5228 } 5229 useSizeType_value_buf_md_buf = (useSizeType_value_buf_md_buf_ as number | { span: number, offset: number }) 5230 } 5231 const useSizeType_value_buf_md: undefined | number | { span: number, offset: number } = useSizeType_value_buf_md_buf 5232 const useSizeType_value_buf_lg_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5233 let useSizeType_value_buf_lg_buf: number | { span: number, offset: number } | undefined|undefined 5234 if ((RuntimeType.UNDEFINED) != (useSizeType_value_buf_lg_buf_runtimeType)) 5235 { 5236 const useSizeType_value_buf_lg_buf__selector: number = thisDeserializer.readInt8() 5237 let useSizeType_value_buf_lg_buf_: number | { span: number, offset: number } | undefined|undefined 5238 if (useSizeType_value_buf_lg_buf__selector == 0) { 5239 useSizeType_value_buf_lg_buf_ = (thisDeserializer.readNumber() as number) 5240 } 5241 else if (useSizeType_value_buf_lg_buf__selector == 1) { 5242 const useSizeType_value_buf_lg_buf__u_span: number = (thisDeserializer.readNumber() as number) 5243 const useSizeType_value_buf_lg_buf__u_offset: number = (thisDeserializer.readNumber() as number) 5244 useSizeType_value_buf_lg_buf_ = ({span: useSizeType_value_buf_lg_buf__u_span, offset: useSizeType_value_buf_lg_buf__u_offset} as { span: number, offset: number }) 5245 } 5246 else { 5247 throw new Error("One of the branches for useSizeType_value_buf_lg_buf_ has to be chosen through deserialisation.") 5248 } 5249 useSizeType_value_buf_lg_buf = (useSizeType_value_buf_lg_buf_ as number | { span: number, offset: number }) 5250 } 5251 const useSizeType_value_buf_lg: undefined | number | { span: number, offset: number } = useSizeType_value_buf_lg_buf 5252 node.useSizeType_value = ({xs: useSizeType_value_buf_xs, sm: useSizeType_value_buf_sm, md: useSizeType_value_buf_md, lg: useSizeType_value_buf_lg} as { xs?: number | { span: number, offset: number }, sm?: number | { span: number, offset: number }, md?: number | { span: number, offset: number }, lg?: number | { span: number, offset: number } }) 5253 } 5254 _CommonMethod_alignRules0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5255 let node = this.ptr2object<CommonMethodInterface>(ptr) 5256 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5257 node.alignRules0_value = thisDeserializer.readAlignRuleOption() 5258 } 5259 _CommonMethod_alignRules1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5260 let node = this.ptr2object<CommonMethodInterface>(ptr) 5261 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5262 node.alignRules1_value = thisDeserializer.readLocalizedAlignRuleOptions() 5263 } 5264 _CommonMethod_aspectRatio(ptr: KPointer, value: number): void { 5265 let node = this.ptr2object<CommonMethodInterface>(ptr) 5266 node.aspectRatio_value = value 5267 } 5268 _CommonMethod_clickEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5269 let node = this.ptr2object<CommonMethodInterface>(ptr) 5270 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5271 const clickEffect_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5272 let clickEffect_value_buf: ClickEffect | undefined|undefined 5273 if ((RuntimeType.UNDEFINED) != (clickEffect_value_buf_runtimeType)) 5274 { 5275 clickEffect_value_buf = thisDeserializer.readClickEffect() 5276 } 5277 node.clickEffect_value = clickEffect_value_buf 5278 } 5279 _CommonMethod_onDragStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5280 let node = this.ptr2object<CommonMethodInterface>(ptr) 5281 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5282 node.onDragStart_value = thisDeserializer.readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo() 5283 } 5284 _CommonMethod_onDragEnter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5285 let node = this.ptr2object<CommonMethodInterface>(ptr) 5286 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5287 node.onDragEnter_value = thisDeserializer.readCallback_DragEvent_String_Void() 5288 } 5289 _CommonMethod_onDragMove(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5290 let node = this.ptr2object<CommonMethodInterface>(ptr) 5291 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5292 node.onDragMove_value = thisDeserializer.readCallback_DragEvent_String_Void() 5293 } 5294 _CommonMethod_onDragLeave(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5295 let node = this.ptr2object<CommonMethodInterface>(ptr) 5296 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5297 node.onDragLeave_value = thisDeserializer.readCallback_DragEvent_String_Void() 5298 } 5299 _CommonMethod_onDrop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5300 let node = this.ptr2object<CommonMethodInterface>(ptr) 5301 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5302 node.onDrop_value = thisDeserializer.readCallback_DragEvent_String_Void() 5303 } 5304 _CommonMethod_onDragEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5305 let node = this.ptr2object<CommonMethodInterface>(ptr) 5306 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5307 node.onDragEnd_value = thisDeserializer.readCallback_DragEvent_String_Void() 5308 } 5309 _CommonMethod_allowDrop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5310 let node = this.ptr2object<CommonMethodInterface>(ptr) 5311 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5312 const allowDrop_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5313 let allowDrop_value_buf: Array<UniformDataType> | undefined|undefined 5314 if ((RuntimeType.UNDEFINED) != (allowDrop_value_buf_runtimeType)) 5315 { 5316 const allowDrop_value_buf__length: int32 = thisDeserializer.readInt32() 5317 let allowDrop_value_buf_: Array<UniformDataType> = new Array<UniformDataType>() 5318 for (let allowDrop_value_buf__i = 0; allowDrop_value_buf__i < allowDrop_value_buf__length; allowDrop_value_buf__i++) { 5319 allowDrop_value_buf_[allowDrop_value_buf__i] = thisDeserializer.readUniformDataType() 5320 } 5321 allowDrop_value_buf = allowDrop_value_buf_ 5322 } 5323 node.allowDrop_value = allowDrop_value_buf 5324 } 5325 _CommonMethod_draggable(ptr: KPointer, value: KInt): void { 5326 let node = this.ptr2object<CommonMethodInterface>(ptr) 5327 node.draggable_value = value 5328 } 5329 _CommonMethod_dragPreview(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5330 let node = this.ptr2object<CommonMethodInterface>(ptr) 5331 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5332 const dragPreview_value_buf_selector: number = thisDeserializer.readInt8() 5333 let dragPreview_value_buf: CustomBuilder | DragItemInfo | string | undefined|undefined 5334 if (dragPreview_value_buf_selector == 0) { 5335 dragPreview_value_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 5336 } 5337 else if (dragPreview_value_buf_selector == 1) { 5338 dragPreview_value_buf = thisDeserializer.readDragItemInfo() 5339 } 5340 else if (dragPreview_value_buf_selector == 2) { 5341 dragPreview_value_buf = (thisDeserializer.readString() as string) 5342 } 5343 else { 5344 throw new Error("One of the branches for dragPreview_value_buf has to be chosen through deserialisation.") 5345 } 5346 node.dragPreview_value = (dragPreview_value_buf as CustomBuilder | DragItemInfo | string) 5347 } 5348 _CommonMethod_onPreDrag(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5349 let node = this.ptr2object<CommonMethodInterface>(ptr) 5350 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5351 node.onPreDrag_value = thisDeserializer.readCallback_PreDragStatus_Void() 5352 } 5353 _CommonMethod_linearGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5354 let node = this.ptr2object<CommonMethodInterface>(ptr) 5355 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5356 const linearGradient_value_buf_angle_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5357 let linearGradient_value_buf_angle_buf: number | string | undefined|undefined 5358 if ((RuntimeType.UNDEFINED) != (linearGradient_value_buf_angle_buf_runtimeType)) 5359 { 5360 const linearGradient_value_buf_angle_buf__selector: number = thisDeserializer.readInt8() 5361 let linearGradient_value_buf_angle_buf_: number | string | undefined|undefined 5362 if (linearGradient_value_buf_angle_buf__selector == 0) { 5363 linearGradient_value_buf_angle_buf_ = (thisDeserializer.readNumber() as number) 5364 } 5365 else if (linearGradient_value_buf_angle_buf__selector == 1) { 5366 linearGradient_value_buf_angle_buf_ = (thisDeserializer.readString() as string) 5367 } 5368 else { 5369 throw new Error("One of the branches for linearGradient_value_buf_angle_buf_ has to be chosen through deserialisation.") 5370 } 5371 linearGradient_value_buf_angle_buf = (linearGradient_value_buf_angle_buf_ as number | string) 5372 } 5373 const linearGradient_value_buf_angle: undefined | number | string = linearGradient_value_buf_angle_buf 5374 const linearGradient_value_buf_direction_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5375 let linearGradient_value_buf_direction_buf: GradientDirection | undefined|undefined 5376 if ((RuntimeType.UNDEFINED) != (linearGradient_value_buf_direction_buf_runtimeType)) 5377 { 5378 linearGradient_value_buf_direction_buf = (thisDeserializer.readInt32() as GradientDirection) 5379 } 5380 const linearGradient_value_buf_direction: undefined | GradientDirection = linearGradient_value_buf_direction_buf 5381 const linearGradient_value_buf_colors_buf_length: int32 = thisDeserializer.readInt32() 5382 let linearGradient_value_buf_colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>() 5383 for (let linearGradient_value_buf_colors_buf_i = 0; linearGradient_value_buf_colors_buf_i < linearGradient_value_buf_colors_buf_length; linearGradient_value_buf_colors_buf_i++) { 5384 const linearGradient_value_buf_colors_buf_buf_value0_buf_selector: number = thisDeserializer.readInt8() 5385 let linearGradient_value_buf_colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined 5386 if (linearGradient_value_buf_colors_buf_buf_value0_buf_selector == 0) { 5387 linearGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readInt32() as Color) 5388 } 5389 else if (linearGradient_value_buf_colors_buf_buf_value0_buf_selector == 1) { 5390 linearGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readNumber() as number) 5391 } 5392 else if (linearGradient_value_buf_colors_buf_buf_value0_buf_selector == 2) { 5393 linearGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readString() as string) 5394 } 5395 else if (linearGradient_value_buf_colors_buf_buf_value0_buf_selector == 3) { 5396 linearGradient_value_buf_colors_buf_buf_value0_buf = thisDeserializer.readResource() 5397 } 5398 else { 5399 throw new Error("One of the branches for linearGradient_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation.") 5400 } 5401 const linearGradient_value_buf_colors_buf_buf_value0: ResourceColor = (linearGradient_value_buf_colors_buf_buf_value0_buf as Color | number | string | Resource) 5402 const linearGradient_value_buf_colors_buf_buf_value1: number = (thisDeserializer.readNumber() as number) 5403 linearGradient_value_buf_colors_buf[linearGradient_value_buf_colors_buf_i] = ([linearGradient_value_buf_colors_buf_buf_value0, linearGradient_value_buf_colors_buf_buf_value1] as [ ResourceColor, number ]) 5404 } 5405 const linearGradient_value_buf_colors: Array<[ ResourceColor, number ]> = linearGradient_value_buf_colors_buf 5406 const linearGradient_value_buf_repeating_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5407 let linearGradient_value_buf_repeating_buf: boolean | undefined|undefined 5408 if ((RuntimeType.UNDEFINED) != (linearGradient_value_buf_repeating_buf_runtimeType)) 5409 { 5410 linearGradient_value_buf_repeating_buf = thisDeserializer.readBoolean() 5411 } 5412 const linearGradient_value_buf_repeating: undefined | boolean = linearGradient_value_buf_repeating_buf 5413 node.linearGradient_value = ({angle: linearGradient_value_buf_angle, direction: linearGradient_value_buf_direction, colors: linearGradient_value_buf_colors, repeating: linearGradient_value_buf_repeating} as { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) 5414 } 5415 _CommonMethod_sweepGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5416 let node = this.ptr2object<CommonMethodInterface>(ptr) 5417 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5418 const sweepGradient_value_buf_center_buf_value0: Length = (thisDeserializer.readLength() as Length) 5419 const sweepGradient_value_buf_center_buf_value1: Length = (thisDeserializer.readLength() as Length) 5420 const sweepGradient_value_buf_center: [ Length, Length ] = ([sweepGradient_value_buf_center_buf_value0, sweepGradient_value_buf_center_buf_value1] as [ Length, Length ]) 5421 const sweepGradient_value_buf_start_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5422 let sweepGradient_value_buf_start_buf: number | string | undefined|undefined 5423 if ((RuntimeType.UNDEFINED) != (sweepGradient_value_buf_start_buf_runtimeType)) 5424 { 5425 const sweepGradient_value_buf_start_buf__selector: number = thisDeserializer.readInt8() 5426 let sweepGradient_value_buf_start_buf_: number | string | undefined|undefined 5427 if (sweepGradient_value_buf_start_buf__selector == 0) { 5428 sweepGradient_value_buf_start_buf_ = (thisDeserializer.readNumber() as number) 5429 } 5430 else if (sweepGradient_value_buf_start_buf__selector == 1) { 5431 sweepGradient_value_buf_start_buf_ = (thisDeserializer.readString() as string) 5432 } 5433 else { 5434 throw new Error("One of the branches for sweepGradient_value_buf_start_buf_ has to be chosen through deserialisation.") 5435 } 5436 sweepGradient_value_buf_start_buf = (sweepGradient_value_buf_start_buf_ as number | string) 5437 } 5438 const sweepGradient_value_buf_start: undefined | number | string = sweepGradient_value_buf_start_buf 5439 const sweepGradient_value_buf_end_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5440 let sweepGradient_value_buf_end_buf: number | string | undefined|undefined 5441 if ((RuntimeType.UNDEFINED) != (sweepGradient_value_buf_end_buf_runtimeType)) 5442 { 5443 const sweepGradient_value_buf_end_buf__selector: number = thisDeserializer.readInt8() 5444 let sweepGradient_value_buf_end_buf_: number | string | undefined|undefined 5445 if (sweepGradient_value_buf_end_buf__selector == 0) { 5446 sweepGradient_value_buf_end_buf_ = (thisDeserializer.readNumber() as number) 5447 } 5448 else if (sweepGradient_value_buf_end_buf__selector == 1) { 5449 sweepGradient_value_buf_end_buf_ = (thisDeserializer.readString() as string) 5450 } 5451 else { 5452 throw new Error("One of the branches for sweepGradient_value_buf_end_buf_ has to be chosen through deserialisation.") 5453 } 5454 sweepGradient_value_buf_end_buf = (sweepGradient_value_buf_end_buf_ as number | string) 5455 } 5456 const sweepGradient_value_buf_end: undefined | number | string = sweepGradient_value_buf_end_buf 5457 const sweepGradient_value_buf_rotation_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5458 let sweepGradient_value_buf_rotation_buf: number | string | undefined|undefined 5459 if ((RuntimeType.UNDEFINED) != (sweepGradient_value_buf_rotation_buf_runtimeType)) 5460 { 5461 const sweepGradient_value_buf_rotation_buf__selector: number = thisDeserializer.readInt8() 5462 let sweepGradient_value_buf_rotation_buf_: number | string | undefined|undefined 5463 if (sweepGradient_value_buf_rotation_buf__selector == 0) { 5464 sweepGradient_value_buf_rotation_buf_ = (thisDeserializer.readNumber() as number) 5465 } 5466 else if (sweepGradient_value_buf_rotation_buf__selector == 1) { 5467 sweepGradient_value_buf_rotation_buf_ = (thisDeserializer.readString() as string) 5468 } 5469 else { 5470 throw new Error("One of the branches for sweepGradient_value_buf_rotation_buf_ has to be chosen through deserialisation.") 5471 } 5472 sweepGradient_value_buf_rotation_buf = (sweepGradient_value_buf_rotation_buf_ as number | string) 5473 } 5474 const sweepGradient_value_buf_rotation: undefined | number | string = sweepGradient_value_buf_rotation_buf 5475 const sweepGradient_value_buf_colors_buf_length: int32 = thisDeserializer.readInt32() 5476 let sweepGradient_value_buf_colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>() 5477 for (let sweepGradient_value_buf_colors_buf_i = 0; sweepGradient_value_buf_colors_buf_i < sweepGradient_value_buf_colors_buf_length; sweepGradient_value_buf_colors_buf_i++) { 5478 const sweepGradient_value_buf_colors_buf_buf_value0_buf_selector: number = thisDeserializer.readInt8() 5479 let sweepGradient_value_buf_colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined 5480 if (sweepGradient_value_buf_colors_buf_buf_value0_buf_selector == 0) { 5481 sweepGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readInt32() as Color) 5482 } 5483 else if (sweepGradient_value_buf_colors_buf_buf_value0_buf_selector == 1) { 5484 sweepGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readNumber() as number) 5485 } 5486 else if (sweepGradient_value_buf_colors_buf_buf_value0_buf_selector == 2) { 5487 sweepGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readString() as string) 5488 } 5489 else if (sweepGradient_value_buf_colors_buf_buf_value0_buf_selector == 3) { 5490 sweepGradient_value_buf_colors_buf_buf_value0_buf = thisDeserializer.readResource() 5491 } 5492 else { 5493 throw new Error("One of the branches for sweepGradient_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation.") 5494 } 5495 const sweepGradient_value_buf_colors_buf_buf_value0: ResourceColor = (sweepGradient_value_buf_colors_buf_buf_value0_buf as Color | number | string | Resource) 5496 const sweepGradient_value_buf_colors_buf_buf_value1: number = (thisDeserializer.readNumber() as number) 5497 sweepGradient_value_buf_colors_buf[sweepGradient_value_buf_colors_buf_i] = ([sweepGradient_value_buf_colors_buf_buf_value0, sweepGradient_value_buf_colors_buf_buf_value1] as [ ResourceColor, number ]) 5498 } 5499 const sweepGradient_value_buf_colors: Array<[ ResourceColor, number ]> = sweepGradient_value_buf_colors_buf 5500 const sweepGradient_value_buf_repeating_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5501 let sweepGradient_value_buf_repeating_buf: boolean | undefined|undefined 5502 if ((RuntimeType.UNDEFINED) != (sweepGradient_value_buf_repeating_buf_runtimeType)) 5503 { 5504 sweepGradient_value_buf_repeating_buf = thisDeserializer.readBoolean() 5505 } 5506 const sweepGradient_value_buf_repeating: undefined | boolean = sweepGradient_value_buf_repeating_buf 5507 node.sweepGradient_value = ({center: sweepGradient_value_buf_center, start: sweepGradient_value_buf_start, end: sweepGradient_value_buf_end, rotation: sweepGradient_value_buf_rotation, colors: sweepGradient_value_buf_colors, repeating: sweepGradient_value_buf_repeating} as { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) 5508 } 5509 _CommonMethod_radialGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5510 let node = this.ptr2object<CommonMethodInterface>(ptr) 5511 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5512 const radialGradient_value_buf_center_buf_value0: Length = (thisDeserializer.readLength() as Length) 5513 const radialGradient_value_buf_center_buf_value1: Length = (thisDeserializer.readLength() as Length) 5514 const radialGradient_value_buf_center: [ Length, Length ] = ([radialGradient_value_buf_center_buf_value0, radialGradient_value_buf_center_buf_value1] as [ Length, Length ]) 5515 const radialGradient_value_buf_radius_buf_selector: number = thisDeserializer.readInt8() 5516 let radialGradient_value_buf_radius_buf: number | string | undefined|undefined 5517 if (radialGradient_value_buf_radius_buf_selector == 0) { 5518 radialGradient_value_buf_radius_buf = (thisDeserializer.readNumber() as number) 5519 } 5520 else if (radialGradient_value_buf_radius_buf_selector == 1) { 5521 radialGradient_value_buf_radius_buf = (thisDeserializer.readString() as string) 5522 } 5523 else { 5524 throw new Error("One of the branches for radialGradient_value_buf_radius_buf has to be chosen through deserialisation.") 5525 } 5526 const radialGradient_value_buf_radius: number | string = (radialGradient_value_buf_radius_buf as number | string) 5527 const radialGradient_value_buf_colors_buf_length: int32 = thisDeserializer.readInt32() 5528 let radialGradient_value_buf_colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>() 5529 for (let radialGradient_value_buf_colors_buf_i = 0; radialGradient_value_buf_colors_buf_i < radialGradient_value_buf_colors_buf_length; radialGradient_value_buf_colors_buf_i++) { 5530 const radialGradient_value_buf_colors_buf_buf_value0_buf_selector: number = thisDeserializer.readInt8() 5531 let radialGradient_value_buf_colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined 5532 if (radialGradient_value_buf_colors_buf_buf_value0_buf_selector == 0) { 5533 radialGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readInt32() as Color) 5534 } 5535 else if (radialGradient_value_buf_colors_buf_buf_value0_buf_selector == 1) { 5536 radialGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readNumber() as number) 5537 } 5538 else if (radialGradient_value_buf_colors_buf_buf_value0_buf_selector == 2) { 5539 radialGradient_value_buf_colors_buf_buf_value0_buf = (thisDeserializer.readString() as string) 5540 } 5541 else if (radialGradient_value_buf_colors_buf_buf_value0_buf_selector == 3) { 5542 radialGradient_value_buf_colors_buf_buf_value0_buf = thisDeserializer.readResource() 5543 } 5544 else { 5545 throw new Error("One of the branches for radialGradient_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation.") 5546 } 5547 const radialGradient_value_buf_colors_buf_buf_value0: ResourceColor = (radialGradient_value_buf_colors_buf_buf_value0_buf as Color | number | string | Resource) 5548 const radialGradient_value_buf_colors_buf_buf_value1: number = (thisDeserializer.readNumber() as number) 5549 radialGradient_value_buf_colors_buf[radialGradient_value_buf_colors_buf_i] = ([radialGradient_value_buf_colors_buf_buf_value0, radialGradient_value_buf_colors_buf_buf_value1] as [ ResourceColor, number ]) 5550 } 5551 const radialGradient_value_buf_colors: Array<[ ResourceColor, number ]> = radialGradient_value_buf_colors_buf 5552 const radialGradient_value_buf_repeating_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5553 let radialGradient_value_buf_repeating_buf: boolean | undefined|undefined 5554 if ((RuntimeType.UNDEFINED) != (radialGradient_value_buf_repeating_buf_runtimeType)) 5555 { 5556 radialGradient_value_buf_repeating_buf = thisDeserializer.readBoolean() 5557 } 5558 const radialGradient_value_buf_repeating: undefined | boolean = radialGradient_value_buf_repeating_buf 5559 node.radialGradient_value = ({center: radialGradient_value_buf_center, radius: radialGradient_value_buf_radius, colors: radialGradient_value_buf_colors, repeating: radialGradient_value_buf_repeating} as { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) 5560 } 5561 _CommonMethod_motionPath(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5562 let node = this.ptr2object<CommonMethodInterface>(ptr) 5563 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5564 node.motionPath_value = thisDeserializer.readMotionPathOptions() 5565 } 5566 _CommonMethod_shadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5567 let node = this.ptr2object<CommonMethodInterface>(ptr) 5568 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5569 const shadow_value_buf_selector: number = thisDeserializer.readInt8() 5570 let shadow_value_buf: ShadowOptions | ShadowStyle | undefined|undefined 5571 if (shadow_value_buf_selector == 0) { 5572 shadow_value_buf = thisDeserializer.readShadowOptions() 5573 } 5574 else if (shadow_value_buf_selector == 1) { 5575 shadow_value_buf = (thisDeserializer.readInt32() as ShadowStyle) 5576 } 5577 else { 5578 throw new Error("One of the branches for shadow_value_buf has to be chosen through deserialisation.") 5579 } 5580 node.shadow_value = (shadow_value_buf as ShadowOptions | ShadowStyle) 5581 } 5582 _CommonMethod_clip0(ptr: KPointer, value: KInt): void { 5583 let node = this.ptr2object<CommonMethodInterface>(ptr) 5584 node.clip0_value = value 5585 } 5586 _CommonMethod_clip1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5587 let node = this.ptr2object<CommonMethodInterface>(ptr) 5588 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5589 const clip1_value_buf_selector: number = thisDeserializer.readInt8() 5590 let clip1_value_buf: boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | undefined|undefined 5591 if (clip1_value_buf_selector == 0) { 5592 clip1_value_buf = thisDeserializer.readBoolean() 5593 } 5594 else if (clip1_value_buf_selector == 1) { 5595 clip1_value_buf = thisDeserializer.readCircleAttribute() 5596 } 5597 else if (clip1_value_buf_selector == 2) { 5598 clip1_value_buf = thisDeserializer.readEllipseAttribute() 5599 } 5600 else if (clip1_value_buf_selector == 3) { 5601 clip1_value_buf = thisDeserializer.readPathAttribute() 5602 } 5603 else if (clip1_value_buf_selector == 4) { 5604 clip1_value_buf = thisDeserializer.readRectAttribute() 5605 } 5606 else { 5607 throw new Error("One of the branches for clip1_value_buf has to be chosen through deserialisation.") 5608 } 5609 node.clip1_value = (clip1_value_buf as boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute) 5610 } 5611 _CommonMethod_clipShape(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5612 let node = this.ptr2object<CommonMethodInterface>(ptr) 5613 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5614 const clipShape_value_buf_selector: number = thisDeserializer.readInt8() 5615 let clipShape_value_buf: CircleShape | EllipseShape | PathShape | RectShape | undefined|undefined 5616 if (clipShape_value_buf_selector == 0) { 5617 clipShape_value_buf = thisDeserializer.readCircleShape() 5618 } 5619 else if (clipShape_value_buf_selector == 1) { 5620 clipShape_value_buf = thisDeserializer.readEllipseShape() 5621 } 5622 else if (clipShape_value_buf_selector == 2) { 5623 clipShape_value_buf = thisDeserializer.readPathShape() 5624 } 5625 else if (clipShape_value_buf_selector == 3) { 5626 clipShape_value_buf = thisDeserializer.readRectShape() 5627 } 5628 else { 5629 throw new Error("One of the branches for clipShape_value_buf has to be chosen through deserialisation.") 5630 } 5631 node.clipShape_value = (clipShape_value_buf as CircleShape | EllipseShape | PathShape | RectShape) 5632 } 5633 _CommonMethod_mask0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5634 let node = this.ptr2object<CommonMethodInterface>(ptr) 5635 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5636 node.mask0_value = (thisDeserializer.readProgressMask() as ProgressMask) 5637 } 5638 _CommonMethod_mask1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5639 let node = this.ptr2object<CommonMethodInterface>(ptr) 5640 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5641 const mask1_value_buf_selector: number = thisDeserializer.readInt8() 5642 let mask1_value_buf: CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask | undefined|undefined 5643 if (mask1_value_buf_selector == 0) { 5644 mask1_value_buf = thisDeserializer.readCircleAttribute() 5645 } 5646 else if (mask1_value_buf_selector == 1) { 5647 mask1_value_buf = thisDeserializer.readEllipseAttribute() 5648 } 5649 else if (mask1_value_buf_selector == 2) { 5650 mask1_value_buf = thisDeserializer.readPathAttribute() 5651 } 5652 else if (mask1_value_buf_selector == 3) { 5653 mask1_value_buf = thisDeserializer.readRectAttribute() 5654 } 5655 else if (mask1_value_buf_selector == 4) { 5656 mask1_value_buf = (thisDeserializer.readProgressMask() as ProgressMask) 5657 } 5658 else { 5659 throw new Error("One of the branches for mask1_value_buf has to be chosen through deserialisation.") 5660 } 5661 node.mask1_value = (mask1_value_buf as CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask) 5662 } 5663 _CommonMethod_maskShape(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5664 let node = this.ptr2object<CommonMethodInterface>(ptr) 5665 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5666 const maskShape_value_buf_selector: number = thisDeserializer.readInt8() 5667 let maskShape_value_buf: CircleShape | EllipseShape | PathShape | RectShape | undefined|undefined 5668 if (maskShape_value_buf_selector == 0) { 5669 maskShape_value_buf = thisDeserializer.readCircleShape() 5670 } 5671 else if (maskShape_value_buf_selector == 1) { 5672 maskShape_value_buf = thisDeserializer.readEllipseShape() 5673 } 5674 else if (maskShape_value_buf_selector == 2) { 5675 maskShape_value_buf = thisDeserializer.readPathShape() 5676 } 5677 else if (maskShape_value_buf_selector == 3) { 5678 maskShape_value_buf = thisDeserializer.readRectShape() 5679 } 5680 else { 5681 throw new Error("One of the branches for maskShape_value_buf has to be chosen through deserialisation.") 5682 } 5683 node.maskShape_value = (maskShape_value_buf as CircleShape | EllipseShape | PathShape | RectShape) 5684 } 5685 _CommonMethod_key(ptr: KPointer, value: KStringPtr): void { 5686 let node = this.ptr2object<CommonMethodInterface>(ptr) 5687 node.key_value = value 5688 } 5689 _CommonMethod_id(ptr: KPointer, value: KStringPtr): void { 5690 let node = this.ptr2object<CommonMethodInterface>(ptr) 5691 node.id_value = value 5692 } 5693 _CommonMethod_geometryTransition0(ptr: KPointer, value: KStringPtr): void { 5694 let node = this.ptr2object<CommonMethodInterface>(ptr) 5695 node.geometryTransition0_value = value 5696 } 5697 _CommonMethod_geometryTransition1(ptr: KPointer, id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 5698 let node = this.ptr2object<CommonMethodInterface>(ptr) 5699 node.geometryTransition1_id = id 5700 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5701 const geometryTransition1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5702 let geometryTransition1_options_buf: GeometryTransitionOptions | undefined|undefined 5703 if ((RuntimeType.UNDEFINED) != (geometryTransition1_options_buf_runtimeType)) 5704 { 5705 geometryTransition1_options_buf = thisDeserializer.readGeometryTransitionOptions() 5706 } 5707 node.geometryTransition1_options = geometryTransition1_options_buf 5708 } 5709 _CommonMethod_stateStyles(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5710 let node = this.ptr2object<CommonMethodInterface>(ptr) 5711 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5712 node.stateStyles_value = thisDeserializer.readStateStyles() 5713 } 5714 _CommonMethod_restoreId(ptr: KPointer, value: number): void { 5715 let node = this.ptr2object<CommonMethodInterface>(ptr) 5716 node.restoreId_value = value 5717 } 5718 _CommonMethod_sphericalEffect(ptr: KPointer, value: number): void { 5719 let node = this.ptr2object<CommonMethodInterface>(ptr) 5720 node.sphericalEffect_value = value 5721 } 5722 _CommonMethod_lightUpEffect(ptr: KPointer, value: number): void { 5723 let node = this.ptr2object<CommonMethodInterface>(ptr) 5724 node.lightUpEffect_value = value 5725 } 5726 _CommonMethod_pixelStretchEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5727 let node = this.ptr2object<CommonMethodInterface>(ptr) 5728 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5729 node.pixelStretchEffect_value = thisDeserializer.readPixelStretchEffectOptions() 5730 } 5731 _CommonMethod_accessibilityGroup0(ptr: KPointer, value: KInt): void { 5732 let node = this.ptr2object<CommonMethodInterface>(ptr) 5733 node.accessibilityGroup0_value = value 5734 } 5735 _CommonMethod_accessibilityGroup1(ptr: KPointer, isGroup: KInt, thisArray: Uint8Array, thisLength: int32): void { 5736 let node = this.ptr2object<CommonMethodInterface>(ptr) 5737 node.accessibilityGroup1_isGroup = isGroup 5738 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5739 node.accessibilityGroup1_accessibilityOptions = thisDeserializer.readAccessibilityOptions() 5740 } 5741 _CommonMethod_accessibilityText0(ptr: KPointer, value: KStringPtr): void { 5742 let node = this.ptr2object<CommonMethodInterface>(ptr) 5743 node.accessibilityText0_value = value 5744 } 5745 _CommonMethod_accessibilityText1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5746 let node = this.ptr2object<CommonMethodInterface>(ptr) 5747 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5748 node.accessibilityText1_value = thisDeserializer.readResource() 5749 } 5750 _CommonMethod_accessibilityTextHint(ptr: KPointer, value: KStringPtr): void { 5751 let node = this.ptr2object<CommonMethodInterface>(ptr) 5752 node.accessibilityTextHint_value = value 5753 } 5754 _CommonMethod_accessibilityDescription0(ptr: KPointer, value: KStringPtr): void { 5755 let node = this.ptr2object<CommonMethodInterface>(ptr) 5756 node.accessibilityDescription0_value = value 5757 } 5758 _CommonMethod_accessibilityDescription1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5759 let node = this.ptr2object<CommonMethodInterface>(ptr) 5760 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5761 node.accessibilityDescription1_value = thisDeserializer.readResource() 5762 } 5763 _CommonMethod_accessibilityLevel(ptr: KPointer, value: KStringPtr): void { 5764 let node = this.ptr2object<CommonMethodInterface>(ptr) 5765 node.accessibilityLevel_value = value 5766 } 5767 _CommonMethod_accessibilityVirtualNode(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5768 let node = this.ptr2object<CommonMethodInterface>(ptr) 5769 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5770 node.accessibilityVirtualNode_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 5771 } 5772 _CommonMethod_accessibilityChecked(ptr: KPointer, value: KInt): void { 5773 let node = this.ptr2object<CommonMethodInterface>(ptr) 5774 node.accessibilityChecked_value = value 5775 } 5776 _CommonMethod_accessibilitySelected(ptr: KPointer, value: KInt): void { 5777 let node = this.ptr2object<CommonMethodInterface>(ptr) 5778 node.accessibilitySelected_value = value 5779 } 5780 _CommonMethod_obscured(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5781 let node = this.ptr2object<CommonMethodInterface>(ptr) 5782 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5783 const obscured_value_buf_length: int32 = thisDeserializer.readInt32() 5784 let obscured_value_buf: Array<ObscuredReasons> = new Array<ObscuredReasons>() 5785 for (let obscured_value_buf_i = 0; obscured_value_buf_i < obscured_value_buf_length; obscured_value_buf_i++) { 5786 obscured_value_buf[obscured_value_buf_i] = (thisDeserializer.readInt32() as ObscuredReasons) 5787 } 5788 node.obscured_value = obscured_value_buf 5789 } 5790 _CommonMethod_reuseId(ptr: KPointer, value: KStringPtr): void { 5791 let node = this.ptr2object<CommonMethodInterface>(ptr) 5792 node.reuseId_value = value 5793 } 5794 _CommonMethod_renderFit(ptr: KPointer, value: KInt): void { 5795 let node = this.ptr2object<CommonMethodInterface>(ptr) 5796 node.renderFit_value = value 5797 } 5798 _CommonMethod_gestureModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5799 let node = this.ptr2object<CommonMethodInterface>(ptr) 5800 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5801 node.gestureModifier_value = (thisDeserializer.readGestureModifier() as GestureModifier) 5802 } 5803 _CommonMethod_backgroundBrightness(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5804 let node = this.ptr2object<CommonMethodInterface>(ptr) 5805 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5806 node.backgroundBrightness_value = thisDeserializer.readBackgroundBrightnessOptions() 5807 } 5808 _CommonMethod_onGestureJudgeBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5809 let node = this.ptr2object<CommonMethodInterface>(ptr) 5810 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5811 node.onGestureJudgeBegin_value = thisDeserializer.readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult() 5812 } 5813 _CommonMethod_onGestureRecognizerJudgeBegin0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5814 let node = this.ptr2object<CommonMethodInterface>(ptr) 5815 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5816 node.onGestureRecognizerJudgeBegin0_value = thisDeserializer.readGestureRecognizerJudgeBeginCallback() 5817 } 5818 _CommonMethod_onGestureRecognizerJudgeBegin1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, exposeInnerGesture: KInt): void { 5819 let node = this.ptr2object<CommonMethodInterface>(ptr) 5820 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5821 node.onGestureRecognizerJudgeBegin1_callback = thisDeserializer.readGestureRecognizerJudgeBeginCallback() 5822 node.onGestureRecognizerJudgeBegin1_exposeInnerGesture = thisLength 5823 } 5824 _CommonMethod_shouldBuiltInRecognizerParallelWith(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5825 let node = this.ptr2object<CommonMethodInterface>(ptr) 5826 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5827 node.shouldBuiltInRecognizerParallelWith_value = thisDeserializer.readShouldBuiltInRecognizerParallelWithCallback() 5828 } 5829 _CommonMethod_monopolizeEvents(ptr: KPointer, value: KInt): void { 5830 let node = this.ptr2object<CommonMethodInterface>(ptr) 5831 node.monopolizeEvents_value = value 5832 } 5833 _CommonMethod_onTouchIntercept(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5834 let node = this.ptr2object<CommonMethodInterface>(ptr) 5835 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5836 node.onTouchIntercept_value = thisDeserializer.readCallback_TouchEvent_HitTestMode() 5837 } 5838 _CommonMethod_onSizeChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5839 let node = this.ptr2object<CommonMethodInterface>(ptr) 5840 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5841 node.onSizeChange_value = thisDeserializer.readSizeChangeCallback() 5842 } 5843 _CommonMethod_customProperty(ptr: KPointer, name: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 5844 let node = this.ptr2object<CommonMethodInterface>(ptr) 5845 node.customProperty_name = name 5846 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5847 const customProperty_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5848 let customProperty_value_buf: Object | undefined|undefined 5849 if ((RuntimeType.UNDEFINED) != (customProperty_value_buf_runtimeType)) 5850 { 5851 customProperty_value_buf = (thisDeserializer.readCustomObject("Object") as Object) 5852 } 5853 node.customProperty_value = customProperty_value_buf 5854 } 5855 _CommonMethod_expandSafeArea(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5856 let node = this.ptr2object<CommonMethodInterface>(ptr) 5857 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5858 const expandSafeArea_types_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5859 let expandSafeArea_types_buf: Array<SafeAreaType> | undefined|undefined 5860 if ((RuntimeType.UNDEFINED) != (expandSafeArea_types_buf_runtimeType)) 5861 { 5862 const expandSafeArea_types_buf__length: int32 = thisDeserializer.readInt32() 5863 let expandSafeArea_types_buf_: Array<SafeAreaType> = new Array<SafeAreaType>() 5864 for (let expandSafeArea_types_buf__i = 0; expandSafeArea_types_buf__i < expandSafeArea_types_buf__length; expandSafeArea_types_buf__i++) { 5865 expandSafeArea_types_buf_[expandSafeArea_types_buf__i] = (thisDeserializer.readInt32() as SafeAreaType) 5866 } 5867 expandSafeArea_types_buf = expandSafeArea_types_buf_ 5868 } 5869 node.expandSafeArea_types = expandSafeArea_types_buf 5870 const expandSafeArea_edges_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5871 let expandSafeArea_edges_buf: Array<SafeAreaEdge> | undefined|undefined 5872 if ((RuntimeType.UNDEFINED) != (expandSafeArea_edges_buf_runtimeType)) 5873 { 5874 const expandSafeArea_edges_buf__length: int32 = thisDeserializer.readInt32() 5875 let expandSafeArea_edges_buf_: Array<SafeAreaEdge> = new Array<SafeAreaEdge>() 5876 for (let expandSafeArea_edges_buf__i = 0; expandSafeArea_edges_buf__i < expandSafeArea_edges_buf__length; expandSafeArea_edges_buf__i++) { 5877 expandSafeArea_edges_buf_[expandSafeArea_edges_buf__i] = (thisDeserializer.readInt32() as SafeAreaEdge) 5878 } 5879 expandSafeArea_edges_buf = expandSafeArea_edges_buf_ 5880 } 5881 node.expandSafeArea_edges = expandSafeArea_edges_buf 5882 } 5883 _CommonMethod_background(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5884 let node = this.ptr2object<CommonMethodInterface>(ptr) 5885 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5886 node.background_builder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 5887 const background_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5888 let background_options_buf: { align?: Alignment } | undefined|undefined 5889 if ((RuntimeType.UNDEFINED) != (background_options_buf_runtimeType)) 5890 { 5891 const background_options_buf__align_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5892 let background_options_buf__align_buf: Alignment | undefined|undefined 5893 if ((RuntimeType.UNDEFINED) != (background_options_buf__align_buf_runtimeType)) 5894 { 5895 background_options_buf__align_buf = (thisDeserializer.readInt32() as Alignment) 5896 } 5897 const background_options_buf__align: undefined | Alignment = background_options_buf__align_buf 5898 background_options_buf = ({align: background_options_buf__align} as { align?: Alignment }) 5899 } 5900 node.background_options = background_options_buf 5901 } 5902 _CommonMethod_backgroundImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 5903 let node = this.ptr2object<CommonMethodInterface>(ptr) 5904 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5905 const backgroundImage_src_buf_selector: number = thisDeserializer.readInt8() 5906 let backgroundImage_src_buf: ResourceStr | PixelMap | undefined|undefined 5907 if (backgroundImage_src_buf_selector == 0) { 5908 const backgroundImage_src_buf_u_selector: number = thisDeserializer.readInt8() 5909 let backgroundImage_src_buf_u: string | Resource | undefined|undefined 5910 if (backgroundImage_src_buf_u_selector == 0) { 5911 backgroundImage_src_buf_u = (thisDeserializer.readString() as string) 5912 } 5913 else if (backgroundImage_src_buf_u_selector == 1) { 5914 backgroundImage_src_buf_u = thisDeserializer.readResource() 5915 } 5916 else { 5917 throw new Error("One of the branches for backgroundImage_src_buf_u has to be chosen through deserialisation.") 5918 } 5919 backgroundImage_src_buf = (backgroundImage_src_buf_u as string | Resource) 5920 } 5921 else if (backgroundImage_src_buf_selector == 1) { 5922 backgroundImage_src_buf = (thisDeserializer.readPixelMap() as PixelMap) 5923 } 5924 else { 5925 throw new Error("One of the branches for backgroundImage_src_buf has to be chosen through deserialisation.") 5926 } 5927 node.backgroundImage_src = (backgroundImage_src_buf as ResourceStr | PixelMap) 5928 const backgroundImage_repeat_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5929 let backgroundImage_repeat_buf: ImageRepeat | undefined|undefined 5930 if ((RuntimeType.UNDEFINED) != (backgroundImage_repeat_buf_runtimeType)) 5931 { 5932 backgroundImage_repeat_buf = (thisDeserializer.readInt32() as ImageRepeat) 5933 } 5934 node.backgroundImage_repeat = backgroundImage_repeat_buf 5935 } 5936 _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 5937 let node = this.ptr2object<CommonMethodInterface>(ptr) 5938 node.backgroundBlurStyle_value = value 5939 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5940 const backgroundBlurStyle_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5941 let backgroundBlurStyle_options_buf: BackgroundBlurStyleOptions | undefined|undefined 5942 if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_options_buf_runtimeType)) 5943 { 5944 backgroundBlurStyle_options_buf = thisDeserializer.readBackgroundBlurStyleOptions() 5945 } 5946 node.backgroundBlurStyle_options = backgroundBlurStyle_options_buf 5947 } 5948 _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 5949 let node = this.ptr2object<CommonMethodInterface>(ptr) 5950 node.foregroundBlurStyle_value = value 5951 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5952 const foregroundBlurStyle_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5953 let foregroundBlurStyle_options_buf: ForegroundBlurStyleOptions | undefined|undefined 5954 if ((RuntimeType.UNDEFINED) != (foregroundBlurStyle_options_buf_runtimeType)) 5955 { 5956 foregroundBlurStyle_options_buf = thisDeserializer.readForegroundBlurStyleOptions() 5957 } 5958 node.foregroundBlurStyle_options = foregroundBlurStyle_options_buf 5959 } 5960 _CommonMethod_focusScopeId0(ptr: KPointer, id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 5961 let node = this.ptr2object<CommonMethodInterface>(ptr) 5962 node.focusScopeId0_id = id 5963 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5964 const focusScopeId0_isGroup_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5965 let focusScopeId0_isGroup_buf: boolean | undefined|undefined 5966 if ((RuntimeType.UNDEFINED) != (focusScopeId0_isGroup_buf_runtimeType)) 5967 { 5968 focusScopeId0_isGroup_buf = thisDeserializer.readBoolean() 5969 } 5970 node.focusScopeId0_isGroup = focusScopeId0_isGroup_buf 5971 } 5972 _CommonMethod_focusScopeId1(ptr: KPointer, id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 5973 let node = this.ptr2object<CommonMethodInterface>(ptr) 5974 node.focusScopeId1_id = id 5975 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5976 const focusScopeId1_isGroup_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5977 let focusScopeId1_isGroup_buf: boolean | undefined|undefined 5978 if ((RuntimeType.UNDEFINED) != (focusScopeId1_isGroup_buf_runtimeType)) 5979 { 5980 focusScopeId1_isGroup_buf = thisDeserializer.readBoolean() 5981 } 5982 node.focusScopeId1_isGroup = focusScopeId1_isGroup_buf 5983 const focusScopeId1_arrowStepOut_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5984 let focusScopeId1_arrowStepOut_buf: boolean | undefined|undefined 5985 if ((RuntimeType.UNDEFINED) != (focusScopeId1_arrowStepOut_buf_runtimeType)) 5986 { 5987 focusScopeId1_arrowStepOut_buf = thisDeserializer.readBoolean() 5988 } 5989 node.focusScopeId1_arrowStepOut = focusScopeId1_arrowStepOut_buf 5990 } 5991 _CommonMethod_focusScopePriority(ptr: KPointer, scopeId: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 5992 let node = this.ptr2object<CommonMethodInterface>(ptr) 5993 node.focusScopePriority_scopeId = scopeId 5994 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 5995 const focusScopePriority_priority_buf_runtimeType = (thisDeserializer.readInt8() as int32) 5996 let focusScopePriority_priority_buf: FocusPriority | undefined|undefined 5997 if ((RuntimeType.UNDEFINED) != (focusScopePriority_priority_buf_runtimeType)) 5998 { 5999 focusScopePriority_priority_buf = (thisDeserializer.readInt32() as FocusPriority) 6000 } 6001 node.focusScopePriority_priority = focusScopePriority_priority_buf 6002 } 6003 _CommonMethod_gesture(ptr: KPointer, gesture: KInt, thisArray: Uint8Array, thisLength: int32): void { 6004 let node = this.ptr2object<CommonMethodInterface>(ptr) 6005 node.gesture_gesture = gesture 6006 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6007 const gesture_mask_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6008 let gesture_mask_buf: GestureMask | undefined|undefined 6009 if ((RuntimeType.UNDEFINED) != (gesture_mask_buf_runtimeType)) 6010 { 6011 gesture_mask_buf = (thisDeserializer.readInt32() as GestureMask) 6012 } 6013 node.gesture_mask = gesture_mask_buf 6014 } 6015 _CommonMethod_priorityGesture(ptr: KPointer, gesture: KInt, thisArray: Uint8Array, thisLength: int32): void { 6016 let node = this.ptr2object<CommonMethodInterface>(ptr) 6017 node.priorityGesture_gesture = gesture 6018 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6019 const priorityGesture_mask_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6020 let priorityGesture_mask_buf: GestureMask | undefined|undefined 6021 if ((RuntimeType.UNDEFINED) != (priorityGesture_mask_buf_runtimeType)) 6022 { 6023 priorityGesture_mask_buf = (thisDeserializer.readInt32() as GestureMask) 6024 } 6025 node.priorityGesture_mask = priorityGesture_mask_buf 6026 } 6027 _CommonMethod_parallelGesture(ptr: KPointer, gesture: KInt, thisArray: Uint8Array, thisLength: int32): void { 6028 let node = this.ptr2object<CommonMethodInterface>(ptr) 6029 node.parallelGesture_gesture = gesture 6030 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6031 const parallelGesture_mask_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6032 let parallelGesture_mask_buf: GestureMask | undefined|undefined 6033 if ((RuntimeType.UNDEFINED) != (parallelGesture_mask_buf_runtimeType)) 6034 { 6035 parallelGesture_mask_buf = (thisDeserializer.readInt32() as GestureMask) 6036 } 6037 node.parallelGesture_mask = parallelGesture_mask_buf 6038 } 6039 _CommonMethod_blur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void { 6040 let node = this.ptr2object<CommonMethodInterface>(ptr) 6041 node.blur_value = value 6042 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6043 const blur_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6044 let blur_options_buf: BlurOptions | undefined|undefined 6045 if ((RuntimeType.UNDEFINED) != (blur_options_buf_runtimeType)) 6046 { 6047 blur_options_buf = thisDeserializer.readBlurOptions() 6048 } 6049 node.blur_options = blur_options_buf 6050 } 6051 _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void { 6052 let node = this.ptr2object<CommonMethodInterface>(ptr) 6053 node.linearGradientBlur_value = value 6054 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6055 node.linearGradientBlur_options = thisDeserializer.readLinearGradientBlurOptions() 6056 } 6057 _CommonMethod_systemBarEffect(ptr: KPointer): void { 6058 let node = this.ptr2object<CommonMethodInterface>(ptr) 6059 } 6060 _CommonMethod_backdropBlur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void { 6061 let node = this.ptr2object<CommonMethodInterface>(ptr) 6062 node.backdropBlur_value = value 6063 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6064 const backdropBlur_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6065 let backdropBlur_options_buf: BlurOptions | undefined|undefined 6066 if ((RuntimeType.UNDEFINED) != (backdropBlur_options_buf_runtimeType)) 6067 { 6068 backdropBlur_options_buf = thisDeserializer.readBlurOptions() 6069 } 6070 node.backdropBlur_options = backdropBlur_options_buf 6071 } 6072 _CommonMethod_sharedTransition(ptr: KPointer, id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 6073 let node = this.ptr2object<CommonMethodInterface>(ptr) 6074 node.sharedTransition_id = id 6075 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6076 const sharedTransition_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6077 let sharedTransition_options_buf: sharedTransitionOptions | undefined|undefined 6078 if ((RuntimeType.UNDEFINED) != (sharedTransition_options_buf_runtimeType)) 6079 { 6080 sharedTransition_options_buf = thisDeserializer.readsharedTransitionOptions() 6081 } 6082 node.sharedTransition_options = sharedTransition_options_buf 6083 } 6084 _CommonMethod_chainMode(ptr: KPointer, direction: KInt, style: KInt): void { 6085 let node = this.ptr2object<CommonMethodInterface>(ptr) 6086 node.chainMode_direction = direction 6087 node.chainMode_style = style 6088 } 6089 _CommonMethod_dragPreviewOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6090 let node = this.ptr2object<CommonMethodInterface>(ptr) 6091 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6092 node.dragPreviewOptions_value = thisDeserializer.readDragPreviewOptions() 6093 const dragPreviewOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6094 let dragPreviewOptions_options_buf: DragInteractionOptions | undefined|undefined 6095 if ((RuntimeType.UNDEFINED) != (dragPreviewOptions_options_buf_runtimeType)) 6096 { 6097 dragPreviewOptions_options_buf = thisDeserializer.readDragInteractionOptions() 6098 } 6099 node.dragPreviewOptions_options = dragPreviewOptions_options_buf 6100 } 6101 _CommonMethod_overlay(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6102 let node = this.ptr2object<CommonMethodInterface>(ptr) 6103 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6104 const overlay_value_buf_selector: number = thisDeserializer.readInt8() 6105 let overlay_value_buf: string | CustomBuilder | ComponentContent | undefined|undefined 6106 if (overlay_value_buf_selector == 0) { 6107 overlay_value_buf = (thisDeserializer.readString() as string) 6108 } 6109 else if (overlay_value_buf_selector == 1) { 6110 overlay_value_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6111 } 6112 else if (overlay_value_buf_selector == 2) { 6113 overlay_value_buf = thisDeserializer.readComponentContent() 6114 } 6115 else { 6116 throw new Error("One of the branches for overlay_value_buf has to be chosen through deserialisation.") 6117 } 6118 node.overlay_value = (overlay_value_buf as string | CustomBuilder | ComponentContent) 6119 const overlay_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6120 let overlay_options_buf: OverlayOptions | undefined|undefined 6121 if ((RuntimeType.UNDEFINED) != (overlay_options_buf_runtimeType)) 6122 { 6123 overlay_options_buf = thisDeserializer.readOverlayOptions() 6124 } 6125 node.overlay_options = overlay_options_buf 6126 } 6127 _CommonMethod_blendMode(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 6128 let node = this.ptr2object<CommonMethodInterface>(ptr) 6129 node.blendMode_value = value 6130 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6131 const blendMode_type_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6132 let blendMode_type_buf: BlendApplyType | undefined|undefined 6133 if ((RuntimeType.UNDEFINED) != (blendMode_type_buf_runtimeType)) 6134 { 6135 blendMode_type_buf = (thisDeserializer.readInt32() as BlendApplyType) 6136 } 6137 node.blendMode_type = blendMode_type_buf 6138 } 6139 _CommonMethod_advancedBlendMode(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6140 let node = this.ptr2object<CommonMethodInterface>(ptr) 6141 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6142 const advancedBlendMode_effect_buf_selector: number = thisDeserializer.readInt8() 6143 let advancedBlendMode_effect_buf: BlendMode | Blender | undefined|undefined 6144 if (advancedBlendMode_effect_buf_selector == 0) { 6145 advancedBlendMode_effect_buf = (thisDeserializer.readInt32() as BlendMode) 6146 } 6147 else if (advancedBlendMode_effect_buf_selector == 1) { 6148 advancedBlendMode_effect_buf = thisDeserializer.readBlender() 6149 } 6150 else { 6151 throw new Error("One of the branches for advancedBlendMode_effect_buf has to be chosen through deserialisation.") 6152 } 6153 node.advancedBlendMode_effect = (advancedBlendMode_effect_buf as BlendMode | Blender) 6154 const advancedBlendMode_type_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6155 let advancedBlendMode_type_buf: BlendApplyType | undefined|undefined 6156 if ((RuntimeType.UNDEFINED) != (advancedBlendMode_type_buf_runtimeType)) 6157 { 6158 advancedBlendMode_type_buf = (thisDeserializer.readInt32() as BlendApplyType) 6159 } 6160 node.advancedBlendMode_type = advancedBlendMode_type_buf 6161 } 6162 _CommonMethod_bindPopup(ptr: KPointer, show: KInt, thisArray: Uint8Array, thisLength: int32): void { 6163 let node = this.ptr2object<CommonMethodInterface>(ptr) 6164 node.bindPopup_show = show 6165 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6166 const bindPopup_popup_buf_selector: number = thisDeserializer.readInt8() 6167 let bindPopup_popup_buf: PopupOptions | CustomPopupOptions | undefined|undefined 6168 if (bindPopup_popup_buf_selector == 0) { 6169 bindPopup_popup_buf = thisDeserializer.readPopupOptions() 6170 } 6171 else if (bindPopup_popup_buf_selector == 1) { 6172 bindPopup_popup_buf = thisDeserializer.readCustomPopupOptions() 6173 } 6174 else { 6175 throw new Error("One of the branches for bindPopup_popup_buf has to be chosen through deserialisation.") 6176 } 6177 node.bindPopup_popup = (bindPopup_popup_buf as PopupOptions | CustomPopupOptions) 6178 } 6179 _CommonMethod_bindMenu0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6180 let node = this.ptr2object<CommonMethodInterface>(ptr) 6181 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6182 const bindMenu0_content_buf_selector: number = thisDeserializer.readInt8() 6183 let bindMenu0_content_buf: Array<MenuElement> | CustomBuilder | undefined|undefined 6184 if (bindMenu0_content_buf_selector == 0) { 6185 const bindMenu0_content_buf_u_length: int32 = thisDeserializer.readInt32() 6186 let bindMenu0_content_buf_u: Array<MenuElement> = new Array<MenuElement>() 6187 for (let bindMenu0_content_buf_u_i = 0; bindMenu0_content_buf_u_i < bindMenu0_content_buf_u_length; bindMenu0_content_buf_u_i++) { 6188 bindMenu0_content_buf_u[bindMenu0_content_buf_u_i] = thisDeserializer.readMenuElement() 6189 } 6190 bindMenu0_content_buf = bindMenu0_content_buf_u 6191 } 6192 else if (bindMenu0_content_buf_selector == 1) { 6193 bindMenu0_content_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6194 } 6195 else { 6196 throw new Error("One of the branches for bindMenu0_content_buf has to be chosen through deserialisation.") 6197 } 6198 node.bindMenu0_content = (bindMenu0_content_buf as Array<MenuElement> | CustomBuilder) 6199 const bindMenu0_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6200 let bindMenu0_options_buf: MenuOptions | undefined|undefined 6201 if ((RuntimeType.UNDEFINED) != (bindMenu0_options_buf_runtimeType)) 6202 { 6203 bindMenu0_options_buf = thisDeserializer.readMenuOptions() 6204 } 6205 node.bindMenu0_options = bindMenu0_options_buf 6206 } 6207 _CommonMethod_bindMenu1(ptr: KPointer, isShow: KInt, thisArray: Uint8Array, thisLength: int32): void { 6208 let node = this.ptr2object<CommonMethodInterface>(ptr) 6209 node.bindMenu1_isShow = isShow 6210 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6211 const bindMenu1_content_buf_selector: number = thisDeserializer.readInt8() 6212 let bindMenu1_content_buf: Array<MenuElement> | CustomBuilder | undefined|undefined 6213 if (bindMenu1_content_buf_selector == 0) { 6214 const bindMenu1_content_buf_u_length: int32 = thisDeserializer.readInt32() 6215 let bindMenu1_content_buf_u: Array<MenuElement> = new Array<MenuElement>() 6216 for (let bindMenu1_content_buf_u_i = 0; bindMenu1_content_buf_u_i < bindMenu1_content_buf_u_length; bindMenu1_content_buf_u_i++) { 6217 bindMenu1_content_buf_u[bindMenu1_content_buf_u_i] = thisDeserializer.readMenuElement() 6218 } 6219 bindMenu1_content_buf = bindMenu1_content_buf_u 6220 } 6221 else if (bindMenu1_content_buf_selector == 1) { 6222 bindMenu1_content_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6223 } 6224 else { 6225 throw new Error("One of the branches for bindMenu1_content_buf has to be chosen through deserialisation.") 6226 } 6227 node.bindMenu1_content = (bindMenu1_content_buf as Array<MenuElement> | CustomBuilder) 6228 const bindMenu1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6229 let bindMenu1_options_buf: MenuOptions | undefined|undefined 6230 if ((RuntimeType.UNDEFINED) != (bindMenu1_options_buf_runtimeType)) 6231 { 6232 bindMenu1_options_buf = thisDeserializer.readMenuOptions() 6233 } 6234 node.bindMenu1_options = bindMenu1_options_buf 6235 } 6236 _CommonMethod_bindContextMenu0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, responseType: KInt): void { 6237 let node = this.ptr2object<CommonMethodInterface>(ptr) 6238 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6239 node.bindContextMenu0_content = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6240 node.bindContextMenu0_responseType = thisLength 6241 const bindContextMenu0_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6242 let bindContextMenu0_options_buf: ContextMenuOptions | undefined|undefined 6243 if ((RuntimeType.UNDEFINED) != (bindContextMenu0_options_buf_runtimeType)) 6244 { 6245 bindContextMenu0_options_buf = thisDeserializer.readContextMenuOptions() 6246 } 6247 node.bindContextMenu0_options = bindContextMenu0_options_buf 6248 } 6249 _CommonMethod_bindContextMenu1(ptr: KPointer, isShown: KInt, thisArray: Uint8Array, thisLength: int32): void { 6250 let node = this.ptr2object<CommonMethodInterface>(ptr) 6251 node.bindContextMenu1_isShown = isShown 6252 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6253 node.bindContextMenu1_content = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6254 const bindContextMenu1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6255 let bindContextMenu1_options_buf: ContextMenuOptions | undefined|undefined 6256 if ((RuntimeType.UNDEFINED) != (bindContextMenu1_options_buf_runtimeType)) 6257 { 6258 bindContextMenu1_options_buf = thisDeserializer.readContextMenuOptions() 6259 } 6260 node.bindContextMenu1_options = bindContextMenu1_options_buf 6261 } 6262 _CommonMethod_bindContentCover0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6263 let node = this.ptr2object<CommonMethodInterface>(ptr) 6264 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6265 const bindContentCover0_isShow_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6266 let bindContentCover0_isShow_buf: boolean | undefined|undefined 6267 if ((RuntimeType.UNDEFINED) != (bindContentCover0_isShow_buf_runtimeType)) 6268 { 6269 bindContentCover0_isShow_buf = thisDeserializer.readBoolean() 6270 } 6271 node.bindContentCover0_isShow = bindContentCover0_isShow_buf 6272 node.bindContentCover0_builder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6273 const bindContentCover0_type_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6274 let bindContentCover0_type_buf: ModalTransition | undefined|undefined 6275 if ((RuntimeType.UNDEFINED) != (bindContentCover0_type_buf_runtimeType)) 6276 { 6277 bindContentCover0_type_buf = (thisDeserializer.readInt32() as ModalTransition) 6278 } 6279 node.bindContentCover0_type = bindContentCover0_type_buf 6280 } 6281 _CommonMethod_bindContentCover1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6282 let node = this.ptr2object<CommonMethodInterface>(ptr) 6283 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6284 const bindContentCover1_isShow_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6285 let bindContentCover1_isShow_buf: boolean | undefined|undefined 6286 if ((RuntimeType.UNDEFINED) != (bindContentCover1_isShow_buf_runtimeType)) 6287 { 6288 bindContentCover1_isShow_buf = thisDeserializer.readBoolean() 6289 } 6290 node.bindContentCover1_isShow = bindContentCover1_isShow_buf 6291 node.bindContentCover1_builder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6292 const bindContentCover1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6293 let bindContentCover1_options_buf: ContentCoverOptions | undefined|undefined 6294 if ((RuntimeType.UNDEFINED) != (bindContentCover1_options_buf_runtimeType)) 6295 { 6296 bindContentCover1_options_buf = thisDeserializer.readContentCoverOptions() 6297 } 6298 node.bindContentCover1_options = bindContentCover1_options_buf 6299 } 6300 _CommonMethod_bindSheet(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6301 let node = this.ptr2object<CommonMethodInterface>(ptr) 6302 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6303 const bindSheet_isShow_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6304 let bindSheet_isShow_buf: boolean | undefined|undefined 6305 if ((RuntimeType.UNDEFINED) != (bindSheet_isShow_buf_runtimeType)) 6306 { 6307 bindSheet_isShow_buf = thisDeserializer.readBoolean() 6308 } 6309 node.bindSheet_isShow = bindSheet_isShow_buf 6310 node.bindSheet_builder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 6311 const bindSheet_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6312 let bindSheet_options_buf: SheetOptions | undefined|undefined 6313 if ((RuntimeType.UNDEFINED) != (bindSheet_options_buf_runtimeType)) 6314 { 6315 bindSheet_options_buf = thisDeserializer.readSheetOptions() 6316 } 6317 node.bindSheet_options = bindSheet_options_buf 6318 } 6319 _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6320 let node = this.ptr2object<CommonMethodInterface>(ptr) 6321 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6322 const onVisibleAreaChange_ratios_buf_length: int32 = thisDeserializer.readInt32() 6323 let onVisibleAreaChange_ratios_buf: Array<number> = new Array<number>() 6324 for (let onVisibleAreaChange_ratios_buf_i = 0; onVisibleAreaChange_ratios_buf_i < onVisibleAreaChange_ratios_buf_length; onVisibleAreaChange_ratios_buf_i++) { 6325 onVisibleAreaChange_ratios_buf[onVisibleAreaChange_ratios_buf_i] = (thisDeserializer.readNumber() as number) 6326 } 6327 node.onVisibleAreaChange_ratios = onVisibleAreaChange_ratios_buf 6328 node.onVisibleAreaChange_event = thisDeserializer.readVisibleAreaChangeCallback() 6329 } 6330 _CommonMethod_keyboardShortcut(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6331 let node = this.ptr2object<CommonMethodInterface>(ptr) 6332 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6333 const keyboardShortcut_value_buf_selector: number = thisDeserializer.readInt8() 6334 let keyboardShortcut_value_buf: string | FunctionKey | undefined|undefined 6335 if (keyboardShortcut_value_buf_selector == 0) { 6336 keyboardShortcut_value_buf = (thisDeserializer.readString() as string) 6337 } 6338 else if (keyboardShortcut_value_buf_selector == 1) { 6339 keyboardShortcut_value_buf = (thisDeserializer.readInt32() as FunctionKey) 6340 } 6341 else { 6342 throw new Error("One of the branches for keyboardShortcut_value_buf has to be chosen through deserialisation.") 6343 } 6344 node.keyboardShortcut_value = (keyboardShortcut_value_buf as string | FunctionKey) 6345 const keyboardShortcut_keys_buf_length: int32 = thisDeserializer.readInt32() 6346 let keyboardShortcut_keys_buf: Array<ModifierKey> = new Array<ModifierKey>() 6347 for (let keyboardShortcut_keys_buf_i = 0; keyboardShortcut_keys_buf_i < keyboardShortcut_keys_buf_length; keyboardShortcut_keys_buf_i++) { 6348 keyboardShortcut_keys_buf[keyboardShortcut_keys_buf_i] = (thisDeserializer.readInt32() as ModifierKey) 6349 } 6350 node.keyboardShortcut_keys = keyboardShortcut_keys_buf 6351 const keyboardShortcut_action_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6352 let keyboardShortcut_action_buf: (() => void) | undefined|undefined 6353 if ((RuntimeType.UNDEFINED) != (keyboardShortcut_action_buf_runtimeType)) 6354 { 6355 keyboardShortcut_action_buf = thisDeserializer.readCallback_Void() 6356 } 6357 node.keyboardShortcut_action = keyboardShortcut_action_buf 6358 } 6359 _CommonShapeMethod_stroke(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6360 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6361 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6362 const stroke_value_buf_selector: number = thisDeserializer.readInt8() 6363 let stroke_value_buf: Color | number | string | Resource | undefined|undefined 6364 if (stroke_value_buf_selector == 0) { 6365 stroke_value_buf = (thisDeserializer.readInt32() as Color) 6366 } 6367 else if (stroke_value_buf_selector == 1) { 6368 stroke_value_buf = (thisDeserializer.readNumber() as number) 6369 } 6370 else if (stroke_value_buf_selector == 2) { 6371 stroke_value_buf = (thisDeserializer.readString() as string) 6372 } 6373 else if (stroke_value_buf_selector == 3) { 6374 stroke_value_buf = thisDeserializer.readResource() 6375 } 6376 else { 6377 throw new Error("One of the branches for stroke_value_buf has to be chosen through deserialisation.") 6378 } 6379 node.stroke_value = (stroke_value_buf as Color | number | string | Resource) 6380 } 6381 _CommonShapeMethod_fill(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6382 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6383 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6384 const fill_value_buf_selector: number = thisDeserializer.readInt8() 6385 let fill_value_buf: Color | number | string | Resource | undefined|undefined 6386 if (fill_value_buf_selector == 0) { 6387 fill_value_buf = (thisDeserializer.readInt32() as Color) 6388 } 6389 else if (fill_value_buf_selector == 1) { 6390 fill_value_buf = (thisDeserializer.readNumber() as number) 6391 } 6392 else if (fill_value_buf_selector == 2) { 6393 fill_value_buf = (thisDeserializer.readString() as string) 6394 } 6395 else if (fill_value_buf_selector == 3) { 6396 fill_value_buf = thisDeserializer.readResource() 6397 } 6398 else { 6399 throw new Error("One of the branches for fill_value_buf has to be chosen through deserialisation.") 6400 } 6401 node.fill_value = (fill_value_buf as Color | number | string | Resource) 6402 } 6403 _CommonShapeMethod_strokeDashOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6404 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6405 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6406 const strokeDashOffset_value_buf_selector: number = thisDeserializer.readInt8() 6407 let strokeDashOffset_value_buf: number | string | undefined|undefined 6408 if (strokeDashOffset_value_buf_selector == 0) { 6409 strokeDashOffset_value_buf = (thisDeserializer.readNumber() as number) 6410 } 6411 else if (strokeDashOffset_value_buf_selector == 1) { 6412 strokeDashOffset_value_buf = (thisDeserializer.readString() as string) 6413 } 6414 else { 6415 throw new Error("One of the branches for strokeDashOffset_value_buf has to be chosen through deserialisation.") 6416 } 6417 node.strokeDashOffset_value = (strokeDashOffset_value_buf as number | string) 6418 } 6419 _CommonShapeMethod_strokeLineCap(ptr: KPointer, value: KInt): void { 6420 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6421 node.strokeLineCap_value = value 6422 } 6423 _CommonShapeMethod_strokeLineJoin(ptr: KPointer, value: KInt): void { 6424 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6425 node.strokeLineJoin_value = value 6426 } 6427 _CommonShapeMethod_strokeMiterLimit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6428 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6429 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6430 const strokeMiterLimit_value_buf_selector: number = thisDeserializer.readInt8() 6431 let strokeMiterLimit_value_buf: number | string | undefined|undefined 6432 if (strokeMiterLimit_value_buf_selector == 0) { 6433 strokeMiterLimit_value_buf = (thisDeserializer.readNumber() as number) 6434 } 6435 else if (strokeMiterLimit_value_buf_selector == 1) { 6436 strokeMiterLimit_value_buf = (thisDeserializer.readString() as string) 6437 } 6438 else { 6439 throw new Error("One of the branches for strokeMiterLimit_value_buf has to be chosen through deserialisation.") 6440 } 6441 node.strokeMiterLimit_value = (strokeMiterLimit_value_buf as number | string) 6442 } 6443 _CommonShapeMethod_strokeOpacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6444 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6445 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6446 const strokeOpacity_value_buf_selector: number = thisDeserializer.readInt8() 6447 let strokeOpacity_value_buf: number | string | Resource | undefined|undefined 6448 if (strokeOpacity_value_buf_selector == 0) { 6449 strokeOpacity_value_buf = (thisDeserializer.readNumber() as number) 6450 } 6451 else if (strokeOpacity_value_buf_selector == 1) { 6452 strokeOpacity_value_buf = (thisDeserializer.readString() as string) 6453 } 6454 else if (strokeOpacity_value_buf_selector == 2) { 6455 strokeOpacity_value_buf = thisDeserializer.readResource() 6456 } 6457 else { 6458 throw new Error("One of the branches for strokeOpacity_value_buf has to be chosen through deserialisation.") 6459 } 6460 node.strokeOpacity_value = (strokeOpacity_value_buf as number | string | Resource) 6461 } 6462 _CommonShapeMethod_fillOpacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6463 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6464 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6465 const fillOpacity_value_buf_selector: number = thisDeserializer.readInt8() 6466 let fillOpacity_value_buf: number | string | Resource | undefined|undefined 6467 if (fillOpacity_value_buf_selector == 0) { 6468 fillOpacity_value_buf = (thisDeserializer.readNumber() as number) 6469 } 6470 else if (fillOpacity_value_buf_selector == 1) { 6471 fillOpacity_value_buf = (thisDeserializer.readString() as string) 6472 } 6473 else if (fillOpacity_value_buf_selector == 2) { 6474 fillOpacity_value_buf = thisDeserializer.readResource() 6475 } 6476 else { 6477 throw new Error("One of the branches for fillOpacity_value_buf has to be chosen through deserialisation.") 6478 } 6479 node.fillOpacity_value = (fillOpacity_value_buf as number | string | Resource) 6480 } 6481 _CommonShapeMethod_strokeWidth(ptr: KPointer, value: Length): void { 6482 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6483 node.strokeWidth_value = value 6484 } 6485 _CommonShapeMethod_antiAlias(ptr: KPointer, value: KInt): void { 6486 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6487 node.antiAlias_value = value 6488 } 6489 _CommonShapeMethod_strokeDashArray(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6490 let node = this.ptr2object<CommonShapeMethodInterface>(ptr) 6491 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6492 const strokeDashArray_value_buf_length: int32 = thisDeserializer.readInt32() 6493 let strokeDashArray_value_buf: Array<any> = new Array<any>() 6494 for (let strokeDashArray_value_buf_i = 0; strokeDashArray_value_buf_i < strokeDashArray_value_buf_length; strokeDashArray_value_buf_i++) { 6495 strokeDashArray_value_buf[strokeDashArray_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 6496 } 6497 node.strokeDashArray_value = strokeDashArray_value_buf 6498 } 6499 _CommonInterface_setCommonOptions(ptr: KPointer): void { 6500 let node = this.ptr2object<CommonInterface>(ptr) 6501 } 6502 _ScrollableCommonMethod_scrollBar(ptr: KPointer, value: KInt): void { 6503 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6504 node.scrollBar_value = value 6505 } 6506 _ScrollableCommonMethod_scrollBarColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6507 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6508 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6509 const scrollBarColor_value_buf_selector: number = thisDeserializer.readInt8() 6510 let scrollBarColor_value_buf: Color | number | string | undefined|undefined 6511 if (scrollBarColor_value_buf_selector == 0) { 6512 scrollBarColor_value_buf = (thisDeserializer.readInt32() as Color) 6513 } 6514 else if (scrollBarColor_value_buf_selector == 1) { 6515 scrollBarColor_value_buf = (thisDeserializer.readNumber() as number) 6516 } 6517 else if (scrollBarColor_value_buf_selector == 2) { 6518 scrollBarColor_value_buf = (thisDeserializer.readString() as string) 6519 } 6520 else { 6521 throw new Error("One of the branches for scrollBarColor_value_buf has to be chosen through deserialisation.") 6522 } 6523 node.scrollBarColor_value = (scrollBarColor_value_buf as Color | number | string) 6524 } 6525 _ScrollableCommonMethod_scrollBarWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6526 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6527 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6528 const scrollBarWidth_value_buf_selector: number = thisDeserializer.readInt8() 6529 let scrollBarWidth_value_buf: number | string | undefined|undefined 6530 if (scrollBarWidth_value_buf_selector == 0) { 6531 scrollBarWidth_value_buf = (thisDeserializer.readNumber() as number) 6532 } 6533 else if (scrollBarWidth_value_buf_selector == 1) { 6534 scrollBarWidth_value_buf = (thisDeserializer.readString() as string) 6535 } 6536 else { 6537 throw new Error("One of the branches for scrollBarWidth_value_buf has to be chosen through deserialisation.") 6538 } 6539 node.scrollBarWidth_value = (scrollBarWidth_value_buf as number | string) 6540 } 6541 _ScrollableCommonMethod_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6542 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6543 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6544 node.nestedScroll_value = thisDeserializer.readNestedScrollOptions() 6545 } 6546 _ScrollableCommonMethod_enableScrollInteraction(ptr: KPointer, value: KInt): void { 6547 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6548 node.enableScrollInteraction_value = value 6549 } 6550 _ScrollableCommonMethod_friction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6551 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6552 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6553 const friction_value_buf_selector: number = thisDeserializer.readInt8() 6554 let friction_value_buf: number | Resource | undefined|undefined 6555 if (friction_value_buf_selector == 0) { 6556 friction_value_buf = (thisDeserializer.readNumber() as number) 6557 } 6558 else if (friction_value_buf_selector == 1) { 6559 friction_value_buf = thisDeserializer.readResource() 6560 } 6561 else { 6562 throw new Error("One of the branches for friction_value_buf has to be chosen through deserialisation.") 6563 } 6564 node.friction_value = (friction_value_buf as number | Resource) 6565 } 6566 _ScrollableCommonMethod_onScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6567 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6568 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6569 node.onScroll_value = thisDeserializer.readCallback_Number_ScrollState_Void() 6570 } 6571 _ScrollableCommonMethod_onWillScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6572 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6573 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6574 const onWillScroll_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6575 let onWillScroll_value_buf: ScrollOnWillScrollCallback | undefined|undefined 6576 if ((RuntimeType.UNDEFINED) != (onWillScroll_value_buf_runtimeType)) 6577 { 6578 onWillScroll_value_buf = thisDeserializer.readScrollOnWillScrollCallback() 6579 } 6580 node.onWillScroll_value = onWillScroll_value_buf 6581 } 6582 _ScrollableCommonMethod_onDidScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6583 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6584 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6585 const onDidScroll_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6586 let onDidScroll_value_buf: ScrollOnWillScrollCallback | undefined|undefined 6587 if ((RuntimeType.UNDEFINED) != (onDidScroll_value_buf_runtimeType)) 6588 { 6589 onDidScroll_value_buf = thisDeserializer.readScrollOnWillScrollCallback() 6590 } 6591 node.onDidScroll_value = onDidScroll_value_buf 6592 } 6593 _ScrollableCommonMethod_onReachStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6594 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6595 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6596 node.onReachStart_value = thisDeserializer.readCallback_Void() 6597 } 6598 _ScrollableCommonMethod_onReachEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6599 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6600 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6601 node.onReachEnd_value = thisDeserializer.readCallback_Void() 6602 } 6603 _ScrollableCommonMethod_onScrollStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6604 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6605 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6606 node.onScrollStart_value = thisDeserializer.readCallback_Void() 6607 } 6608 _ScrollableCommonMethod_onScrollStop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6609 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6610 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6611 node.onScrollStop_value = thisDeserializer.readCallback_Void() 6612 } 6613 _ScrollableCommonMethod_flingSpeedLimit(ptr: KPointer, value: number): void { 6614 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6615 node.flingSpeedLimit_value = value 6616 } 6617 _ScrollableCommonMethod_clipContent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6618 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6619 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6620 const clipContent_value_buf_selector: number = thisDeserializer.readInt8() 6621 let clipContent_value_buf: ContentClipMode | RectShape | undefined|undefined 6622 if (clipContent_value_buf_selector == 0) { 6623 clipContent_value_buf = (thisDeserializer.readInt32() as ContentClipMode) 6624 } 6625 else if (clipContent_value_buf_selector == 1) { 6626 clipContent_value_buf = thisDeserializer.readRectShape() 6627 } 6628 else { 6629 throw new Error("One of the branches for clipContent_value_buf has to be chosen through deserialisation.") 6630 } 6631 node.clipContent_value = (clipContent_value_buf as ContentClipMode | RectShape) 6632 } 6633 _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: Uint8Array, thisLength: int32): void { 6634 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6635 node.edgeEffect_edgeEffect = edgeEffect 6636 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6637 const edgeEffect_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6638 let edgeEffect_options_buf: EdgeEffectOptions | undefined|undefined 6639 if ((RuntimeType.UNDEFINED) != (edgeEffect_options_buf_runtimeType)) 6640 { 6641 edgeEffect_options_buf = thisDeserializer.readEdgeEffectOptions() 6642 } 6643 node.edgeEffect_options = edgeEffect_options_buf 6644 } 6645 _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6646 let node = this.ptr2object<ScrollableCommonMethodInterface>(ptr) 6647 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6648 const fadingEdge_enabled_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6649 let fadingEdge_enabled_buf: boolean | undefined|undefined 6650 if ((RuntimeType.UNDEFINED) != (fadingEdge_enabled_buf_runtimeType)) 6651 { 6652 fadingEdge_enabled_buf = thisDeserializer.readBoolean() 6653 } 6654 node.fadingEdge_enabled = fadingEdge_enabled_buf 6655 const fadingEdge_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6656 let fadingEdge_options_buf: FadingEdgeOptions | undefined|undefined 6657 if ((RuntimeType.UNDEFINED) != (fadingEdge_options_buf_runtimeType)) 6658 { 6659 fadingEdge_options_buf = thisDeserializer.readFadingEdgeOptions() 6660 } 6661 node.fadingEdge_options = fadingEdge_options_buf 6662 } 6663 _Component3DInterface_setComponent3DOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6664 let node = this.ptr2object<Component3DInterface>(ptr) 6665 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6666 const setComponent3DOptions_sceneOptions_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6667 let setComponent3DOptions_sceneOptions_buf: SceneOptions | undefined|undefined 6668 if ((RuntimeType.UNDEFINED) != (setComponent3DOptions_sceneOptions_buf_runtimeType)) 6669 { 6670 setComponent3DOptions_sceneOptions_buf = thisDeserializer.readSceneOptions() 6671 } 6672 node.setComponent3DOptions_sceneOptions = setComponent3DOptions_sceneOptions_buf 6673 } 6674 _Component3DAttribute_environment(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6675 let node = this.ptr2object<Component3DInterface>(ptr) 6676 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6677 const environment_value_buf_selector: number = thisDeserializer.readInt8() 6678 let environment_value_buf: string | Resource | undefined|undefined 6679 if (environment_value_buf_selector == 0) { 6680 environment_value_buf = (thisDeserializer.readString() as string) 6681 } 6682 else if (environment_value_buf_selector == 1) { 6683 environment_value_buf = thisDeserializer.readResource() 6684 } 6685 else { 6686 throw new Error("One of the branches for environment_value_buf has to be chosen through deserialisation.") 6687 } 6688 node.environment_value = (environment_value_buf as string | Resource) 6689 } 6690 _Component3DAttribute_shader(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6691 let node = this.ptr2object<Component3DInterface>(ptr) 6692 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6693 const shader_value_buf_selector: number = thisDeserializer.readInt8() 6694 let shader_value_buf: string | Resource | undefined|undefined 6695 if (shader_value_buf_selector == 0) { 6696 shader_value_buf = (thisDeserializer.readString() as string) 6697 } 6698 else if (shader_value_buf_selector == 1) { 6699 shader_value_buf = thisDeserializer.readResource() 6700 } 6701 else { 6702 throw new Error("One of the branches for shader_value_buf has to be chosen through deserialisation.") 6703 } 6704 node.shader_value = (shader_value_buf as string | Resource) 6705 } 6706 _Component3DAttribute_shaderImageTexture(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6707 let node = this.ptr2object<Component3DInterface>(ptr) 6708 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6709 const shaderImageTexture_value_buf_selector: number = thisDeserializer.readInt8() 6710 let shaderImageTexture_value_buf: string | Resource | undefined|undefined 6711 if (shaderImageTexture_value_buf_selector == 0) { 6712 shaderImageTexture_value_buf = (thisDeserializer.readString() as string) 6713 } 6714 else if (shaderImageTexture_value_buf_selector == 1) { 6715 shaderImageTexture_value_buf = thisDeserializer.readResource() 6716 } 6717 else { 6718 throw new Error("One of the branches for shaderImageTexture_value_buf has to be chosen through deserialisation.") 6719 } 6720 node.shaderImageTexture_value = (shaderImageTexture_value_buf as string | Resource) 6721 } 6722 _Component3DAttribute_shaderInputBuffer(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6723 let node = this.ptr2object<Component3DInterface>(ptr) 6724 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6725 const shaderInputBuffer_value_buf_length: int32 = thisDeserializer.readInt32() 6726 let shaderInputBuffer_value_buf: Array<number> = new Array<number>() 6727 for (let shaderInputBuffer_value_buf_i = 0; shaderInputBuffer_value_buf_i < shaderInputBuffer_value_buf_length; shaderInputBuffer_value_buf_i++) { 6728 shaderInputBuffer_value_buf[shaderInputBuffer_value_buf_i] = (thisDeserializer.readNumber() as number) 6729 } 6730 node.shaderInputBuffer_value = shaderInputBuffer_value_buf 6731 } 6732 _Component3DAttribute_renderWidth(ptr: KPointer, value: Length): void { 6733 let node = this.ptr2object<Component3DInterface>(ptr) 6734 node.renderWidth_value = value 6735 } 6736 _Component3DAttribute_renderHeight(ptr: KPointer, value: Length): void { 6737 let node = this.ptr2object<Component3DInterface>(ptr) 6738 node.renderHeight_value = value 6739 } 6740 _Component3DAttribute_customRender(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, selfRenderUpdate: KInt): void { 6741 let node = this.ptr2object<Component3DInterface>(ptr) 6742 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6743 const customRender_uri_buf_selector: number = thisDeserializer.readInt8() 6744 let customRender_uri_buf: string | Resource | undefined|undefined 6745 if (customRender_uri_buf_selector == 0) { 6746 customRender_uri_buf = (thisDeserializer.readString() as string) 6747 } 6748 else if (customRender_uri_buf_selector == 1) { 6749 customRender_uri_buf = thisDeserializer.readResource() 6750 } 6751 else { 6752 throw new Error("One of the branches for customRender_uri_buf has to be chosen through deserialisation.") 6753 } 6754 node.customRender_uri = (customRender_uri_buf as string | Resource) 6755 node.customRender_selfRenderUpdate = thisLength 6756 } 6757 _ContainerSpanInterface_setContainerSpanOptions(ptr: KPointer): void { 6758 let node = this.ptr2object<ContainerSpanInterface>(ptr) 6759 } 6760 _ContainerSpanAttribute_textBackgroundStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6761 let node = this.ptr2object<ContainerSpanInterface>(ptr) 6762 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6763 node.textBackgroundStyle_value = thisDeserializer.readTextBackgroundStyle() 6764 } 6765 _CounterInterface_setCounterOptions(ptr: KPointer): void { 6766 let node = this.ptr2object<CounterInterface>(ptr) 6767 } 6768 _CounterAttribute_onInc(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6769 let node = this.ptr2object<CounterInterface>(ptr) 6770 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6771 node.onInc_value = thisDeserializer.readVoidCallback() 6772 } 6773 _CounterAttribute_onDec(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6774 let node = this.ptr2object<CounterInterface>(ptr) 6775 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6776 node.onDec_value = thisDeserializer.readVoidCallback() 6777 } 6778 _CounterAttribute_enableDec(ptr: KPointer, value: KInt): void { 6779 let node = this.ptr2object<CounterInterface>(ptr) 6780 node.enableDec_value = value 6781 } 6782 _CounterAttribute_enableInc(ptr: KPointer, value: KInt): void { 6783 let node = this.ptr2object<CounterInterface>(ptr) 6784 node.enableInc_value = value 6785 } 6786 _DataPanelInterface_setDataPanelOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6787 let node = this.ptr2object<DataPanelInterface>(ptr) 6788 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6789 node.setDataPanelOptions_options = thisDeserializer.readDataPanelOptions() 6790 } 6791 _DataPanelAttribute_closeEffect(ptr: KPointer, value: KInt): void { 6792 let node = this.ptr2object<DataPanelInterface>(ptr) 6793 node.closeEffect_value = value 6794 } 6795 _DataPanelAttribute_valueColors(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6796 let node = this.ptr2object<DataPanelInterface>(ptr) 6797 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6798 const valueColors_value_buf_length: int32 = thisDeserializer.readInt32() 6799 let valueColors_value_buf: Array<ResourceColor | LinearGradient_data_panel> = new Array<ResourceColor | LinearGradient_data_panel>() 6800 for (let valueColors_value_buf_i = 0; valueColors_value_buf_i < valueColors_value_buf_length; valueColors_value_buf_i++) { 6801 const valueColors_value_buf_buf_selector: number = thisDeserializer.readInt8() 6802 let valueColors_value_buf_buf: ResourceColor | LinearGradient_data_panel | undefined|undefined 6803 if (valueColors_value_buf_buf_selector == 0) { 6804 const valueColors_value_buf_buf_u_selector: number = thisDeserializer.readInt8() 6805 let valueColors_value_buf_buf_u: Color | number | string | Resource | undefined|undefined 6806 if (valueColors_value_buf_buf_u_selector == 0) { 6807 valueColors_value_buf_buf_u = (thisDeserializer.readInt32() as Color) 6808 } 6809 else if (valueColors_value_buf_buf_u_selector == 1) { 6810 valueColors_value_buf_buf_u = (thisDeserializer.readNumber() as number) 6811 } 6812 else if (valueColors_value_buf_buf_u_selector == 2) { 6813 valueColors_value_buf_buf_u = (thisDeserializer.readString() as string) 6814 } 6815 else if (valueColors_value_buf_buf_u_selector == 3) { 6816 valueColors_value_buf_buf_u = thisDeserializer.readResource() 6817 } 6818 else { 6819 throw new Error("One of the branches for valueColors_value_buf_buf_u has to be chosen through deserialisation.") 6820 } 6821 valueColors_value_buf_buf = (valueColors_value_buf_buf_u as Color | number | string | Resource) 6822 } 6823 else if (valueColors_value_buf_buf_selector == 1) { 6824 valueColors_value_buf_buf = thisDeserializer.readLinearGradient_data_panel() 6825 } 6826 else { 6827 throw new Error("One of the branches for valueColors_value_buf_buf has to be chosen through deserialisation.") 6828 } 6829 valueColors_value_buf[valueColors_value_buf_i] = (valueColors_value_buf_buf as ResourceColor | LinearGradient_data_panel) 6830 } 6831 node.valueColors_value = valueColors_value_buf 6832 } 6833 _DataPanelAttribute_trackBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6834 let node = this.ptr2object<DataPanelInterface>(ptr) 6835 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6836 const trackBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 6837 let trackBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 6838 if (trackBackgroundColor_value_buf_selector == 0) { 6839 trackBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 6840 } 6841 else if (trackBackgroundColor_value_buf_selector == 1) { 6842 trackBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 6843 } 6844 else if (trackBackgroundColor_value_buf_selector == 2) { 6845 trackBackgroundColor_value_buf = (thisDeserializer.readString() as string) 6846 } 6847 else if (trackBackgroundColor_value_buf_selector == 3) { 6848 trackBackgroundColor_value_buf = thisDeserializer.readResource() 6849 } 6850 else { 6851 throw new Error("One of the branches for trackBackgroundColor_value_buf has to be chosen through deserialisation.") 6852 } 6853 node.trackBackgroundColor_value = (trackBackgroundColor_value_buf as Color | number | string | Resource) 6854 } 6855 _DataPanelAttribute_strokeWidth(ptr: KPointer, value: Length): void { 6856 let node = this.ptr2object<DataPanelInterface>(ptr) 6857 node.strokeWidth_value = value 6858 } 6859 _DataPanelAttribute_trackShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6860 let node = this.ptr2object<DataPanelInterface>(ptr) 6861 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6862 node.trackShadow_value = thisDeserializer.readDataPanelShadowOptions() 6863 } 6864 _DataPanelAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6865 let node = this.ptr2object<DataPanelInterface>(ptr) 6866 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6867 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 6868 } 6869 _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6870 let node = this.ptr2object<DatePickerInterface>(ptr) 6871 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6872 const setDatePickerOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6873 let setDatePickerOptions_options_buf: DatePickerOptions | undefined|undefined 6874 if ((RuntimeType.UNDEFINED) != (setDatePickerOptions_options_buf_runtimeType)) 6875 { 6876 setDatePickerOptions_options_buf = thisDeserializer.readDatePickerOptions() 6877 } 6878 node.setDatePickerOptions_options = setDatePickerOptions_options_buf 6879 } 6880 _DatePickerAttribute_lunar(ptr: KPointer, value: KInt): void { 6881 let node = this.ptr2object<DatePickerInterface>(ptr) 6882 node.lunar_value = value 6883 } 6884 _DatePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6885 let node = this.ptr2object<DatePickerInterface>(ptr) 6886 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6887 node.disappearTextStyle_value = thisDeserializer.readPickerTextStyle() 6888 } 6889 _DatePickerAttribute_textStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6890 let node = this.ptr2object<DatePickerInterface>(ptr) 6891 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6892 node.textStyle_value = thisDeserializer.readPickerTextStyle() 6893 } 6894 _DatePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6895 let node = this.ptr2object<DatePickerInterface>(ptr) 6896 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6897 node.selectedTextStyle_value = thisDeserializer.readPickerTextStyle() 6898 } 6899 _DatePickerAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6900 let node = this.ptr2object<DatePickerInterface>(ptr) 6901 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6902 node.onChange_value = thisDeserializer.readCallback_DatePickerResult_Void() 6903 } 6904 _DatePickerAttribute_onDateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6905 let node = this.ptr2object<DatePickerInterface>(ptr) 6906 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6907 node.onDateChange_value = thisDeserializer.readCallback_Date_Void() 6908 } 6909 _DividerInterface_setDividerOptions(ptr: KPointer): void { 6910 let node = this.ptr2object<DividerInterface>(ptr) 6911 } 6912 _DividerAttribute_vertical(ptr: KPointer, value: KInt): void { 6913 let node = this.ptr2object<DividerInterface>(ptr) 6914 node.vertical_value = value 6915 } 6916 _DividerAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6917 let node = this.ptr2object<DividerInterface>(ptr) 6918 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6919 const color_value_buf_selector: number = thisDeserializer.readInt8() 6920 let color_value_buf: Color | number | string | Resource | undefined|undefined 6921 if (color_value_buf_selector == 0) { 6922 color_value_buf = (thisDeserializer.readInt32() as Color) 6923 } 6924 else if (color_value_buf_selector == 1) { 6925 color_value_buf = (thisDeserializer.readNumber() as number) 6926 } 6927 else if (color_value_buf_selector == 2) { 6928 color_value_buf = (thisDeserializer.readString() as string) 6929 } 6930 else if (color_value_buf_selector == 3) { 6931 color_value_buf = thisDeserializer.readResource() 6932 } 6933 else { 6934 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 6935 } 6936 node.color_value = (color_value_buf as Color | number | string | Resource) 6937 } 6938 _DividerAttribute_strokeWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6939 let node = this.ptr2object<DividerInterface>(ptr) 6940 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6941 const strokeWidth_value_buf_selector: number = thisDeserializer.readInt8() 6942 let strokeWidth_value_buf: number | string | undefined|undefined 6943 if (strokeWidth_value_buf_selector == 0) { 6944 strokeWidth_value_buf = (thisDeserializer.readNumber() as number) 6945 } 6946 else if (strokeWidth_value_buf_selector == 1) { 6947 strokeWidth_value_buf = (thisDeserializer.readString() as string) 6948 } 6949 else { 6950 throw new Error("One of the branches for strokeWidth_value_buf has to be chosen through deserialisation.") 6951 } 6952 node.strokeWidth_value = (strokeWidth_value_buf as number | string) 6953 } 6954 _DividerAttribute_lineCap(ptr: KPointer, value: KInt): void { 6955 let node = this.ptr2object<DividerInterface>(ptr) 6956 node.lineCap_value = value 6957 } 6958 _EffectComponentInterface_setEffectComponentOptions(ptr: KPointer): void { 6959 let node = this.ptr2object<EffectComponentInterface>(ptr) 6960 } 6961 _EllipseInterface_setEllipseOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6962 let node = this.ptr2object<EllipseInterface>(ptr) 6963 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6964 const setEllipseOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6965 let setEllipseOptions_options_buf: EllipseOptions | undefined|undefined 6966 if ((RuntimeType.UNDEFINED) != (setEllipseOptions_options_buf_runtimeType)) 6967 { 6968 setEllipseOptions_options_buf = thisDeserializer.readEllipseOptions() 6969 } 6970 node.setEllipseOptions_options = setEllipseOptions_options_buf 6971 } 6972 _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, type: KInt): void { 6973 let node = this.ptr2object<EmbeddedComponentInterface>(ptr) 6974 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6975 node.setEmbeddedComponentOptions_loader = thisDeserializer.readWant() 6976 node.setEmbeddedComponentOptions_type = thisLength 6977 } 6978 _EmbeddedComponentAttribute_onTerminated(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6979 let node = this.ptr2object<EmbeddedComponentInterface>(ptr) 6980 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6981 node.onTerminated_value = thisDeserializer.readCallback_TerminationInfo_Void() 6982 } 6983 _EmbeddedComponentAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6984 let node = this.ptr2object<EmbeddedComponentInterface>(ptr) 6985 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6986 node.onError_value = thisDeserializer.readCustomObject("ErrorCallback") 6987 } 6988 _FlexInterface_setFlexOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 6989 let node = this.ptr2object<FlexInterface>(ptr) 6990 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 6991 const setFlexOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 6992 let setFlexOptions_value_buf: FlexOptions | undefined|undefined 6993 if ((RuntimeType.UNDEFINED) != (setFlexOptions_value_buf_runtimeType)) 6994 { 6995 setFlexOptions_value_buf = thisDeserializer.readFlexOptions() 6996 } 6997 node.setFlexOptions_value = setFlexOptions_value_buf 6998 } 6999 _FlexAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7000 let node = this.ptr2object<FlexInterface>(ptr) 7001 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7002 node.pointLight_value = thisDeserializer.readPointLightStyle() 7003 } 7004 _FlowItemInterface_setFlowItemOptions(ptr: KPointer): void { 7005 let node = this.ptr2object<FlowItemInterface>(ptr) 7006 } 7007 _FolderStackInterface_setFolderStackOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7008 let node = this.ptr2object<FolderStackInterface>(ptr) 7009 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7010 const setFolderStackOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7011 let setFolderStackOptions_options_buf: FolderStackOptions | undefined|undefined 7012 if ((RuntimeType.UNDEFINED) != (setFolderStackOptions_options_buf_runtimeType)) 7013 { 7014 setFolderStackOptions_options_buf = thisDeserializer.readFolderStackOptions() 7015 } 7016 node.setFolderStackOptions_options = setFolderStackOptions_options_buf 7017 } 7018 _FolderStackAttribute_alignContent(ptr: KPointer, value: KInt): void { 7019 let node = this.ptr2object<FolderStackInterface>(ptr) 7020 node.alignContent_value = value 7021 } 7022 _FolderStackAttribute_onFolderStateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7023 let node = this.ptr2object<FolderStackInterface>(ptr) 7024 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7025 node.onFolderStateChange_value = thisDeserializer.readOnFoldStatusChangeCallback() 7026 } 7027 _FolderStackAttribute_onHoverStatusChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7028 let node = this.ptr2object<FolderStackInterface>(ptr) 7029 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7030 node.onHoverStatusChange_value = thisDeserializer.readOnHoverStatusChangeCallback() 7031 } 7032 _FolderStackAttribute_enableAnimation(ptr: KPointer, value: KInt): void { 7033 let node = this.ptr2object<FolderStackInterface>(ptr) 7034 node.enableAnimation_value = value 7035 } 7036 _FolderStackAttribute_autoHalfFold(ptr: KPointer, value: KInt): void { 7037 let node = this.ptr2object<FolderStackInterface>(ptr) 7038 node.autoHalfFold_value = value 7039 } 7040 _FormComponentInterface_setFormComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7041 let node = this.ptr2object<FormComponentInterface>(ptr) 7042 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7043 node.setFormComponentOptions_value = thisDeserializer.readFormInfo() 7044 } 7045 _FormComponentAttribute_size(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7046 let node = this.ptr2object<FormComponentInterface>(ptr) 7047 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7048 node.size_value = thisDeserializer.readSizeOptions() 7049 } 7050 _FormComponentAttribute_moduleName(ptr: KPointer, value: KStringPtr): void { 7051 let node = this.ptr2object<FormComponentInterface>(ptr) 7052 node.moduleName_value = value 7053 } 7054 _FormComponentAttribute_dimension(ptr: KPointer, value: KInt): void { 7055 let node = this.ptr2object<FormComponentInterface>(ptr) 7056 node.dimension_value = value 7057 } 7058 _FormComponentAttribute_allowUpdate(ptr: KPointer, value: KInt): void { 7059 let node = this.ptr2object<FormComponentInterface>(ptr) 7060 node.allowUpdate_value = value 7061 } 7062 _FormComponentAttribute_visibility(ptr: KPointer, value: KInt): void { 7063 let node = this.ptr2object<FormComponentInterface>(ptr) 7064 node.visibility_value = value 7065 } 7066 _FormComponentAttribute_onAcquired(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7067 let node = this.ptr2object<FormComponentInterface>(ptr) 7068 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7069 node.onAcquired_value = thisDeserializer.readCallback_FormCallbackInfo_Void() 7070 } 7071 _FormComponentAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7072 let node = this.ptr2object<FormComponentInterface>(ptr) 7073 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7074 node.onError_value = thisDeserializer.readCallback_Literal_Number_errcode_String_msg_Void() 7075 } 7076 _FormComponentAttribute_onRouter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7077 let node = this.ptr2object<FormComponentInterface>(ptr) 7078 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7079 node.onRouter_value = thisDeserializer.readCallback_Any_Void() 7080 } 7081 _FormComponentAttribute_onUninstall(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7082 let node = this.ptr2object<FormComponentInterface>(ptr) 7083 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7084 node.onUninstall_value = thisDeserializer.readCallback_FormCallbackInfo_Void() 7085 } 7086 _FormComponentAttribute_onLoad(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7087 let node = this.ptr2object<FormComponentInterface>(ptr) 7088 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7089 node.onLoad_value = thisDeserializer.readCallback_Void() 7090 } 7091 _FormLinkInterface_setFormLinkOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7092 let node = this.ptr2object<FormLinkInterface>(ptr) 7093 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7094 node.setFormLinkOptions_options = thisDeserializer.readFormLinkOptions() 7095 } 7096 _GaugeInterface_setGaugeOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7097 let node = this.ptr2object<GaugeInterface>(ptr) 7098 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7099 node.setGaugeOptions_options = thisDeserializer.readGaugeOptions() 7100 } 7101 _GaugeAttribute_value(ptr: KPointer, value: number): void { 7102 let node = this.ptr2object<GaugeInterface>(ptr) 7103 node.value_value = value 7104 } 7105 _GaugeAttribute_startAngle(ptr: KPointer, value: number): void { 7106 let node = this.ptr2object<GaugeInterface>(ptr) 7107 node.startAngle_value = value 7108 } 7109 _GaugeAttribute_endAngle(ptr: KPointer, value: number): void { 7110 let node = this.ptr2object<GaugeInterface>(ptr) 7111 node.endAngle_value = value 7112 } 7113 _GaugeAttribute_colors(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7114 let node = this.ptr2object<GaugeInterface>(ptr) 7115 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7116 const colors_value_buf_selector: number = thisDeserializer.readInt8() 7117 let colors_value_buf: ResourceColor | LinearGradient_common | Array<[ ResourceColor | LinearGradient_common, number ]> | undefined|undefined 7118 if (colors_value_buf_selector == 0) { 7119 const colors_value_buf_u_selector: number = thisDeserializer.readInt8() 7120 let colors_value_buf_u: Color | number | string | Resource | undefined|undefined 7121 if (colors_value_buf_u_selector == 0) { 7122 colors_value_buf_u = (thisDeserializer.readInt32() as Color) 7123 } 7124 else if (colors_value_buf_u_selector == 1) { 7125 colors_value_buf_u = (thisDeserializer.readNumber() as number) 7126 } 7127 else if (colors_value_buf_u_selector == 2) { 7128 colors_value_buf_u = (thisDeserializer.readString() as string) 7129 } 7130 else if (colors_value_buf_u_selector == 3) { 7131 colors_value_buf_u = thisDeserializer.readResource() 7132 } 7133 else { 7134 throw new Error("One of the branches for colors_value_buf_u has to be chosen through deserialisation.") 7135 } 7136 colors_value_buf = (colors_value_buf_u as Color | number | string | Resource) 7137 } 7138 else if (colors_value_buf_selector == 1) { 7139 colors_value_buf = thisDeserializer.readLinearGradient_common() 7140 } 7141 else if (colors_value_buf_selector == 2) { 7142 const colors_value_buf_u_length: int32 = thisDeserializer.readInt32() 7143 let colors_value_buf_u: Array<[ ResourceColor | LinearGradient_common, number ]> = new Array<[ ResourceColor | LinearGradient_common, number ]>() 7144 for (let colors_value_buf_u_i = 0; colors_value_buf_u_i < colors_value_buf_u_length; colors_value_buf_u_i++) { 7145 const colors_value_buf_u_buf_value0_buf_selector: number = thisDeserializer.readInt8() 7146 let colors_value_buf_u_buf_value0_buf: ResourceColor | LinearGradient_common | undefined|undefined 7147 if (colors_value_buf_u_buf_value0_buf_selector == 0) { 7148 const colors_value_buf_u_buf_value0_buf_u_selector: number = thisDeserializer.readInt8() 7149 let colors_value_buf_u_buf_value0_buf_u: Color | number | string | Resource | undefined|undefined 7150 if (colors_value_buf_u_buf_value0_buf_u_selector == 0) { 7151 colors_value_buf_u_buf_value0_buf_u = (thisDeserializer.readInt32() as Color) 7152 } 7153 else if (colors_value_buf_u_buf_value0_buf_u_selector == 1) { 7154 colors_value_buf_u_buf_value0_buf_u = (thisDeserializer.readNumber() as number) 7155 } 7156 else if (colors_value_buf_u_buf_value0_buf_u_selector == 2) { 7157 colors_value_buf_u_buf_value0_buf_u = (thisDeserializer.readString() as string) 7158 } 7159 else if (colors_value_buf_u_buf_value0_buf_u_selector == 3) { 7160 colors_value_buf_u_buf_value0_buf_u = thisDeserializer.readResource() 7161 } 7162 else { 7163 throw new Error("One of the branches for colors_value_buf_u_buf_value0_buf_u has to be chosen through deserialisation.") 7164 } 7165 colors_value_buf_u_buf_value0_buf = (colors_value_buf_u_buf_value0_buf_u as Color | number | string | Resource) 7166 } 7167 else if (colors_value_buf_u_buf_value0_buf_selector == 1) { 7168 colors_value_buf_u_buf_value0_buf = thisDeserializer.readLinearGradient_common() 7169 } 7170 else { 7171 throw new Error("One of the branches for colors_value_buf_u_buf_value0_buf has to be chosen through deserialisation.") 7172 } 7173 const colors_value_buf_u_buf_value0: ResourceColor | LinearGradient_common = (colors_value_buf_u_buf_value0_buf as ResourceColor | LinearGradient_common) 7174 const colors_value_buf_u_buf_value1: number = (thisDeserializer.readNumber() as number) 7175 colors_value_buf_u[colors_value_buf_u_i] = ([colors_value_buf_u_buf_value0, colors_value_buf_u_buf_value1] as [ ResourceColor | LinearGradient_common, number ]) 7176 } 7177 colors_value_buf = colors_value_buf_u 7178 } 7179 else { 7180 throw new Error("One of the branches for colors_value_buf has to be chosen through deserialisation.") 7181 } 7182 node.colors_value = (colors_value_buf as ResourceColor | LinearGradient_common | Array<[ ResourceColor | LinearGradient_common, number ]>) 7183 } 7184 _GaugeAttribute_strokeWidth(ptr: KPointer, value: Length): void { 7185 let node = this.ptr2object<GaugeInterface>(ptr) 7186 node.strokeWidth_value = value 7187 } 7188 _GaugeAttribute_description(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7189 let node = this.ptr2object<GaugeInterface>(ptr) 7190 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7191 node.description_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 7192 } 7193 _GaugeAttribute_trackShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7194 let node = this.ptr2object<GaugeInterface>(ptr) 7195 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7196 node.trackShadow_value = thisDeserializer.readGaugeShadowOptions() 7197 } 7198 _GaugeAttribute_indicator(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7199 let node = this.ptr2object<GaugeInterface>(ptr) 7200 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7201 node.indicator_value = thisDeserializer.readGaugeIndicatorOptions() 7202 } 7203 _GaugeAttribute_privacySensitive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7204 let node = this.ptr2object<GaugeInterface>(ptr) 7205 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7206 const privacySensitive_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7207 let privacySensitive_value_buf: boolean | undefined|undefined 7208 if ((RuntimeType.UNDEFINED) != (privacySensitive_value_buf_runtimeType)) 7209 { 7210 privacySensitive_value_buf = thisDeserializer.readBoolean() 7211 } 7212 node.privacySensitive_value = privacySensitive_value_buf 7213 } 7214 _GaugeAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7215 let node = this.ptr2object<GaugeInterface>(ptr) 7216 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7217 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 7218 } 7219 _GridInterface_setGridOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7220 let node = this.ptr2object<GridInterface>(ptr) 7221 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7222 const setGridOptions_scroller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7223 let setGridOptions_scroller_buf: Scroller | undefined|undefined 7224 if ((RuntimeType.UNDEFINED) != (setGridOptions_scroller_buf_runtimeType)) 7225 { 7226 setGridOptions_scroller_buf = (thisDeserializer.readScroller() as Scroller) 7227 } 7228 node.setGridOptions_scroller = setGridOptions_scroller_buf 7229 const setGridOptions_layoutOptions_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7230 let setGridOptions_layoutOptions_buf: GridLayoutOptions | undefined|undefined 7231 if ((RuntimeType.UNDEFINED) != (setGridOptions_layoutOptions_buf_runtimeType)) 7232 { 7233 setGridOptions_layoutOptions_buf = thisDeserializer.readGridLayoutOptions() 7234 } 7235 node.setGridOptions_layoutOptions = setGridOptions_layoutOptions_buf 7236 } 7237 _GridAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { 7238 let node = this.ptr2object<GridInterface>(ptr) 7239 node.columnsTemplate_value = value 7240 } 7241 _GridAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { 7242 let node = this.ptr2object<GridInterface>(ptr) 7243 node.rowsTemplate_value = value 7244 } 7245 _GridAttribute_columnsGap(ptr: KPointer, value: Length): void { 7246 let node = this.ptr2object<GridInterface>(ptr) 7247 node.columnsGap_value = value 7248 } 7249 _GridAttribute_rowsGap(ptr: KPointer, value: Length): void { 7250 let node = this.ptr2object<GridInterface>(ptr) 7251 node.rowsGap_value = value 7252 } 7253 _GridAttribute_scrollBarWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7254 let node = this.ptr2object<GridInterface>(ptr) 7255 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7256 const scrollBarWidth_value_buf_selector: number = thisDeserializer.readInt8() 7257 let scrollBarWidth_value_buf: number | string | undefined|undefined 7258 if (scrollBarWidth_value_buf_selector == 0) { 7259 scrollBarWidth_value_buf = (thisDeserializer.readNumber() as number) 7260 } 7261 else if (scrollBarWidth_value_buf_selector == 1) { 7262 scrollBarWidth_value_buf = (thisDeserializer.readString() as string) 7263 } 7264 else { 7265 throw new Error("One of the branches for scrollBarWidth_value_buf has to be chosen through deserialisation.") 7266 } 7267 node.scrollBarWidth_value = (scrollBarWidth_value_buf as number | string) 7268 } 7269 _GridAttribute_scrollBarColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7270 let node = this.ptr2object<GridInterface>(ptr) 7271 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7272 const scrollBarColor_value_buf_selector: number = thisDeserializer.readInt8() 7273 let scrollBarColor_value_buf: Color | number | string | undefined|undefined 7274 if (scrollBarColor_value_buf_selector == 0) { 7275 scrollBarColor_value_buf = (thisDeserializer.readInt32() as Color) 7276 } 7277 else if (scrollBarColor_value_buf_selector == 1) { 7278 scrollBarColor_value_buf = (thisDeserializer.readNumber() as number) 7279 } 7280 else if (scrollBarColor_value_buf_selector == 2) { 7281 scrollBarColor_value_buf = (thisDeserializer.readString() as string) 7282 } 7283 else { 7284 throw new Error("One of the branches for scrollBarColor_value_buf has to be chosen through deserialisation.") 7285 } 7286 node.scrollBarColor_value = (scrollBarColor_value_buf as Color | number | string) 7287 } 7288 _GridAttribute_scrollBar(ptr: KPointer, value: KInt): void { 7289 let node = this.ptr2object<GridInterface>(ptr) 7290 node.scrollBar_value = value 7291 } 7292 _GridAttribute_onScrollBarUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7293 let node = this.ptr2object<GridInterface>(ptr) 7294 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7295 node.onScrollBarUpdate_value = thisDeserializer.readCallback_Number_Number_ComputedBarAttribute() 7296 } 7297 _GridAttribute_onScrollIndex(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7298 let node = this.ptr2object<GridInterface>(ptr) 7299 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7300 node.onScrollIndex_value = thisDeserializer.readCallback_Number_Number_Void() 7301 } 7302 _GridAttribute_cachedCount0(ptr: KPointer, value: number): void { 7303 let node = this.ptr2object<GridInterface>(ptr) 7304 node.cachedCount0_value = value 7305 } 7306 _GridAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { 7307 let node = this.ptr2object<GridInterface>(ptr) 7308 node.cachedCount1_count = count 7309 node.cachedCount1_show = show 7310 } 7311 _GridAttribute_editMode(ptr: KPointer, value: KInt): void { 7312 let node = this.ptr2object<GridInterface>(ptr) 7313 node.editMode_value = value 7314 } 7315 _GridAttribute_multiSelectable(ptr: KPointer, value: KInt): void { 7316 let node = this.ptr2object<GridInterface>(ptr) 7317 node.multiSelectable_value = value 7318 } 7319 _GridAttribute_maxCount(ptr: KPointer, value: number): void { 7320 let node = this.ptr2object<GridInterface>(ptr) 7321 node.maxCount_value = value 7322 } 7323 _GridAttribute_minCount(ptr: KPointer, value: number): void { 7324 let node = this.ptr2object<GridInterface>(ptr) 7325 node.minCount_value = value 7326 } 7327 _GridAttribute_cellLength(ptr: KPointer, value: number): void { 7328 let node = this.ptr2object<GridInterface>(ptr) 7329 node.cellLength_value = value 7330 } 7331 _GridAttribute_layoutDirection(ptr: KPointer, value: KInt): void { 7332 let node = this.ptr2object<GridInterface>(ptr) 7333 node.layoutDirection_value = value 7334 } 7335 _GridAttribute_supportAnimation(ptr: KPointer, value: KInt): void { 7336 let node = this.ptr2object<GridInterface>(ptr) 7337 node.supportAnimation_value = value 7338 } 7339 _GridAttribute_onItemDragStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7340 let node = this.ptr2object<GridInterface>(ptr) 7341 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7342 node.onItemDragStart_value = thisDeserializer.readCallback_ItemDragInfo_Number_Callback_Any() 7343 } 7344 _GridAttribute_onItemDragEnter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7345 let node = this.ptr2object<GridInterface>(ptr) 7346 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7347 node.onItemDragEnter_value = thisDeserializer.readCallback_ItemDragInfo_Void() 7348 } 7349 _GridAttribute_onItemDragMove(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7350 let node = this.ptr2object<GridInterface>(ptr) 7351 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7352 node.onItemDragMove_value = thisDeserializer.readCallback_ItemDragInfo_Number_Number_Void() 7353 } 7354 _GridAttribute_onItemDragLeave(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7355 let node = this.ptr2object<GridInterface>(ptr) 7356 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7357 node.onItemDragLeave_value = thisDeserializer.readCallback_ItemDragInfo_Number_Void() 7358 } 7359 _GridAttribute_onItemDrop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7360 let node = this.ptr2object<GridInterface>(ptr) 7361 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7362 node.onItemDrop_value = thisDeserializer.readCallback_ItemDragInfo_Number_Number_Boolean_Void() 7363 } 7364 _GridAttribute_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7365 let node = this.ptr2object<GridInterface>(ptr) 7366 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7367 node.nestedScroll_value = thisDeserializer.readNestedScrollOptions() 7368 } 7369 _GridAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { 7370 let node = this.ptr2object<GridInterface>(ptr) 7371 node.enableScrollInteraction_value = value 7372 } 7373 _GridAttribute_friction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7374 let node = this.ptr2object<GridInterface>(ptr) 7375 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7376 const friction_value_buf_selector: number = thisDeserializer.readInt8() 7377 let friction_value_buf: number | Resource | undefined|undefined 7378 if (friction_value_buf_selector == 0) { 7379 friction_value_buf = (thisDeserializer.readNumber() as number) 7380 } 7381 else if (friction_value_buf_selector == 1) { 7382 friction_value_buf = thisDeserializer.readResource() 7383 } 7384 else { 7385 throw new Error("One of the branches for friction_value_buf has to be chosen through deserialisation.") 7386 } 7387 node.friction_value = (friction_value_buf as number | Resource) 7388 } 7389 _GridAttribute_alignItems(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7390 let node = this.ptr2object<GridInterface>(ptr) 7391 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7392 const alignItems_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7393 let alignItems_value_buf: GridItemAlignment | undefined|undefined 7394 if ((RuntimeType.UNDEFINED) != (alignItems_value_buf_runtimeType)) 7395 { 7396 alignItems_value_buf = (thisDeserializer.readInt32() as GridItemAlignment) 7397 } 7398 node.alignItems_value = alignItems_value_buf 7399 } 7400 _GridAttribute_onScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7401 let node = this.ptr2object<GridInterface>(ptr) 7402 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7403 node.onScroll_value = thisDeserializer.readCallback_Number_ScrollState_Void() 7404 } 7405 _GridAttribute_onReachStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7406 let node = this.ptr2object<GridInterface>(ptr) 7407 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7408 node.onReachStart_value = thisDeserializer.readCallback_Void() 7409 } 7410 _GridAttribute_onReachEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7411 let node = this.ptr2object<GridInterface>(ptr) 7412 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7413 node.onReachEnd_value = thisDeserializer.readCallback_Void() 7414 } 7415 _GridAttribute_onScrollStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7416 let node = this.ptr2object<GridInterface>(ptr) 7417 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7418 node.onScrollStart_value = thisDeserializer.readCallback_Void() 7419 } 7420 _GridAttribute_onScrollStop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7421 let node = this.ptr2object<GridInterface>(ptr) 7422 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7423 node.onScrollStop_value = thisDeserializer.readCallback_Void() 7424 } 7425 _GridAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7426 let node = this.ptr2object<GridInterface>(ptr) 7427 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7428 node.onScrollFrameBegin_value = thisDeserializer.readCallback_Number_ScrollState_Literal_Number_offsetRemain() 7429 } 7430 _GridAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 7431 let node = this.ptr2object<GridInterface>(ptr) 7432 node.edgeEffect_value = value 7433 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7434 const edgeEffect_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7435 let edgeEffect_options_buf: EdgeEffectOptions | undefined|undefined 7436 if ((RuntimeType.UNDEFINED) != (edgeEffect_options_buf_runtimeType)) 7437 { 7438 edgeEffect_options_buf = thisDeserializer.readEdgeEffectOptions() 7439 } 7440 node.edgeEffect_options = edgeEffect_options_buf 7441 } 7442 _GridItemInterface_setGridItemOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7443 let node = this.ptr2object<GridItemInterface>(ptr) 7444 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7445 const setGridItemOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7446 let setGridItemOptions_value_buf: GridItemOptions | undefined|undefined 7447 if ((RuntimeType.UNDEFINED) != (setGridItemOptions_value_buf_runtimeType)) 7448 { 7449 setGridItemOptions_value_buf = thisDeserializer.readGridItemOptions() 7450 } 7451 node.setGridItemOptions_value = setGridItemOptions_value_buf 7452 } 7453 _GridItemAttribute_rowStart(ptr: KPointer, value: number): void { 7454 let node = this.ptr2object<GridItemInterface>(ptr) 7455 node.rowStart_value = value 7456 } 7457 _GridItemAttribute_rowEnd(ptr: KPointer, value: number): void { 7458 let node = this.ptr2object<GridItemInterface>(ptr) 7459 node.rowEnd_value = value 7460 } 7461 _GridItemAttribute_columnStart(ptr: KPointer, value: number): void { 7462 let node = this.ptr2object<GridItemInterface>(ptr) 7463 node.columnStart_value = value 7464 } 7465 _GridItemAttribute_columnEnd(ptr: KPointer, value: number): void { 7466 let node = this.ptr2object<GridItemInterface>(ptr) 7467 node.columnEnd_value = value 7468 } 7469 _GridItemAttribute_forceRebuild(ptr: KPointer, value: KInt): void { 7470 let node = this.ptr2object<GridItemInterface>(ptr) 7471 node.forceRebuild_value = value 7472 } 7473 _GridItemAttribute_selectable(ptr: KPointer, value: KInt): void { 7474 let node = this.ptr2object<GridItemInterface>(ptr) 7475 node.selectable_value = value 7476 } 7477 _GridItemAttribute_selected(ptr: KPointer, value: KInt): void { 7478 let node = this.ptr2object<GridItemInterface>(ptr) 7479 node.selected_value = value 7480 } 7481 _GridItemAttribute_onSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7482 let node = this.ptr2object<GridItemInterface>(ptr) 7483 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7484 node.onSelect_value = thisDeserializer.readCallback_Boolean_Void() 7485 } 7486 _GridColInterface_setGridColOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7487 let node = this.ptr2object<GridColInterface>(ptr) 7488 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7489 const setGridColOptions_option_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7490 let setGridColOptions_option_buf: GridColOptions | undefined|undefined 7491 if ((RuntimeType.UNDEFINED) != (setGridColOptions_option_buf_runtimeType)) 7492 { 7493 setGridColOptions_option_buf = thisDeserializer.readGridColOptions() 7494 } 7495 node.setGridColOptions_option = setGridColOptions_option_buf 7496 } 7497 _GridColAttribute_span(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7498 let node = this.ptr2object<GridColInterface>(ptr) 7499 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7500 const span_value_buf_selector: number = thisDeserializer.readInt8() 7501 let span_value_buf: number | GridColColumnOption | undefined|undefined 7502 if (span_value_buf_selector == 0) { 7503 span_value_buf = (thisDeserializer.readNumber() as number) 7504 } 7505 else if (span_value_buf_selector == 1) { 7506 span_value_buf = thisDeserializer.readGridColColumnOption() 7507 } 7508 else { 7509 throw new Error("One of the branches for span_value_buf has to be chosen through deserialisation.") 7510 } 7511 node.span_value = (span_value_buf as number | GridColColumnOption) 7512 } 7513 _GridColAttribute_gridColOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7514 let node = this.ptr2object<GridColInterface>(ptr) 7515 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7516 const gridColOffset_value_buf_selector: number = thisDeserializer.readInt8() 7517 let gridColOffset_value_buf: number | GridColColumnOption | undefined|undefined 7518 if (gridColOffset_value_buf_selector == 0) { 7519 gridColOffset_value_buf = (thisDeserializer.readNumber() as number) 7520 } 7521 else if (gridColOffset_value_buf_selector == 1) { 7522 gridColOffset_value_buf = thisDeserializer.readGridColColumnOption() 7523 } 7524 else { 7525 throw new Error("One of the branches for gridColOffset_value_buf has to be chosen through deserialisation.") 7526 } 7527 node.gridColOffset_value = (gridColOffset_value_buf as number | GridColColumnOption) 7528 } 7529 _GridColAttribute_order(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7530 let node = this.ptr2object<GridColInterface>(ptr) 7531 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7532 const order_value_buf_selector: number = thisDeserializer.readInt8() 7533 let order_value_buf: number | GridColColumnOption | undefined|undefined 7534 if (order_value_buf_selector == 0) { 7535 order_value_buf = (thisDeserializer.readNumber() as number) 7536 } 7537 else if (order_value_buf_selector == 1) { 7538 order_value_buf = thisDeserializer.readGridColColumnOption() 7539 } 7540 else { 7541 throw new Error("One of the branches for order_value_buf has to be chosen through deserialisation.") 7542 } 7543 node.order_value = (order_value_buf as number | GridColColumnOption) 7544 } 7545 _GridContainerInterface_setGridContainerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7546 let node = this.ptr2object<GridContainerInterface>(ptr) 7547 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7548 const setGridContainerOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7549 let setGridContainerOptions_value_buf: GridContainerOptions | undefined|undefined 7550 if ((RuntimeType.UNDEFINED) != (setGridContainerOptions_value_buf_runtimeType)) 7551 { 7552 setGridContainerOptions_value_buf = thisDeserializer.readGridContainerOptions() 7553 } 7554 node.setGridContainerOptions_value = setGridContainerOptions_value_buf 7555 } 7556 _GridRowInterface_setGridRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7557 let node = this.ptr2object<GridRowInterface>(ptr) 7558 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7559 const setGridRowOptions_option_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7560 let setGridRowOptions_option_buf: GridRowOptions | undefined|undefined 7561 if ((RuntimeType.UNDEFINED) != (setGridRowOptions_option_buf_runtimeType)) 7562 { 7563 setGridRowOptions_option_buf = thisDeserializer.readGridRowOptions() 7564 } 7565 node.setGridRowOptions_option = setGridRowOptions_option_buf 7566 } 7567 _GridRowAttribute_onBreakpointChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7568 let node = this.ptr2object<GridRowInterface>(ptr) 7569 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7570 node.onBreakpointChange_value = thisDeserializer.readCallback_String_Void() 7571 } 7572 _GridRowAttribute_alignItems(ptr: KPointer, value: KInt): void { 7573 let node = this.ptr2object<GridRowInterface>(ptr) 7574 node.alignItems_value = value 7575 } 7576 _HyperlinkInterface_setHyperlinkOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7577 let node = this.ptr2object<HyperlinkInterface>(ptr) 7578 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7579 const setHyperlinkOptions_address_buf_selector: number = thisDeserializer.readInt8() 7580 let setHyperlinkOptions_address_buf: string | Resource | undefined|undefined 7581 if (setHyperlinkOptions_address_buf_selector == 0) { 7582 setHyperlinkOptions_address_buf = (thisDeserializer.readString() as string) 7583 } 7584 else if (setHyperlinkOptions_address_buf_selector == 1) { 7585 setHyperlinkOptions_address_buf = thisDeserializer.readResource() 7586 } 7587 else { 7588 throw new Error("One of the branches for setHyperlinkOptions_address_buf has to be chosen through deserialisation.") 7589 } 7590 node.setHyperlinkOptions_address = (setHyperlinkOptions_address_buf as string | Resource) 7591 const setHyperlinkOptions_content_buf_runtimeType = (thisDeserializer.readInt8() as int32) 7592 let setHyperlinkOptions_content_buf: string | Resource | undefined|undefined 7593 if ((RuntimeType.UNDEFINED) != (setHyperlinkOptions_content_buf_runtimeType)) 7594 { 7595 const setHyperlinkOptions_content_buf__selector: number = thisDeserializer.readInt8() 7596 let setHyperlinkOptions_content_buf_: string | Resource | undefined|undefined 7597 if (setHyperlinkOptions_content_buf__selector == 0) { 7598 setHyperlinkOptions_content_buf_ = (thisDeserializer.readString() as string) 7599 } 7600 else if (setHyperlinkOptions_content_buf__selector == 1) { 7601 setHyperlinkOptions_content_buf_ = thisDeserializer.readResource() 7602 } 7603 else { 7604 throw new Error("One of the branches for setHyperlinkOptions_content_buf_ has to be chosen through deserialisation.") 7605 } 7606 setHyperlinkOptions_content_buf = (setHyperlinkOptions_content_buf_ as string | Resource) 7607 } 7608 node.setHyperlinkOptions_content = setHyperlinkOptions_content_buf 7609 } 7610 _HyperlinkAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7611 let node = this.ptr2object<HyperlinkInterface>(ptr) 7612 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7613 const color_value_buf_selector: number = thisDeserializer.readInt8() 7614 let color_value_buf: Color | number | string | Resource | undefined|undefined 7615 if (color_value_buf_selector == 0) { 7616 color_value_buf = (thisDeserializer.readInt32() as Color) 7617 } 7618 else if (color_value_buf_selector == 1) { 7619 color_value_buf = (thisDeserializer.readNumber() as number) 7620 } 7621 else if (color_value_buf_selector == 2) { 7622 color_value_buf = (thisDeserializer.readString() as string) 7623 } 7624 else if (color_value_buf_selector == 3) { 7625 color_value_buf = thisDeserializer.readResource() 7626 } 7627 else { 7628 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 7629 } 7630 node.color_value = (color_value_buf as Color | number | string | Resource) 7631 } 7632 _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7633 let node = this.ptr2object<ImageInterface>(ptr) 7634 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7635 const setImageOptions0_src_buf_selector: number = thisDeserializer.readInt8() 7636 let setImageOptions0_src_buf: PixelMap | ResourceStr | DrawableDescriptor | undefined|undefined 7637 if (setImageOptions0_src_buf_selector == 0) { 7638 setImageOptions0_src_buf = (thisDeserializer.readPixelMap() as PixelMap) 7639 } 7640 else if (setImageOptions0_src_buf_selector == 1) { 7641 const setImageOptions0_src_buf_u_selector: number = thisDeserializer.readInt8() 7642 let setImageOptions0_src_buf_u: string | Resource | undefined|undefined 7643 if (setImageOptions0_src_buf_u_selector == 0) { 7644 setImageOptions0_src_buf_u = (thisDeserializer.readString() as string) 7645 } 7646 else if (setImageOptions0_src_buf_u_selector == 1) { 7647 setImageOptions0_src_buf_u = thisDeserializer.readResource() 7648 } 7649 else { 7650 throw new Error("One of the branches for setImageOptions0_src_buf_u has to be chosen through deserialisation.") 7651 } 7652 setImageOptions0_src_buf = (setImageOptions0_src_buf_u as string | Resource) 7653 } 7654 else if (setImageOptions0_src_buf_selector == 2) { 7655 setImageOptions0_src_buf = thisDeserializer.readDrawableDescriptor() 7656 } 7657 else { 7658 throw new Error("One of the branches for setImageOptions0_src_buf has to be chosen through deserialisation.") 7659 } 7660 node.setImageOptions0_src = (setImageOptions0_src_buf as PixelMap | ResourceStr | DrawableDescriptor) 7661 } 7662 _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7663 let node = this.ptr2object<ImageInterface>(ptr) 7664 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7665 const setImageOptions1_src_buf_selector: number = thisDeserializer.readInt8() 7666 let setImageOptions1_src_buf: PixelMap | ResourceStr | DrawableDescriptor | ImageContent | undefined|undefined 7667 if (setImageOptions1_src_buf_selector == 0) { 7668 setImageOptions1_src_buf = (thisDeserializer.readPixelMap() as PixelMap) 7669 } 7670 else if (setImageOptions1_src_buf_selector == 1) { 7671 const setImageOptions1_src_buf_u_selector: number = thisDeserializer.readInt8() 7672 let setImageOptions1_src_buf_u: string | Resource | undefined|undefined 7673 if (setImageOptions1_src_buf_u_selector == 0) { 7674 setImageOptions1_src_buf_u = (thisDeserializer.readString() as string) 7675 } 7676 else if (setImageOptions1_src_buf_u_selector == 1) { 7677 setImageOptions1_src_buf_u = thisDeserializer.readResource() 7678 } 7679 else { 7680 throw new Error("One of the branches for setImageOptions1_src_buf_u has to be chosen through deserialisation.") 7681 } 7682 setImageOptions1_src_buf = (setImageOptions1_src_buf_u as string | Resource) 7683 } 7684 else if (setImageOptions1_src_buf_selector == 2) { 7685 setImageOptions1_src_buf = thisDeserializer.readDrawableDescriptor() 7686 } 7687 else if (setImageOptions1_src_buf_selector == 3) { 7688 setImageOptions1_src_buf = (thisDeserializer.readInt32() as ImageContent) 7689 } 7690 else { 7691 throw new Error("One of the branches for setImageOptions1_src_buf has to be chosen through deserialisation.") 7692 } 7693 node.setImageOptions1_src = (setImageOptions1_src_buf as PixelMap | ResourceStr | DrawableDescriptor | ImageContent) 7694 } 7695 _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7696 let node = this.ptr2object<ImageInterface>(ptr) 7697 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7698 const setImageOptions2_src_buf_selector: number = thisDeserializer.readInt8() 7699 let setImageOptions2_src_buf: PixelMap | ResourceStr | DrawableDescriptor | undefined|undefined 7700 if (setImageOptions2_src_buf_selector == 0) { 7701 setImageOptions2_src_buf = (thisDeserializer.readPixelMap() as PixelMap) 7702 } 7703 else if (setImageOptions2_src_buf_selector == 1) { 7704 const setImageOptions2_src_buf_u_selector: number = thisDeserializer.readInt8() 7705 let setImageOptions2_src_buf_u: string | Resource | undefined|undefined 7706 if (setImageOptions2_src_buf_u_selector == 0) { 7707 setImageOptions2_src_buf_u = (thisDeserializer.readString() as string) 7708 } 7709 else if (setImageOptions2_src_buf_u_selector == 1) { 7710 setImageOptions2_src_buf_u = thisDeserializer.readResource() 7711 } 7712 else { 7713 throw new Error("One of the branches for setImageOptions2_src_buf_u has to be chosen through deserialisation.") 7714 } 7715 setImageOptions2_src_buf = (setImageOptions2_src_buf_u as string | Resource) 7716 } 7717 else if (setImageOptions2_src_buf_selector == 2) { 7718 setImageOptions2_src_buf = thisDeserializer.readDrawableDescriptor() 7719 } 7720 else { 7721 throw new Error("One of the branches for setImageOptions2_src_buf has to be chosen through deserialisation.") 7722 } 7723 node.setImageOptions2_src = (setImageOptions2_src_buf as PixelMap | ResourceStr | DrawableDescriptor) 7724 node.setImageOptions2_imageAIOptions = thisDeserializer.readImageAIOptions() 7725 } 7726 _ImageAttribute_alt(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7727 let node = this.ptr2object<ImageInterface>(ptr) 7728 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7729 const alt_value_buf_selector: number = thisDeserializer.readInt8() 7730 let alt_value_buf: string | Resource | PixelMap | undefined|undefined 7731 if (alt_value_buf_selector == 0) { 7732 alt_value_buf = (thisDeserializer.readString() as string) 7733 } 7734 else if (alt_value_buf_selector == 1) { 7735 alt_value_buf = thisDeserializer.readResource() 7736 } 7737 else if (alt_value_buf_selector == 2) { 7738 alt_value_buf = (thisDeserializer.readPixelMap() as PixelMap) 7739 } 7740 else { 7741 throw new Error("One of the branches for alt_value_buf has to be chosen through deserialisation.") 7742 } 7743 node.alt_value = (alt_value_buf as string | Resource | PixelMap) 7744 } 7745 _ImageAttribute_matchTextDirection(ptr: KPointer, value: KInt): void { 7746 let node = this.ptr2object<ImageInterface>(ptr) 7747 node.matchTextDirection_value = value 7748 } 7749 _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void { 7750 let node = this.ptr2object<ImageInterface>(ptr) 7751 node.fitOriginalSize_value = value 7752 } 7753 _ImageAttribute_fillColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7754 let node = this.ptr2object<ImageInterface>(ptr) 7755 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7756 const fillColor_value_buf_selector: number = thisDeserializer.readInt8() 7757 let fillColor_value_buf: Color | number | string | Resource | undefined|undefined 7758 if (fillColor_value_buf_selector == 0) { 7759 fillColor_value_buf = (thisDeserializer.readInt32() as Color) 7760 } 7761 else if (fillColor_value_buf_selector == 1) { 7762 fillColor_value_buf = (thisDeserializer.readNumber() as number) 7763 } 7764 else if (fillColor_value_buf_selector == 2) { 7765 fillColor_value_buf = (thisDeserializer.readString() as string) 7766 } 7767 else if (fillColor_value_buf_selector == 3) { 7768 fillColor_value_buf = thisDeserializer.readResource() 7769 } 7770 else { 7771 throw new Error("One of the branches for fillColor_value_buf has to be chosen through deserialisation.") 7772 } 7773 node.fillColor_value = (fillColor_value_buf as Color | number | string | Resource) 7774 } 7775 _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void { 7776 let node = this.ptr2object<ImageInterface>(ptr) 7777 node.objectFit_value = value 7778 } 7779 _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void { 7780 let node = this.ptr2object<ImageInterface>(ptr) 7781 node.objectRepeat_value = value 7782 } 7783 _ImageAttribute_autoResize(ptr: KPointer, value: KInt): void { 7784 let node = this.ptr2object<ImageInterface>(ptr) 7785 node.autoResize_value = value 7786 } 7787 _ImageAttribute_renderMode(ptr: KPointer, value: KInt): void { 7788 let node = this.ptr2object<ImageInterface>(ptr) 7789 node.renderMode_value = value 7790 } 7791 _ImageAttribute_dynamicRangeMode(ptr: KPointer, value: KInt): void { 7792 let node = this.ptr2object<ImageInterface>(ptr) 7793 node.dynamicRangeMode_value = value 7794 } 7795 _ImageAttribute_interpolation(ptr: KPointer, value: KInt): void { 7796 let node = this.ptr2object<ImageInterface>(ptr) 7797 node.interpolation_value = value 7798 } 7799 _ImageAttribute_sourceSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7800 let node = this.ptr2object<ImageInterface>(ptr) 7801 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7802 node.sourceSize_value = thisDeserializer.readImageSourceSize() 7803 } 7804 _ImageAttribute_syncLoad(ptr: KPointer, value: KInt): void { 7805 let node = this.ptr2object<ImageInterface>(ptr) 7806 node.syncLoad_value = value 7807 } 7808 _ImageAttribute_colorFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7809 let node = this.ptr2object<ImageInterface>(ptr) 7810 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7811 const colorFilter_value_buf_selector: number = thisDeserializer.readInt8() 7812 let colorFilter_value_buf: ColorFilter | DrawingColorFilter | undefined|undefined 7813 if (colorFilter_value_buf_selector == 0) { 7814 colorFilter_value_buf = thisDeserializer.readColorFilter() 7815 } 7816 else if (colorFilter_value_buf_selector == 1) { 7817 colorFilter_value_buf = thisDeserializer.readDrawingColorFilter() 7818 } 7819 else { 7820 throw new Error("One of the branches for colorFilter_value_buf has to be chosen through deserialisation.") 7821 } 7822 node.colorFilter_value = (colorFilter_value_buf as ColorFilter | DrawingColorFilter) 7823 } 7824 _ImageAttribute_copyOption(ptr: KPointer, value: KInt): void { 7825 let node = this.ptr2object<ImageInterface>(ptr) 7826 node.copyOption_value = value 7827 } 7828 _ImageAttribute_draggable(ptr: KPointer, value: KInt): void { 7829 let node = this.ptr2object<ImageInterface>(ptr) 7830 node.draggable_value = value 7831 } 7832 _ImageAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7833 let node = this.ptr2object<ImageInterface>(ptr) 7834 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7835 node.pointLight_value = thisDeserializer.readPointLightStyle() 7836 } 7837 _ImageAttribute_edgeAntialiasing(ptr: KPointer, value: number): void { 7838 let node = this.ptr2object<ImageInterface>(ptr) 7839 node.edgeAntialiasing_value = value 7840 } 7841 _ImageAttribute_onComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7842 let node = this.ptr2object<ImageInterface>(ptr) 7843 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7844 node.onComplete_value = thisDeserializer.readCallback_Type_ImageAttribute_onComplete_callback_event_Void() 7845 } 7846 _ImageAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7847 let node = this.ptr2object<ImageInterface>(ptr) 7848 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7849 node.onError_value = thisDeserializer.readImageErrorCallback() 7850 } 7851 _ImageAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7852 let node = this.ptr2object<ImageInterface>(ptr) 7853 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7854 node.onFinish_value = thisDeserializer.readCallback_Void() 7855 } 7856 _ImageAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { 7857 let node = this.ptr2object<ImageInterface>(ptr) 7858 node.enableAnalyzer_value = value 7859 } 7860 _ImageAttribute_analyzerConfig(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7861 let node = this.ptr2object<ImageInterface>(ptr) 7862 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7863 node.analyzerConfig_value = thisDeserializer.readImageAnalyzerConfig() 7864 } 7865 _ImageAttribute_resizable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7866 let node = this.ptr2object<ImageInterface>(ptr) 7867 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7868 node.resizable_value = thisDeserializer.readResizableOptions() 7869 } 7870 _ImageAttribute_privacySensitive(ptr: KPointer, value: KInt): void { 7871 let node = this.ptr2object<ImageInterface>(ptr) 7872 node.privacySensitive_value = value 7873 } 7874 _ImageAttribute_enhancedImageQuality(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7875 let node = this.ptr2object<ImageInterface>(ptr) 7876 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7877 node.enhancedImageQuality_value = thisDeserializer.readResolutionQuality() 7878 } 7879 _ImageAnimatorInterface_setImageAnimatorOptions(ptr: KPointer): void { 7880 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7881 } 7882 _ImageAnimatorAttribute_images(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7883 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7884 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7885 const images_value_buf_length: int32 = thisDeserializer.readInt32() 7886 let images_value_buf: Array<ImageFrameInfo> = new Array<ImageFrameInfo>() 7887 for (let images_value_buf_i = 0; images_value_buf_i < images_value_buf_length; images_value_buf_i++) { 7888 images_value_buf[images_value_buf_i] = thisDeserializer.readImageFrameInfo() 7889 } 7890 node.images_value = images_value_buf 7891 } 7892 _ImageAnimatorAttribute_state(ptr: KPointer, value: KInt): void { 7893 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7894 node.state_value = value 7895 } 7896 _ImageAnimatorAttribute_duration(ptr: KPointer, value: number): void { 7897 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7898 node.duration_value = value 7899 } 7900 _ImageAnimatorAttribute_reverse(ptr: KPointer, value: KInt): void { 7901 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7902 node.reverse_value = value 7903 } 7904 _ImageAnimatorAttribute_fixedSize(ptr: KPointer, value: KInt): void { 7905 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7906 node.fixedSize_value = value 7907 } 7908 _ImageAnimatorAttribute_preDecode(ptr: KPointer, value: number): void { 7909 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7910 node.preDecode_value = value 7911 } 7912 _ImageAnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { 7913 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7914 node.fillMode_value = value 7915 } 7916 _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void { 7917 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7918 node.iterations_value = value 7919 } 7920 _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7921 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7922 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7923 node.onStart_value = thisDeserializer.readCallback_Void() 7924 } 7925 _ImageAnimatorAttribute_onPause(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7926 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7927 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7928 node.onPause_value = thisDeserializer.readCallback_Void() 7929 } 7930 _ImageAnimatorAttribute_onRepeat(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7931 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7932 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7933 node.onRepeat_value = thisDeserializer.readCallback_Void() 7934 } 7935 _ImageAnimatorAttribute_onCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7936 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7937 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7938 node.onCancel_value = thisDeserializer.readCallback_Void() 7939 } 7940 _ImageAnimatorAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7941 let node = this.ptr2object<ImageAnimatorInterface>(ptr) 7942 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7943 node.onFinish_value = thisDeserializer.readCallback_Void() 7944 } 7945 _ImageSpanInterface_setImageSpanOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7946 let node = this.ptr2object<ImageSpanInterface>(ptr) 7947 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7948 const setImageSpanOptions_value_buf_selector: number = thisDeserializer.readInt8() 7949 let setImageSpanOptions_value_buf: ResourceStr | PixelMap | undefined|undefined 7950 if (setImageSpanOptions_value_buf_selector == 0) { 7951 const setImageSpanOptions_value_buf_u_selector: number = thisDeserializer.readInt8() 7952 let setImageSpanOptions_value_buf_u: string | Resource | undefined|undefined 7953 if (setImageSpanOptions_value_buf_u_selector == 0) { 7954 setImageSpanOptions_value_buf_u = (thisDeserializer.readString() as string) 7955 } 7956 else if (setImageSpanOptions_value_buf_u_selector == 1) { 7957 setImageSpanOptions_value_buf_u = thisDeserializer.readResource() 7958 } 7959 else { 7960 throw new Error("One of the branches for setImageSpanOptions_value_buf_u has to be chosen through deserialisation.") 7961 } 7962 setImageSpanOptions_value_buf = (setImageSpanOptions_value_buf_u as string | Resource) 7963 } 7964 else if (setImageSpanOptions_value_buf_selector == 1) { 7965 setImageSpanOptions_value_buf = (thisDeserializer.readPixelMap() as PixelMap) 7966 } 7967 else { 7968 throw new Error("One of the branches for setImageSpanOptions_value_buf has to be chosen through deserialisation.") 7969 } 7970 node.setImageSpanOptions_value = (setImageSpanOptions_value_buf as ResourceStr | PixelMap) 7971 } 7972 _ImageSpanAttribute_verticalAlign(ptr: KPointer, value: KInt): void { 7973 let node = this.ptr2object<ImageSpanInterface>(ptr) 7974 node.verticalAlign_value = value 7975 } 7976 _ImageSpanAttribute_colorFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7977 let node = this.ptr2object<ImageSpanInterface>(ptr) 7978 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7979 const colorFilter_value_buf_selector: number = thisDeserializer.readInt8() 7980 let colorFilter_value_buf: ColorFilter | DrawingColorFilter | undefined|undefined 7981 if (colorFilter_value_buf_selector == 0) { 7982 colorFilter_value_buf = thisDeserializer.readColorFilter() 7983 } 7984 else if (colorFilter_value_buf_selector == 1) { 7985 colorFilter_value_buf = thisDeserializer.readDrawingColorFilter() 7986 } 7987 else { 7988 throw new Error("One of the branches for colorFilter_value_buf has to be chosen through deserialisation.") 7989 } 7990 node.colorFilter_value = (colorFilter_value_buf as ColorFilter | DrawingColorFilter) 7991 } 7992 _ImageSpanAttribute_objectFit(ptr: KPointer, value: KInt): void { 7993 let node = this.ptr2object<ImageSpanInterface>(ptr) 7994 node.objectFit_value = value 7995 } 7996 _ImageSpanAttribute_onComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 7997 let node = this.ptr2object<ImageSpanInterface>(ptr) 7998 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 7999 node.onComplete_value = thisDeserializer.readImageCompleteCallback() 8000 } 8001 _ImageSpanAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8002 let node = this.ptr2object<ImageSpanInterface>(ptr) 8003 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8004 node.onError_value = thisDeserializer.readImageErrorCallback() 8005 } 8006 _ImageSpanAttribute_alt(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8007 let node = this.ptr2object<ImageSpanInterface>(ptr) 8008 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8009 node.alt_value = (thisDeserializer.readPixelMap() as PixelMap) 8010 } 8011 _LineInterface_setLineOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8012 let node = this.ptr2object<LineInterface>(ptr) 8013 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8014 const setLineOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8015 let setLineOptions_options_buf: LineOptions | undefined|undefined 8016 if ((RuntimeType.UNDEFINED) != (setLineOptions_options_buf_runtimeType)) 8017 { 8018 setLineOptions_options_buf = thisDeserializer.readLineOptions() 8019 } 8020 node.setLineOptions_options = setLineOptions_options_buf 8021 } 8022 _LineAttribute_startPoint(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8023 let node = this.ptr2object<LineInterface>(ptr) 8024 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8025 const startPoint_value_buf_length: int32 = thisDeserializer.readInt32() 8026 let startPoint_value_buf: Array<any> = new Array<any>() 8027 for (let startPoint_value_buf_i = 0; startPoint_value_buf_i < startPoint_value_buf_length; startPoint_value_buf_i++) { 8028 startPoint_value_buf[startPoint_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 8029 } 8030 node.startPoint_value = startPoint_value_buf 8031 } 8032 _LineAttribute_endPoint(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8033 let node = this.ptr2object<LineInterface>(ptr) 8034 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8035 const endPoint_value_buf_length: int32 = thisDeserializer.readInt32() 8036 let endPoint_value_buf: Array<any> = new Array<any>() 8037 for (let endPoint_value_buf_i = 0; endPoint_value_buf_i < endPoint_value_buf_length; endPoint_value_buf_i++) { 8038 endPoint_value_buf[endPoint_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 8039 } 8040 node.endPoint_value = endPoint_value_buf 8041 } 8042 _ListInterface_setListOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8043 let node = this.ptr2object<ListInterface>(ptr) 8044 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8045 const setListOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8046 let setListOptions_options_buf: ListOptions | undefined|undefined 8047 if ((RuntimeType.UNDEFINED) != (setListOptions_options_buf_runtimeType)) 8048 { 8049 setListOptions_options_buf = thisDeserializer.readListOptions() 8050 } 8051 node.setListOptions_options = setListOptions_options_buf 8052 } 8053 _ListAttribute_alignListItem(ptr: KPointer, value: KInt): void { 8054 let node = this.ptr2object<ListInterface>(ptr) 8055 node.alignListItem_value = value 8056 } 8057 _ListAttribute_listDirection(ptr: KPointer, value: KInt): void { 8058 let node = this.ptr2object<ListInterface>(ptr) 8059 node.listDirection_value = value 8060 } 8061 _ListAttribute_scrollBar(ptr: KPointer, value: KInt): void { 8062 let node = this.ptr2object<ListInterface>(ptr) 8063 node.scrollBar_value = value 8064 } 8065 _ListAttribute_contentStartOffset(ptr: KPointer, value: number): void { 8066 let node = this.ptr2object<ListInterface>(ptr) 8067 node.contentStartOffset_value = value 8068 } 8069 _ListAttribute_contentEndOffset(ptr: KPointer, value: number): void { 8070 let node = this.ptr2object<ListInterface>(ptr) 8071 node.contentEndOffset_value = value 8072 } 8073 _ListAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8074 let node = this.ptr2object<ListInterface>(ptr) 8075 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8076 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8077 let divider_value_buf: ListDividerOptions | undefined|undefined 8078 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 8079 { 8080 divider_value_buf = thisDeserializer.readListDividerOptions() 8081 } 8082 node.divider_value = divider_value_buf 8083 } 8084 _ListAttribute_editMode(ptr: KPointer, value: KInt): void { 8085 let node = this.ptr2object<ListInterface>(ptr) 8086 node.editMode_value = value 8087 } 8088 _ListAttribute_multiSelectable(ptr: KPointer, value: KInt): void { 8089 let node = this.ptr2object<ListInterface>(ptr) 8090 node.multiSelectable_value = value 8091 } 8092 _ListAttribute_cachedCount0(ptr: KPointer, value: number): void { 8093 let node = this.ptr2object<ListInterface>(ptr) 8094 node.cachedCount0_value = value 8095 } 8096 _ListAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { 8097 let node = this.ptr2object<ListInterface>(ptr) 8098 node.cachedCount1_count = count 8099 node.cachedCount1_show = show 8100 } 8101 _ListAttribute_chainAnimation(ptr: KPointer, value: KInt): void { 8102 let node = this.ptr2object<ListInterface>(ptr) 8103 node.chainAnimation_value = value 8104 } 8105 _ListAttribute_chainAnimationOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8106 let node = this.ptr2object<ListInterface>(ptr) 8107 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8108 node.chainAnimationOptions_value = thisDeserializer.readChainAnimationOptions() 8109 } 8110 _ListAttribute_sticky(ptr: KPointer, value: KInt): void { 8111 let node = this.ptr2object<ListInterface>(ptr) 8112 node.sticky_value = value 8113 } 8114 _ListAttribute_scrollSnapAlign(ptr: KPointer, value: KInt): void { 8115 let node = this.ptr2object<ListInterface>(ptr) 8116 node.scrollSnapAlign_value = value 8117 } 8118 _ListAttribute_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8119 let node = this.ptr2object<ListInterface>(ptr) 8120 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8121 node.nestedScroll_value = thisDeserializer.readNestedScrollOptions() 8122 } 8123 _ListAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { 8124 let node = this.ptr2object<ListInterface>(ptr) 8125 node.enableScrollInteraction_value = value 8126 } 8127 _ListAttribute_friction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8128 let node = this.ptr2object<ListInterface>(ptr) 8129 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8130 const friction_value_buf_selector: number = thisDeserializer.readInt8() 8131 let friction_value_buf: number | Resource | undefined|undefined 8132 if (friction_value_buf_selector == 0) { 8133 friction_value_buf = (thisDeserializer.readNumber() as number) 8134 } 8135 else if (friction_value_buf_selector == 1) { 8136 friction_value_buf = thisDeserializer.readResource() 8137 } 8138 else { 8139 throw new Error("One of the branches for friction_value_buf has to be chosen through deserialisation.") 8140 } 8141 node.friction_value = (friction_value_buf as number | Resource) 8142 } 8143 _ListAttribute_childrenMainSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8144 let node = this.ptr2object<ListInterface>(ptr) 8145 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8146 node.childrenMainSize_value = (thisDeserializer.readChildrenMainSize() as ChildrenMainSize) 8147 } 8148 _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void { 8149 let node = this.ptr2object<ListInterface>(ptr) 8150 node.maintainVisibleContentPosition_value = value 8151 } 8152 _ListAttribute_onScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8153 let node = this.ptr2object<ListInterface>(ptr) 8154 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8155 node.onScroll_value = thisDeserializer.readCallback_Number_ScrollState_Void() 8156 } 8157 _ListAttribute_onScrollIndex(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8158 let node = this.ptr2object<ListInterface>(ptr) 8159 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8160 node.onScrollIndex_value = thisDeserializer.readCallback_Number_Number_Number_Void() 8161 } 8162 _ListAttribute_onScrollVisibleContentChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8163 let node = this.ptr2object<ListInterface>(ptr) 8164 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8165 node.onScrollVisibleContentChange_value = thisDeserializer.readOnScrollVisibleContentChangeCallback() 8166 } 8167 _ListAttribute_onReachStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8168 let node = this.ptr2object<ListInterface>(ptr) 8169 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8170 node.onReachStart_value = thisDeserializer.readCallback_Void() 8171 } 8172 _ListAttribute_onReachEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8173 let node = this.ptr2object<ListInterface>(ptr) 8174 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8175 node.onReachEnd_value = thisDeserializer.readCallback_Void() 8176 } 8177 _ListAttribute_onScrollStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8178 let node = this.ptr2object<ListInterface>(ptr) 8179 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8180 node.onScrollStart_value = thisDeserializer.readCallback_Void() 8181 } 8182 _ListAttribute_onScrollStop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8183 let node = this.ptr2object<ListInterface>(ptr) 8184 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8185 node.onScrollStop_value = thisDeserializer.readCallback_Void() 8186 } 8187 _ListAttribute_onItemDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8188 let node = this.ptr2object<ListInterface>(ptr) 8189 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8190 node.onItemDelete_value = thisDeserializer.readCallback_Number_Boolean() 8191 } 8192 _ListAttribute_onItemMove(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8193 let node = this.ptr2object<ListInterface>(ptr) 8194 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8195 node.onItemMove_value = thisDeserializer.readCallback_Number_Number_Boolean() 8196 } 8197 _ListAttribute_onItemDragStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8198 let node = this.ptr2object<ListInterface>(ptr) 8199 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8200 node.onItemDragStart_value = thisDeserializer.readCallback_ItemDragInfo_Number_Callback_Any() 8201 } 8202 _ListAttribute_onItemDragEnter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8203 let node = this.ptr2object<ListInterface>(ptr) 8204 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8205 node.onItemDragEnter_value = thisDeserializer.readCallback_ItemDragInfo_Void() 8206 } 8207 _ListAttribute_onItemDragMove(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8208 let node = this.ptr2object<ListInterface>(ptr) 8209 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8210 node.onItemDragMove_value = thisDeserializer.readCallback_ItemDragInfo_Number_Number_Void() 8211 } 8212 _ListAttribute_onItemDragLeave(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8213 let node = this.ptr2object<ListInterface>(ptr) 8214 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8215 node.onItemDragLeave_value = thisDeserializer.readCallback_ItemDragInfo_Number_Void() 8216 } 8217 _ListAttribute_onItemDrop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8218 let node = this.ptr2object<ListInterface>(ptr) 8219 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8220 node.onItemDrop_value = thisDeserializer.readCallback_ItemDragInfo_Number_Number_Boolean_Void() 8221 } 8222 _ListAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8223 let node = this.ptr2object<ListInterface>(ptr) 8224 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8225 node.onScrollFrameBegin_value = thisDeserializer.readCallback_Number_ScrollState_Literal_Number_offsetRemain() 8226 } 8227 _ListAttribute_lanes(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8228 let node = this.ptr2object<ListInterface>(ptr) 8229 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8230 const lanes_value_buf_selector: number = thisDeserializer.readInt8() 8231 let lanes_value_buf: number | LengthConstrain | undefined|undefined 8232 if (lanes_value_buf_selector == 0) { 8233 lanes_value_buf = (thisDeserializer.readNumber() as number) 8234 } 8235 else if (lanes_value_buf_selector == 1) { 8236 const lanes_value_buf_u_minLength: Length = (thisDeserializer.readLength() as Length) 8237 const lanes_value_buf_u_maxLength: Length = (thisDeserializer.readLength() as Length) 8238 lanes_value_buf = ({minLength: lanes_value_buf_u_minLength, maxLength: lanes_value_buf_u_maxLength} as LengthConstrain) 8239 } 8240 else { 8241 throw new Error("One of the branches for lanes_value_buf has to be chosen through deserialisation.") 8242 } 8243 node.lanes_value = (lanes_value_buf as number | LengthConstrain) 8244 const lanes_gutter_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8245 let lanes_gutter_buf: Dimension | undefined|undefined 8246 if ((RuntimeType.UNDEFINED) != (lanes_gutter_buf_runtimeType)) 8247 { 8248 lanes_gutter_buf = (thisDeserializer.readLength() as Dimension) 8249 } 8250 node.lanes_gutter = lanes_gutter_buf 8251 } 8252 _ListAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 8253 let node = this.ptr2object<ListInterface>(ptr) 8254 node.edgeEffect_value = value 8255 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8256 const edgeEffect_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8257 let edgeEffect_options_buf: EdgeEffectOptions | undefined|undefined 8258 if ((RuntimeType.UNDEFINED) != (edgeEffect_options_buf_runtimeType)) 8259 { 8260 edgeEffect_options_buf = thisDeserializer.readEdgeEffectOptions() 8261 } 8262 node.edgeEffect_options = edgeEffect_options_buf 8263 } 8264 _ListItemInterface_setListItemOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8265 let node = this.ptr2object<ListItemInterface>(ptr) 8266 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8267 const setListItemOptions0_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8268 let setListItemOptions0_value_buf: ListItemOptions | undefined|undefined 8269 if ((RuntimeType.UNDEFINED) != (setListItemOptions0_value_buf_runtimeType)) 8270 { 8271 setListItemOptions0_value_buf = thisDeserializer.readListItemOptions() 8272 } 8273 node.setListItemOptions0_value = setListItemOptions0_value_buf 8274 } 8275 _ListItemInterface_setListItemOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8276 let node = this.ptr2object<ListItemInterface>(ptr) 8277 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8278 const setListItemOptions1_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8279 let setListItemOptions1_value_buf: string | undefined|undefined 8280 if ((RuntimeType.UNDEFINED) != (setListItemOptions1_value_buf_runtimeType)) 8281 { 8282 setListItemOptions1_value_buf = (thisDeserializer.readString() as string) 8283 } 8284 node.setListItemOptions1_value = setListItemOptions1_value_buf 8285 } 8286 _ListItemAttribute_sticky(ptr: KPointer, value: KInt): void { 8287 let node = this.ptr2object<ListItemInterface>(ptr) 8288 node.sticky_value = value 8289 } 8290 _ListItemAttribute_editable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8291 let node = this.ptr2object<ListItemInterface>(ptr) 8292 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8293 const editable_value_buf_selector: number = thisDeserializer.readInt8() 8294 let editable_value_buf: boolean | EditMode | undefined|undefined 8295 if (editable_value_buf_selector == 0) { 8296 editable_value_buf = thisDeserializer.readBoolean() 8297 } 8298 else if (editable_value_buf_selector == 1) { 8299 editable_value_buf = (thisDeserializer.readInt32() as EditMode) 8300 } 8301 else { 8302 throw new Error("One of the branches for editable_value_buf has to be chosen through deserialisation.") 8303 } 8304 node.editable_value = (editable_value_buf as boolean | EditMode) 8305 } 8306 _ListItemAttribute_selectable(ptr: KPointer, value: KInt): void { 8307 let node = this.ptr2object<ListItemInterface>(ptr) 8308 node.selectable_value = value 8309 } 8310 _ListItemAttribute_selected(ptr: KPointer, value: KInt): void { 8311 let node = this.ptr2object<ListItemInterface>(ptr) 8312 node.selected_value = value 8313 } 8314 _ListItemAttribute_swipeAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8315 let node = this.ptr2object<ListItemInterface>(ptr) 8316 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8317 node.swipeAction_value = thisDeserializer.readSwipeActionOptions() 8318 } 8319 _ListItemAttribute_onSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8320 let node = this.ptr2object<ListItemInterface>(ptr) 8321 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8322 node.onSelect_value = thisDeserializer.readCallback_Boolean_Void() 8323 } 8324 _ListItemGroupInterface_setListItemGroupOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8325 let node = this.ptr2object<ListItemGroupInterface>(ptr) 8326 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8327 const setListItemGroupOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8328 let setListItemGroupOptions_options_buf: ListItemGroupOptions | undefined|undefined 8329 if ((RuntimeType.UNDEFINED) != (setListItemGroupOptions_options_buf_runtimeType)) 8330 { 8331 setListItemGroupOptions_options_buf = thisDeserializer.readListItemGroupOptions() 8332 } 8333 node.setListItemGroupOptions_options = setListItemGroupOptions_options_buf 8334 } 8335 _ListItemGroupAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8336 let node = this.ptr2object<ListItemGroupInterface>(ptr) 8337 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8338 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8339 let divider_value_buf: ListDividerOptions | undefined|undefined 8340 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 8341 { 8342 divider_value_buf = thisDeserializer.readListDividerOptions() 8343 } 8344 node.divider_value = divider_value_buf 8345 } 8346 _ListItemGroupAttribute_childrenMainSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8347 let node = this.ptr2object<ListItemGroupInterface>(ptr) 8348 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8349 node.childrenMainSize_value = (thisDeserializer.readChildrenMainSize() as ChildrenMainSize) 8350 } 8351 _LoadingProgressInterface_setLoadingProgressOptions(ptr: KPointer): void { 8352 let node = this.ptr2object<LoadingProgressInterface>(ptr) 8353 } 8354 _LoadingProgressAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8355 let node = this.ptr2object<LoadingProgressInterface>(ptr) 8356 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8357 const color_value_buf_selector: number = thisDeserializer.readInt8() 8358 let color_value_buf: Color | number | string | Resource | undefined|undefined 8359 if (color_value_buf_selector == 0) { 8360 color_value_buf = (thisDeserializer.readInt32() as Color) 8361 } 8362 else if (color_value_buf_selector == 1) { 8363 color_value_buf = (thisDeserializer.readNumber() as number) 8364 } 8365 else if (color_value_buf_selector == 2) { 8366 color_value_buf = (thisDeserializer.readString() as string) 8367 } 8368 else if (color_value_buf_selector == 3) { 8369 color_value_buf = thisDeserializer.readResource() 8370 } 8371 else { 8372 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 8373 } 8374 node.color_value = (color_value_buf as Color | number | string | Resource) 8375 } 8376 _LoadingProgressAttribute_enableLoading(ptr: KPointer, value: KInt): void { 8377 let node = this.ptr2object<LoadingProgressInterface>(ptr) 8378 node.enableLoading_value = value 8379 } 8380 _LoadingProgressAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8381 let node = this.ptr2object<LoadingProgressInterface>(ptr) 8382 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8383 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 8384 } 8385 _LocationButtonInterface_setLocationButtonOptions0(ptr: KPointer): void { 8386 let node = this.ptr2object<LocationButtonInterface>(ptr) 8387 } 8388 _LocationButtonInterface_setLocationButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8389 let node = this.ptr2object<LocationButtonInterface>(ptr) 8390 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8391 node.setLocationButtonOptions1_options = thisDeserializer.readLocationButtonOptions() 8392 } 8393 _LocationButtonAttribute_onClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8394 let node = this.ptr2object<LocationButtonInterface>(ptr) 8395 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8396 node.onClick_value = thisDeserializer.readCallback_ClickEvent_LocationButtonOnClickResult_Void() 8397 } 8398 _MarqueeInterface_setMarqueeOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8399 let node = this.ptr2object<MarqueeInterface>(ptr) 8400 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8401 node.setMarqueeOptions_options = thisDeserializer.readMarqueeOptions() 8402 } 8403 _MarqueeAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8404 let node = this.ptr2object<MarqueeInterface>(ptr) 8405 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8406 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 8407 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 8408 if (fontColor_value_buf_selector == 0) { 8409 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 8410 } 8411 else if (fontColor_value_buf_selector == 1) { 8412 fontColor_value_buf = (thisDeserializer.readNumber() as number) 8413 } 8414 else if (fontColor_value_buf_selector == 2) { 8415 fontColor_value_buf = (thisDeserializer.readString() as string) 8416 } 8417 else if (fontColor_value_buf_selector == 3) { 8418 fontColor_value_buf = thisDeserializer.readResource() 8419 } 8420 else { 8421 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 8422 } 8423 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 8424 } 8425 _MarqueeAttribute_fontSize(ptr: KPointer, value: Length): void { 8426 let node = this.ptr2object<MarqueeInterface>(ptr) 8427 node.fontSize_value = value 8428 } 8429 _MarqueeAttribute_allowScale(ptr: KPointer, value: KInt): void { 8430 let node = this.ptr2object<MarqueeInterface>(ptr) 8431 node.allowScale_value = value 8432 } 8433 _MarqueeAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8434 let node = this.ptr2object<MarqueeInterface>(ptr) 8435 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8436 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 8437 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 8438 if (fontWeight_value_buf_selector == 0) { 8439 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 8440 } 8441 else if (fontWeight_value_buf_selector == 1) { 8442 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 8443 } 8444 else if (fontWeight_value_buf_selector == 2) { 8445 fontWeight_value_buf = (thisDeserializer.readString() as string) 8446 } 8447 else { 8448 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 8449 } 8450 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 8451 } 8452 _MarqueeAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8453 let node = this.ptr2object<MarqueeInterface>(ptr) 8454 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8455 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 8456 let fontFamily_value_buf: string | Resource | undefined|undefined 8457 if (fontFamily_value_buf_selector == 0) { 8458 fontFamily_value_buf = (thisDeserializer.readString() as string) 8459 } 8460 else if (fontFamily_value_buf_selector == 1) { 8461 fontFamily_value_buf = thisDeserializer.readResource() 8462 } 8463 else { 8464 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 8465 } 8466 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 8467 } 8468 _MarqueeAttribute_marqueeUpdateStrategy(ptr: KPointer, value: KInt): void { 8469 let node = this.ptr2object<MarqueeInterface>(ptr) 8470 node.marqueeUpdateStrategy_value = value 8471 } 8472 _MarqueeAttribute_onStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8473 let node = this.ptr2object<MarqueeInterface>(ptr) 8474 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8475 node.onStart_value = thisDeserializer.readCallback_Void() 8476 } 8477 _MarqueeAttribute_onBounce(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8478 let node = this.ptr2object<MarqueeInterface>(ptr) 8479 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8480 node.onBounce_value = thisDeserializer.readCallback_Void() 8481 } 8482 _MarqueeAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8483 let node = this.ptr2object<MarqueeInterface>(ptr) 8484 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8485 node.onFinish_value = thisDeserializer.readCallback_Void() 8486 } 8487 _MediaCachedImageInterface_setMediaCachedImageOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8488 let node = this.ptr2object<MediaCachedImageInterface>(ptr) 8489 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8490 const setMediaCachedImageOptions_src_buf_selector: number = thisDeserializer.readInt8() 8491 let setMediaCachedImageOptions_src_buf: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource | undefined|undefined 8492 if (setMediaCachedImageOptions_src_buf_selector == 0) { 8493 setMediaCachedImageOptions_src_buf = (thisDeserializer.readPixelMap() as PixelMap) 8494 } 8495 else if (setMediaCachedImageOptions_src_buf_selector == 1) { 8496 const setMediaCachedImageOptions_src_buf_u_selector: number = thisDeserializer.readInt8() 8497 let setMediaCachedImageOptions_src_buf_u: string | Resource | undefined|undefined 8498 if (setMediaCachedImageOptions_src_buf_u_selector == 0) { 8499 setMediaCachedImageOptions_src_buf_u = (thisDeserializer.readString() as string) 8500 } 8501 else if (setMediaCachedImageOptions_src_buf_u_selector == 1) { 8502 setMediaCachedImageOptions_src_buf_u = thisDeserializer.readResource() 8503 } 8504 else { 8505 throw new Error("One of the branches for setMediaCachedImageOptions_src_buf_u has to be chosen through deserialisation.") 8506 } 8507 setMediaCachedImageOptions_src_buf = (setMediaCachedImageOptions_src_buf_u as string | Resource) 8508 } 8509 else if (setMediaCachedImageOptions_src_buf_selector == 2) { 8510 setMediaCachedImageOptions_src_buf = thisDeserializer.readDrawableDescriptor() 8511 } 8512 else if (setMediaCachedImageOptions_src_buf_selector == 3) { 8513 setMediaCachedImageOptions_src_buf = thisDeserializer.readASTCResource() 8514 } 8515 else { 8516 throw new Error("One of the branches for setMediaCachedImageOptions_src_buf has to be chosen through deserialisation.") 8517 } 8518 node.setMediaCachedImageOptions_src = (setMediaCachedImageOptions_src_buf as PixelMap | ResourceStr | DrawableDescriptor | ASTCResource) 8519 } 8520 _MenuInterface_setMenuOptions(ptr: KPointer): void { 8521 let node = this.ptr2object<MenuInterface>(ptr) 8522 } 8523 _MenuAttribute_fontSize(ptr: KPointer, value: Length): void { 8524 let node = this.ptr2object<MenuInterface>(ptr) 8525 node.fontSize_value = value 8526 } 8527 _MenuAttribute_font(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8528 let node = this.ptr2object<MenuInterface>(ptr) 8529 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8530 node.font_value = thisDeserializer.readFont() 8531 } 8532 _MenuAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8533 let node = this.ptr2object<MenuInterface>(ptr) 8534 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8535 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 8536 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 8537 if (fontColor_value_buf_selector == 0) { 8538 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 8539 } 8540 else if (fontColor_value_buf_selector == 1) { 8541 fontColor_value_buf = (thisDeserializer.readNumber() as number) 8542 } 8543 else if (fontColor_value_buf_selector == 2) { 8544 fontColor_value_buf = (thisDeserializer.readString() as string) 8545 } 8546 else if (fontColor_value_buf_selector == 3) { 8547 fontColor_value_buf = thisDeserializer.readResource() 8548 } 8549 else { 8550 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 8551 } 8552 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 8553 } 8554 _MenuAttribute_radius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8555 let node = this.ptr2object<MenuInterface>(ptr) 8556 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8557 const radius_value_buf_selector: number = thisDeserializer.readInt8() 8558 let radius_value_buf: Dimension | BorderRadiuses | undefined|undefined 8559 if (radius_value_buf_selector == 0) { 8560 radius_value_buf = (thisDeserializer.readLength() as Dimension) 8561 } 8562 else if (radius_value_buf_selector == 1) { 8563 const radius_value_buf_u_topLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8564 let radius_value_buf_u_topLeft_buf: Length | undefined|undefined 8565 if ((RuntimeType.UNDEFINED) != (radius_value_buf_u_topLeft_buf_runtimeType)) 8566 { 8567 radius_value_buf_u_topLeft_buf = (thisDeserializer.readLength() as Length) 8568 } 8569 const radius_value_buf_u_topLeft: undefined | Length = radius_value_buf_u_topLeft_buf 8570 const radius_value_buf_u_topRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8571 let radius_value_buf_u_topRight_buf: Length | undefined|undefined 8572 if ((RuntimeType.UNDEFINED) != (radius_value_buf_u_topRight_buf_runtimeType)) 8573 { 8574 radius_value_buf_u_topRight_buf = (thisDeserializer.readLength() as Length) 8575 } 8576 const radius_value_buf_u_topRight: undefined | Length = radius_value_buf_u_topRight_buf 8577 const radius_value_buf_u_bottomLeft_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8578 let radius_value_buf_u_bottomLeft_buf: Length | undefined|undefined 8579 if ((RuntimeType.UNDEFINED) != (radius_value_buf_u_bottomLeft_buf_runtimeType)) 8580 { 8581 radius_value_buf_u_bottomLeft_buf = (thisDeserializer.readLength() as Length) 8582 } 8583 const radius_value_buf_u_bottomLeft: undefined | Length = radius_value_buf_u_bottomLeft_buf 8584 const radius_value_buf_u_bottomRight_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8585 let radius_value_buf_u_bottomRight_buf: Length | undefined|undefined 8586 if ((RuntimeType.UNDEFINED) != (radius_value_buf_u_bottomRight_buf_runtimeType)) 8587 { 8588 radius_value_buf_u_bottomRight_buf = (thisDeserializer.readLength() as Length) 8589 } 8590 const radius_value_buf_u_bottomRight: undefined | Length = radius_value_buf_u_bottomRight_buf 8591 radius_value_buf = ({topLeft: radius_value_buf_u_topLeft, topRight: radius_value_buf_u_topRight, bottomLeft: radius_value_buf_u_bottomLeft, bottomRight: radius_value_buf_u_bottomRight} as BorderRadiuses) 8592 } 8593 else { 8594 throw new Error("One of the branches for radius_value_buf has to be chosen through deserialisation.") 8595 } 8596 node.radius_value = (radius_value_buf as Dimension | BorderRadiuses) 8597 } 8598 _MenuAttribute_menuItemDivider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8599 let node = this.ptr2object<MenuInterface>(ptr) 8600 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8601 const menuItemDivider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8602 let menuItemDivider_value_buf: DividerStyleOptions | undefined|undefined 8603 if ((RuntimeType.UNDEFINED) != (menuItemDivider_value_buf_runtimeType)) 8604 { 8605 menuItemDivider_value_buf = thisDeserializer.readDividerStyleOptions() 8606 } 8607 node.menuItemDivider_value = menuItemDivider_value_buf 8608 } 8609 _MenuAttribute_menuItemGroupDivider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8610 let node = this.ptr2object<MenuInterface>(ptr) 8611 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8612 const menuItemGroupDivider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8613 let menuItemGroupDivider_value_buf: DividerStyleOptions | undefined|undefined 8614 if ((RuntimeType.UNDEFINED) != (menuItemGroupDivider_value_buf_runtimeType)) 8615 { 8616 menuItemGroupDivider_value_buf = thisDeserializer.readDividerStyleOptions() 8617 } 8618 node.menuItemGroupDivider_value = menuItemGroupDivider_value_buf 8619 } 8620 _MenuAttribute_subMenuExpandingMode(ptr: KPointer, value: KInt): void { 8621 let node = this.ptr2object<MenuInterface>(ptr) 8622 node.subMenuExpandingMode_value = value 8623 } 8624 _MenuItemInterface_setMenuItemOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8625 let node = this.ptr2object<MenuItemInterface>(ptr) 8626 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8627 const setMenuItemOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8628 let setMenuItemOptions_value_buf: MenuItemOptions | CustomBuilder | undefined|undefined 8629 if ((RuntimeType.UNDEFINED) != (setMenuItemOptions_value_buf_runtimeType)) 8630 { 8631 const setMenuItemOptions_value_buf__selector: number = thisDeserializer.readInt8() 8632 let setMenuItemOptions_value_buf_: MenuItemOptions | CustomBuilder | undefined|undefined 8633 if (setMenuItemOptions_value_buf__selector == 0) { 8634 setMenuItemOptions_value_buf_ = thisDeserializer.readMenuItemOptions() 8635 } 8636 else if (setMenuItemOptions_value_buf__selector == 1) { 8637 setMenuItemOptions_value_buf_ = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 8638 } 8639 else { 8640 throw new Error("One of the branches for setMenuItemOptions_value_buf_ has to be chosen through deserialisation.") 8641 } 8642 setMenuItemOptions_value_buf = (setMenuItemOptions_value_buf_ as MenuItemOptions | CustomBuilder) 8643 } 8644 node.setMenuItemOptions_value = setMenuItemOptions_value_buf 8645 } 8646 _MenuItemAttribute_selected(ptr: KPointer, value: KInt): void { 8647 let node = this.ptr2object<MenuItemInterface>(ptr) 8648 node.selected_value = value 8649 } 8650 _MenuItemAttribute_selectIcon(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8651 let node = this.ptr2object<MenuItemInterface>(ptr) 8652 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8653 const selectIcon_value_buf_selector: number = thisDeserializer.readInt8() 8654 let selectIcon_value_buf: boolean | ResourceStr | SymbolGlyphModifier | undefined|undefined 8655 if (selectIcon_value_buf_selector == 0) { 8656 selectIcon_value_buf = thisDeserializer.readBoolean() 8657 } 8658 else if (selectIcon_value_buf_selector == 1) { 8659 const selectIcon_value_buf_u_selector: number = thisDeserializer.readInt8() 8660 let selectIcon_value_buf_u: string | Resource | undefined|undefined 8661 if (selectIcon_value_buf_u_selector == 0) { 8662 selectIcon_value_buf_u = (thisDeserializer.readString() as string) 8663 } 8664 else if (selectIcon_value_buf_u_selector == 1) { 8665 selectIcon_value_buf_u = thisDeserializer.readResource() 8666 } 8667 else { 8668 throw new Error("One of the branches for selectIcon_value_buf_u has to be chosen through deserialisation.") 8669 } 8670 selectIcon_value_buf = (selectIcon_value_buf_u as string | Resource) 8671 } 8672 else if (selectIcon_value_buf_selector == 2) { 8673 selectIcon_value_buf = thisDeserializer.readSymbolGlyphModifier() 8674 } 8675 else { 8676 throw new Error("One of the branches for selectIcon_value_buf has to be chosen through deserialisation.") 8677 } 8678 node.selectIcon_value = (selectIcon_value_buf as boolean | ResourceStr | SymbolGlyphModifier) 8679 } 8680 _MenuItemAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8681 let node = this.ptr2object<MenuItemInterface>(ptr) 8682 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8683 node.onChange_value = thisDeserializer.readCallback_Boolean_Void() 8684 } 8685 _MenuItemAttribute_contentFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8686 let node = this.ptr2object<MenuItemInterface>(ptr) 8687 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8688 node.contentFont_value = thisDeserializer.readFont() 8689 } 8690 _MenuItemAttribute_contentFontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8691 let node = this.ptr2object<MenuItemInterface>(ptr) 8692 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8693 const contentFontColor_value_buf_selector: number = thisDeserializer.readInt8() 8694 let contentFontColor_value_buf: Color | number | string | Resource | undefined|undefined 8695 if (contentFontColor_value_buf_selector == 0) { 8696 contentFontColor_value_buf = (thisDeserializer.readInt32() as Color) 8697 } 8698 else if (contentFontColor_value_buf_selector == 1) { 8699 contentFontColor_value_buf = (thisDeserializer.readNumber() as number) 8700 } 8701 else if (contentFontColor_value_buf_selector == 2) { 8702 contentFontColor_value_buf = (thisDeserializer.readString() as string) 8703 } 8704 else if (contentFontColor_value_buf_selector == 3) { 8705 contentFontColor_value_buf = thisDeserializer.readResource() 8706 } 8707 else { 8708 throw new Error("One of the branches for contentFontColor_value_buf has to be chosen through deserialisation.") 8709 } 8710 node.contentFontColor_value = (contentFontColor_value_buf as Color | number | string | Resource) 8711 } 8712 _MenuItemAttribute_labelFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8713 let node = this.ptr2object<MenuItemInterface>(ptr) 8714 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8715 node.labelFont_value = thisDeserializer.readFont() 8716 } 8717 _MenuItemAttribute_labelFontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8718 let node = this.ptr2object<MenuItemInterface>(ptr) 8719 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8720 const labelFontColor_value_buf_selector: number = thisDeserializer.readInt8() 8721 let labelFontColor_value_buf: Color | number | string | Resource | undefined|undefined 8722 if (labelFontColor_value_buf_selector == 0) { 8723 labelFontColor_value_buf = (thisDeserializer.readInt32() as Color) 8724 } 8725 else if (labelFontColor_value_buf_selector == 1) { 8726 labelFontColor_value_buf = (thisDeserializer.readNumber() as number) 8727 } 8728 else if (labelFontColor_value_buf_selector == 2) { 8729 labelFontColor_value_buf = (thisDeserializer.readString() as string) 8730 } 8731 else if (labelFontColor_value_buf_selector == 3) { 8732 labelFontColor_value_buf = thisDeserializer.readResource() 8733 } 8734 else { 8735 throw new Error("One of the branches for labelFontColor_value_buf has to be chosen through deserialisation.") 8736 } 8737 node.labelFontColor_value = (labelFontColor_value_buf as Color | number | string | Resource) 8738 } 8739 _MenuItemGroupInterface_setMenuItemGroupOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8740 let node = this.ptr2object<MenuItemGroupInterface>(ptr) 8741 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8742 const setMenuItemGroupOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8743 let setMenuItemGroupOptions_value_buf: MenuItemGroupOptions | undefined|undefined 8744 if ((RuntimeType.UNDEFINED) != (setMenuItemGroupOptions_value_buf_runtimeType)) 8745 { 8746 setMenuItemGroupOptions_value_buf = thisDeserializer.readMenuItemGroupOptions() 8747 } 8748 node.setMenuItemGroupOptions_value = setMenuItemGroupOptions_value_buf 8749 } 8750 _NavDestinationInterface_setNavDestinationOptions(ptr: KPointer): void { 8751 let node = this.ptr2object<NavDestinationInterface>(ptr) 8752 } 8753 _NavDestinationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { 8754 let node = this.ptr2object<NavDestinationInterface>(ptr) 8755 node.hideTitleBar0_value = value 8756 } 8757 _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { 8758 let node = this.ptr2object<NavDestinationInterface>(ptr) 8759 node.hideTitleBar1_hide = hide 8760 node.hideTitleBar1_animated = animated 8761 } 8762 _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8763 let node = this.ptr2object<NavDestinationInterface>(ptr) 8764 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8765 node.onShown_value = thisDeserializer.readCallback_Void() 8766 } 8767 _NavDestinationAttribute_onHidden(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8768 let node = this.ptr2object<NavDestinationInterface>(ptr) 8769 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8770 node.onHidden_value = thisDeserializer.readCallback_Void() 8771 } 8772 _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8773 let node = this.ptr2object<NavDestinationInterface>(ptr) 8774 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8775 node.onBackPressed_value = thisDeserializer.readCallback_Boolean() 8776 } 8777 _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void { 8778 let node = this.ptr2object<NavDestinationInterface>(ptr) 8779 node.mode_value = value 8780 } 8781 _NavDestinationAttribute_backButtonIcon(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8782 let node = this.ptr2object<NavDestinationInterface>(ptr) 8783 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8784 const backButtonIcon_value_buf_selector: number = thisDeserializer.readInt8() 8785 let backButtonIcon_value_buf: ResourceStr | PixelMap | SymbolGlyphModifier | undefined|undefined 8786 if (backButtonIcon_value_buf_selector == 0) { 8787 const backButtonIcon_value_buf_u_selector: number = thisDeserializer.readInt8() 8788 let backButtonIcon_value_buf_u: string | Resource | undefined|undefined 8789 if (backButtonIcon_value_buf_u_selector == 0) { 8790 backButtonIcon_value_buf_u = (thisDeserializer.readString() as string) 8791 } 8792 else if (backButtonIcon_value_buf_u_selector == 1) { 8793 backButtonIcon_value_buf_u = thisDeserializer.readResource() 8794 } 8795 else { 8796 throw new Error("One of the branches for backButtonIcon_value_buf_u has to be chosen through deserialisation.") 8797 } 8798 backButtonIcon_value_buf = (backButtonIcon_value_buf_u as string | Resource) 8799 } 8800 else if (backButtonIcon_value_buf_selector == 1) { 8801 backButtonIcon_value_buf = (thisDeserializer.readPixelMap() as PixelMap) 8802 } 8803 else if (backButtonIcon_value_buf_selector == 2) { 8804 backButtonIcon_value_buf = thisDeserializer.readSymbolGlyphModifier() 8805 } 8806 else { 8807 throw new Error("One of the branches for backButtonIcon_value_buf has to be chosen through deserialisation.") 8808 } 8809 node.backButtonIcon_value = (backButtonIcon_value_buf as ResourceStr | PixelMap | SymbolGlyphModifier) 8810 } 8811 _NavDestinationAttribute_menus(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8812 let node = this.ptr2object<NavDestinationInterface>(ptr) 8813 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8814 const menus_value_buf_selector: number = thisDeserializer.readInt8() 8815 let menus_value_buf: Array<NavigationMenuItem> | CustomBuilder | undefined|undefined 8816 if (menus_value_buf_selector == 0) { 8817 const menus_value_buf_u_length: int32 = thisDeserializer.readInt32() 8818 let menus_value_buf_u: Array<NavigationMenuItem> = new Array<NavigationMenuItem>() 8819 for (let menus_value_buf_u_i = 0; menus_value_buf_u_i < menus_value_buf_u_length; menus_value_buf_u_i++) { 8820 menus_value_buf_u[menus_value_buf_u_i] = thisDeserializer.readNavigationMenuItem() 8821 } 8822 menus_value_buf = menus_value_buf_u 8823 } 8824 else if (menus_value_buf_selector == 1) { 8825 menus_value_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 8826 } 8827 else { 8828 throw new Error("One of the branches for menus_value_buf has to be chosen through deserialisation.") 8829 } 8830 node.menus_value = (menus_value_buf as Array<NavigationMenuItem> | CustomBuilder) 8831 } 8832 _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8833 let node = this.ptr2object<NavDestinationInterface>(ptr) 8834 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8835 node.onReady_value = thisDeserializer.readCallback_NavDestinationContext_Void() 8836 } 8837 _NavDestinationAttribute_onWillAppear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8838 let node = this.ptr2object<NavDestinationInterface>(ptr) 8839 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8840 node.onWillAppear_value = thisDeserializer.readCallback_Void() 8841 } 8842 _NavDestinationAttribute_onWillDisappear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8843 let node = this.ptr2object<NavDestinationInterface>(ptr) 8844 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8845 node.onWillDisappear_value = thisDeserializer.readCallback_Void() 8846 } 8847 _NavDestinationAttribute_onWillShow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8848 let node = this.ptr2object<NavDestinationInterface>(ptr) 8849 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8850 node.onWillShow_value = thisDeserializer.readCallback_Void() 8851 } 8852 _NavDestinationAttribute_onWillHide(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8853 let node = this.ptr2object<NavDestinationInterface>(ptr) 8854 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8855 node.onWillHide_value = thisDeserializer.readCallback_Void() 8856 } 8857 _NavDestinationAttribute_systemBarStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8858 let node = this.ptr2object<NavDestinationInterface>(ptr) 8859 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8860 const systemBarStyle_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8861 let systemBarStyle_value_buf: SystemBarStyle | undefined|undefined 8862 if ((RuntimeType.UNDEFINED) != (systemBarStyle_value_buf_runtimeType)) 8863 { 8864 systemBarStyle_value_buf = thisDeserializer.readSystemBarStyle() 8865 } 8866 node.systemBarStyle_value = systemBarStyle_value_buf 8867 } 8868 _NavDestinationAttribute_recoverable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8869 let node = this.ptr2object<NavDestinationInterface>(ptr) 8870 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8871 const recoverable_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8872 let recoverable_value_buf: boolean | undefined|undefined 8873 if ((RuntimeType.UNDEFINED) != (recoverable_value_buf_runtimeType)) 8874 { 8875 recoverable_value_buf = thisDeserializer.readBoolean() 8876 } 8877 node.recoverable_value = recoverable_value_buf 8878 } 8879 _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void { 8880 let node = this.ptr2object<NavDestinationInterface>(ptr) 8881 node.systemTransition_value = value 8882 } 8883 _NavDestinationAttribute_title(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8884 let node = this.ptr2object<NavDestinationInterface>(ptr) 8885 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8886 const title_value_buf_selector: number = thisDeserializer.readInt8() 8887 let title_value_buf: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource | undefined|undefined 8888 if (title_value_buf_selector == 0) { 8889 title_value_buf = (thisDeserializer.readString() as string) 8890 } 8891 else if (title_value_buf_selector == 1) { 8892 title_value_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 8893 } 8894 else if (title_value_buf_selector == 2) { 8895 title_value_buf = thisDeserializer.readNavDestinationCommonTitle() 8896 } 8897 else if (title_value_buf_selector == 3) { 8898 title_value_buf = thisDeserializer.readNavDestinationCustomTitle() 8899 } 8900 else if (title_value_buf_selector == 4) { 8901 title_value_buf = thisDeserializer.readResource() 8902 } 8903 else { 8904 throw new Error("One of the branches for title_value_buf has to be chosen through deserialisation.") 8905 } 8906 node.title_value = (title_value_buf as string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource) 8907 const title_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8908 let title_options_buf: NavigationTitleOptions | undefined|undefined 8909 if ((RuntimeType.UNDEFINED) != (title_options_buf_runtimeType)) 8910 { 8911 title_options_buf = thisDeserializer.readNavigationTitleOptions() 8912 } 8913 node.title_options = title_options_buf 8914 } 8915 _NavDestinationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8916 let node = this.ptr2object<NavDestinationInterface>(ptr) 8917 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8918 const toolbarConfiguration_toolbarParam_buf_selector: number = thisDeserializer.readInt8() 8919 let toolbarConfiguration_toolbarParam_buf: Array<ToolbarItem> | CustomBuilder | undefined|undefined 8920 if (toolbarConfiguration_toolbarParam_buf_selector == 0) { 8921 const toolbarConfiguration_toolbarParam_buf_u_length: int32 = thisDeserializer.readInt32() 8922 let toolbarConfiguration_toolbarParam_buf_u: Array<ToolbarItem> = new Array<ToolbarItem>() 8923 for (let toolbarConfiguration_toolbarParam_buf_u_i = 0; toolbarConfiguration_toolbarParam_buf_u_i < toolbarConfiguration_toolbarParam_buf_u_length; toolbarConfiguration_toolbarParam_buf_u_i++) { 8924 toolbarConfiguration_toolbarParam_buf_u[toolbarConfiguration_toolbarParam_buf_u_i] = thisDeserializer.readToolbarItem() 8925 } 8926 toolbarConfiguration_toolbarParam_buf = toolbarConfiguration_toolbarParam_buf_u 8927 } 8928 else if (toolbarConfiguration_toolbarParam_buf_selector == 1) { 8929 toolbarConfiguration_toolbarParam_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 8930 } 8931 else { 8932 throw new Error("One of the branches for toolbarConfiguration_toolbarParam_buf has to be chosen through deserialisation.") 8933 } 8934 node.toolbarConfiguration_toolbarParam = (toolbarConfiguration_toolbarParam_buf as Array<ToolbarItem> | CustomBuilder) 8935 const toolbarConfiguration_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8936 let toolbarConfiguration_options_buf: NavigationToolbarOptions | undefined|undefined 8937 if ((RuntimeType.UNDEFINED) != (toolbarConfiguration_options_buf_runtimeType)) 8938 { 8939 toolbarConfiguration_options_buf = thisDeserializer.readNavigationToolbarOptions() 8940 } 8941 node.toolbarConfiguration_options = toolbarConfiguration_options_buf 8942 } 8943 _NavDestinationAttribute_hideToolBar(ptr: KPointer, hide: KInt, thisArray: Uint8Array, thisLength: int32): void { 8944 let node = this.ptr2object<NavDestinationInterface>(ptr) 8945 node.hideToolBar_hide = hide 8946 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8947 const hideToolBar_animated_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8948 let hideToolBar_animated_buf: boolean | undefined|undefined 8949 if ((RuntimeType.UNDEFINED) != (hideToolBar_animated_buf_runtimeType)) 8950 { 8951 hideToolBar_animated_buf = thisDeserializer.readBoolean() 8952 } 8953 node.hideToolBar_animated = hideToolBar_animated_buf 8954 } 8955 _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8956 let node = this.ptr2object<NavDestinationInterface>(ptr) 8957 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8958 const ignoreLayoutSafeArea_types_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8959 let ignoreLayoutSafeArea_types_buf: Array<LayoutSafeAreaType> | undefined|undefined 8960 if ((RuntimeType.UNDEFINED) != (ignoreLayoutSafeArea_types_buf_runtimeType)) 8961 { 8962 const ignoreLayoutSafeArea_types_buf__length: int32 = thisDeserializer.readInt32() 8963 let ignoreLayoutSafeArea_types_buf_: Array<LayoutSafeAreaType> = new Array<LayoutSafeAreaType>() 8964 for (let ignoreLayoutSafeArea_types_buf__i = 0; ignoreLayoutSafeArea_types_buf__i < ignoreLayoutSafeArea_types_buf__length; ignoreLayoutSafeArea_types_buf__i++) { 8965 ignoreLayoutSafeArea_types_buf_[ignoreLayoutSafeArea_types_buf__i] = (thisDeserializer.readInt32() as LayoutSafeAreaType) 8966 } 8967 ignoreLayoutSafeArea_types_buf = ignoreLayoutSafeArea_types_buf_ 8968 } 8969 node.ignoreLayoutSafeArea_types = ignoreLayoutSafeArea_types_buf 8970 const ignoreLayoutSafeArea_edges_buf_runtimeType = (thisDeserializer.readInt8() as int32) 8971 let ignoreLayoutSafeArea_edges_buf: Array<LayoutSafeAreaEdge> | undefined|undefined 8972 if ((RuntimeType.UNDEFINED) != (ignoreLayoutSafeArea_edges_buf_runtimeType)) 8973 { 8974 const ignoreLayoutSafeArea_edges_buf__length: int32 = thisDeserializer.readInt32() 8975 let ignoreLayoutSafeArea_edges_buf_: Array<LayoutSafeAreaEdge> = new Array<LayoutSafeAreaEdge>() 8976 for (let ignoreLayoutSafeArea_edges_buf__i = 0; ignoreLayoutSafeArea_edges_buf__i < ignoreLayoutSafeArea_edges_buf__length; ignoreLayoutSafeArea_edges_buf__i++) { 8977 ignoreLayoutSafeArea_edges_buf_[ignoreLayoutSafeArea_edges_buf__i] = (thisDeserializer.readInt32() as LayoutSafeAreaEdge) 8978 } 8979 ignoreLayoutSafeArea_edges_buf = ignoreLayoutSafeArea_edges_buf_ 8980 } 8981 node.ignoreLayoutSafeArea_edges = ignoreLayoutSafeArea_edges_buf 8982 } 8983 _NavRouterInterface_setNavRouterOptions0(ptr: KPointer): void { 8984 let node = this.ptr2object<NavRouterInterface>(ptr) 8985 } 8986 _NavRouterInterface_setNavRouterOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8987 let node = this.ptr2object<NavRouterInterface>(ptr) 8988 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8989 node.setNavRouterOptions1_value = thisDeserializer.readRouteInfo() 8990 } 8991 _NavRouterAttribute_onStateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 8992 let node = this.ptr2object<NavRouterInterface>(ptr) 8993 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 8994 node.onStateChange_value = thisDeserializer.readCallback_Boolean_Void() 8995 } 8996 _NavRouterAttribute_mode(ptr: KPointer, value: KInt): void { 8997 let node = this.ptr2object<NavRouterInterface>(ptr) 8998 node.mode_value = value 8999 } 9000 _NavigatorInterface_setNavigatorOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9001 let node = this.ptr2object<NavigatorInterface>(ptr) 9002 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9003 const setNavigatorOptions0_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9004 let setNavigatorOptions0_value_buf: { target: string, type?: NavigationType } | undefined|undefined 9005 if ((RuntimeType.UNDEFINED) != (setNavigatorOptions0_value_buf_runtimeType)) 9006 { 9007 const setNavigatorOptions0_value_buf__target: string = (thisDeserializer.readString() as string) 9008 const setNavigatorOptions0_value_buf__type_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9009 let setNavigatorOptions0_value_buf__type_buf: NavigationType | undefined|undefined 9010 if ((RuntimeType.UNDEFINED) != (setNavigatorOptions0_value_buf__type_buf_runtimeType)) 9011 { 9012 setNavigatorOptions0_value_buf__type_buf = (thisDeserializer.readInt32() as NavigationType) 9013 } 9014 const setNavigatorOptions0_value_buf__type: undefined | NavigationType = setNavigatorOptions0_value_buf__type_buf 9015 setNavigatorOptions0_value_buf = ({target: setNavigatorOptions0_value_buf__target, type: setNavigatorOptions0_value_buf__type} as { target: string, type?: NavigationType }) 9016 } 9017 node.setNavigatorOptions0_value = setNavigatorOptions0_value_buf 9018 } 9019 _NavigatorInterface_setNavigatorOptions1(ptr: KPointer): void { 9020 let node = this.ptr2object<NavigatorInterface>(ptr) 9021 } 9022 _NavigatorAttribute_active(ptr: KPointer, value: KInt): void { 9023 let node = this.ptr2object<NavigatorInterface>(ptr) 9024 node.active_value = value 9025 } 9026 _NavigatorAttribute_type(ptr: KPointer, value: KInt): void { 9027 let node = this.ptr2object<NavigatorInterface>(ptr) 9028 node.type_value = value 9029 } 9030 _NavigatorAttribute_target(ptr: KPointer, value: KStringPtr): void { 9031 let node = this.ptr2object<NavigatorInterface>(ptr) 9032 node.target_value = value 9033 } 9034 _NavigatorAttribute_params(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9035 let node = this.ptr2object<NavigatorInterface>(ptr) 9036 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9037 node.params_value = (thisDeserializer.readCustomObject("Object") as Object) 9038 } 9039 _NodeContainerInterface_setNodeContainerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9040 let node = this.ptr2object<NodeContainerInterface>(ptr) 9041 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9042 node.setNodeContainerOptions_controller = thisDeserializer.readNodeController() 9043 } 9044 _PanelInterface_setPanelOptions(ptr: KPointer, show: KInt): void { 9045 let node = this.ptr2object<PanelInterface>(ptr) 9046 node.setPanelOptions_show = show 9047 } 9048 _PanelAttribute_mode(ptr: KPointer, value: KInt): void { 9049 let node = this.ptr2object<PanelInterface>(ptr) 9050 node.mode_value = value 9051 } 9052 _PanelAttribute_type(ptr: KPointer, value: KInt): void { 9053 let node = this.ptr2object<PanelInterface>(ptr) 9054 node.type_value = value 9055 } 9056 _PanelAttribute_dragBar(ptr: KPointer, value: KInt): void { 9057 let node = this.ptr2object<PanelInterface>(ptr) 9058 node.dragBar_value = value 9059 } 9060 _PanelAttribute_customHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9061 let node = this.ptr2object<PanelInterface>(ptr) 9062 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9063 const customHeight_value_buf_selector: number = thisDeserializer.readInt8() 9064 let customHeight_value_buf: Dimension | PanelHeight | undefined|undefined 9065 if (customHeight_value_buf_selector == 0) { 9066 customHeight_value_buf = (thisDeserializer.readLength() as Dimension) 9067 } 9068 else if (customHeight_value_buf_selector == 1) { 9069 customHeight_value_buf = Object.values(PanelHeight)[thisDeserializer.readInt32()] 9070 } 9071 else { 9072 throw new Error("One of the branches for customHeight_value_buf has to be chosen through deserialisation.") 9073 } 9074 node.customHeight_value = (customHeight_value_buf as Dimension | PanelHeight) 9075 } 9076 _PanelAttribute_fullHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9077 let node = this.ptr2object<PanelInterface>(ptr) 9078 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9079 const fullHeight_value_buf_selector: number = thisDeserializer.readInt8() 9080 let fullHeight_value_buf: number | string | undefined|undefined 9081 if (fullHeight_value_buf_selector == 0) { 9082 fullHeight_value_buf = (thisDeserializer.readNumber() as number) 9083 } 9084 else if (fullHeight_value_buf_selector == 1) { 9085 fullHeight_value_buf = (thisDeserializer.readString() as string) 9086 } 9087 else { 9088 throw new Error("One of the branches for fullHeight_value_buf has to be chosen through deserialisation.") 9089 } 9090 node.fullHeight_value = (fullHeight_value_buf as number | string) 9091 } 9092 _PanelAttribute_halfHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9093 let node = this.ptr2object<PanelInterface>(ptr) 9094 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9095 const halfHeight_value_buf_selector: number = thisDeserializer.readInt8() 9096 let halfHeight_value_buf: number | string | undefined|undefined 9097 if (halfHeight_value_buf_selector == 0) { 9098 halfHeight_value_buf = (thisDeserializer.readNumber() as number) 9099 } 9100 else if (halfHeight_value_buf_selector == 1) { 9101 halfHeight_value_buf = (thisDeserializer.readString() as string) 9102 } 9103 else { 9104 throw new Error("One of the branches for halfHeight_value_buf has to be chosen through deserialisation.") 9105 } 9106 node.halfHeight_value = (halfHeight_value_buf as number | string) 9107 } 9108 _PanelAttribute_miniHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9109 let node = this.ptr2object<PanelInterface>(ptr) 9110 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9111 const miniHeight_value_buf_selector: number = thisDeserializer.readInt8() 9112 let miniHeight_value_buf: number | string | undefined|undefined 9113 if (miniHeight_value_buf_selector == 0) { 9114 miniHeight_value_buf = (thisDeserializer.readNumber() as number) 9115 } 9116 else if (miniHeight_value_buf_selector == 1) { 9117 miniHeight_value_buf = (thisDeserializer.readString() as string) 9118 } 9119 else { 9120 throw new Error("One of the branches for miniHeight_value_buf has to be chosen through deserialisation.") 9121 } 9122 node.miniHeight_value = (miniHeight_value_buf as number | string) 9123 } 9124 _PanelAttribute_show(ptr: KPointer, value: KInt): void { 9125 let node = this.ptr2object<PanelInterface>(ptr) 9126 node.show_value = value 9127 } 9128 _PanelAttribute_backgroundMask(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9129 let node = this.ptr2object<PanelInterface>(ptr) 9130 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9131 const backgroundMask_value_buf_selector: number = thisDeserializer.readInt8() 9132 let backgroundMask_value_buf: Color | number | string | Resource | undefined|undefined 9133 if (backgroundMask_value_buf_selector == 0) { 9134 backgroundMask_value_buf = (thisDeserializer.readInt32() as Color) 9135 } 9136 else if (backgroundMask_value_buf_selector == 1) { 9137 backgroundMask_value_buf = (thisDeserializer.readNumber() as number) 9138 } 9139 else if (backgroundMask_value_buf_selector == 2) { 9140 backgroundMask_value_buf = (thisDeserializer.readString() as string) 9141 } 9142 else if (backgroundMask_value_buf_selector == 3) { 9143 backgroundMask_value_buf = thisDeserializer.readResource() 9144 } 9145 else { 9146 throw new Error("One of the branches for backgroundMask_value_buf has to be chosen through deserialisation.") 9147 } 9148 node.backgroundMask_value = (backgroundMask_value_buf as Color | number | string | Resource) 9149 } 9150 _PanelAttribute_showCloseIcon(ptr: KPointer, value: KInt): void { 9151 let node = this.ptr2object<PanelInterface>(ptr) 9152 node.showCloseIcon_value = value 9153 } 9154 _PanelAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9155 let node = this.ptr2object<PanelInterface>(ptr) 9156 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9157 node.onChange_value = thisDeserializer.readCallback_Number_Number_PanelMode_Void() 9158 } 9159 _PanelAttribute_onHeightChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9160 let node = this.ptr2object<PanelInterface>(ptr) 9161 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9162 node.onHeightChange_value = thisDeserializer.readCallback_Number_Void() 9163 } 9164 _PasteButtonInterface_setPasteButtonOptions0(ptr: KPointer): void { 9165 let node = this.ptr2object<PasteButtonInterface>(ptr) 9166 } 9167 _PasteButtonInterface_setPasteButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9168 let node = this.ptr2object<PasteButtonInterface>(ptr) 9169 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9170 node.setPasteButtonOptions1_options = thisDeserializer.readPasteButtonOptions() 9171 } 9172 _PasteButtonAttribute_onClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9173 let node = this.ptr2object<PasteButtonInterface>(ptr) 9174 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9175 node.onClick_value = thisDeserializer.readCallback_ClickEvent_PasteButtonOnClickResult_Void() 9176 } 9177 _PathInterface_setPathOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9178 let node = this.ptr2object<PathInterface>(ptr) 9179 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9180 const setPathOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9181 let setPathOptions_options_buf: PathOptions | undefined|undefined 9182 if ((RuntimeType.UNDEFINED) != (setPathOptions_options_buf_runtimeType)) 9183 { 9184 setPathOptions_options_buf = thisDeserializer.readPathOptions() 9185 } 9186 node.setPathOptions_options = setPathOptions_options_buf 9187 } 9188 _PathAttribute_commands(ptr: KPointer, value: KStringPtr): void { 9189 let node = this.ptr2object<PathInterface>(ptr) 9190 node.commands_value = value 9191 } 9192 _PatternLockInterface_setPatternLockOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9193 let node = this.ptr2object<PatternLockInterface>(ptr) 9194 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9195 const setPatternLockOptions_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9196 let setPatternLockOptions_controller_buf: PatternLockController | undefined|undefined 9197 if ((RuntimeType.UNDEFINED) != (setPatternLockOptions_controller_buf_runtimeType)) 9198 { 9199 setPatternLockOptions_controller_buf = (thisDeserializer.readPatternLockController() as PatternLockController) 9200 } 9201 node.setPatternLockOptions_controller = setPatternLockOptions_controller_buf 9202 } 9203 _PatternLockAttribute_sideLength(ptr: KPointer, value: Length): void { 9204 let node = this.ptr2object<PatternLockInterface>(ptr) 9205 node.sideLength_value = value 9206 } 9207 _PatternLockAttribute_circleRadius(ptr: KPointer, value: Length): void { 9208 let node = this.ptr2object<PatternLockInterface>(ptr) 9209 node.circleRadius_value = value 9210 } 9211 _PatternLockAttribute_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9212 let node = this.ptr2object<PatternLockInterface>(ptr) 9213 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9214 const backgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 9215 let backgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 9216 if (backgroundColor_value_buf_selector == 0) { 9217 backgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 9218 } 9219 else if (backgroundColor_value_buf_selector == 1) { 9220 backgroundColor_value_buf = (thisDeserializer.readNumber() as number) 9221 } 9222 else if (backgroundColor_value_buf_selector == 2) { 9223 backgroundColor_value_buf = (thisDeserializer.readString() as string) 9224 } 9225 else if (backgroundColor_value_buf_selector == 3) { 9226 backgroundColor_value_buf = thisDeserializer.readResource() 9227 } 9228 else { 9229 throw new Error("One of the branches for backgroundColor_value_buf has to be chosen through deserialisation.") 9230 } 9231 node.backgroundColor_value = (backgroundColor_value_buf as Color | number | string | Resource) 9232 } 9233 _PatternLockAttribute_regularColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9234 let node = this.ptr2object<PatternLockInterface>(ptr) 9235 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9236 const regularColor_value_buf_selector: number = thisDeserializer.readInt8() 9237 let regularColor_value_buf: Color | number | string | Resource | undefined|undefined 9238 if (regularColor_value_buf_selector == 0) { 9239 regularColor_value_buf = (thisDeserializer.readInt32() as Color) 9240 } 9241 else if (regularColor_value_buf_selector == 1) { 9242 regularColor_value_buf = (thisDeserializer.readNumber() as number) 9243 } 9244 else if (regularColor_value_buf_selector == 2) { 9245 regularColor_value_buf = (thisDeserializer.readString() as string) 9246 } 9247 else if (regularColor_value_buf_selector == 3) { 9248 regularColor_value_buf = thisDeserializer.readResource() 9249 } 9250 else { 9251 throw new Error("One of the branches for regularColor_value_buf has to be chosen through deserialisation.") 9252 } 9253 node.regularColor_value = (regularColor_value_buf as Color | number | string | Resource) 9254 } 9255 _PatternLockAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9256 let node = this.ptr2object<PatternLockInterface>(ptr) 9257 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9258 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 9259 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 9260 if (selectedColor_value_buf_selector == 0) { 9261 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 9262 } 9263 else if (selectedColor_value_buf_selector == 1) { 9264 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 9265 } 9266 else if (selectedColor_value_buf_selector == 2) { 9267 selectedColor_value_buf = (thisDeserializer.readString() as string) 9268 } 9269 else if (selectedColor_value_buf_selector == 3) { 9270 selectedColor_value_buf = thisDeserializer.readResource() 9271 } 9272 else { 9273 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 9274 } 9275 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 9276 } 9277 _PatternLockAttribute_activeColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9278 let node = this.ptr2object<PatternLockInterface>(ptr) 9279 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9280 const activeColor_value_buf_selector: number = thisDeserializer.readInt8() 9281 let activeColor_value_buf: Color | number | string | Resource | undefined|undefined 9282 if (activeColor_value_buf_selector == 0) { 9283 activeColor_value_buf = (thisDeserializer.readInt32() as Color) 9284 } 9285 else if (activeColor_value_buf_selector == 1) { 9286 activeColor_value_buf = (thisDeserializer.readNumber() as number) 9287 } 9288 else if (activeColor_value_buf_selector == 2) { 9289 activeColor_value_buf = (thisDeserializer.readString() as string) 9290 } 9291 else if (activeColor_value_buf_selector == 3) { 9292 activeColor_value_buf = thisDeserializer.readResource() 9293 } 9294 else { 9295 throw new Error("One of the branches for activeColor_value_buf has to be chosen through deserialisation.") 9296 } 9297 node.activeColor_value = (activeColor_value_buf as Color | number | string | Resource) 9298 } 9299 _PatternLockAttribute_pathColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9300 let node = this.ptr2object<PatternLockInterface>(ptr) 9301 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9302 const pathColor_value_buf_selector: number = thisDeserializer.readInt8() 9303 let pathColor_value_buf: Color | number | string | Resource | undefined|undefined 9304 if (pathColor_value_buf_selector == 0) { 9305 pathColor_value_buf = (thisDeserializer.readInt32() as Color) 9306 } 9307 else if (pathColor_value_buf_selector == 1) { 9308 pathColor_value_buf = (thisDeserializer.readNumber() as number) 9309 } 9310 else if (pathColor_value_buf_selector == 2) { 9311 pathColor_value_buf = (thisDeserializer.readString() as string) 9312 } 9313 else if (pathColor_value_buf_selector == 3) { 9314 pathColor_value_buf = thisDeserializer.readResource() 9315 } 9316 else { 9317 throw new Error("One of the branches for pathColor_value_buf has to be chosen through deserialisation.") 9318 } 9319 node.pathColor_value = (pathColor_value_buf as Color | number | string | Resource) 9320 } 9321 _PatternLockAttribute_pathStrokeWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9322 let node = this.ptr2object<PatternLockInterface>(ptr) 9323 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9324 const pathStrokeWidth_value_buf_selector: number = thisDeserializer.readInt8() 9325 let pathStrokeWidth_value_buf: number | string | undefined|undefined 9326 if (pathStrokeWidth_value_buf_selector == 0) { 9327 pathStrokeWidth_value_buf = (thisDeserializer.readNumber() as number) 9328 } 9329 else if (pathStrokeWidth_value_buf_selector == 1) { 9330 pathStrokeWidth_value_buf = (thisDeserializer.readString() as string) 9331 } 9332 else { 9333 throw new Error("One of the branches for pathStrokeWidth_value_buf has to be chosen through deserialisation.") 9334 } 9335 node.pathStrokeWidth_value = (pathStrokeWidth_value_buf as number | string) 9336 } 9337 _PatternLockAttribute_onPatternComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9338 let node = this.ptr2object<PatternLockInterface>(ptr) 9339 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9340 node.onPatternComplete_value = thisDeserializer.readCallback_Array_Number_Void() 9341 } 9342 _PatternLockAttribute_autoReset(ptr: KPointer, value: KInt): void { 9343 let node = this.ptr2object<PatternLockInterface>(ptr) 9344 node.autoReset_value = value 9345 } 9346 _PatternLockAttribute_onDotConnect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9347 let node = this.ptr2object<PatternLockInterface>(ptr) 9348 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9349 node.onDotConnect_value = thisDeserializer.readCallback_Number_Void() 9350 } 9351 _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9352 let node = this.ptr2object<PatternLockInterface>(ptr) 9353 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9354 const activateCircleStyle_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9355 let activateCircleStyle_value_buf: CircleStyleOptions | undefined|undefined 9356 if ((RuntimeType.UNDEFINED) != (activateCircleStyle_value_buf_runtimeType)) 9357 { 9358 activateCircleStyle_value_buf = thisDeserializer.readCircleStyleOptions() 9359 } 9360 node.activateCircleStyle_value = activateCircleStyle_value_buf 9361 } 9362 _PluginComponentInterface_setPluginComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9363 let node = this.ptr2object<PluginComponentInterface>(ptr) 9364 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9365 node.setPluginComponentOptions_options = thisDeserializer.readPluginComponentOptions() 9366 } 9367 _PluginComponentAttribute_onComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9368 let node = this.ptr2object<PluginComponentInterface>(ptr) 9369 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9370 node.onComplete_value = thisDeserializer.readVoidCallback() 9371 } 9372 _PluginComponentAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9373 let node = this.ptr2object<PluginComponentInterface>(ptr) 9374 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9375 node.onError_value = thisDeserializer.readPluginErrorCallback() 9376 } 9377 _PolygonInterface_setPolygonOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9378 let node = this.ptr2object<PolygonInterface>(ptr) 9379 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9380 const setPolygonOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9381 let setPolygonOptions_options_buf: PolygonOptions | undefined|undefined 9382 if ((RuntimeType.UNDEFINED) != (setPolygonOptions_options_buf_runtimeType)) 9383 { 9384 setPolygonOptions_options_buf = thisDeserializer.readPolygonOptions() 9385 } 9386 node.setPolygonOptions_options = setPolygonOptions_options_buf 9387 } 9388 _PolygonAttribute_points(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9389 let node = this.ptr2object<PolygonInterface>(ptr) 9390 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9391 const points_value_buf_length: int32 = thisDeserializer.readInt32() 9392 let points_value_buf: Array<any> = new Array<any>() 9393 for (let points_value_buf_i = 0; points_value_buf_i < points_value_buf_length; points_value_buf_i++) { 9394 points_value_buf[points_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 9395 } 9396 node.points_value = points_value_buf 9397 } 9398 _PolylineInterface_setPolylineOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9399 let node = this.ptr2object<PolylineInterface>(ptr) 9400 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9401 const setPolylineOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9402 let setPolylineOptions_options_buf: PolylineOptions | undefined|undefined 9403 if ((RuntimeType.UNDEFINED) != (setPolylineOptions_options_buf_runtimeType)) 9404 { 9405 setPolylineOptions_options_buf = thisDeserializer.readPolylineOptions() 9406 } 9407 node.setPolylineOptions_options = setPolylineOptions_options_buf 9408 } 9409 _PolylineAttribute_points(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9410 let node = this.ptr2object<PolylineInterface>(ptr) 9411 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9412 const points_value_buf_length: int32 = thisDeserializer.readInt32() 9413 let points_value_buf: Array<any> = new Array<any>() 9414 for (let points_value_buf_i = 0; points_value_buf_i < points_value_buf_length; points_value_buf_i++) { 9415 points_value_buf[points_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 9416 } 9417 node.points_value = points_value_buf 9418 } 9419 _ProgressInterface_setProgressOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9420 let node = this.ptr2object<ProgressInterface>(ptr) 9421 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9422 node.setProgressOptions_options = thisDeserializer.readProgressOptions() 9423 } 9424 _ProgressAttribute_value(ptr: KPointer, value: number): void { 9425 let node = this.ptr2object<ProgressInterface>(ptr) 9426 node.value_value = value 9427 } 9428 _ProgressAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9429 let node = this.ptr2object<ProgressInterface>(ptr) 9430 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9431 const color_value_buf_selector: number = thisDeserializer.readInt8() 9432 let color_value_buf: ResourceColor | LinearGradient_common | undefined|undefined 9433 if (color_value_buf_selector == 0) { 9434 const color_value_buf_u_selector: number = thisDeserializer.readInt8() 9435 let color_value_buf_u: Color | number | string | Resource | undefined|undefined 9436 if (color_value_buf_u_selector == 0) { 9437 color_value_buf_u = (thisDeserializer.readInt32() as Color) 9438 } 9439 else if (color_value_buf_u_selector == 1) { 9440 color_value_buf_u = (thisDeserializer.readNumber() as number) 9441 } 9442 else if (color_value_buf_u_selector == 2) { 9443 color_value_buf_u = (thisDeserializer.readString() as string) 9444 } 9445 else if (color_value_buf_u_selector == 3) { 9446 color_value_buf_u = thisDeserializer.readResource() 9447 } 9448 else { 9449 throw new Error("One of the branches for color_value_buf_u has to be chosen through deserialisation.") 9450 } 9451 color_value_buf = (color_value_buf_u as Color | number | string | Resource) 9452 } 9453 else if (color_value_buf_selector == 1) { 9454 color_value_buf = thisDeserializer.readLinearGradient_common() 9455 } 9456 else { 9457 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 9458 } 9459 node.color_value = (color_value_buf as ResourceColor | LinearGradient_common) 9460 } 9461 _ProgressAttribute_style(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9462 let node = this.ptr2object<ProgressInterface>(ptr) 9463 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9464 const style_value_buf_selector: number = thisDeserializer.readInt8() 9465 let style_value_buf: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined|undefined 9466 if (style_value_buf_selector == 0) { 9467 style_value_buf = thisDeserializer.readLinearStyleOptions() 9468 } 9469 else if (style_value_buf_selector == 1) { 9470 style_value_buf = thisDeserializer.readRingStyleOptions() 9471 } 9472 else if (style_value_buf_selector == 2) { 9473 style_value_buf = thisDeserializer.readCapsuleStyleOptions() 9474 } 9475 else if (style_value_buf_selector == 3) { 9476 style_value_buf = thisDeserializer.readProgressStyleOptions() 9477 } 9478 else { 9479 throw new Error("One of the branches for style_value_buf has to be chosen through deserialisation.") 9480 } 9481 node.style_value = (style_value_buf as LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions) 9482 } 9483 _ProgressAttribute_privacySensitive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9484 let node = this.ptr2object<ProgressInterface>(ptr) 9485 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9486 const privacySensitive_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9487 let privacySensitive_value_buf: boolean | undefined|undefined 9488 if ((RuntimeType.UNDEFINED) != (privacySensitive_value_buf_runtimeType)) 9489 { 9490 privacySensitive_value_buf = thisDeserializer.readBoolean() 9491 } 9492 node.privacySensitive_value = privacySensitive_value_buf 9493 } 9494 _ProgressAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9495 let node = this.ptr2object<ProgressInterface>(ptr) 9496 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9497 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 9498 } 9499 _QRCodeInterface_setQRCodeOptions(ptr: KPointer, value: KStringPtr): void { 9500 let node = this.ptr2object<QRCodeInterface>(ptr) 9501 node.setQRCodeOptions_value = value 9502 } 9503 _QRCodeAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9504 let node = this.ptr2object<QRCodeInterface>(ptr) 9505 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9506 const color_value_buf_selector: number = thisDeserializer.readInt8() 9507 let color_value_buf: Color | number | string | Resource | undefined|undefined 9508 if (color_value_buf_selector == 0) { 9509 color_value_buf = (thisDeserializer.readInt32() as Color) 9510 } 9511 else if (color_value_buf_selector == 1) { 9512 color_value_buf = (thisDeserializer.readNumber() as number) 9513 } 9514 else if (color_value_buf_selector == 2) { 9515 color_value_buf = (thisDeserializer.readString() as string) 9516 } 9517 else if (color_value_buf_selector == 3) { 9518 color_value_buf = thisDeserializer.readResource() 9519 } 9520 else { 9521 throw new Error("One of the branches for color_value_buf has to be chosen through deserialisation.") 9522 } 9523 node.color_value = (color_value_buf as Color | number | string | Resource) 9524 } 9525 _QRCodeAttribute_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9526 let node = this.ptr2object<QRCodeInterface>(ptr) 9527 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9528 const backgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 9529 let backgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 9530 if (backgroundColor_value_buf_selector == 0) { 9531 backgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 9532 } 9533 else if (backgroundColor_value_buf_selector == 1) { 9534 backgroundColor_value_buf = (thisDeserializer.readNumber() as number) 9535 } 9536 else if (backgroundColor_value_buf_selector == 2) { 9537 backgroundColor_value_buf = (thisDeserializer.readString() as string) 9538 } 9539 else if (backgroundColor_value_buf_selector == 3) { 9540 backgroundColor_value_buf = thisDeserializer.readResource() 9541 } 9542 else { 9543 throw new Error("One of the branches for backgroundColor_value_buf has to be chosen through deserialisation.") 9544 } 9545 node.backgroundColor_value = (backgroundColor_value_buf as Color | number | string | Resource) 9546 } 9547 _QRCodeAttribute_contentOpacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9548 let node = this.ptr2object<QRCodeInterface>(ptr) 9549 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9550 const contentOpacity_value_buf_selector: number = thisDeserializer.readInt8() 9551 let contentOpacity_value_buf: number | Resource | undefined|undefined 9552 if (contentOpacity_value_buf_selector == 0) { 9553 contentOpacity_value_buf = (thisDeserializer.readNumber() as number) 9554 } 9555 else if (contentOpacity_value_buf_selector == 1) { 9556 contentOpacity_value_buf = thisDeserializer.readResource() 9557 } 9558 else { 9559 throw new Error("One of the branches for contentOpacity_value_buf has to be chosen through deserialisation.") 9560 } 9561 node.contentOpacity_value = (contentOpacity_value_buf as number | Resource) 9562 } 9563 _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9564 let node = this.ptr2object<RadioInterface>(ptr) 9565 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9566 node.setRadioOptions_options = thisDeserializer.readRadioOptions() 9567 } 9568 _RadioAttribute_checked(ptr: KPointer, value: KInt): void { 9569 let node = this.ptr2object<RadioInterface>(ptr) 9570 node.checked_value = value 9571 } 9572 _RadioAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9573 let node = this.ptr2object<RadioInterface>(ptr) 9574 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9575 node.onChange_value = thisDeserializer.readCallback_Boolean_Void() 9576 } 9577 _RadioAttribute_radioStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9578 let node = this.ptr2object<RadioInterface>(ptr) 9579 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9580 const radioStyle_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9581 let radioStyle_value_buf: RadioStyle | undefined|undefined 9582 if ((RuntimeType.UNDEFINED) != (radioStyle_value_buf_runtimeType)) 9583 { 9584 radioStyle_value_buf = thisDeserializer.readRadioStyle() 9585 } 9586 node.radioStyle_value = radioStyle_value_buf 9587 } 9588 _RadioAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9589 let node = this.ptr2object<RadioInterface>(ptr) 9590 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9591 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 9592 } 9593 _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9594 let node = this.ptr2object<RatingInterface>(ptr) 9595 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9596 const setRatingOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9597 let setRatingOptions_options_buf: RatingOptions | undefined|undefined 9598 if ((RuntimeType.UNDEFINED) != (setRatingOptions_options_buf_runtimeType)) 9599 { 9600 setRatingOptions_options_buf = thisDeserializer.readRatingOptions() 9601 } 9602 node.setRatingOptions_options = setRatingOptions_options_buf 9603 } 9604 _RatingAttribute_stars(ptr: KPointer, value: number): void { 9605 let node = this.ptr2object<RatingInterface>(ptr) 9606 node.stars_value = value 9607 } 9608 _RatingAttribute_stepSize(ptr: KPointer, value: number): void { 9609 let node = this.ptr2object<RatingInterface>(ptr) 9610 node.stepSize_value = value 9611 } 9612 _RatingAttribute_starStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9613 let node = this.ptr2object<RatingInterface>(ptr) 9614 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9615 node.starStyle_value = thisDeserializer.readStarStyleOptions() 9616 } 9617 _RatingAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9618 let node = this.ptr2object<RatingInterface>(ptr) 9619 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9620 node.onChange_value = thisDeserializer.readCallback_Number_Void() 9621 } 9622 _RatingAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9623 let node = this.ptr2object<RatingInterface>(ptr) 9624 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9625 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 9626 } 9627 _RectInterface_setRectOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9628 let node = this.ptr2object<RectInterface>(ptr) 9629 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9630 const setRectOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9631 let setRectOptions_options_buf: RectOptions | RoundedRectOptions | undefined|undefined 9632 if ((RuntimeType.UNDEFINED) != (setRectOptions_options_buf_runtimeType)) 9633 { 9634 const setRectOptions_options_buf__selector: number = thisDeserializer.readInt8() 9635 let setRectOptions_options_buf_: RectOptions | RoundedRectOptions | undefined|undefined 9636 if (setRectOptions_options_buf__selector == 0) { 9637 setRectOptions_options_buf_ = thisDeserializer.readRectOptions() 9638 } 9639 else if (setRectOptions_options_buf__selector == 1) { 9640 setRectOptions_options_buf_ = thisDeserializer.readRoundedRectOptions() 9641 } 9642 else { 9643 throw new Error("One of the branches for setRectOptions_options_buf_ has to be chosen through deserialisation.") 9644 } 9645 setRectOptions_options_buf = (setRectOptions_options_buf_ as RectOptions | RoundedRectOptions) 9646 } 9647 node.setRectOptions_options = setRectOptions_options_buf 9648 } 9649 _RectAttribute_radiusWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9650 let node = this.ptr2object<RectInterface>(ptr) 9651 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9652 const radiusWidth_value_buf_selector: number = thisDeserializer.readInt8() 9653 let radiusWidth_value_buf: number | string | undefined|undefined 9654 if (radiusWidth_value_buf_selector == 0) { 9655 radiusWidth_value_buf = (thisDeserializer.readNumber() as number) 9656 } 9657 else if (radiusWidth_value_buf_selector == 1) { 9658 radiusWidth_value_buf = (thisDeserializer.readString() as string) 9659 } 9660 else { 9661 throw new Error("One of the branches for radiusWidth_value_buf has to be chosen through deserialisation.") 9662 } 9663 node.radiusWidth_value = (radiusWidth_value_buf as number | string) 9664 } 9665 _RectAttribute_radiusHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9666 let node = this.ptr2object<RectInterface>(ptr) 9667 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9668 const radiusHeight_value_buf_selector: number = thisDeserializer.readInt8() 9669 let radiusHeight_value_buf: number | string | undefined|undefined 9670 if (radiusHeight_value_buf_selector == 0) { 9671 radiusHeight_value_buf = (thisDeserializer.readNumber() as number) 9672 } 9673 else if (radiusHeight_value_buf_selector == 1) { 9674 radiusHeight_value_buf = (thisDeserializer.readString() as string) 9675 } 9676 else { 9677 throw new Error("One of the branches for radiusHeight_value_buf has to be chosen through deserialisation.") 9678 } 9679 node.radiusHeight_value = (radiusHeight_value_buf as number | string) 9680 } 9681 _RectAttribute_radius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9682 let node = this.ptr2object<RectInterface>(ptr) 9683 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9684 const radius_value_buf_selector: number = thisDeserializer.readInt8() 9685 let radius_value_buf: number | string | Array<any> | undefined|undefined 9686 if (radius_value_buf_selector == 0) { 9687 radius_value_buf = (thisDeserializer.readNumber() as number) 9688 } 9689 else if (radius_value_buf_selector == 1) { 9690 radius_value_buf = (thisDeserializer.readString() as string) 9691 } 9692 else if (radius_value_buf_selector == 2) { 9693 const radius_value_buf_u_length: int32 = thisDeserializer.readInt32() 9694 let radius_value_buf_u: Array<any> = new Array<any>() 9695 for (let radius_value_buf_u_i = 0; radius_value_buf_u_i < radius_value_buf_u_length; radius_value_buf_u_i++) { 9696 radius_value_buf_u[radius_value_buf_u_i] = (thisDeserializer.readCustomObject("Any") as Object) 9697 } 9698 radius_value_buf = radius_value_buf_u 9699 } 9700 else { 9701 throw new Error("One of the branches for radius_value_buf has to be chosen through deserialisation.") 9702 } 9703 node.radius_value = (radius_value_buf as number | string | Array<any>) 9704 } 9705 _RefreshInterface_setRefreshOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9706 let node = this.ptr2object<RefreshInterface>(ptr) 9707 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9708 node.setRefreshOptions_value = thisDeserializer.readRefreshOptions() 9709 } 9710 _RefreshAttribute_onStateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9711 let node = this.ptr2object<RefreshInterface>(ptr) 9712 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9713 node.onStateChange_value = thisDeserializer.readCallback_RefreshStatus_Void() 9714 } 9715 _RefreshAttribute_onRefreshing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9716 let node = this.ptr2object<RefreshInterface>(ptr) 9717 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9718 node.onRefreshing_value = thisDeserializer.readCallback_Void() 9719 } 9720 _RefreshAttribute_refreshOffset(ptr: KPointer, value: number): void { 9721 let node = this.ptr2object<RefreshInterface>(ptr) 9722 node.refreshOffset_value = value 9723 } 9724 _RefreshAttribute_pullToRefresh(ptr: KPointer, value: KInt): void { 9725 let node = this.ptr2object<RefreshInterface>(ptr) 9726 node.pullToRefresh_value = value 9727 } 9728 _RefreshAttribute_onOffsetChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9729 let node = this.ptr2object<RefreshInterface>(ptr) 9730 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9731 node.onOffsetChange_value = thisDeserializer.readCallback_Number_Void() 9732 } 9733 _RefreshAttribute_pullDownRatio(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9734 let node = this.ptr2object<RefreshInterface>(ptr) 9735 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9736 const pullDownRatio_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9737 let pullDownRatio_value_buf: number | undefined|undefined 9738 if ((RuntimeType.UNDEFINED) != (pullDownRatio_value_buf_runtimeType)) 9739 { 9740 pullDownRatio_value_buf = (thisDeserializer.readNumber() as number) 9741 } 9742 node.pullDownRatio_value = pullDownRatio_value_buf 9743 } 9744 _RelativeContainerInterface_setRelativeContainerOptions(ptr: KPointer): void { 9745 let node = this.ptr2object<RelativeContainerInterface>(ptr) 9746 } 9747 _RelativeContainerAttribute_guideLine(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9748 let node = this.ptr2object<RelativeContainerInterface>(ptr) 9749 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9750 const guideLine_value_buf_length: int32 = thisDeserializer.readInt32() 9751 let guideLine_value_buf: Array<GuideLineStyle> = new Array<GuideLineStyle>() 9752 for (let guideLine_value_buf_i = 0; guideLine_value_buf_i < guideLine_value_buf_length; guideLine_value_buf_i++) { 9753 guideLine_value_buf[guideLine_value_buf_i] = thisDeserializer.readGuideLineStyle() 9754 } 9755 node.guideLine_value = guideLine_value_buf 9756 } 9757 _RelativeContainerAttribute_barrier0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9758 let node = this.ptr2object<RelativeContainerInterface>(ptr) 9759 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9760 const barrier0_value_buf_length: int32 = thisDeserializer.readInt32() 9761 let barrier0_value_buf: Array<BarrierStyle> = new Array<BarrierStyle>() 9762 for (let barrier0_value_buf_i = 0; barrier0_value_buf_i < barrier0_value_buf_length; barrier0_value_buf_i++) { 9763 barrier0_value_buf[barrier0_value_buf_i] = thisDeserializer.readBarrierStyle() 9764 } 9765 node.barrier0_value = barrier0_value_buf 9766 } 9767 _RelativeContainerAttribute_barrier1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9768 let node = this.ptr2object<RelativeContainerInterface>(ptr) 9769 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9770 const barrier1_value_buf_length: int32 = thisDeserializer.readInt32() 9771 let barrier1_value_buf: Array<LocalizedBarrierStyle> = new Array<LocalizedBarrierStyle>() 9772 for (let barrier1_value_buf_i = 0; barrier1_value_buf_i < barrier1_value_buf_length; barrier1_value_buf_i++) { 9773 barrier1_value_buf[barrier1_value_buf_i] = thisDeserializer.readLocalizedBarrierStyle() 9774 } 9775 node.barrier1_value = barrier1_value_buf 9776 } 9777 _RichEditorInterface_setRichEditorOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9778 let node = this.ptr2object<RichEditorInterface>(ptr) 9779 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9780 node.setRichEditorOptions0_value = thisDeserializer.readRichEditorOptions() 9781 } 9782 _RichEditorInterface_setRichEditorOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9783 let node = this.ptr2object<RichEditorInterface>(ptr) 9784 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9785 node.setRichEditorOptions1_options = thisDeserializer.readRichEditorStyledStringOptions() 9786 } 9787 _RichEditorAttribute_onReady(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9788 let node = this.ptr2object<RichEditorInterface>(ptr) 9789 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9790 node.onReady_value = thisDeserializer.readCallback_Void() 9791 } 9792 _RichEditorAttribute_onSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9793 let node = this.ptr2object<RichEditorInterface>(ptr) 9794 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9795 node.onSelect_value = thisDeserializer.readCallback_RichEditorSelection_Void() 9796 } 9797 _RichEditorAttribute_onSelectionChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9798 let node = this.ptr2object<RichEditorInterface>(ptr) 9799 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9800 node.onSelectionChange_value = thisDeserializer.readCallback_RichEditorRange_Void() 9801 } 9802 _RichEditorAttribute_aboutToIMEInput(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9803 let node = this.ptr2object<RichEditorInterface>(ptr) 9804 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9805 node.aboutToIMEInput_value = thisDeserializer.readCallback_RichEditorInsertValue_Boolean() 9806 } 9807 _RichEditorAttribute_onIMEInputComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9808 let node = this.ptr2object<RichEditorInterface>(ptr) 9809 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9810 node.onIMEInputComplete_value = thisDeserializer.readCallback_RichEditorTextSpanResult_Void() 9811 } 9812 _RichEditorAttribute_onDidIMEInput(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9813 let node = this.ptr2object<RichEditorInterface>(ptr) 9814 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9815 node.onDidIMEInput_value = thisDeserializer.readCallback_TextRange_Void() 9816 } 9817 _RichEditorAttribute_aboutToDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9818 let node = this.ptr2object<RichEditorInterface>(ptr) 9819 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9820 node.aboutToDelete_value = thisDeserializer.readCallback_RichEditorDeleteValue_Boolean() 9821 } 9822 _RichEditorAttribute_onDeleteComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9823 let node = this.ptr2object<RichEditorInterface>(ptr) 9824 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9825 node.onDeleteComplete_value = thisDeserializer.readCallback_Void() 9826 } 9827 _RichEditorAttribute_copyOptions(ptr: KPointer, value: KInt): void { 9828 let node = this.ptr2object<RichEditorInterface>(ptr) 9829 node.copyOptions_value = value 9830 } 9831 _RichEditorAttribute_onPaste(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9832 let node = this.ptr2object<RichEditorInterface>(ptr) 9833 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9834 node.onPaste_value = thisDeserializer.readPasteEventCallback() 9835 } 9836 _RichEditorAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { 9837 let node = this.ptr2object<RichEditorInterface>(ptr) 9838 node.enableDataDetector_value = value 9839 } 9840 _RichEditorAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { 9841 let node = this.ptr2object<RichEditorInterface>(ptr) 9842 node.enablePreviewText_value = value 9843 } 9844 _RichEditorAttribute_dataDetectorConfig(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9845 let node = this.ptr2object<RichEditorInterface>(ptr) 9846 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9847 node.dataDetectorConfig_value = thisDeserializer.readTextDataDetectorConfig() 9848 } 9849 _RichEditorAttribute_caretColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9850 let node = this.ptr2object<RichEditorInterface>(ptr) 9851 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9852 const caretColor_value_buf_selector: number = thisDeserializer.readInt8() 9853 let caretColor_value_buf: Color | number | string | Resource | undefined|undefined 9854 if (caretColor_value_buf_selector == 0) { 9855 caretColor_value_buf = (thisDeserializer.readInt32() as Color) 9856 } 9857 else if (caretColor_value_buf_selector == 1) { 9858 caretColor_value_buf = (thisDeserializer.readNumber() as number) 9859 } 9860 else if (caretColor_value_buf_selector == 2) { 9861 caretColor_value_buf = (thisDeserializer.readString() as string) 9862 } 9863 else if (caretColor_value_buf_selector == 3) { 9864 caretColor_value_buf = thisDeserializer.readResource() 9865 } 9866 else { 9867 throw new Error("One of the branches for caretColor_value_buf has to be chosen through deserialisation.") 9868 } 9869 node.caretColor_value = (caretColor_value_buf as Color | number | string | Resource) 9870 } 9871 _RichEditorAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9872 let node = this.ptr2object<RichEditorInterface>(ptr) 9873 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9874 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 9875 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 9876 if (selectedBackgroundColor_value_buf_selector == 0) { 9877 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 9878 } 9879 else if (selectedBackgroundColor_value_buf_selector == 1) { 9880 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 9881 } 9882 else if (selectedBackgroundColor_value_buf_selector == 2) { 9883 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 9884 } 9885 else if (selectedBackgroundColor_value_buf_selector == 3) { 9886 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 9887 } 9888 else { 9889 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 9890 } 9891 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 9892 } 9893 _RichEditorAttribute_onEditingChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9894 let node = this.ptr2object<RichEditorInterface>(ptr) 9895 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9896 node.onEditingChange_value = thisDeserializer.readCallback_Boolean_Void() 9897 } 9898 _RichEditorAttribute_enterKeyType(ptr: KPointer, value: KInt): void { 9899 let node = this.ptr2object<RichEditorInterface>(ptr) 9900 node.enterKeyType_value = value 9901 } 9902 _RichEditorAttribute_onSubmit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9903 let node = this.ptr2object<RichEditorInterface>(ptr) 9904 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9905 node.onSubmit_value = thisDeserializer.readSubmitCallback() 9906 } 9907 _RichEditorAttribute_onWillChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9908 let node = this.ptr2object<RichEditorInterface>(ptr) 9909 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9910 node.onWillChange_value = thisDeserializer.readCallback_RichEditorChangeValue_Boolean() 9911 } 9912 _RichEditorAttribute_onDidChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9913 let node = this.ptr2object<RichEditorInterface>(ptr) 9914 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9915 node.onDidChange_value = thisDeserializer.readOnDidChangeCallback() 9916 } 9917 _RichEditorAttribute_onCut(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9918 let node = this.ptr2object<RichEditorInterface>(ptr) 9919 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9920 node.onCut_value = thisDeserializer.readCallback_CutEvent_Void() 9921 } 9922 _RichEditorAttribute_onCopy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9923 let node = this.ptr2object<RichEditorInterface>(ptr) 9924 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9925 node.onCopy_value = thisDeserializer.readCallback_CopyEvent_Void() 9926 } 9927 _RichEditorAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9928 let node = this.ptr2object<RichEditorInterface>(ptr) 9929 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9930 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 9931 } 9932 _RichEditorAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { 9933 let node = this.ptr2object<RichEditorInterface>(ptr) 9934 node.enableKeyboardOnFocus_value = value 9935 } 9936 _RichEditorAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 9937 let node = this.ptr2object<RichEditorInterface>(ptr) 9938 node.enableHapticFeedback_value = value 9939 } 9940 _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void { 9941 let node = this.ptr2object<RichEditorInterface>(ptr) 9942 node.barState_value = value 9943 } 9944 _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: Uint8Array, thisLength: int32): void { 9945 let node = this.ptr2object<RichEditorInterface>(ptr) 9946 node.bindSelectionMenu_spanType = spanType 9947 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9948 node.bindSelectionMenu_content = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 9949 const bindSelectionMenu_responseType_buf_selector: number = thisDeserializer.readInt8() 9950 let bindSelectionMenu_responseType_buf: ResponseType | RichEditorResponseType | undefined|undefined 9951 if (bindSelectionMenu_responseType_buf_selector == 0) { 9952 bindSelectionMenu_responseType_buf = (thisDeserializer.readInt32() as ResponseType) 9953 } 9954 else if (bindSelectionMenu_responseType_buf_selector == 1) { 9955 bindSelectionMenu_responseType_buf = (thisDeserializer.readInt32() as RichEditorResponseType) 9956 } 9957 else { 9958 throw new Error("One of the branches for bindSelectionMenu_responseType_buf has to be chosen through deserialisation.") 9959 } 9960 node.bindSelectionMenu_responseType = (bindSelectionMenu_responseType_buf as ResponseType | RichEditorResponseType) 9961 const bindSelectionMenu_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9962 let bindSelectionMenu_options_buf: SelectionMenuOptions | undefined|undefined 9963 if ((RuntimeType.UNDEFINED) != (bindSelectionMenu_options_buf_runtimeType)) 9964 { 9965 bindSelectionMenu_options_buf = thisDeserializer.readSelectionMenuOptions() 9966 } 9967 node.bindSelectionMenu_options = bindSelectionMenu_options_buf 9968 } 9969 _RichEditorAttribute_customKeyboard(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9970 let node = this.ptr2object<RichEditorInterface>(ptr) 9971 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9972 node.customKeyboard_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 9973 const customKeyboard_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9974 let customKeyboard_options_buf: KeyboardOptions | undefined|undefined 9975 if ((RuntimeType.UNDEFINED) != (customKeyboard_options_buf_runtimeType)) 9976 { 9977 customKeyboard_options_buf = thisDeserializer.readKeyboardOptions() 9978 } 9979 node.customKeyboard_options = customKeyboard_options_buf 9980 } 9981 _RichEditorAttribute_placeholder(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 9982 let node = this.ptr2object<RichEditorInterface>(ptr) 9983 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 9984 const placeholder_value_buf_selector: number = thisDeserializer.readInt8() 9985 let placeholder_value_buf: string | Resource | undefined|undefined 9986 if (placeholder_value_buf_selector == 0) { 9987 placeholder_value_buf = (thisDeserializer.readString() as string) 9988 } 9989 else if (placeholder_value_buf_selector == 1) { 9990 placeholder_value_buf = thisDeserializer.readResource() 9991 } 9992 else { 9993 throw new Error("One of the branches for placeholder_value_buf has to be chosen through deserialisation.") 9994 } 9995 node.placeholder_value = (placeholder_value_buf as string | Resource) 9996 const placeholder_style_buf_runtimeType = (thisDeserializer.readInt8() as int32) 9997 let placeholder_style_buf: PlaceholderStyle | undefined|undefined 9998 if ((RuntimeType.UNDEFINED) != (placeholder_style_buf_runtimeType)) 9999 { 10000 placeholder_style_buf = thisDeserializer.readPlaceholderStyle() 10001 } 10002 node.placeholder_style = placeholder_style_buf 10003 } 10004 _RichTextInterface_setRichTextOptions(ptr: KPointer, content: KStringPtr): void { 10005 let node = this.ptr2object<RichTextInterface>(ptr) 10006 node.setRichTextOptions_content = content 10007 } 10008 _RichTextAttribute_onStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10009 let node = this.ptr2object<RichTextInterface>(ptr) 10010 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10011 node.onStart_value = thisDeserializer.readCallback_Void() 10012 } 10013 _RichTextAttribute_onComplete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10014 let node = this.ptr2object<RichTextInterface>(ptr) 10015 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10016 node.onComplete_value = thisDeserializer.readCallback_Void() 10017 } 10018 _RootSceneInterface_setRootSceneOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10019 let node = this.ptr2object<RootSceneInterface>(ptr) 10020 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10021 node.setRootSceneOptions_session = thisDeserializer.readRootSceneSession() 10022 } 10023 _RowInterface_setRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10024 let node = this.ptr2object<RowInterface>(ptr) 10025 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10026 const setRowOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10027 let setRowOptions_options_buf: RowOptions | undefined|undefined 10028 if ((RuntimeType.UNDEFINED) != (setRowOptions_options_buf_runtimeType)) 10029 { 10030 setRowOptions_options_buf = thisDeserializer.readRowOptions() 10031 } 10032 node.setRowOptions_options = setRowOptions_options_buf 10033 } 10034 _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { 10035 let node = this.ptr2object<RowInterface>(ptr) 10036 node.alignItems_value = value 10037 } 10038 _RowAttribute_justifyContent(ptr: KPointer, value: KInt): void { 10039 let node = this.ptr2object<RowInterface>(ptr) 10040 node.justifyContent_value = value 10041 } 10042 _RowAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10043 let node = this.ptr2object<RowInterface>(ptr) 10044 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10045 node.pointLight_value = thisDeserializer.readPointLightStyle() 10046 } 10047 _RowAttribute_reverse(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10048 let node = this.ptr2object<RowInterface>(ptr) 10049 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10050 const reverse_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10051 let reverse_value_buf: boolean | undefined|undefined 10052 if ((RuntimeType.UNDEFINED) != (reverse_value_buf_runtimeType)) 10053 { 10054 reverse_value_buf = thisDeserializer.readBoolean() 10055 } 10056 node.reverse_value = reverse_value_buf 10057 } 10058 _RowSplitInterface_setRowSplitOptions(ptr: KPointer): void { 10059 let node = this.ptr2object<RowSplitInterface>(ptr) 10060 } 10061 _RowSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { 10062 let node = this.ptr2object<RowSplitInterface>(ptr) 10063 node.resizeable_value = value 10064 } 10065 _SaveButtonInterface_setSaveButtonOptions0(ptr: KPointer): void { 10066 let node = this.ptr2object<SaveButtonInterface>(ptr) 10067 } 10068 _SaveButtonInterface_setSaveButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10069 let node = this.ptr2object<SaveButtonInterface>(ptr) 10070 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10071 node.setSaveButtonOptions1_options = thisDeserializer.readSaveButtonOptions() 10072 } 10073 _SaveButtonAttribute_onClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10074 let node = this.ptr2object<SaveButtonInterface>(ptr) 10075 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10076 node.onClick_value = thisDeserializer.readCallback_ClickEvent_SaveButtonOnClickResult_Void() 10077 } 10078 _ScreenInterface_setScreenOptions(ptr: KPointer, screenId: number): void { 10079 let node = this.ptr2object<ScreenInterface>(ptr) 10080 node.setScreenOptions_screenId = screenId 10081 } 10082 _ScrollInterface_setScrollOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10083 let node = this.ptr2object<ScrollInterface>(ptr) 10084 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10085 const setScrollOptions_scroller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10086 let setScrollOptions_scroller_buf: Scroller | undefined|undefined 10087 if ((RuntimeType.UNDEFINED) != (setScrollOptions_scroller_buf_runtimeType)) 10088 { 10089 setScrollOptions_scroller_buf = (thisDeserializer.readScroller() as Scroller) 10090 } 10091 node.setScrollOptions_scroller = setScrollOptions_scroller_buf 10092 } 10093 _ScrollAttribute_scrollable(ptr: KPointer, value: KInt): void { 10094 let node = this.ptr2object<ScrollInterface>(ptr) 10095 node.scrollable_value = value 10096 } 10097 _ScrollAttribute_onScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10098 let node = this.ptr2object<ScrollInterface>(ptr) 10099 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10100 node.onScroll_value = thisDeserializer.readCallback_Number_ScrollState_Void() 10101 } 10102 _ScrollAttribute_onWillScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10103 let node = this.ptr2object<ScrollInterface>(ptr) 10104 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10105 const onWillScroll_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10106 let onWillScroll_value_buf: ScrollOnWillScrollCallback | undefined|undefined 10107 if ((RuntimeType.UNDEFINED) != (onWillScroll_value_buf_runtimeType)) 10108 { 10109 onWillScroll_value_buf = thisDeserializer.readScrollOnWillScrollCallback() 10110 } 10111 node.onWillScroll_value = onWillScroll_value_buf 10112 } 10113 _ScrollAttribute_onDidScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10114 let node = this.ptr2object<ScrollInterface>(ptr) 10115 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10116 const onDidScroll_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10117 let onDidScroll_value_buf: ScrollOnWillScrollCallback | undefined|undefined 10118 if ((RuntimeType.UNDEFINED) != (onDidScroll_value_buf_runtimeType)) 10119 { 10120 onDidScroll_value_buf = thisDeserializer.readScrollOnWillScrollCallback() 10121 } 10122 node.onDidScroll_value = onDidScroll_value_buf 10123 } 10124 _ScrollAttribute_onScrollEdge(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10125 let node = this.ptr2object<ScrollInterface>(ptr) 10126 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10127 node.onScrollEdge_value = thisDeserializer.readOnScrollEdgeCallback() 10128 } 10129 _ScrollAttribute_onScrollStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10130 let node = this.ptr2object<ScrollInterface>(ptr) 10131 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10132 node.onScrollStart_value = thisDeserializer.readCallback_Void() 10133 } 10134 _ScrollAttribute_onScrollEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10135 let node = this.ptr2object<ScrollInterface>(ptr) 10136 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10137 node.onScrollEnd_value = thisDeserializer.readCallback_Void() 10138 } 10139 _ScrollAttribute_onScrollStop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10140 let node = this.ptr2object<ScrollInterface>(ptr) 10141 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10142 node.onScrollStop_value = thisDeserializer.readCallback_Void() 10143 } 10144 _ScrollAttribute_scrollBar(ptr: KPointer, value: KInt): void { 10145 let node = this.ptr2object<ScrollInterface>(ptr) 10146 node.scrollBar_value = value 10147 } 10148 _ScrollAttribute_scrollBarColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10149 let node = this.ptr2object<ScrollInterface>(ptr) 10150 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10151 const scrollBarColor_value_buf_selector: number = thisDeserializer.readInt8() 10152 let scrollBarColor_value_buf: Color | number | string | undefined|undefined 10153 if (scrollBarColor_value_buf_selector == 0) { 10154 scrollBarColor_value_buf = (thisDeserializer.readInt32() as Color) 10155 } 10156 else if (scrollBarColor_value_buf_selector == 1) { 10157 scrollBarColor_value_buf = (thisDeserializer.readNumber() as number) 10158 } 10159 else if (scrollBarColor_value_buf_selector == 2) { 10160 scrollBarColor_value_buf = (thisDeserializer.readString() as string) 10161 } 10162 else { 10163 throw new Error("One of the branches for scrollBarColor_value_buf has to be chosen through deserialisation.") 10164 } 10165 node.scrollBarColor_value = (scrollBarColor_value_buf as Color | number | string) 10166 } 10167 _ScrollAttribute_scrollBarWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10168 let node = this.ptr2object<ScrollInterface>(ptr) 10169 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10170 const scrollBarWidth_value_buf_selector: number = thisDeserializer.readInt8() 10171 let scrollBarWidth_value_buf: number | string | undefined|undefined 10172 if (scrollBarWidth_value_buf_selector == 0) { 10173 scrollBarWidth_value_buf = (thisDeserializer.readNumber() as number) 10174 } 10175 else if (scrollBarWidth_value_buf_selector == 1) { 10176 scrollBarWidth_value_buf = (thisDeserializer.readString() as string) 10177 } 10178 else { 10179 throw new Error("One of the branches for scrollBarWidth_value_buf has to be chosen through deserialisation.") 10180 } 10181 node.scrollBarWidth_value = (scrollBarWidth_value_buf as number | string) 10182 } 10183 _ScrollAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10184 let node = this.ptr2object<ScrollInterface>(ptr) 10185 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10186 node.onScrollFrameBegin_value = thisDeserializer.readOnScrollFrameBeginCallback() 10187 } 10188 _ScrollAttribute_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10189 let node = this.ptr2object<ScrollInterface>(ptr) 10190 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10191 node.nestedScroll_value = thisDeserializer.readNestedScrollOptions() 10192 } 10193 _ScrollAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { 10194 let node = this.ptr2object<ScrollInterface>(ptr) 10195 node.enableScrollInteraction_value = value 10196 } 10197 _ScrollAttribute_friction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10198 let node = this.ptr2object<ScrollInterface>(ptr) 10199 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10200 const friction_value_buf_selector: number = thisDeserializer.readInt8() 10201 let friction_value_buf: number | Resource | undefined|undefined 10202 if (friction_value_buf_selector == 0) { 10203 friction_value_buf = (thisDeserializer.readNumber() as number) 10204 } 10205 else if (friction_value_buf_selector == 1) { 10206 friction_value_buf = thisDeserializer.readResource() 10207 } 10208 else { 10209 throw new Error("One of the branches for friction_value_buf has to be chosen through deserialisation.") 10210 } 10211 node.friction_value = (friction_value_buf as number | Resource) 10212 } 10213 _ScrollAttribute_scrollSnap(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10214 let node = this.ptr2object<ScrollInterface>(ptr) 10215 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10216 node.scrollSnap_value = thisDeserializer.readScrollSnapOptions() 10217 } 10218 _ScrollAttribute_enablePaging(ptr: KPointer, value: KInt): void { 10219 let node = this.ptr2object<ScrollInterface>(ptr) 10220 node.enablePaging_value = value 10221 } 10222 _ScrollAttribute_initialOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10223 let node = this.ptr2object<ScrollInterface>(ptr) 10224 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10225 node.initialOffset_value = thisDeserializer.readOffsetOptions() 10226 } 10227 _ScrollAttribute_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: Uint8Array, thisLength: int32): void { 10228 let node = this.ptr2object<ScrollInterface>(ptr) 10229 node.edgeEffect_edgeEffect = edgeEffect 10230 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10231 const edgeEffect_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10232 let edgeEffect_options_buf: EdgeEffectOptions | undefined|undefined 10233 if ((RuntimeType.UNDEFINED) != (edgeEffect_options_buf_runtimeType)) 10234 { 10235 edgeEffect_options_buf = thisDeserializer.readEdgeEffectOptions() 10236 } 10237 node.edgeEffect_options = edgeEffect_options_buf 10238 } 10239 _ScrollBarInterface_setScrollBarOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10240 let node = this.ptr2object<ScrollBarInterface>(ptr) 10241 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10242 node.setScrollBarOptions_value = thisDeserializer.readScrollBarOptions() 10243 } 10244 _ScrollBarAttribute_enableNestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10245 let node = this.ptr2object<ScrollBarInterface>(ptr) 10246 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10247 const enableNestedScroll_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10248 let enableNestedScroll_value_buf: boolean | undefined|undefined 10249 if ((RuntimeType.UNDEFINED) != (enableNestedScroll_value_buf_runtimeType)) 10250 { 10251 enableNestedScroll_value_buf = thisDeserializer.readBoolean() 10252 } 10253 node.enableNestedScroll_value = enableNestedScroll_value_buf 10254 } 10255 _SearchInterface_setSearchOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10256 let node = this.ptr2object<SearchInterface>(ptr) 10257 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10258 const setSearchOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10259 let setSearchOptions_options_buf: SearchOptions | undefined|undefined 10260 if ((RuntimeType.UNDEFINED) != (setSearchOptions_options_buf_runtimeType)) 10261 { 10262 setSearchOptions_options_buf = thisDeserializer.readSearchOptions() 10263 } 10264 node.setSearchOptions_options = setSearchOptions_options_buf 10265 } 10266 _SearchAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10267 let node = this.ptr2object<SearchInterface>(ptr) 10268 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10269 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 10270 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 10271 if (fontColor_value_buf_selector == 0) { 10272 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 10273 } 10274 else if (fontColor_value_buf_selector == 1) { 10275 fontColor_value_buf = (thisDeserializer.readNumber() as number) 10276 } 10277 else if (fontColor_value_buf_selector == 2) { 10278 fontColor_value_buf = (thisDeserializer.readString() as string) 10279 } 10280 else if (fontColor_value_buf_selector == 3) { 10281 fontColor_value_buf = thisDeserializer.readResource() 10282 } 10283 else { 10284 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 10285 } 10286 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 10287 } 10288 _SearchAttribute_searchIcon(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10289 let node = this.ptr2object<SearchInterface>(ptr) 10290 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10291 const searchIcon_value_buf_selector: number = thisDeserializer.readInt8() 10292 let searchIcon_value_buf: IconOptions | SymbolGlyphModifier | undefined|undefined 10293 if (searchIcon_value_buf_selector == 0) { 10294 searchIcon_value_buf = thisDeserializer.readIconOptions() 10295 } 10296 else if (searchIcon_value_buf_selector == 1) { 10297 searchIcon_value_buf = thisDeserializer.readSymbolGlyphModifier() 10298 } 10299 else { 10300 throw new Error("One of the branches for searchIcon_value_buf has to be chosen through deserialisation.") 10301 } 10302 node.searchIcon_value = (searchIcon_value_buf as IconOptions | SymbolGlyphModifier) 10303 } 10304 _SearchAttribute_cancelButton(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10305 let node = this.ptr2object<SearchInterface>(ptr) 10306 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10307 const cancelButton_value_buf_selector: number = thisDeserializer.readInt8() 10308 let cancelButton_value_buf: CancelButtonOptions | CancelButtonSymbolOptions | undefined|undefined 10309 if (cancelButton_value_buf_selector == 0) { 10310 cancelButton_value_buf = thisDeserializer.readCancelButtonOptions() 10311 } 10312 else if (cancelButton_value_buf_selector == 1) { 10313 cancelButton_value_buf = thisDeserializer.readCancelButtonSymbolOptions() 10314 } 10315 else { 10316 throw new Error("One of the branches for cancelButton_value_buf has to be chosen through deserialisation.") 10317 } 10318 node.cancelButton_value = (cancelButton_value_buf as CancelButtonOptions | CancelButtonSymbolOptions) 10319 } 10320 _SearchAttribute_textIndent(ptr: KPointer, value: Length): void { 10321 let node = this.ptr2object<SearchInterface>(ptr) 10322 node.textIndent_value = value 10323 } 10324 _SearchAttribute_onEditChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10325 let node = this.ptr2object<SearchInterface>(ptr) 10326 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10327 node.onEditChange_value = thisDeserializer.readCallback_Boolean_Void() 10328 } 10329 _SearchAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10330 let node = this.ptr2object<SearchInterface>(ptr) 10331 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10332 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 10333 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 10334 if (selectedBackgroundColor_value_buf_selector == 0) { 10335 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 10336 } 10337 else if (selectedBackgroundColor_value_buf_selector == 1) { 10338 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 10339 } 10340 else if (selectedBackgroundColor_value_buf_selector == 2) { 10341 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 10342 } 10343 else if (selectedBackgroundColor_value_buf_selector == 3) { 10344 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 10345 } 10346 else { 10347 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 10348 } 10349 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 10350 } 10351 _SearchAttribute_caretStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10352 let node = this.ptr2object<SearchInterface>(ptr) 10353 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10354 node.caretStyle_value = thisDeserializer.readCaretStyle() 10355 } 10356 _SearchAttribute_placeholderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10357 let node = this.ptr2object<SearchInterface>(ptr) 10358 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10359 const placeholderColor_value_buf_selector: number = thisDeserializer.readInt8() 10360 let placeholderColor_value_buf: Color | number | string | Resource | undefined|undefined 10361 if (placeholderColor_value_buf_selector == 0) { 10362 placeholderColor_value_buf = (thisDeserializer.readInt32() as Color) 10363 } 10364 else if (placeholderColor_value_buf_selector == 1) { 10365 placeholderColor_value_buf = (thisDeserializer.readNumber() as number) 10366 } 10367 else if (placeholderColor_value_buf_selector == 2) { 10368 placeholderColor_value_buf = (thisDeserializer.readString() as string) 10369 } 10370 else if (placeholderColor_value_buf_selector == 3) { 10371 placeholderColor_value_buf = thisDeserializer.readResource() 10372 } 10373 else { 10374 throw new Error("One of the branches for placeholderColor_value_buf has to be chosen through deserialisation.") 10375 } 10376 node.placeholderColor_value = (placeholderColor_value_buf as Color | number | string | Resource) 10377 } 10378 _SearchAttribute_placeholderFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10379 let node = this.ptr2object<SearchInterface>(ptr) 10380 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10381 const placeholderFont_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10382 let placeholderFont_value_buf: Font | undefined|undefined 10383 if ((RuntimeType.UNDEFINED) != (placeholderFont_value_buf_runtimeType)) 10384 { 10385 placeholderFont_value_buf = thisDeserializer.readFont() 10386 } 10387 node.placeholderFont_value = placeholderFont_value_buf 10388 } 10389 _SearchAttribute_textFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10390 let node = this.ptr2object<SearchInterface>(ptr) 10391 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10392 const textFont_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10393 let textFont_value_buf: Font | undefined|undefined 10394 if ((RuntimeType.UNDEFINED) != (textFont_value_buf_runtimeType)) 10395 { 10396 textFont_value_buf = thisDeserializer.readFont() 10397 } 10398 node.textFont_value = textFont_value_buf 10399 } 10400 _SearchAttribute_enterKeyType(ptr: KPointer, value: KInt): void { 10401 let node = this.ptr2object<SearchInterface>(ptr) 10402 node.enterKeyType_value = value 10403 } 10404 _SearchAttribute_onSubmit0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10405 let node = this.ptr2object<SearchInterface>(ptr) 10406 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10407 node.onSubmit0_value = thisDeserializer.readCallback_String_Void() 10408 } 10409 _SearchAttribute_onSubmit1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10410 let node = this.ptr2object<SearchInterface>(ptr) 10411 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10412 node.onSubmit1_value = thisDeserializer.readSearchSubmitCallback() 10413 } 10414 _SearchAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10415 let node = this.ptr2object<SearchInterface>(ptr) 10416 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10417 node.onChange_value = thisDeserializer.readEditableTextOnChangeCallback() 10418 } 10419 _SearchAttribute_onTextSelectionChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10420 let node = this.ptr2object<SearchInterface>(ptr) 10421 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10422 node.onTextSelectionChange_value = thisDeserializer.readOnTextSelectionChangeCallback() 10423 } 10424 _SearchAttribute_onContentScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10425 let node = this.ptr2object<SearchInterface>(ptr) 10426 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10427 node.onContentScroll_value = thisDeserializer.readOnContentScrollCallback() 10428 } 10429 _SearchAttribute_onCopy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10430 let node = this.ptr2object<SearchInterface>(ptr) 10431 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10432 node.onCopy_value = thisDeserializer.readCallback_String_Void() 10433 } 10434 _SearchAttribute_onCut(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10435 let node = this.ptr2object<SearchInterface>(ptr) 10436 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10437 node.onCut_value = thisDeserializer.readCallback_String_Void() 10438 } 10439 _SearchAttribute_onPaste(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10440 let node = this.ptr2object<SearchInterface>(ptr) 10441 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10442 node.onPaste_value = thisDeserializer.readOnPasteCallback() 10443 } 10444 _SearchAttribute_copyOption(ptr: KPointer, value: KInt): void { 10445 let node = this.ptr2object<SearchInterface>(ptr) 10446 node.copyOption_value = value 10447 } 10448 _SearchAttribute_maxLength(ptr: KPointer, value: number): void { 10449 let node = this.ptr2object<SearchInterface>(ptr) 10450 node.maxLength_value = value 10451 } 10452 _SearchAttribute_textAlign(ptr: KPointer, value: KInt): void { 10453 let node = this.ptr2object<SearchInterface>(ptr) 10454 node.textAlign_value = value 10455 } 10456 _SearchAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { 10457 let node = this.ptr2object<SearchInterface>(ptr) 10458 node.enableKeyboardOnFocus_value = value 10459 } 10460 _SearchAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { 10461 let node = this.ptr2object<SearchInterface>(ptr) 10462 node.selectionMenuHidden_value = value 10463 } 10464 _SearchAttribute_minFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10465 let node = this.ptr2object<SearchInterface>(ptr) 10466 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10467 const minFontSize_value_buf_selector: number = thisDeserializer.readInt8() 10468 let minFontSize_value_buf: number | string | Resource | undefined|undefined 10469 if (minFontSize_value_buf_selector == 0) { 10470 minFontSize_value_buf = (thisDeserializer.readNumber() as number) 10471 } 10472 else if (minFontSize_value_buf_selector == 1) { 10473 minFontSize_value_buf = (thisDeserializer.readString() as string) 10474 } 10475 else if (minFontSize_value_buf_selector == 2) { 10476 minFontSize_value_buf = thisDeserializer.readResource() 10477 } 10478 else { 10479 throw new Error("One of the branches for minFontSize_value_buf has to be chosen through deserialisation.") 10480 } 10481 node.minFontSize_value = (minFontSize_value_buf as number | string | Resource) 10482 } 10483 _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10484 let node = this.ptr2object<SearchInterface>(ptr) 10485 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10486 const maxFontSize_value_buf_selector: number = thisDeserializer.readInt8() 10487 let maxFontSize_value_buf: number | string | Resource | undefined|undefined 10488 if (maxFontSize_value_buf_selector == 0) { 10489 maxFontSize_value_buf = (thisDeserializer.readNumber() as number) 10490 } 10491 else if (maxFontSize_value_buf_selector == 1) { 10492 maxFontSize_value_buf = (thisDeserializer.readString() as string) 10493 } 10494 else if (maxFontSize_value_buf_selector == 2) { 10495 maxFontSize_value_buf = thisDeserializer.readResource() 10496 } 10497 else { 10498 throw new Error("One of the branches for maxFontSize_value_buf has to be chosen through deserialisation.") 10499 } 10500 node.maxFontSize_value = (maxFontSize_value_buf as number | string | Resource) 10501 } 10502 _SearchAttribute_decoration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10503 let node = this.ptr2object<SearchInterface>(ptr) 10504 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10505 node.decoration_value = thisDeserializer.readTextDecorationOptions() 10506 } 10507 _SearchAttribute_letterSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10508 let node = this.ptr2object<SearchInterface>(ptr) 10509 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10510 const letterSpacing_value_buf_selector: number = thisDeserializer.readInt8() 10511 let letterSpacing_value_buf: number | string | Resource | undefined|undefined 10512 if (letterSpacing_value_buf_selector == 0) { 10513 letterSpacing_value_buf = (thisDeserializer.readNumber() as number) 10514 } 10515 else if (letterSpacing_value_buf_selector == 1) { 10516 letterSpacing_value_buf = (thisDeserializer.readString() as string) 10517 } 10518 else if (letterSpacing_value_buf_selector == 2) { 10519 letterSpacing_value_buf = thisDeserializer.readResource() 10520 } 10521 else { 10522 throw new Error("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.") 10523 } 10524 node.letterSpacing_value = (letterSpacing_value_buf as number | string | Resource) 10525 } 10526 _SearchAttribute_lineHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10527 let node = this.ptr2object<SearchInterface>(ptr) 10528 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10529 const lineHeight_value_buf_selector: number = thisDeserializer.readInt8() 10530 let lineHeight_value_buf: number | string | Resource | undefined|undefined 10531 if (lineHeight_value_buf_selector == 0) { 10532 lineHeight_value_buf = (thisDeserializer.readNumber() as number) 10533 } 10534 else if (lineHeight_value_buf_selector == 1) { 10535 lineHeight_value_buf = (thisDeserializer.readString() as string) 10536 } 10537 else if (lineHeight_value_buf_selector == 2) { 10538 lineHeight_value_buf = thisDeserializer.readResource() 10539 } 10540 else { 10541 throw new Error("One of the branches for lineHeight_value_buf has to be chosen through deserialisation.") 10542 } 10543 node.lineHeight_value = (lineHeight_value_buf as number | string | Resource) 10544 } 10545 _SearchAttribute_type(ptr: KPointer, value: KInt): void { 10546 let node = this.ptr2object<SearchInterface>(ptr) 10547 node.type_value = value 10548 } 10549 _SearchAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { 10550 let node = this.ptr2object<SearchInterface>(ptr) 10551 node.fontFeature_value = value 10552 } 10553 _SearchAttribute_onWillInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10554 let node = this.ptr2object<SearchInterface>(ptr) 10555 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10556 node.onWillInsert_value = thisDeserializer.readCallback_InsertValue_Boolean() 10557 } 10558 _SearchAttribute_onDidInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10559 let node = this.ptr2object<SearchInterface>(ptr) 10560 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10561 node.onDidInsert_value = thisDeserializer.readCallback_InsertValue_Void() 10562 } 10563 _SearchAttribute_onWillDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10564 let node = this.ptr2object<SearchInterface>(ptr) 10565 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10566 node.onWillDelete_value = thisDeserializer.readCallback_DeleteValue_Boolean() 10567 } 10568 _SearchAttribute_onDidDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10569 let node = this.ptr2object<SearchInterface>(ptr) 10570 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10571 node.onDidDelete_value = thisDeserializer.readCallback_DeleteValue_Void() 10572 } 10573 _SearchAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10574 let node = this.ptr2object<SearchInterface>(ptr) 10575 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10576 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 10577 } 10578 _SearchAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { 10579 let node = this.ptr2object<SearchInterface>(ptr) 10580 node.enablePreviewText_value = value 10581 } 10582 _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 10583 let node = this.ptr2object<SearchInterface>(ptr) 10584 node.enableHapticFeedback_value = value 10585 } 10586 _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { 10587 let node = this.ptr2object<SearchInterface>(ptr) 10588 node.searchButton_value = value 10589 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10590 const searchButton_option_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10591 let searchButton_option_buf: SearchButtonOptions | undefined|undefined 10592 if ((RuntimeType.UNDEFINED) != (searchButton_option_buf_runtimeType)) 10593 { 10594 searchButton_option_buf = thisDeserializer.readSearchButtonOptions() 10595 } 10596 node.searchButton_option = searchButton_option_buf 10597 } 10598 _SearchAttribute_inputFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10599 let node = this.ptr2object<SearchInterface>(ptr) 10600 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10601 const inputFilter_value_buf_selector: number = thisDeserializer.readInt8() 10602 let inputFilter_value_buf: string | Resource | undefined|undefined 10603 if (inputFilter_value_buf_selector == 0) { 10604 inputFilter_value_buf = (thisDeserializer.readString() as string) 10605 } 10606 else if (inputFilter_value_buf_selector == 1) { 10607 inputFilter_value_buf = thisDeserializer.readResource() 10608 } 10609 else { 10610 throw new Error("One of the branches for inputFilter_value_buf has to be chosen through deserialisation.") 10611 } 10612 node.inputFilter_value = (inputFilter_value_buf as string | Resource) 10613 const inputFilter_error_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10614 let inputFilter_error_buf: ((breakpoints: string) => void) | undefined|undefined 10615 if ((RuntimeType.UNDEFINED) != (inputFilter_error_buf_runtimeType)) 10616 { 10617 inputFilter_error_buf = thisDeserializer.readCallback_String_Void() 10618 } 10619 node.inputFilter_error = inputFilter_error_buf 10620 } 10621 _SearchAttribute_customKeyboard(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10622 let node = this.ptr2object<SearchInterface>(ptr) 10623 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10624 node.customKeyboard_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 10625 const customKeyboard_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10626 let customKeyboard_options_buf: KeyboardOptions | undefined|undefined 10627 if ((RuntimeType.UNDEFINED) != (customKeyboard_options_buf_runtimeType)) 10628 { 10629 customKeyboard_options_buf = thisDeserializer.readKeyboardOptions() 10630 } 10631 node.customKeyboard_options = customKeyboard_options_buf 10632 } 10633 _SecurityComponentMethod_iconSize(ptr: KPointer, value: Length): void { 10634 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10635 node.iconSize_value = value 10636 } 10637 _SecurityComponentMethod_layoutDirection(ptr: KPointer, value: KInt): void { 10638 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10639 node.layoutDirection_value = value 10640 } 10641 _SecurityComponentMethod_position(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10642 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10643 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10644 node.position_value = thisDeserializer.readPosition() 10645 } 10646 _SecurityComponentMethod_markAnchor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10647 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10648 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10649 node.markAnchor_value = thisDeserializer.readPosition() 10650 } 10651 _SecurityComponentMethod_offset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10652 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10653 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10654 const offset_value_buf_selector: number = thisDeserializer.readInt8() 10655 let offset_value_buf: Position | Edges | LocalizedEdges | undefined|undefined 10656 if (offset_value_buf_selector == 0) { 10657 offset_value_buf = thisDeserializer.readPosition() 10658 } 10659 else if (offset_value_buf_selector == 1) { 10660 offset_value_buf = thisDeserializer.readEdges() 10661 } 10662 else if (offset_value_buf_selector == 2) { 10663 offset_value_buf = thisDeserializer.readLocalizedEdges() 10664 } 10665 else { 10666 throw new Error("One of the branches for offset_value_buf has to be chosen through deserialisation.") 10667 } 10668 node.offset_value = (offset_value_buf as Position | Edges | LocalizedEdges) 10669 } 10670 _SecurityComponentMethod_fontSize(ptr: KPointer, value: Length): void { 10671 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10672 node.fontSize_value = value 10673 } 10674 _SecurityComponentMethod_fontStyle(ptr: KPointer, value: KInt): void { 10675 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10676 node.fontStyle_value = value 10677 } 10678 _SecurityComponentMethod_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10679 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10680 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10681 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 10682 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 10683 if (fontWeight_value_buf_selector == 0) { 10684 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 10685 } 10686 else if (fontWeight_value_buf_selector == 1) { 10687 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 10688 } 10689 else if (fontWeight_value_buf_selector == 2) { 10690 fontWeight_value_buf = (thisDeserializer.readString() as string) 10691 } 10692 else { 10693 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 10694 } 10695 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 10696 } 10697 _SecurityComponentMethod_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10698 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10699 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10700 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 10701 let fontFamily_value_buf: string | Resource | undefined|undefined 10702 if (fontFamily_value_buf_selector == 0) { 10703 fontFamily_value_buf = (thisDeserializer.readString() as string) 10704 } 10705 else if (fontFamily_value_buf_selector == 1) { 10706 fontFamily_value_buf = thisDeserializer.readResource() 10707 } 10708 else { 10709 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 10710 } 10711 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 10712 } 10713 _SecurityComponentMethod_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10714 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10715 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10716 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 10717 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 10718 if (fontColor_value_buf_selector == 0) { 10719 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 10720 } 10721 else if (fontColor_value_buf_selector == 1) { 10722 fontColor_value_buf = (thisDeserializer.readNumber() as number) 10723 } 10724 else if (fontColor_value_buf_selector == 2) { 10725 fontColor_value_buf = (thisDeserializer.readString() as string) 10726 } 10727 else if (fontColor_value_buf_selector == 3) { 10728 fontColor_value_buf = thisDeserializer.readResource() 10729 } 10730 else { 10731 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 10732 } 10733 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 10734 } 10735 _SecurityComponentMethod_iconColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10736 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10737 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10738 const iconColor_value_buf_selector: number = thisDeserializer.readInt8() 10739 let iconColor_value_buf: Color | number | string | Resource | undefined|undefined 10740 if (iconColor_value_buf_selector == 0) { 10741 iconColor_value_buf = (thisDeserializer.readInt32() as Color) 10742 } 10743 else if (iconColor_value_buf_selector == 1) { 10744 iconColor_value_buf = (thisDeserializer.readNumber() as number) 10745 } 10746 else if (iconColor_value_buf_selector == 2) { 10747 iconColor_value_buf = (thisDeserializer.readString() as string) 10748 } 10749 else if (iconColor_value_buf_selector == 3) { 10750 iconColor_value_buf = thisDeserializer.readResource() 10751 } 10752 else { 10753 throw new Error("One of the branches for iconColor_value_buf has to be chosen through deserialisation.") 10754 } 10755 node.iconColor_value = (iconColor_value_buf as Color | number | string | Resource) 10756 } 10757 _SecurityComponentMethod_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10758 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10759 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10760 const backgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 10761 let backgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 10762 if (backgroundColor_value_buf_selector == 0) { 10763 backgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 10764 } 10765 else if (backgroundColor_value_buf_selector == 1) { 10766 backgroundColor_value_buf = (thisDeserializer.readNumber() as number) 10767 } 10768 else if (backgroundColor_value_buf_selector == 2) { 10769 backgroundColor_value_buf = (thisDeserializer.readString() as string) 10770 } 10771 else if (backgroundColor_value_buf_selector == 3) { 10772 backgroundColor_value_buf = thisDeserializer.readResource() 10773 } 10774 else { 10775 throw new Error("One of the branches for backgroundColor_value_buf has to be chosen through deserialisation.") 10776 } 10777 node.backgroundColor_value = (backgroundColor_value_buf as Color | number | string | Resource) 10778 } 10779 _SecurityComponentMethod_borderStyle(ptr: KPointer, value: KInt): void { 10780 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10781 node.borderStyle_value = value 10782 } 10783 _SecurityComponentMethod_borderWidth(ptr: KPointer, value: Length): void { 10784 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10785 node.borderWidth_value = value 10786 } 10787 _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10788 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10789 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10790 const borderColor_value_buf_selector: number = thisDeserializer.readInt8() 10791 let borderColor_value_buf: Color | number | string | Resource | undefined|undefined 10792 if (borderColor_value_buf_selector == 0) { 10793 borderColor_value_buf = (thisDeserializer.readInt32() as Color) 10794 } 10795 else if (borderColor_value_buf_selector == 1) { 10796 borderColor_value_buf = (thisDeserializer.readNumber() as number) 10797 } 10798 else if (borderColor_value_buf_selector == 2) { 10799 borderColor_value_buf = (thisDeserializer.readString() as string) 10800 } 10801 else if (borderColor_value_buf_selector == 3) { 10802 borderColor_value_buf = thisDeserializer.readResource() 10803 } 10804 else { 10805 throw new Error("One of the branches for borderColor_value_buf has to be chosen through deserialisation.") 10806 } 10807 node.borderColor_value = (borderColor_value_buf as Color | number | string | Resource) 10808 } 10809 _SecurityComponentMethod_borderRadius(ptr: KPointer, value: Length): void { 10810 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10811 node.borderRadius_value = value 10812 } 10813 _SecurityComponentMethod_padding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10814 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10815 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10816 const padding_value_buf_selector: number = thisDeserializer.readInt8() 10817 let padding_value_buf: Padding | Dimension | undefined|undefined 10818 if (padding_value_buf_selector == 0) { 10819 const padding_value_buf_u_top_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10820 let padding_value_buf_u_top_buf: Length | undefined|undefined 10821 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_top_buf_runtimeType)) 10822 { 10823 padding_value_buf_u_top_buf = (thisDeserializer.readLength() as Length) 10824 } 10825 const padding_value_buf_u_top: undefined | Length = padding_value_buf_u_top_buf 10826 const padding_value_buf_u_right_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10827 let padding_value_buf_u_right_buf: Length | undefined|undefined 10828 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_right_buf_runtimeType)) 10829 { 10830 padding_value_buf_u_right_buf = (thisDeserializer.readLength() as Length) 10831 } 10832 const padding_value_buf_u_right: undefined | Length = padding_value_buf_u_right_buf 10833 const padding_value_buf_u_bottom_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10834 let padding_value_buf_u_bottom_buf: Length | undefined|undefined 10835 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_bottom_buf_runtimeType)) 10836 { 10837 padding_value_buf_u_bottom_buf = (thisDeserializer.readLength() as Length) 10838 } 10839 const padding_value_buf_u_bottom: undefined | Length = padding_value_buf_u_bottom_buf 10840 const padding_value_buf_u_left_buf_runtimeType = (thisDeserializer.readInt8() as int32) 10841 let padding_value_buf_u_left_buf: Length | undefined|undefined 10842 if ((RuntimeType.UNDEFINED) != (padding_value_buf_u_left_buf_runtimeType)) 10843 { 10844 padding_value_buf_u_left_buf = (thisDeserializer.readLength() as Length) 10845 } 10846 const padding_value_buf_u_left: undefined | Length = padding_value_buf_u_left_buf 10847 padding_value_buf = ({top: padding_value_buf_u_top, right: padding_value_buf_u_right, bottom: padding_value_buf_u_bottom, left: padding_value_buf_u_left} as Padding) 10848 } 10849 else if (padding_value_buf_selector == 1) { 10850 padding_value_buf = (thisDeserializer.readLength() as Dimension) 10851 } 10852 else { 10853 throw new Error("One of the branches for padding_value_buf has to be chosen through deserialisation.") 10854 } 10855 node.padding_value = (padding_value_buf as Padding | Dimension) 10856 } 10857 _SecurityComponentMethod_textIconSpace(ptr: KPointer, value: Length): void { 10858 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10859 node.textIconSpace_value = value 10860 } 10861 _SecurityComponentMethod_key(ptr: KPointer, value: KStringPtr): void { 10862 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10863 node.key_value = value 10864 } 10865 _SecurityComponentMethod_width(ptr: KPointer, value: Length): void { 10866 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10867 node.width_value = value 10868 } 10869 _SecurityComponentMethod_height(ptr: KPointer, value: Length): void { 10870 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10871 node.height_value = value 10872 } 10873 _SecurityComponentMethod_size(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10874 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10875 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10876 node.size_value = thisDeserializer.readSizeOptions() 10877 } 10878 _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10879 let node = this.ptr2object<SecurityComponentMethodInterface>(ptr) 10880 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10881 node.constraintSize_value = thisDeserializer.readConstraintSizeOptions() 10882 } 10883 _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10884 let node = this.ptr2object<SelectInterface>(ptr) 10885 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10886 const setSelectOptions_options_buf_length: int32 = thisDeserializer.readInt32() 10887 let setSelectOptions_options_buf: Array<SelectOption> = new Array<SelectOption>() 10888 for (let setSelectOptions_options_buf_i = 0; setSelectOptions_options_buf_i < setSelectOptions_options_buf_length; setSelectOptions_options_buf_i++) { 10889 setSelectOptions_options_buf[setSelectOptions_options_buf_i] = thisDeserializer.readSelectOption() 10890 } 10891 node.setSelectOptions_options = setSelectOptions_options_buf 10892 } 10893 _SelectAttribute_selected(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10894 let node = this.ptr2object<SelectInterface>(ptr) 10895 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10896 const selected_value_buf_selector: number = thisDeserializer.readInt8() 10897 let selected_value_buf: number | Resource | undefined|undefined 10898 if (selected_value_buf_selector == 0) { 10899 selected_value_buf = (thisDeserializer.readNumber() as number) 10900 } 10901 else if (selected_value_buf_selector == 1) { 10902 selected_value_buf = thisDeserializer.readResource() 10903 } 10904 else { 10905 throw new Error("One of the branches for selected_value_buf has to be chosen through deserialisation.") 10906 } 10907 node.selected_value = (selected_value_buf as number | Resource) 10908 } 10909 _SelectAttribute_value(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10910 let node = this.ptr2object<SelectInterface>(ptr) 10911 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10912 const value_value_buf_selector: number = thisDeserializer.readInt8() 10913 let value_value_buf: string | Resource | undefined|undefined 10914 if (value_value_buf_selector == 0) { 10915 value_value_buf = (thisDeserializer.readString() as string) 10916 } 10917 else if (value_value_buf_selector == 1) { 10918 value_value_buf = thisDeserializer.readResource() 10919 } 10920 else { 10921 throw new Error("One of the branches for value_value_buf has to be chosen through deserialisation.") 10922 } 10923 node.value_value = (value_value_buf as string | Resource) 10924 } 10925 _SelectAttribute_font(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10926 let node = this.ptr2object<SelectInterface>(ptr) 10927 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10928 node.font_value = thisDeserializer.readFont() 10929 } 10930 _SelectAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10931 let node = this.ptr2object<SelectInterface>(ptr) 10932 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10933 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 10934 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 10935 if (fontColor_value_buf_selector == 0) { 10936 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 10937 } 10938 else if (fontColor_value_buf_selector == 1) { 10939 fontColor_value_buf = (thisDeserializer.readNumber() as number) 10940 } 10941 else if (fontColor_value_buf_selector == 2) { 10942 fontColor_value_buf = (thisDeserializer.readString() as string) 10943 } 10944 else if (fontColor_value_buf_selector == 3) { 10945 fontColor_value_buf = thisDeserializer.readResource() 10946 } 10947 else { 10948 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 10949 } 10950 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 10951 } 10952 _SelectAttribute_selectedOptionBgColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10953 let node = this.ptr2object<SelectInterface>(ptr) 10954 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10955 const selectedOptionBgColor_value_buf_selector: number = thisDeserializer.readInt8() 10956 let selectedOptionBgColor_value_buf: Color | number | string | Resource | undefined|undefined 10957 if (selectedOptionBgColor_value_buf_selector == 0) { 10958 selectedOptionBgColor_value_buf = (thisDeserializer.readInt32() as Color) 10959 } 10960 else if (selectedOptionBgColor_value_buf_selector == 1) { 10961 selectedOptionBgColor_value_buf = (thisDeserializer.readNumber() as number) 10962 } 10963 else if (selectedOptionBgColor_value_buf_selector == 2) { 10964 selectedOptionBgColor_value_buf = (thisDeserializer.readString() as string) 10965 } 10966 else if (selectedOptionBgColor_value_buf_selector == 3) { 10967 selectedOptionBgColor_value_buf = thisDeserializer.readResource() 10968 } 10969 else { 10970 throw new Error("One of the branches for selectedOptionBgColor_value_buf has to be chosen through deserialisation.") 10971 } 10972 node.selectedOptionBgColor_value = (selectedOptionBgColor_value_buf as Color | number | string | Resource) 10973 } 10974 _SelectAttribute_selectedOptionFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10975 let node = this.ptr2object<SelectInterface>(ptr) 10976 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10977 node.selectedOptionFont_value = thisDeserializer.readFont() 10978 } 10979 _SelectAttribute_selectedOptionFontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 10980 let node = this.ptr2object<SelectInterface>(ptr) 10981 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 10982 const selectedOptionFontColor_value_buf_selector: number = thisDeserializer.readInt8() 10983 let selectedOptionFontColor_value_buf: Color | number | string | Resource | undefined|undefined 10984 if (selectedOptionFontColor_value_buf_selector == 0) { 10985 selectedOptionFontColor_value_buf = (thisDeserializer.readInt32() as Color) 10986 } 10987 else if (selectedOptionFontColor_value_buf_selector == 1) { 10988 selectedOptionFontColor_value_buf = (thisDeserializer.readNumber() as number) 10989 } 10990 else if (selectedOptionFontColor_value_buf_selector == 2) { 10991 selectedOptionFontColor_value_buf = (thisDeserializer.readString() as string) 10992 } 10993 else if (selectedOptionFontColor_value_buf_selector == 3) { 10994 selectedOptionFontColor_value_buf = thisDeserializer.readResource() 10995 } 10996 else { 10997 throw new Error("One of the branches for selectedOptionFontColor_value_buf has to be chosen through deserialisation.") 10998 } 10999 node.selectedOptionFontColor_value = (selectedOptionFontColor_value_buf as Color | number | string | Resource) 11000 } 11001 _SelectAttribute_optionBgColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11002 let node = this.ptr2object<SelectInterface>(ptr) 11003 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11004 const optionBgColor_value_buf_selector: number = thisDeserializer.readInt8() 11005 let optionBgColor_value_buf: Color | number | string | Resource | undefined|undefined 11006 if (optionBgColor_value_buf_selector == 0) { 11007 optionBgColor_value_buf = (thisDeserializer.readInt32() as Color) 11008 } 11009 else if (optionBgColor_value_buf_selector == 1) { 11010 optionBgColor_value_buf = (thisDeserializer.readNumber() as number) 11011 } 11012 else if (optionBgColor_value_buf_selector == 2) { 11013 optionBgColor_value_buf = (thisDeserializer.readString() as string) 11014 } 11015 else if (optionBgColor_value_buf_selector == 3) { 11016 optionBgColor_value_buf = thisDeserializer.readResource() 11017 } 11018 else { 11019 throw new Error("One of the branches for optionBgColor_value_buf has to be chosen through deserialisation.") 11020 } 11021 node.optionBgColor_value = (optionBgColor_value_buf as Color | number | string | Resource) 11022 } 11023 _SelectAttribute_optionFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11024 let node = this.ptr2object<SelectInterface>(ptr) 11025 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11026 node.optionFont_value = thisDeserializer.readFont() 11027 } 11028 _SelectAttribute_optionFontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11029 let node = this.ptr2object<SelectInterface>(ptr) 11030 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11031 const optionFontColor_value_buf_selector: number = thisDeserializer.readInt8() 11032 let optionFontColor_value_buf: Color | number | string | Resource | undefined|undefined 11033 if (optionFontColor_value_buf_selector == 0) { 11034 optionFontColor_value_buf = (thisDeserializer.readInt32() as Color) 11035 } 11036 else if (optionFontColor_value_buf_selector == 1) { 11037 optionFontColor_value_buf = (thisDeserializer.readNumber() as number) 11038 } 11039 else if (optionFontColor_value_buf_selector == 2) { 11040 optionFontColor_value_buf = (thisDeserializer.readString() as string) 11041 } 11042 else if (optionFontColor_value_buf_selector == 3) { 11043 optionFontColor_value_buf = thisDeserializer.readResource() 11044 } 11045 else { 11046 throw new Error("One of the branches for optionFontColor_value_buf has to be chosen through deserialisation.") 11047 } 11048 node.optionFontColor_value = (optionFontColor_value_buf as Color | number | string | Resource) 11049 } 11050 _SelectAttribute_onSelect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11051 let node = this.ptr2object<SelectInterface>(ptr) 11052 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11053 node.onSelect_value = thisDeserializer.readCallback_Number_String_Void() 11054 } 11055 _SelectAttribute_space(ptr: KPointer, value: Length): void { 11056 let node = this.ptr2object<SelectInterface>(ptr) 11057 node.space_value = value 11058 } 11059 _SelectAttribute_arrowPosition(ptr: KPointer, value: KInt): void { 11060 let node = this.ptr2object<SelectInterface>(ptr) 11061 node.arrowPosition_value = value 11062 } 11063 _SelectAttribute_optionWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11064 let node = this.ptr2object<SelectInterface>(ptr) 11065 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11066 const optionWidth_value_buf_selector: number = thisDeserializer.readInt8() 11067 let optionWidth_value_buf: Dimension | OptionWidthMode | undefined|undefined 11068 if (optionWidth_value_buf_selector == 0) { 11069 optionWidth_value_buf = (thisDeserializer.readLength() as Dimension) 11070 } 11071 else if (optionWidth_value_buf_selector == 1) { 11072 optionWidth_value_buf = Object.values(OptionWidthMode)[thisDeserializer.readInt32()] 11073 } 11074 else { 11075 throw new Error("One of the branches for optionWidth_value_buf has to be chosen through deserialisation.") 11076 } 11077 node.optionWidth_value = (optionWidth_value_buf as Dimension | OptionWidthMode) 11078 } 11079 _SelectAttribute_optionHeight(ptr: KPointer, value: Length): void { 11080 let node = this.ptr2object<SelectInterface>(ptr) 11081 node.optionHeight_value = value 11082 } 11083 _SelectAttribute_menuBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11084 let node = this.ptr2object<SelectInterface>(ptr) 11085 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11086 const menuBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 11087 let menuBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 11088 if (menuBackgroundColor_value_buf_selector == 0) { 11089 menuBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 11090 } 11091 else if (menuBackgroundColor_value_buf_selector == 1) { 11092 menuBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 11093 } 11094 else if (menuBackgroundColor_value_buf_selector == 2) { 11095 menuBackgroundColor_value_buf = (thisDeserializer.readString() as string) 11096 } 11097 else if (menuBackgroundColor_value_buf_selector == 3) { 11098 menuBackgroundColor_value_buf = thisDeserializer.readResource() 11099 } 11100 else { 11101 throw new Error("One of the branches for menuBackgroundColor_value_buf has to be chosen through deserialisation.") 11102 } 11103 node.menuBackgroundColor_value = (menuBackgroundColor_value_buf as Color | number | string | Resource) 11104 } 11105 _SelectAttribute_menuBackgroundBlurStyle(ptr: KPointer, value: KInt): void { 11106 let node = this.ptr2object<SelectInterface>(ptr) 11107 node.menuBackgroundBlurStyle_value = value 11108 } 11109 _SelectAttribute_controlSize(ptr: KPointer, value: KInt): void { 11110 let node = this.ptr2object<SelectInterface>(ptr) 11111 node.controlSize_value = value 11112 } 11113 _SelectAttribute_menuItemContentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11114 let node = this.ptr2object<SelectInterface>(ptr) 11115 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11116 node.menuItemContentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 11117 } 11118 _SelectAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11119 let node = this.ptr2object<SelectInterface>(ptr) 11120 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11121 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11122 let divider_value_buf: DividerOptions | undefined|undefined 11123 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 11124 { 11125 divider_value_buf = thisDeserializer.readDividerOptions() 11126 } 11127 node.divider_value = divider_value_buf 11128 } 11129 _SelectAttribute_menuAlign(ptr: KPointer, alignType: KInt, thisArray: Uint8Array, thisLength: int32): void { 11130 let node = this.ptr2object<SelectInterface>(ptr) 11131 node.menuAlign_alignType = alignType 11132 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11133 const menuAlign_offset_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11134 let menuAlign_offset_buf: Offset | undefined|undefined 11135 if ((RuntimeType.UNDEFINED) != (menuAlign_offset_buf_runtimeType)) 11136 { 11137 const menuAlign_offset_buf__dx: Length = (thisDeserializer.readLength() as Length) 11138 const menuAlign_offset_buf__dy: Length = (thisDeserializer.readLength() as Length) 11139 menuAlign_offset_buf = ({dx: menuAlign_offset_buf__dx, dy: menuAlign_offset_buf__dy} as Offset) 11140 } 11141 node.menuAlign_offset = menuAlign_offset_buf 11142 } 11143 _ShapeInterface_setShapeOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11144 let node = this.ptr2object<ShapeInterface>(ptr) 11145 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11146 node.setShapeOptions0_value = (thisDeserializer.readPixelMap() as PixelMap) 11147 } 11148 _ShapeInterface_setShapeOptions1(ptr: KPointer): void { 11149 let node = this.ptr2object<ShapeInterface>(ptr) 11150 } 11151 _ShapeAttribute_viewPort(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11152 let node = this.ptr2object<ShapeInterface>(ptr) 11153 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11154 node.viewPort_value = thisDeserializer.readViewportRect() 11155 } 11156 _ShapeAttribute_stroke(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11157 let node = this.ptr2object<ShapeInterface>(ptr) 11158 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11159 const stroke_value_buf_selector: number = thisDeserializer.readInt8() 11160 let stroke_value_buf: Color | number | string | Resource | undefined|undefined 11161 if (stroke_value_buf_selector == 0) { 11162 stroke_value_buf = (thisDeserializer.readInt32() as Color) 11163 } 11164 else if (stroke_value_buf_selector == 1) { 11165 stroke_value_buf = (thisDeserializer.readNumber() as number) 11166 } 11167 else if (stroke_value_buf_selector == 2) { 11168 stroke_value_buf = (thisDeserializer.readString() as string) 11169 } 11170 else if (stroke_value_buf_selector == 3) { 11171 stroke_value_buf = thisDeserializer.readResource() 11172 } 11173 else { 11174 throw new Error("One of the branches for stroke_value_buf has to be chosen through deserialisation.") 11175 } 11176 node.stroke_value = (stroke_value_buf as Color | number | string | Resource) 11177 } 11178 _ShapeAttribute_fill(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11179 let node = this.ptr2object<ShapeInterface>(ptr) 11180 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11181 const fill_value_buf_selector: number = thisDeserializer.readInt8() 11182 let fill_value_buf: Color | number | string | Resource | undefined|undefined 11183 if (fill_value_buf_selector == 0) { 11184 fill_value_buf = (thisDeserializer.readInt32() as Color) 11185 } 11186 else if (fill_value_buf_selector == 1) { 11187 fill_value_buf = (thisDeserializer.readNumber() as number) 11188 } 11189 else if (fill_value_buf_selector == 2) { 11190 fill_value_buf = (thisDeserializer.readString() as string) 11191 } 11192 else if (fill_value_buf_selector == 3) { 11193 fill_value_buf = thisDeserializer.readResource() 11194 } 11195 else { 11196 throw new Error("One of the branches for fill_value_buf has to be chosen through deserialisation.") 11197 } 11198 node.fill_value = (fill_value_buf as Color | number | string | Resource) 11199 } 11200 _ShapeAttribute_strokeDashOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11201 let node = this.ptr2object<ShapeInterface>(ptr) 11202 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11203 const strokeDashOffset_value_buf_selector: number = thisDeserializer.readInt8() 11204 let strokeDashOffset_value_buf: number | string | undefined|undefined 11205 if (strokeDashOffset_value_buf_selector == 0) { 11206 strokeDashOffset_value_buf = (thisDeserializer.readNumber() as number) 11207 } 11208 else if (strokeDashOffset_value_buf_selector == 1) { 11209 strokeDashOffset_value_buf = (thisDeserializer.readString() as string) 11210 } 11211 else { 11212 throw new Error("One of the branches for strokeDashOffset_value_buf has to be chosen through deserialisation.") 11213 } 11214 node.strokeDashOffset_value = (strokeDashOffset_value_buf as number | string) 11215 } 11216 _ShapeAttribute_strokeDashArray(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11217 let node = this.ptr2object<ShapeInterface>(ptr) 11218 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11219 const strokeDashArray_value_buf_length: int32 = thisDeserializer.readInt32() 11220 let strokeDashArray_value_buf: Array<any> = new Array<any>() 11221 for (let strokeDashArray_value_buf_i = 0; strokeDashArray_value_buf_i < strokeDashArray_value_buf_length; strokeDashArray_value_buf_i++) { 11222 strokeDashArray_value_buf[strokeDashArray_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 11223 } 11224 node.strokeDashArray_value = strokeDashArray_value_buf 11225 } 11226 _ShapeAttribute_strokeLineCap(ptr: KPointer, value: KInt): void { 11227 let node = this.ptr2object<ShapeInterface>(ptr) 11228 node.strokeLineCap_value = value 11229 } 11230 _ShapeAttribute_strokeLineJoin(ptr: KPointer, value: KInt): void { 11231 let node = this.ptr2object<ShapeInterface>(ptr) 11232 node.strokeLineJoin_value = value 11233 } 11234 _ShapeAttribute_strokeMiterLimit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11235 let node = this.ptr2object<ShapeInterface>(ptr) 11236 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11237 const strokeMiterLimit_value_buf_selector: number = thisDeserializer.readInt8() 11238 let strokeMiterLimit_value_buf: number | string | undefined|undefined 11239 if (strokeMiterLimit_value_buf_selector == 0) { 11240 strokeMiterLimit_value_buf = (thisDeserializer.readNumber() as number) 11241 } 11242 else if (strokeMiterLimit_value_buf_selector == 1) { 11243 strokeMiterLimit_value_buf = (thisDeserializer.readString() as string) 11244 } 11245 else { 11246 throw new Error("One of the branches for strokeMiterLimit_value_buf has to be chosen through deserialisation.") 11247 } 11248 node.strokeMiterLimit_value = (strokeMiterLimit_value_buf as number | string) 11249 } 11250 _ShapeAttribute_strokeOpacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11251 let node = this.ptr2object<ShapeInterface>(ptr) 11252 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11253 const strokeOpacity_value_buf_selector: number = thisDeserializer.readInt8() 11254 let strokeOpacity_value_buf: number | string | Resource | undefined|undefined 11255 if (strokeOpacity_value_buf_selector == 0) { 11256 strokeOpacity_value_buf = (thisDeserializer.readNumber() as number) 11257 } 11258 else if (strokeOpacity_value_buf_selector == 1) { 11259 strokeOpacity_value_buf = (thisDeserializer.readString() as string) 11260 } 11261 else if (strokeOpacity_value_buf_selector == 2) { 11262 strokeOpacity_value_buf = thisDeserializer.readResource() 11263 } 11264 else { 11265 throw new Error("One of the branches for strokeOpacity_value_buf has to be chosen through deserialisation.") 11266 } 11267 node.strokeOpacity_value = (strokeOpacity_value_buf as number | string | Resource) 11268 } 11269 _ShapeAttribute_fillOpacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11270 let node = this.ptr2object<ShapeInterface>(ptr) 11271 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11272 const fillOpacity_value_buf_selector: number = thisDeserializer.readInt8() 11273 let fillOpacity_value_buf: number | string | Resource | undefined|undefined 11274 if (fillOpacity_value_buf_selector == 0) { 11275 fillOpacity_value_buf = (thisDeserializer.readNumber() as number) 11276 } 11277 else if (fillOpacity_value_buf_selector == 1) { 11278 fillOpacity_value_buf = (thisDeserializer.readString() as string) 11279 } 11280 else if (fillOpacity_value_buf_selector == 2) { 11281 fillOpacity_value_buf = thisDeserializer.readResource() 11282 } 11283 else { 11284 throw new Error("One of the branches for fillOpacity_value_buf has to be chosen through deserialisation.") 11285 } 11286 node.fillOpacity_value = (fillOpacity_value_buf as number | string | Resource) 11287 } 11288 _ShapeAttribute_strokeWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11289 let node = this.ptr2object<ShapeInterface>(ptr) 11290 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11291 const strokeWidth_value_buf_selector: number = thisDeserializer.readInt8() 11292 let strokeWidth_value_buf: number | string | undefined|undefined 11293 if (strokeWidth_value_buf_selector == 0) { 11294 strokeWidth_value_buf = (thisDeserializer.readNumber() as number) 11295 } 11296 else if (strokeWidth_value_buf_selector == 1) { 11297 strokeWidth_value_buf = (thisDeserializer.readString() as string) 11298 } 11299 else { 11300 throw new Error("One of the branches for strokeWidth_value_buf has to be chosen through deserialisation.") 11301 } 11302 node.strokeWidth_value = (strokeWidth_value_buf as number | string) 11303 } 11304 _ShapeAttribute_antiAlias(ptr: KPointer, value: KInt): void { 11305 let node = this.ptr2object<ShapeInterface>(ptr) 11306 node.antiAlias_value = value 11307 } 11308 _ShapeAttribute_mesh(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, column: number, row: number): void { 11309 let node = this.ptr2object<ShapeInterface>(ptr) 11310 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11311 const mesh_value_buf_length: int32 = thisDeserializer.readInt32() 11312 let mesh_value_buf: Array<any> = new Array<any>() 11313 for (let mesh_value_buf_i = 0; mesh_value_buf_i < mesh_value_buf_length; mesh_value_buf_i++) { 11314 mesh_value_buf[mesh_value_buf_i] = (thisDeserializer.readCustomObject("Any") as Object) 11315 } 11316 node.mesh_value = mesh_value_buf 11317 node.mesh_column = thisLength 11318 node.mesh_row = column 11319 } 11320 _SliderInterface_setSliderOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11321 let node = this.ptr2object<SliderInterface>(ptr) 11322 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11323 const setSliderOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11324 let setSliderOptions_options_buf: SliderOptions | undefined|undefined 11325 if ((RuntimeType.UNDEFINED) != (setSliderOptions_options_buf_runtimeType)) 11326 { 11327 setSliderOptions_options_buf = thisDeserializer.readSliderOptions() 11328 } 11329 node.setSliderOptions_options = setSliderOptions_options_buf 11330 } 11331 _SliderAttribute_blockColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11332 let node = this.ptr2object<SliderInterface>(ptr) 11333 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11334 const blockColor_value_buf_selector: number = thisDeserializer.readInt8() 11335 let blockColor_value_buf: Color | number | string | Resource | undefined|undefined 11336 if (blockColor_value_buf_selector == 0) { 11337 blockColor_value_buf = (thisDeserializer.readInt32() as Color) 11338 } 11339 else if (blockColor_value_buf_selector == 1) { 11340 blockColor_value_buf = (thisDeserializer.readNumber() as number) 11341 } 11342 else if (blockColor_value_buf_selector == 2) { 11343 blockColor_value_buf = (thisDeserializer.readString() as string) 11344 } 11345 else if (blockColor_value_buf_selector == 3) { 11346 blockColor_value_buf = thisDeserializer.readResource() 11347 } 11348 else { 11349 throw new Error("One of the branches for blockColor_value_buf has to be chosen through deserialisation.") 11350 } 11351 node.blockColor_value = (blockColor_value_buf as Color | number | string | Resource) 11352 } 11353 _SliderAttribute_trackColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11354 let node = this.ptr2object<SliderInterface>(ptr) 11355 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11356 const trackColor_value_buf_selector: number = thisDeserializer.readInt8() 11357 let trackColor_value_buf: ResourceColor | LinearGradient_common | undefined|undefined 11358 if (trackColor_value_buf_selector == 0) { 11359 const trackColor_value_buf_u_selector: number = thisDeserializer.readInt8() 11360 let trackColor_value_buf_u: Color | number | string | Resource | undefined|undefined 11361 if (trackColor_value_buf_u_selector == 0) { 11362 trackColor_value_buf_u = (thisDeserializer.readInt32() as Color) 11363 } 11364 else if (trackColor_value_buf_u_selector == 1) { 11365 trackColor_value_buf_u = (thisDeserializer.readNumber() as number) 11366 } 11367 else if (trackColor_value_buf_u_selector == 2) { 11368 trackColor_value_buf_u = (thisDeserializer.readString() as string) 11369 } 11370 else if (trackColor_value_buf_u_selector == 3) { 11371 trackColor_value_buf_u = thisDeserializer.readResource() 11372 } 11373 else { 11374 throw new Error("One of the branches for trackColor_value_buf_u has to be chosen through deserialisation.") 11375 } 11376 trackColor_value_buf = (trackColor_value_buf_u as Color | number | string | Resource) 11377 } 11378 else if (trackColor_value_buf_selector == 1) { 11379 trackColor_value_buf = thisDeserializer.readLinearGradient_common() 11380 } 11381 else { 11382 throw new Error("One of the branches for trackColor_value_buf has to be chosen through deserialisation.") 11383 } 11384 node.trackColor_value = (trackColor_value_buf as ResourceColor | LinearGradient_common) 11385 } 11386 _SliderAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11387 let node = this.ptr2object<SliderInterface>(ptr) 11388 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11389 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 11390 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 11391 if (selectedColor_value_buf_selector == 0) { 11392 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 11393 } 11394 else if (selectedColor_value_buf_selector == 1) { 11395 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 11396 } 11397 else if (selectedColor_value_buf_selector == 2) { 11398 selectedColor_value_buf = (thisDeserializer.readString() as string) 11399 } 11400 else if (selectedColor_value_buf_selector == 3) { 11401 selectedColor_value_buf = thisDeserializer.readResource() 11402 } 11403 else { 11404 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 11405 } 11406 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 11407 } 11408 _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void { 11409 let node = this.ptr2object<SliderInterface>(ptr) 11410 node.minLabel_value = value 11411 } 11412 _SliderAttribute_maxLabel(ptr: KPointer, value: KStringPtr): void { 11413 let node = this.ptr2object<SliderInterface>(ptr) 11414 node.maxLabel_value = value 11415 } 11416 _SliderAttribute_showSteps(ptr: KPointer, value: KInt): void { 11417 let node = this.ptr2object<SliderInterface>(ptr) 11418 node.showSteps_value = value 11419 } 11420 _SliderAttribute_trackThickness(ptr: KPointer, value: Length): void { 11421 let node = this.ptr2object<SliderInterface>(ptr) 11422 node.trackThickness_value = value 11423 } 11424 _SliderAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11425 let node = this.ptr2object<SliderInterface>(ptr) 11426 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11427 node.onChange_value = thisDeserializer.readCallback_Number_SliderChangeMode_Void() 11428 } 11429 _SliderAttribute_blockBorderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11430 let node = this.ptr2object<SliderInterface>(ptr) 11431 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11432 const blockBorderColor_value_buf_selector: number = thisDeserializer.readInt8() 11433 let blockBorderColor_value_buf: Color | number | string | Resource | undefined|undefined 11434 if (blockBorderColor_value_buf_selector == 0) { 11435 blockBorderColor_value_buf = (thisDeserializer.readInt32() as Color) 11436 } 11437 else if (blockBorderColor_value_buf_selector == 1) { 11438 blockBorderColor_value_buf = (thisDeserializer.readNumber() as number) 11439 } 11440 else if (blockBorderColor_value_buf_selector == 2) { 11441 blockBorderColor_value_buf = (thisDeserializer.readString() as string) 11442 } 11443 else if (blockBorderColor_value_buf_selector == 3) { 11444 blockBorderColor_value_buf = thisDeserializer.readResource() 11445 } 11446 else { 11447 throw new Error("One of the branches for blockBorderColor_value_buf has to be chosen through deserialisation.") 11448 } 11449 node.blockBorderColor_value = (blockBorderColor_value_buf as Color | number | string | Resource) 11450 } 11451 _SliderAttribute_blockBorderWidth(ptr: KPointer, value: Length): void { 11452 let node = this.ptr2object<SliderInterface>(ptr) 11453 node.blockBorderWidth_value = value 11454 } 11455 _SliderAttribute_stepColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11456 let node = this.ptr2object<SliderInterface>(ptr) 11457 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11458 const stepColor_value_buf_selector: number = thisDeserializer.readInt8() 11459 let stepColor_value_buf: Color | number | string | Resource | undefined|undefined 11460 if (stepColor_value_buf_selector == 0) { 11461 stepColor_value_buf = (thisDeserializer.readInt32() as Color) 11462 } 11463 else if (stepColor_value_buf_selector == 1) { 11464 stepColor_value_buf = (thisDeserializer.readNumber() as number) 11465 } 11466 else if (stepColor_value_buf_selector == 2) { 11467 stepColor_value_buf = (thisDeserializer.readString() as string) 11468 } 11469 else if (stepColor_value_buf_selector == 3) { 11470 stepColor_value_buf = thisDeserializer.readResource() 11471 } 11472 else { 11473 throw new Error("One of the branches for stepColor_value_buf has to be chosen through deserialisation.") 11474 } 11475 node.stepColor_value = (stepColor_value_buf as Color | number | string | Resource) 11476 } 11477 _SliderAttribute_trackBorderRadius(ptr: KPointer, value: Length): void { 11478 let node = this.ptr2object<SliderInterface>(ptr) 11479 node.trackBorderRadius_value = value 11480 } 11481 _SliderAttribute_selectedBorderRadius(ptr: KPointer, value: Length): void { 11482 let node = this.ptr2object<SliderInterface>(ptr) 11483 node.selectedBorderRadius_value = value 11484 } 11485 _SliderAttribute_blockSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11486 let node = this.ptr2object<SliderInterface>(ptr) 11487 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11488 node.blockSize_value = thisDeserializer.readSizeOptions() 11489 } 11490 _SliderAttribute_blockStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11491 let node = this.ptr2object<SliderInterface>(ptr) 11492 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11493 node.blockStyle_value = thisDeserializer.readSliderBlockStyle() 11494 } 11495 _SliderAttribute_stepSize(ptr: KPointer, value: Length): void { 11496 let node = this.ptr2object<SliderInterface>(ptr) 11497 node.stepSize_value = value 11498 } 11499 _SliderAttribute_sliderInteractionMode(ptr: KPointer, value: KInt): void { 11500 let node = this.ptr2object<SliderInterface>(ptr) 11501 node.sliderInteractionMode_value = value 11502 } 11503 _SliderAttribute_minResponsiveDistance(ptr: KPointer, value: number): void { 11504 let node = this.ptr2object<SliderInterface>(ptr) 11505 node.minResponsiveDistance_value = value 11506 } 11507 _SliderAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11508 let node = this.ptr2object<SliderInterface>(ptr) 11509 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11510 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 11511 } 11512 _SliderAttribute_slideRange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11513 let node = this.ptr2object<SliderInterface>(ptr) 11514 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11515 node.slideRange_value = thisDeserializer.readSlideRange() 11516 } 11517 _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 11518 let node = this.ptr2object<SliderInterface>(ptr) 11519 node.showTips_value = value 11520 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11521 const showTips_content_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11522 let showTips_content_buf: ResourceStr | undefined|undefined 11523 if ((RuntimeType.UNDEFINED) != (showTips_content_buf_runtimeType)) 11524 { 11525 const showTips_content_buf__selector: number = thisDeserializer.readInt8() 11526 let showTips_content_buf_: string | Resource | undefined|undefined 11527 if (showTips_content_buf__selector == 0) { 11528 showTips_content_buf_ = (thisDeserializer.readString() as string) 11529 } 11530 else if (showTips_content_buf__selector == 1) { 11531 showTips_content_buf_ = thisDeserializer.readResource() 11532 } 11533 else { 11534 throw new Error("One of the branches for showTips_content_buf_ has to be chosen through deserialisation.") 11535 } 11536 showTips_content_buf = (showTips_content_buf_ as string | Resource) 11537 } 11538 node.showTips_content = showTips_content_buf 11539 } 11540 _BaseSpan_textBackgroundStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11541 let node = this.ptr2object<BaseSpanInterface>(ptr) 11542 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11543 node.textBackgroundStyle_value = thisDeserializer.readTextBackgroundStyle() 11544 } 11545 _BaseSpan_baselineOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11546 let node = this.ptr2object<BaseSpanInterface>(ptr) 11547 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11548 node.baselineOffset_value = thisDeserializer.readLengthMetrics() 11549 } 11550 _SpanInterface_setSpanOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11551 let node = this.ptr2object<SpanInterface>(ptr) 11552 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11553 const setSpanOptions_value_buf_selector: number = thisDeserializer.readInt8() 11554 let setSpanOptions_value_buf: string | Resource | undefined|undefined 11555 if (setSpanOptions_value_buf_selector == 0) { 11556 setSpanOptions_value_buf = (thisDeserializer.readString() as string) 11557 } 11558 else if (setSpanOptions_value_buf_selector == 1) { 11559 setSpanOptions_value_buf = thisDeserializer.readResource() 11560 } 11561 else { 11562 throw new Error("One of the branches for setSpanOptions_value_buf has to be chosen through deserialisation.") 11563 } 11564 node.setSpanOptions_value = (setSpanOptions_value_buf as string | Resource) 11565 } 11566 _SpanAttribute_font(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11567 let node = this.ptr2object<SpanInterface>(ptr) 11568 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11569 node.font_value = thisDeserializer.readFont() 11570 } 11571 _SpanAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11572 let node = this.ptr2object<SpanInterface>(ptr) 11573 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11574 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 11575 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 11576 if (fontColor_value_buf_selector == 0) { 11577 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 11578 } 11579 else if (fontColor_value_buf_selector == 1) { 11580 fontColor_value_buf = (thisDeserializer.readNumber() as number) 11581 } 11582 else if (fontColor_value_buf_selector == 2) { 11583 fontColor_value_buf = (thisDeserializer.readString() as string) 11584 } 11585 else if (fontColor_value_buf_selector == 3) { 11586 fontColor_value_buf = thisDeserializer.readResource() 11587 } 11588 else { 11589 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 11590 } 11591 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 11592 } 11593 _SpanAttribute_fontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11594 let node = this.ptr2object<SpanInterface>(ptr) 11595 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11596 const fontSize_value_buf_selector: number = thisDeserializer.readInt8() 11597 let fontSize_value_buf: number | string | Resource | undefined|undefined 11598 if (fontSize_value_buf_selector == 0) { 11599 fontSize_value_buf = (thisDeserializer.readNumber() as number) 11600 } 11601 else if (fontSize_value_buf_selector == 1) { 11602 fontSize_value_buf = (thisDeserializer.readString() as string) 11603 } 11604 else if (fontSize_value_buf_selector == 2) { 11605 fontSize_value_buf = thisDeserializer.readResource() 11606 } 11607 else { 11608 throw new Error("One of the branches for fontSize_value_buf has to be chosen through deserialisation.") 11609 } 11610 node.fontSize_value = (fontSize_value_buf as number | string | Resource) 11611 } 11612 _SpanAttribute_fontStyle(ptr: KPointer, value: KInt): void { 11613 let node = this.ptr2object<SpanInterface>(ptr) 11614 node.fontStyle_value = value 11615 } 11616 _SpanAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11617 let node = this.ptr2object<SpanInterface>(ptr) 11618 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11619 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 11620 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 11621 if (fontWeight_value_buf_selector == 0) { 11622 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 11623 } 11624 else if (fontWeight_value_buf_selector == 1) { 11625 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 11626 } 11627 else if (fontWeight_value_buf_selector == 2) { 11628 fontWeight_value_buf = (thisDeserializer.readString() as string) 11629 } 11630 else { 11631 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 11632 } 11633 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 11634 } 11635 _SpanAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11636 let node = this.ptr2object<SpanInterface>(ptr) 11637 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11638 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 11639 let fontFamily_value_buf: string | Resource | undefined|undefined 11640 if (fontFamily_value_buf_selector == 0) { 11641 fontFamily_value_buf = (thisDeserializer.readString() as string) 11642 } 11643 else if (fontFamily_value_buf_selector == 1) { 11644 fontFamily_value_buf = thisDeserializer.readResource() 11645 } 11646 else { 11647 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 11648 } 11649 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 11650 } 11651 _SpanAttribute_decoration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11652 let node = this.ptr2object<SpanInterface>(ptr) 11653 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11654 node.decoration_value = thisDeserializer.readDecorationStyleInterface() 11655 } 11656 _SpanAttribute_letterSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11657 let node = this.ptr2object<SpanInterface>(ptr) 11658 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11659 const letterSpacing_value_buf_selector: number = thisDeserializer.readInt8() 11660 let letterSpacing_value_buf: number | string | undefined|undefined 11661 if (letterSpacing_value_buf_selector == 0) { 11662 letterSpacing_value_buf = (thisDeserializer.readNumber() as number) 11663 } 11664 else if (letterSpacing_value_buf_selector == 1) { 11665 letterSpacing_value_buf = (thisDeserializer.readString() as string) 11666 } 11667 else { 11668 throw new Error("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.") 11669 } 11670 node.letterSpacing_value = (letterSpacing_value_buf as number | string) 11671 } 11672 _SpanAttribute_textCase(ptr: KPointer, value: KInt): void { 11673 let node = this.ptr2object<SpanInterface>(ptr) 11674 node.textCase_value = value 11675 } 11676 _SpanAttribute_lineHeight(ptr: KPointer, value: Length): void { 11677 let node = this.ptr2object<SpanInterface>(ptr) 11678 node.lineHeight_value = value 11679 } 11680 _SpanAttribute_textShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11681 let node = this.ptr2object<SpanInterface>(ptr) 11682 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11683 const textShadow_value_buf_selector: number = thisDeserializer.readInt8() 11684 let textShadow_value_buf: ShadowOptions | Array<ShadowOptions> | undefined|undefined 11685 if (textShadow_value_buf_selector == 0) { 11686 textShadow_value_buf = thisDeserializer.readShadowOptions() 11687 } 11688 else if (textShadow_value_buf_selector == 1) { 11689 const textShadow_value_buf_u_length: int32 = thisDeserializer.readInt32() 11690 let textShadow_value_buf_u: Array<ShadowOptions> = new Array<ShadowOptions>() 11691 for (let textShadow_value_buf_u_i = 0; textShadow_value_buf_u_i < textShadow_value_buf_u_length; textShadow_value_buf_u_i++) { 11692 textShadow_value_buf_u[textShadow_value_buf_u_i] = thisDeserializer.readShadowOptions() 11693 } 11694 textShadow_value_buf = textShadow_value_buf_u 11695 } 11696 else { 11697 throw new Error("One of the branches for textShadow_value_buf has to be chosen through deserialisation.") 11698 } 11699 node.textShadow_value = (textShadow_value_buf as ShadowOptions | Array<ShadowOptions>) 11700 } 11701 _StackInterface_setStackOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11702 let node = this.ptr2object<StackInterface>(ptr) 11703 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11704 const setStackOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11705 let setStackOptions_options_buf: StackOptions | undefined|undefined 11706 if ((RuntimeType.UNDEFINED) != (setStackOptions_options_buf_runtimeType)) 11707 { 11708 setStackOptions_options_buf = thisDeserializer.readStackOptions() 11709 } 11710 node.setStackOptions_options = setStackOptions_options_buf 11711 } 11712 _StackAttribute_alignContent(ptr: KPointer, value: KInt): void { 11713 let node = this.ptr2object<StackInterface>(ptr) 11714 node.alignContent_value = value 11715 } 11716 _StackAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11717 let node = this.ptr2object<StackInterface>(ptr) 11718 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11719 node.pointLight_value = thisDeserializer.readPointLightStyle() 11720 } 11721 _StepperInterface_setStepperOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11722 let node = this.ptr2object<StepperInterface>(ptr) 11723 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11724 const setStepperOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11725 let setStepperOptions_value_buf: { index?: number } | undefined|undefined 11726 if ((RuntimeType.UNDEFINED) != (setStepperOptions_value_buf_runtimeType)) 11727 { 11728 const setStepperOptions_value_buf__index_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11729 let setStepperOptions_value_buf__index_buf: number | undefined|undefined 11730 if ((RuntimeType.UNDEFINED) != (setStepperOptions_value_buf__index_buf_runtimeType)) 11731 { 11732 setStepperOptions_value_buf__index_buf = (thisDeserializer.readNumber() as number) 11733 } 11734 const setStepperOptions_value_buf__index: undefined | number = setStepperOptions_value_buf__index_buf 11735 setStepperOptions_value_buf = ({index: setStepperOptions_value_buf__index} as { index?: number }) 11736 } 11737 node.setStepperOptions_value = setStepperOptions_value_buf 11738 } 11739 _StepperAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11740 let node = this.ptr2object<StepperInterface>(ptr) 11741 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11742 node.onFinish_value = thisDeserializer.readCallback_Void() 11743 } 11744 _StepperAttribute_onSkip(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11745 let node = this.ptr2object<StepperInterface>(ptr) 11746 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11747 node.onSkip_value = thisDeserializer.readCallback_Void() 11748 } 11749 _StepperAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11750 let node = this.ptr2object<StepperInterface>(ptr) 11751 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11752 node.onChange_value = thisDeserializer.readCallback_Number_Number_Void() 11753 } 11754 _StepperAttribute_onNext(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11755 let node = this.ptr2object<StepperInterface>(ptr) 11756 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11757 node.onNext_value = thisDeserializer.readCallback_Number_Number_Void() 11758 } 11759 _StepperAttribute_onPrevious(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11760 let node = this.ptr2object<StepperInterface>(ptr) 11761 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11762 node.onPrevious_value = thisDeserializer.readCallback_Number_Number_Void() 11763 } 11764 _StepperItemInterface_setStepperItemOptions(ptr: KPointer): void { 11765 let node = this.ptr2object<StepperItemInterface>(ptr) 11766 } 11767 _StepperItemAttribute_prevLabel(ptr: KPointer, value: KStringPtr): void { 11768 let node = this.ptr2object<StepperItemInterface>(ptr) 11769 node.prevLabel_value = value 11770 } 11771 _StepperItemAttribute_nextLabel(ptr: KPointer, value: KStringPtr): void { 11772 let node = this.ptr2object<StepperItemInterface>(ptr) 11773 node.nextLabel_value = value 11774 } 11775 _StepperItemAttribute_status(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11776 let node = this.ptr2object<StepperItemInterface>(ptr) 11777 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11778 const status_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11779 let status_value_buf: ItemState | undefined|undefined 11780 if ((RuntimeType.UNDEFINED) != (status_value_buf_runtimeType)) 11781 { 11782 status_value_buf = (thisDeserializer.readInt32() as ItemState) 11783 } 11784 node.status_value = status_value_buf 11785 } 11786 _SwiperInterface_setSwiperOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11787 let node = this.ptr2object<SwiperInterface>(ptr) 11788 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11789 const setSwiperOptions_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11790 let setSwiperOptions_controller_buf: SwiperController | undefined|undefined 11791 if ((RuntimeType.UNDEFINED) != (setSwiperOptions_controller_buf_runtimeType)) 11792 { 11793 setSwiperOptions_controller_buf = (thisDeserializer.readSwiperController() as SwiperController) 11794 } 11795 node.setSwiperOptions_controller = setSwiperOptions_controller_buf 11796 } 11797 _SwiperAttribute_index(ptr: KPointer, value: number): void { 11798 let node = this.ptr2object<SwiperInterface>(ptr) 11799 node.index_value = value 11800 } 11801 _SwiperAttribute_autoPlay(ptr: KPointer, value: KInt): void { 11802 let node = this.ptr2object<SwiperInterface>(ptr) 11803 node.autoPlay_value = value 11804 } 11805 _SwiperAttribute_interval(ptr: KPointer, value: number): void { 11806 let node = this.ptr2object<SwiperInterface>(ptr) 11807 node.interval_value = value 11808 } 11809 _SwiperAttribute_indicator0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11810 let node = this.ptr2object<SwiperInterface>(ptr) 11811 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11812 const indicator0_value_buf_selector: number = thisDeserializer.readInt8() 11813 let indicator0_value_buf: DotIndicator | DigitIndicator | boolean | undefined|undefined 11814 if (indicator0_value_buf_selector == 0) { 11815 indicator0_value_buf = thisDeserializer.readDotIndicator() 11816 } 11817 else if (indicator0_value_buf_selector == 1) { 11818 indicator0_value_buf = thisDeserializer.readDigitIndicator() 11819 } 11820 else if (indicator0_value_buf_selector == 2) { 11821 indicator0_value_buf = thisDeserializer.readBoolean() 11822 } 11823 else { 11824 throw new Error("One of the branches for indicator0_value_buf has to be chosen through deserialisation.") 11825 } 11826 node.indicator0_value = (indicator0_value_buf as DotIndicator | DigitIndicator | boolean) 11827 } 11828 _SwiperAttribute_indicator1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11829 let node = this.ptr2object<SwiperInterface>(ptr) 11830 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11831 node.indicator1_value = (thisDeserializer.readIndicatorComponentController() as IndicatorComponentController) 11832 } 11833 _SwiperAttribute_loop(ptr: KPointer, value: KInt): void { 11834 let node = this.ptr2object<SwiperInterface>(ptr) 11835 node.loop_value = value 11836 } 11837 _SwiperAttribute_duration(ptr: KPointer, value: number): void { 11838 let node = this.ptr2object<SwiperInterface>(ptr) 11839 node.duration_value = value 11840 } 11841 _SwiperAttribute_vertical(ptr: KPointer, value: KInt): void { 11842 let node = this.ptr2object<SwiperInterface>(ptr) 11843 node.vertical_value = value 11844 } 11845 _SwiperAttribute_itemSpace(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11846 let node = this.ptr2object<SwiperInterface>(ptr) 11847 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11848 const itemSpace_value_buf_selector: number = thisDeserializer.readInt8() 11849 let itemSpace_value_buf: number | string | undefined|undefined 11850 if (itemSpace_value_buf_selector == 0) { 11851 itemSpace_value_buf = (thisDeserializer.readNumber() as number) 11852 } 11853 else if (itemSpace_value_buf_selector == 1) { 11854 itemSpace_value_buf = (thisDeserializer.readString() as string) 11855 } 11856 else { 11857 throw new Error("One of the branches for itemSpace_value_buf has to be chosen through deserialisation.") 11858 } 11859 node.itemSpace_value = (itemSpace_value_buf as number | string) 11860 } 11861 _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void { 11862 let node = this.ptr2object<SwiperInterface>(ptr) 11863 node.displayMode_value = value 11864 } 11865 _SwiperAttribute_cachedCount(ptr: KPointer, value: number): void { 11866 let node = this.ptr2object<SwiperInterface>(ptr) 11867 node.cachedCount_value = value 11868 } 11869 _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void { 11870 let node = this.ptr2object<SwiperInterface>(ptr) 11871 node.effectMode_value = value 11872 } 11873 _SwiperAttribute_disableSwipe(ptr: KPointer, value: KInt): void { 11874 let node = this.ptr2object<SwiperInterface>(ptr) 11875 node.disableSwipe_value = value 11876 } 11877 _SwiperAttribute_curve(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11878 let node = this.ptr2object<SwiperInterface>(ptr) 11879 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11880 const curve_value_buf_selector: number = thisDeserializer.readInt8() 11881 let curve_value_buf: Curve | string | ICurve | undefined|undefined 11882 if (curve_value_buf_selector == 0) { 11883 curve_value_buf = (thisDeserializer.readInt32() as Curve) 11884 } 11885 else if (curve_value_buf_selector == 1) { 11886 curve_value_buf = (thisDeserializer.readString() as string) 11887 } 11888 else if (curve_value_buf_selector == 2) { 11889 curve_value_buf = (thisDeserializer.readICurve() as ICurve) 11890 } 11891 else { 11892 throw new Error("One of the branches for curve_value_buf has to be chosen through deserialisation.") 11893 } 11894 node.curve_value = (curve_value_buf as Curve | string | ICurve) 11895 } 11896 _SwiperAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11897 let node = this.ptr2object<SwiperInterface>(ptr) 11898 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11899 node.onChange_value = thisDeserializer.readCallback_Number_Void() 11900 } 11901 _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11902 let node = this.ptr2object<SwiperInterface>(ptr) 11903 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11904 const indicatorStyle_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11905 let indicatorStyle_value_buf: IndicatorStyle | undefined|undefined 11906 if ((RuntimeType.UNDEFINED) != (indicatorStyle_value_buf_runtimeType)) 11907 { 11908 indicatorStyle_value_buf = thisDeserializer.readIndicatorStyle() 11909 } 11910 node.indicatorStyle_value = indicatorStyle_value_buf 11911 } 11912 _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11913 let node = this.ptr2object<SwiperInterface>(ptr) 11914 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11915 node.onAnimationStart_value = thisDeserializer.readOnSwiperAnimationStartCallback() 11916 } 11917 _SwiperAttribute_onAnimationEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11918 let node = this.ptr2object<SwiperInterface>(ptr) 11919 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11920 node.onAnimationEnd_value = thisDeserializer.readOnSwiperAnimationEndCallback() 11921 } 11922 _SwiperAttribute_onGestureSwipe(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11923 let node = this.ptr2object<SwiperInterface>(ptr) 11924 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11925 node.onGestureSwipe_value = thisDeserializer.readOnSwiperGestureSwipeCallback() 11926 } 11927 _SwiperAttribute_nestedScroll(ptr: KPointer, value: KInt): void { 11928 let node = this.ptr2object<SwiperInterface>(ptr) 11929 node.nestedScroll_value = value 11930 } 11931 _SwiperAttribute_customContentTransition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11932 let node = this.ptr2object<SwiperInterface>(ptr) 11933 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11934 node.customContentTransition_value = thisDeserializer.readSwiperContentAnimatedTransition() 11935 } 11936 _SwiperAttribute_onContentDidScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11937 let node = this.ptr2object<SwiperInterface>(ptr) 11938 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11939 node.onContentDidScroll_value = thisDeserializer.readContentDidScrollCallback() 11940 } 11941 _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void { 11942 let node = this.ptr2object<SwiperInterface>(ptr) 11943 node.indicatorInteractive_value = value 11944 } 11945 _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11946 let node = this.ptr2object<SwiperInterface>(ptr) 11947 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11948 const displayArrow_value_buf_selector: number = thisDeserializer.readInt8() 11949 let displayArrow_value_buf: ArrowStyle | boolean | undefined|undefined 11950 if (displayArrow_value_buf_selector == 0) { 11951 displayArrow_value_buf = thisDeserializer.readArrowStyle() 11952 } 11953 else if (displayArrow_value_buf_selector == 1) { 11954 displayArrow_value_buf = thisDeserializer.readBoolean() 11955 } 11956 else { 11957 throw new Error("One of the branches for displayArrow_value_buf has to be chosen through deserialisation.") 11958 } 11959 node.displayArrow_value = (displayArrow_value_buf as ArrowStyle | boolean) 11960 const displayArrow_isHoverShow_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11961 let displayArrow_isHoverShow_buf: boolean | undefined|undefined 11962 if ((RuntimeType.UNDEFINED) != (displayArrow_isHoverShow_buf_runtimeType)) 11963 { 11964 displayArrow_isHoverShow_buf = thisDeserializer.readBoolean() 11965 } 11966 node.displayArrow_isHoverShow = displayArrow_isHoverShow_buf 11967 } 11968 _SwiperAttribute_displayCount(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 11969 let node = this.ptr2object<SwiperInterface>(ptr) 11970 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11971 const displayCount_value_buf_selector: number = thisDeserializer.readInt8() 11972 let displayCount_value_buf: number | string | SwiperAutoFill | undefined|undefined 11973 if (displayCount_value_buf_selector == 0) { 11974 displayCount_value_buf = (thisDeserializer.readNumber() as number) 11975 } 11976 else if (displayCount_value_buf_selector == 1) { 11977 displayCount_value_buf = (thisDeserializer.readString() as string) 11978 } 11979 else if (displayCount_value_buf_selector == 2) { 11980 displayCount_value_buf = thisDeserializer.readSwiperAutoFill() 11981 } 11982 else { 11983 throw new Error("One of the branches for displayCount_value_buf has to be chosen through deserialisation.") 11984 } 11985 node.displayCount_value = (displayCount_value_buf as number | string | SwiperAutoFill) 11986 const displayCount_swipeByGroup_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11987 let displayCount_swipeByGroup_buf: boolean | undefined|undefined 11988 if ((RuntimeType.UNDEFINED) != (displayCount_swipeByGroup_buf_runtimeType)) 11989 { 11990 displayCount_swipeByGroup_buf = thisDeserializer.readBoolean() 11991 } 11992 node.displayCount_swipeByGroup = displayCount_swipeByGroup_buf 11993 } 11994 _SwiperAttribute_prevMargin(ptr: KPointer, value: Length, thisArray: Uint8Array, thisLength: int32): void { 11995 let node = this.ptr2object<SwiperInterface>(ptr) 11996 node.prevMargin_value = value 11997 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 11998 const prevMargin_ignoreBlank_buf_runtimeType = (thisDeserializer.readInt8() as int32) 11999 let prevMargin_ignoreBlank_buf: boolean | undefined|undefined 12000 if ((RuntimeType.UNDEFINED) != (prevMargin_ignoreBlank_buf_runtimeType)) 12001 { 12002 prevMargin_ignoreBlank_buf = thisDeserializer.readBoolean() 12003 } 12004 node.prevMargin_ignoreBlank = prevMargin_ignoreBlank_buf 12005 } 12006 _SwiperAttribute_nextMargin(ptr: KPointer, value: Length, thisArray: Uint8Array, thisLength: int32): void { 12007 let node = this.ptr2object<SwiperInterface>(ptr) 12008 node.nextMargin_value = value 12009 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12010 const nextMargin_ignoreBlank_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12011 let nextMargin_ignoreBlank_buf: boolean | undefined|undefined 12012 if ((RuntimeType.UNDEFINED) != (nextMargin_ignoreBlank_buf_runtimeType)) 12013 { 12014 nextMargin_ignoreBlank_buf = thisDeserializer.readBoolean() 12015 } 12016 node.nextMargin_ignoreBlank = nextMargin_ignoreBlank_buf 12017 } 12018 _IndicatorComponentInterface_setIndicatorComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12019 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12020 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12021 const setIndicatorComponentOptions_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12022 let setIndicatorComponentOptions_controller_buf: IndicatorComponentController | undefined|undefined 12023 if ((RuntimeType.UNDEFINED) != (setIndicatorComponentOptions_controller_buf_runtimeType)) 12024 { 12025 setIndicatorComponentOptions_controller_buf = (thisDeserializer.readIndicatorComponentController() as IndicatorComponentController) 12026 } 12027 node.setIndicatorComponentOptions_controller = setIndicatorComponentOptions_controller_buf 12028 } 12029 _IndicatorComponentAttribute_initialIndex(ptr: KPointer, value: number): void { 12030 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12031 node.initialIndex_value = value 12032 } 12033 _IndicatorComponentAttribute_count(ptr: KPointer, value: number): void { 12034 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12035 node.count_value = value 12036 } 12037 _IndicatorComponentAttribute_style(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12038 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12039 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12040 const style_value_buf_selector: number = thisDeserializer.readInt8() 12041 let style_value_buf: DotIndicator | DigitIndicator | undefined|undefined 12042 if (style_value_buf_selector == 0) { 12043 style_value_buf = thisDeserializer.readDotIndicator() 12044 } 12045 else if (style_value_buf_selector == 1) { 12046 style_value_buf = thisDeserializer.readDigitIndicator() 12047 } 12048 else { 12049 throw new Error("One of the branches for style_value_buf has to be chosen through deserialisation.") 12050 } 12051 node.style_value = (style_value_buf as DotIndicator | DigitIndicator) 12052 } 12053 _IndicatorComponentAttribute_loop(ptr: KPointer, value: KInt): void { 12054 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12055 node.loop_value = value 12056 } 12057 _IndicatorComponentAttribute_vertical(ptr: KPointer, value: KInt): void { 12058 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12059 node.vertical_value = value 12060 } 12061 _IndicatorComponentAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12062 let node = this.ptr2object<IndicatorComponentInterface>(ptr) 12063 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12064 node.onChange_value = thisDeserializer.readCallback_Number_Void() 12065 } 12066 _SymbolGlyphInterface_setSymbolGlyphOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12067 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12068 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12069 const setSymbolGlyphOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12070 let setSymbolGlyphOptions_value_buf: Resource | undefined|undefined 12071 if ((RuntimeType.UNDEFINED) != (setSymbolGlyphOptions_value_buf_runtimeType)) 12072 { 12073 setSymbolGlyphOptions_value_buf = thisDeserializer.readResource() 12074 } 12075 node.setSymbolGlyphOptions_value = setSymbolGlyphOptions_value_buf 12076 } 12077 _SymbolGlyphAttribute_fontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12078 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12079 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12080 const fontSize_value_buf_selector: number = thisDeserializer.readInt8() 12081 let fontSize_value_buf: number | string | Resource | undefined|undefined 12082 if (fontSize_value_buf_selector == 0) { 12083 fontSize_value_buf = (thisDeserializer.readNumber() as number) 12084 } 12085 else if (fontSize_value_buf_selector == 1) { 12086 fontSize_value_buf = (thisDeserializer.readString() as string) 12087 } 12088 else if (fontSize_value_buf_selector == 2) { 12089 fontSize_value_buf = thisDeserializer.readResource() 12090 } 12091 else { 12092 throw new Error("One of the branches for fontSize_value_buf has to be chosen through deserialisation.") 12093 } 12094 node.fontSize_value = (fontSize_value_buf as number | string | Resource) 12095 } 12096 _SymbolGlyphAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12097 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12098 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12099 const fontColor_value_buf_length: int32 = thisDeserializer.readInt32() 12100 let fontColor_value_buf: Array<ResourceColor> = new Array<ResourceColor>() 12101 for (let fontColor_value_buf_i = 0; fontColor_value_buf_i < fontColor_value_buf_length; fontColor_value_buf_i++) { 12102 const fontColor_value_buf_buf_selector: number = thisDeserializer.readInt8() 12103 let fontColor_value_buf_buf: Color | number | string | Resource | undefined|undefined 12104 if (fontColor_value_buf_buf_selector == 0) { 12105 fontColor_value_buf_buf = (thisDeserializer.readInt32() as Color) 12106 } 12107 else if (fontColor_value_buf_buf_selector == 1) { 12108 fontColor_value_buf_buf = (thisDeserializer.readNumber() as number) 12109 } 12110 else if (fontColor_value_buf_buf_selector == 2) { 12111 fontColor_value_buf_buf = (thisDeserializer.readString() as string) 12112 } 12113 else if (fontColor_value_buf_buf_selector == 3) { 12114 fontColor_value_buf_buf = thisDeserializer.readResource() 12115 } 12116 else { 12117 throw new Error("One of the branches for fontColor_value_buf_buf has to be chosen through deserialisation.") 12118 } 12119 fontColor_value_buf[fontColor_value_buf_i] = (fontColor_value_buf_buf as Color | number | string | Resource) 12120 } 12121 node.fontColor_value = fontColor_value_buf 12122 } 12123 _SymbolGlyphAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12124 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12125 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12126 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 12127 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 12128 if (fontWeight_value_buf_selector == 0) { 12129 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 12130 } 12131 else if (fontWeight_value_buf_selector == 1) { 12132 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 12133 } 12134 else if (fontWeight_value_buf_selector == 2) { 12135 fontWeight_value_buf = (thisDeserializer.readString() as string) 12136 } 12137 else { 12138 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 12139 } 12140 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 12141 } 12142 _SymbolGlyphAttribute_effectStrategy(ptr: KPointer, value: KInt): void { 12143 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12144 node.effectStrategy_value = value 12145 } 12146 _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { 12147 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12148 node.renderingStrategy_value = value 12149 } 12150 _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12151 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12152 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12153 node.symbolEffect0_symbolEffect = thisDeserializer.readSymbolEffect() 12154 const symbolEffect0_isActive_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12155 let symbolEffect0_isActive_buf: boolean | undefined|undefined 12156 if ((RuntimeType.UNDEFINED) != (symbolEffect0_isActive_buf_runtimeType)) 12157 { 12158 symbolEffect0_isActive_buf = thisDeserializer.readBoolean() 12159 } 12160 node.symbolEffect0_isActive = symbolEffect0_isActive_buf 12161 } 12162 _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12163 let node = this.ptr2object<SymbolGlyphInterface>(ptr) 12164 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12165 node.symbolEffect1_symbolEffect = thisDeserializer.readSymbolEffect() 12166 const symbolEffect1_triggerValue_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12167 let symbolEffect1_triggerValue_buf: number | undefined|undefined 12168 if ((RuntimeType.UNDEFINED) != (symbolEffect1_triggerValue_buf_runtimeType)) 12169 { 12170 symbolEffect1_triggerValue_buf = (thisDeserializer.readNumber() as number) 12171 } 12172 node.symbolEffect1_triggerValue = symbolEffect1_triggerValue_buf 12173 } 12174 _SymbolSpanInterface_setSymbolSpanOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12175 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12176 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12177 node.setSymbolSpanOptions_value = thisDeserializer.readResource() 12178 } 12179 _SymbolSpanAttribute_fontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12180 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12181 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12182 const fontSize_value_buf_selector: number = thisDeserializer.readInt8() 12183 let fontSize_value_buf: number | string | Resource | undefined|undefined 12184 if (fontSize_value_buf_selector == 0) { 12185 fontSize_value_buf = (thisDeserializer.readNumber() as number) 12186 } 12187 else if (fontSize_value_buf_selector == 1) { 12188 fontSize_value_buf = (thisDeserializer.readString() as string) 12189 } 12190 else if (fontSize_value_buf_selector == 2) { 12191 fontSize_value_buf = thisDeserializer.readResource() 12192 } 12193 else { 12194 throw new Error("One of the branches for fontSize_value_buf has to be chosen through deserialisation.") 12195 } 12196 node.fontSize_value = (fontSize_value_buf as number | string | Resource) 12197 } 12198 _SymbolSpanAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12199 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12200 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12201 const fontColor_value_buf_length: int32 = thisDeserializer.readInt32() 12202 let fontColor_value_buf: Array<ResourceColor> = new Array<ResourceColor>() 12203 for (let fontColor_value_buf_i = 0; fontColor_value_buf_i < fontColor_value_buf_length; fontColor_value_buf_i++) { 12204 const fontColor_value_buf_buf_selector: number = thisDeserializer.readInt8() 12205 let fontColor_value_buf_buf: Color | number | string | Resource | undefined|undefined 12206 if (fontColor_value_buf_buf_selector == 0) { 12207 fontColor_value_buf_buf = (thisDeserializer.readInt32() as Color) 12208 } 12209 else if (fontColor_value_buf_buf_selector == 1) { 12210 fontColor_value_buf_buf = (thisDeserializer.readNumber() as number) 12211 } 12212 else if (fontColor_value_buf_buf_selector == 2) { 12213 fontColor_value_buf_buf = (thisDeserializer.readString() as string) 12214 } 12215 else if (fontColor_value_buf_buf_selector == 3) { 12216 fontColor_value_buf_buf = thisDeserializer.readResource() 12217 } 12218 else { 12219 throw new Error("One of the branches for fontColor_value_buf_buf has to be chosen through deserialisation.") 12220 } 12221 fontColor_value_buf[fontColor_value_buf_i] = (fontColor_value_buf_buf as Color | number | string | Resource) 12222 } 12223 node.fontColor_value = fontColor_value_buf 12224 } 12225 _SymbolSpanAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12226 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12227 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12228 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 12229 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 12230 if (fontWeight_value_buf_selector == 0) { 12231 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 12232 } 12233 else if (fontWeight_value_buf_selector == 1) { 12234 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 12235 } 12236 else if (fontWeight_value_buf_selector == 2) { 12237 fontWeight_value_buf = (thisDeserializer.readString() as string) 12238 } 12239 else { 12240 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 12241 } 12242 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 12243 } 12244 _SymbolSpanAttribute_effectStrategy(ptr: KPointer, value: KInt): void { 12245 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12246 node.effectStrategy_value = value 12247 } 12248 _SymbolSpanAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { 12249 let node = this.ptr2object<SymbolSpanInterface>(ptr) 12250 node.renderingStrategy_value = value 12251 } 12252 _TabsInterface_setTabsOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12253 let node = this.ptr2object<TabsInterface>(ptr) 12254 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12255 const setTabsOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12256 let setTabsOptions_options_buf: TabsOptions | undefined|undefined 12257 if ((RuntimeType.UNDEFINED) != (setTabsOptions_options_buf_runtimeType)) 12258 { 12259 setTabsOptions_options_buf = thisDeserializer.readTabsOptions() 12260 } 12261 node.setTabsOptions_options = setTabsOptions_options_buf 12262 } 12263 _TabsAttribute_vertical(ptr: KPointer, value: KInt): void { 12264 let node = this.ptr2object<TabsInterface>(ptr) 12265 node.vertical_value = value 12266 } 12267 _TabsAttribute_barPosition(ptr: KPointer, value: KInt): void { 12268 let node = this.ptr2object<TabsInterface>(ptr) 12269 node.barPosition_value = value 12270 } 12271 _TabsAttribute_scrollable(ptr: KPointer, value: KInt): void { 12272 let node = this.ptr2object<TabsInterface>(ptr) 12273 node.scrollable_value = value 12274 } 12275 _TabsAttribute_barMode0(ptr: KPointer, value: KInt): void { 12276 let node = this.ptr2object<TabsInterface>(ptr) 12277 node.barMode0_value = value 12278 } 12279 _TabsAttribute_barMode1(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 12280 let node = this.ptr2object<TabsInterface>(ptr) 12281 node.barMode1_value = value 12282 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12283 const barMode1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12284 let barMode1_options_buf: ScrollableBarModeOptions | undefined|undefined 12285 if ((RuntimeType.UNDEFINED) != (barMode1_options_buf_runtimeType)) 12286 { 12287 barMode1_options_buf = thisDeserializer.readScrollableBarModeOptions() 12288 } 12289 node.barMode1_options = barMode1_options_buf 12290 } 12291 _TabsAttribute_barWidth(ptr: KPointer, value: Length): void { 12292 let node = this.ptr2object<TabsInterface>(ptr) 12293 node.barWidth_value = value 12294 } 12295 _TabsAttribute_barHeight(ptr: KPointer, value: Length): void { 12296 let node = this.ptr2object<TabsInterface>(ptr) 12297 node.barHeight_value = value 12298 } 12299 _TabsAttribute_animationDuration(ptr: KPointer, value: number): void { 12300 let node = this.ptr2object<TabsInterface>(ptr) 12301 node.animationDuration_value = value 12302 } 12303 _TabsAttribute_animationMode(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12304 let node = this.ptr2object<TabsInterface>(ptr) 12305 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12306 const animationMode_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12307 let animationMode_value_buf: AnimationMode | undefined|undefined 12308 if ((RuntimeType.UNDEFINED) != (animationMode_value_buf_runtimeType)) 12309 { 12310 animationMode_value_buf = (thisDeserializer.readInt32() as AnimationMode) 12311 } 12312 node.animationMode_value = animationMode_value_buf 12313 } 12314 _TabsAttribute_edgeEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12315 let node = this.ptr2object<TabsInterface>(ptr) 12316 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12317 const edgeEffect_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12318 let edgeEffect_value_buf: EdgeEffect | undefined|undefined 12319 if ((RuntimeType.UNDEFINED) != (edgeEffect_value_buf_runtimeType)) 12320 { 12321 edgeEffect_value_buf = (thisDeserializer.readInt32() as EdgeEffect) 12322 } 12323 node.edgeEffect_value = edgeEffect_value_buf 12324 } 12325 _TabsAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12326 let node = this.ptr2object<TabsInterface>(ptr) 12327 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12328 node.onChange_value = thisDeserializer.readCallback_Number_Void() 12329 } 12330 _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12331 let node = this.ptr2object<TabsInterface>(ptr) 12332 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12333 node.onTabBarClick_value = thisDeserializer.readCallback_Number_Void() 12334 } 12335 _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12336 let node = this.ptr2object<TabsInterface>(ptr) 12337 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12338 node.onAnimationStart_value = thisDeserializer.readOnTabsAnimationStartCallback() 12339 } 12340 _TabsAttribute_onAnimationEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12341 let node = this.ptr2object<TabsInterface>(ptr) 12342 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12343 node.onAnimationEnd_value = thisDeserializer.readOnTabsAnimationEndCallback() 12344 } 12345 _TabsAttribute_onGestureSwipe(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12346 let node = this.ptr2object<TabsInterface>(ptr) 12347 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12348 node.onGestureSwipe_value = thisDeserializer.readOnTabsGestureSwipeCallback() 12349 } 12350 _TabsAttribute_fadingEdge(ptr: KPointer, value: KInt): void { 12351 let node = this.ptr2object<TabsInterface>(ptr) 12352 node.fadingEdge_value = value 12353 } 12354 _TabsAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12355 let node = this.ptr2object<TabsInterface>(ptr) 12356 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12357 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12358 let divider_value_buf: DividerStyle | undefined|undefined 12359 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 12360 { 12361 divider_value_buf = thisDeserializer.readDividerStyle() 12362 } 12363 node.divider_value = divider_value_buf 12364 } 12365 _TabsAttribute_barOverlap(ptr: KPointer, value: KInt): void { 12366 let node = this.ptr2object<TabsInterface>(ptr) 12367 node.barOverlap_value = value 12368 } 12369 _TabsAttribute_barBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12370 let node = this.ptr2object<TabsInterface>(ptr) 12371 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12372 const barBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 12373 let barBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 12374 if (barBackgroundColor_value_buf_selector == 0) { 12375 barBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 12376 } 12377 else if (barBackgroundColor_value_buf_selector == 1) { 12378 barBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 12379 } 12380 else if (barBackgroundColor_value_buf_selector == 2) { 12381 barBackgroundColor_value_buf = (thisDeserializer.readString() as string) 12382 } 12383 else if (barBackgroundColor_value_buf_selector == 3) { 12384 barBackgroundColor_value_buf = thisDeserializer.readResource() 12385 } 12386 else { 12387 throw new Error("One of the branches for barBackgroundColor_value_buf has to be chosen through deserialisation.") 12388 } 12389 node.barBackgroundColor_value = (barBackgroundColor_value_buf as Color | number | string | Resource) 12390 } 12391 _TabsAttribute_barGridAlign(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12392 let node = this.ptr2object<TabsInterface>(ptr) 12393 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12394 node.barGridAlign_value = thisDeserializer.readBarGridColumnOptions() 12395 } 12396 _TabsAttribute_customContentTransition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12397 let node = this.ptr2object<TabsInterface>(ptr) 12398 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12399 node.customContentTransition_value = thisDeserializer.readTabsCustomContentTransitionCallback() 12400 } 12401 _TabsAttribute_barBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { 12402 let node = this.ptr2object<TabsInterface>(ptr) 12403 node.barBackgroundBlurStyle0_value = value 12404 } 12405 _TabsAttribute_barBackgroundBlurStyle1(ptr: KPointer, style: KInt, thisArray: Uint8Array, thisLength: int32): void { 12406 let node = this.ptr2object<TabsInterface>(ptr) 12407 node.barBackgroundBlurStyle1_style = style 12408 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12409 node.barBackgroundBlurStyle1_options = thisDeserializer.readBackgroundBlurStyleOptions() 12410 } 12411 _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12412 let node = this.ptr2object<TabsInterface>(ptr) 12413 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12414 node.barBackgroundEffect_value = thisDeserializer.readBackgroundEffectOptions() 12415 } 12416 _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12417 let node = this.ptr2object<TabsInterface>(ptr) 12418 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12419 node.onContentWillChange_value = thisDeserializer.readOnTabsContentWillChangeCallback() 12420 } 12421 _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12422 let node = this.ptr2object<TabsInterface>(ptr) 12423 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12424 node.barModeScrollable_options = thisDeserializer.readScrollableBarModeOptions() 12425 } 12426 _TabContentInterface_setTabContentOptions(ptr: KPointer): void { 12427 let node = this.ptr2object<TabContentInterface>(ptr) 12428 } 12429 _TabContentAttribute_tabBar0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12430 let node = this.ptr2object<TabContentInterface>(ptr) 12431 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12432 const tabBar0_value_buf_selector: number = thisDeserializer.readInt8() 12433 let tabBar0_value_buf: string | Resource | CustomBuilder | TabBarOptions | undefined|undefined 12434 if (tabBar0_value_buf_selector == 0) { 12435 tabBar0_value_buf = (thisDeserializer.readString() as string) 12436 } 12437 else if (tabBar0_value_buf_selector == 1) { 12438 tabBar0_value_buf = thisDeserializer.readResource() 12439 } 12440 else if (tabBar0_value_buf_selector == 2) { 12441 tabBar0_value_buf = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 12442 } 12443 else if (tabBar0_value_buf_selector == 3) { 12444 tabBar0_value_buf = thisDeserializer.readTabBarOptions() 12445 } 12446 else { 12447 throw new Error("One of the branches for tabBar0_value_buf has to be chosen through deserialisation.") 12448 } 12449 node.tabBar0_value = (tabBar0_value_buf as string | Resource | CustomBuilder | TabBarOptions) 12450 } 12451 _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12452 let node = this.ptr2object<TabContentInterface>(ptr) 12453 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12454 const tabBar1_value_buf_selector: number = thisDeserializer.readInt8() 12455 let tabBar1_value_buf: SubTabBarStyle | BottomTabBarStyle | undefined|undefined 12456 if (tabBar1_value_buf_selector == 0) { 12457 tabBar1_value_buf = thisDeserializer.readSubTabBarStyle() 12458 } 12459 else if (tabBar1_value_buf_selector == 1) { 12460 tabBar1_value_buf = thisDeserializer.readBottomTabBarStyle() 12461 } 12462 else { 12463 throw new Error("One of the branches for tabBar1_value_buf has to be chosen through deserialisation.") 12464 } 12465 node.tabBar1_value = (tabBar1_value_buf as SubTabBarStyle | BottomTabBarStyle) 12466 } 12467 _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12468 let node = this.ptr2object<TabContentInterface>(ptr) 12469 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12470 node.onWillShow_value = thisDeserializer.readVoidCallback() 12471 } 12472 _TabContentAttribute_onWillHide(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12473 let node = this.ptr2object<TabContentInterface>(ptr) 12474 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12475 node.onWillHide_value = thisDeserializer.readVoidCallback() 12476 } 12477 _TextInterface_setTextOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12478 let node = this.ptr2object<TextInterface>(ptr) 12479 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12480 const setTextOptions_content_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12481 let setTextOptions_content_buf: string | Resource | undefined|undefined 12482 if ((RuntimeType.UNDEFINED) != (setTextOptions_content_buf_runtimeType)) 12483 { 12484 const setTextOptions_content_buf__selector: number = thisDeserializer.readInt8() 12485 let setTextOptions_content_buf_: string | Resource | undefined|undefined 12486 if (setTextOptions_content_buf__selector == 0) { 12487 setTextOptions_content_buf_ = (thisDeserializer.readString() as string) 12488 } 12489 else if (setTextOptions_content_buf__selector == 1) { 12490 setTextOptions_content_buf_ = thisDeserializer.readResource() 12491 } 12492 else { 12493 throw new Error("One of the branches for setTextOptions_content_buf_ has to be chosen through deserialisation.") 12494 } 12495 setTextOptions_content_buf = (setTextOptions_content_buf_ as string | Resource) 12496 } 12497 node.setTextOptions_content = setTextOptions_content_buf 12498 const setTextOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12499 let setTextOptions_value_buf: TextOptions | undefined|undefined 12500 if ((RuntimeType.UNDEFINED) != (setTextOptions_value_buf_runtimeType)) 12501 { 12502 setTextOptions_value_buf = thisDeserializer.readTextOptions() 12503 } 12504 node.setTextOptions_value = setTextOptions_value_buf 12505 } 12506 _TextAttribute_font0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12507 let node = this.ptr2object<TextInterface>(ptr) 12508 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12509 node.font0_value = thisDeserializer.readFont() 12510 } 12511 _TextAttribute_font1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12512 let node = this.ptr2object<TextInterface>(ptr) 12513 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12514 node.font1_fontValue = thisDeserializer.readFont() 12515 const font1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12516 let font1_options_buf: FontSettingOptions | undefined|undefined 12517 if ((RuntimeType.UNDEFINED) != (font1_options_buf_runtimeType)) 12518 { 12519 font1_options_buf = thisDeserializer.readFontSettingOptions() 12520 } 12521 node.font1_options = font1_options_buf 12522 } 12523 _TextAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12524 let node = this.ptr2object<TextInterface>(ptr) 12525 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12526 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 12527 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 12528 if (fontColor_value_buf_selector == 0) { 12529 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 12530 } 12531 else if (fontColor_value_buf_selector == 1) { 12532 fontColor_value_buf = (thisDeserializer.readNumber() as number) 12533 } 12534 else if (fontColor_value_buf_selector == 2) { 12535 fontColor_value_buf = (thisDeserializer.readString() as string) 12536 } 12537 else if (fontColor_value_buf_selector == 3) { 12538 fontColor_value_buf = thisDeserializer.readResource() 12539 } 12540 else { 12541 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 12542 } 12543 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 12544 } 12545 _TextAttribute_fontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12546 let node = this.ptr2object<TextInterface>(ptr) 12547 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12548 const fontSize_value_buf_selector: number = thisDeserializer.readInt8() 12549 let fontSize_value_buf: number | string | Resource | undefined|undefined 12550 if (fontSize_value_buf_selector == 0) { 12551 fontSize_value_buf = (thisDeserializer.readNumber() as number) 12552 } 12553 else if (fontSize_value_buf_selector == 1) { 12554 fontSize_value_buf = (thisDeserializer.readString() as string) 12555 } 12556 else if (fontSize_value_buf_selector == 2) { 12557 fontSize_value_buf = thisDeserializer.readResource() 12558 } 12559 else { 12560 throw new Error("One of the branches for fontSize_value_buf has to be chosen through deserialisation.") 12561 } 12562 node.fontSize_value = (fontSize_value_buf as number | string | Resource) 12563 } 12564 _TextAttribute_minFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12565 let node = this.ptr2object<TextInterface>(ptr) 12566 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12567 const minFontSize_value_buf_selector: number = thisDeserializer.readInt8() 12568 let minFontSize_value_buf: number | string | Resource | undefined|undefined 12569 if (minFontSize_value_buf_selector == 0) { 12570 minFontSize_value_buf = (thisDeserializer.readNumber() as number) 12571 } 12572 else if (minFontSize_value_buf_selector == 1) { 12573 minFontSize_value_buf = (thisDeserializer.readString() as string) 12574 } 12575 else if (minFontSize_value_buf_selector == 2) { 12576 minFontSize_value_buf = thisDeserializer.readResource() 12577 } 12578 else { 12579 throw new Error("One of the branches for minFontSize_value_buf has to be chosen through deserialisation.") 12580 } 12581 node.minFontSize_value = (minFontSize_value_buf as number | string | Resource) 12582 } 12583 _TextAttribute_maxFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12584 let node = this.ptr2object<TextInterface>(ptr) 12585 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12586 const maxFontSize_value_buf_selector: number = thisDeserializer.readInt8() 12587 let maxFontSize_value_buf: number | string | Resource | undefined|undefined 12588 if (maxFontSize_value_buf_selector == 0) { 12589 maxFontSize_value_buf = (thisDeserializer.readNumber() as number) 12590 } 12591 else if (maxFontSize_value_buf_selector == 1) { 12592 maxFontSize_value_buf = (thisDeserializer.readString() as string) 12593 } 12594 else if (maxFontSize_value_buf_selector == 2) { 12595 maxFontSize_value_buf = thisDeserializer.readResource() 12596 } 12597 else { 12598 throw new Error("One of the branches for maxFontSize_value_buf has to be chosen through deserialisation.") 12599 } 12600 node.maxFontSize_value = (maxFontSize_value_buf as number | string | Resource) 12601 } 12602 _TextAttribute_minFontScale(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12603 let node = this.ptr2object<TextInterface>(ptr) 12604 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12605 const minFontScale_value_buf_selector: number = thisDeserializer.readInt8() 12606 let minFontScale_value_buf: number | Resource | undefined|undefined 12607 if (minFontScale_value_buf_selector == 0) { 12608 minFontScale_value_buf = (thisDeserializer.readNumber() as number) 12609 } 12610 else if (minFontScale_value_buf_selector == 1) { 12611 minFontScale_value_buf = thisDeserializer.readResource() 12612 } 12613 else { 12614 throw new Error("One of the branches for minFontScale_value_buf has to be chosen through deserialisation.") 12615 } 12616 node.minFontScale_value = (minFontScale_value_buf as number | Resource) 12617 } 12618 _TextAttribute_maxFontScale(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12619 let node = this.ptr2object<TextInterface>(ptr) 12620 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12621 const maxFontScale_value_buf_selector: number = thisDeserializer.readInt8() 12622 let maxFontScale_value_buf: number | Resource | undefined|undefined 12623 if (maxFontScale_value_buf_selector == 0) { 12624 maxFontScale_value_buf = (thisDeserializer.readNumber() as number) 12625 } 12626 else if (maxFontScale_value_buf_selector == 1) { 12627 maxFontScale_value_buf = thisDeserializer.readResource() 12628 } 12629 else { 12630 throw new Error("One of the branches for maxFontScale_value_buf has to be chosen through deserialisation.") 12631 } 12632 node.maxFontScale_value = (maxFontScale_value_buf as number | Resource) 12633 } 12634 _TextAttribute_fontStyle(ptr: KPointer, value: KInt): void { 12635 let node = this.ptr2object<TextInterface>(ptr) 12636 node.fontStyle_value = value 12637 } 12638 _TextAttribute_fontWeight0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12639 let node = this.ptr2object<TextInterface>(ptr) 12640 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12641 const fontWeight0_value_buf_selector: number = thisDeserializer.readInt8() 12642 let fontWeight0_value_buf: number | FontWeight | string | undefined|undefined 12643 if (fontWeight0_value_buf_selector == 0) { 12644 fontWeight0_value_buf = (thisDeserializer.readNumber() as number) 12645 } 12646 else if (fontWeight0_value_buf_selector == 1) { 12647 fontWeight0_value_buf = (thisDeserializer.readInt32() as FontWeight) 12648 } 12649 else if (fontWeight0_value_buf_selector == 2) { 12650 fontWeight0_value_buf = (thisDeserializer.readString() as string) 12651 } 12652 else { 12653 throw new Error("One of the branches for fontWeight0_value_buf has to be chosen through deserialisation.") 12654 } 12655 node.fontWeight0_value = (fontWeight0_value_buf as number | FontWeight | string) 12656 } 12657 _TextAttribute_fontWeight1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12658 let node = this.ptr2object<TextInterface>(ptr) 12659 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12660 const fontWeight1_weight_buf_selector: number = thisDeserializer.readInt8() 12661 let fontWeight1_weight_buf: number | FontWeight | string | undefined|undefined 12662 if (fontWeight1_weight_buf_selector == 0) { 12663 fontWeight1_weight_buf = (thisDeserializer.readNumber() as number) 12664 } 12665 else if (fontWeight1_weight_buf_selector == 1) { 12666 fontWeight1_weight_buf = (thisDeserializer.readInt32() as FontWeight) 12667 } 12668 else if (fontWeight1_weight_buf_selector == 2) { 12669 fontWeight1_weight_buf = (thisDeserializer.readString() as string) 12670 } 12671 else { 12672 throw new Error("One of the branches for fontWeight1_weight_buf has to be chosen through deserialisation.") 12673 } 12674 node.fontWeight1_weight = (fontWeight1_weight_buf as number | FontWeight | string) 12675 const fontWeight1_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12676 let fontWeight1_options_buf: FontSettingOptions | undefined|undefined 12677 if ((RuntimeType.UNDEFINED) != (fontWeight1_options_buf_runtimeType)) 12678 { 12679 fontWeight1_options_buf = thisDeserializer.readFontSettingOptions() 12680 } 12681 node.fontWeight1_options = fontWeight1_options_buf 12682 } 12683 _TextAttribute_lineSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12684 let node = this.ptr2object<TextInterface>(ptr) 12685 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12686 node.lineSpacing_value = thisDeserializer.readLengthMetrics() 12687 } 12688 _TextAttribute_textAlign(ptr: KPointer, value: KInt): void { 12689 let node = this.ptr2object<TextInterface>(ptr) 12690 node.textAlign_value = value 12691 } 12692 _TextAttribute_lineHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12693 let node = this.ptr2object<TextInterface>(ptr) 12694 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12695 const lineHeight_value_buf_selector: number = thisDeserializer.readInt8() 12696 let lineHeight_value_buf: number | string | Resource | undefined|undefined 12697 if (lineHeight_value_buf_selector == 0) { 12698 lineHeight_value_buf = (thisDeserializer.readNumber() as number) 12699 } 12700 else if (lineHeight_value_buf_selector == 1) { 12701 lineHeight_value_buf = (thisDeserializer.readString() as string) 12702 } 12703 else if (lineHeight_value_buf_selector == 2) { 12704 lineHeight_value_buf = thisDeserializer.readResource() 12705 } 12706 else { 12707 throw new Error("One of the branches for lineHeight_value_buf has to be chosen through deserialisation.") 12708 } 12709 node.lineHeight_value = (lineHeight_value_buf as number | string | Resource) 12710 } 12711 _TextAttribute_textOverflow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12712 let node = this.ptr2object<TextInterface>(ptr) 12713 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12714 node.textOverflow_value = thisDeserializer.readTextOverflowOptions() 12715 } 12716 _TextAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12717 let node = this.ptr2object<TextInterface>(ptr) 12718 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12719 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 12720 let fontFamily_value_buf: string | Resource | undefined|undefined 12721 if (fontFamily_value_buf_selector == 0) { 12722 fontFamily_value_buf = (thisDeserializer.readString() as string) 12723 } 12724 else if (fontFamily_value_buf_selector == 1) { 12725 fontFamily_value_buf = thisDeserializer.readResource() 12726 } 12727 else { 12728 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 12729 } 12730 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 12731 } 12732 _TextAttribute_maxLines(ptr: KPointer, value: number): void { 12733 let node = this.ptr2object<TextInterface>(ptr) 12734 node.maxLines_value = value 12735 } 12736 _TextAttribute_decoration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12737 let node = this.ptr2object<TextInterface>(ptr) 12738 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12739 node.decoration_value = thisDeserializer.readDecorationStyleInterface() 12740 } 12741 _TextAttribute_letterSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12742 let node = this.ptr2object<TextInterface>(ptr) 12743 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12744 const letterSpacing_value_buf_selector: number = thisDeserializer.readInt8() 12745 let letterSpacing_value_buf: number | string | undefined|undefined 12746 if (letterSpacing_value_buf_selector == 0) { 12747 letterSpacing_value_buf = (thisDeserializer.readNumber() as number) 12748 } 12749 else if (letterSpacing_value_buf_selector == 1) { 12750 letterSpacing_value_buf = (thisDeserializer.readString() as string) 12751 } 12752 else { 12753 throw new Error("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.") 12754 } 12755 node.letterSpacing_value = (letterSpacing_value_buf as number | string) 12756 } 12757 _TextAttribute_textCase(ptr: KPointer, value: KInt): void { 12758 let node = this.ptr2object<TextInterface>(ptr) 12759 node.textCase_value = value 12760 } 12761 _TextAttribute_baselineOffset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12762 let node = this.ptr2object<TextInterface>(ptr) 12763 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12764 const baselineOffset_value_buf_selector: number = thisDeserializer.readInt8() 12765 let baselineOffset_value_buf: number | string | undefined|undefined 12766 if (baselineOffset_value_buf_selector == 0) { 12767 baselineOffset_value_buf = (thisDeserializer.readNumber() as number) 12768 } 12769 else if (baselineOffset_value_buf_selector == 1) { 12770 baselineOffset_value_buf = (thisDeserializer.readString() as string) 12771 } 12772 else { 12773 throw new Error("One of the branches for baselineOffset_value_buf has to be chosen through deserialisation.") 12774 } 12775 node.baselineOffset_value = (baselineOffset_value_buf as number | string) 12776 } 12777 _TextAttribute_copyOption(ptr: KPointer, value: KInt): void { 12778 let node = this.ptr2object<TextInterface>(ptr) 12779 node.copyOption_value = value 12780 } 12781 _TextAttribute_draggable(ptr: KPointer, value: KInt): void { 12782 let node = this.ptr2object<TextInterface>(ptr) 12783 node.draggable_value = value 12784 } 12785 _TextAttribute_textShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12786 let node = this.ptr2object<TextInterface>(ptr) 12787 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12788 const textShadow_value_buf_selector: number = thisDeserializer.readInt8() 12789 let textShadow_value_buf: ShadowOptions | Array<ShadowOptions> | undefined|undefined 12790 if (textShadow_value_buf_selector == 0) { 12791 textShadow_value_buf = thisDeserializer.readShadowOptions() 12792 } 12793 else if (textShadow_value_buf_selector == 1) { 12794 const textShadow_value_buf_u_length: int32 = thisDeserializer.readInt32() 12795 let textShadow_value_buf_u: Array<ShadowOptions> = new Array<ShadowOptions>() 12796 for (let textShadow_value_buf_u_i = 0; textShadow_value_buf_u_i < textShadow_value_buf_u_length; textShadow_value_buf_u_i++) { 12797 textShadow_value_buf_u[textShadow_value_buf_u_i] = thisDeserializer.readShadowOptions() 12798 } 12799 textShadow_value_buf = textShadow_value_buf_u 12800 } 12801 else { 12802 throw new Error("One of the branches for textShadow_value_buf has to be chosen through deserialisation.") 12803 } 12804 node.textShadow_value = (textShadow_value_buf as ShadowOptions | Array<ShadowOptions>) 12805 } 12806 _TextAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { 12807 let node = this.ptr2object<TextInterface>(ptr) 12808 node.heightAdaptivePolicy_value = value 12809 } 12810 _TextAttribute_textIndent(ptr: KPointer, value: Length): void { 12811 let node = this.ptr2object<TextInterface>(ptr) 12812 node.textIndent_value = value 12813 } 12814 _TextAttribute_wordBreak(ptr: KPointer, value: KInt): void { 12815 let node = this.ptr2object<TextInterface>(ptr) 12816 node.wordBreak_value = value 12817 } 12818 _TextAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { 12819 let node = this.ptr2object<TextInterface>(ptr) 12820 node.lineBreakStrategy_value = value 12821 } 12822 _TextAttribute_onCopy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12823 let node = this.ptr2object<TextInterface>(ptr) 12824 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12825 node.onCopy_value = thisDeserializer.readCallback_String_Void() 12826 } 12827 _TextAttribute_caretColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12828 let node = this.ptr2object<TextInterface>(ptr) 12829 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12830 const caretColor_value_buf_selector: number = thisDeserializer.readInt8() 12831 let caretColor_value_buf: Color | number | string | Resource | undefined|undefined 12832 if (caretColor_value_buf_selector == 0) { 12833 caretColor_value_buf = (thisDeserializer.readInt32() as Color) 12834 } 12835 else if (caretColor_value_buf_selector == 1) { 12836 caretColor_value_buf = (thisDeserializer.readNumber() as number) 12837 } 12838 else if (caretColor_value_buf_selector == 2) { 12839 caretColor_value_buf = (thisDeserializer.readString() as string) 12840 } 12841 else if (caretColor_value_buf_selector == 3) { 12842 caretColor_value_buf = thisDeserializer.readResource() 12843 } 12844 else { 12845 throw new Error("One of the branches for caretColor_value_buf has to be chosen through deserialisation.") 12846 } 12847 node.caretColor_value = (caretColor_value_buf as Color | number | string | Resource) 12848 } 12849 _TextAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12850 let node = this.ptr2object<TextInterface>(ptr) 12851 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12852 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 12853 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 12854 if (selectedBackgroundColor_value_buf_selector == 0) { 12855 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 12856 } 12857 else if (selectedBackgroundColor_value_buf_selector == 1) { 12858 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 12859 } 12860 else if (selectedBackgroundColor_value_buf_selector == 2) { 12861 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 12862 } 12863 else if (selectedBackgroundColor_value_buf_selector == 3) { 12864 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 12865 } 12866 else { 12867 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 12868 } 12869 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 12870 } 12871 _TextAttribute_ellipsisMode(ptr: KPointer, value: KInt): void { 12872 let node = this.ptr2object<TextInterface>(ptr) 12873 node.ellipsisMode_value = value 12874 } 12875 _TextAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { 12876 let node = this.ptr2object<TextInterface>(ptr) 12877 node.enableDataDetector_value = value 12878 } 12879 _TextAttribute_dataDetectorConfig(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12880 let node = this.ptr2object<TextInterface>(ptr) 12881 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12882 node.dataDetectorConfig_value = thisDeserializer.readTextDataDetectorConfig() 12883 } 12884 _TextAttribute_onTextSelectionChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12885 let node = this.ptr2object<TextInterface>(ptr) 12886 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12887 node.onTextSelectionChange_value = thisDeserializer.readCallback_Number_Number_Void() 12888 } 12889 _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { 12890 let node = this.ptr2object<TextInterface>(ptr) 12891 node.fontFeature_value = value 12892 } 12893 _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void { 12894 let node = this.ptr2object<TextInterface>(ptr) 12895 node.privacySensitive_value = value 12896 } 12897 _TextAttribute_textSelectable(ptr: KPointer, value: KInt): void { 12898 let node = this.ptr2object<TextInterface>(ptr) 12899 node.textSelectable_value = value 12900 } 12901 _TextAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12902 let node = this.ptr2object<TextInterface>(ptr) 12903 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12904 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 12905 } 12906 _TextAttribute_halfLeading(ptr: KPointer, value: KInt): void { 12907 let node = this.ptr2object<TextInterface>(ptr) 12908 node.halfLeading_value = value 12909 } 12910 _TextAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 12911 let node = this.ptr2object<TextInterface>(ptr) 12912 node.enableHapticFeedback_value = value 12913 } 12914 _TextAttribute_selection(ptr: KPointer, selectionStart: number, selectionEnd: number): void { 12915 let node = this.ptr2object<TextInterface>(ptr) 12916 node.selection_selectionStart = selectionStart 12917 node.selection_selectionEnd = selectionEnd 12918 } 12919 _TextAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: Uint8Array, thisLength: int32, responseType: KInt): void { 12920 let node = this.ptr2object<TextInterface>(ptr) 12921 node.bindSelectionMenu_spanType = spanType 12922 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12923 node.bindSelectionMenu_content = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 12924 node.bindSelectionMenu_responseType = thisLength 12925 const bindSelectionMenu_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12926 let bindSelectionMenu_options_buf: SelectionMenuOptions | undefined|undefined 12927 if ((RuntimeType.UNDEFINED) != (bindSelectionMenu_options_buf_runtimeType)) 12928 { 12929 bindSelectionMenu_options_buf = thisDeserializer.readSelectionMenuOptions() 12930 } 12931 node.bindSelectionMenu_options = bindSelectionMenu_options_buf 12932 } 12933 _TextAreaInterface_setTextAreaOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12934 let node = this.ptr2object<TextAreaInterface>(ptr) 12935 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12936 const setTextAreaOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 12937 let setTextAreaOptions_value_buf: TextAreaOptions | undefined|undefined 12938 if ((RuntimeType.UNDEFINED) != (setTextAreaOptions_value_buf_runtimeType)) 12939 { 12940 setTextAreaOptions_value_buf = thisDeserializer.readTextAreaOptions() 12941 } 12942 node.setTextAreaOptions_value = setTextAreaOptions_value_buf 12943 } 12944 _TextAreaAttribute_placeholderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12945 let node = this.ptr2object<TextAreaInterface>(ptr) 12946 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12947 const placeholderColor_value_buf_selector: number = thisDeserializer.readInt8() 12948 let placeholderColor_value_buf: Color | number | string | Resource | undefined|undefined 12949 if (placeholderColor_value_buf_selector == 0) { 12950 placeholderColor_value_buf = (thisDeserializer.readInt32() as Color) 12951 } 12952 else if (placeholderColor_value_buf_selector == 1) { 12953 placeholderColor_value_buf = (thisDeserializer.readNumber() as number) 12954 } 12955 else if (placeholderColor_value_buf_selector == 2) { 12956 placeholderColor_value_buf = (thisDeserializer.readString() as string) 12957 } 12958 else if (placeholderColor_value_buf_selector == 3) { 12959 placeholderColor_value_buf = thisDeserializer.readResource() 12960 } 12961 else { 12962 throw new Error("One of the branches for placeholderColor_value_buf has to be chosen through deserialisation.") 12963 } 12964 node.placeholderColor_value = (placeholderColor_value_buf as Color | number | string | Resource) 12965 } 12966 _TextAreaAttribute_placeholderFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12967 let node = this.ptr2object<TextAreaInterface>(ptr) 12968 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12969 node.placeholderFont_value = thisDeserializer.readFont() 12970 } 12971 _TextAreaAttribute_enterKeyType(ptr: KPointer, value: KInt): void { 12972 let node = this.ptr2object<TextAreaInterface>(ptr) 12973 node.enterKeyType_value = value 12974 } 12975 _TextAreaAttribute_textAlign(ptr: KPointer, value: KInt): void { 12976 let node = this.ptr2object<TextAreaInterface>(ptr) 12977 node.textAlign_value = value 12978 } 12979 _TextAreaAttribute_caretColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 12980 let node = this.ptr2object<TextAreaInterface>(ptr) 12981 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 12982 const caretColor_value_buf_selector: number = thisDeserializer.readInt8() 12983 let caretColor_value_buf: Color | number | string | Resource | undefined|undefined 12984 if (caretColor_value_buf_selector == 0) { 12985 caretColor_value_buf = (thisDeserializer.readInt32() as Color) 12986 } 12987 else if (caretColor_value_buf_selector == 1) { 12988 caretColor_value_buf = (thisDeserializer.readNumber() as number) 12989 } 12990 else if (caretColor_value_buf_selector == 2) { 12991 caretColor_value_buf = (thisDeserializer.readString() as string) 12992 } 12993 else if (caretColor_value_buf_selector == 3) { 12994 caretColor_value_buf = thisDeserializer.readResource() 12995 } 12996 else { 12997 throw new Error("One of the branches for caretColor_value_buf has to be chosen through deserialisation.") 12998 } 12999 node.caretColor_value = (caretColor_value_buf as Color | number | string | Resource) 13000 } 13001 _TextAreaAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13002 let node = this.ptr2object<TextAreaInterface>(ptr) 13003 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13004 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 13005 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 13006 if (fontColor_value_buf_selector == 0) { 13007 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 13008 } 13009 else if (fontColor_value_buf_selector == 1) { 13010 fontColor_value_buf = (thisDeserializer.readNumber() as number) 13011 } 13012 else if (fontColor_value_buf_selector == 2) { 13013 fontColor_value_buf = (thisDeserializer.readString() as string) 13014 } 13015 else if (fontColor_value_buf_selector == 3) { 13016 fontColor_value_buf = thisDeserializer.readResource() 13017 } 13018 else { 13019 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 13020 } 13021 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 13022 } 13023 _TextAreaAttribute_fontSize(ptr: KPointer, value: Length): void { 13024 let node = this.ptr2object<TextAreaInterface>(ptr) 13025 node.fontSize_value = value 13026 } 13027 _TextAreaAttribute_fontStyle(ptr: KPointer, value: KInt): void { 13028 let node = this.ptr2object<TextAreaInterface>(ptr) 13029 node.fontStyle_value = value 13030 } 13031 _TextAreaAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13032 let node = this.ptr2object<TextAreaInterface>(ptr) 13033 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13034 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 13035 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 13036 if (fontWeight_value_buf_selector == 0) { 13037 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 13038 } 13039 else if (fontWeight_value_buf_selector == 1) { 13040 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 13041 } 13042 else if (fontWeight_value_buf_selector == 2) { 13043 fontWeight_value_buf = (thisDeserializer.readString() as string) 13044 } 13045 else { 13046 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 13047 } 13048 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 13049 } 13050 _TextAreaAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13051 let node = this.ptr2object<TextAreaInterface>(ptr) 13052 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13053 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 13054 let fontFamily_value_buf: string | Resource | undefined|undefined 13055 if (fontFamily_value_buf_selector == 0) { 13056 fontFamily_value_buf = (thisDeserializer.readString() as string) 13057 } 13058 else if (fontFamily_value_buf_selector == 1) { 13059 fontFamily_value_buf = thisDeserializer.readResource() 13060 } 13061 else { 13062 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 13063 } 13064 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 13065 } 13066 _TextAreaAttribute_textOverflow(ptr: KPointer, value: KInt): void { 13067 let node = this.ptr2object<TextAreaInterface>(ptr) 13068 node.textOverflow_value = value 13069 } 13070 _TextAreaAttribute_textIndent(ptr: KPointer, value: Length): void { 13071 let node = this.ptr2object<TextAreaInterface>(ptr) 13072 node.textIndent_value = value 13073 } 13074 _TextAreaAttribute_caretStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13075 let node = this.ptr2object<TextAreaInterface>(ptr) 13076 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13077 node.caretStyle_value = thisDeserializer.readCaretStyle() 13078 } 13079 _TextAreaAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13080 let node = this.ptr2object<TextAreaInterface>(ptr) 13081 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13082 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 13083 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 13084 if (selectedBackgroundColor_value_buf_selector == 0) { 13085 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 13086 } 13087 else if (selectedBackgroundColor_value_buf_selector == 1) { 13088 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 13089 } 13090 else if (selectedBackgroundColor_value_buf_selector == 2) { 13091 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 13092 } 13093 else if (selectedBackgroundColor_value_buf_selector == 3) { 13094 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 13095 } 13096 else { 13097 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 13098 } 13099 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 13100 } 13101 _TextAreaAttribute_onSubmit0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13102 let node = this.ptr2object<TextAreaInterface>(ptr) 13103 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13104 node.onSubmit0_value = thisDeserializer.readCallback_EnterKeyType_Void() 13105 } 13106 _TextAreaAttribute_onSubmit1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13107 let node = this.ptr2object<TextAreaInterface>(ptr) 13108 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13109 node.onSubmit1_value = thisDeserializer.readTextAreaSubmitCallback() 13110 } 13111 _TextAreaAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13112 let node = this.ptr2object<TextAreaInterface>(ptr) 13113 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13114 node.onChange_value = thisDeserializer.readEditableTextOnChangeCallback() 13115 } 13116 _TextAreaAttribute_onTextSelectionChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13117 let node = this.ptr2object<TextAreaInterface>(ptr) 13118 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13119 node.onTextSelectionChange_value = thisDeserializer.readCallback_Number_Number_Void() 13120 } 13121 _TextAreaAttribute_onContentScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13122 let node = this.ptr2object<TextAreaInterface>(ptr) 13123 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13124 node.onContentScroll_value = thisDeserializer.readCallback_Number_Number_Void() 13125 } 13126 _TextAreaAttribute_onEditChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13127 let node = this.ptr2object<TextAreaInterface>(ptr) 13128 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13129 node.onEditChange_value = thisDeserializer.readCallback_Boolean_Void() 13130 } 13131 _TextAreaAttribute_onCopy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13132 let node = this.ptr2object<TextAreaInterface>(ptr) 13133 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13134 node.onCopy_value = thisDeserializer.readCallback_String_Void() 13135 } 13136 _TextAreaAttribute_onCut(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13137 let node = this.ptr2object<TextAreaInterface>(ptr) 13138 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13139 node.onCut_value = thisDeserializer.readCallback_String_Void() 13140 } 13141 _TextAreaAttribute_onPaste(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13142 let node = this.ptr2object<TextAreaInterface>(ptr) 13143 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13144 node.onPaste_value = thisDeserializer.readCallback_String_PasteEvent_Void() 13145 } 13146 _TextAreaAttribute_copyOption(ptr: KPointer, value: KInt): void { 13147 let node = this.ptr2object<TextAreaInterface>(ptr) 13148 node.copyOption_value = value 13149 } 13150 _TextAreaAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { 13151 let node = this.ptr2object<TextAreaInterface>(ptr) 13152 node.enableKeyboardOnFocus_value = value 13153 } 13154 _TextAreaAttribute_maxLength(ptr: KPointer, value: number): void { 13155 let node = this.ptr2object<TextAreaInterface>(ptr) 13156 node.maxLength_value = value 13157 } 13158 _TextAreaAttribute_style(ptr: KPointer, value: KInt): void { 13159 let node = this.ptr2object<TextAreaInterface>(ptr) 13160 node.style_value = value 13161 } 13162 _TextAreaAttribute_barState(ptr: KPointer, value: KInt): void { 13163 let node = this.ptr2object<TextAreaInterface>(ptr) 13164 node.barState_value = value 13165 } 13166 _TextAreaAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { 13167 let node = this.ptr2object<TextAreaInterface>(ptr) 13168 node.selectionMenuHidden_value = value 13169 } 13170 _TextAreaAttribute_minFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13171 let node = this.ptr2object<TextAreaInterface>(ptr) 13172 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13173 const minFontSize_value_buf_selector: number = thisDeserializer.readInt8() 13174 let minFontSize_value_buf: number | string | Resource | undefined|undefined 13175 if (minFontSize_value_buf_selector == 0) { 13176 minFontSize_value_buf = (thisDeserializer.readNumber() as number) 13177 } 13178 else if (minFontSize_value_buf_selector == 1) { 13179 minFontSize_value_buf = (thisDeserializer.readString() as string) 13180 } 13181 else if (minFontSize_value_buf_selector == 2) { 13182 minFontSize_value_buf = thisDeserializer.readResource() 13183 } 13184 else { 13185 throw new Error("One of the branches for minFontSize_value_buf has to be chosen through deserialisation.") 13186 } 13187 node.minFontSize_value = (minFontSize_value_buf as number | string | Resource) 13188 } 13189 _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13190 let node = this.ptr2object<TextAreaInterface>(ptr) 13191 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13192 const maxFontSize_value_buf_selector: number = thisDeserializer.readInt8() 13193 let maxFontSize_value_buf: number | string | Resource | undefined|undefined 13194 if (maxFontSize_value_buf_selector == 0) { 13195 maxFontSize_value_buf = (thisDeserializer.readNumber() as number) 13196 } 13197 else if (maxFontSize_value_buf_selector == 1) { 13198 maxFontSize_value_buf = (thisDeserializer.readString() as string) 13199 } 13200 else if (maxFontSize_value_buf_selector == 2) { 13201 maxFontSize_value_buf = thisDeserializer.readResource() 13202 } 13203 else { 13204 throw new Error("One of the branches for maxFontSize_value_buf has to be chosen through deserialisation.") 13205 } 13206 node.maxFontSize_value = (maxFontSize_value_buf as number | string | Resource) 13207 } 13208 _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { 13209 let node = this.ptr2object<TextAreaInterface>(ptr) 13210 node.heightAdaptivePolicy_value = value 13211 } 13212 _TextAreaAttribute_maxLines(ptr: KPointer, value: number): void { 13213 let node = this.ptr2object<TextAreaInterface>(ptr) 13214 node.maxLines_value = value 13215 } 13216 _TextAreaAttribute_wordBreak(ptr: KPointer, value: KInt): void { 13217 let node = this.ptr2object<TextAreaInterface>(ptr) 13218 node.wordBreak_value = value 13219 } 13220 _TextAreaAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { 13221 let node = this.ptr2object<TextAreaInterface>(ptr) 13222 node.lineBreakStrategy_value = value 13223 } 13224 _TextAreaAttribute_decoration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13225 let node = this.ptr2object<TextAreaInterface>(ptr) 13226 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13227 node.decoration_value = thisDeserializer.readTextDecorationOptions() 13228 } 13229 _TextAreaAttribute_letterSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13230 let node = this.ptr2object<TextAreaInterface>(ptr) 13231 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13232 const letterSpacing_value_buf_selector: number = thisDeserializer.readInt8() 13233 let letterSpacing_value_buf: number | string | Resource | undefined|undefined 13234 if (letterSpacing_value_buf_selector == 0) { 13235 letterSpacing_value_buf = (thisDeserializer.readNumber() as number) 13236 } 13237 else if (letterSpacing_value_buf_selector == 1) { 13238 letterSpacing_value_buf = (thisDeserializer.readString() as string) 13239 } 13240 else if (letterSpacing_value_buf_selector == 2) { 13241 letterSpacing_value_buf = thisDeserializer.readResource() 13242 } 13243 else { 13244 throw new Error("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.") 13245 } 13246 node.letterSpacing_value = (letterSpacing_value_buf as number | string | Resource) 13247 } 13248 _TextAreaAttribute_lineSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13249 let node = this.ptr2object<TextAreaInterface>(ptr) 13250 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13251 node.lineSpacing_value = thisDeserializer.readLengthMetrics() 13252 } 13253 _TextAreaAttribute_lineHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13254 let node = this.ptr2object<TextAreaInterface>(ptr) 13255 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13256 const lineHeight_value_buf_selector: number = thisDeserializer.readInt8() 13257 let lineHeight_value_buf: number | string | Resource | undefined|undefined 13258 if (lineHeight_value_buf_selector == 0) { 13259 lineHeight_value_buf = (thisDeserializer.readNumber() as number) 13260 } 13261 else if (lineHeight_value_buf_selector == 1) { 13262 lineHeight_value_buf = (thisDeserializer.readString() as string) 13263 } 13264 else if (lineHeight_value_buf_selector == 2) { 13265 lineHeight_value_buf = thisDeserializer.readResource() 13266 } 13267 else { 13268 throw new Error("One of the branches for lineHeight_value_buf has to be chosen through deserialisation.") 13269 } 13270 node.lineHeight_value = (lineHeight_value_buf as number | string | Resource) 13271 } 13272 _TextAreaAttribute_type(ptr: KPointer, value: KInt): void { 13273 let node = this.ptr2object<TextAreaInterface>(ptr) 13274 node.type_value = value 13275 } 13276 _TextAreaAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { 13277 let node = this.ptr2object<TextAreaInterface>(ptr) 13278 node.enableAutoFill_value = value 13279 } 13280 _TextAreaAttribute_contentType(ptr: KPointer, value: KInt): void { 13281 let node = this.ptr2object<TextAreaInterface>(ptr) 13282 node.contentType_value = value 13283 } 13284 _TextAreaAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { 13285 let node = this.ptr2object<TextAreaInterface>(ptr) 13286 node.fontFeature_value = value 13287 } 13288 _TextAreaAttribute_onWillInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13289 let node = this.ptr2object<TextAreaInterface>(ptr) 13290 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13291 node.onWillInsert_value = thisDeserializer.readCallback_InsertValue_Boolean() 13292 } 13293 _TextAreaAttribute_onDidInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13294 let node = this.ptr2object<TextAreaInterface>(ptr) 13295 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13296 node.onDidInsert_value = thisDeserializer.readCallback_InsertValue_Void() 13297 } 13298 _TextAreaAttribute_onWillDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13299 let node = this.ptr2object<TextAreaInterface>(ptr) 13300 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13301 node.onWillDelete_value = thisDeserializer.readCallback_DeleteValue_Boolean() 13302 } 13303 _TextAreaAttribute_onDidDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13304 let node = this.ptr2object<TextAreaInterface>(ptr) 13305 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13306 node.onDidDelete_value = thisDeserializer.readCallback_DeleteValue_Void() 13307 } 13308 _TextAreaAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13309 let node = this.ptr2object<TextAreaInterface>(ptr) 13310 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13311 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 13312 } 13313 _TextAreaAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { 13314 let node = this.ptr2object<TextAreaInterface>(ptr) 13315 node.enablePreviewText_value = value 13316 } 13317 _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 13318 let node = this.ptr2object<TextAreaInterface>(ptr) 13319 node.enableHapticFeedback_value = value 13320 } 13321 _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13322 let node = this.ptr2object<TextAreaInterface>(ptr) 13323 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13324 const inputFilter_value_buf_selector: number = thisDeserializer.readInt8() 13325 let inputFilter_value_buf: string | Resource | undefined|undefined 13326 if (inputFilter_value_buf_selector == 0) { 13327 inputFilter_value_buf = (thisDeserializer.readString() as string) 13328 } 13329 else if (inputFilter_value_buf_selector == 1) { 13330 inputFilter_value_buf = thisDeserializer.readResource() 13331 } 13332 else { 13333 throw new Error("One of the branches for inputFilter_value_buf has to be chosen through deserialisation.") 13334 } 13335 node.inputFilter_value = (inputFilter_value_buf as string | Resource) 13336 const inputFilter_error_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13337 let inputFilter_error_buf: ((breakpoints: string) => void) | undefined|undefined 13338 if ((RuntimeType.UNDEFINED) != (inputFilter_error_buf_runtimeType)) 13339 { 13340 inputFilter_error_buf = thisDeserializer.readCallback_String_Void() 13341 } 13342 node.inputFilter_error = inputFilter_error_buf 13343 } 13344 _TextAreaAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 13345 let node = this.ptr2object<TextAreaInterface>(ptr) 13346 node.showCounter_value = value 13347 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13348 const showCounter_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13349 let showCounter_options_buf: InputCounterOptions | undefined|undefined 13350 if ((RuntimeType.UNDEFINED) != (showCounter_options_buf_runtimeType)) 13351 { 13352 showCounter_options_buf = thisDeserializer.readInputCounterOptions() 13353 } 13354 node.showCounter_options = showCounter_options_buf 13355 } 13356 _TextAreaAttribute_customKeyboard(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13357 let node = this.ptr2object<TextAreaInterface>(ptr) 13358 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13359 node.customKeyboard_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 13360 const customKeyboard_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13361 let customKeyboard_options_buf: KeyboardOptions | undefined|undefined 13362 if ((RuntimeType.UNDEFINED) != (customKeyboard_options_buf_runtimeType)) 13363 { 13364 customKeyboard_options_buf = thisDeserializer.readKeyboardOptions() 13365 } 13366 node.customKeyboard_options = customKeyboard_options_buf 13367 } 13368 _TextClockInterface_setTextClockOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13369 let node = this.ptr2object<TextClockInterface>(ptr) 13370 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13371 const setTextClockOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13372 let setTextClockOptions_options_buf: TextClockOptions | undefined|undefined 13373 if ((RuntimeType.UNDEFINED) != (setTextClockOptions_options_buf_runtimeType)) 13374 { 13375 setTextClockOptions_options_buf = thisDeserializer.readTextClockOptions() 13376 } 13377 node.setTextClockOptions_options = setTextClockOptions_options_buf 13378 } 13379 _TextClockAttribute_format(ptr: KPointer, value: KStringPtr): void { 13380 let node = this.ptr2object<TextClockInterface>(ptr) 13381 node.format_value = value 13382 } 13383 _TextClockAttribute_onDateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13384 let node = this.ptr2object<TextClockInterface>(ptr) 13385 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13386 node.onDateChange_value = thisDeserializer.readCallback_Number_Void() 13387 } 13388 _TextClockAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13389 let node = this.ptr2object<TextClockInterface>(ptr) 13390 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13391 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 13392 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 13393 if (fontColor_value_buf_selector == 0) { 13394 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 13395 } 13396 else if (fontColor_value_buf_selector == 1) { 13397 fontColor_value_buf = (thisDeserializer.readNumber() as number) 13398 } 13399 else if (fontColor_value_buf_selector == 2) { 13400 fontColor_value_buf = (thisDeserializer.readString() as string) 13401 } 13402 else if (fontColor_value_buf_selector == 3) { 13403 fontColor_value_buf = thisDeserializer.readResource() 13404 } 13405 else { 13406 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 13407 } 13408 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 13409 } 13410 _TextClockAttribute_fontSize(ptr: KPointer, value: Length): void { 13411 let node = this.ptr2object<TextClockInterface>(ptr) 13412 node.fontSize_value = value 13413 } 13414 _TextClockAttribute_fontStyle(ptr: KPointer, value: KInt): void { 13415 let node = this.ptr2object<TextClockInterface>(ptr) 13416 node.fontStyle_value = value 13417 } 13418 _TextClockAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13419 let node = this.ptr2object<TextClockInterface>(ptr) 13420 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13421 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 13422 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 13423 if (fontWeight_value_buf_selector == 0) { 13424 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 13425 } 13426 else if (fontWeight_value_buf_selector == 1) { 13427 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 13428 } 13429 else if (fontWeight_value_buf_selector == 2) { 13430 fontWeight_value_buf = (thisDeserializer.readString() as string) 13431 } 13432 else { 13433 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 13434 } 13435 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 13436 } 13437 _TextClockAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13438 let node = this.ptr2object<TextClockInterface>(ptr) 13439 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13440 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 13441 let fontFamily_value_buf: string | Resource | undefined|undefined 13442 if (fontFamily_value_buf_selector == 0) { 13443 fontFamily_value_buf = (thisDeserializer.readString() as string) 13444 } 13445 else if (fontFamily_value_buf_selector == 1) { 13446 fontFamily_value_buf = thisDeserializer.readResource() 13447 } 13448 else { 13449 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 13450 } 13451 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 13452 } 13453 _TextClockAttribute_textShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13454 let node = this.ptr2object<TextClockInterface>(ptr) 13455 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13456 const textShadow_value_buf_selector: number = thisDeserializer.readInt8() 13457 let textShadow_value_buf: ShadowOptions | Array<ShadowOptions> | undefined|undefined 13458 if (textShadow_value_buf_selector == 0) { 13459 textShadow_value_buf = thisDeserializer.readShadowOptions() 13460 } 13461 else if (textShadow_value_buf_selector == 1) { 13462 const textShadow_value_buf_u_length: int32 = thisDeserializer.readInt32() 13463 let textShadow_value_buf_u: Array<ShadowOptions> = new Array<ShadowOptions>() 13464 for (let textShadow_value_buf_u_i = 0; textShadow_value_buf_u_i < textShadow_value_buf_u_length; textShadow_value_buf_u_i++) { 13465 textShadow_value_buf_u[textShadow_value_buf_u_i] = thisDeserializer.readShadowOptions() 13466 } 13467 textShadow_value_buf = textShadow_value_buf_u 13468 } 13469 else { 13470 throw new Error("One of the branches for textShadow_value_buf has to be chosen through deserialisation.") 13471 } 13472 node.textShadow_value = (textShadow_value_buf as ShadowOptions | Array<ShadowOptions>) 13473 } 13474 _TextClockAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { 13475 let node = this.ptr2object<TextClockInterface>(ptr) 13476 node.fontFeature_value = value 13477 } 13478 _TextClockAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13479 let node = this.ptr2object<TextClockInterface>(ptr) 13480 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13481 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 13482 } 13483 _TextClockAttribute_dateTimeOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13484 let node = this.ptr2object<TextClockInterface>(ptr) 13485 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13486 const dateTimeOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13487 let dateTimeOptions_value_buf: DateTimeOptions | undefined|undefined 13488 if ((RuntimeType.UNDEFINED) != (dateTimeOptions_value_buf_runtimeType)) 13489 { 13490 dateTimeOptions_value_buf = thisDeserializer.readDateTimeOptions() 13491 } 13492 node.dateTimeOptions_value = dateTimeOptions_value_buf 13493 } 13494 _TextInputInterface_setTextInputOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13495 let node = this.ptr2object<TextInputInterface>(ptr) 13496 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13497 const setTextInputOptions_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13498 let setTextInputOptions_value_buf: TextInputOptions | undefined|undefined 13499 if ((RuntimeType.UNDEFINED) != (setTextInputOptions_value_buf_runtimeType)) 13500 { 13501 setTextInputOptions_value_buf = thisDeserializer.readTextInputOptions() 13502 } 13503 node.setTextInputOptions_value = setTextInputOptions_value_buf 13504 } 13505 _TextInputAttribute_type(ptr: KPointer, value: KInt): void { 13506 let node = this.ptr2object<TextInputInterface>(ptr) 13507 node.type_value = value 13508 } 13509 _TextInputAttribute_contentType(ptr: KPointer, value: KInt): void { 13510 let node = this.ptr2object<TextInputInterface>(ptr) 13511 node.contentType_value = value 13512 } 13513 _TextInputAttribute_placeholderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13514 let node = this.ptr2object<TextInputInterface>(ptr) 13515 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13516 const placeholderColor_value_buf_selector: number = thisDeserializer.readInt8() 13517 let placeholderColor_value_buf: Color | number | string | Resource | undefined|undefined 13518 if (placeholderColor_value_buf_selector == 0) { 13519 placeholderColor_value_buf = (thisDeserializer.readInt32() as Color) 13520 } 13521 else if (placeholderColor_value_buf_selector == 1) { 13522 placeholderColor_value_buf = (thisDeserializer.readNumber() as number) 13523 } 13524 else if (placeholderColor_value_buf_selector == 2) { 13525 placeholderColor_value_buf = (thisDeserializer.readString() as string) 13526 } 13527 else if (placeholderColor_value_buf_selector == 3) { 13528 placeholderColor_value_buf = thisDeserializer.readResource() 13529 } 13530 else { 13531 throw new Error("One of the branches for placeholderColor_value_buf has to be chosen through deserialisation.") 13532 } 13533 node.placeholderColor_value = (placeholderColor_value_buf as Color | number | string | Resource) 13534 } 13535 _TextInputAttribute_textOverflow(ptr: KPointer, value: KInt): void { 13536 let node = this.ptr2object<TextInputInterface>(ptr) 13537 node.textOverflow_value = value 13538 } 13539 _TextInputAttribute_textIndent(ptr: KPointer, value: Length): void { 13540 let node = this.ptr2object<TextInputInterface>(ptr) 13541 node.textIndent_value = value 13542 } 13543 _TextInputAttribute_placeholderFont(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13544 let node = this.ptr2object<TextInputInterface>(ptr) 13545 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13546 const placeholderFont_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13547 let placeholderFont_value_buf: Font | undefined|undefined 13548 if ((RuntimeType.UNDEFINED) != (placeholderFont_value_buf_runtimeType)) 13549 { 13550 placeholderFont_value_buf = thisDeserializer.readFont() 13551 } 13552 node.placeholderFont_value = placeholderFont_value_buf 13553 } 13554 _TextInputAttribute_enterKeyType(ptr: KPointer, value: KInt): void { 13555 let node = this.ptr2object<TextInputInterface>(ptr) 13556 node.enterKeyType_value = value 13557 } 13558 _TextInputAttribute_caretColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13559 let node = this.ptr2object<TextInputInterface>(ptr) 13560 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13561 const caretColor_value_buf_selector: number = thisDeserializer.readInt8() 13562 let caretColor_value_buf: Color | number | string | Resource | undefined|undefined 13563 if (caretColor_value_buf_selector == 0) { 13564 caretColor_value_buf = (thisDeserializer.readInt32() as Color) 13565 } 13566 else if (caretColor_value_buf_selector == 1) { 13567 caretColor_value_buf = (thisDeserializer.readNumber() as number) 13568 } 13569 else if (caretColor_value_buf_selector == 2) { 13570 caretColor_value_buf = (thisDeserializer.readString() as string) 13571 } 13572 else if (caretColor_value_buf_selector == 3) { 13573 caretColor_value_buf = thisDeserializer.readResource() 13574 } 13575 else { 13576 throw new Error("One of the branches for caretColor_value_buf has to be chosen through deserialisation.") 13577 } 13578 node.caretColor_value = (caretColor_value_buf as Color | number | string | Resource) 13579 } 13580 _TextInputAttribute_onEditChanged(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13581 let node = this.ptr2object<TextInputInterface>(ptr) 13582 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13583 node.onEditChanged_value = thisDeserializer.readCallback_Boolean_Void() 13584 } 13585 _TextInputAttribute_onEditChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13586 let node = this.ptr2object<TextInputInterface>(ptr) 13587 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13588 node.onEditChange_value = thisDeserializer.readCallback_Boolean_Void() 13589 } 13590 _TextInputAttribute_onSubmit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13591 let node = this.ptr2object<TextInputInterface>(ptr) 13592 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13593 node.onSubmit_value = thisDeserializer.readOnSubmitCallback() 13594 } 13595 _TextInputAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13596 let node = this.ptr2object<TextInputInterface>(ptr) 13597 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13598 node.onChange_value = thisDeserializer.readEditableTextOnChangeCallback() 13599 } 13600 _TextInputAttribute_onTextSelectionChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13601 let node = this.ptr2object<TextInputInterface>(ptr) 13602 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13603 node.onTextSelectionChange_value = thisDeserializer.readOnTextSelectionChangeCallback() 13604 } 13605 _TextInputAttribute_onContentScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13606 let node = this.ptr2object<TextInputInterface>(ptr) 13607 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13608 node.onContentScroll_value = thisDeserializer.readOnContentScrollCallback() 13609 } 13610 _TextInputAttribute_maxLength(ptr: KPointer, value: number): void { 13611 let node = this.ptr2object<TextInputInterface>(ptr) 13612 node.maxLength_value = value 13613 } 13614 _TextInputAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13615 let node = this.ptr2object<TextInputInterface>(ptr) 13616 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13617 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 13618 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 13619 if (fontColor_value_buf_selector == 0) { 13620 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 13621 } 13622 else if (fontColor_value_buf_selector == 1) { 13623 fontColor_value_buf = (thisDeserializer.readNumber() as number) 13624 } 13625 else if (fontColor_value_buf_selector == 2) { 13626 fontColor_value_buf = (thisDeserializer.readString() as string) 13627 } 13628 else if (fontColor_value_buf_selector == 3) { 13629 fontColor_value_buf = thisDeserializer.readResource() 13630 } 13631 else { 13632 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 13633 } 13634 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 13635 } 13636 _TextInputAttribute_fontSize(ptr: KPointer, value: Length): void { 13637 let node = this.ptr2object<TextInputInterface>(ptr) 13638 node.fontSize_value = value 13639 } 13640 _TextInputAttribute_fontStyle(ptr: KPointer, value: KInt): void { 13641 let node = this.ptr2object<TextInputInterface>(ptr) 13642 node.fontStyle_value = value 13643 } 13644 _TextInputAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13645 let node = this.ptr2object<TextInputInterface>(ptr) 13646 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13647 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 13648 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 13649 if (fontWeight_value_buf_selector == 0) { 13650 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 13651 } 13652 else if (fontWeight_value_buf_selector == 1) { 13653 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 13654 } 13655 else if (fontWeight_value_buf_selector == 2) { 13656 fontWeight_value_buf = (thisDeserializer.readString() as string) 13657 } 13658 else { 13659 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 13660 } 13661 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 13662 } 13663 _TextInputAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13664 let node = this.ptr2object<TextInputInterface>(ptr) 13665 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13666 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 13667 let fontFamily_value_buf: string | Resource | undefined|undefined 13668 if (fontFamily_value_buf_selector == 0) { 13669 fontFamily_value_buf = (thisDeserializer.readString() as string) 13670 } 13671 else if (fontFamily_value_buf_selector == 1) { 13672 fontFamily_value_buf = thisDeserializer.readResource() 13673 } 13674 else { 13675 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 13676 } 13677 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 13678 } 13679 _TextInputAttribute_onCopy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13680 let node = this.ptr2object<TextInputInterface>(ptr) 13681 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13682 node.onCopy_value = thisDeserializer.readCallback_String_Void() 13683 } 13684 _TextInputAttribute_onCut(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13685 let node = this.ptr2object<TextInputInterface>(ptr) 13686 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13687 node.onCut_value = thisDeserializer.readCallback_String_Void() 13688 } 13689 _TextInputAttribute_onPaste(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13690 let node = this.ptr2object<TextInputInterface>(ptr) 13691 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13692 node.onPaste_value = thisDeserializer.readOnPasteCallback() 13693 } 13694 _TextInputAttribute_copyOption(ptr: KPointer, value: KInt): void { 13695 let node = this.ptr2object<TextInputInterface>(ptr) 13696 node.copyOption_value = value 13697 } 13698 _TextInputAttribute_showPasswordIcon(ptr: KPointer, value: KInt): void { 13699 let node = this.ptr2object<TextInputInterface>(ptr) 13700 node.showPasswordIcon_value = value 13701 } 13702 _TextInputAttribute_textAlign(ptr: KPointer, value: KInt): void { 13703 let node = this.ptr2object<TextInputInterface>(ptr) 13704 node.textAlign_value = value 13705 } 13706 _TextInputAttribute_style(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13707 let node = this.ptr2object<TextInputInterface>(ptr) 13708 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13709 const style_value_buf_selector: number = thisDeserializer.readInt8() 13710 let style_value_buf: TextInputStyle | TextContentStyle | undefined|undefined 13711 if (style_value_buf_selector == 0) { 13712 style_value_buf = (thisDeserializer.readInt32() as TextInputStyle) 13713 } 13714 else if (style_value_buf_selector == 1) { 13715 style_value_buf = (thisDeserializer.readInt32() as TextContentStyle) 13716 } 13717 else { 13718 throw new Error("One of the branches for style_value_buf has to be chosen through deserialisation.") 13719 } 13720 node.style_value = (style_value_buf as TextInputStyle | TextContentStyle) 13721 } 13722 _TextInputAttribute_caretStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13723 let node = this.ptr2object<TextInputInterface>(ptr) 13724 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13725 node.caretStyle_value = thisDeserializer.readCaretStyle() 13726 } 13727 _TextInputAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13728 let node = this.ptr2object<TextInputInterface>(ptr) 13729 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13730 const selectedBackgroundColor_value_buf_selector: number = thisDeserializer.readInt8() 13731 let selectedBackgroundColor_value_buf: Color | number | string | Resource | undefined|undefined 13732 if (selectedBackgroundColor_value_buf_selector == 0) { 13733 selectedBackgroundColor_value_buf = (thisDeserializer.readInt32() as Color) 13734 } 13735 else if (selectedBackgroundColor_value_buf_selector == 1) { 13736 selectedBackgroundColor_value_buf = (thisDeserializer.readNumber() as number) 13737 } 13738 else if (selectedBackgroundColor_value_buf_selector == 2) { 13739 selectedBackgroundColor_value_buf = (thisDeserializer.readString() as string) 13740 } 13741 else if (selectedBackgroundColor_value_buf_selector == 3) { 13742 selectedBackgroundColor_value_buf = thisDeserializer.readResource() 13743 } 13744 else { 13745 throw new Error("One of the branches for selectedBackgroundColor_value_buf has to be chosen through deserialisation.") 13746 } 13747 node.selectedBackgroundColor_value = (selectedBackgroundColor_value_buf as Color | number | string | Resource) 13748 } 13749 _TextInputAttribute_caretPosition(ptr: KPointer, value: number): void { 13750 let node = this.ptr2object<TextInputInterface>(ptr) 13751 node.caretPosition_value = value 13752 } 13753 _TextInputAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { 13754 let node = this.ptr2object<TextInputInterface>(ptr) 13755 node.enableKeyboardOnFocus_value = value 13756 } 13757 _TextInputAttribute_passwordIcon(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13758 let node = this.ptr2object<TextInputInterface>(ptr) 13759 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13760 node.passwordIcon_value = thisDeserializer.readPasswordIcon() 13761 } 13762 _TextInputAttribute_showError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13763 let node = this.ptr2object<TextInputInterface>(ptr) 13764 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13765 const showError_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13766 let showError_value_buf: ResourceStr | undefined|undefined 13767 if ((RuntimeType.UNDEFINED) != (showError_value_buf_runtimeType)) 13768 { 13769 const showError_value_buf__selector: number = thisDeserializer.readInt8() 13770 let showError_value_buf_: string | Resource | undefined|undefined 13771 if (showError_value_buf__selector == 0) { 13772 showError_value_buf_ = (thisDeserializer.readString() as string) 13773 } 13774 else if (showError_value_buf__selector == 1) { 13775 showError_value_buf_ = thisDeserializer.readResource() 13776 } 13777 else { 13778 throw new Error("One of the branches for showError_value_buf_ has to be chosen through deserialisation.") 13779 } 13780 showError_value_buf = (showError_value_buf_ as string | Resource) 13781 } 13782 node.showError_value = showError_value_buf 13783 } 13784 _TextInputAttribute_showUnit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13785 let node = this.ptr2object<TextInputInterface>(ptr) 13786 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13787 node.showUnit_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 13788 } 13789 _TextInputAttribute_showUnderline(ptr: KPointer, value: KInt): void { 13790 let node = this.ptr2object<TextInputInterface>(ptr) 13791 node.showUnderline_value = value 13792 } 13793 _TextInputAttribute_underlineColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13794 let node = this.ptr2object<TextInputInterface>(ptr) 13795 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13796 const underlineColor_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 13797 let underlineColor_value_buf: ResourceColor | UnderlineColor | undefined|undefined 13798 if ((RuntimeType.UNDEFINED) != (underlineColor_value_buf_runtimeType)) 13799 { 13800 const underlineColor_value_buf__selector: number = thisDeserializer.readInt8() 13801 let underlineColor_value_buf_: ResourceColor | UnderlineColor | undefined|undefined 13802 if (underlineColor_value_buf__selector == 0) { 13803 const underlineColor_value_buf__u_selector: number = thisDeserializer.readInt8() 13804 let underlineColor_value_buf__u: Color | number | string | Resource | undefined|undefined 13805 if (underlineColor_value_buf__u_selector == 0) { 13806 underlineColor_value_buf__u = (thisDeserializer.readInt32() as Color) 13807 } 13808 else if (underlineColor_value_buf__u_selector == 1) { 13809 underlineColor_value_buf__u = (thisDeserializer.readNumber() as number) 13810 } 13811 else if (underlineColor_value_buf__u_selector == 2) { 13812 underlineColor_value_buf__u = (thisDeserializer.readString() as string) 13813 } 13814 else if (underlineColor_value_buf__u_selector == 3) { 13815 underlineColor_value_buf__u = thisDeserializer.readResource() 13816 } 13817 else { 13818 throw new Error("One of the branches for underlineColor_value_buf__u has to be chosen through deserialisation.") 13819 } 13820 underlineColor_value_buf_ = (underlineColor_value_buf__u as Color | number | string | Resource) 13821 } 13822 else if (underlineColor_value_buf__selector == 1) { 13823 underlineColor_value_buf_ = thisDeserializer.readUnderlineColor() 13824 } 13825 else { 13826 throw new Error("One of the branches for underlineColor_value_buf_ has to be chosen through deserialisation.") 13827 } 13828 underlineColor_value_buf = (underlineColor_value_buf_ as ResourceColor | UnderlineColor) 13829 } 13830 node.underlineColor_value = underlineColor_value_buf 13831 } 13832 _TextInputAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { 13833 let node = this.ptr2object<TextInputInterface>(ptr) 13834 node.selectionMenuHidden_value = value 13835 } 13836 _TextInputAttribute_barState(ptr: KPointer, value: KInt): void { 13837 let node = this.ptr2object<TextInputInterface>(ptr) 13838 node.barState_value = value 13839 } 13840 _TextInputAttribute_maxLines(ptr: KPointer, value: number): void { 13841 let node = this.ptr2object<TextInputInterface>(ptr) 13842 node.maxLines_value = value 13843 } 13844 _TextInputAttribute_wordBreak(ptr: KPointer, value: KInt): void { 13845 let node = this.ptr2object<TextInputInterface>(ptr) 13846 node.wordBreak_value = value 13847 } 13848 _TextInputAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { 13849 let node = this.ptr2object<TextInputInterface>(ptr) 13850 node.lineBreakStrategy_value = value 13851 } 13852 _TextInputAttribute_cancelButton0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13853 let node = this.ptr2object<TextInputInterface>(ptr) 13854 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13855 node.cancelButton0_value = thisDeserializer.readCancelButtonOptions() 13856 } 13857 _TextInputAttribute_cancelButton1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13858 let node = this.ptr2object<TextInputInterface>(ptr) 13859 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13860 node.cancelButton1_value = thisDeserializer.readCancelButtonSymbolOptions() 13861 } 13862 _TextInputAttribute_selectAll(ptr: KPointer, value: KInt): void { 13863 let node = this.ptr2object<TextInputInterface>(ptr) 13864 node.selectAll_value = value 13865 } 13866 _TextInputAttribute_minFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13867 let node = this.ptr2object<TextInputInterface>(ptr) 13868 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13869 const minFontSize_value_buf_selector: number = thisDeserializer.readInt8() 13870 let minFontSize_value_buf: number | string | Resource | undefined|undefined 13871 if (minFontSize_value_buf_selector == 0) { 13872 minFontSize_value_buf = (thisDeserializer.readNumber() as number) 13873 } 13874 else if (minFontSize_value_buf_selector == 1) { 13875 minFontSize_value_buf = (thisDeserializer.readString() as string) 13876 } 13877 else if (minFontSize_value_buf_selector == 2) { 13878 minFontSize_value_buf = thisDeserializer.readResource() 13879 } 13880 else { 13881 throw new Error("One of the branches for minFontSize_value_buf has to be chosen through deserialisation.") 13882 } 13883 node.minFontSize_value = (minFontSize_value_buf as number | string | Resource) 13884 } 13885 _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13886 let node = this.ptr2object<TextInputInterface>(ptr) 13887 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13888 const maxFontSize_value_buf_selector: number = thisDeserializer.readInt8() 13889 let maxFontSize_value_buf: number | string | Resource | undefined|undefined 13890 if (maxFontSize_value_buf_selector == 0) { 13891 maxFontSize_value_buf = (thisDeserializer.readNumber() as number) 13892 } 13893 else if (maxFontSize_value_buf_selector == 1) { 13894 maxFontSize_value_buf = (thisDeserializer.readString() as string) 13895 } 13896 else if (maxFontSize_value_buf_selector == 2) { 13897 maxFontSize_value_buf = thisDeserializer.readResource() 13898 } 13899 else { 13900 throw new Error("One of the branches for maxFontSize_value_buf has to be chosen through deserialisation.") 13901 } 13902 node.maxFontSize_value = (maxFontSize_value_buf as number | string | Resource) 13903 } 13904 _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { 13905 let node = this.ptr2object<TextInputInterface>(ptr) 13906 node.heightAdaptivePolicy_value = value 13907 } 13908 _TextInputAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { 13909 let node = this.ptr2object<TextInputInterface>(ptr) 13910 node.enableAutoFill_value = value 13911 } 13912 _TextInputAttribute_decoration(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13913 let node = this.ptr2object<TextInputInterface>(ptr) 13914 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13915 node.decoration_value = thisDeserializer.readTextDecorationOptions() 13916 } 13917 _TextInputAttribute_letterSpacing(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13918 let node = this.ptr2object<TextInputInterface>(ptr) 13919 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13920 const letterSpacing_value_buf_selector: number = thisDeserializer.readInt8() 13921 let letterSpacing_value_buf: number | string | Resource | undefined|undefined 13922 if (letterSpacing_value_buf_selector == 0) { 13923 letterSpacing_value_buf = (thisDeserializer.readNumber() as number) 13924 } 13925 else if (letterSpacing_value_buf_selector == 1) { 13926 letterSpacing_value_buf = (thisDeserializer.readString() as string) 13927 } 13928 else if (letterSpacing_value_buf_selector == 2) { 13929 letterSpacing_value_buf = thisDeserializer.readResource() 13930 } 13931 else { 13932 throw new Error("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation.") 13933 } 13934 node.letterSpacing_value = (letterSpacing_value_buf as number | string | Resource) 13935 } 13936 _TextInputAttribute_lineHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13937 let node = this.ptr2object<TextInputInterface>(ptr) 13938 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13939 const lineHeight_value_buf_selector: number = thisDeserializer.readInt8() 13940 let lineHeight_value_buf: number | string | Resource | undefined|undefined 13941 if (lineHeight_value_buf_selector == 0) { 13942 lineHeight_value_buf = (thisDeserializer.readNumber() as number) 13943 } 13944 else if (lineHeight_value_buf_selector == 1) { 13945 lineHeight_value_buf = (thisDeserializer.readString() as string) 13946 } 13947 else if (lineHeight_value_buf_selector == 2) { 13948 lineHeight_value_buf = thisDeserializer.readResource() 13949 } 13950 else { 13951 throw new Error("One of the branches for lineHeight_value_buf has to be chosen through deserialisation.") 13952 } 13953 node.lineHeight_value = (lineHeight_value_buf as number | string | Resource) 13954 } 13955 _TextInputAttribute_passwordRules(ptr: KPointer, value: KStringPtr): void { 13956 let node = this.ptr2object<TextInputInterface>(ptr) 13957 node.passwordRules_value = value 13958 } 13959 _TextInputAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { 13960 let node = this.ptr2object<TextInputInterface>(ptr) 13961 node.fontFeature_value = value 13962 } 13963 _TextInputAttribute_showPassword(ptr: KPointer, value: KInt): void { 13964 let node = this.ptr2object<TextInputInterface>(ptr) 13965 node.showPassword_value = value 13966 } 13967 _TextInputAttribute_onSecurityStateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13968 let node = this.ptr2object<TextInputInterface>(ptr) 13969 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13970 node.onSecurityStateChange_value = thisDeserializer.readCallback_Boolean_Void() 13971 } 13972 _TextInputAttribute_onWillInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13973 let node = this.ptr2object<TextInputInterface>(ptr) 13974 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13975 node.onWillInsert_value = thisDeserializer.readCallback_InsertValue_Boolean() 13976 } 13977 _TextInputAttribute_onDidInsert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13978 let node = this.ptr2object<TextInputInterface>(ptr) 13979 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13980 node.onDidInsert_value = thisDeserializer.readCallback_InsertValue_Void() 13981 } 13982 _TextInputAttribute_onWillDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13983 let node = this.ptr2object<TextInputInterface>(ptr) 13984 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13985 node.onWillDelete_value = thisDeserializer.readCallback_DeleteValue_Boolean() 13986 } 13987 _TextInputAttribute_onDidDelete(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13988 let node = this.ptr2object<TextInputInterface>(ptr) 13989 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13990 node.onDidDelete_value = thisDeserializer.readCallback_DeleteValue_Void() 13991 } 13992 _TextInputAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 13993 let node = this.ptr2object<TextInputInterface>(ptr) 13994 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 13995 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 13996 } 13997 _TextInputAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { 13998 let node = this.ptr2object<TextInputInterface>(ptr) 13999 node.enablePreviewText_value = value 14000 } 14001 _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 14002 let node = this.ptr2object<TextInputInterface>(ptr) 14003 node.enableHapticFeedback_value = value 14004 } 14005 _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14006 let node = this.ptr2object<TextInputInterface>(ptr) 14007 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14008 const inputFilter_value_buf_selector: number = thisDeserializer.readInt8() 14009 let inputFilter_value_buf: string | Resource | undefined|undefined 14010 if (inputFilter_value_buf_selector == 0) { 14011 inputFilter_value_buf = (thisDeserializer.readString() as string) 14012 } 14013 else if (inputFilter_value_buf_selector == 1) { 14014 inputFilter_value_buf = thisDeserializer.readResource() 14015 } 14016 else { 14017 throw new Error("One of the branches for inputFilter_value_buf has to be chosen through deserialisation.") 14018 } 14019 node.inputFilter_value = (inputFilter_value_buf as string | Resource) 14020 const inputFilter_error_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14021 let inputFilter_error_buf: ((breakpoints: string) => void) | undefined|undefined 14022 if ((RuntimeType.UNDEFINED) != (inputFilter_error_buf_runtimeType)) 14023 { 14024 inputFilter_error_buf = thisDeserializer.readCallback_String_Void() 14025 } 14026 node.inputFilter_error = inputFilter_error_buf 14027 } 14028 _TextInputAttribute_customKeyboard(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14029 let node = this.ptr2object<TextInputInterface>(ptr) 14030 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14031 node.customKeyboard_value = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 14032 const customKeyboard_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14033 let customKeyboard_options_buf: KeyboardOptions | undefined|undefined 14034 if ((RuntimeType.UNDEFINED) != (customKeyboard_options_buf_runtimeType)) 14035 { 14036 customKeyboard_options_buf = thisDeserializer.readKeyboardOptions() 14037 } 14038 node.customKeyboard_options = customKeyboard_options_buf 14039 } 14040 _TextInputAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { 14041 let node = this.ptr2object<TextInputInterface>(ptr) 14042 node.showCounter_value = value 14043 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14044 const showCounter_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14045 let showCounter_options_buf: InputCounterOptions | undefined|undefined 14046 if ((RuntimeType.UNDEFINED) != (showCounter_options_buf_runtimeType)) 14047 { 14048 showCounter_options_buf = thisDeserializer.readInputCounterOptions() 14049 } 14050 node.showCounter_options = showCounter_options_buf 14051 } 14052 _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14053 let node = this.ptr2object<TextPickerInterface>(ptr) 14054 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14055 const setTextPickerOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14056 let setTextPickerOptions_options_buf: TextPickerOptions | undefined|undefined 14057 if ((RuntimeType.UNDEFINED) != (setTextPickerOptions_options_buf_runtimeType)) 14058 { 14059 setTextPickerOptions_options_buf = thisDeserializer.readTextPickerOptions() 14060 } 14061 node.setTextPickerOptions_options = setTextPickerOptions_options_buf 14062 } 14063 _TextPickerAttribute_defaultPickerItemHeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14064 let node = this.ptr2object<TextPickerInterface>(ptr) 14065 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14066 const defaultPickerItemHeight_value_buf_selector: number = thisDeserializer.readInt8() 14067 let defaultPickerItemHeight_value_buf: number | string | undefined|undefined 14068 if (defaultPickerItemHeight_value_buf_selector == 0) { 14069 defaultPickerItemHeight_value_buf = (thisDeserializer.readNumber() as number) 14070 } 14071 else if (defaultPickerItemHeight_value_buf_selector == 1) { 14072 defaultPickerItemHeight_value_buf = (thisDeserializer.readString() as string) 14073 } 14074 else { 14075 throw new Error("One of the branches for defaultPickerItemHeight_value_buf has to be chosen through deserialisation.") 14076 } 14077 node.defaultPickerItemHeight_value = (defaultPickerItemHeight_value_buf as number | string) 14078 } 14079 _TextPickerAttribute_canLoop(ptr: KPointer, value: KInt): void { 14080 let node = this.ptr2object<TextPickerInterface>(ptr) 14081 node.canLoop_value = value 14082 } 14083 _TextPickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14084 let node = this.ptr2object<TextPickerInterface>(ptr) 14085 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14086 node.disappearTextStyle_value = thisDeserializer.readPickerTextStyle() 14087 } 14088 _TextPickerAttribute_textStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14089 let node = this.ptr2object<TextPickerInterface>(ptr) 14090 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14091 node.textStyle_value = thisDeserializer.readPickerTextStyle() 14092 } 14093 _TextPickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14094 let node = this.ptr2object<TextPickerInterface>(ptr) 14095 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14096 node.selectedTextStyle_value = thisDeserializer.readPickerTextStyle() 14097 } 14098 _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14099 let node = this.ptr2object<TextPickerInterface>(ptr) 14100 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14101 node.onAccept_value = thisDeserializer.readCallback_String_Number_Void() 14102 } 14103 _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14104 let node = this.ptr2object<TextPickerInterface>(ptr) 14105 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14106 node.onCancel_value = thisDeserializer.readCallback_Void() 14107 } 14108 _TextPickerAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14109 let node = this.ptr2object<TextPickerInterface>(ptr) 14110 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14111 node.onChange_value = thisDeserializer.readType_TextPickerAttribute_onChange_callback() 14112 } 14113 _TextPickerAttribute_selectedIndex(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14114 let node = this.ptr2object<TextPickerInterface>(ptr) 14115 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14116 const selectedIndex_value_buf_selector: number = thisDeserializer.readInt8() 14117 let selectedIndex_value_buf: number | Array<number> | undefined|undefined 14118 if (selectedIndex_value_buf_selector == 0) { 14119 selectedIndex_value_buf = (thisDeserializer.readNumber() as number) 14120 } 14121 else if (selectedIndex_value_buf_selector == 1) { 14122 const selectedIndex_value_buf_u_length: int32 = thisDeserializer.readInt32() 14123 let selectedIndex_value_buf_u: Array<number> = new Array<number>() 14124 for (let selectedIndex_value_buf_u_i = 0; selectedIndex_value_buf_u_i < selectedIndex_value_buf_u_length; selectedIndex_value_buf_u_i++) { 14125 selectedIndex_value_buf_u[selectedIndex_value_buf_u_i] = (thisDeserializer.readNumber() as number) 14126 } 14127 selectedIndex_value_buf = selectedIndex_value_buf_u 14128 } 14129 else { 14130 throw new Error("One of the branches for selectedIndex_value_buf has to be chosen through deserialisation.") 14131 } 14132 node.selectedIndex_value = (selectedIndex_value_buf as number | Array<number>) 14133 } 14134 _TextPickerAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14135 let node = this.ptr2object<TextPickerInterface>(ptr) 14136 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14137 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14138 let divider_value_buf: DividerOptions | undefined|undefined 14139 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 14140 { 14141 divider_value_buf = thisDeserializer.readDividerOptions() 14142 } 14143 node.divider_value = divider_value_buf 14144 } 14145 _TextPickerAttribute_gradientHeight(ptr: KPointer, value: Length): void { 14146 let node = this.ptr2object<TextPickerInterface>(ptr) 14147 node.gradientHeight_value = value 14148 } 14149 _TextTimerInterface_setTextTimerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14150 let node = this.ptr2object<TextTimerInterface>(ptr) 14151 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14152 const setTextTimerOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14153 let setTextTimerOptions_options_buf: TextTimerOptions | undefined|undefined 14154 if ((RuntimeType.UNDEFINED) != (setTextTimerOptions_options_buf_runtimeType)) 14155 { 14156 setTextTimerOptions_options_buf = thisDeserializer.readTextTimerOptions() 14157 } 14158 node.setTextTimerOptions_options = setTextTimerOptions_options_buf 14159 } 14160 _TextTimerAttribute_format(ptr: KPointer, value: KStringPtr): void { 14161 let node = this.ptr2object<TextTimerInterface>(ptr) 14162 node.format_value = value 14163 } 14164 _TextTimerAttribute_fontColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14165 let node = this.ptr2object<TextTimerInterface>(ptr) 14166 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14167 const fontColor_value_buf_selector: number = thisDeserializer.readInt8() 14168 let fontColor_value_buf: Color | number | string | Resource | undefined|undefined 14169 if (fontColor_value_buf_selector == 0) { 14170 fontColor_value_buf = (thisDeserializer.readInt32() as Color) 14171 } 14172 else if (fontColor_value_buf_selector == 1) { 14173 fontColor_value_buf = (thisDeserializer.readNumber() as number) 14174 } 14175 else if (fontColor_value_buf_selector == 2) { 14176 fontColor_value_buf = (thisDeserializer.readString() as string) 14177 } 14178 else if (fontColor_value_buf_selector == 3) { 14179 fontColor_value_buf = thisDeserializer.readResource() 14180 } 14181 else { 14182 throw new Error("One of the branches for fontColor_value_buf has to be chosen through deserialisation.") 14183 } 14184 node.fontColor_value = (fontColor_value_buf as Color | number | string | Resource) 14185 } 14186 _TextTimerAttribute_fontSize(ptr: KPointer, value: Length): void { 14187 let node = this.ptr2object<TextTimerInterface>(ptr) 14188 node.fontSize_value = value 14189 } 14190 _TextTimerAttribute_fontStyle(ptr: KPointer, value: KInt): void { 14191 let node = this.ptr2object<TextTimerInterface>(ptr) 14192 node.fontStyle_value = value 14193 } 14194 _TextTimerAttribute_fontWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14195 let node = this.ptr2object<TextTimerInterface>(ptr) 14196 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14197 const fontWeight_value_buf_selector: number = thisDeserializer.readInt8() 14198 let fontWeight_value_buf: number | FontWeight | string | undefined|undefined 14199 if (fontWeight_value_buf_selector == 0) { 14200 fontWeight_value_buf = (thisDeserializer.readNumber() as number) 14201 } 14202 else if (fontWeight_value_buf_selector == 1) { 14203 fontWeight_value_buf = (thisDeserializer.readInt32() as FontWeight) 14204 } 14205 else if (fontWeight_value_buf_selector == 2) { 14206 fontWeight_value_buf = (thisDeserializer.readString() as string) 14207 } 14208 else { 14209 throw new Error("One of the branches for fontWeight_value_buf has to be chosen through deserialisation.") 14210 } 14211 node.fontWeight_value = (fontWeight_value_buf as number | FontWeight | string) 14212 } 14213 _TextTimerAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14214 let node = this.ptr2object<TextTimerInterface>(ptr) 14215 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14216 const fontFamily_value_buf_selector: number = thisDeserializer.readInt8() 14217 let fontFamily_value_buf: string | Resource | undefined|undefined 14218 if (fontFamily_value_buf_selector == 0) { 14219 fontFamily_value_buf = (thisDeserializer.readString() as string) 14220 } 14221 else if (fontFamily_value_buf_selector == 1) { 14222 fontFamily_value_buf = thisDeserializer.readResource() 14223 } 14224 else { 14225 throw new Error("One of the branches for fontFamily_value_buf has to be chosen through deserialisation.") 14226 } 14227 node.fontFamily_value = (fontFamily_value_buf as string | Resource) 14228 } 14229 _TextTimerAttribute_onTimer(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14230 let node = this.ptr2object<TextTimerInterface>(ptr) 14231 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14232 node.onTimer_value = thisDeserializer.readCallback_Number_Number_Void() 14233 } 14234 _TextTimerAttribute_textShadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14235 let node = this.ptr2object<TextTimerInterface>(ptr) 14236 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14237 const textShadow_value_buf_selector: number = thisDeserializer.readInt8() 14238 let textShadow_value_buf: ShadowOptions | Array<ShadowOptions> | undefined|undefined 14239 if (textShadow_value_buf_selector == 0) { 14240 textShadow_value_buf = thisDeserializer.readShadowOptions() 14241 } 14242 else if (textShadow_value_buf_selector == 1) { 14243 const textShadow_value_buf_u_length: int32 = thisDeserializer.readInt32() 14244 let textShadow_value_buf_u: Array<ShadowOptions> = new Array<ShadowOptions>() 14245 for (let textShadow_value_buf_u_i = 0; textShadow_value_buf_u_i < textShadow_value_buf_u_length; textShadow_value_buf_u_i++) { 14246 textShadow_value_buf_u[textShadow_value_buf_u_i] = thisDeserializer.readShadowOptions() 14247 } 14248 textShadow_value_buf = textShadow_value_buf_u 14249 } 14250 else { 14251 throw new Error("One of the branches for textShadow_value_buf has to be chosen through deserialisation.") 14252 } 14253 node.textShadow_value = (textShadow_value_buf as ShadowOptions | Array<ShadowOptions>) 14254 } 14255 _TextTimerAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14256 let node = this.ptr2object<TextTimerInterface>(ptr) 14257 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14258 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 14259 } 14260 _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14261 let node = this.ptr2object<TimePickerInterface>(ptr) 14262 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14263 const setTimePickerOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 14264 let setTimePickerOptions_options_buf: TimePickerOptions | undefined|undefined 14265 if ((RuntimeType.UNDEFINED) != (setTimePickerOptions_options_buf_runtimeType)) 14266 { 14267 setTimePickerOptions_options_buf = thisDeserializer.readTimePickerOptions() 14268 } 14269 node.setTimePickerOptions_options = setTimePickerOptions_options_buf 14270 } 14271 _TimePickerAttribute_useMilitaryTime(ptr: KPointer, value: KInt): void { 14272 let node = this.ptr2object<TimePickerInterface>(ptr) 14273 node.useMilitaryTime_value = value 14274 } 14275 _TimePickerAttribute_loop(ptr: KPointer, value: KInt): void { 14276 let node = this.ptr2object<TimePickerInterface>(ptr) 14277 node.loop_value = value 14278 } 14279 _TimePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14280 let node = this.ptr2object<TimePickerInterface>(ptr) 14281 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14282 node.disappearTextStyle_value = thisDeserializer.readPickerTextStyle() 14283 } 14284 _TimePickerAttribute_textStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14285 let node = this.ptr2object<TimePickerInterface>(ptr) 14286 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14287 node.textStyle_value = thisDeserializer.readPickerTextStyle() 14288 } 14289 _TimePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14290 let node = this.ptr2object<TimePickerInterface>(ptr) 14291 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14292 node.selectedTextStyle_value = thisDeserializer.readPickerTextStyle() 14293 } 14294 _TimePickerAttribute_dateTimeOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14295 let node = this.ptr2object<TimePickerInterface>(ptr) 14296 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14297 node.dateTimeOptions_value = thisDeserializer.readDateTimeOptions() 14298 } 14299 _TimePickerAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14300 let node = this.ptr2object<TimePickerInterface>(ptr) 14301 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14302 node.onChange_value = thisDeserializer.readCallback_TimePickerResult_Void() 14303 } 14304 _TimePickerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 14305 let node = this.ptr2object<TimePickerInterface>(ptr) 14306 node.enableHapticFeedback_value = value 14307 } 14308 _ToggleInterface_setToggleOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14309 let node = this.ptr2object<ToggleInterface>(ptr) 14310 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14311 node.setToggleOptions_options = thisDeserializer.readToggleOptions() 14312 } 14313 _ToggleAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14314 let node = this.ptr2object<ToggleInterface>(ptr) 14315 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14316 node.onChange_value = thisDeserializer.readCallback_Boolean_Void() 14317 } 14318 _ToggleAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14319 let node = this.ptr2object<ToggleInterface>(ptr) 14320 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14321 node.contentModifier_value = (thisDeserializer.readCustomObject("ContentModifier") as ContentModifier<any>) 14322 } 14323 _ToggleAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14324 let node = this.ptr2object<ToggleInterface>(ptr) 14325 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14326 const selectedColor_value_buf_selector: number = thisDeserializer.readInt8() 14327 let selectedColor_value_buf: Color | number | string | Resource | undefined|undefined 14328 if (selectedColor_value_buf_selector == 0) { 14329 selectedColor_value_buf = (thisDeserializer.readInt32() as Color) 14330 } 14331 else if (selectedColor_value_buf_selector == 1) { 14332 selectedColor_value_buf = (thisDeserializer.readNumber() as number) 14333 } 14334 else if (selectedColor_value_buf_selector == 2) { 14335 selectedColor_value_buf = (thisDeserializer.readString() as string) 14336 } 14337 else if (selectedColor_value_buf_selector == 3) { 14338 selectedColor_value_buf = thisDeserializer.readResource() 14339 } 14340 else { 14341 throw new Error("One of the branches for selectedColor_value_buf has to be chosen through deserialisation.") 14342 } 14343 node.selectedColor_value = (selectedColor_value_buf as Color | number | string | Resource) 14344 } 14345 _ToggleAttribute_switchPointColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14346 let node = this.ptr2object<ToggleInterface>(ptr) 14347 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14348 const switchPointColor_value_buf_selector: number = thisDeserializer.readInt8() 14349 let switchPointColor_value_buf: Color | number | string | Resource | undefined|undefined 14350 if (switchPointColor_value_buf_selector == 0) { 14351 switchPointColor_value_buf = (thisDeserializer.readInt32() as Color) 14352 } 14353 else if (switchPointColor_value_buf_selector == 1) { 14354 switchPointColor_value_buf = (thisDeserializer.readNumber() as number) 14355 } 14356 else if (switchPointColor_value_buf_selector == 2) { 14357 switchPointColor_value_buf = (thisDeserializer.readString() as string) 14358 } 14359 else if (switchPointColor_value_buf_selector == 3) { 14360 switchPointColor_value_buf = thisDeserializer.readResource() 14361 } 14362 else { 14363 throw new Error("One of the branches for switchPointColor_value_buf has to be chosen through deserialisation.") 14364 } 14365 node.switchPointColor_value = (switchPointColor_value_buf as Color | number | string | Resource) 14366 } 14367 _ToggleAttribute_switchStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14368 let node = this.ptr2object<ToggleInterface>(ptr) 14369 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14370 node.switchStyle_value = thisDeserializer.readSwitchStyle() 14371 } 14372 _VideoInterface_setVideoOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14373 let node = this.ptr2object<VideoInterface>(ptr) 14374 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14375 node.setVideoOptions_value = thisDeserializer.readVideoOptions() 14376 } 14377 _VideoAttribute_muted(ptr: KPointer, value: KInt): void { 14378 let node = this.ptr2object<VideoInterface>(ptr) 14379 node.muted_value = value 14380 } 14381 _VideoAttribute_autoPlay(ptr: KPointer, value: KInt): void { 14382 let node = this.ptr2object<VideoInterface>(ptr) 14383 node.autoPlay_value = value 14384 } 14385 _VideoAttribute_controls(ptr: KPointer, value: KInt): void { 14386 let node = this.ptr2object<VideoInterface>(ptr) 14387 node.controls_value = value 14388 } 14389 _VideoAttribute_loop(ptr: KPointer, value: KInt): void { 14390 let node = this.ptr2object<VideoInterface>(ptr) 14391 node.loop_value = value 14392 } 14393 _VideoAttribute_objectFit(ptr: KPointer, value: KInt): void { 14394 let node = this.ptr2object<VideoInterface>(ptr) 14395 node.objectFit_value = value 14396 } 14397 _VideoAttribute_onStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14398 let node = this.ptr2object<VideoInterface>(ptr) 14399 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14400 node.onStart_value = thisDeserializer.readVoidCallback() 14401 } 14402 _VideoAttribute_onPause(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14403 let node = this.ptr2object<VideoInterface>(ptr) 14404 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14405 node.onPause_value = thisDeserializer.readVoidCallback() 14406 } 14407 _VideoAttribute_onFinish(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14408 let node = this.ptr2object<VideoInterface>(ptr) 14409 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14410 node.onFinish_value = thisDeserializer.readVoidCallback() 14411 } 14412 _VideoAttribute_onFullscreenChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14413 let node = this.ptr2object<VideoInterface>(ptr) 14414 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14415 node.onFullscreenChange_value = thisDeserializer.readCallback_FullscreenInfo_Void() 14416 } 14417 _VideoAttribute_onPrepared(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14418 let node = this.ptr2object<VideoInterface>(ptr) 14419 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14420 node.onPrepared_value = thisDeserializer.readCallback_PreparedInfo_Void() 14421 } 14422 _VideoAttribute_onSeeking(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14423 let node = this.ptr2object<VideoInterface>(ptr) 14424 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14425 node.onSeeking_value = thisDeserializer.readCallback_PlaybackInfo_Void() 14426 } 14427 _VideoAttribute_onSeeked(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14428 let node = this.ptr2object<VideoInterface>(ptr) 14429 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14430 node.onSeeked_value = thisDeserializer.readCallback_PlaybackInfo_Void() 14431 } 14432 _VideoAttribute_onUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14433 let node = this.ptr2object<VideoInterface>(ptr) 14434 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14435 node.onUpdate_value = thisDeserializer.readCallback_PlaybackInfo_Void() 14436 } 14437 _VideoAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14438 let node = this.ptr2object<VideoInterface>(ptr) 14439 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14440 node.onError_value = thisDeserializer.readCallback_Void() 14441 } 14442 _VideoAttribute_onStop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14443 let node = this.ptr2object<VideoInterface>(ptr) 14444 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14445 node.onStop_value = thisDeserializer.readCallback_Void() 14446 } 14447 _VideoAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { 14448 let node = this.ptr2object<VideoInterface>(ptr) 14449 node.enableAnalyzer_value = value 14450 } 14451 _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14452 let node = this.ptr2object<VideoInterface>(ptr) 14453 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14454 node.analyzerConfig_value = thisDeserializer.readImageAnalyzerConfig() 14455 } 14456 _WebInterface_setWebOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14457 let node = this.ptr2object<WebInterface>(ptr) 14458 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14459 node.setWebOptions_value = thisDeserializer.readWebOptions() 14460 } 14461 _WebAttribute_javaScriptAccess(ptr: KPointer, value: KInt): void { 14462 let node = this.ptr2object<WebInterface>(ptr) 14463 node.javaScriptAccess_value = value 14464 } 14465 _WebAttribute_fileAccess(ptr: KPointer, value: KInt): void { 14466 let node = this.ptr2object<WebInterface>(ptr) 14467 node.fileAccess_value = value 14468 } 14469 _WebAttribute_onlineImageAccess(ptr: KPointer, value: KInt): void { 14470 let node = this.ptr2object<WebInterface>(ptr) 14471 node.onlineImageAccess_value = value 14472 } 14473 _WebAttribute_domStorageAccess(ptr: KPointer, value: KInt): void { 14474 let node = this.ptr2object<WebInterface>(ptr) 14475 node.domStorageAccess_value = value 14476 } 14477 _WebAttribute_imageAccess(ptr: KPointer, value: KInt): void { 14478 let node = this.ptr2object<WebInterface>(ptr) 14479 node.imageAccess_value = value 14480 } 14481 _WebAttribute_mixedMode(ptr: KPointer, value: KInt): void { 14482 let node = this.ptr2object<WebInterface>(ptr) 14483 node.mixedMode_value = value 14484 } 14485 _WebAttribute_zoomAccess(ptr: KPointer, value: KInt): void { 14486 let node = this.ptr2object<WebInterface>(ptr) 14487 node.zoomAccess_value = value 14488 } 14489 _WebAttribute_geolocationAccess(ptr: KPointer, value: KInt): void { 14490 let node = this.ptr2object<WebInterface>(ptr) 14491 node.geolocationAccess_value = value 14492 } 14493 _WebAttribute_javaScriptProxy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14494 let node = this.ptr2object<WebInterface>(ptr) 14495 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14496 node.javaScriptProxy_value = thisDeserializer.readJavaScriptProxy() 14497 } 14498 _WebAttribute_password(ptr: KPointer, value: KInt): void { 14499 let node = this.ptr2object<WebInterface>(ptr) 14500 node.password_value = value 14501 } 14502 _WebAttribute_cacheMode(ptr: KPointer, value: KInt): void { 14503 let node = this.ptr2object<WebInterface>(ptr) 14504 node.cacheMode_value = value 14505 } 14506 _WebAttribute_darkMode(ptr: KPointer, value: KInt): void { 14507 let node = this.ptr2object<WebInterface>(ptr) 14508 node.darkMode_value = value 14509 } 14510 _WebAttribute_forceDarkAccess(ptr: KPointer, value: KInt): void { 14511 let node = this.ptr2object<WebInterface>(ptr) 14512 node.forceDarkAccess_value = value 14513 } 14514 _WebAttribute_mediaOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14515 let node = this.ptr2object<WebInterface>(ptr) 14516 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14517 node.mediaOptions_value = thisDeserializer.readWebMediaOptions() 14518 } 14519 _WebAttribute_tableData(ptr: KPointer, value: KInt): void { 14520 let node = this.ptr2object<WebInterface>(ptr) 14521 node.tableData_value = value 14522 } 14523 _WebAttribute_wideViewModeAccess(ptr: KPointer, value: KInt): void { 14524 let node = this.ptr2object<WebInterface>(ptr) 14525 node.wideViewModeAccess_value = value 14526 } 14527 _WebAttribute_overviewModeAccess(ptr: KPointer, value: KInt): void { 14528 let node = this.ptr2object<WebInterface>(ptr) 14529 node.overviewModeAccess_value = value 14530 } 14531 _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void { 14532 let node = this.ptr2object<WebInterface>(ptr) 14533 node.overScrollMode_value = value 14534 } 14535 _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void { 14536 let node = this.ptr2object<WebInterface>(ptr) 14537 node.textZoomAtio_value = value 14538 } 14539 _WebAttribute_textZoomRatio(ptr: KPointer, value: number): void { 14540 let node = this.ptr2object<WebInterface>(ptr) 14541 node.textZoomRatio_value = value 14542 } 14543 _WebAttribute_databaseAccess(ptr: KPointer, value: KInt): void { 14544 let node = this.ptr2object<WebInterface>(ptr) 14545 node.databaseAccess_value = value 14546 } 14547 _WebAttribute_initialScale(ptr: KPointer, value: number): void { 14548 let node = this.ptr2object<WebInterface>(ptr) 14549 node.initialScale_value = value 14550 } 14551 _WebAttribute_userAgent(ptr: KPointer, value: KStringPtr): void { 14552 let node = this.ptr2object<WebInterface>(ptr) 14553 node.userAgent_value = value 14554 } 14555 _WebAttribute_metaViewport(ptr: KPointer, value: KInt): void { 14556 let node = this.ptr2object<WebInterface>(ptr) 14557 node.metaViewport_value = value 14558 } 14559 _WebAttribute_onPageEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14560 let node = this.ptr2object<WebInterface>(ptr) 14561 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14562 node.onPageEnd_value = thisDeserializer.readCallback_OnPageEndEvent_Void() 14563 } 14564 _WebAttribute_onPageBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14565 let node = this.ptr2object<WebInterface>(ptr) 14566 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14567 node.onPageBegin_value = thisDeserializer.readCallback_OnPageBeginEvent_Void() 14568 } 14569 _WebAttribute_onProgressChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14570 let node = this.ptr2object<WebInterface>(ptr) 14571 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14572 node.onProgressChange_value = thisDeserializer.readCallback_OnProgressChangeEvent_Void() 14573 } 14574 _WebAttribute_onTitleReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14575 let node = this.ptr2object<WebInterface>(ptr) 14576 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14577 node.onTitleReceive_value = thisDeserializer.readCallback_OnTitleReceiveEvent_Void() 14578 } 14579 _WebAttribute_onGeolocationHide(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14580 let node = this.ptr2object<WebInterface>(ptr) 14581 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14582 node.onGeolocationHide_value = thisDeserializer.readCallback_Void() 14583 } 14584 _WebAttribute_onGeolocationShow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14585 let node = this.ptr2object<WebInterface>(ptr) 14586 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14587 node.onGeolocationShow_value = thisDeserializer.readCallback_OnGeolocationShowEvent_Void() 14588 } 14589 _WebAttribute_onRequestSelected(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14590 let node = this.ptr2object<WebInterface>(ptr) 14591 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14592 node.onRequestSelected_value = thisDeserializer.readCallback_Void() 14593 } 14594 _WebAttribute_onAlert(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14595 let node = this.ptr2object<WebInterface>(ptr) 14596 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14597 node.onAlert_value = thisDeserializer.readCallback_OnAlertEvent_Boolean() 14598 } 14599 _WebAttribute_onBeforeUnload(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14600 let node = this.ptr2object<WebInterface>(ptr) 14601 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14602 node.onBeforeUnload_value = thisDeserializer.readCallback_OnBeforeUnloadEvent_Boolean() 14603 } 14604 _WebAttribute_onConfirm(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14605 let node = this.ptr2object<WebInterface>(ptr) 14606 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14607 node.onConfirm_value = thisDeserializer.readCallback_OnConfirmEvent_Boolean() 14608 } 14609 _WebAttribute_onPrompt(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14610 let node = this.ptr2object<WebInterface>(ptr) 14611 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14612 node.onPrompt_value = thisDeserializer.readCallback_OnPromptEvent_Boolean() 14613 } 14614 _WebAttribute_onConsole(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14615 let node = this.ptr2object<WebInterface>(ptr) 14616 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14617 node.onConsole_value = thisDeserializer.readCallback_OnConsoleEvent_Boolean() 14618 } 14619 _WebAttribute_onErrorReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14620 let node = this.ptr2object<WebInterface>(ptr) 14621 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14622 node.onErrorReceive_value = thisDeserializer.readCallback_OnErrorReceiveEvent_Void() 14623 } 14624 _WebAttribute_onHttpErrorReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14625 let node = this.ptr2object<WebInterface>(ptr) 14626 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14627 node.onHttpErrorReceive_value = thisDeserializer.readCallback_OnHttpErrorReceiveEvent_Void() 14628 } 14629 _WebAttribute_onDownloadStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14630 let node = this.ptr2object<WebInterface>(ptr) 14631 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14632 node.onDownloadStart_value = thisDeserializer.readCallback_OnDownloadStartEvent_Void() 14633 } 14634 _WebAttribute_onRefreshAccessedHistory(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14635 let node = this.ptr2object<WebInterface>(ptr) 14636 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14637 node.onRefreshAccessedHistory_value = thisDeserializer.readCallback_OnRefreshAccessedHistoryEvent_Void() 14638 } 14639 _WebAttribute_onUrlLoadIntercept(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14640 let node = this.ptr2object<WebInterface>(ptr) 14641 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14642 node.onUrlLoadIntercept_value = thisDeserializer.readType_WebAttribute_onUrlLoadIntercept_callback() 14643 } 14644 _WebAttribute_onSslErrorReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14645 let node = this.ptr2object<WebInterface>(ptr) 14646 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14647 node.onSslErrorReceive_value = thisDeserializer.readCallback_Literal_Function_handler_Object_error_Void() 14648 } 14649 _WebAttribute_onRenderExited0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14650 let node = this.ptr2object<WebInterface>(ptr) 14651 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14652 node.onRenderExited0_value = thisDeserializer.readCallback_OnRenderExitedEvent_Void() 14653 } 14654 _WebAttribute_onRenderExited1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14655 let node = this.ptr2object<WebInterface>(ptr) 14656 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14657 node.onRenderExited1_value = thisDeserializer.readCallback_Literal_Object_detail_Boolean() 14658 } 14659 _WebAttribute_onShowFileSelector(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14660 let node = this.ptr2object<WebInterface>(ptr) 14661 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14662 node.onShowFileSelector_value = thisDeserializer.readCallback_OnShowFileSelectorEvent_Boolean() 14663 } 14664 _WebAttribute_onFileSelectorShow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14665 let node = this.ptr2object<WebInterface>(ptr) 14666 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14667 node.onFileSelectorShow_value = thisDeserializer.readCallback_Literal_Function_callback_Object_fileSelector_Void() 14668 } 14669 _WebAttribute_onResourceLoad(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14670 let node = this.ptr2object<WebInterface>(ptr) 14671 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14672 node.onResourceLoad_value = thisDeserializer.readCallback_OnResourceLoadEvent_Void() 14673 } 14674 _WebAttribute_onFullScreenExit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14675 let node = this.ptr2object<WebInterface>(ptr) 14676 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14677 node.onFullScreenExit_value = thisDeserializer.readCallback_Void() 14678 } 14679 _WebAttribute_onFullScreenEnter(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14680 let node = this.ptr2object<WebInterface>(ptr) 14681 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14682 node.onFullScreenEnter_value = thisDeserializer.readOnFullScreenEnterCallback() 14683 } 14684 _WebAttribute_onScaleChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14685 let node = this.ptr2object<WebInterface>(ptr) 14686 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14687 node.onScaleChange_value = thisDeserializer.readCallback_OnScaleChangeEvent_Void() 14688 } 14689 _WebAttribute_onHttpAuthRequest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14690 let node = this.ptr2object<WebInterface>(ptr) 14691 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14692 node.onHttpAuthRequest_value = thisDeserializer.readCallback_OnHttpAuthRequestEvent_Boolean() 14693 } 14694 _WebAttribute_onInterceptRequest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14695 let node = this.ptr2object<WebInterface>(ptr) 14696 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14697 node.onInterceptRequest_value = thisDeserializer.readCallback_OnInterceptRequestEvent_WebResourceResponse() 14698 } 14699 _WebAttribute_onPermissionRequest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14700 let node = this.ptr2object<WebInterface>(ptr) 14701 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14702 node.onPermissionRequest_value = thisDeserializer.readCallback_OnPermissionRequestEvent_Void() 14703 } 14704 _WebAttribute_onScreenCaptureRequest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14705 let node = this.ptr2object<WebInterface>(ptr) 14706 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14707 node.onScreenCaptureRequest_value = thisDeserializer.readCallback_OnScreenCaptureRequestEvent_Void() 14708 } 14709 _WebAttribute_onContextMenuShow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14710 let node = this.ptr2object<WebInterface>(ptr) 14711 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14712 node.onContextMenuShow_value = thisDeserializer.readCallback_OnContextMenuShowEvent_Boolean() 14713 } 14714 _WebAttribute_onContextMenuHide(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14715 let node = this.ptr2object<WebInterface>(ptr) 14716 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14717 node.onContextMenuHide_value = thisDeserializer.readOnContextMenuHideCallback() 14718 } 14719 _WebAttribute_mediaPlayGestureAccess(ptr: KPointer, value: KInt): void { 14720 let node = this.ptr2object<WebInterface>(ptr) 14721 node.mediaPlayGestureAccess_value = value 14722 } 14723 _WebAttribute_onSearchResultReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14724 let node = this.ptr2object<WebInterface>(ptr) 14725 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14726 node.onSearchResultReceive_value = thisDeserializer.readCallback_OnSearchResultReceiveEvent_Void() 14727 } 14728 _WebAttribute_onScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14729 let node = this.ptr2object<WebInterface>(ptr) 14730 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14731 node.onScroll_value = thisDeserializer.readCallback_OnScrollEvent_Void() 14732 } 14733 _WebAttribute_onSslErrorEventReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14734 let node = this.ptr2object<WebInterface>(ptr) 14735 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14736 node.onSslErrorEventReceive_value = thisDeserializer.readCallback_OnSslErrorEventReceiveEvent_Void() 14737 } 14738 _WebAttribute_onSslErrorEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14739 let node = this.ptr2object<WebInterface>(ptr) 14740 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14741 node.onSslErrorEvent_value = thisDeserializer.readOnSslErrorEventCallback() 14742 } 14743 _WebAttribute_onClientAuthenticationRequest(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14744 let node = this.ptr2object<WebInterface>(ptr) 14745 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14746 node.onClientAuthenticationRequest_value = thisDeserializer.readCallback_OnClientAuthenticationEvent_Void() 14747 } 14748 _WebAttribute_onWindowNew(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14749 let node = this.ptr2object<WebInterface>(ptr) 14750 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14751 node.onWindowNew_value = thisDeserializer.readCallback_OnWindowNewEvent_Void() 14752 } 14753 _WebAttribute_onWindowExit(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14754 let node = this.ptr2object<WebInterface>(ptr) 14755 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14756 node.onWindowExit_value = thisDeserializer.readCallback_Void() 14757 } 14758 _WebAttribute_multiWindowAccess(ptr: KPointer, value: KInt): void { 14759 let node = this.ptr2object<WebInterface>(ptr) 14760 node.multiWindowAccess_value = value 14761 } 14762 _WebAttribute_onInterceptKeyEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14763 let node = this.ptr2object<WebInterface>(ptr) 14764 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14765 node.onInterceptKeyEvent_value = thisDeserializer.readCallback_KeyEvent_Boolean() 14766 } 14767 _WebAttribute_webStandardFont(ptr: KPointer, value: KStringPtr): void { 14768 let node = this.ptr2object<WebInterface>(ptr) 14769 node.webStandardFont_value = value 14770 } 14771 _WebAttribute_webSerifFont(ptr: KPointer, value: KStringPtr): void { 14772 let node = this.ptr2object<WebInterface>(ptr) 14773 node.webSerifFont_value = value 14774 } 14775 _WebAttribute_webSansSerifFont(ptr: KPointer, value: KStringPtr): void { 14776 let node = this.ptr2object<WebInterface>(ptr) 14777 node.webSansSerifFont_value = value 14778 } 14779 _WebAttribute_webFixedFont(ptr: KPointer, value: KStringPtr): void { 14780 let node = this.ptr2object<WebInterface>(ptr) 14781 node.webFixedFont_value = value 14782 } 14783 _WebAttribute_webFantasyFont(ptr: KPointer, value: KStringPtr): void { 14784 let node = this.ptr2object<WebInterface>(ptr) 14785 node.webFantasyFont_value = value 14786 } 14787 _WebAttribute_webCursiveFont(ptr: KPointer, value: KStringPtr): void { 14788 let node = this.ptr2object<WebInterface>(ptr) 14789 node.webCursiveFont_value = value 14790 } 14791 _WebAttribute_defaultFixedFontSize(ptr: KPointer, value: number): void { 14792 let node = this.ptr2object<WebInterface>(ptr) 14793 node.defaultFixedFontSize_value = value 14794 } 14795 _WebAttribute_defaultFontSize(ptr: KPointer, value: number): void { 14796 let node = this.ptr2object<WebInterface>(ptr) 14797 node.defaultFontSize_value = value 14798 } 14799 _WebAttribute_minFontSize(ptr: KPointer, value: number): void { 14800 let node = this.ptr2object<WebInterface>(ptr) 14801 node.minFontSize_value = value 14802 } 14803 _WebAttribute_minLogicalFontSize(ptr: KPointer, value: number): void { 14804 let node = this.ptr2object<WebInterface>(ptr) 14805 node.minLogicalFontSize_value = value 14806 } 14807 _WebAttribute_defaultTextEncodingFormat(ptr: KPointer, value: KStringPtr): void { 14808 let node = this.ptr2object<WebInterface>(ptr) 14809 node.defaultTextEncodingFormat_value = value 14810 } 14811 _WebAttribute_forceDisplayScrollBar(ptr: KPointer, value: KInt): void { 14812 let node = this.ptr2object<WebInterface>(ptr) 14813 node.forceDisplayScrollBar_value = value 14814 } 14815 _WebAttribute_blockNetwork(ptr: KPointer, value: KInt): void { 14816 let node = this.ptr2object<WebInterface>(ptr) 14817 node.blockNetwork_value = value 14818 } 14819 _WebAttribute_horizontalScrollBarAccess(ptr: KPointer, value: KInt): void { 14820 let node = this.ptr2object<WebInterface>(ptr) 14821 node.horizontalScrollBarAccess_value = value 14822 } 14823 _WebAttribute_verticalScrollBarAccess(ptr: KPointer, value: KInt): void { 14824 let node = this.ptr2object<WebInterface>(ptr) 14825 node.verticalScrollBarAccess_value = value 14826 } 14827 _WebAttribute_onTouchIconUrlReceived(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14828 let node = this.ptr2object<WebInterface>(ptr) 14829 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14830 node.onTouchIconUrlReceived_value = thisDeserializer.readCallback_OnTouchIconUrlReceivedEvent_Void() 14831 } 14832 _WebAttribute_onFaviconReceived(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14833 let node = this.ptr2object<WebInterface>(ptr) 14834 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14835 node.onFaviconReceived_value = thisDeserializer.readCallback_OnFaviconReceivedEvent_Void() 14836 } 14837 _WebAttribute_onPageVisible(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14838 let node = this.ptr2object<WebInterface>(ptr) 14839 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14840 node.onPageVisible_value = thisDeserializer.readCallback_OnPageVisibleEvent_Void() 14841 } 14842 _WebAttribute_onDataResubmitted(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14843 let node = this.ptr2object<WebInterface>(ptr) 14844 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14845 node.onDataResubmitted_value = thisDeserializer.readCallback_OnDataResubmittedEvent_Void() 14846 } 14847 _WebAttribute_pinchSmooth(ptr: KPointer, value: KInt): void { 14848 let node = this.ptr2object<WebInterface>(ptr) 14849 node.pinchSmooth_value = value 14850 } 14851 _WebAttribute_allowWindowOpenMethod(ptr: KPointer, value: KInt): void { 14852 let node = this.ptr2object<WebInterface>(ptr) 14853 node.allowWindowOpenMethod_value = value 14854 } 14855 _WebAttribute_onAudioStateChanged(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14856 let node = this.ptr2object<WebInterface>(ptr) 14857 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14858 node.onAudioStateChanged_value = thisDeserializer.readCallback_OnAudioStateChangedEvent_Void() 14859 } 14860 _WebAttribute_onFirstContentfulPaint(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14861 let node = this.ptr2object<WebInterface>(ptr) 14862 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14863 node.onFirstContentfulPaint_value = thisDeserializer.readCallback_OnFirstContentfulPaintEvent_Void() 14864 } 14865 _WebAttribute_onFirstMeaningfulPaint(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14866 let node = this.ptr2object<WebInterface>(ptr) 14867 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14868 node.onFirstMeaningfulPaint_value = thisDeserializer.readOnFirstMeaningfulPaintCallback() 14869 } 14870 _WebAttribute_onLargestContentfulPaint(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14871 let node = this.ptr2object<WebInterface>(ptr) 14872 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14873 node.onLargestContentfulPaint_value = thisDeserializer.readOnLargestContentfulPaintCallback() 14874 } 14875 _WebAttribute_onLoadIntercept(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14876 let node = this.ptr2object<WebInterface>(ptr) 14877 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14878 node.onLoadIntercept_value = thisDeserializer.readCallback_OnLoadInterceptEvent_Boolean() 14879 } 14880 _WebAttribute_onControllerAttached(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14881 let node = this.ptr2object<WebInterface>(ptr) 14882 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14883 node.onControllerAttached_value = thisDeserializer.readCallback_Void() 14884 } 14885 _WebAttribute_onOverScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14886 let node = this.ptr2object<WebInterface>(ptr) 14887 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14888 node.onOverScroll_value = thisDeserializer.readCallback_OnOverScrollEvent_Void() 14889 } 14890 _WebAttribute_onSafeBrowsingCheckResult(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14891 let node = this.ptr2object<WebInterface>(ptr) 14892 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14893 node.onSafeBrowsingCheckResult_value = thisDeserializer.readOnSafeBrowsingCheckResultCallback() 14894 } 14895 _WebAttribute_onNavigationEntryCommitted(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14896 let node = this.ptr2object<WebInterface>(ptr) 14897 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14898 node.onNavigationEntryCommitted_value = thisDeserializer.readOnNavigationEntryCommittedCallback() 14899 } 14900 _WebAttribute_onIntelligentTrackingPreventionResult(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14901 let node = this.ptr2object<WebInterface>(ptr) 14902 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14903 node.onIntelligentTrackingPreventionResult_value = thisDeserializer.readOnIntelligentTrackingPreventionCallback() 14904 } 14905 _WebAttribute_javaScriptOnDocumentStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14906 let node = this.ptr2object<WebInterface>(ptr) 14907 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14908 const javaScriptOnDocumentStart_value_buf_length: int32 = thisDeserializer.readInt32() 14909 let javaScriptOnDocumentStart_value_buf: Array<ScriptItem> = new Array<ScriptItem>() 14910 for (let javaScriptOnDocumentStart_value_buf_i = 0; javaScriptOnDocumentStart_value_buf_i < javaScriptOnDocumentStart_value_buf_length; javaScriptOnDocumentStart_value_buf_i++) { 14911 javaScriptOnDocumentStart_value_buf[javaScriptOnDocumentStart_value_buf_i] = thisDeserializer.readScriptItem() 14912 } 14913 node.javaScriptOnDocumentStart_value = javaScriptOnDocumentStart_value_buf 14914 } 14915 _WebAttribute_javaScriptOnDocumentEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14916 let node = this.ptr2object<WebInterface>(ptr) 14917 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14918 const javaScriptOnDocumentEnd_value_buf_length: int32 = thisDeserializer.readInt32() 14919 let javaScriptOnDocumentEnd_value_buf: Array<ScriptItem> = new Array<ScriptItem>() 14920 for (let javaScriptOnDocumentEnd_value_buf_i = 0; javaScriptOnDocumentEnd_value_buf_i < javaScriptOnDocumentEnd_value_buf_length; javaScriptOnDocumentEnd_value_buf_i++) { 14921 javaScriptOnDocumentEnd_value_buf[javaScriptOnDocumentEnd_value_buf_i] = thisDeserializer.readScriptItem() 14922 } 14923 node.javaScriptOnDocumentEnd_value = javaScriptOnDocumentEnd_value_buf 14924 } 14925 _WebAttribute_layoutMode(ptr: KPointer, value: KInt): void { 14926 let node = this.ptr2object<WebInterface>(ptr) 14927 node.layoutMode_value = value 14928 } 14929 _WebAttribute_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14930 let node = this.ptr2object<WebInterface>(ptr) 14931 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14932 const nestedScroll_value_buf_selector: number = thisDeserializer.readInt8() 14933 let nestedScroll_value_buf: NestedScrollOptions | NestedScrollOptionsExt | undefined|undefined 14934 if (nestedScroll_value_buf_selector == 0) { 14935 nestedScroll_value_buf = thisDeserializer.readNestedScrollOptions() 14936 } 14937 else if (nestedScroll_value_buf_selector == 1) { 14938 nestedScroll_value_buf = thisDeserializer.readNestedScrollOptionsExt() 14939 } 14940 else { 14941 throw new Error("One of the branches for nestedScroll_value_buf has to be chosen through deserialisation.") 14942 } 14943 node.nestedScroll_value = (nestedScroll_value_buf as NestedScrollOptions | NestedScrollOptionsExt) 14944 } 14945 _WebAttribute_enableNativeEmbedMode(ptr: KPointer, value: KInt): void { 14946 let node = this.ptr2object<WebInterface>(ptr) 14947 node.enableNativeEmbedMode_value = value 14948 } 14949 _WebAttribute_onNativeEmbedLifecycleChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14950 let node = this.ptr2object<WebInterface>(ptr) 14951 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14952 node.onNativeEmbedLifecycleChange_value = thisDeserializer.readCallback_NativeEmbedDataInfo_Void() 14953 } 14954 _WebAttribute_onNativeEmbedVisibilityChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14955 let node = this.ptr2object<WebInterface>(ptr) 14956 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14957 node.onNativeEmbedVisibilityChange_value = thisDeserializer.readOnNativeEmbedVisibilityChangeCallback() 14958 } 14959 _WebAttribute_onNativeEmbedGestureEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14960 let node = this.ptr2object<WebInterface>(ptr) 14961 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14962 node.onNativeEmbedGestureEvent_value = thisDeserializer.readCallback_NativeEmbedTouchInfo_Void() 14963 } 14964 _WebAttribute_copyOptions(ptr: KPointer, value: KInt): void { 14965 let node = this.ptr2object<WebInterface>(ptr) 14966 node.copyOptions_value = value 14967 } 14968 _WebAttribute_onOverrideUrlLoading(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14969 let node = this.ptr2object<WebInterface>(ptr) 14970 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14971 node.onOverrideUrlLoading_value = thisDeserializer.readOnOverrideUrlLoadingCallback() 14972 } 14973 _WebAttribute_textAutosizing(ptr: KPointer, value: KInt): void { 14974 let node = this.ptr2object<WebInterface>(ptr) 14975 node.textAutosizing_value = value 14976 } 14977 _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14978 let node = this.ptr2object<WebInterface>(ptr) 14979 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14980 node.enableNativeMediaPlayer_value = thisDeserializer.readNativeMediaPlayerConfig() 14981 } 14982 _WebAttribute_enableSmoothDragResize(ptr: KPointer, value: KInt): void { 14983 let node = this.ptr2object<WebInterface>(ptr) 14984 node.enableSmoothDragResize_value = value 14985 } 14986 _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14987 let node = this.ptr2object<WebInterface>(ptr) 14988 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14989 node.onRenderProcessNotResponding_value = thisDeserializer.readOnRenderProcessNotRespondingCallback() 14990 } 14991 _WebAttribute_onRenderProcessResponding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14992 let node = this.ptr2object<WebInterface>(ptr) 14993 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14994 node.onRenderProcessResponding_value = thisDeserializer.readOnRenderProcessRespondingCallback() 14995 } 14996 _WebAttribute_selectionMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 14997 let node = this.ptr2object<WebInterface>(ptr) 14998 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 14999 const selectionMenuOptions_value_buf_length: int32 = thisDeserializer.readInt32() 15000 let selectionMenuOptions_value_buf: Array<ExpandedMenuItemOptions> = new Array<ExpandedMenuItemOptions>() 15001 for (let selectionMenuOptions_value_buf_i = 0; selectionMenuOptions_value_buf_i < selectionMenuOptions_value_buf_length; selectionMenuOptions_value_buf_i++) { 15002 selectionMenuOptions_value_buf[selectionMenuOptions_value_buf_i] = thisDeserializer.readExpandedMenuItemOptions() 15003 } 15004 node.selectionMenuOptions_value = selectionMenuOptions_value_buf 15005 } 15006 _WebAttribute_onViewportFitChanged(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15007 let node = this.ptr2object<WebInterface>(ptr) 15008 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15009 node.onViewportFitChanged_value = thisDeserializer.readOnViewportFitChangedCallback() 15010 } 15011 _WebAttribute_onInterceptKeyboardAttach(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15012 let node = this.ptr2object<WebInterface>(ptr) 15013 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15014 node.onInterceptKeyboardAttach_value = thisDeserializer.readWebKeyboardCallback() 15015 } 15016 _WebAttribute_onAdsBlocked(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15017 let node = this.ptr2object<WebInterface>(ptr) 15018 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15019 node.onAdsBlocked_value = thisDeserializer.readOnAdsBlockedCallback() 15020 } 15021 _WebAttribute_keyboardAvoidMode(ptr: KPointer, value: KInt): void { 15022 let node = this.ptr2object<WebInterface>(ptr) 15023 node.keyboardAvoidMode_value = value 15024 } 15025 _WebAttribute_editMenuOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15026 let node = this.ptr2object<WebInterface>(ptr) 15027 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15028 node.editMenuOptions_value = (thisDeserializer.readEditMenuOptions() as EditMenuOptions) 15029 } 15030 _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { 15031 let node = this.ptr2object<WebInterface>(ptr) 15032 node.enableHapticFeedback_value = value 15033 } 15034 _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void { 15035 let node = this.ptr2object<WebInterface>(ptr) 15036 node.registerNativeEmbedRule_tag = tag 15037 node.registerNativeEmbedRule_type = type 15038 } 15039 _WebAttribute_bindSelectionMenu(ptr: KPointer, elementType: KInt, thisArray: Uint8Array, thisLength: int32, responseType: KInt): void { 15040 let node = this.ptr2object<WebInterface>(ptr) 15041 node.bindSelectionMenu_elementType = elementType 15042 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15043 node.bindSelectionMenu_content = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) 15044 node.bindSelectionMenu_responseType = thisLength 15045 const bindSelectionMenu_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15046 let bindSelectionMenu_options_buf: SelectionMenuOptionsExt | undefined|undefined 15047 if ((RuntimeType.UNDEFINED) != (bindSelectionMenu_options_buf_runtimeType)) 15048 { 15049 bindSelectionMenu_options_buf = thisDeserializer.readSelectionMenuOptionsExt() 15050 } 15051 node.bindSelectionMenu_options = bindSelectionMenu_options_buf 15052 } 15053 _WindowSceneInterface_setWindowSceneOptions(ptr: KPointer, persistentId: number): void { 15054 let node = this.ptr2object<WindowSceneInterface>(ptr) 15055 node.setWindowSceneOptions_persistentId = persistentId 15056 } 15057 _WindowSceneAttribute_attractionEffect(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, fraction: number): void { 15058 let node = this.ptr2object<WindowSceneInterface>(ptr) 15059 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15060 node.attractionEffect_destination = thisDeserializer.readPosition() 15061 node.attractionEffect_fraction = thisLength 15062 } 15063 _XComponentInterface_setXComponentOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15064 let node = this.ptr2object<XComponentInterface>(ptr) 15065 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15066 const setXComponentOptions0_value_buf_id: string = (thisDeserializer.readString() as string) 15067 const setXComponentOptions0_value_buf_type: string = (thisDeserializer.readString() as string) 15068 const setXComponentOptions0_value_buf_libraryname_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15069 let setXComponentOptions0_value_buf_libraryname_buf: string | undefined|undefined 15070 if ((RuntimeType.UNDEFINED) != (setXComponentOptions0_value_buf_libraryname_buf_runtimeType)) 15071 { 15072 setXComponentOptions0_value_buf_libraryname_buf = (thisDeserializer.readString() as string) 15073 } 15074 const setXComponentOptions0_value_buf_libraryname: undefined | string = setXComponentOptions0_value_buf_libraryname_buf 15075 const setXComponentOptions0_value_buf_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15076 let setXComponentOptions0_value_buf_controller_buf: XComponentController | undefined|undefined 15077 if ((RuntimeType.UNDEFINED) != (setXComponentOptions0_value_buf_controller_buf_runtimeType)) 15078 { 15079 setXComponentOptions0_value_buf_controller_buf = (thisDeserializer.readXComponentController() as XComponentController) 15080 } 15081 const setXComponentOptions0_value_buf_controller: undefined | XComponentController = setXComponentOptions0_value_buf_controller_buf 15082 node.setXComponentOptions0_value = ({id: setXComponentOptions0_value_buf_id, type: setXComponentOptions0_value_buf_type, libraryname: setXComponentOptions0_value_buf_libraryname, controller: setXComponentOptions0_value_buf_controller} as { id: string, type: string, libraryname?: string, controller?: XComponentController }) 15083 } 15084 _XComponentInterface_setXComponentOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15085 let node = this.ptr2object<XComponentInterface>(ptr) 15086 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15087 const setXComponentOptions1_value_buf_id: string = (thisDeserializer.readString() as string) 15088 const setXComponentOptions1_value_buf_type: string = (thisDeserializer.readString() as string) 15089 const setXComponentOptions1_value_buf_libraryname_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15090 let setXComponentOptions1_value_buf_libraryname_buf: string | undefined|undefined 15091 if ((RuntimeType.UNDEFINED) != (setXComponentOptions1_value_buf_libraryname_buf_runtimeType)) 15092 { 15093 setXComponentOptions1_value_buf_libraryname_buf = (thisDeserializer.readString() as string) 15094 } 15095 const setXComponentOptions1_value_buf_libraryname: undefined | string = setXComponentOptions1_value_buf_libraryname_buf 15096 const setXComponentOptions1_value_buf_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15097 let setXComponentOptions1_value_buf_controller_buf: XComponentController | undefined|undefined 15098 if ((RuntimeType.UNDEFINED) != (setXComponentOptions1_value_buf_controller_buf_runtimeType)) 15099 { 15100 setXComponentOptions1_value_buf_controller_buf = (thisDeserializer.readXComponentController() as XComponentController) 15101 } 15102 const setXComponentOptions1_value_buf_controller: undefined | XComponentController = setXComponentOptions1_value_buf_controller_buf 15103 node.setXComponentOptions1_value = ({id: setXComponentOptions1_value_buf_id, type: setXComponentOptions1_value_buf_type, libraryname: setXComponentOptions1_value_buf_libraryname, controller: setXComponentOptions1_value_buf_controller} as { id: string, type: string, libraryname?: string, controller?: XComponentController }) 15104 } 15105 _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15106 let node = this.ptr2object<XComponentInterface>(ptr) 15107 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15108 node.setXComponentOptions2_options = thisDeserializer.readXComponentOptions() 15109 } 15110 _XComponentAttribute_onLoad(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15111 let node = this.ptr2object<XComponentInterface>(ptr) 15112 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15113 node.onLoad_value = thisDeserializer.readOnNativeLoadCallback() 15114 } 15115 _XComponentAttribute_onDestroy(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15116 let node = this.ptr2object<XComponentInterface>(ptr) 15117 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15118 node.onDestroy_value = thisDeserializer.readVoidCallback() 15119 } 15120 _XComponentAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { 15121 let node = this.ptr2object<XComponentInterface>(ptr) 15122 node.enableAnalyzer_value = value 15123 } 15124 _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void { 15125 let node = this.ptr2object<XComponentInterface>(ptr) 15126 node.enableSecure_value = value 15127 } 15128 _SideBarContainerInterface_setSideBarContainerOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15129 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15130 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15131 const setSideBarContainerOptions_type_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15132 let setSideBarContainerOptions_type_buf: SideBarContainerType | undefined|undefined 15133 if ((RuntimeType.UNDEFINED) != (setSideBarContainerOptions_type_buf_runtimeType)) 15134 { 15135 setSideBarContainerOptions_type_buf = (thisDeserializer.readInt32() as SideBarContainerType) 15136 } 15137 node.setSideBarContainerOptions_type = setSideBarContainerOptions_type_buf 15138 } 15139 _SideBarContainerAttribute_showSideBar(ptr: KPointer, value: KInt): void { 15140 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15141 node.showSideBar_value = value 15142 } 15143 _SideBarContainerAttribute_controlButton(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15144 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15145 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15146 node.controlButton_value = thisDeserializer.readButtonStyle() 15147 } 15148 _SideBarContainerAttribute_showControlButton(ptr: KPointer, value: KInt): void { 15149 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15150 node.showControlButton_value = value 15151 } 15152 _SideBarContainerAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15153 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15154 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15155 node.onChange_value = thisDeserializer.readCallback_Boolean_Void() 15156 } 15157 _SideBarContainerAttribute_sideBarWidth0(ptr: KPointer, value: number): void { 15158 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15159 node.sideBarWidth0_value = value 15160 } 15161 _SideBarContainerAttribute_sideBarWidth1(ptr: KPointer, value: Length): void { 15162 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15163 node.sideBarWidth1_value = value 15164 } 15165 _SideBarContainerAttribute_minSideBarWidth0(ptr: KPointer, value: number): void { 15166 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15167 node.minSideBarWidth0_value = value 15168 } 15169 _SideBarContainerAttribute_minSideBarWidth1(ptr: KPointer, value: Length): void { 15170 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15171 node.minSideBarWidth1_value = value 15172 } 15173 _SideBarContainerAttribute_maxSideBarWidth0(ptr: KPointer, value: number): void { 15174 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15175 node.maxSideBarWidth0_value = value 15176 } 15177 _SideBarContainerAttribute_maxSideBarWidth1(ptr: KPointer, value: Length): void { 15178 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15179 node.maxSideBarWidth1_value = value 15180 } 15181 _SideBarContainerAttribute_autoHide(ptr: KPointer, value: KInt): void { 15182 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15183 node.autoHide_value = value 15184 } 15185 _SideBarContainerAttribute_sideBarPosition(ptr: KPointer, value: KInt): void { 15186 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15187 node.sideBarPosition_value = value 15188 } 15189 _SideBarContainerAttribute_divider(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15190 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15191 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15192 const divider_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15193 let divider_value_buf: DividerStyle | undefined|undefined 15194 if ((RuntimeType.UNDEFINED) != (divider_value_buf_runtimeType)) 15195 { 15196 divider_value_buf = thisDeserializer.readDividerStyle() 15197 } 15198 node.divider_value = divider_value_buf 15199 } 15200 _SideBarContainerAttribute_minContentWidth(ptr: KPointer, value: Length): void { 15201 let node = this.ptr2object<SideBarContainerInterface>(ptr) 15202 node.minContentWidth_value = value 15203 } 15204 _RemoteWindowInterface_setRemoteWindowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15205 let node = this.ptr2object<RemoteWindowInterface>(ptr) 15206 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15207 node.setRemoteWindowOptions_target = thisDeserializer.readWindowAnimationTarget() 15208 } 15209 _WaterFlowInterface_setWaterFlowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15210 let node = this.ptr2object<WaterFlowInterface>(ptr) 15211 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15212 const setWaterFlowOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15213 let setWaterFlowOptions_options_buf: WaterFlowOptions | undefined|undefined 15214 if ((RuntimeType.UNDEFINED) != (setWaterFlowOptions_options_buf_runtimeType)) 15215 { 15216 setWaterFlowOptions_options_buf = thisDeserializer.readWaterFlowOptions() 15217 } 15218 node.setWaterFlowOptions_options = setWaterFlowOptions_options_buf 15219 } 15220 _WaterFlowAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { 15221 let node = this.ptr2object<WaterFlowInterface>(ptr) 15222 node.columnsTemplate_value = value 15223 } 15224 _WaterFlowAttribute_itemConstraintSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15225 let node = this.ptr2object<WaterFlowInterface>(ptr) 15226 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15227 node.itemConstraintSize_value = thisDeserializer.readConstraintSizeOptions() 15228 } 15229 _WaterFlowAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { 15230 let node = this.ptr2object<WaterFlowInterface>(ptr) 15231 node.rowsTemplate_value = value 15232 } 15233 _WaterFlowAttribute_columnsGap(ptr: KPointer, value: Length): void { 15234 let node = this.ptr2object<WaterFlowInterface>(ptr) 15235 node.columnsGap_value = value 15236 } 15237 _WaterFlowAttribute_rowsGap(ptr: KPointer, value: Length): void { 15238 let node = this.ptr2object<WaterFlowInterface>(ptr) 15239 node.rowsGap_value = value 15240 } 15241 _WaterFlowAttribute_layoutDirection(ptr: KPointer, value: KInt): void { 15242 let node = this.ptr2object<WaterFlowInterface>(ptr) 15243 node.layoutDirection_value = value 15244 } 15245 _WaterFlowAttribute_nestedScroll(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15246 let node = this.ptr2object<WaterFlowInterface>(ptr) 15247 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15248 node.nestedScroll_value = thisDeserializer.readNestedScrollOptions() 15249 } 15250 _WaterFlowAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { 15251 let node = this.ptr2object<WaterFlowInterface>(ptr) 15252 node.enableScrollInteraction_value = value 15253 } 15254 _WaterFlowAttribute_friction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15255 let node = this.ptr2object<WaterFlowInterface>(ptr) 15256 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15257 const friction_value_buf_selector: number = thisDeserializer.readInt8() 15258 let friction_value_buf: number | Resource | undefined|undefined 15259 if (friction_value_buf_selector == 0) { 15260 friction_value_buf = (thisDeserializer.readNumber() as number) 15261 } 15262 else if (friction_value_buf_selector == 1) { 15263 friction_value_buf = thisDeserializer.readResource() 15264 } 15265 else { 15266 throw new Error("One of the branches for friction_value_buf has to be chosen through deserialisation.") 15267 } 15268 node.friction_value = (friction_value_buf as number | Resource) 15269 } 15270 _WaterFlowAttribute_cachedCount0(ptr: KPointer, value: number): void { 15271 let node = this.ptr2object<WaterFlowInterface>(ptr) 15272 node.cachedCount0_value = value 15273 } 15274 _WaterFlowAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { 15275 let node = this.ptr2object<WaterFlowInterface>(ptr) 15276 node.cachedCount1_count = count 15277 node.cachedCount1_show = show 15278 } 15279 _WaterFlowAttribute_onReachStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15280 let node = this.ptr2object<WaterFlowInterface>(ptr) 15281 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15282 node.onReachStart_value = thisDeserializer.readCallback_Void() 15283 } 15284 _WaterFlowAttribute_onReachEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15285 let node = this.ptr2object<WaterFlowInterface>(ptr) 15286 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15287 node.onReachEnd_value = thisDeserializer.readCallback_Void() 15288 } 15289 _WaterFlowAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15290 let node = this.ptr2object<WaterFlowInterface>(ptr) 15291 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15292 node.onScrollFrameBegin_value = thisDeserializer.readCallback_Number_ScrollState_Literal_Number_offsetRemain() 15293 } 15294 _WaterFlowAttribute_onScrollIndex(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15295 let node = this.ptr2object<WaterFlowInterface>(ptr) 15296 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15297 node.onScrollIndex_value = thisDeserializer.readCallback_Number_Number_Void() 15298 } 15299 _UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15300 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15301 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15302 node.setUIExtensionComponentOptions_want = thisDeserializer.readWant() 15303 const setUIExtensionComponentOptions_options_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15304 let setUIExtensionComponentOptions_options_buf: UIExtensionOptions | undefined|undefined 15305 if ((RuntimeType.UNDEFINED) != (setUIExtensionComponentOptions_options_buf_runtimeType)) 15306 { 15307 setUIExtensionComponentOptions_options_buf = thisDeserializer.readUIExtensionOptions() 15308 } 15309 node.setUIExtensionComponentOptions_options = setUIExtensionComponentOptions_options_buf 15310 } 15311 _UIExtensionComponentAttribute_onRemoteReady(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15312 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15313 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15314 node.onRemoteReady_value = thisDeserializer.readCallback_UIExtensionProxy_Void() 15315 } 15316 _UIExtensionComponentAttribute_onReceive(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15317 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15318 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15319 node.onReceive_value = thisDeserializer.readReceiveCallback() 15320 } 15321 _UIExtensionComponentAttribute_onResult(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15322 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15323 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15324 node.onResult_value = thisDeserializer.readCallback_Literal_Number_code_Want_want_Void() 15325 } 15326 _UIExtensionComponentAttribute_onRelease(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15327 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15328 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15329 node.onRelease_value = thisDeserializer.readCallback_Number_Void() 15330 } 15331 _UIExtensionComponentAttribute_onError(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15332 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15333 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15334 node.onError_value = thisDeserializer.readCustomObject("ErrorCallback") 15335 } 15336 _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15337 let node = this.ptr2object<UIExtensionComponentInterface>(ptr) 15338 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15339 node.onTerminated_value = thisDeserializer.readCallback_TerminationInfo_Void() 15340 } 15341 _LinearIndicatorInterface_setLinearIndicatorOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15342 let node = this.ptr2object<LinearIndicatorInterface>(ptr) 15343 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15344 const setLinearIndicatorOptions_count_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15345 let setLinearIndicatorOptions_count_buf: number | undefined|undefined 15346 if ((RuntimeType.UNDEFINED) != (setLinearIndicatorOptions_count_buf_runtimeType)) 15347 { 15348 setLinearIndicatorOptions_count_buf = (thisDeserializer.readNumber() as number) 15349 } 15350 node.setLinearIndicatorOptions_count = setLinearIndicatorOptions_count_buf 15351 const setLinearIndicatorOptions_controller_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15352 let setLinearIndicatorOptions_controller_buf: LinearIndicatorController | undefined|undefined 15353 if ((RuntimeType.UNDEFINED) != (setLinearIndicatorOptions_controller_buf_runtimeType)) 15354 { 15355 setLinearIndicatorOptions_controller_buf = (thisDeserializer.readLinearIndicatorController() as LinearIndicatorController) 15356 } 15357 node.setLinearIndicatorOptions_controller = setLinearIndicatorOptions_controller_buf 15358 } 15359 _LinearIndicatorAttribute_indicatorStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15360 let node = this.ptr2object<LinearIndicatorInterface>(ptr) 15361 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15362 const indicatorStyle_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15363 let indicatorStyle_value_buf: LinearIndicatorStyle | undefined|undefined 15364 if ((RuntimeType.UNDEFINED) != (indicatorStyle_value_buf_runtimeType)) 15365 { 15366 indicatorStyle_value_buf = thisDeserializer.readLinearIndicatorStyle() 15367 } 15368 node.indicatorStyle_value = indicatorStyle_value_buf 15369 } 15370 _LinearIndicatorAttribute_indicatorLoop(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15371 let node = this.ptr2object<LinearIndicatorInterface>(ptr) 15372 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15373 const indicatorLoop_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15374 let indicatorLoop_value_buf: boolean | undefined|undefined 15375 if ((RuntimeType.UNDEFINED) != (indicatorLoop_value_buf_runtimeType)) 15376 { 15377 indicatorLoop_value_buf = thisDeserializer.readBoolean() 15378 } 15379 node.indicatorLoop_value = indicatorLoop_value_buf 15380 } 15381 _LinearIndicatorAttribute_onChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { 15382 let node = this.ptr2object<LinearIndicatorInterface>(ptr) 15383 const thisDeserializer = new Deserializer(thisArray.buffer, thisLength) 15384 const onChange_value_buf_runtimeType = (thisDeserializer.readInt8() as int32) 15385 let onChange_value_buf: OnLinearIndicatorChangeCallback | undefined|undefined 15386 if ((RuntimeType.UNDEFINED) != (onChange_value_buf_runtimeType)) 15387 { 15388 onChange_value_buf = thisDeserializer.readOnLinearIndicatorChangeCallback() 15389 } 15390 node.onChange_value = onChange_value_buf 15391 } 15392}