GC-Proto/proto/SceneGadgetInfo.proto

75 lines
2.1 KiB
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-01-28 18:50:00 +03:00
option java_package = "emu.grasscutter.net.proto";
2022-11-06 15:30:21 +03:00
2023-01-28 17:00:48 +03:00
2022-11-06 15:30:21 +03:00
import "GadgetBornType.proto";
import "Item.proto";
2023-01-28 17:00:48 +03:00
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";
2022-11-06 15:30:21 +03:00
import "OfferingInfo.proto";
2023-01-28 17:00:48 +03:00
import "FoundationInfo.proto";
2022-11-06 15:30:21 +03:00
import "VehicleInfo.proto";
2023-01-28 17:00:48 +03:00
import "ShellInfo.proto";
import "ScreenInfo.proto";
import "FishPoolInfo.proto";
import "CustomGadgetTreeInfo.proto";
import "RoguelikeGadgetInfo.proto";
import "NightCrowGadgetInfo.proto";
import "DeshretObeliskGadgetInfo.proto";
import "CoinCollectOperatorInfo.proto";
import "PlatformInfo.proto";
import "GadgetPlayInfo.proto";
2022-11-06 15:30:21 +03:00
message SceneGadgetInfo {
2023-01-28 17:00:48 +03:00
uint32 gadgetId = 1;
uint32 groupId = 2;
uint32 configId = 3;
uint32 ownerEntityId = 4;
GadgetBornType bornType = 5;
uint32 gadgetState = 6;
uint32 gadgetType = 7;
bool isShowCutscene = 8;
uint32 authorityPeerId = 9;
bool isEnableInteract = 10;
uint32 interactId = 11;
2023-01-29 06:05:56 +03:00
oneof content {
Item item = 12;
2023-01-28 17:00:48 +03:00
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;
OfferingInfo offering_info = 44;
FoundationInfo foundation_info = 45;
VehicleInfo vehicle_info = 46;
ShellInfo shell_info = 47;
ScreenInfo screen_info = 48;
FishPoolInfo fish_pool_info = 59;
CustomGadgetTreeInfo custom_gadget_tree_info = 60;
RoguelikeGadgetInfo roguelike_gadget_info = 61;
NightCrowGadgetInfo night_crow_gadget_info = 62;
DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63;
CoinCollectOperatorInfo coin_collect_operator_info = 64;
}
uint32 markFlag = 21;
uint32 propOwnerEntityId = 22;
PlatformInfo platform = 23;
repeated uint32 interactUidList = 24;
uint32 draftId = 25;
uint32 gadgetTalkState = 26;
GadgetPlayInfo playInfo = 100;
2022-11-06 15:30:21 +03:00
}