From 90cb16acdbc7e5673358ccd45c23cf70187b9f9b Mon Sep 17 00:00:00 2001 From: Akbar Yahya Date: Wed, 22 Feb 2023 18:03:56 +0800 Subject: [PATCH] Add EntityConfigHashEntry this might come in handy sometime in future. --- proto/EntityClientExtraInfo.proto | 2 -- proto/EntityConfigHashEntry.proto | 9 +++++++++ proto/EntityConfigHashNotify.proto | 11 +++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 proto/EntityConfigHashEntry.proto create mode 100644 proto/EntityConfigHashNotify.proto diff --git a/proto/EntityClientExtraInfo.proto b/proto/EntityClientExtraInfo.proto index a87fac30..74fe3014 100644 --- a/proto/EntityClientExtraInfo.proto +++ b/proto/EntityClientExtraInfo.proto @@ -2,8 +2,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - - import "Vector.proto"; message EntityClientExtraInfo { diff --git a/proto/EntityConfigHashEntry.proto b/proto/EntityConfigHashEntry.proto new file mode 100644 index 00000000..c0c455aa --- /dev/null +++ b/proto/EntityConfigHashEntry.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message EntityConfigHashEntry { + uint32 entityId = 3; + uint32 jobId = 12; + int32 hashValue = 6; +} diff --git a/proto/EntityConfigHashNotify.proto b/proto/EntityConfigHashNotify.proto new file mode 100644 index 00000000..bed8bea0 --- /dev/null +++ b/proto/EntityConfigHashNotify.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "EntityConfigHashEntry.proto"; + +message EntityConfigHashNotify { + repeated EntityConfigHashEntry avatarEntryList = 12; + repeated EntityConfigHashEntry abilityEntryList = 7; + repeated EntityConfigHashEntry combatEntryList = 1; +}