mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-10-30 19:05:44 +00:00
仓库中添加内置的demo
This commit is contained in:
17
demo/extensions-config/fgui/Home/CloseAllWindow.json
Normal file
17
demo/extensions-config/fgui/Home/CloseAllWindow.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onClickBtnClose": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/CloseOneWindow.json
Normal file
17
demo/extensions-config/fgui/Home/CloseOneWindow.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onClickBtnClose": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
62
demo/extensions-config/fgui/Home/ConditionWindow.json
Normal file
62
demo/extensions-config/fgui/Home/ConditionWindow.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"props": {
|
||||
"reddot1": {
|
||||
"name": "reddot1",
|
||||
"idPath": "n7_eiv0",
|
||||
"namePath": "reddot1"
|
||||
},
|
||||
"reddot2": {
|
||||
"name": "reddot2",
|
||||
"idPath": "n8_eiv0",
|
||||
"namePath": "reddot2"
|
||||
},
|
||||
"btn_condition1": {
|
||||
"name": "btn_condition1",
|
||||
"idPath": "n9_eiv0",
|
||||
"namePath": "btn_condition1"
|
||||
},
|
||||
"btn_condition2": {
|
||||
"name": "btn_condition2",
|
||||
"idPath": "n10_eiv0",
|
||||
"namePath": "btn_condition2"
|
||||
},
|
||||
"btn_condition3": {
|
||||
"name": "btn_condition3",
|
||||
"idPath": "n11_eiv0",
|
||||
"namePath": "btn_condition3"
|
||||
},
|
||||
"btn_condition4": {
|
||||
"name": "btn_condition4",
|
||||
"idPath": "n12_eiv0",
|
||||
"namePath": "btn_condition4"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onClickBtnClose": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
},
|
||||
"onClickBtnCondition1": {
|
||||
"name": "btn_condition1",
|
||||
"idPath": "n9_eiv0",
|
||||
"namePath": "btn_condition1"
|
||||
},
|
||||
"onClickBtnCondition2": {
|
||||
"name": "btn_condition2",
|
||||
"idPath": "n10_eiv0",
|
||||
"namePath": "btn_condition2"
|
||||
},
|
||||
"onClickBtnCondition3": {
|
||||
"name": "btn_condition3",
|
||||
"idPath": "n11_eiv0",
|
||||
"namePath": "btn_condition3"
|
||||
},
|
||||
"onClickBtnCondition4": {
|
||||
"name": "btn_condition4",
|
||||
"idPath": "n12_eiv0",
|
||||
"namePath": "btn_condition4"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
11
demo/extensions-config/fgui/Home/CustomComponents.json
Normal file
11
demo/extensions-config/fgui/Home/CustomComponents.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"props": {
|
||||
"n1": {
|
||||
"name": "n1",
|
||||
"idPath": "n1_hg37",
|
||||
"namePath": "n1"
|
||||
}
|
||||
},
|
||||
"callbacks": {},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/HideAllWindow.json
Normal file
17
demo/extensions-config/fgui/Home/HideAllWindow.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onClickBtnClose": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/HideOneWindow.json
Normal file
17
demo/extensions-config/fgui/Home/HideOneWindow.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onClickBtnClose": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n4_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
265
demo/extensions-config/fgui/Home/HomeWindow.json
Normal file
265
demo/extensions-config/fgui/Home/HomeWindow.json
Normal file
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"props": {
|
||||
"customComponents": {
|
||||
"name": "n0",
|
||||
"idPath": "n0_73ie",
|
||||
"namePath": "n0"
|
||||
},
|
||||
"btn_close": {
|
||||
"name": "n0",
|
||||
"idPath": "n0_73ie",
|
||||
"namePath": "n0"
|
||||
},
|
||||
"t1": {
|
||||
"name": "group22",
|
||||
"idPath": "n10_kofe",
|
||||
"namePath": "group22"
|
||||
},
|
||||
"t2": {
|
||||
"name": "btn3",
|
||||
"idPath": "n4_zmnj",
|
||||
"namePath": "btn3"
|
||||
},
|
||||
"t4": {
|
||||
"name": "n0",
|
||||
"idPath": "n4_zmnj/n0_zmnj",
|
||||
"namePath": "btn3/n0"
|
||||
},
|
||||
"t6": {
|
||||
"name": "n8",
|
||||
"idPath": "n8_p4hj",
|
||||
"namePath": "n8"
|
||||
},
|
||||
"t3": {
|
||||
"name": "btn0",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn0"
|
||||
},
|
||||
"t5": {
|
||||
"name": "btn0",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn0"
|
||||
},
|
||||
"t7": {
|
||||
"name": "group22",
|
||||
"idPath": "n10_kofe",
|
||||
"namePath": "group22"
|
||||
},
|
||||
"t8": {
|
||||
"name": "n8",
|
||||
"idPath": "n8_p4hj",
|
||||
"namePath": "n8"
|
||||
},
|
||||
"t9": {
|
||||
"name": "n7",
|
||||
"idPath": "n7_fnoh",
|
||||
"namePath": "n7"
|
||||
},
|
||||
"t10": {
|
||||
"name": "group11",
|
||||
"idPath": "n9_kofe",
|
||||
"namePath": "group11"
|
||||
},
|
||||
"t11": {
|
||||
"name": "group33",
|
||||
"idPath": "n11_kofe",
|
||||
"namePath": "group33"
|
||||
},
|
||||
"grauphsss": {
|
||||
"name": "grauph",
|
||||
"idPath": "n0_73ie",
|
||||
"namePath": "grauph"
|
||||
},
|
||||
"customComponentssss": {
|
||||
"name": "com",
|
||||
"idPath": "n8_p4hj",
|
||||
"namePath": "com"
|
||||
},
|
||||
"btn0sss": {
|
||||
"name": "btn0",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn0"
|
||||
},
|
||||
"btn2sss": {
|
||||
"name": "btn2",
|
||||
"idPath": "n3_zmnj",
|
||||
"namePath": "btn2"
|
||||
},
|
||||
"btn3sss": {
|
||||
"name": "btn3",
|
||||
"idPath": "n4_zmnj",
|
||||
"namePath": "btn3"
|
||||
},
|
||||
"btn4sss": {
|
||||
"name": "btn4",
|
||||
"idPath": "n5_zmnj",
|
||||
"namePath": "btn4"
|
||||
},
|
||||
"lab_textsss": {
|
||||
"name": "lab_text",
|
||||
"idPath": "n7_fnoh",
|
||||
"namePath": "lab_text"
|
||||
},
|
||||
"group33sss": {
|
||||
"name": "group33",
|
||||
"idPath": "n11_kofe",
|
||||
"namePath": "group33"
|
||||
},
|
||||
"group22sss": {
|
||||
"name": "n0",
|
||||
"idPath": "n0_73ie",
|
||||
"namePath": "n0"
|
||||
},
|
||||
"btn_header1": {
|
||||
"name": "btn_header1",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn_header1"
|
||||
},
|
||||
"btn_header2": {
|
||||
"name": "btn_header2",
|
||||
"idPath": "n12_wx4p",
|
||||
"namePath": "btn_header2"
|
||||
},
|
||||
"btn_empty": {
|
||||
"name": "btn_empty",
|
||||
"idPath": "n3_zmnj",
|
||||
"namePath": "btn_empty"
|
||||
},
|
||||
"btn_closeone": {
|
||||
"name": "btn_closeone",
|
||||
"idPath": "n4_zmnj",
|
||||
"namePath": "btn_closeone"
|
||||
},
|
||||
"btn_closeall": {
|
||||
"name": "btn_closeall",
|
||||
"idPath": "n5_zmnj",
|
||||
"namePath": "btn_closeall"
|
||||
},
|
||||
"btn_hideone": {
|
||||
"name": "btn_hideone",
|
||||
"idPath": "n13_wx4p",
|
||||
"namePath": "btn_hideone"
|
||||
},
|
||||
"btn_hideall": {
|
||||
"name": "btn_hideall",
|
||||
"idPath": "n14_wx4p",
|
||||
"namePath": "btn_hideall"
|
||||
},
|
||||
"btn_game": {
|
||||
"name": "btn_game",
|
||||
"idPath": "n16_cmn3",
|
||||
"namePath": "btn_game"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onInit": {
|
||||
"name": "group11",
|
||||
"idPath": "n9_kofe",
|
||||
"namePath": "group11"
|
||||
},
|
||||
"onShow": {
|
||||
"name": "group33",
|
||||
"idPath": "n11_kofe",
|
||||
"namePath": "group33"
|
||||
},
|
||||
"onClick_btn0": {
|
||||
"name": "btn0",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn0"
|
||||
},
|
||||
"onClick_btn2": {
|
||||
"name": "btn2",
|
||||
"idPath": "n3_zmnj",
|
||||
"namePath": "btn2"
|
||||
},
|
||||
"onClick_btn3": {
|
||||
"name": "btn3",
|
||||
"idPath": "n4_zmnj",
|
||||
"namePath": "btn3"
|
||||
},
|
||||
"onClick_btn4": {
|
||||
"name": "btn4",
|
||||
"idPath": "n5_zmnj",
|
||||
"namePath": "btn4"
|
||||
},
|
||||
"onClickBtnHeader1": {
|
||||
"name": "btn_header1",
|
||||
"idPath": "n1_zmnj",
|
||||
"namePath": "btn_header1"
|
||||
},
|
||||
"onClickBtnHeader2": {
|
||||
"name": "btn_header2",
|
||||
"idPath": "n12_wx4p",
|
||||
"namePath": "btn_header2"
|
||||
},
|
||||
"onClickBtnEmpty": {
|
||||
"name": "btn_empty",
|
||||
"idPath": "n3_zmnj",
|
||||
"namePath": "btn_empty"
|
||||
},
|
||||
"onClickBtnCloseOne": {
|
||||
"name": "btn_closeone",
|
||||
"idPath": "n4_zmnj",
|
||||
"namePath": "btn_closeone"
|
||||
},
|
||||
"onClickBtnCloseAll": {
|
||||
"name": "btn_closeall",
|
||||
"idPath": "n5_zmnj",
|
||||
"namePath": "btn_closeall"
|
||||
},
|
||||
"onClickBtnHideOne": {
|
||||
"name": "btn_hideone",
|
||||
"idPath": "n13_wx4p",
|
||||
"namePath": "btn_hideone"
|
||||
},
|
||||
"onClickBtnHideAll": {
|
||||
"name": "btn_hideall",
|
||||
"idPath": "n14_wx4p",
|
||||
"namePath": "btn_hideall"
|
||||
},
|
||||
"onClickBtnGame": {
|
||||
"name": "btn_game",
|
||||
"idPath": "n16_cmn3",
|
||||
"namePath": "btn_game"
|
||||
},
|
||||
"onClickBtnCondition": {
|
||||
"name": "btn_condition",
|
||||
"idPath": "n17_eiv0",
|
||||
"namePath": "btn_condition"
|
||||
},
|
||||
"onClickLoadBuffer": {
|
||||
"name": "btn_config",
|
||||
"idPath": "n18_pldv",
|
||||
"namePath": "btn_config"
|
||||
},
|
||||
"onSocketWindow": {
|
||||
"name": "btn_socket",
|
||||
"idPath": "n19_jwlw",
|
||||
"namePath": "btn_socket"
|
||||
},
|
||||
"onClickMiniGame": {
|
||||
"name": "btn_minigame",
|
||||
"idPath": "n20_jevi",
|
||||
"namePath": "btn_minigame"
|
||||
},
|
||||
"onClickBtnHotUpdate": {
|
||||
"name": "btn_hotupdate",
|
||||
"idPath": "n21_bz1o",
|
||||
"namePath": "btn_hotupdate"
|
||||
},
|
||||
"onClickUI": {
|
||||
"name": "btn_ui",
|
||||
"idPath": "n22_sf8l",
|
||||
"namePath": "btn_ui"
|
||||
}
|
||||
},
|
||||
"controls": {
|
||||
"status": "status",
|
||||
"sta2": "sta2"
|
||||
},
|
||||
"transitions": {
|
||||
"t0": "t0",
|
||||
"t1": "t1"
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/PopWindow.json
Normal file
17
demo/extensions-config/fgui/Home/PopWindow.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onCloseWindow": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/PopWindowHeader1.json
Normal file
17
demo/extensions-config/fgui/Home/PopWindowHeader1.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onCloseWindow": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
17
demo/extensions-config/fgui/Home/PopWindowHeader2.json
Normal file
17
demo/extensions-config/fgui/Home/PopWindowHeader2.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"props": {
|
||||
"btn_close": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onCloseWindow": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
47
demo/extensions-config/fgui/Home/SocketTestWindow.json
Normal file
47
demo/extensions-config/fgui/Home/SocketTestWindow.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"props": {
|
||||
"text_input": {
|
||||
"name": "text_input",
|
||||
"idPath": "n6_jwlw",
|
||||
"namePath": "text_input"
|
||||
},
|
||||
"text_input_message": {
|
||||
"name": "text_input_message",
|
||||
"idPath": "n9_jwlw",
|
||||
"namePath": "text_input_message"
|
||||
}
|
||||
},
|
||||
"callbacks": {
|
||||
"onCloseWindow": {
|
||||
"name": "btn_close",
|
||||
"idPath": "n2_fnoh",
|
||||
"namePath": "btn_close"
|
||||
},
|
||||
"onDisconnect": {
|
||||
"name": "btn_stop",
|
||||
"idPath": "n5_jwlw",
|
||||
"namePath": "btn_stop"
|
||||
},
|
||||
"onConnection": {
|
||||
"name": "btn_start",
|
||||
"idPath": "n3_jwlw",
|
||||
"namePath": "btn_start"
|
||||
},
|
||||
"onSend": {
|
||||
"name": "btn_send",
|
||||
"idPath": "n4_jwlw",
|
||||
"namePath": "btn_send"
|
||||
},
|
||||
"onSendText": {
|
||||
"name": "btn_send",
|
||||
"idPath": "n4_jwlw",
|
||||
"namePath": "btn_send"
|
||||
},
|
||||
"onSendBinary": {
|
||||
"name": "btn_send_protobuf",
|
||||
"idPath": "n10_fxlq",
|
||||
"namePath": "btn_send_protobuf"
|
||||
}
|
||||
},
|
||||
"__version__": "0.0.1"
|
||||
}
|
||||
Reference in New Issue
Block a user