Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
debug_shell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
debug_shell
Commits
eaafb5f6
Commit
eaafb5f6
authored
Nov 30, 2021
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: cacert文件
parent
abd64650
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
0 deletions
+110
-0
debug_shell.fire
play/assets/debug_shell/scene/debug_shell.fire
+78
-0
debug_shell.js
play/assets/debug_shell/scene/debug_shell.js
+2
-0
cacert.js
play/assets/debug_shell/script/cacert.js
+21
-0
cacert.js.meta
play/assets/debug_shell/script/cacert.js.meta
+9
-0
No files found.
play/assets/debug_shell/scene/debug_shell.fire
View file @
eaafb5f6
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
"_children": [
"_children": [
{
{
"__id__": 2
"__id__": 2
},
{
"__id__": 10
}
}
],
],
"_active": true,
"_active": true,
...
@@ -380,5 +383,80 @@
...
@@ -380,5 +383,80 @@
},
},
"_enabled": true,
"_enabled": true,
"_id": "8fs+P5YTtKGr7GBrV5R431"
"_id": "8fs+P5YTtKGr7GBrV5R431"
},
{
"__type__": "cc.Node",
"_name": "cacertNode",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
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": "d6OZ5YlbNPYKExNXuwR6pL"
},
{
"__type__": "42b96eeIeZKHZKJdVfS5dD7",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"cacertFile": {
"__uuid__": "fd279805-6e95-474f-ac26-e19034f2b093"
},
"_id": "bc9QrFiwtFMrZEN9xsh2Av"
}
}
]
]
\ No newline at end of file
play/assets/debug_shell/scene/debug_shell.js
View file @
eaafb5f6
...
@@ -31,6 +31,8 @@ cc.Class({
...
@@ -31,6 +31,8 @@ cc.Class({
const
uri
=
'
/api/template/v1/middleLayer_for_debug
'
const
uri
=
'
/api/template/v1/middleLayer_for_debug
'
const
reqData
=
{};
const
reqData
=
{};
cc
.
game
.
addPersistRootNode
(
cc
.
find
(
'
cacertNode
'
));
this
.
callNetworkApiGet
(
baseUrl
,
uri
,
reqData
,
(
respData
)
=>
{
this
.
callNetworkApiGet
(
baseUrl
,
uri
,
reqData
,
(
respData
)
=>
{
const
data
=
JSON
.
parse
(
respData
);
const
data
=
JSON
.
parse
(
respData
);
const
configData
=
data
.
data
.
conf
.
android
;
const
configData
=
data
.
data
.
conf
.
android
;
...
...
play/assets/debug_shell/script/cacert.js
0 → 100644
View file @
eaafb5f6
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc
.
Class
({
extends
:
cc
.
Component
,
properties
:
{
cacertFile
:
{
type
:
cc
.
Asset
,
default
:
null
}
},
start
()
{
},
});
play/assets/debug_shell/script/cacert.js.meta
0 → 100644
View file @
eaafb5f6
{
"ver": "1.0.8",
"uuid": "42b9679e-21e6-4a1d-9289-7557d2e5d0fb",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment