drgame-cc 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,632 @@
1
+ declare module "BtnExtra" {
2
+ export default class BtnExtra extends cc.Component {
3
+ hoverSprite: cc.SpriteFrame;
4
+ normalSprite: cc.SpriteFrame;
5
+ }
6
+ }
7
+ declare module "Define" {
8
+ export enum EVideoScene {
9
+ UseProp = "use_prop",
10
+ StartGame = "start_game",
11
+ RevivePop = "revive_pop",
12
+ BuySkin = "buy_skin",
13
+ BuyProp = "buy_prop",
14
+ GameOver = "game_over",
15
+ LevelComplete = "level_complete",
16
+ Shop = "shop",
17
+ DailyReward = "daily_reward",
18
+ Boost = "boost"
19
+ }
20
+ }
21
+ declare module "config/TvUiConfig" {
22
+ export type TvUiDirection = "up" | "down" | "left" | "right";
23
+ export interface TvUiIconItem {
24
+ path?: string;
25
+ url?: string;
26
+ width?: number;
27
+ height?: number;
28
+ offsetX?: number;
29
+ offsetY?: number;
30
+ }
31
+ export interface TvUiFocusVisualConfig {
32
+ enabled?: boolean;
33
+ frameEnabled?: boolean;
34
+ framePadding?: number;
35
+ frameColor?: string;
36
+ frameOpacity?: number;
37
+ lineWidth?: number;
38
+ animationTime?: number;
39
+ defaultIconKey?: string;
40
+ iconPlacement?: "topRight" | "bottomRight";
41
+ iconOffsetX?: number;
42
+ iconOffsetY?: number;
43
+ zIndex?: number;
44
+ }
45
+ export interface TvUiAdChannelConfig {
46
+ type: string;
47
+ enabled?: boolean;
48
+ priority?: number;
49
+ placementId?: string;
50
+ reward_type?: string;
51
+ action?: string;
52
+ rewardAction?: string;
53
+ popupAction?: string;
54
+ hideAction?: string;
55
+ imagePath?: string;
56
+ imageUrl?: string;
57
+ }
58
+ export interface TvUiAdSlotConfig {
59
+ enabled?: boolean;
60
+ mode?: "reward" | "popup" | "banner" | "self" | string;
61
+ channels?: TvUiAdChannelConfig[];
62
+ fallback?: TvUiAdChannelConfig;
63
+ }
64
+ export interface TvUiAdSdkConfig {
65
+ platform?: "xiaomi" | string;
66
+ adapterConfig?: any;
67
+ }
68
+ export interface TvUiConfig {
69
+ designWidth?: number;
70
+ designHeight?: number;
71
+ resolutionPolicy?: number;
72
+ cpId?: string;
73
+ version?: string;
74
+ configPath?: string;
75
+ defaultScopeId?: string;
76
+ enableRemoteInput?: boolean;
77
+ enableCursor?: boolean;
78
+ enableLifecycle?: boolean;
79
+ focus?: TvUiFocusVisualConfig;
80
+ icons?: {
81
+ [key: string]: TvUiIconItem;
82
+ };
83
+ ads?: {
84
+ [slotId: string]: TvUiAdSlotConfig;
85
+ };
86
+ adSdk?: TvUiAdSdkConfig;
87
+ nativeCallback?: (action: string, data?: any) => void;
88
+ }
89
+ export function createDefaultTvUiConfig(): TvUiConfig;
90
+ }
91
+ declare module "config/TvUiConfigManager" {
92
+ import { TvUiConfig } from "config/TvUiConfig";
93
+ type ConfigListener = (config: TvUiConfig) => void;
94
+ export default class TvUiConfigManager {
95
+ private static readonly LOCAL_KEY;
96
+ private static config;
97
+ private static projectConfig;
98
+ private static resourceConfig;
99
+ private static listeners;
100
+ static init(config?: TvUiConfig, callback?: (config: TvUiConfig) => void): void;
101
+ static getConfig(): TvUiConfig;
102
+ static updateConfig(config: TvUiConfig, saveLocal?: boolean): void;
103
+ static onChanged(listener: ConfigListener): void;
104
+ static offChanged(listener: ConfigListener): void;
105
+ private static rebuildConfig;
106
+ private static loadResourceConfig;
107
+ private static loadLocalConfig;
108
+ private static saveLocalConfig;
109
+ private static emitChanged;
110
+ private static merge;
111
+ private static clone;
112
+ private static isPlainObject;
113
+ }
114
+ }
115
+ declare module "input/KeyCodeAdapter" {
116
+ export enum TvRemoteKey {
117
+ Back = "back",
118
+ Ok = "ok",
119
+ Left = "left",
120
+ Right = "right",
121
+ Up = "up",
122
+ Down = "down",
123
+ Pause = "pause",
124
+ Unknown = "unknown"
125
+ }
126
+ export default class KeyCodeAdapter {
127
+ static toRemoteKey(keyCode: number): TvRemoteKey;
128
+ }
129
+ }
130
+ declare module "focus/FocusScope" {
131
+ export default class FocusScope {
132
+ scopeId: string;
133
+ root: cc.Node | null;
134
+ lastFocusId: string;
135
+ constructor(scopeId: string, root?: cc.Node);
136
+ }
137
+ }
138
+ declare module "focus/FocusManager" {
139
+ import { TvUiDirection } from "config/TvUiConfig";
140
+ export interface FocusOptions {
141
+ root?: cc.Node;
142
+ scopeId?: string;
143
+ focusId?: string;
144
+ iconKey?: string;
145
+ up?: string;
146
+ down?: string;
147
+ left?: string;
148
+ right?: string;
149
+ onClick?: Function;
150
+ onFocus?: Function;
151
+ onBlur?: Function;
152
+ focusScale?: number;
153
+ showCursor?: boolean;
154
+ }
155
+ export interface FocusCursorOptions {
156
+ basePath?: string;
157
+ normalPath?: string;
158
+ focusPath?: string;
159
+ corner?: string;
160
+ width?: number;
161
+ height?: number;
162
+ offsetX?: number;
163
+ offsetY?: number;
164
+ }
165
+ export interface FocusRuntimeItem {
166
+ node: cc.Node;
167
+ root?: cc.Node;
168
+ scopeId: string;
169
+ focusId: string;
170
+ iconKey?: string;
171
+ up?: string;
172
+ down?: string;
173
+ left?: string;
174
+ right?: string;
175
+ onClick?: Function;
176
+ onFocus?: Function;
177
+ onBlur?: Function;
178
+ component?: any;
179
+ baseScaleX: number;
180
+ baseScaleY: number;
181
+ focusScale: number;
182
+ showCursor: boolean;
183
+ }
184
+ type FocusListener = (item: FocusRuntimeItem | null, previous?: FocusRuntimeItem | null) => void;
185
+ export default class FocusManager {
186
+ private static readonly FOCUS_SCALE_ACTION_TAG;
187
+ private static readonly BASE_SCALE_X_KEY;
188
+ private static readonly BASE_SCALE_Y_KEY;
189
+ private static items;
190
+ private static itemMap;
191
+ private static currentFocusId;
192
+ private static scopes;
193
+ private static activeScopeId;
194
+ private static listeners;
195
+ private static cursorOptions;
196
+ static setCursor(options: FocusCursorOptions | null): void;
197
+ static getCursor(): FocusCursorOptions | null;
198
+ static register(target: cc.Node | any, options?: FocusOptions): void;
199
+ static unregister(target: cc.Node | any): void;
200
+ static unregisterByRoot(root: cc.Node): void;
201
+ static unregisterById(focusId: string): void;
202
+ static registerButtons(root: cc.Node, options?: FocusOptions): void;
203
+ static pushScope(scopeId: string, root?: cc.Node, firstFocus?: string | cc.Node): void;
204
+ static popScope(scopeId?: string): void;
205
+ static reset(): void;
206
+ static focus(target: string | cc.Node): boolean;
207
+ static focusNode(node: cc.Node): boolean;
208
+ static move(direction: TvUiDirection): boolean;
209
+ static confirm(): boolean;
210
+ static back(): boolean;
211
+ static handleKey(keyCode: number): boolean;
212
+ static clickCurrent(): boolean;
213
+ static getCurrentFocusItem(): FocusRuntimeItem | null;
214
+ static getActiveScopeId(): string;
215
+ static onFocusChanged(listener: FocusListener): void;
216
+ static offFocusChanged(listener: FocusListener): void;
217
+ private static setFocusById;
218
+ private static setFocusVisual;
219
+ private static setButtonSpriteVisual;
220
+ private static ensureFocus;
221
+ private static moveByOrder;
222
+ private static removeItemAt;
223
+ private static cleanup;
224
+ private static isItemActive;
225
+ private static isInActiveScope;
226
+ private static getActiveScope;
227
+ private static getWorldCenter;
228
+ private static getDirectionVector;
229
+ private static invokeButton;
230
+ private static emitFocusChanged;
231
+ private static resolveNode;
232
+ private static resolveComponent;
233
+ private static findItemByNode;
234
+ private static getNodeBaseScale;
235
+ private static readScale;
236
+ private static isValidScale;
237
+ private static createFocusId;
238
+ private static walk;
239
+ private static isChildOf;
240
+ }
241
+ }
242
+ declare module "icon/IconManager" {
243
+ import { TvUiIconItem } from "config/TvUiConfig";
244
+ type SpriteFrameCallback = (spriteFrame: cc.SpriteFrame | null, config?: TvUiIconItem | null) => void;
245
+ export default class IconManager {
246
+ private static cache;
247
+ private static inited;
248
+ static init(): void;
249
+ static getIconConfig(iconKey?: string): TvUiIconItem | null;
250
+ static getSpriteFrame(iconKey: string, callback: SpriteFrameCallback): void;
251
+ static setIconTheme(iconKey: string): void;
252
+ static clearCache(): void;
253
+ private static loadLocal;
254
+ private static loadRemote;
255
+ private static loadFallback;
256
+ }
257
+ }
258
+ declare module "focus/FocusVisualLayer" {
259
+ export default class FocusVisualLayer extends cc.Component {
260
+ private graphics;
261
+ private iconNode;
262
+ private iconSprite;
263
+ private currentItem;
264
+ private currentIconConfig;
265
+ private inited;
266
+ static create(parent: cc.Node): FocusVisualLayer;
267
+ onDestroy(): void;
268
+ init(): void;
269
+ update(): void;
270
+ private buildView;
271
+ private onFocusChanged;
272
+ private onConfigChanged;
273
+ private refresh;
274
+ private hide;
275
+ private refreshIcon;
276
+ private drawFocus;
277
+ private positionIcon;
278
+ private resizeToParent;
279
+ private parseColor;
280
+ }
281
+ }
282
+ declare module "ad/IAdProvider" {
283
+ import { TvUiAdChannelConfig, TvUiAdSlotConfig } from "config/TvUiConfig";
284
+ export interface AdShowOptions {
285
+ slotId?: string;
286
+ mode?: string;
287
+ cpId?: string;
288
+ trigger_scene?: string;
289
+ reward_type?: string;
290
+ extra?: any;
291
+ container?: cc.Node;
292
+ onLoad?: (data?: any) => void;
293
+ onSuccess?: (data?: any) => void;
294
+ onClose?: (data?: any) => void;
295
+ onFail?: (data?: any) => void;
296
+ }
297
+ export interface AdRuntimeData {
298
+ slotId: string;
299
+ slotConfig: TvUiAdSlotConfig;
300
+ channel: TvUiAdChannelConfig;
301
+ options: AdShowOptions;
302
+ }
303
+ export type AdShowResultStatus = "success" | "loaded" | "closed" | "failed";
304
+ export interface AdShowResult {
305
+ status: AdShowResultStatus;
306
+ data?: any;
307
+ error?: any;
308
+ action?: string;
309
+ }
310
+ export default interface IAdProvider {
311
+ type: string;
312
+ isAvailable(): boolean;
313
+ load(data: AdRuntimeData): Promise<AdRuntimeData>;
314
+ show(data: AdRuntimeData): Promise<AdShowResult>;
315
+ hide(slotId: string, channel?: TvUiAdChannelConfig): void;
316
+ }
317
+ }
318
+ declare module "core/NativeBridge" {
319
+ export type NativeCallback = (action: string, data?: any) => void;
320
+ export type NativeBridgeCallback = (code: number, data?: any, action?: string) => void;
321
+ export default class NativeBridge {
322
+ static hasBridge(): boolean;
323
+ static call(action: string, data?: any, callback?: NativeBridgeCallback): void;
324
+ static getDeviceInfo(callback?: NativeBridgeCallback): void;
325
+ static onGameReady(): void;
326
+ static onGamePause(): void;
327
+ static onGameResume(): void;
328
+ static onExitGame(): void;
329
+ static uploadRank(data: any, callback?: NativeBridgeCallback): void;
330
+ static getRankList(data: any, callback?: NativeBridgeCallback): void;
331
+ static setNativeCallback(callback: NativeCallback | null): void;
332
+ }
333
+ }
334
+ declare module "ad/AggregateAdProvider" {
335
+ import { TvUiAdChannelConfig } from "config/TvUiConfig";
336
+ import IAdProvider, { AdRuntimeData, AdShowResult } from "ad/IAdProvider";
337
+ export default class AggregateAdProvider implements IAdProvider {
338
+ type: string;
339
+ private static initialized;
340
+ private static initTask;
341
+ private static gameReadyNotified;
342
+ private static GAME_VERSION;
343
+ isAvailable(): boolean;
344
+ load(data: AdRuntimeData): Promise<AdRuntimeData>;
345
+ show(data: AdRuntimeData): Promise<AdShowResult>;
346
+ hide(slotId: string, channel?: TvUiAdChannelConfig): void;
347
+ private showReward;
348
+ private ensureSdk;
349
+ private notifyGameReady;
350
+ private getPlatform;
351
+ private isUserAbandoned;
352
+ }
353
+ }
354
+ declare module "ad/SelfAdProvider" {
355
+ import IAdProvider, { AdRuntimeData, AdShowResult } from "ad/IAdProvider";
356
+ export default class SelfAdProvider implements IAdProvider {
357
+ type: string;
358
+ isAvailable(): boolean;
359
+ load(data: AdRuntimeData): Promise<AdRuntimeData>;
360
+ show(data: AdRuntimeData): Promise<AdShowResult>;
361
+ hide(_slotId: string): void;
362
+ }
363
+ }
364
+ declare module "ad/MockAdProvider" {
365
+ import IAdProvider, { AdRuntimeData, AdShowResult } from "ad/IAdProvider";
366
+ export default class MockAdProvider implements IAdProvider {
367
+ type: string;
368
+ isAvailable(): boolean;
369
+ load(data: AdRuntimeData): Promise<AdRuntimeData>;
370
+ show(data: AdRuntimeData): Promise<AdShowResult>;
371
+ hide(slotId: string): void;
372
+ }
373
+ }
374
+ declare module "ad/AdManager" {
375
+ import IAdProvider, { AdShowOptions } from "ad/IAdProvider";
376
+ export default class AdManager {
377
+ private static providers;
378
+ static init(): void;
379
+ static registerProvider(provider: IAdProvider): void;
380
+ static showSlot(slotId: string, options?: AdShowOptions): Promise<boolean>;
381
+ static hideSlot(slotId: string): void;
382
+ static refreshSlot(slotId: string, options?: AdShowOptions): Promise<boolean>;
383
+ static showReward(options: AdShowOptions): Promise<boolean>;
384
+ static showPopup(options: AdShowOptions): Promise<boolean>;
385
+ static hidePopup(scene?: string): void;
386
+ private static getSlotConfig;
387
+ private static showByChannels;
388
+ private static getSortedChannels;
389
+ private static normalizeFallback;
390
+ private static hasChannelType;
391
+ private static getPriority;
392
+ private static mergeOptions;
393
+ }
394
+ }
395
+ declare module "core/BackManager" {
396
+ export type BackHandler = () => boolean | void;
397
+ export default class BackManager {
398
+ private static handlers;
399
+ private static fallback;
400
+ static reset(): void;
401
+ static setFallback(handler: BackHandler | null): void;
402
+ static push(handler: BackHandler): void;
403
+ static remove(handler: BackHandler): void;
404
+ static handle(): boolean;
405
+ }
406
+ }
407
+ declare module "input/RemoteInputManager" {
408
+ import { TvRemoteKey } from "input/KeyCodeAdapter";
409
+ type KeyHandler = (keyCode: number) => boolean | void;
410
+ export class RemoteInputManager {
411
+ private static handlers;
412
+ private static enabled;
413
+ private static domInputEnabled;
414
+ private static lastKeyCode;
415
+ private static lastDispatchTime;
416
+ private static readonly DISPATCH_DEBOUNCE_MS;
417
+ static enable(): void;
418
+ static disable(): void;
419
+ static clear(): void;
420
+ static on(key: TvRemoteKey, handler: KeyHandler): void;
421
+ static off(key: TvRemoteKey, handler: KeyHandler): void;
422
+ static toRemoteKey(keyCode: number): TvRemoteKey;
423
+ static dispatchKeyCode(keyCode: number): boolean;
424
+ private static onKeyDown;
425
+ private static enableDomInput;
426
+ private static disableDomInput;
427
+ private static onDomKeyDown;
428
+ private static focusCanvas;
429
+ }
430
+ }
431
+ declare module "core/TvUiRoot" {
432
+ import { TvUiConfig } from "config/TvUiConfig";
433
+ export default class TvUiRoot extends cc.Component {
434
+ private static instance;
435
+ private static backHandler;
436
+ private visualLayer;
437
+ private configured;
438
+ static ensure(config?: TvUiConfig): TvUiRoot;
439
+ static getInstance(): TvUiRoot | null;
440
+ static setBackHandler(handler: (() => boolean | void) | null): void;
441
+ onLoad(): void;
442
+ onDestroy(): void;
443
+ configure(config?: TvUiConfig): void;
444
+ private applyConfig;
445
+ private ensureVisualLayer;
446
+ private bindInputHandlers;
447
+ private resize;
448
+ private exposeGlobal;
449
+ }
450
+ }
451
+ declare module "core/TvUi" {
452
+ import TvUiRoot from "core/TvUiRoot";
453
+ import BackManager from "core/BackManager";
454
+ import NativeBridge from "core/NativeBridge";
455
+ import TvUiConfigManager from "config/TvUiConfigManager";
456
+ import { TvUiConfig } from "config/TvUiConfig";
457
+ import FocusManager from "focus/FocusManager";
458
+ import IconManager from "icon/IconManager";
459
+ import AdManager from "ad/AdManager";
460
+ import { RemoteInputManager } from "input/RemoteInputManager";
461
+ export default class TvUi {
462
+ static root: typeof TvUiRoot;
463
+ static config: typeof TvUiConfigManager;
464
+ static focus: typeof FocusManager;
465
+ static icon: typeof IconManager;
466
+ static ads: typeof AdManager;
467
+ static api: typeof NativeBridge;
468
+ static input: typeof RemoteInputManager;
469
+ static back: typeof BackManager;
470
+ private static initialized;
471
+ static init(config?: TvUiConfig): void;
472
+ static destroy(): void;
473
+ private static exposeGlobal;
474
+ private static onGameHide;
475
+ private static onGameShow;
476
+ }
477
+ }
478
+ declare module "toast/UIFunctions" {
479
+ export default class UIFunctions {
480
+ static getChildrenAnimations(node: any): cc.Animation[];
481
+ static stopAnimations(animations: any): void;
482
+ static doShowAnimations(animations: any, finishCallback?: Function, target?: any): void;
483
+ static isAnimationRunning(animations: cc.Animation[]): any;
484
+ static doHideAnimations(animations: any, finishCallback?: Function, target?: any): boolean;
485
+ static getToggleIndex(toggle: cc.Toggle): number;
486
+ static selectToggleIndex(toggleContainer: cc.Node, index: any): void;
487
+ static setTouchEnabled(node: any, b: any): void;
488
+ static setButtonEnabled(btn: any, b: any): void;
489
+ }
490
+ }
491
+ declare module "toast/ToastComponent" {
492
+ export default class ToastComponent extends cc.Component {
493
+ label: cc.Label;
494
+ onLoad(): void;
495
+ start(): void;
496
+ hide(callback: any): any;
497
+ show(text: any): any;
498
+ }
499
+ }
500
+ declare module "toast/ToastManager" {
501
+ export default class ToastManager {
502
+ static readonly Inst: ToastManager;
503
+ private toastPool;
504
+ private prefab;
505
+ init(): Promise<void>;
506
+ private loadSpriteFrame;
507
+ onDestroy(): void;
508
+ make(text: any, dur?: number): any;
509
+ private show;
510
+ }
511
+ }
512
+ declare module "Info" {
513
+ export interface RewardVideoHooks {
514
+ onClose?: Function;
515
+ onFail?: Function;
516
+ onFinish?: Function;
517
+ }
518
+ export function showRewardVideo(scene: string, rewardType: string, callback: Function, target?: any, hooks?: RewardVideoHooks): void;
519
+ }
520
+ declare module "Loader" {
521
+ export class Loader {
522
+ static loadRes<T extends cc.Asset>(path: string, progressCallback?: (progress: number) => void): Promise<T>;
523
+ static loadResDir<T extends cc.Asset>(dir: string, progressCallback?: (progress: number, completedCount: number, totalCount: number) => void): Promise<T[]>;
524
+ static loadBatch(resources: Array<{
525
+ path: string;
526
+ key?: string;
527
+ }>, progressCallback?: (progress: number, completedCount: number, totalCount: number) => void): Promise<Map<string, any>>;
528
+ }
529
+ }
530
+ declare module "PlatformAdapter" {
531
+ import { EVideoScene } from "Define";
532
+ export class PlatformAdapter {
533
+ private static readonly cpId;
534
+ private static readonly version;
535
+ private static readonly designWidth;
536
+ private static readonly designHeight;
537
+ static init(): Promise<void>;
538
+ static showRewardVideo(scene: EVideoScene, rewardType: string, callback: Function, target?: any): void;
539
+ static registerButton(button: cc.Button): void;
540
+ static registerButtonByName(name: string, parent?: cc.Node): void;
541
+ static focusButtonByName(name: string, parent?: cc.Node): void;
542
+ static focusButton(btn: cc.Button): void;
543
+ static findChildByName(parent: cc.Node, name: string): cc.Node | null;
544
+ static showWindow(window: cc.Node): void;
545
+ static hideWindow(window: cc.Node): void;
546
+ static refreshWindow(window: cc.Node): void;
547
+ static showExitWin(): Promise<void>;
548
+ }
549
+ }
550
+ declare module "ExitWin" {
551
+ export default class ExitWin extends cc.Component {
552
+ btnCancel: cc.Button;
553
+ btnExit: cc.Button;
554
+ start(): void;
555
+ private onClickCancel;
556
+ private onClickExit;
557
+ onEnable(): void;
558
+ onDisable(): void;
559
+ }
560
+ }
561
+ declare module "ad/AdSlot" {
562
+ export default class AdSlot extends cc.Component {
563
+ slotId: string;
564
+ showOnLoad: boolean;
565
+ onEnable(): void;
566
+ onDisable(): void;
567
+ show(): void;
568
+ hide(): void;
569
+ refresh(): void;
570
+ static show(slotId: string): Promise<boolean>;
571
+ static hide(slotId: string): void;
572
+ static refresh(slotId: string): Promise<boolean>;
573
+ }
574
+ }
575
+ declare module "focus/FocusItem" {
576
+ export default class FocusItem extends cc.Component {
577
+ focusId: string;
578
+ scopeId: string;
579
+ iconKey: string;
580
+ up: string;
581
+ down: string;
582
+ left: string;
583
+ right: string;
584
+ focusScale: number;
585
+ autoRegister: boolean;
586
+ onEnable(): void;
587
+ onDisable(): void;
588
+ onFocus(): void;
589
+ onBlur(): void;
590
+ onConfirm(): void;
591
+ }
592
+ }
593
+ declare module "icon/IconConfig" {
594
+ import { TvUiIconItem } from "config/TvUiConfig";
595
+ export interface IconConfigMap {
596
+ [key: string]: TvUiIconItem;
597
+ }
598
+ export { TvUiIconItem };
599
+ }
600
+ declare module "toast/TvExitConfirmDialog" {
601
+ export default class TvExitConfirmDialog extends cc.Component {
602
+ private static pendingPromise;
603
+ private static currentDialog;
604
+ private static spriteCache;
605
+ private resolver;
606
+ private closed;
607
+ private tvBackHandler;
608
+ private tvFocusScopeId;
609
+ private cancelState;
610
+ private confirmState;
611
+ private onExitCallback;
612
+ static show(onExitCallback?: (confirmed: boolean) => void): Promise<boolean>;
613
+ private static getDialogParent;
614
+ private static getParentSize;
615
+ private static clearPending;
616
+ private open;
617
+ private loadSprites;
618
+ private buildView;
619
+ private createMask;
620
+ private createSpriteNode;
621
+ private createDialogButton;
622
+ private refreshButtonState;
623
+ private registerTvControls;
624
+ private registerFocus;
625
+ private setFocusedState;
626
+ private refreshAllButtonStates;
627
+ private unregisterTvControls;
628
+ private close;
629
+ private finish;
630
+ onDestroy(): void;
631
+ }
632
+ }