Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
54d88295
Commit
54d88295
authored
Apr 19, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宣传片
parent
7a8a61ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
app/cube.ts
app/cube.ts
+11
-0
No files found.
app/cube.ts
View file @
54d88295
...
@@ -33,6 +33,9 @@ export class Cube {
...
@@ -33,6 +33,9 @@ export class Cube {
price
:
{
[
currency
:
string
]:
string
};
price
:
{
[
currency
:
string
]:
string
};
key
?:
string
;
key
?:
string
;
// 宣传片
trailer
:
{
url
:
string
,
type
:
'
video
'
|
'
image
'
}[];
static
downloadUrl
(
app
:
Cube
,
platform
:
string
,
locale
:
string
):
string
{
static
downloadUrl
(
app
:
Cube
,
platform
:
string
,
locale
:
string
):
string
{
if
(
app
.
id
===
'
ygopro
'
)
{
if
(
app
.
id
===
'
ygopro
'
)
{
return
`https://api.moecube.com/metalinks/
${
app
.
id
}
-
${
process
.
platform
}
-
${
locale
}
/
${
app
.
version
}
`
;
return
`https://api.moecube.com/metalinks/
${
app
.
id
}
-
${
process
.
platform
}
-
${
locale
}
/
${
app
.
version
}
`
;
...
@@ -173,6 +176,14 @@ export class Cube {
...
@@ -173,6 +176,14 @@ export class Cube {
this
.
price
=
app
.
price
;
this
.
price
=
app
.
price
;
this
.
key
=
app
.
key
;
this
.
key
=
app
.
key
;
this
.
trailer
=
[
{
url
:
'
http://cdn.edgecast.steamstatic.com/steam/apps/2036126/movie480.webm
'
,
type
:
'
video
'
},
{
url
:
'
http://cdn.edgecast.steamstatic.com/steam/apps/264710/ss_e41e71c05f3fcf08e54140bd9f1ffc9008706843.600x338.jpg
'
,
type
:
'
image
'
}
];
}
}
findDependencies
():
Cube
[]
{
findDependencies
():
Cube
[]
{
...
...
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