Fix Scene*Info

This commit is contained in:
Akbar Yahya 2023-01-29 14:46:19 +08:00
parent e07d12ad71
commit 41bc21f009
12 changed files with 67 additions and 61 deletions

View File

@ -5,7 +5,7 @@ option java_package = "emu.grasscutter.net.proto";
message AbilityGadget { message AbilityGadgetInfo {
uint32 campId = 1; uint32 campId = 1;
uint32 olefgkameoj = 2; uint32 olefgkameoj = 2;
uint32 targetEntityId = 3; uint32 targetEntityId = 3;

View File

@ -17,7 +17,7 @@ import "BlessingInfo.proto";
import "SeaLampInfo.proto"; import "SeaLampInfo.proto";
import "ExpeditionInfo.proto"; import "ExpeditionInfo.proto";
import "ArenaChallengeInfo.proto"; import "ArenaChallengeInfo.proto";
import "FleurFairInfo.proto"; //import "FleurFairInfo.proto";
import "WaterSpiritInfo.proto"; import "WaterSpiritInfo.proto";
import "ChallnelerSlabInfo.proto"; import "ChallnelerSlabInfo.proto";
import "MistTrialActivityInfo.proto"; import "MistTrialActivityInfo.proto";
@ -115,7 +115,7 @@ message ActivityInfo {
SeaLampInfo sea_lamp_info = 578; SeaLampInfo sea_lamp_info = 578;
ExpeditionInfo expedition_info = 930; ExpeditionInfo expedition_info = 930;
ArenaChallengeInfo arena_challenge_info = 699; ArenaChallengeInfo arena_challenge_info = 699;
FleurFairInfo fleur_fair_info = 1116; //FleurFairInfo fleur_fair_info = 1116;
WaterSpiritInfo water_spirit_info = 1651; WaterSpiritInfo water_spirit_info = 1651;
ChallnelerSlabInfo challneler_slab_info = 1135; ChallnelerSlabInfo challneler_slab_info = 1135;
MistTrialActivityInfo mist_trial_activity_info = 1320; MistTrialActivityInfo mist_trial_activity_info = 1320;

View File

@ -5,7 +5,7 @@ option java_package = "emu.grasscutter.net.proto";
message BlossomChest { message BlossomChestInfo {
uint32 resin = 1; uint32 resin = 1;
repeated uint32 qualifyUidList = 2; repeated uint32 qualifyUidList = 2;
repeated uint32 remainUidList = 3; repeated uint32 remainUidList = 3;

View File

@ -3,7 +3,7 @@ option java_package = "emu.grasscutter.net.proto";
import "uint32.proto"; //import "uint32.proto";
import "FleurFairChapterInfo.proto"; import "FleurFairChapterInfo.proto";
import "FleurFairDungeonSectionInfo.proto"; import "FleurFairDungeonSectionInfo.proto";
message FleurFairInfo { message FleurFairInfo {

View File

@ -5,16 +5,16 @@ option java_package = "emu.grasscutter.net.proto";
import "GadgetBornType.proto"; import "GadgetBornType.proto";
import "Item.proto"; import "Item.proto";
import "GatherGadget.proto"; import "GatherGadgetInfo.proto";
import "Worktop.proto"; import "WorktopInfo.proto";
import "ClientGadget.proto"; import "ClientGadgetInfo.proto";
import "Weather.proto"; import "WeatherInfo.proto";
import "AbilityGadget.proto"; import "AbilityGadgetInfo.proto";
import "StatueGadget.proto"; import "StatueGadgetInfo.proto";
import "BossChest.proto"; import "BossChestInfo.proto";
import "BlossomChest.proto"; import "BlossomChestInfo.proto";
import "MpPlayReward.proto"; import "MpPlayRewardInfo.proto";
import "GeneralReward.proto"; import "GeneralRewardInfo.proto";
import "OfferingInfo.proto"; import "OfferingInfo.proto";
import "FoundationInfo.proto"; import "FoundationInfo.proto";
import "VehicleInfo.proto"; import "VehicleInfo.proto";
@ -28,7 +28,7 @@ import "DeshretObeliskGadgetInfo.proto";
import "CoinCollectOperatorInfo.proto"; import "CoinCollectOperatorInfo.proto";
import "PlatformInfo.proto"; import "PlatformInfo.proto";
import "GadgetPlayInfo.proto"; import "GadgetPlayInfo.proto";
message Gadget { message GadgetInfo {
uint32 gadgetId = 1; uint32 gadgetId = 1;
uint32 groupId = 2; uint32 groupId = 2;
uint32 configId = 3; uint32 configId = 3;
@ -42,16 +42,16 @@ message Gadget {
uint32 interactId = 11; uint32 interactId = 11;
oneof content { oneof content {
Item item = 12; Item item = 12;
GatherGadget gather_gadget = 13; GatherGadgetInfo gather_gadget = 13;
Worktop worktop = 14; WorktopInfo worktop = 14;
ClientGadget client_gadget = 15; ClientGadgetInfo client_gadget = 15;
Weather weather = 17; WeatherInfo weather = 17;
AbilityGadget ability_gadget = 18; AbilityGadgetInfo ability_gadget = 18;
StatueGadget statue_gadget = 19; StatueGadgetInfo statue_gadget = 19;
BossChest boss_chest = 20; BossChestInfo boss_chest = 20;
BlossomChest blossom_chest = 41; BlossomChestInfo blossom_chest = 41;
MpPlayReward mp_play_reward = 42; MpPlayRewardInfo mp_play_reward = 42;
GeneralReward general_reward = 43; GeneralRewardInfo general_reward = 43;
OfferingInfo offering_info = 44; OfferingInfo offering_info = 44;
FoundationInfo foundation_info = 45; FoundationInfo foundation_info = 45;
VehicleInfo vehicle_info = 46; VehicleInfo vehicle_info = 46;

View File

@ -4,7 +4,7 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto"; import "ItemParam.proto";
message GeneralReward { message GeneralRewardInfo {
uint32 resin = 1; uint32 resin = 1;
uint32 deadTime = 2; uint32 deadTime = 2;
repeated uint32 remainUidList = 3; repeated uint32 remainUidList = 3;

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
message MpPlayReward { message MpPlayRewardInfo {
uint32 resin = 1; uint32 resin = 1;
repeated uint32 remainUidList = 2; repeated uint32 remainUidList = 2;
repeated uint32 qualifyUidList = 3; repeated uint32 qualifyUidList = 3;

View File

@ -5,16 +5,18 @@ option java_package = "emu.grasscutter.net.proto";
import "ProtEntityType.proto"; import "ProtEntityType.proto";
import "MotionInfo.proto"; import "MotionInfo.proto";
import "Avatar.proto";
import "Monster.proto";
import "Npc.proto";
import "Gadget.proto";
import "EntityClientData.proto"; import "EntityClientData.proto";
import "EntityAuthorityInfo.proto"; import "EntityAuthorityInfo.proto";
import "PropPair.proto"; import "PropPair.proto";
import "FightPropPair.proto"; import "FightPropPair.proto";
import "AnimatorParameterValueInfoPair.proto"; import "AnimatorParameterValueInfoPair.proto";
import "EntityEnvironmentInfo.proto"; import "EntityEnvironmentInfo.proto";
import "SceneAvatarInfo.proto";
import "SceneGadgetInfo.proto";
import "SceneMonsterInfo.proto";
import "SceneNpcInfo.proto";
import "ServerBuff.proto"; import "ServerBuff.proto";
message SceneEntityInfo { message SceneEntityInfo {
ProtEntityType entityType = 1; ProtEntityType entityType = 1;
@ -26,10 +28,10 @@ message SceneEntityInfo {
uint32 lifeState = 7; uint32 lifeState = 7;
repeated AnimatorParameterValueInfoPair animatorParaList = 9; repeated AnimatorParameterValueInfoPair animatorParaList = 9;
oneof entity { oneof entity {
Avatar avatar = 10; SceneAvatarInfo avatar = 10;
Monster monster = 11; SceneMonsterInfo monster = 11;
Npc npc = 12; SceneNpcInfo npc = 12;
Gadget gadget = 13; SceneGadgetInfo gadget = 13;
} }
uint32 lastMoveSceneTimeMs = 17; uint32 lastMoveSceneTimeMs = 17;
uint32 lastMoveReliableSeq = 18; uint32 lastMoveReliableSeq = 18;

View File

@ -4,17 +4,18 @@ option java_package = "emu.grasscutter.net.proto";
import "GadgetBornType.proto"; import "GadgetBornType.proto";
import "Item.proto"; import "TrifleItem.proto";
import "GatherGadget.proto";
import "Worktop.proto"; import "GatherGadgetInfo.proto";
import "ClientGadget.proto"; import "WorktopInfo.proto";
import "Weather.proto"; import "ClientGadgetInfo.proto";
import "AbilityGadget.proto"; import "WeatherInfo.proto";
import "StatueGadget.proto"; import "AbilityGadgetInfo.proto";
import "BossChest.proto"; import "StatueGadgetInfo.proto";
import "BlossomChest.proto"; import "BossChestInfo.proto";
import "MpPlayReward.proto"; import "BlossomChestInfo.proto";
import "GeneralReward.proto"; import "MpPlayRewardInfo.proto";
import "GeneralRewardInfo.proto";
import "OfferingInfo.proto"; import "OfferingInfo.proto";
import "FoundationInfo.proto"; import "FoundationInfo.proto";
import "VehicleInfo.proto"; import "VehicleInfo.proto";
@ -26,6 +27,7 @@ import "RoguelikeGadgetInfo.proto";
import "NightCrowGadgetInfo.proto"; import "NightCrowGadgetInfo.proto";
import "DeshretObeliskGadgetInfo.proto"; import "DeshretObeliskGadgetInfo.proto";
import "CoinCollectOperatorInfo.proto"; import "CoinCollectOperatorInfo.proto";
import "PlatformInfo.proto"; import "PlatformInfo.proto";
import "GadgetPlayInfo.proto"; import "GadgetPlayInfo.proto";
message SceneGadgetInfo { message SceneGadgetInfo {
@ -40,18 +42,19 @@ message SceneGadgetInfo {
uint32 authorityPeerId = 9; uint32 authorityPeerId = 9;
bool isEnableInteract = 10; bool isEnableInteract = 10;
uint32 interactId = 11; uint32 interactId = 11;
oneof content { oneof content {
Item item = 12; TrifleItem trifle_item = 12;
GatherGadget gather_gadget = 13; GatherGadgetInfo gather_gadget = 13;
Worktop worktop = 14; WorktopInfo worktop = 14;
ClientGadget client_gadget = 15; ClientGadgetInfo client_gadget = 15;
Weather weather = 17; WeatherInfo weather = 17;
AbilityGadget ability_gadget = 18; AbilityGadgetInfo ability_gadget = 18;
StatueGadget statue_gadget = 19; StatueGadgetInfo statue_gadget = 19;
BossChest boss_chest = 20; BossChestInfo boss_chest = 20;
BlossomChest blossom_chest = 41; BlossomChestInfo blossom_chest = 41;
MpPlayReward mp_play_reward = 42; MpPlayRewardInfo mp_play_reward = 42;
GeneralReward general_reward = 43; GeneralRewardInfo general_reward = 43;
OfferingInfo offering_info = 44; OfferingInfo offering_info = 44;
FoundationInfo foundation_info = 45; FoundationInfo foundation_info = 45;
VehicleInfo vehicle_info = 46; VehicleInfo vehicle_info = 46;
@ -64,6 +67,7 @@ message SceneGadgetInfo {
DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63; DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63;
CoinCollectOperatorInfo coin_collect_operator_info = 64; CoinCollectOperatorInfo coin_collect_operator_info = 64;
} }
uint32 markFlag = 21; uint32 markFlag = 21;
uint32 propOwnerEntityId = 22; uint32 propOwnerEntityId = 22;
PlatformInfo platform = 23; PlatformInfo platform = 23;

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
message Npc { message SceneNpcInfo {
uint32 npcId = 1; uint32 npcId = 1;
uint32 roomId = 2; uint32 roomId = 2;
uint32 parentQuestId = 3; uint32 parentQuestId = 3;

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
message StatueGadget { message StatueGadgetInfo {
repeated uint32 nkbgahefmbn = 1; repeated uint32 nkbgahefmbn = 1;
} }

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
message Weather { message WeatherInfo {
uint32 weatherAreaId = 1; uint32 weatherAreaId = 1;
} }