From c5c43b840cc840ff1c10a2c322e37f0e0b3ff89e Mon Sep 17 00:00:00 2001 From: Yuuki <6851027-yukiz@users.noreply.gitlab.com> Date: Wed, 3 Jul 2024 15:50:29 +0800 Subject: [PATCH] fix unlock constellation --- deobf.proto | 12 ++++++------ proto/AvatarUnlockTalentNotify.proto | 13 +++++++------ proto/UnlockAvatarTalentReq.proto | 9 +++++---- proto/UnlockAvatarTalentRsp.proto | 11 ++++++----- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/deobf.proto b/deobf.proto index f6561308..907f9e2a 100644 --- a/deobf.proto +++ b/deobf.proto @@ -11792,9 +11792,9 @@ message CFJLOOAMNOM { } // CmdId: 21301 -message POBPMGEKEEA { +message UnlockAvatarTalentReq { uint64 avatar_guid = 12; - uint32 KMDOGFBMGFI = 14; + uint32 talent_id = 14; } message HMNCGANKGOL { @@ -20356,10 +20356,10 @@ message NBEMKLHIHPH { } // CmdId: 22369 -message GILHLKDPNEO { +message UnlockAvatarTalentRsp { int32 retcode = 8; uint64 avatar_guid = 13; - uint32 KMDOGFBMGFI = 15; + uint32 talent_id = 15; } // CmdId: 24040 @@ -31754,8 +31754,8 @@ message KBIKLBDCCOM { } // CmdId: 1893 -message BIGHCFNPKBH { - uint32 KMDOGFBMGFI = 1; +message AvatarUnlockTalentNotify { + uint32 talent_id = 1; uint64 avatar_guid = 5; uint32 skill_depot_id = 6; uint32 entity_id = 14; diff --git a/proto/AvatarUnlockTalentNotify.proto b/proto/AvatarUnlockTalentNotify.proto index 70dadea0..704cafd0 100644 --- a/proto/AvatarUnlockTalentNotify.proto +++ b/proto/AvatarUnlockTalentNotify.proto @@ -1,11 +1,12 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// 4.6.0 -// CmdId: 23680 +// 4.7.0 +// CmdId: 1893 +// BIGHCFNPKBH message AvatarUnlockTalentNotify { - uint64 avatar_guid = 4; - uint32 skill_depot_id = 5; - uint32 entity_id = 10; - uint32 talent_id = 15; + uint64 avatar_guid = 5; + uint32 skill_depot_id = 6; + uint32 entity_id = 14; + uint32 talent_id = 1; } \ No newline at end of file diff --git a/proto/UnlockAvatarTalentReq.proto b/proto/UnlockAvatarTalentReq.proto index 33ba3fbf..8334ab62 100644 --- a/proto/UnlockAvatarTalentReq.proto +++ b/proto/UnlockAvatarTalentReq.proto @@ -1,9 +1,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// 4.6.0 -// CmdId: 4199 +// 4.7.0 +// CmdId: 21301 +// POBPMGEKEEA message UnlockAvatarTalentReq { - uint64 avatar_guid = 3; - uint32 talent_id = 10; + uint64 avatar_guid = 12; + uint32 talent_id = 14; } \ No newline at end of file diff --git a/proto/UnlockAvatarTalentRsp.proto b/proto/UnlockAvatarTalentRsp.proto index 01351616..8df1ee42 100644 --- a/proto/UnlockAvatarTalentRsp.proto +++ b/proto/UnlockAvatarTalentRsp.proto @@ -1,10 +1,11 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// 4.6.0 -// CmdId: 28618 +// 4.7.0 +// CmdId: 22369 +// GILHLKDPNEO message UnlockAvatarTalentRsp { - uint32 talent_id = 9; - uint64 avatar_guid = 11; - int32 retcode = 12; + uint32 talent_id = 15; + uint64 avatar_guid = 13; + int32 retcode = 8; } \ No newline at end of file