From fdfaac7512d1675b600b6adbd3f2b7eab9e09b3e Mon Sep 17 00:00:00 2001 From: Akbar Yahya Date: Mon, 20 Feb 2023 06:26:19 +0800 Subject: [PATCH] add proto for Improved satiation --- proto/AvatarSatiationData.proto | 8 ++++++++ proto/AvatarSatiationDataNotify.proto | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 proto/AvatarSatiationData.proto create mode 100644 proto/AvatarSatiationDataNotify.proto diff --git a/proto/AvatarSatiationData.proto b/proto/AvatarSatiationData.proto new file mode 100644 index 00000000..fa0dc601 --- /dev/null +++ b/proto/AvatarSatiationData.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + +message AvatarSatiationData { + uint64 avatarGuid = 5; + float finishTime = 15; + float penaltyFinishTime = 12; +} diff --git a/proto/AvatarSatiationDataNotify.proto b/proto/AvatarSatiationDataNotify.proto new file mode 100644 index 00000000..5f3b04e7 --- /dev/null +++ b/proto/AvatarSatiationDataNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + +import "AvatarSatiationData.proto"; + +message AvatarSatiationDataNotify { + //enum JKBKGEDKLLG { + // option allow_alias= true; + // NONE = 0; + // PEPPOHPHJOJ = 1722; + // DCDNILFDFLB = 0; + // NNBKOLMPOEA = 1; + //} + + repeated AvatarSatiationData satiationDataList = 9; +}