tes gacha

This commit is contained in:
Yuuki 2024-07-08 23:20:41 +08:00
parent 7b391e8569
commit 3d613d0095
5 changed files with 45 additions and 38 deletions

View File

@ -4,32 +4,37 @@ option java_package = "emu.grasscutter.net.proto";
import "GachaUpInfo.proto"; import "GachaUpInfo.proto";
// 4.7.0 ?? // 4.7.0
// PKGNKDGHLOF
message GachaInfo { message GachaInfo {
uint32 end_time = 5; uint32 end_time = 5; // OK
uint32 schedule_id = 10; uint32 schedule_id = 10; // OK
uint32 gacha_type = 11; uint32 gacha_type = 11; // OK
uint32 begin_time = 12; uint32 begin_time = 12; // OK
repeated GachaUpInfo gacha_up_info_list = 802; bool is_new_wish = 778; // OK
uint32 costItemId = 13; repeated GachaUpInfo gacha_up_info_list = 802; // OK
string gachaPrefabPath = 100; repeated uint32 displayUp4ItemList = 1046; // SUS
uint32 wishMaxProgress = 960; repeated uint32 displayUp5ItemList = 1152; // SUS
uint32 curScheduleDailyGachaTimes = 1456;
uint32 leftGachaTimes = 15; // string sus
bool is_new_wish = 1537; string gachaPreviewPrefabPath = 1;
uint32 tenCostItemNum = 8; string titleTextmap = 3;
uint32 wishProgress = 1511; string gachaPrefabPath = 7;
uint32 tenCostItemId = 6; string gachaRecordUrlOversea = 14;
uint32 gachaSortId = 110; string gachaRecordUrl = 784;
repeated uint32 displayUp4ItemList = 1285; string gachaProbUrlOversea = 1355;
string gachaRecordUrlOversea = 1221; string gachaProbUrl = 1926;
string gachaRecordUrl = 4;
string gachaProbUrlOversea = 1181; // int32 sus
string gachaProbUrl = 9; uint32 costItemId = 2;
uint32 wishItemId = 870; uint32 wishMaxProgress = 4;
string gachaPreviewPrefabPath = 120; uint32 curScheduleDailyGachaTimes = 6;
string titleTextmap = 847; uint32 leftGachaTimes = 8;
repeated uint32 displayUp5ItemList = 1831; uint32 tenCostItemNum = 9;
uint32 gachaTimesLimit = 14; uint32 wishProgress = 13;
uint32 costItemNum = 2; uint32 tenCostItemId = 15;
uint32 gachaSortId = 1106;
uint32 wishItemId = 1274;
uint32 gachaTimesLimit = 1869;
uint32 costItemNum = 1954;
} }

View File

@ -2,9 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Version: 4.6.0 // Version: 4.7.0
// Obfs: ??? // Obfs: JEJNMHJKEPK
message GachaUpInfo { message GachaUpInfo {
uint32 item_parent_type = 1; uint32 item_parent_type = 5;
repeated uint32 item_id_list = 9; repeated uint32 item_id_list = 15;
} }

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 20029 // CmdId: 2098
// Version: 4.6.0 // Version: 4.7.0
// Obfs: LNEBPLKCKLJ // Obfs: CAGMMOKPNJH
message GetGachaInfoReq { message GetGachaInfoReq {
} }

View File

@ -5,6 +5,8 @@ option java_package = "emu.grasscutter.net.proto";
import "GachaInfo.proto"; import "GachaInfo.proto";
// 4.7.0 // 4.7.0
// cmdid: 26742
// AKCGBLHGPED
message GetGachaInfoRsp { message GetGachaInfoRsp {
uint32 gacha_random = 6; uint32 gacha_random = 6;
bool is_under_minors_restrict = 10; bool is_under_minors_restrict = 10;

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8699 ? // CmdId: 25915 ?
// Version: 4.7.0 // Version: 4.7.0
// Obfs: NAFKHLBNBPO // Obfs: ABELEBMOGFM
message GetShopmallDataRsp { message GetShopmallDataRsp {
repeated uint32 shop_type_list = 10; repeated uint32 shop_type_list = 13;
int32 retcode = 13; int32 retcode = 11;
} }