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

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