-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MangaUpGlobal : use API & protobuff (#914)
* MangaUpGlobal : use API & protobuff
- Loading branch information
Showing
2 changed files
with
94 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package MangaUpGlobal; | ||
syntax = "proto3"; | ||
|
||
message SearchView { | ||
repeated Manga titles = 2; | ||
} | ||
|
||
message Manga { | ||
optional uint32 titleId = 1; | ||
optional string titleName = 2; | ||
} | ||
|
||
message MangaDetailView { | ||
optional string titleName = 3; | ||
repeated Chapter chapters = 13; | ||
} | ||
|
||
|
||
message Chapter { | ||
optional uint32 id = 1; | ||
optional string titleName = 2; | ||
optional string subName = 3; | ||
} | ||
|
||
message MangaViewerV2View { | ||
repeated PageBlock pageblocks = 3; | ||
} | ||
|
||
message PageBlock { | ||
repeated MangaPage pages = 3; | ||
} | ||
|
||
message MangaPage { | ||
optional string imageUrl = 1; | ||
optional string encryptionKey = 5; | ||
optional string iv = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters