From 0d16481fcb45a49d70684b9b89afe4a1c7030b1a Mon Sep 17 00:00:00 2001 From: Akbar Yahya Date: Tue, 31 Jan 2023 05:31:53 +0800 Subject: [PATCH] Fixed skills issue --- proto/AbilityEmbryo.proto | 8 ++------ proto/FurnitureMakeBeHelpedData.proto | 2 +- proto/FurnitureMakeData.proto | 4 ++-- proto/HomeLimitedShopInfo.proto | 6 +++--- proto/ShortAbilityHashPair.proto | 4 ++-- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/proto/AbilityEmbryo.proto b/proto/AbilityEmbryo.proto index 8adb3c42..ba2366a2 100644 --- a/proto/AbilityEmbryo.proto +++ b/proto/AbilityEmbryo.proto @@ -1,12 +1,8 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - - - - message AbilityEmbryo { uint32 abilityId = 1; - uint32 abilityNameHash = 2; - uint32 abilityOverrideNameHash = 3; + fixed32 abilityNameHash = 2; + fixed32 abilityOverrideNameHash = 3; } diff --git a/proto/FurnitureMakeBeHelpedData.proto b/proto/FurnitureMakeBeHelpedData.proto index 54b506ed..2ce866d5 100644 --- a/proto/FurnitureMakeBeHelpedData.proto +++ b/proto/FurnitureMakeBeHelpedData.proto @@ -8,6 +8,6 @@ message FurnitureMakeBeHelpedData { uint32 uid = 7; ProfilePicture profilePicture = 10; uint32 icon = 13; - uint32 time = 4; + fixed32 time = 4; string playerName = 6; } diff --git a/proto/FurnitureMakeData.proto b/proto/FurnitureMakeData.proto index 4338d00d..b8e68076 100644 --- a/proto/FurnitureMakeData.proto +++ b/proto/FurnitureMakeData.proto @@ -3,8 +3,8 @@ option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeData { uint32 durTime = 5; uint32 makeId = 6; - uint32 beginTime = 13; - uint32 accelerateTime = 9; + fixed32 beginTime = 13; + fixed32 accelerateTime = 9; uint32 index = 10; uint32 avatarId = 1; } diff --git a/proto/HomeLimitedShopInfo.proto b/proto/HomeLimitedShopInfo.proto index 85ac80ea..0a76150b 100644 --- a/proto/HomeLimitedShopInfo.proto +++ b/proto/HomeLimitedShopInfo.proto @@ -5,10 +5,10 @@ option java_package = "emu.grasscutter.net.proto"; import "Vector.proto"; message HomeLimitedShopInfo { - uint32 nextGuestOpenTime = 14; + fixed32 nextGuestOpenTime = 14; uint32 uid = 4; Vector djinnRot = 12; - uint32 nextCloseTime = 2; + fixed32 nextCloseTime = 2; Vector djinnPos = 6; - uint32 nextOpenTime = 15; + fixed32 nextOpenTime = 15; } diff --git a/proto/ShortAbilityHashPair.proto b/proto/ShortAbilityHashPair.proto index 887f69b8..69be1b9b 100644 --- a/proto/ShortAbilityHashPair.proto +++ b/proto/ShortAbilityHashPair.proto @@ -1,6 +1,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ShortAbilityHashPair { - int32 abilityNameHash = 6; - int32 abilityConfigHash = 10; + sfixed32 abilityNameHash = 6; + sfixed32 abilityConfigHash = 10; }