68 lines
1.7 KiB
TypeScript
68 lines
1.7 KiB
TypeScript
import { Node } from 'cc';
|
|
interface tishi extends Node{
|
|
nodesType:{
|
|
"bg" : tishi_bg,
|
|
"top" : tishi_bg_top,
|
|
"ty_pop1" : tishi_bg_top_ty_pop1,
|
|
"title" : tishi_bg_top_title,
|
|
"btn_close" : tishi_bg_top_btn_close,
|
|
"intr" : tishi_bg_intr,
|
|
"txt_ms" : tishi_bg_txt_ms,
|
|
"btn_buy" : tishi_bg_btn_buy,
|
|
"btntxt" : tishi_bg_btn_buy_btntxt,
|
|
|
|
}
|
|
}
|
|
interface tishi_bg extends Node{
|
|
nodesType:{
|
|
"top" : tishi_bg_top,
|
|
"ty_pop1" : tishi_bg_top_ty_pop1,
|
|
"title" : tishi_bg_top_title,
|
|
"btn_close" : tishi_bg_top_btn_close,
|
|
"intr" : tishi_bg_intr,
|
|
"txt_ms" : tishi_bg_txt_ms,
|
|
"btn_buy" : tishi_bg_btn_buy,
|
|
"btntxt" : tishi_bg_btn_buy_btntxt,
|
|
|
|
}
|
|
}
|
|
interface tishi_bg_top extends Node{
|
|
nodesType:{
|
|
"ty_pop1" : tishi_bg_top_ty_pop1,
|
|
"title" : tishi_bg_top_title,
|
|
"btn_close" : tishi_bg_top_btn_close,
|
|
|
|
}
|
|
}
|
|
interface tishi_bg_top_ty_pop1 extends Node{
|
|
}
|
|
interface tishi_bg_top_title extends Node{
|
|
}
|
|
interface tishi_bg_top_btn_close extends Node{
|
|
nodesType:tree_a_public_btn_guanbi
|
|
}
|
|
interface tishi_bg_intr extends Node{
|
|
}
|
|
interface tishi_bg_txt_ms extends Node{
|
|
}
|
|
interface tishi_bg_btn_buy extends Node{
|
|
nodesType:{
|
|
"btntxt" : tishi_bg_btn_buy_btntxt,
|
|
|
|
}
|
|
}
|
|
interface tishi_bg_btn_buy_btntxt extends Node{
|
|
}
|
|
declare global {
|
|
type tree_tishi_tishi = {
|
|
"tishi" : tishi,
|
|
"bg" : tishi_bg,
|
|
"top" : tishi_bg_top,
|
|
"ty_pop1" : tishi_bg_top_ty_pop1,
|
|
"title" : tishi_bg_top_title,
|
|
"btn_close" : tishi_bg_top_btn_close,
|
|
"intr" : tishi_bg_intr,
|
|
"txt_ms" : tishi_bg_txt_ms,
|
|
"btn_buy" : tishi_bg_btn_buy,
|
|
"btntxt" : tishi_bg_btn_buy_btntxt,
|
|
}} |