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";
// 4.7.0 ??
// 4.7.0
// PKGNKDGHLOF
message GachaInfo {
uint32 end_time = 5;
uint32 schedule_id = 10;
uint32 gacha_type = 11;
uint32 begin_time = 12;
repeated GachaUpInfo gacha_up_info_list = 802;
uint32 costItemId = 13;
string gachaPrefabPath = 100;
uint32 wishMaxProgress = 960;
uint32 curScheduleDailyGachaTimes = 1456;
uint32 leftGachaTimes = 15;
bool is_new_wish = 1537;
uint32 tenCostItemNum = 8;
uint32 wishProgress = 1511;
uint32 tenCostItemId = 6;
uint32 gachaSortId = 110;
repeated uint32 displayUp4ItemList = 1285;
string gachaRecordUrlOversea = 1221;
string gachaRecordUrl = 4;
string gachaProbUrlOversea = 1181;
string gachaProbUrl = 9;
uint32 wishItemId = 870;
string gachaPreviewPrefabPath = 120;
string titleTextmap = 847;
repeated uint32 displayUp5ItemList = 1831;
uint32 gachaTimesLimit = 14;
uint32 costItemNum = 2;
uint32 end_time = 5; // OK
uint32 schedule_id = 10; // OK
uint32 gacha_type = 11; // OK
uint32 begin_time = 12; // OK
bool is_new_wish = 778; // OK
repeated GachaUpInfo gacha_up_info_list = 802; // OK
repeated uint32 displayUp4ItemList = 1046; // SUS
repeated uint32 displayUp5ItemList = 1152; // SUS
// string sus
string gachaPreviewPrefabPath = 1;
string titleTextmap = 3;
string gachaPrefabPath = 7;
string gachaRecordUrlOversea = 14;
string gachaRecordUrl = 784;
string gachaProbUrlOversea = 1355;
string gachaProbUrl = 1926;
// int32 sus
uint32 costItemId = 2;
uint32 wishMaxProgress = 4;
uint32 curScheduleDailyGachaTimes = 6;
uint32 leftGachaTimes = 8;
uint32 tenCostItemNum = 9;
uint32 wishProgress = 13;
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";
// Version: 4.6.0
// Obfs: ???
// Version: 4.7.0
// Obfs: JEJNMHJKEPK
message GachaUpInfo {
uint32 item_parent_type = 1;
repeated uint32 item_id_list = 9;
uint32 item_parent_type = 5;
repeated uint32 item_id_list = 15;
}

View File

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

View File

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

View File

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