GC-Proto/proto/SceneGadgetInfo.proto

79 lines
2.2 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-29 09:46:19 +03:00
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";
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";
2023-01-29 09:46:19 +03:00
2023-01-28 17:00:48 +03:00
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 09:46:19 +03:00
2023-01-29 06:05:56 +03:00
oneof content {
Item trifle_item = 12;
2023-01-29 09:46:19 +03:00
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;
2023-01-28 17:00:48 +03:00
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;
}
2023-01-29 09:46:19 +03:00
2023-01-28 17:00:48 +03:00
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
}