mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-25 07:59:24 +03:00
77 lines
2.2 KiB
Protocol Buffer
77 lines
2.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
|
|
|
|
import "GadgetBornType.proto";
|
|
import "Item.proto";
|
|
import "GatherGadget.proto";
|
|
import "Worktop.proto";
|
|
import "ClientGadgetInfo.proto";
|
|
import "WeatherInfo.proto";
|
|
import "AbilityGadget.proto";
|
|
import "StatueGadgetInfo.proto";
|
|
import "BossChest.proto";
|
|
import "BlossomChestInfo.proto";
|
|
import "MpPlayRewardInfo.proto";
|
|
import "GadgetGeneralRewardInfo.proto";
|
|
import "OfferingInfo.proto";
|
|
import "FoundationInfo.proto";
|
|
import "VehicleInfo.proto";
|
|
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";
|
|
|
|
message SceneGadgetInfo {
|
|
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;
|
|
oneof content {
|
|
Item trifle_item = 12;
|
|
GatherGadget gather_gadget = 13;
|
|
Worktop worktop = 14;
|
|
ClientGadgetInfo client_gadget = 15;
|
|
WeatherInfo weather = 17;
|
|
AbilityGadget ability_gadget = 18;
|
|
StatueGadgetInfo statue_gadget = 19;
|
|
BossChest boss_chest = 20;
|
|
BlossomChestInfo blossom_chest = 41;
|
|
MpPlayRewardInfo mp_play_reward = 42;
|
|
GadgetGeneralRewardInfo 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;
|
|
}
|