Added network doctor for frontend.

This commit is contained in:
genxium
2023-01-21 22:53:41 +08:00
parent cc7524becd
commit 34e0893eb8
11 changed files with 1426 additions and 1008 deletions

View File

@@ -78,19 +78,19 @@
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 48
},
{
"__id__": 41
"__id__": 49
},
{
"__id__": 42
"__id__": 50
},
{
"__id__": 43
"__id__": 51
},
{
"__id__": 44
"__id__": 52
}
],
"_prefab": null,
@@ -158,7 +158,7 @@
"__id__": 5
},
{
"__id__": 39
"__id__": 47
}
],
"_prefab": null,
@@ -247,10 +247,10 @@
"__uuid__": "670b477e-61a1-4778-879b-35913f7c79d2"
},
"boundRoomIdLabel": {
"__id__": 16
"__id__": 24
},
"countdownLabel": {
"__id__": 23
"__id__": 31
},
"resultPanelPrefab": {
"__uuid__": "c4cfe3bd-c59e-4d5b-95cb-c933b120e184"
@@ -269,9 +269,18 @@
},
"forceBigEndianFloatingNumDecoding": false,
"renderFrameIdLagTolerance": 4,
"jigglingEps1D": 0.001,
"bulletTriggerEnabled": true,
"closeOnForcedtoResyncNotSelf": true,
"sendingQLabel": {
"__id__": 13
},
"inputFrameDownsyncQLabel": {
"__id__": 15
},
"peerInputFrameUpsyncQLabel": {
"__id__": 17
},
"rollbackFramesLabel": {
"__id__": 19
},
"_id": "d12gkAmppNlIzqcRDELa91"
},
{
@@ -283,13 +292,13 @@
},
"_children": [
{
"__id__": 33
"__id__": 41
}
],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 46
}
],
"_prefab": null,
@@ -352,19 +361,19 @@
"__id__": 6
},
{
"__id__": 22
"__id__": 30
},
{
"__id__": 24
"__id__": 32
},
{
"__id__": 28
"__id__": 36
}
],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 40
}
],
"_prefab": null,
@@ -433,7 +442,7 @@
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 29
}
],
"_prefab": null,
@@ -527,7 +536,7 @@
"array": [
0,
0,
209.57814771583418,
216.50635094610968,
0,
0,
0,
@@ -596,15 +605,27 @@
"_children": [
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 27
},
{
"__id__": 20
"__id__": 28
}
],
"_prefab": null,
@@ -655,6 +676,374 @@
"groupIndex": 0,
"_id": "35scg40jVAnKrTPiei5ckg"
},
{
"__type__": "cc.Node",
"_name": "sendingQ",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 12.24,
"height": 28.98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
64,
85.51,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ack7XH+0lEj6chSUsKBLU5"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "0",
"_N$string": "0",
"_fontSize": 22,
"_lineHeight": 23,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "deCJfLuoFO36c/O4lXWJ1N"
},
{
"__type__": "cc.Node",
"_name": "inputFrameDownsyncQ",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 12.24,
"height": 28.98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
64,
56.53000000000001,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9n+NRm9pA0YtKxvy4bW+U"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "0",
"_N$string": "0",
"_fontSize": 22,
"_lineHeight": 23,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "90NvjGFrpBFqqzl1WZczta"
},
{
"__type__": "cc.Node",
"_name": "peerInputFrameUpsyncQ",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 12.24,
"height": 28.98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
64,
27.550000000000004,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "45FAmgRLZNNbLt/GcnTXVx"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "0",
"_N$string": "0",
"_fontSize": 22,
"_lineHeight": 23,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "42PRTrjEpDw6Z8N5yWFTpd"
},
{
"__type__": "cc.Node",
"_name": "rollbackFrames",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 12.24,
"height": 28.98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
64,
-1.4299999999999962,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f5SBs3b1pPNbHbnqVLYsHp"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "0",
"_N$string": "0",
"_fontSize": 22,
"_lineHeight": 23,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "77aNARt1VATLsjIzwbqvkh"
},
{
"__type__": "cc.Node",
"_name": "RoomIdIndicator",
@@ -664,19 +1053,19 @@
},
"_children": [
{
"__id__": 13
"__id__": 21
},
{
"__id__": 15
"__id__": 23
}
],
"_active": false,
"_components": [
{
"__id__": 17
"__id__": 25
},
{
"__id__": 18
"__id__": 26
}
],
"_prefab": null,
@@ -732,13 +1121,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
"__id__": 22
}
],
"_prefab": null,
@@ -794,7 +1183,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 21
},
"_enabled": true,
"_materials": [],
@@ -822,13 +1211,13 @@
"_name": "BoundRoomIdLabel",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 24
}
],
"_prefab": null,
@@ -884,7 +1273,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 23
},
"_enabled": true,
"_materials": [],
@@ -912,7 +1301,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 20
},
"_enabled": true,
"_layoutSize": {
@@ -945,7 +1334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 20
},
"_enabled": true,
"_materials": [],
@@ -1067,7 +1456,7 @@
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 31
}
],
"_prefab": null,
@@ -1123,7 +1512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 30
},
"_enabled": true,
"_materials": [
@@ -1157,7 +1546,7 @@
},
"_children": [
{
"__id__": 25
"__id__": 33
}
],
"_active": true,
@@ -1215,16 +1604,16 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 24
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 26
"__id__": 34
},
{
"__id__": 27
"__id__": 35
}
],
"_prefab": null,
@@ -1280,7 +1669,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
"__id__": 33
},
"_enabled": true,
"_materials": [
@@ -1314,7 +1703,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
"__id__": 33
},
"_enabled": true,
"alignMode": 0,
@@ -1345,7 +1734,7 @@
},
"_children": [
{
"__id__": 29
"__id__": 37
}
],
"_active": true,
@@ -1403,16 +1792,16 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 38
},
{
"__id__": 31
"__id__": 39
}
],
"_prefab": null,
@@ -1468,7 +1857,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"_materials": [
@@ -1502,7 +1891,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"alignMode": 0,
@@ -1560,16 +1949,16 @@
},
"_children": [
{
"__id__": 34
"__id__": 42
}
],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 44
},
{
"__id__": 37
"__id__": 45
}
],
"_prefab": null,
@@ -1625,13 +2014,13 @@
"_name": "Joystick",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 43
}
],
"_prefab": null,
@@ -1687,7 +2076,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 42
},
"_enabled": true,
"_materials": [
@@ -1721,7 +2110,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 41
},
"_enabled": true,
"_materials": [
@@ -1755,7 +2144,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 41
},
"_enabled": true,
"alignMode": 0,
@@ -1908,10 +2297,10 @@
"__id__": 3
},
"stickhead": {
"__id__": 34
"__id__": 42
},
"base": {
"__id__": 33
"__id__": 41
},
"joyStickEps": 0.1,
"magicLeanLowerBound": 0.414,
@@ -1932,10 +2321,10 @@
"linearMovingEps": 0.1,
"scaleByEps": 0.0375,
"btnA": {
"__id__": 24
"__id__": 32
},
"btnB": {
"__id__": 28
"__id__": 36
},
"_id": "e9oVYTr7ROlpp/IrNjBUmR"
}

View File

@@ -362,7 +362,7 @@
"array": [
0,
0,
210.43934936178934,
216.50635094610968,
0,
0,
0,

File diff suppressed because it is too large Load Diff