mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
update
This commit is contained in:
BIN
luban_examples/DataTables/Datas/__beans__.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/__beans__.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/__enums__.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/__enums__.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/__tables__.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/__tables__.xlsx
Normal file
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
id=10002,
|
||||
name="random move",
|
||||
desc="demo behaviour tree haha",
|
||||
executor="SERVER",
|
||||
blackboard_id="demo",
|
||||
root=
|
||||
{
|
||||
__type__ = "Sequence",
|
||||
id=1,
|
||||
node_name="test",
|
||||
desc="root",
|
||||
services=
|
||||
{
|
||||
|
||||
},
|
||||
decorators=
|
||||
{
|
||||
{ __type__="UeLoop", id=3,node_name="",flow_abort_mode="SELF", num_loops=0,infinite_loop=true,infinite_loop_timeout_time=-1,},
|
||||
},
|
||||
children =
|
||||
{
|
||||
{__type__="UeWait", id=30,node_name="", ignore_restart_self=false,wait_time=1,random_deviation=0.5, services={},decorators={},},
|
||||
{__type__="MoveToRandomLocation", id=75,node_name="", ignore_restart_self=false,origin_position_key="x5",radius=30, services={},decorators={}},
|
||||
--{__type__="DebugPrint", id=76,node_name="", ignore_restart_self=false,text="======= bt debug print ===", services={},decorators={}},
|
||||
},
|
||||
},
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
name = "attack_or_patrol",
|
||||
desc ="demo hahaha",
|
||||
parent_name = "",
|
||||
keys =
|
||||
{
|
||||
{name="OriginPosition",desc="", is_static=false, type="VECTOR", type_class_name=""},
|
||||
{name="TargetActor",desc="x2 haha", is_static=false, type="OBJECT", type_class_name=""},
|
||||
{name="AcceptableRadius",desc="x3 haha", is_static=false, type="FLOAT", type_class_name=""},
|
||||
{name="CurChooseSkillId",desc="x4 haha", is_static=false, type="INT", type_class_name=""},
|
||||
},
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
name = "demo",
|
||||
desc ="demo hahaha",
|
||||
parent_name = "demo_parent",
|
||||
keys =
|
||||
{
|
||||
{name="x1",desc="x1 haha", is_static=false, type="BOOL", type_class_name=""},
|
||||
{name="x2",desc="x2 haha", is_static=false, type="INT", type_class_name=""},
|
||||
{name="x3",desc="x3 haha", is_static=false, type="FLOAT", type_class_name=""},
|
||||
{name="x4",desc="x4 haha", is_static=false, type="STRING", type_class_name=""},
|
||||
{name="x5",desc="x5 haha", is_static=false, type="VECTOR", type_class_name=""},
|
||||
{name="x6",desc="x6 haha", is_static=false, type="ROTATOR", type_class_name=""},
|
||||
{name="x7",desc="x7 haha", is_static=false, type="NAME", type_class_name=""},
|
||||
{name="x8",desc="x8 haha", is_static=false, type="CLASS", type_class_name=""},
|
||||
{name="x9",desc="x9 haha", is_static=false, type="ENUM", type_class_name="ABC"},
|
||||
{name="x10",desc="x10 haha", is_static=false, type="OBJECT", type_class_name="OBJECT"},
|
||||
},
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
name = "demo_parent",
|
||||
desc ="demo parent",
|
||||
parent_name = "",
|
||||
keys =
|
||||
{
|
||||
{name="v1",desc="v1 haha", is_static=false, type="BOOL", type_class_name=""},
|
||||
},
|
||||
}
|
10
luban_examples/DataTables/Datas/blueprint/classes/int.json
Normal file
10
luban_examples/DataTables/Datas/blueprint/classes/int.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
|
||||
"__type__":"NormalClazz",
|
||||
|
||||
"name":"int",
|
||||
|
||||
"desc":"primity type:int",
|
||||
|
||||
"parents":[],
|
||||
|
BIN
luban_examples/DataTables/Datas/bonus/掉落表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/bonus/掉落表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/clothes/套装表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/clothes/套装表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/clothes/服装系统.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/clothes/服装系统.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/common/dummy.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/common/dummy.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/common/全局常量配置表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/common/全局常量配置表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/demo.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/demo.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/error/错误码.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/error/错误码.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/item/道具分类子表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/item/道具分类子表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/item/道具系统表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/item/道具系统表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/l10n/Demo.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/l10n/Demo.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/l10n/Patch.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/l10n/Patch.xlsx
Normal file
Binary file not shown.
9
luban_examples/DataTables/Datas/l10n/texts.json
Normal file
9
luban_examples/DataTables/Datas/l10n/texts.json
Normal file
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{"key":"/apple", "en":"apple", "zh":"苹果"},
|
||||
{"key":"/abc", "en":"apple", "zh":"苹果"},
|
||||
{"key":"/def", "en":"apple", "zh":"苹果"},
|
||||
{"key":"key_name", "en":"apple", "zh":"苹果"},
|
||||
{"key":"test/a", "en":"apple", "zh":"苹果"},
|
||||
{"key":"name", "en":"apple", "zh":"苹果"},
|
||||
{"key":"/banana", "en":"banana", "zh":"香蕉"}
|
||||
]
|
BIN
luban_examples/DataTables/Datas/mail/邮箱系统数据表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/mail/邮箱系统数据表.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/role/等级信息表.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/role/等级信息表.xlsx
Normal file
Binary file not shown.
4
luban_examples/DataTables/Datas/tag_datas/j_not_tag.json
Normal file
4
luban_examples/DataTables/Datas/tag_datas/j_not_tag.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"id":2001,
|
||||
"value": "导出"
|
||||
}
|
5
luban_examples/DataTables/Datas/tag_datas/j_tag_any.json
Normal file
5
luban_examples/DataTables/Datas/tag_datas/j_tag_any.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"__tag__":"any",
|
||||
"id":2004,
|
||||
"value": "any"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"__tag__":"test",
|
||||
"id":2003,
|
||||
"value": "test"
|
||||
}
|
5
luban_examples/DataTables/Datas/tag_datas/not_tag.lua
Normal file
5
luban_examples/DataTables/Datas/tag_datas/not_tag.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
return {
|
||||
id = 100,
|
||||
value = "导出",
|
||||
}
|
BIN
luban_examples/DataTables/Datas/tag_datas/tag.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/tag_datas/tag.xlsx
Normal file
Binary file not shown.
5
luban_examples/DataTables/Datas/tag_datas/tag_any.lua
Normal file
5
luban_examples/DataTables/Datas/tag_datas/tag_any.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
__tag__ = "any",
|
||||
id = 104,
|
||||
value="any",
|
||||
}
|
5
luban_examples/DataTables/Datas/tag_datas/tag_test.lua
Normal file
5
luban_examples/DataTables/Datas/tag_datas/tag_test.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
__tag__ = "test",
|
||||
id = 102,
|
||||
value="test",
|
||||
}
|
4
luban_examples/DataTables/Datas/tag_datas/x_not_tag.xml
Normal file
4
luban_examples/DataTables/Datas/tag_datas/x_not_tag.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<data>
|
||||
<id>3001</id>
|
||||
<value>export</value>
|
||||
</data>
|
5
luban_examples/DataTables/Datas/tag_datas/x_tag_any.xml
Normal file
5
luban_examples/DataTables/Datas/tag_datas/x_tag_any.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<data>
|
||||
<__tag__>any</__tag__>
|
||||
<id>3004</id>
|
||||
<value>any</value>
|
||||
</data>
|
5
luban_examples/DataTables/Datas/tag_datas/x_tag_test.xml
Normal file
5
luban_examples/DataTables/Datas/tag_datas/x_tag_test.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<data>
|
||||
<__tag__>test</__tag__>
|
||||
<id>3003</id>
|
||||
<value>test</value>
|
||||
</data>
|
15
luban_examples/DataTables/Datas/test/composite_tables.json
Normal file
15
luban_examples/DataTables/Datas/test/composite_tables.json
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
{
|
||||
"table1":[
|
||||
{"id":1, "x":"aaa1"},
|
||||
{"id":2,"x":"xx2"}
|
||||
],
|
||||
"table2":[
|
||||
{"id":1, "y":100},
|
||||
{"id":3, "y":300}
|
||||
],
|
||||
"table3": {
|
||||
"a":111,
|
||||
"b":222
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
[
|
||||
{"id":11, "x":"aaa11"},
|
||||
{"id":12,"x":"xx12"}
|
||||
]
|
BIN
luban_examples/DataTables/Datas/test/define_from_excel.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/define_from_excel.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/define_from_excel_one.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/define_from_excel_one.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/demo_group.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/demo_group.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/demo_primitive.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/demo_primitive.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/demos.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/demos.xlsx
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
##,id,name
|
||||
,,
|
||||
,11,<EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD>
|
||||
,12,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ
|
||||
,13,<EFBFBD><EFBFBD><EFBFBD>ݼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
Binary file not shown.
|
@@ -0,0 +1,5 @@
|
||||
##,id,name
|
||||
,
|
||||
,1,<EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD>
|
||||
,2,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ
|
||||
,3,<EFBFBD><EFBFBD><EFBFBD>ݼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
@@ -0,0 +1,5 @@
|
||||
##,id,name
|
||||
,
|
||||
,21,测试编码
|
||||
,22,还果园国要
|
||||
,23,工枯加盟仍
|
|
68
luban_examples/DataTables/Datas/test/excel_jsons/1.json
Normal file
68
luban_examples/DataTables/Datas/test/excel_jsons/1.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"x4": 1,
|
||||
"x1": true,
|
||||
"x5": 100,
|
||||
"x6": 1.20000005,
|
||||
"s1": "hq",
|
||||
"s2": "/abc",
|
||||
"v2": {
|
||||
"x": 1,
|
||||
"y": 2
|
||||
},
|
||||
"v3": {
|
||||
"x": 1.10000002,
|
||||
"y": 2.20000005,
|
||||
"z": 3.4000001
|
||||
},
|
||||
"v4": {
|
||||
"x": 10.1000004,
|
||||
"y": 11.1999998,
|
||||
"z": 12.3000002,
|
||||
"w": 13.3999996
|
||||
},
|
||||
"t1": "1990-1-1 00:00:00",
|
||||
"x12": {
|
||||
"x1": 10
|
||||
},
|
||||
"x13": "A",
|
||||
"x14": {
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
"k1": [
|
||||
12
|
||||
],
|
||||
"k8": [
|
||||
[
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
4,
|
||||
10
|
||||
]
|
||||
],
|
||||
"k9": [
|
||||
{
|
||||
"y1": 1,
|
||||
"y2": true
|
||||
},
|
||||
{
|
||||
"y1": 2,
|
||||
"y2": false
|
||||
}
|
||||
],
|
||||
"k15": [
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 2,
|
||||
"x2": 3
|
||||
}
|
||||
]
|
||||
}
|
68
luban_examples/DataTables/Datas/test/excel_jsons/2.json
Normal file
68
luban_examples/DataTables/Datas/test/excel_jsons/2.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"x4": 2,
|
||||
"x1": true,
|
||||
"x5": 100,
|
||||
"x6": 1.20000005,
|
||||
"s1": "hq",
|
||||
"s2": "/abc",
|
||||
"v2": {
|
||||
"x": 1,
|
||||
"y": 2
|
||||
},
|
||||
"v3": {
|
||||
"x": 1.10000002,
|
||||
"y": 2.20000005,
|
||||
"z": 3.4000001
|
||||
},
|
||||
"v4": {
|
||||
"x": 10.1000004,
|
||||
"y": 11.1999998,
|
||||
"z": 12.3000002,
|
||||
"w": 13.3999996
|
||||
},
|
||||
"t1": "1990-1-1 00:00:00",
|
||||
"x12": {
|
||||
"x1": 10
|
||||
},
|
||||
"x13": "B",
|
||||
"x14": {
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
"k1": [
|
||||
12
|
||||
],
|
||||
"k8": [
|
||||
[
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
4,
|
||||
10
|
||||
]
|
||||
],
|
||||
"k9": [
|
||||
{
|
||||
"y1": 1,
|
||||
"y2": true
|
||||
},
|
||||
{
|
||||
"y1": 2,
|
||||
"y2": false
|
||||
}
|
||||
],
|
||||
"k15": [
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 2,
|
||||
"x2": 3
|
||||
}
|
||||
]
|
||||
}
|
68
luban_examples/DataTables/Datas/test/excel_jsons/3.json
Normal file
68
luban_examples/DataTables/Datas/test/excel_jsons/3.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"x4": 3,
|
||||
"x1": true,
|
||||
"x5": 100,
|
||||
"x6": 1.20000005,
|
||||
"s1": "hq",
|
||||
"s2": "/abc",
|
||||
"v2": {
|
||||
"x": 1,
|
||||
"y": 2
|
||||
},
|
||||
"v3": {
|
||||
"x": 1.10000002,
|
||||
"y": 2.20000005,
|
||||
"z": 3.4000001
|
||||
},
|
||||
"v4": {
|
||||
"x": 10.1000004,
|
||||
"y": 11.1999998,
|
||||
"z": 12.3000002,
|
||||
"w": 13.3999996
|
||||
},
|
||||
"t1": "1990-1-1 00:00:00",
|
||||
"x12": {
|
||||
"x1": 10
|
||||
},
|
||||
"x13": "C",
|
||||
"x14": {
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
"k1": [
|
||||
12
|
||||
],
|
||||
"k8": [
|
||||
[
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
4,
|
||||
10
|
||||
]
|
||||
],
|
||||
"k9": [
|
||||
{
|
||||
"y1": 1,
|
||||
"y2": true
|
||||
},
|
||||
{
|
||||
"y1": 2,
|
||||
"y2": false
|
||||
}
|
||||
],
|
||||
"k15": [
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 1,
|
||||
"x2": 2
|
||||
},
|
||||
{
|
||||
"__type__": "DemoD2",
|
||||
"x1": 2,
|
||||
"x2": 3
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"id": 1,
|
||||
"x": 5,
|
||||
"items": [
|
||||
{
|
||||
"x": 1,
|
||||
"y": true,
|
||||
"z": "abcd",
|
||||
"a": {
|
||||
"x": 10,
|
||||
"y": 100
|
||||
},
|
||||
"b": [
|
||||
1,
|
||||
3,
|
||||
5
|
||||
]
|
||||
},
|
||||
{
|
||||
"x": 2,
|
||||
"y": false,
|
||||
"z": "abcd",
|
||||
"a": {
|
||||
"x": 22,
|
||||
"y": 33
|
||||
},
|
||||
"b": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": 2,
|
||||
"x": 9,
|
||||
"items": [
|
||||
{
|
||||
"x": 2,
|
||||
"y": true,
|
||||
"z": "abcd",
|
||||
"a": {
|
||||
"x": 10,
|
||||
"y": 11
|
||||
},
|
||||
"b": [
|
||||
1,
|
||||
3,
|
||||
5
|
||||
]
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": false,
|
||||
"z": "abcd",
|
||||
"a": {
|
||||
"x": 22,
|
||||
"y": 33
|
||||
},
|
||||
"b": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": false,
|
||||
"z": "abcd",
|
||||
"a": {
|
||||
"x": 22,
|
||||
"y": 33
|
||||
},
|
||||
"b": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
BIN
luban_examples/DataTables/Datas/test/external_type.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/external_type.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/full_type.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/full_type.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/global.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/global.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/item.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/item.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/list.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/list.xlsx
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
31
luban_examples/DataTables/Datas/test/misc_datas/1.json
Normal file
31
luban_examples/DataTables/Datas/test/misc_datas/1.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"x1":true,
|
||||
"x2":3,
|
||||
"x3":128,
|
||||
"x4":1,
|
||||
"x5":11223344,
|
||||
"x6":1.2,
|
||||
"x7":1.23432,
|
||||
"x8_0":12312,
|
||||
"x8":112233,
|
||||
"x9":223344,
|
||||
"x10":"hq",
|
||||
"x12": { "x1":10},
|
||||
"x13":"B",
|
||||
"x14":{"$type": "DemoD2", "x1":1, "x2":2},
|
||||
"s1": "/def",
|
||||
"v2":{"x":1, "y":2},
|
||||
"v3":{"x":1.1, "y":2.2, "z":3.4},
|
||||
"v4":{"x":10.1, "y":11.2, "z":12.3, "w":13.4},
|
||||
"t1":"1970-01-01 00:00:00",
|
||||
"k1":[1,2],
|
||||
"k2":[2,3],
|
||||
"k3":[1,3],
|
||||
"k4":[1,5],
|
||||
"k5":[1,6],
|
||||
"k6":[1,7],
|
||||
"k7":[2,3],
|
||||
"k8":[[2,2],[4,10]],
|
||||
"k9":[{"y1":1, "y2":true},{"y1":2, "y2":false}],
|
||||
"k15":[{"$type": "DemoD2", "x1":1, "x2":2}]
|
||||
}
|
78
luban_examples/DataTables/Datas/test/misc_datas/1.xml
Normal file
78
luban_examples/DataTables/Datas/test/misc_datas/1.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<data>
|
||||
<x1>true</x1>
|
||||
<x2>4</x2>
|
||||
<x3>128</x3>
|
||||
<x4>11</x4>
|
||||
<x5>112233445566</x5>
|
||||
<x6>1.3</x6>
|
||||
<x7>1112232.43123</x7>
|
||||
<x8>112233</x8>
|
||||
<x8_0>123</x8_0>
|
||||
<x9>112334</x9>
|
||||
<x10>yf</x10>
|
||||
<x12>
|
||||
<x1>1</x1>
|
||||
</x12>
|
||||
<x13>C</x13>
|
||||
<x14 __type__="DemoD2">
|
||||
<x1>1</x1>
|
||||
<x2>2</x2>
|
||||
</x14>
|
||||
<s1>/apple</s1>
|
||||
<v2>1,2</v2>
|
||||
<v3>1.2,2.3,3.4</v3>
|
||||
<v4>1.2,2.2,3.2,4.3</v4>
|
||||
|
||||
<t1>1970-01-01 00:00:00</t1>
|
||||
|
||||
<k1>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k1>
|
||||
<k2>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k2>
|
||||
<k3>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k3>
|
||||
<k4>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k4>
|
||||
<k5>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k5>
|
||||
<k6>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k6>
|
||||
<k7>
|
||||
<item>1</item>
|
||||
<item>3</item>
|
||||
</k7>
|
||||
|
||||
<k8>
|
||||
<item> <key>2</key><value>10</value></item>
|
||||
<item> <key>3</key><value>30</value></item>
|
||||
</k8>
|
||||
|
||||
<k9>
|
||||
<item>
|
||||
<y1>1</y1>
|
||||
<y2>true</y2>
|
||||
</item>
|
||||
<item>
|
||||
<y1>2</y1>
|
||||
<y2>false</y2>
|
||||
</item>
|
||||
</k9>
|
||||
<k15>
|
||||
<item __type__="DemoD2">
|
||||
<x1>1</x1>
|
||||
<x2>2</x2>
|
||||
</item>
|
||||
</k15>
|
||||
</data>
|
31
luban_examples/DataTables/Datas/test/misc_datas/2.json
Normal file
31
luban_examples/DataTables/Datas/test/misc_datas/2.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"x1":true,
|
||||
"x2":3,
|
||||
"x3":128,
|
||||
"x4":2,
|
||||
"x5":11223344,
|
||||
"x6":1.2,
|
||||
"x7":1.23432,
|
||||
"x8_0":12312,
|
||||
"x8":112233,
|
||||
"x9":223344,
|
||||
"x10":"hq",
|
||||
"x12": { "x1":10},
|
||||
"x13":"B",
|
||||
"x14":{"__type__": "DemoD2", "x1":1, "x2":2},
|
||||
"s1": "/apple",
|
||||
"v2":{"x":1, "y":2},
|
||||
"v3":{"x":1.1, "y":2.2, "z":3.4},
|
||||
"v4":{"x":10.1, "y":11.2, "z":12.3, "w":13.4},
|
||||
"t1":"1970-01-01 00:00:00",
|
||||
"k1":[1,2],
|
||||
"k2":[2,3],
|
||||
"k3":[1,3],
|
||||
"k4":[1,5],
|
||||
"k5":[1,6],
|
||||
"k6":[1,7],
|
||||
"k7":[2,3],
|
||||
"k8":[[2,2],[4,10]],
|
||||
"k9":[{"y1":1, "y2":true},{"y1":2, "y2":false}],
|
||||
"k15":[{"__type__": "DemoD2", "x1":1, "x2":2}]
|
||||
}
|
78
luban_examples/DataTables/Datas/test/misc_datas/2.xml
Normal file
78
luban_examples/DataTables/Datas/test/misc_datas/2.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<data>
|
||||
<x1>true</x1>
|
||||
<x2>4</x2>
|
||||
<x3>128</x3>
|
||||
<x4>12</x4>
|
||||
<x5>112233445566</x5>
|
||||
<x6>1.3</x6>
|
||||
<x7>1112232.43123</x7>
|
||||
<x8>112233</x8>
|
||||
<x8_0>123</x8_0>
|
||||
<x9>112334</x9>
|
||||
<x10>yf</x10>
|
||||
<x12>
|
||||
<x1>1</x1>
|
||||
</x12>
|
||||
<x13>C</x13>
|
||||
<x14 __type__="DemoD2">
|
||||
<x1>1</x1>
|
||||
<x2>2</x2>
|
||||
</x14>
|
||||
<s1>/apple</s1>
|
||||
<v2>1,2</v2>
|
||||
<v3>1.2,2.3,3.4</v3>
|
||||
<v4>1.2,2.2,3.2,4.3</v4>
|
||||
|
||||
<t1>1970-01-01 00:00:00</t1>
|
||||
|
||||
<k1>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k1>
|
||||
<k2>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k2>
|
||||
<k3>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k3>
|
||||
<k4>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k4>
|
||||
<k5>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k5>
|
||||
<k6>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</k6>
|
||||
<k7>
|
||||
<item>1</item>
|
||||
<item>3</item>
|
||||
</k7>
|
||||
|
||||
<k8>
|
||||
<item> <key>2</key><value>10</value></item>
|
||||
<item> <key>3</key><value>30</value></item>
|
||||
</k8>
|
||||
|
||||
<k9>
|
||||
<item>
|
||||
<y1>1</y1>
|
||||
<y2>true</y2>
|
||||
</item>
|
||||
<item>
|
||||
<y1>2</y1>
|
||||
<y2>false</y2>
|
||||
</item>
|
||||
</k9>
|
||||
<k15>
|
||||
<item __type__="DemoD2">
|
||||
<x1>1</x1>
|
||||
<x2>2</x2>
|
||||
</item>
|
||||
</k15>
|
||||
</data>
|
68
luban_examples/DataTables/Datas/test/misc_datas/3.yml
Normal file
68
luban_examples/DataTables/Datas/test/misc_datas/3.yml
Normal file
@@ -0,0 +1,68 @@
|
||||
---
|
||||
x1: true
|
||||
x2: 3
|
||||
x3: 128
|
||||
x4: 40
|
||||
x5: 11223344
|
||||
x6: 1.2
|
||||
x7: 1.23432
|
||||
x8_0: 12312
|
||||
x8: 112233
|
||||
x9: 223344
|
||||
x10: hq
|
||||
x12:
|
||||
x1: 10
|
||||
x13: B
|
||||
x14:
|
||||
$type: DemoD2
|
||||
x1: 1
|
||||
x2: 2
|
||||
s1: /apple
|
||||
v2:
|
||||
x: 1
|
||||
y: 2
|
||||
v3:
|
||||
x: 1.1
|
||||
y: 2.2
|
||||
z: 3.4
|
||||
v4:
|
||||
x: 10.1
|
||||
y: 11.2
|
||||
z: 12.3
|
||||
w: 13.4
|
||||
t1: '1970-01-01 00:00:00'
|
||||
k1:
|
||||
- 1
|
||||
- 2
|
||||
k2:
|
||||
- 2
|
||||
- 3
|
||||
k3:
|
||||
- 1
|
||||
- 3
|
||||
k4:
|
||||
- 1
|
||||
- 5
|
||||
k5:
|
||||
- 1
|
||||
- 6
|
||||
k6:
|
||||
- 1
|
||||
- 7
|
||||
k7:
|
||||
- 2
|
||||
- 3
|
||||
k8:
|
||||
- - 2
|
||||
- 2
|
||||
- - 4
|
||||
- 10
|
||||
k9:
|
||||
- y1: 1
|
||||
y2: true
|
||||
- y1: 2
|
||||
y2: false
|
||||
k15:
|
||||
- $type: DemoD2
|
||||
x1: 1
|
||||
x2: 2
|
32
luban_examples/DataTables/Datas/test/misc_datas/demo.lua
Normal file
32
luban_examples/DataTables/Datas/test/misc_datas/demo.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
return
|
||||
{
|
||||
x1 = false,
|
||||
x2 = 2,
|
||||
x3 = 128,
|
||||
x4 = 22,
|
||||
x5 = 112233445566,
|
||||
x6 = 1.3,
|
||||
x7 = 1122,
|
||||
x8 = 12,
|
||||
x8_0 = 13,
|
||||
x9 = 123,
|
||||
x10 = "yf",
|
||||
x12 = {x1=1},
|
||||
x13 = "D",
|
||||
x14 = { __type__="DemoD2", x1 = 1, x2=3},
|
||||
s1 = '/apple',
|
||||
v2 = {x= 1,y = 2},
|
||||
v3 = {x=0.1, y= 0.2,z=0.3},
|
||||
v4 = {x=1,y=2,z=3.5,w=4},
|
||||
t1 = "1970-01-01 00:00:00",
|
||||
k1 = {1,2},
|
||||
k2 = {2,3},
|
||||
k3 = {3,4},
|
||||
k4 = {1,2},
|
||||
k5 = {1,3},
|
||||
k6 = {1,2},
|
||||
k7 = {1,8},
|
||||
k8 = {[2]=10,[3]=12},
|
||||
k9 = {{y1=1,y2=true}, {y1=10,y2=false}},
|
||||
k15 = {{ __type__="DemoD2", x1 = 1, x2=3}},
|
||||
}
|
BIN
luban_examples/DataTables/Datas/test/multi_column.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/multi_column.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/multi_level_title.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/multi_level_title.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/multi_rows_record.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/multi_rows_record.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/path.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/path.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/table_one.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/table_one.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/tag_switch.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/tag_switch.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_desc.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_desc.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_excel_bean.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_excel_bean.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_index.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_index.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_json2.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_json2.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_map.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_map.xlsx
Normal file
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id":10,
|
||||
"x1":null,
|
||||
"x2":null,
|
||||
"x3":null,
|
||||
"x4":null,
|
||||
"s1":null,
|
||||
"s2":null
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"id":11
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id":12,
|
||||
"x1":1,
|
||||
"x2":"A",
|
||||
"x3":{"x1":1},
|
||||
"x4":{"__type__":"DemoD2", "x1":2, "x2":3},
|
||||
"s1":"asf",
|
||||
"s2":"/abc"
|
||||
}
|
10
luban_examples/DataTables/Datas/test/test_null_datas/20.lua
Normal file
10
luban_examples/DataTables/Datas/test/test_null_datas/20.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return
|
||||
{
|
||||
id=20,
|
||||
x1 = nil,
|
||||
x2 = nil,
|
||||
x3 = nil,
|
||||
x4 = nil,
|
||||
s1 = nil,
|
||||
s2 = nil,
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
return
|
||||
{
|
||||
id=21,
|
||||
}
|
10
luban_examples/DataTables/Datas/test/test_null_datas/22.lua
Normal file
10
luban_examples/DataTables/Datas/test/test_null_datas/22.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return
|
||||
{
|
||||
id=22,
|
||||
x1 = 1,
|
||||
x2 = "B",
|
||||
x3 = {x1=3},
|
||||
x4 = {__type__="DemoD2", x1=1, x2=2},
|
||||
s1 = "asfs",
|
||||
s2 = "/abc",
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
<data>
|
||||
<id>30</id>
|
||||
<x1>1</x1>
|
||||
<x2>A</x2>
|
||||
<x3><x1>1</x1></x3>
|
||||
<x4 __type__="DemoD2"><x1>1</x1><x2>22</x2></x4>
|
||||
<s1>/apple</s1>
|
||||
<s2>/apple</s2>
|
||||
</data>
|
@@ -0,0 +1,3 @@
|
||||
<data>
|
||||
<id>31</id>
|
||||
</data>
|
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_ref.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_ref.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_sep.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_sep.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_set.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_set.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_size.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_size.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_stream.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_stream.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/test_string.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/test_string.xlsx
Normal file
Binary file not shown.
BIN
luban_examples/DataTables/Datas/test/type_mapper.xlsx
Normal file
BIN
luban_examples/DataTables/Datas/test/type_mapper.xlsx
Normal file
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1cbff1bfa4708914aaa381b1dd914663, type: 3}
|
||||
m_Name: 1
|
||||
m_EditorClassIdentifier:
|
||||
id: 1
|
||||
desc: aaaa
|
||||
rate: 0.45
|
||||
num: 12131
|
||||
v2: {x: 1, y: 1}
|
||||
v3: {x: 2, y: 2, z: 2}
|
||||
v4: {x: 3, y: 3, z: 4, w: 4}
|
@@ -0,0 +1,21 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1cbff1bfa4708914aaa381b1dd914663, type: 3}
|
||||
m_Name: 2
|
||||
m_EditorClassIdentifier:
|
||||
id: 2
|
||||
desc: bbbbb
|
||||
rate: 0.8
|
||||
num: 1111
|
||||
v2: {x: 1, y: 2}
|
||||
v3: {x: 1, y: 2, z: 3}
|
||||
v4: {x: 1, y: 2, z: 3, w: 4}
|
Reference in New Issue
Block a user