WeaponAwaken (need check),Promot(work),Upgrade(work)

This commit is contained in:
Yuuki 2024-07-04 19:29:24 +08:00
parent 6b01916f61
commit f3abfbe553
6 changed files with 42 additions and 49 deletions

View File

@ -1,25 +1,13 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 23146
// Obf: AFPFPKMLIPD
// 4.7.0
// CmdId: 25056
// Obf: PDGEAGKHCPG
message WeaponAwakenReq {
uint64 target_weapon_guid = 2;
map<uint32, uint32> affix_level_map = 4;
uint64 item_guid = 15;
uint64 target_weapon_guid = 13;
//map<uint32, uint32> affix_level_map = 4; // old
//uint64 item_guid = 15; // old
uint32 NEHLGIOLBJA = 9; // maybe item_guid ?
repeated uint64 HICOIODAHGK = 15; // list item wp
}

View File

@ -2,12 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 1182
// OLAEGBJMEFL
message WeaponAwakenRsp {
map<uint32, uint32> old_affix_level_map = 3;
map<uint32, uint32> cur_affix_level_map = 12;
int32 retcode = 10;
uint32 target_weapon_awaken_level = 14;
uint64 target_weapon_guid = 7;
uint64 avatar_guid = 9;
map<uint32, uint32> old_affix_level_map = 2; // sus
map<uint32, uint32> cur_affix_level_map = 13; // sus
int32 retcode = 6;
uint32 target_weapon_awaken_level = 1;
uint64 target_weapon_guid = 15;
uint64 avatar_guid = 7;
}

View File

@ -1,8 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 27774
// 4.7.0
// CmdId: 9611
// MMKGKFCNNFJ
message WeaponPromoteReq {
uint64 target_weapon_guid = 14;
uint64 target_weapon_guid = 6;
}

View File

@ -1,11 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 27473
// 4.7.0
// CmdId: 23521
// GDCMEIJPPOP
message WeaponPromoteRsp {
uint64 target_weapon_guid = 5;
uint32 cur_promote_level = 7; //cur_promote_level or old_promote_level
int32 retcode = 12;
uint32 old_promote_level = 15; //cur_promote_level or old_promote_level
uint64 target_weapon_guid = 13;
uint32 cur_promote_level = 8; // 2 sus
int32 retcode = 4;
uint32 old_promote_level = 2; // 8 sus
}

View File

@ -3,11 +3,11 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// 4.6.0
// CmdId: 28307
// sus
// 4.7.0
// CmdId: 24162
// LEDEEIJMAJN
message WeaponUpgradeReq {
repeated ItemParam item_param_list = 3;
uint64 target_weapon_guid = 6;
repeated uint64 food_weapon_guid_list = 13;
repeated ItemParam item_param_list = 13;
uint64 target_weapon_guid = 10;
repeated uint64 food_weapon_guid_list = 3;
}

View File

@ -3,12 +3,13 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// 4.6.0
// CmdId: 22828
// 4.7.0
// CmdId: 3294
// LHEIDHIFFGK
message WeaponUpgradeRsp {
repeated ItemParam item_param_list = 5;
uint32 cur_level = 8;
uint32 old_level = 9;
int32 retcode = 11;
uint64 target_weapon_guid = 12;
repeated ItemParam item_param_list = 13;
uint32 cur_level = 3;
uint32 old_level = 14;
int32 retcode = 12;
uint64 target_weapon_guid = 7;
}