diff --git a/Makefile b/Makefile index 18f380c..025733f 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ +.PHONY: run proto + run: cd cmd && go run . +proto: + cd proto && buf generate + ./scripts/post_generation.sh diff --git a/README.md b/README.md index 0654b19..acd2078 100644 --- a/README.md +++ b/README.md @@ -254,3 +254,9 @@ dragonfly-plugins/ - **[Protocol Buffer Definitions](plugin/proto/types/plugin.proto)** - API reference - **[Plugin Architecture](docs/plugin-architecture.md)** - Design documentation + +## Protobuf generation +to generate our protobuf types, you will need to install [buf](https://buf.build/docs/cli/installation/) and then run +``` +make proto +``` diff --git a/dragonfly b/dragonfly deleted file mode 160000 index 930c985..0000000 --- a/dragonfly +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 930c985297ef4967e611f7a894701b94d0f09f72 diff --git a/go.mod b/go.mod index 8e96524..f1a5e6a 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/secmc/plugin go 1.25.0 -replace github.com/df-mc/dragonfly => ./dragonfly - require ( github.com/df-mc/dragonfly v0.10.10-0.20251115132555-564b905699ba github.com/didntpot/pregdk v0.0.0-20251104095621-63cf2e4d7716 @@ -37,4 +35,4 @@ require ( golang.org/x/text v0.27.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect -) \ No newline at end of file +) diff --git a/proto/Makefile b/proto/Makefile deleted file mode 100644 index 9b4ece9..0000000 --- a/proto/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -.PHONY: proto proto-go proto-php proto-ts lint breaking clean - -proto: proto-go proto-php proto-ts proto-py proto-cpp proto-rs - -proto-go: - buf generate && cd .. && go mod tidy - -proto-php: - buf generate --template buf.gen.php.yaml - -proto-ts: - buf generate --template buf.gen.ts.yaml && cd generated/ts && npm install && npm run build - -proto-py: - buf generate --template buf.gen.py.yaml - -proto-cpp: - buf generate --template buf.gen.cpp.yaml - -proto-rs: - buf generate --template buf.gen.rs.yaml - -lint: - buf lint - -breaking: - buf breaking --against '.git#branch=main' - -clean: - rm -rf generated/*.pb.go generated/php/ generated/ts/ \ No newline at end of file diff --git a/proto/README.md b/proto/README.md deleted file mode 100644 index c3832a3..0000000 --- a/proto/README.md +++ /dev/null @@ -1,4 +0,0 @@ -## Protobuf generation - -Default generation (messages + clients): -- Runs via `npm run generate` (or `bun generate`) in `proto/` diff --git a/proto/buf.gen.cpp.yaml b/proto/buf.gen.cpp.yaml deleted file mode 100644 index b15d7d2..0000000 --- a/proto/buf.gen.cpp.yaml +++ /dev/null @@ -1,8 +0,0 @@ -version: v2 -managed: - enabled: true -plugins: - - remote: buf.build/protocolbuffers/cpp - out: generated/cpp - - remote: buf.build/grpc/cpp - out: generated/cpp \ No newline at end of file diff --git a/proto/buf.gen.php.yaml b/proto/buf.gen.php.yaml deleted file mode 100644 index 645e1f5..0000000 --- a/proto/buf.gen.php.yaml +++ /dev/null @@ -1,9 +0,0 @@ -version: v2 -managed: - enabled: true -plugins: - - remote: buf.build/protocolbuffers/php - out: generated/php - - remote: buf.build/grpc/php - out: generated/php - diff --git a/proto/buf.gen.py.yaml b/proto/buf.gen.py.yaml deleted file mode 100644 index 0164738..0000000 --- a/proto/buf.gen.py.yaml +++ /dev/null @@ -1,8 +0,0 @@ -version: v2 -managed: - enabled: true -plugins: - - remote: buf.build/protocolbuffers/python - out: generated/python - - remote: buf.build/grpc/python - out: generated/python \ No newline at end of file diff --git a/proto/buf.gen.rs.yaml b/proto/buf.gen.rs.yaml deleted file mode 100644 index af4cb31..0000000 --- a/proto/buf.gen.rs.yaml +++ /dev/null @@ -1,11 +0,0 @@ -version: v2 -managed: - enabled: true -plugins: - - remote: buf.build/community/neoeinstein-prost - out: generated/rust - - remote: buf.build/community/neoeinstein-tonic - out: generated/rust - opt: - - compile_well_known_types - - extern_path=.google.protobuf=::pbjson_types \ No newline at end of file diff --git a/proto/buf.gen.ts.yaml b/proto/buf.gen.ts.yaml deleted file mode 100644 index 7e7246b..0000000 --- a/proto/buf.gen.ts.yaml +++ /dev/null @@ -1,13 +0,0 @@ -version: v2 -managed: - enabled: true -plugins: - # Generate TypeScript types with ts-proto (compatible with @grpc/grpc-js) - - remote: buf.build/community/stephenh-ts-proto - out: generated/ts - opt: - - esModuleInterop=true - - outputServices=generic-definitions - - useExactTypes=false - - importSuffix=.js - diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml index 172ef60..50c4ad5 100644 --- a/proto/buf.gen.yaml +++ b/proto/buf.gen.yaml @@ -9,3 +9,38 @@ plugins: out: generated opt: - paths=source_relative + # C++ + - remote: buf.build/protocolbuffers/cpp + out: generated/cpp + - remote: buf.build/grpc/cpp + out: generated/cpp + + # Php + - remote: buf.build/protocolbuffers/php + out: generated/php + - remote: buf.build/grpc/php + out: generated/php + + # Python + - remote: buf.build/protocolbuffers/python + out: generated/python + - remote: buf.build/grpc/python + out: generated/python + + # Rust + - remote: buf.build/community/neoeinstein-prost + out: generated/rust + - remote: buf.build/community/neoeinstein-tonic + out: generated/rust + opt: + - compile_well_known_types + - extern_path=.google.protobuf=::pbjson_types + + # Typescript + - remote: buf.build/community/stephenh-ts-proto + out: generated/ts + opt: + - esModuleInterop=true + - outputServices=generic-definitions + - useExactTypes=false + - importSuffix=.js diff --git a/proto/bun.lockb b/proto/bun.lockb deleted file mode 100755 index 9bc5033..0000000 Binary files a/proto/bun.lockb and /dev/null differ diff --git a/proto/generated/actions.pb.go b/proto/generated/actions.pb.go index f1e79d9..cab8eb8 100644 --- a/proto/generated/actions.pb.go +++ b/proto/generated/actions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: actions.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,20 +22,17 @@ const ( ) type ActionBatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` unknownFields protoimpl.UnknownFields - - Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ActionBatch) Reset() { *x = ActionBatch{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActionBatch) String() string { @@ -45,7 +43,7 @@ func (*ActionBatch) ProtoMessage() {} func (x *ActionBatch) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,12 +66,9 @@ func (x *ActionBatch) GetActions() []*Action { } type Action struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CorrelationId *string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` - // Types that are assignable to Kind: + state protoimpl.MessageState `protogen:"open.v1"` + CorrelationId *string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` + // Types that are valid to be assigned to Kind: // // *Action_SendChat // *Action_Teleport @@ -93,16 +88,16 @@ type Action struct { // *Action_SendTip // *Action_PlaySound // *Action_ExecuteCommand - Kind isAction_Kind `protobuf_oneof:"kind"` + Kind isAction_Kind `protobuf_oneof:"kind"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Action) Reset() { *x = Action{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Action) String() string { @@ -113,7 +108,7 @@ func (*Action) ProtoMessage() {} func (x *Action) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,135 +130,171 @@ func (x *Action) GetCorrelationId() string { return "" } -func (m *Action) GetKind() isAction_Kind { - if m != nil { - return m.Kind +func (x *Action) GetKind() isAction_Kind { + if x != nil { + return x.Kind } return nil } func (x *Action) GetSendChat() *SendChatAction { - if x, ok := x.GetKind().(*Action_SendChat); ok { - return x.SendChat + if x != nil { + if x, ok := x.Kind.(*Action_SendChat); ok { + return x.SendChat + } } return nil } func (x *Action) GetTeleport() *TeleportAction { - if x, ok := x.GetKind().(*Action_Teleport); ok { - return x.Teleport + if x != nil { + if x, ok := x.Kind.(*Action_Teleport); ok { + return x.Teleport + } } return nil } func (x *Action) GetKick() *KickAction { - if x, ok := x.GetKind().(*Action_Kick); ok { - return x.Kick + if x != nil { + if x, ok := x.Kind.(*Action_Kick); ok { + return x.Kick + } } return nil } func (x *Action) GetSetGameMode() *SetGameModeAction { - if x, ok := x.GetKind().(*Action_SetGameMode); ok { - return x.SetGameMode + if x != nil { + if x, ok := x.Kind.(*Action_SetGameMode); ok { + return x.SetGameMode + } } return nil } func (x *Action) GetGiveItem() *GiveItemAction { - if x, ok := x.GetKind().(*Action_GiveItem); ok { - return x.GiveItem + if x != nil { + if x, ok := x.Kind.(*Action_GiveItem); ok { + return x.GiveItem + } } return nil } func (x *Action) GetClearInventory() *ClearInventoryAction { - if x, ok := x.GetKind().(*Action_ClearInventory); ok { - return x.ClearInventory + if x != nil { + if x, ok := x.Kind.(*Action_ClearInventory); ok { + return x.ClearInventory + } } return nil } func (x *Action) GetSetHeldItem() *SetHeldItemAction { - if x, ok := x.GetKind().(*Action_SetHeldItem); ok { - return x.SetHeldItem + if x != nil { + if x, ok := x.Kind.(*Action_SetHeldItem); ok { + return x.SetHeldItem + } } return nil } func (x *Action) GetSetHealth() *SetHealthAction { - if x, ok := x.GetKind().(*Action_SetHealth); ok { - return x.SetHealth + if x != nil { + if x, ok := x.Kind.(*Action_SetHealth); ok { + return x.SetHealth + } } return nil } func (x *Action) GetSetFood() *SetFoodAction { - if x, ok := x.GetKind().(*Action_SetFood); ok { - return x.SetFood + if x != nil { + if x, ok := x.Kind.(*Action_SetFood); ok { + return x.SetFood + } } return nil } func (x *Action) GetSetExperience() *SetExperienceAction { - if x, ok := x.GetKind().(*Action_SetExperience); ok { - return x.SetExperience + if x != nil { + if x, ok := x.Kind.(*Action_SetExperience); ok { + return x.SetExperience + } } return nil } func (x *Action) GetSetVelocity() *SetVelocityAction { - if x, ok := x.GetKind().(*Action_SetVelocity); ok { - return x.SetVelocity + if x != nil { + if x, ok := x.Kind.(*Action_SetVelocity); ok { + return x.SetVelocity + } } return nil } func (x *Action) GetAddEffect() *AddEffectAction { - if x, ok := x.GetKind().(*Action_AddEffect); ok { - return x.AddEffect + if x != nil { + if x, ok := x.Kind.(*Action_AddEffect); ok { + return x.AddEffect + } } return nil } func (x *Action) GetRemoveEffect() *RemoveEffectAction { - if x, ok := x.GetKind().(*Action_RemoveEffect); ok { - return x.RemoveEffect + if x != nil { + if x, ok := x.Kind.(*Action_RemoveEffect); ok { + return x.RemoveEffect + } } return nil } func (x *Action) GetSendTitle() *SendTitleAction { - if x, ok := x.GetKind().(*Action_SendTitle); ok { - return x.SendTitle + if x != nil { + if x, ok := x.Kind.(*Action_SendTitle); ok { + return x.SendTitle + } } return nil } func (x *Action) GetSendPopup() *SendPopupAction { - if x, ok := x.GetKind().(*Action_SendPopup); ok { - return x.SendPopup + if x != nil { + if x, ok := x.Kind.(*Action_SendPopup); ok { + return x.SendPopup + } } return nil } func (x *Action) GetSendTip() *SendTipAction { - if x, ok := x.GetKind().(*Action_SendTip); ok { - return x.SendTip + if x != nil { + if x, ok := x.Kind.(*Action_SendTip); ok { + return x.SendTip + } } return nil } func (x *Action) GetPlaySound() *PlaySoundAction { - if x, ok := x.GetKind().(*Action_PlaySound); ok { - return x.PlaySound + if x != nil { + if x, ok := x.Kind.(*Action_PlaySound); ok { + return x.PlaySound + } } return nil } func (x *Action) GetExecuteCommand() *ExecuteCommandAction { - if x, ok := x.GetKind().(*Action_ExecuteCommand); ok { - return x.ExecuteCommand + if x != nil { + if x, ok := x.Kind.(*Action_ExecuteCommand); ok { + return x.ExecuteCommand + } } return nil } @@ -386,21 +417,18 @@ func (*Action_PlaySound) isAction_Kind() {} func (*Action_ExecuteCommand) isAction_Kind() {} type SendChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TargetUuid string `protobuf:"bytes,1,opt,name=target_uuid,json=targetUuid,proto3" json:"target_uuid,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - TargetUuid string `protobuf:"bytes,1,opt,name=target_uuid,json=targetUuid,proto3" json:"target_uuid,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SendChatAction) Reset() { *x = SendChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendChatAction) String() string { @@ -411,7 +439,7 @@ func (*SendChatAction) ProtoMessage() {} func (x *SendChatAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -441,25 +469,22 @@ func (x *SendChatAction) GetMessage() string { } type TeleportAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Position *Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Position *Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` // rotation vector mapping: // // x = pitch, y = yaw, z = head_yaw - Rotation *Vec3 `protobuf:"bytes,3,opt,name=rotation,proto3" json:"rotation,omitempty"` + Rotation *Vec3 `protobuf:"bytes,3,opt,name=rotation,proto3" json:"rotation,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TeleportAction) Reset() { *x = TeleportAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TeleportAction) String() string { @@ -470,7 +495,7 @@ func (*TeleportAction) ProtoMessage() {} func (x *TeleportAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -507,21 +532,18 @@ func (x *TeleportAction) GetRotation() *Vec3 { } type KickAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KickAction) Reset() { *x = KickAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KickAction) String() string { @@ -532,7 +554,7 @@ func (*KickAction) ProtoMessage() {} func (x *KickAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,21 +584,18 @@ func (x *KickAction) GetReason() string { } type SetGameModeAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + GameMode GameMode `protobuf:"varint,2,opt,name=game_mode,json=gameMode,proto3,enum=df.plugin.GameMode" json:"game_mode,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - GameMode GameMode `protobuf:"varint,2,opt,name=game_mode,json=gameMode,proto3,enum=df.plugin.GameMode" json:"game_mode,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetGameModeAction) Reset() { *x = SetGameModeAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetGameModeAction) String() string { @@ -587,7 +606,7 @@ func (*SetGameModeAction) ProtoMessage() {} func (x *SetGameModeAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -618,21 +637,18 @@ func (x *SetGameModeAction) GetGameMode() GameMode { // Inventory & Items type GiveItemAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Item *ItemStack `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Item *ItemStack `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GiveItemAction) Reset() { *x = GiveItemAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GiveItemAction) String() string { @@ -643,7 +659,7 @@ func (*GiveItemAction) ProtoMessage() {} func (x *GiveItemAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -673,20 +689,17 @@ func (x *GiveItemAction) GetItem() *ItemStack { } type ClearInventoryAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ClearInventoryAction) Reset() { *x = ClearInventoryAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClearInventoryAction) String() string { @@ -697,7 +710,7 @@ func (*ClearInventoryAction) ProtoMessage() {} func (x *ClearInventoryAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -720,22 +733,19 @@ func (x *ClearInventoryAction) GetPlayerUuid() string { } type SetHeldItemAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Main *ItemStack `protobuf:"bytes,2,opt,name=main,proto3,oneof" json:"main,omitempty"` // if set, updates main hand + Offhand *ItemStack `protobuf:"bytes,3,opt,name=offhand,proto3,oneof" json:"offhand,omitempty"` // if set, updates offhand unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Main *ItemStack `protobuf:"bytes,2,opt,name=main,proto3,oneof" json:"main,omitempty"` // if set, updates main hand - Offhand *ItemStack `protobuf:"bytes,3,opt,name=offhand,proto3,oneof" json:"offhand,omitempty"` // if set, updates offhand + sizeCache protoimpl.SizeCache } func (x *SetHeldItemAction) Reset() { *x = SetHeldItemAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetHeldItemAction) String() string { @@ -746,7 +756,7 @@ func (*SetHeldItemAction) ProtoMessage() {} func (x *SetHeldItemAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -784,22 +794,19 @@ func (x *SetHeldItemAction) GetOffhand() *ItemStack { // Player State type SetHealthAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Health float64 `protobuf:"fixed64,2,opt,name=health,proto3" json:"health,omitempty"` + MaxHealth *float64 `protobuf:"fixed64,3,opt,name=max_health,json=maxHealth,proto3,oneof" json:"max_health,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Health float64 `protobuf:"fixed64,2,opt,name=health,proto3" json:"health,omitempty"` - MaxHealth *float64 `protobuf:"fixed64,3,opt,name=max_health,json=maxHealth,proto3,oneof" json:"max_health,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetHealthAction) Reset() { *x = SetHealthAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetHealthAction) String() string { @@ -810,7 +817,7 @@ func (*SetHealthAction) ProtoMessage() {} func (x *SetHealthAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -847,21 +854,18 @@ func (x *SetHealthAction) GetMaxHealth() float64 { } type SetFoodAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Food int32 `protobuf:"varint,2,opt,name=food,proto3" json:"food,omitempty"` // 0-20 unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Food int32 `protobuf:"varint,2,opt,name=food,proto3" json:"food,omitempty"` // 0-20 + sizeCache protoimpl.SizeCache } func (x *SetFoodAction) Reset() { *x = SetFoodAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetFoodAction) String() string { @@ -872,7 +876,7 @@ func (*SetFoodAction) ProtoMessage() {} func (x *SetFoodAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -902,26 +906,23 @@ func (x *SetFoodAction) GetFood() int32 { } type SetExperienceAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` // If set, the player's level is set to this value. Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"` // If set, the player's progress bar (0..1) is set to this value. Progress *float32 `protobuf:"fixed32,3,opt,name=progress,proto3,oneof" json:"progress,omitempty"` // If set, raw experience points are added (can be negative to remove). - Amount *int32 `protobuf:"varint,4,opt,name=amount,proto3,oneof" json:"amount,omitempty"` + Amount *int32 `protobuf:"varint,4,opt,name=amount,proto3,oneof" json:"amount,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetExperienceAction) Reset() { *x = SetExperienceAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetExperienceAction) String() string { @@ -932,7 +933,7 @@ func (*SetExperienceAction) ProtoMessage() {} func (x *SetExperienceAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -976,21 +977,18 @@ func (x *SetExperienceAction) GetAmount() int32 { } type SetVelocityAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Velocity *Vec3 `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Velocity *Vec3 `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetVelocityAction) Reset() { *x = SetVelocityAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetVelocityAction) String() string { @@ -1001,7 +999,7 @@ func (*SetVelocityAction) ProtoMessage() {} func (x *SetVelocityAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1032,24 +1030,21 @@ func (x *SetVelocityAction) GetVelocity() *Vec3 { // Effects & Status type AddEffectAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + EffectType EffectType `protobuf:"varint,2,opt,name=effect_type,json=effectType,proto3,enum=df.plugin.EffectType" json:"effect_type,omitempty"` + Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` // amplifier level (1 = level I) + DurationMs int64 `protobuf:"varint,4,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // duration in milliseconds + ShowParticles bool `protobuf:"varint,5,opt,name=show_particles,json=showParticles,proto3" json:"show_particles,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - EffectType EffectType `protobuf:"varint,2,opt,name=effect_type,json=effectType,proto3,enum=df.plugin.EffectType" json:"effect_type,omitempty"` - Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` // amplifier level (1 = level I) - DurationMs int64 `protobuf:"varint,4,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // duration in milliseconds - ShowParticles bool `protobuf:"varint,5,opt,name=show_particles,json=showParticles,proto3" json:"show_particles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddEffectAction) Reset() { *x = AddEffectAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddEffectAction) String() string { @@ -1060,7 +1055,7 @@ func (*AddEffectAction) ProtoMessage() {} func (x *AddEffectAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1111,21 +1106,18 @@ func (x *AddEffectAction) GetShowParticles() bool { } type RemoveEffectAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + EffectType EffectType `protobuf:"varint,2,opt,name=effect_type,json=effectType,proto3,enum=df.plugin.EffectType" json:"effect_type,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - EffectType EffectType `protobuf:"varint,2,opt,name=effect_type,json=effectType,proto3,enum=df.plugin.EffectType" json:"effect_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveEffectAction) Reset() { *x = RemoveEffectAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveEffectAction) String() string { @@ -1136,7 +1128,7 @@ func (*RemoveEffectAction) ProtoMessage() {} func (x *RemoveEffectAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1167,25 +1159,22 @@ func (x *RemoveEffectAction) GetEffectType() EffectType { // UI & Communication type SendTitleAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Subtitle *string `protobuf:"bytes,3,opt,name=subtitle,proto3,oneof" json:"subtitle,omitempty"` + FadeInMs *int64 `protobuf:"varint,4,opt,name=fade_in_ms,json=fadeInMs,proto3,oneof" json:"fade_in_ms,omitempty"` + DurationMs *int64 `protobuf:"varint,5,opt,name=duration_ms,json=durationMs,proto3,oneof" json:"duration_ms,omitempty"` + FadeOutMs *int64 `protobuf:"varint,6,opt,name=fade_out_ms,json=fadeOutMs,proto3,oneof" json:"fade_out_ms,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Subtitle *string `protobuf:"bytes,3,opt,name=subtitle,proto3,oneof" json:"subtitle,omitempty"` - FadeInMs *int64 `protobuf:"varint,4,opt,name=fade_in_ms,json=fadeInMs,proto3,oneof" json:"fade_in_ms,omitempty"` - DurationMs *int64 `protobuf:"varint,5,opt,name=duration_ms,json=durationMs,proto3,oneof" json:"duration_ms,omitempty"` - FadeOutMs *int64 `protobuf:"varint,6,opt,name=fade_out_ms,json=fadeOutMs,proto3,oneof" json:"fade_out_ms,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SendTitleAction) Reset() { *x = SendTitleAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendTitleAction) String() string { @@ -1196,7 +1185,7 @@ func (*SendTitleAction) ProtoMessage() {} func (x *SendTitleAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1254,21 +1243,18 @@ func (x *SendTitleAction) GetFadeOutMs() int64 { } type SendPopupAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SendPopupAction) Reset() { *x = SendPopupAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendPopupAction) String() string { @@ -1279,7 +1265,7 @@ func (*SendPopupAction) ProtoMessage() {} func (x *SendPopupAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1309,21 +1295,18 @@ func (x *SendPopupAction) GetMessage() string { } type SendTipAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SendTipAction) Reset() { *x = SendTipAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendTipAction) String() string { @@ -1334,7 +1317,7 @@ func (*SendTipAction) ProtoMessage() {} func (x *SendTipAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1364,24 +1347,21 @@ func (x *SendTipAction) GetMessage() string { } type PlaySoundAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Sound Sound `protobuf:"varint,2,opt,name=sound,proto3,enum=df.plugin.Sound" json:"sound,omitempty"` + Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3,oneof" json:"position,omitempty"` // defaults to player position if unset + Volume *float32 `protobuf:"fixed32,4,opt,name=volume,proto3,oneof" json:"volume,omitempty"` // default 1.0 + Pitch *float32 `protobuf:"fixed32,5,opt,name=pitch,proto3,oneof" json:"pitch,omitempty"` // default 1.0 unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Sound Sound `protobuf:"varint,2,opt,name=sound,proto3,enum=df.plugin.Sound" json:"sound,omitempty"` - Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3,oneof" json:"position,omitempty"` // defaults to player position if unset - Volume *float32 `protobuf:"fixed32,4,opt,name=volume,proto3,oneof" json:"volume,omitempty"` // default 1.0 - Pitch *float32 `protobuf:"fixed32,5,opt,name=pitch,proto3,oneof" json:"pitch,omitempty"` // default 1.0 + sizeCache protoimpl.SizeCache } func (x *PlaySoundAction) Reset() { *x = PlaySoundAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlaySoundAction) String() string { @@ -1392,7 +1372,7 @@ func (*PlaySoundAction) ProtoMessage() {} func (x *PlaySoundAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1444,21 +1424,18 @@ func (x *PlaySoundAction) GetPitch() float32 { // Commands type ExecuteCommandAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // without leading slash unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // without leading slash + sizeCache protoimpl.SizeCache } func (x *ExecuteCommandAction) Reset() { *x = ExecuteCommandAction{} - if protoimpl.UnsafeEnabled { - mi := &file_actions_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_actions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExecuteCommandAction) String() string { @@ -1469,7 +1446,7 @@ func (*ExecuteCommandAction) ProtoMessage() {} func (x *ExecuteCommandAction) ProtoReflect() protoreflect.Message { mi := &file_actions_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1500,256 +1477,163 @@ func (x *ExecuteCommandAction) GetCommand() string { var File_actions_proto protoreflect.FileDescriptor -var file_actions_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x09, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xba, 0x09, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x2a, 0x0a, 0x0e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x09, 0x73, - 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x43, - 0x68, 0x61, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x6e, - 0x64, 0x43, 0x68, 0x61, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x54, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2b, - 0x0a, 0x04, 0x6b, 0x69, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4b, 0x69, 0x63, 0x6b, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6b, 0x69, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0d, 0x73, - 0x65, 0x74, 0x5f, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, - 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, - 0x38, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, - 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, - 0x08, 0x67, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x6c, 0x65, - 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, - 0x6c, 0x65, 0x61, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x49, 0x6e, 0x76, 0x65, - 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x0d, 0x73, 0x65, 0x74, 0x5f, 0x68, 0x65, 0x6c, - 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x64, - 0x49, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, - 0x74, 0x48, 0x65, 0x6c, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x65, 0x74, - 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x74, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x5f, 0x66, 0x6f, - 0x6f, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x6f, 0x6f, 0x64, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x74, 0x46, 0x6f, 0x6f, 0x64, 0x12, 0x47, 0x0a, - 0x0e, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x65, 0x74, 0x45, 0x78, 0x70, 0x65, - 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x76, 0x65, - 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x56, 0x65, 0x6c, 0x6f, - 0x63, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, - 0x74, 0x56, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x64, 0x64, - 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x61, 0x64, 0x64, - 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x44, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, - 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x0a, - 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x6e, - 0x64, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, - 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x65, 0x6e, - 0x64, 0x5f, 0x70, 0x6f, 0x70, 0x75, 0x70, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x6f, - 0x70, 0x75, 0x70, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x6e, - 0x64, 0x50, 0x6f, 0x70, 0x75, 0x70, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, - 0x69, 0x70, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x70, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x70, 0x12, 0x3b, 0x0a, - 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x2b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, - 0x61, 0x79, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, - 0x09, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x65, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x32, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x43, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x42, 0x11, - 0x0a, 0x0f, 0x5f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x22, 0x4b, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8b, - 0x01, 0x0a, 0x0e, 0x54, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x2b, 0x0a, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, - 0x63, 0x33, 0x52, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x0a, - 0x4b, 0x69, 0x63, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x22, 0x66, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x6f, - 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x09, 0x67, 0x61, 0x6d, - 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x6f, 0x64, - 0x65, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x5b, 0x0a, 0x0e, 0x47, - 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x28, - 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, - 0x63, 0x6b, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x37, 0x0a, 0x14, 0x43, 0x6c, 0x65, 0x61, - 0x72, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, - 0x64, 0x22, 0xad, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x64, 0x49, 0x74, 0x65, - 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x6d, 0x61, 0x69, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, - 0x6d, 0x61, 0x69, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x07, 0x6f, 0x66, 0x66, 0x68, 0x61, - 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x01, - 0x52, 0x07, 0x6f, 0x66, 0x66, 0x68, 0x61, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6f, 0x66, 0x66, 0x68, 0x61, 0x6e, - 0x64, 0x22, 0x7d, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, - 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x22, 0x0a, - 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x01, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x88, 0x01, - 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x22, 0x44, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x6f, 0x6f, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6f, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x66, 0x6f, 0x6f, 0x64, 0x22, 0xb1, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x45, 0x78, - 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, - 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, - 0x19, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, - 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x72, - 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x08, - 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x48, 0x02, 0x52, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x65, 0x76, - 0x65, 0x6c, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, - 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x61, 0x0a, 0x11, 0x53, 0x65, - 0x74, 0x56, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, - 0x12, 0x2b, 0x0a, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, - 0x65, 0x63, 0x33, 0x52, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x22, 0xc8, 0x01, - 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x36, 0x0a, 0x0b, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, - 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, - 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, - 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x68, 0x6f, 0x77, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x22, 0x6d, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, - 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, - 0x36, 0x0a, 0x0b, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x93, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, - 0x54, 0x69, 0x74, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, - 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x0a, 0x66, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x08, 0x66, 0x61, 0x64, 0x65, 0x49, - 0x6e, 0x4d, 0x73, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52, 0x0a, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0b, - 0x66, 0x61, 0x64, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x03, 0x48, 0x03, 0x52, 0x09, 0x66, 0x61, 0x64, 0x65, 0x4f, 0x75, 0x74, 0x4d, 0x73, 0x88, 0x01, - 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x66, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, 0x73, 0x42, 0x0e, 0x0a, - 0x0c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x42, 0x0e, 0x0a, - 0x0c, 0x5f, 0x66, 0x61, 0x64, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x22, 0x4c, 0x0a, - 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x6f, 0x70, 0x75, 0x70, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x53, - 0x65, 0x6e, 0x64, 0x54, 0x69, 0x70, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xe6, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, - 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x05, - 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x05, 0x73, - 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x48, 0x00, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x02, 0x48, 0x02, 0x52, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x88, 0x01, 0x01, 0x42, 0x0b, - 0x0a, 0x09, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x69, 0x74, 0x63, 0x68, - 0x22, 0x51, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x42, 0x8b, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x0c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x65, 0x63, 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, - 0x03, 0x44, 0x50, 0x58, 0xaa, 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0xca, 0x02, 0x09, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, - 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_actions_proto_rawDesc = "" + + "\n" + + "\ractions.proto\x12\tdf.plugin\x1a\fcommon.proto\":\n" + + "\vActionBatch\x12+\n" + + "\aactions\x18\x01 \x03(\v2\x11.df.plugin.ActionR\aactions\"\xba\t\n" + + "\x06Action\x12*\n" + + "\x0ecorrelation_id\x18\x01 \x01(\tH\x01R\rcorrelationId\x88\x01\x01\x128\n" + + "\tsend_chat\x18\n" + + " \x01(\v2\x19.df.plugin.SendChatActionH\x00R\bsendChat\x127\n" + + "\bteleport\x18\v \x01(\v2\x19.df.plugin.TeleportActionH\x00R\bteleport\x12+\n" + + "\x04kick\x18\f \x01(\v2\x15.df.plugin.KickActionH\x00R\x04kick\x12B\n" + + "\rset_game_mode\x18\r \x01(\v2\x1c.df.plugin.SetGameModeActionH\x00R\vsetGameMode\x128\n" + + "\tgive_item\x18\x0e \x01(\v2\x19.df.plugin.GiveItemActionH\x00R\bgiveItem\x12J\n" + + "\x0fclear_inventory\x18\x0f \x01(\v2\x1f.df.plugin.ClearInventoryActionH\x00R\x0eclearInventory\x12B\n" + + "\rset_held_item\x18\x10 \x01(\v2\x1c.df.plugin.SetHeldItemActionH\x00R\vsetHeldItem\x12;\n" + + "\n" + + "set_health\x18\x14 \x01(\v2\x1a.df.plugin.SetHealthActionH\x00R\tsetHealth\x125\n" + + "\bset_food\x18\x15 \x01(\v2\x18.df.plugin.SetFoodActionH\x00R\asetFood\x12G\n" + + "\x0eset_experience\x18\x16 \x01(\v2\x1e.df.plugin.SetExperienceActionH\x00R\rsetExperience\x12A\n" + + "\fset_velocity\x18\x17 \x01(\v2\x1c.df.plugin.SetVelocityActionH\x00R\vsetVelocity\x12;\n" + + "\n" + + "add_effect\x18\x1e \x01(\v2\x1a.df.plugin.AddEffectActionH\x00R\taddEffect\x12D\n" + + "\rremove_effect\x18\x1f \x01(\v2\x1d.df.plugin.RemoveEffectActionH\x00R\fremoveEffect\x12;\n" + + "\n" + + "send_title\x18( \x01(\v2\x1a.df.plugin.SendTitleActionH\x00R\tsendTitle\x12;\n" + + "\n" + + "send_popup\x18) \x01(\v2\x1a.df.plugin.SendPopupActionH\x00R\tsendPopup\x125\n" + + "\bsend_tip\x18* \x01(\v2\x18.df.plugin.SendTipActionH\x00R\asendTip\x12;\n" + + "\n" + + "play_sound\x18+ \x01(\v2\x1a.df.plugin.PlaySoundActionH\x00R\tplaySound\x12J\n" + + "\x0fexecute_command\x182 \x01(\v2\x1f.df.plugin.ExecuteCommandActionH\x00R\x0eexecuteCommandB\x06\n" + + "\x04kindB\x11\n" + + "\x0f_correlation_id\"K\n" + + "\x0eSendChatAction\x12\x1f\n" + + "\vtarget_uuid\x18\x01 \x01(\tR\n" + + "targetUuid\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"\x8b\x01\n" + + "\x0eTeleportAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12+\n" + + "\bposition\x18\x02 \x01(\v2\x0f.df.plugin.Vec3R\bposition\x12+\n" + + "\brotation\x18\x03 \x01(\v2\x0f.df.plugin.Vec3R\brotation\"E\n" + + "\n" + + "KickAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x16\n" + + "\x06reason\x18\x02 \x01(\tR\x06reason\"f\n" + + "\x11SetGameModeAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x120\n" + + "\tgame_mode\x18\x02 \x01(\x0e2\x13.df.plugin.GameModeR\bgameMode\"[\n" + + "\x0eGiveItemAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12(\n" + + "\x04item\x18\x02 \x01(\v2\x14.df.plugin.ItemStackR\x04item\"7\n" + + "\x14ClearInventoryAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\"\xad\x01\n" + + "\x11SetHeldItemAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12-\n" + + "\x04main\x18\x02 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04main\x88\x01\x01\x123\n" + + "\aoffhand\x18\x03 \x01(\v2\x14.df.plugin.ItemStackH\x01R\aoffhand\x88\x01\x01B\a\n" + + "\x05_mainB\n" + + "\n" + + "\b_offhand\"}\n" + + "\x0fSetHealthAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x16\n" + + "\x06health\x18\x02 \x01(\x01R\x06health\x12\"\n" + + "\n" + + "max_health\x18\x03 \x01(\x01H\x00R\tmaxHealth\x88\x01\x01B\r\n" + + "\v_max_health\"D\n" + + "\rSetFoodAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04food\x18\x02 \x01(\x05R\x04food\"\xb1\x01\n" + + "\x13SetExperienceAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x19\n" + + "\x05level\x18\x02 \x01(\x05H\x00R\x05level\x88\x01\x01\x12\x1f\n" + + "\bprogress\x18\x03 \x01(\x02H\x01R\bprogress\x88\x01\x01\x12\x1b\n" + + "\x06amount\x18\x04 \x01(\x05H\x02R\x06amount\x88\x01\x01B\b\n" + + "\x06_levelB\v\n" + + "\t_progressB\t\n" + + "\a_amount\"a\n" + + "\x11SetVelocityAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12+\n" + + "\bvelocity\x18\x02 \x01(\v2\x0f.df.plugin.Vec3R\bvelocity\"\xc8\x01\n" + + "\x0fAddEffectAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x126\n" + + "\veffect_type\x18\x02 \x01(\x0e2\x15.df.plugin.EffectTypeR\n" + + "effectType\x12\x14\n" + + "\x05level\x18\x03 \x01(\x05R\x05level\x12\x1f\n" + + "\vduration_ms\x18\x04 \x01(\x03R\n" + + "durationMs\x12%\n" + + "\x0eshow_particles\x18\x05 \x01(\bR\rshowParticles\"m\n" + + "\x12RemoveEffectAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x126\n" + + "\veffect_type\x18\x02 \x01(\x0e2\x15.df.plugin.EffectTypeR\n" + + "effectType\"\x93\x02\n" + + "\x0fSendTitleAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x14\n" + + "\x05title\x18\x02 \x01(\tR\x05title\x12\x1f\n" + + "\bsubtitle\x18\x03 \x01(\tH\x00R\bsubtitle\x88\x01\x01\x12!\n" + + "\n" + + "fade_in_ms\x18\x04 \x01(\x03H\x01R\bfadeInMs\x88\x01\x01\x12$\n" + + "\vduration_ms\x18\x05 \x01(\x03H\x02R\n" + + "durationMs\x88\x01\x01\x12#\n" + + "\vfade_out_ms\x18\x06 \x01(\x03H\x03R\tfadeOutMs\x88\x01\x01B\v\n" + + "\t_subtitleB\r\n" + + "\v_fade_in_msB\x0e\n" + + "\f_duration_msB\x0e\n" + + "\f_fade_out_ms\"L\n" + + "\x0fSendPopupAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"J\n" + + "\rSendTipAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"\xe6\x01\n" + + "\x0fPlaySoundAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12&\n" + + "\x05sound\x18\x02 \x01(\x0e2\x10.df.plugin.SoundR\x05sound\x120\n" + + "\bposition\x18\x03 \x01(\v2\x0f.df.plugin.Vec3H\x00R\bposition\x88\x01\x01\x12\x1b\n" + + "\x06volume\x18\x04 \x01(\x02H\x01R\x06volume\x88\x01\x01\x12\x19\n" + + "\x05pitch\x18\x05 \x01(\x02H\x02R\x05pitch\x88\x01\x01B\v\n" + + "\t_positionB\t\n" + + "\a_volumeB\b\n" + + "\x06_pitch\"Q\n" + + "\x14ExecuteCommandAction\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x18\n" + + "\acommand\x18\x02 \x01(\tR\acommandB\x8b\x01\n" + + "\rcom.df.pluginB\fActionsProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_actions_proto_rawDescOnce sync.Once - file_actions_proto_rawDescData = file_actions_proto_rawDesc + file_actions_proto_rawDescData []byte ) func file_actions_proto_rawDescGZIP() []byte { file_actions_proto_rawDescOnce.Do(func() { - file_actions_proto_rawDescData = protoimpl.X.CompressGZIP(file_actions_proto_rawDescData) + file_actions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_actions_proto_rawDesc), len(file_actions_proto_rawDesc))) }) return file_actions_proto_rawDescData } var file_actions_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_actions_proto_goTypes = []interface{}{ +var file_actions_proto_goTypes = []any{ (*ActionBatch)(nil), // 0: df.plugin.ActionBatch (*Action)(nil), // 1: df.plugin.Action (*SendChatAction)(nil), // 2: df.plugin.SendChatAction @@ -1820,249 +1704,7 @@ func file_actions_proto_init() { return } file_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_actions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionBatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Action); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TeleportAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KickAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetGameModeAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GiveItemAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearInventoryAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetHeldItemAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetHealthAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFoodAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetExperienceAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetVelocityAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddEffectAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveEffectAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendTitleAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPopupAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendTipAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlaySoundAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_actions_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteCommandAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_actions_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_actions_proto_msgTypes[1].OneofWrappers = []any{ (*Action_SendChat)(nil), (*Action_Teleport)(nil), (*Action_Kick)(nil), @@ -2082,16 +1724,16 @@ func file_actions_proto_init() { (*Action_PlaySound)(nil), (*Action_ExecuteCommand)(nil), } - file_actions_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_actions_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_actions_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_actions_proto_msgTypes[15].OneofWrappers = []interface{}{} - file_actions_proto_msgTypes[18].OneofWrappers = []interface{}{} + file_actions_proto_msgTypes[8].OneofWrappers = []any{} + file_actions_proto_msgTypes[9].OneofWrappers = []any{} + file_actions_proto_msgTypes[11].OneofWrappers = []any{} + file_actions_proto_msgTypes[15].OneofWrappers = []any{} + file_actions_proto_msgTypes[18].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_actions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_actions_proto_rawDesc), len(file_actions_proto_rawDesc)), NumEnums: 0, NumMessages: 20, NumExtensions: 0, @@ -2102,7 +1744,6 @@ func file_actions_proto_init() { MessageInfos: file_actions_proto_msgTypes, }.Build() File_actions_proto = out.File - file_actions_proto_rawDesc = nil file_actions_proto_goTypes = nil file_actions_proto_depIdxs = nil } diff --git a/proto/generated/command.pb.go b/proto/generated/command.pb.go index d806d65..4600f4a 100644 --- a/proto/generated/command.pb.go +++ b/proto/generated/command.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: command.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -81,27 +82,24 @@ func (ParamType) EnumDescriptor() ([]byte, []int) { // Parameter specification for a command. type ParamSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type ParamType `protobuf:"varint,2,opt,name=type,proto3,enum=df.plugin.ParamType" json:"type,omitempty"` - Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Type ParamType `protobuf:"varint,2,opt,name=type,proto3,enum=df.plugin.ParamType" json:"type,omitempty"` + Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` // Optional suffix as supported by Go cmd tags (e.g., units) Suffix string `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"` // Optional list of enum values to present in the client UI. // When set, the parameter is shown as an enum selector regardless of ParamType. - EnumValues []string `protobuf:"bytes,5,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"` + EnumValues []string `protobuf:"bytes,5,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParamSpec) Reset() { *x = ParamSpec{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_command_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParamSpec) String() string { @@ -112,7 +110,7 @@ func (*ParamSpec) ProtoMessage() {} func (x *ParamSpec) ProtoReflect() protoreflect.Message { mi := &file_command_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,23 +162,20 @@ func (x *ParamSpec) GetEnumValues() []string { // Command specification announced by a plugin during handshake. type CommandSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` + Params []*ParamSpec `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` - Params []*ParamSpec `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CommandSpec) Reset() { *x = CommandSpec{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_command_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CommandSpec) String() string { @@ -191,7 +186,7 @@ func (*CommandSpec) ProtoMessage() {} func (x *CommandSpec) ProtoReflect() protoreflect.Message { mi := &file_command_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -236,24 +231,21 @@ func (x *CommandSpec) GetParams() []*ParamSpec { // Player command execution event. type CommandEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Raw string `protobuf:"bytes,3,opt,name=raw,proto3" json:"raw,omitempty"` // Full command string like "/tp 100 64 200" + Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` // Just the command name like "tp" + Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // Parsed arguments like ["100", "64", "200"] unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Raw string `protobuf:"bytes,3,opt,name=raw,proto3" json:"raw,omitempty"` // Full command string like "/tp 100 64 200" - Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` // Just the command name like "tp" - Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // Parsed arguments like ["100", "64", "200"] + sizeCache protoimpl.SizeCache } func (x *CommandEvent) Reset() { *x = CommandEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_command_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CommandEvent) String() string { @@ -264,7 +256,7 @@ func (*CommandEvent) ProtoMessage() {} func (x *CommandEvent) ProtoReflect() protoreflect.Message { mi := &file_command_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -316,70 +308,55 @@ func (x *CommandEvent) GetArgs() []string { var File_command_proto protoreflect.FileDescriptor -var file_command_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x09, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x22, 0x9e, 0x01, 0x0a, 0x09, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, - 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0b, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x53, 0x70, 0x65, - 0x63, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x0c, 0x43, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x61, - 0x77, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, - 0x72, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x2a, - 0x70, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, - 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0d, - 0x0a, 0x09, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, - 0x0b, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0e, - 0x0a, 0x0a, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x03, 0x12, 0x11, - 0x0a, 0x0d, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x56, 0x41, 0x52, 0x41, 0x52, 0x47, 0x53, 0x10, - 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, - 0x05, 0x42, 0x8b, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x42, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x73, 0x65, 0x63, 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, 0x03, 0x44, - 0x50, 0x58, 0xaa, 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, - 0x09, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, 0x66, 0x5c, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_command_proto_rawDesc = "" + + "\n" + + "\rcommand.proto\x12\tdf.plugin\"\x9e\x01\n" + + "\tParamSpec\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12(\n" + + "\x04type\x18\x02 \x01(\x0e2\x14.df.plugin.ParamTypeR\x04type\x12\x1a\n" + + "\boptional\x18\x03 \x01(\bR\boptional\x12\x16\n" + + "\x06suffix\x18\x04 \x01(\tR\x06suffix\x12\x1f\n" + + "\venum_values\x18\x05 \x03(\tR\n" + + "enumValues\"\x8b\x01\n" + + "\vCommandSpec\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12 \n" + + "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x18\n" + + "\aaliases\x18\x03 \x03(\tR\aaliases\x12,\n" + + "\x06params\x18\x04 \x03(\v2\x14.df.plugin.ParamSpecR\x06params\"\x83\x01\n" + + "\fCommandEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x10\n" + + "\x03raw\x18\x03 \x01(\tR\x03raw\x12\x18\n" + + "\acommand\x18\x04 \x01(\tR\acommand\x12\x12\n" + + "\x04args\x18\x05 \x03(\tR\x04args*p\n" + + "\tParamType\x12\x10\n" + + "\fPARAM_STRING\x10\x00\x12\r\n" + + "\tPARAM_INT\x10\x01\x12\x0f\n" + + "\vPARAM_FLOAT\x10\x02\x12\x0e\n" + + "\n" + + "PARAM_BOOL\x10\x03\x12\x11\n" + + "\rPARAM_VARARGS\x10\x04\x12\x0e\n" + + "\n" + + "PARAM_ENUM\x10\x05B\x8b\x01\n" + + "\rcom.df.pluginB\fCommandProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_command_proto_rawDescOnce sync.Once - file_command_proto_rawDescData = file_command_proto_rawDesc + file_command_proto_rawDescData []byte ) func file_command_proto_rawDescGZIP() []byte { file_command_proto_rawDescOnce.Do(func() { - file_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_command_proto_rawDescData) + file_command_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc))) }) return file_command_proto_rawDescData } var file_command_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_command_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_command_proto_goTypes = []interface{}{ +var file_command_proto_goTypes = []any{ (ParamType)(0), // 0: df.plugin.ParamType (*ParamSpec)(nil), // 1: df.plugin.ParamSpec (*CommandSpec)(nil), // 2: df.plugin.CommandSpec @@ -400,49 +377,11 @@ func file_command_proto_init() { if File_command_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParamSpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommandSpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommandEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_command_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc)), NumEnums: 1, NumMessages: 3, NumExtensions: 0, @@ -454,7 +393,6 @@ func file_command_proto_init() { MessageInfos: file_command_proto_msgTypes, }.Build() File_command_proto = out.File - file_command_proto_rawDesc = nil file_command_proto_goTypes = nil file_command_proto_depIdxs = nil } diff --git a/proto/generated/common.pb.go b/proto/generated/common.pb.go index e8e19a1..8802bb4 100644 --- a/proto/generated/common.pb.go +++ b/proto/generated/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: common.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -362,22 +363,19 @@ func (ItemCategory) EnumDescriptor() ([]byte, []int) { } type Vec3 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` + Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` + Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` unknownFields protoimpl.UnknownFields - - X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` - Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` - Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Vec3) Reset() { *x = Vec3{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Vec3) String() string { @@ -388,7 +386,7 @@ func (*Vec3) ProtoMessage() {} func (x *Vec3) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -425,21 +423,18 @@ func (x *Vec3) GetZ() float64 { } type Rotation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Yaw float32 `protobuf:"fixed32,1,opt,name=yaw,proto3" json:"yaw,omitempty"` + Pitch float32 `protobuf:"fixed32,2,opt,name=pitch,proto3" json:"pitch,omitempty"` unknownFields protoimpl.UnknownFields - - Yaw float32 `protobuf:"fixed32,1,opt,name=yaw,proto3" json:"yaw,omitempty"` - Pitch float32 `protobuf:"fixed32,2,opt,name=pitch,proto3" json:"pitch,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Rotation) Reset() { *x = Rotation{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Rotation) String() string { @@ -450,7 +445,7 @@ func (*Rotation) ProtoMessage() {} func (x *Rotation) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -480,22 +475,19 @@ func (x *Rotation) GetPitch() float32 { } type BlockPos struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` + Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockPos) Reset() { *x = BlockPos{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockPos) String() string { @@ -506,7 +498,7 @@ func (*BlockPos) ProtoMessage() {} func (x *BlockPos) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -543,22 +535,19 @@ func (x *BlockPos) GetZ() int32 { } type ItemStack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Meta int32 `protobuf:"varint,2,opt,name=meta,proto3" json:"meta,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Meta int32 `protobuf:"varint,2,opt,name=meta,proto3" json:"meta,omitempty"` - Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ItemStack) Reset() { *x = ItemStack{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ItemStack) String() string { @@ -569,7 +558,7 @@ func (*ItemStack) ProtoMessage() {} func (x *ItemStack) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -606,21 +595,18 @@ func (x *ItemStack) GetCount() int32 { } type BlockState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *BlockState) Reset() { *x = BlockState{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockState) String() string { @@ -631,7 +617,7 @@ func (*BlockState) ProtoMessage() {} func (x *BlockState) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -661,23 +647,20 @@ func (x *BlockState) GetProperties() map[string]string { } type LiquidState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Block *BlockState `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` + Falling bool `protobuf:"varint,3,opt,name=falling,proto3" json:"falling,omitempty"` + LiquidType string `protobuf:"bytes,4,opt,name=liquid_type,json=liquidType,proto3" json:"liquid_type,omitempty"` unknownFields protoimpl.UnknownFields - - Block *BlockState `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` - Falling bool `protobuf:"varint,3,opt,name=falling,proto3" json:"falling,omitempty"` - LiquidType string `protobuf:"bytes,4,opt,name=liquid_type,json=liquidType,proto3" json:"liquid_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LiquidState) Reset() { *x = LiquidState{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LiquidState) String() string { @@ -688,7 +671,7 @@ func (*LiquidState) ProtoMessage() {} func (x *LiquidState) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,21 +715,18 @@ func (x *LiquidState) GetLiquidType() string { } type WorldRef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldRef) Reset() { *x = WorldRef{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldRef) String() string { @@ -757,7 +737,7 @@ func (*WorldRef) ProtoMessage() {} func (x *WorldRef) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -787,24 +767,21 @@ func (x *WorldRef) GetDimension() string { } type EntityRef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` + Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3,oneof" json:"position,omitempty"` + Rotation *Rotation `protobuf:"bytes,5,opt,name=rotation,proto3,oneof" json:"rotation,omitempty"` unknownFields protoimpl.UnknownFields - - Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3,oneof" json:"position,omitempty"` - Rotation *Rotation `protobuf:"bytes,5,opt,name=rotation,proto3,oneof" json:"rotation,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EntityRef) Reset() { *x = EntityRef{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntityRef) String() string { @@ -815,7 +792,7 @@ func (*EntityRef) ProtoMessage() {} func (x *EntityRef) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -866,21 +843,18 @@ func (x *EntityRef) GetRotation() *Rotation { } type DamageSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DamageSource) Reset() { *x = DamageSource{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DamageSource) String() string { @@ -891,7 +865,7 @@ func (*DamageSource) ProtoMessage() {} func (x *DamageSource) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -921,21 +895,18 @@ func (x *DamageSource) GetDescription() string { } type HealingSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HealingSource) Reset() { *x = HealingSource{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealingSource) String() string { @@ -946,7 +917,7 @@ func (*HealingSource) ProtoMessage() {} func (x *HealingSource) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -976,21 +947,18 @@ func (x *HealingSource) GetDescription() string { } type Address struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` unknownFields protoimpl.UnknownFields - - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Address) Reset() { *x = Address{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Address) String() string { @@ -1001,7 +969,7 @@ func (*Address) ProtoMessage() {} func (x *Address) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1033,25 +1001,22 @@ func (x *Address) GetPort() int32 { // CustomItemDefinition defines a custom (non-vanilla) item that requires // a resource pack and client-side registration type CustomItemDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the custom item (e.g., "my_plugin:custom_sword") + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Display name shown to players + TextureData []byte `protobuf:"bytes,3,opt,name=texture_data,json=textureData,proto3" json:"texture_data,omitempty"` // Texture data encoded as PNG bytes + Category ItemCategory `protobuf:"varint,4,opt,name=category,proto3,enum=df.plugin.ItemCategory" json:"category,omitempty"` // Creative inventory category + Group *string `protobuf:"bytes,5,opt,name=group,proto3,oneof" json:"group,omitempty"` // Optional subgroup within the category (e.g., "sword", "pickaxe", "food") + Meta int32 `protobuf:"varint,6,opt,name=meta,proto3" json:"meta,omitempty"` // Metadata value for this item (defaults to 0) unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the custom item (e.g., "my_plugin:custom_sword") - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Display name shown to players - TextureData []byte `protobuf:"bytes,3,opt,name=texture_data,json=textureData,proto3" json:"texture_data,omitempty"` // Texture data encoded as PNG bytes - Category ItemCategory `protobuf:"varint,4,opt,name=category,proto3,enum=df.plugin.ItemCategory" json:"category,omitempty"` // Creative inventory category - Group *string `protobuf:"bytes,5,opt,name=group,proto3,oneof" json:"group,omitempty"` // Optional subgroup within the category (e.g., "sword", "pickaxe", "food") - Meta int32 `protobuf:"varint,6,opt,name=meta,proto3" json:"meta,omitempty"` // Metadata value for this item (defaults to 0) + sizeCache protoimpl.SizeCache } func (x *CustomItemDefinition) Reset() { *x = CustomItemDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_common_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CustomItemDefinition) String() string { @@ -1062,7 +1027,7 @@ func (*CustomItemDefinition) ProtoMessage() {} func (x *CustomItemDefinition) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1121,179 +1086,166 @@ func (x *CustomItemDefinition) GetMeta() int32 { var File_common_proto protoreflect.FileDescriptor -var file_common_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x22, 0x30, 0x0a, 0x04, 0x56, 0x65, 0x63, - 0x33, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x01, 0x78, 0x12, - 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, - 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x01, 0x7a, 0x22, 0x32, 0x0a, 0x08, 0x52, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x79, 0x61, 0x77, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x79, 0x61, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x69, 0x74, - 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x22, - 0x34, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x12, 0x0c, 0x0a, 0x01, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x01, 0x7a, 0x22, 0x49, 0x0a, 0x09, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, - 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0xa6, 0x01, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, - 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8b, 0x01, 0x0a, 0x0b, 0x4c, 0x69, - 0x71, 0x75, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, - 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x71, - 0x75, 0x69, 0x64, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3c, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6c, 0x64, - 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x6d, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x6d, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xd7, 0x01, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x48, 0x01, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x02, 0x52, - 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x59, 0x0a, 0x0c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5a, 0x0a, 0x0d, 0x48, 0x65, - 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x14, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, - 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x65, 0x78, - 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, - 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, - 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x42, 0x08, 0x0a, 0x06, - 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2a, 0x44, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x6f, - 0x64, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x55, 0x52, 0x56, 0x49, 0x56, 0x41, 0x4c, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x44, 0x56, 0x45, 0x4e, 0x54, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, - 0x09, 0x53, 0x50, 0x45, 0x43, 0x54, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x03, 0x2a, 0xe2, 0x03, 0x0a, - 0x0a, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x45, - 0x46, 0x46, 0x45, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4c, - 0x4f, 0x57, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x41, 0x53, 0x54, - 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x41, - 0x54, 0x49, 0x47, 0x55, 0x45, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x52, 0x45, 0x4e, - 0x47, 0x54, 0x48, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x54, - 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x53, - 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x44, 0x41, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x07, 0x12, 0x0e, 0x0a, - 0x0a, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x42, 0x4f, 0x4f, 0x53, 0x54, 0x10, 0x08, 0x12, 0x0a, 0x0a, - 0x06, 0x4e, 0x41, 0x55, 0x53, 0x45, 0x41, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x47, - 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x52, - 0x45, 0x53, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x0b, 0x12, 0x13, 0x0a, 0x0f, 0x46, - 0x49, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x0c, - 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x54, 0x48, - 0x49, 0x4e, 0x47, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x49, 0x53, 0x49, 0x42, - 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x49, 0x4e, 0x44, - 0x4e, 0x45, 0x53, 0x53, 0x10, 0x0f, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x49, 0x47, 0x48, 0x54, 0x5f, - 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x55, 0x4e, 0x47, - 0x45, 0x52, 0x10, 0x11, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x45, 0x41, 0x4b, 0x4e, 0x45, 0x53, 0x53, - 0x10, 0x12, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4f, 0x49, 0x53, 0x4f, 0x4e, 0x10, 0x13, 0x12, 0x0a, - 0x0a, 0x06, 0x57, 0x49, 0x54, 0x48, 0x45, 0x52, 0x10, 0x14, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x45, - 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x42, 0x4f, 0x4f, 0x53, 0x54, 0x10, 0x15, 0x12, 0x0e, 0x0a, 0x0a, - 0x41, 0x42, 0x53, 0x4f, 0x52, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, - 0x53, 0x41, 0x54, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x17, 0x12, 0x0e, 0x0a, 0x0a, - 0x4c, 0x45, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x18, 0x12, 0x10, 0x0a, 0x0c, - 0x46, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x49, 0x53, 0x4f, 0x4e, 0x10, 0x19, 0x12, 0x11, - 0x0a, 0x0d, 0x43, 0x4f, 0x4e, 0x44, 0x55, 0x49, 0x54, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, - 0x1a, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x4c, 0x4f, 0x57, 0x5f, 0x46, 0x41, 0x4c, 0x4c, 0x49, 0x4e, - 0x47, 0x10, 0x1b, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x52, 0x4b, 0x4e, 0x45, 0x53, 0x53, 0x10, - 0x1e, 0x2a, 0xcd, 0x02, 0x0a, 0x05, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x11, 0x0a, 0x0d, 0x53, - 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, - 0x0a, 0x06, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, - 0x4f, 0x57, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x55, 0x52, 0x4e, - 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x4c, 0x4c, 0x10, 0x04, 0x12, - 0x08, 0x0a, 0x04, 0x42, 0x55, 0x52, 0x50, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x50, - 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x58, 0x50, 0x4c, 0x4f, 0x53, 0x49, 0x4f, 0x4e, 0x10, - 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x48, 0x55, 0x4e, 0x44, 0x45, 0x52, 0x10, 0x08, 0x12, 0x0c, - 0x0a, 0x08, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x50, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, - 0x45, 0x58, 0x50, 0x45, 0x52, 0x49, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, - 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, 0x10, - 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x48, 0x55, - 0x47, 0x45, 0x5f, 0x42, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, - 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x42, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x0d, 0x12, 0x14, - 0x0a, 0x10, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x54, 0x57, 0x49, 0x4e, 0x4b, - 0x4c, 0x45, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x45, 0x4c, 0x45, 0x50, 0x4f, 0x52, 0x54, - 0x10, 0x0f, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x52, 0x52, 0x4f, 0x57, 0x5f, 0x48, 0x49, 0x54, 0x10, - 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x10, - 0x11, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x54, 0x48, 0x52, 0x4f, 0x57, 0x10, - 0x12, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 0x54, 0x45, 0x4d, 0x10, 0x13, 0x12, 0x13, 0x0a, 0x0f, - 0x46, 0x49, 0x52, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x49, 0x4e, 0x47, 0x55, 0x49, 0x53, 0x48, 0x10, - 0x14, 0x2a, 0x7e, 0x0a, 0x0c, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, - 0x79, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, - 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x00, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, - 0x52, 0x59, 0x5f, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x49, - 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x45, 0x51, 0x55, - 0x49, 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x54, 0x45, 0x4d, - 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x53, 0x10, - 0x03, 0x42, 0x8a, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, - 0x65, 0x63, 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, 0x03, 0x44, 0x50, - 0x58, 0xaa, 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, 0x09, - 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, 0x66, 0x5c, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_common_proto_rawDesc = "" + + "\n" + + "\fcommon.proto\x12\tdf.plugin\"0\n" + + "\x04Vec3\x12\f\n" + + "\x01x\x18\x01 \x01(\x01R\x01x\x12\f\n" + + "\x01y\x18\x02 \x01(\x01R\x01y\x12\f\n" + + "\x01z\x18\x03 \x01(\x01R\x01z\"2\n" + + "\bRotation\x12\x10\n" + + "\x03yaw\x18\x01 \x01(\x02R\x03yaw\x12\x14\n" + + "\x05pitch\x18\x02 \x01(\x02R\x05pitch\"4\n" + + "\bBlockPos\x12\f\n" + + "\x01x\x18\x01 \x01(\x05R\x01x\x12\f\n" + + "\x01y\x18\x02 \x01(\x05R\x01y\x12\f\n" + + "\x01z\x18\x03 \x01(\x05R\x01z\"I\n" + + "\tItemStack\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + + "\x04meta\x18\x02 \x01(\x05R\x04meta\x12\x14\n" + + "\x05count\x18\x03 \x01(\x05R\x05count\"\xa6\x01\n" + + "\n" + + "BlockState\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12E\n" + + "\n" + + "properties\x18\x02 \x03(\v2%.df.plugin.BlockState.PropertiesEntryR\n" + + "properties\x1a=\n" + + "\x0fPropertiesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8b\x01\n" + + "\vLiquidState\x12+\n" + + "\x05block\x18\x01 \x01(\v2\x15.df.plugin.BlockStateR\x05block\x12\x14\n" + + "\x05depth\x18\x02 \x01(\x05R\x05depth\x12\x18\n" + + "\afalling\x18\x03 \x01(\bR\afalling\x12\x1f\n" + + "\vliquid_type\x18\x04 \x01(\tR\n" + + "liquidType\"<\n" + + "\bWorldRef\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n" + + "\tdimension\x18\x02 \x01(\tR\tdimension\"\xd7\x01\n" + + "\tEntityRef\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x12\n" + + "\x04type\x18\x02 \x01(\tR\x04type\x12\x17\n" + + "\x04name\x18\x03 \x01(\tH\x00R\x04name\x88\x01\x01\x120\n" + + "\bposition\x18\x04 \x01(\v2\x0f.df.plugin.Vec3H\x01R\bposition\x88\x01\x01\x124\n" + + "\brotation\x18\x05 \x01(\v2\x13.df.plugin.RotationH\x02R\brotation\x88\x01\x01B\a\n" + + "\x05_nameB\v\n" + + "\t_positionB\v\n" + + "\t_rotation\"Y\n" + + "\fDamageSource\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12%\n" + + "\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01B\x0e\n" + + "\f_description\"Z\n" + + "\rHealingSource\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12%\n" + + "\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01B\x0e\n" + + "\f_description\"1\n" + + "\aAddress\x12\x12\n" + + "\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n" + + "\x04port\x18\x02 \x01(\x05R\x04port\"\xda\x01\n" + + "\x14CustomItemDefinition\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\x12!\n" + + "\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12!\n" + + "\ftexture_data\x18\x03 \x01(\fR\vtextureData\x123\n" + + "\bcategory\x18\x04 \x01(\x0e2\x17.df.plugin.ItemCategoryR\bcategory\x12\x19\n" + + "\x05group\x18\x05 \x01(\tH\x00R\x05group\x88\x01\x01\x12\x12\n" + + "\x04meta\x18\x06 \x01(\x05R\x04metaB\b\n" + + "\x06_group*D\n" + + "\bGameMode\x12\f\n" + + "\bSURVIVAL\x10\x00\x12\f\n" + + "\bCREATIVE\x10\x01\x12\r\n" + + "\tADVENTURE\x10\x02\x12\r\n" + + "\tSPECTATOR\x10\x03*\xe2\x03\n" + + "\n" + + "EffectType\x12\x12\n" + + "\x0eEFFECT_UNKNOWN\x10\x00\x12\t\n" + + "\x05SPEED\x10\x01\x12\f\n" + + "\bSLOWNESS\x10\x02\x12\t\n" + + "\x05HASTE\x10\x03\x12\x12\n" + + "\x0eMINING_FATIGUE\x10\x04\x12\f\n" + + "\bSTRENGTH\x10\x05\x12\x12\n" + + "\x0eINSTANT_HEALTH\x10\x06\x12\x12\n" + + "\x0eINSTANT_DAMAGE\x10\a\x12\x0e\n" + + "\n" + + "JUMP_BOOST\x10\b\x12\n" + + "\n" + + "\x06NAUSEA\x10\t\x12\x10\n" + + "\fREGENERATION\x10\n" + + "\x12\x0e\n" + + "\n" + + "RESISTANCE\x10\v\x12\x13\n" + + "\x0fFIRE_RESISTANCE\x10\f\x12\x13\n" + + "\x0fWATER_BREATHING\x10\r\x12\x10\n" + + "\fINVISIBILITY\x10\x0e\x12\r\n" + + "\tBLINDNESS\x10\x0f\x12\x10\n" + + "\fNIGHT_VISION\x10\x10\x12\n" + + "\n" + + "\x06HUNGER\x10\x11\x12\f\n" + + "\bWEAKNESS\x10\x12\x12\n" + + "\n" + + "\x06POISON\x10\x13\x12\n" + + "\n" + + "\x06WITHER\x10\x14\x12\x10\n" + + "\fHEALTH_BOOST\x10\x15\x12\x0e\n" + + "\n" + + "ABSORPTION\x10\x16\x12\x0e\n" + + "\n" + + "SATURATION\x10\x17\x12\x0e\n" + + "\n" + + "LEVITATION\x10\x18\x12\x10\n" + + "\fFATAL_POISON\x10\x19\x12\x11\n" + + "\rCONDUIT_POWER\x10\x1a\x12\x10\n" + + "\fSLOW_FALLING\x10\x1b\x12\f\n" + + "\bDARKNESS\x10\x1e*\xcd\x02\n" + + "\x05Sound\x12\x11\n" + + "\rSOUND_UNKNOWN\x10\x00\x12\n" + + "\n" + + "\x06ATTACK\x10\x01\x12\f\n" + + "\bDROWNING\x10\x02\x12\v\n" + + "\aBURNING\x10\x03\x12\b\n" + + "\x04FALL\x10\x04\x12\b\n" + + "\x04BURP\x10\x05\x12\a\n" + + "\x03POP\x10\x06\x12\r\n" + + "\tEXPLOSION\x10\a\x12\v\n" + + "\aTHUNDER\x10\b\x12\f\n" + + "\bLEVEL_UP\x10\t\x12\x0e\n" + + "\n" + + "EXPERIENCE\x10\n" + + "\x12\x13\n" + + "\x0fFIREWORK_LAUNCH\x10\v\x12\x17\n" + + "\x13FIREWORK_HUGE_BLAST\x10\f\x12\x12\n" + + "\x0eFIREWORK_BLAST\x10\r\x12\x14\n" + + "\x10FIREWORK_TWINKLE\x10\x0e\x12\f\n" + + "\bTELEPORT\x10\x0f\x12\r\n" + + "\tARROW_HIT\x10\x10\x12\x0e\n" + + "\n" + + "ITEM_BREAK\x10\x11\x12\x0e\n" + + "\n" + + "ITEM_THROW\x10\x12\x12\t\n" + + "\x05TOTEM\x10\x13\x12\x13\n" + + "\x0fFIRE_EXTINGUISH\x10\x14*~\n" + + "\fItemCategory\x12\x1e\n" + + "\x1aITEM_CATEGORY_CONSTRUCTION\x10\x00\x12\x18\n" + + "\x14ITEM_CATEGORY_NATURE\x10\x01\x12\x1b\n" + + "\x17ITEM_CATEGORY_EQUIPMENT\x10\x02\x12\x17\n" + + "\x13ITEM_CATEGORY_ITEMS\x10\x03B\x8a\x01\n" + + "\rcom.df.pluginB\vCommonProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_common_proto_rawDescOnce sync.Once - file_common_proto_rawDescData = file_common_proto_rawDesc + file_common_proto_rawDescData []byte ) func file_common_proto_rawDescGZIP() []byte { file_common_proto_rawDescOnce.Do(func() { - file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData) + file_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc))) }) return file_common_proto_rawDescData } var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_common_proto_goTypes = []interface{}{ +var file_common_proto_goTypes = []any{ (GameMode)(0), // 0: df.plugin.GameMode (EffectType)(0), // 1: df.plugin.EffectType (Sound)(0), // 2: df.plugin.Sound @@ -1330,161 +1282,15 @@ func file_common_proto_init() { if File_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Vec3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rotation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockPos); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ItemStack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiquidState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EntityRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DamageSource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealingSource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Address); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomItemDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_common_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_common_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_common_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_common_proto_msgTypes[11].OneofWrappers = []interface{}{} + file_common_proto_msgTypes[7].OneofWrappers = []any{} + file_common_proto_msgTypes[8].OneofWrappers = []any{} + file_common_proto_msgTypes[9].OneofWrappers = []any{} + file_common_proto_msgTypes[11].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_common_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)), NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -1496,7 +1302,6 @@ func file_common_proto_init() { MessageInfos: file_common_proto_msgTypes, }.Build() File_common_proto = out.File - file_common_proto_rawDesc = nil file_common_proto_goTypes = nil file_common_proto_depIdxs = nil } diff --git a/proto/generated/cpp/actions.pb.cc b/proto/generated/cpp/actions.pb.cc index 06df3c7..c244ac6 100644 --- a/proto/generated/cpp/actions.pb.cc +++ b/proto/generated/cpp/actions.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: actions.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "actions.pb.h" diff --git a/proto/generated/cpp/actions.pb.h b/proto/generated/cpp/actions.pb.h index aae0a0a..c546397 100644 --- a/proto/generated/cpp/actions.pb.h +++ b/proto/generated/cpp/actions.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: actions.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef actions_2eproto_2epb_2eh #define actions_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/command.pb.cc b/proto/generated/cpp/command.pb.cc index 67b4c76..6e7708f 100644 --- a/proto/generated/cpp/command.pb.cc +++ b/proto/generated/cpp/command.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: command.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "command.pb.h" diff --git a/proto/generated/cpp/command.pb.h b/proto/generated/cpp/command.pb.h index 8c9df76..20e450e 100644 --- a/proto/generated/cpp/command.pb.h +++ b/proto/generated/cpp/command.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: command.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef command_2eproto_2epb_2eh #define command_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/common.pb.cc b/proto/generated/cpp/common.pb.cc index 35cb4b1..36af735 100644 --- a/proto/generated/cpp/common.pb.cc +++ b/proto/generated/cpp/common.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: common.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "common.pb.h" diff --git a/proto/generated/cpp/common.pb.h b/proto/generated/cpp/common.pb.h index 918f05f..cba1dd3 100644 --- a/proto/generated/cpp/common.pb.h +++ b/proto/generated/cpp/common.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: common.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef common_2eproto_2epb_2eh #define common_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/mutations.pb.cc b/proto/generated/cpp/mutations.pb.cc index 3dff8ab..9bc920a 100644 --- a/proto/generated/cpp/mutations.pb.cc +++ b/proto/generated/cpp/mutations.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: mutations.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "mutations.pb.h" diff --git a/proto/generated/cpp/mutations.pb.h b/proto/generated/cpp/mutations.pb.h index cdb761d..8dfdd22 100644 --- a/proto/generated/cpp/mutations.pb.h +++ b/proto/generated/cpp/mutations.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: mutations.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef mutations_2eproto_2epb_2eh #define mutations_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/player_events.pb.cc b/proto/generated/cpp/player_events.pb.cc index 6ecbc11..1d43b98 100644 --- a/proto/generated/cpp/player_events.pb.cc +++ b/proto/generated/cpp/player_events.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: player_events.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "player_events.pb.h" diff --git a/proto/generated/cpp/player_events.pb.h b/proto/generated/cpp/player_events.pb.h index 46cce51..4a4e250 100644 --- a/proto/generated/cpp/player_events.pb.h +++ b/proto/generated/cpp/player_events.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: player_events.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef player_5fevents_2eproto_2epb_2eh #define player_5fevents_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/plugin.pb.cc b/proto/generated/cpp/plugin.pb.cc index 0db3a8c..4c77dff 100644 --- a/proto/generated/cpp/plugin.pb.cc +++ b/proto/generated/cpp/plugin.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: plugin.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "plugin.pb.h" diff --git a/proto/generated/cpp/plugin.pb.h b/proto/generated/cpp/plugin.pb.h index 38d316b..75964a4 100644 --- a/proto/generated/cpp/plugin.pb.h +++ b/proto/generated/cpp/plugin.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: plugin.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef plugin_2eproto_2epb_2eh #define plugin_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/cpp/world_events.pb.cc b/proto/generated/cpp/world_events.pb.cc index 6661d6a..7299711 100644 --- a/proto/generated/cpp/world_events.pb.cc +++ b/proto/generated/cpp/world_events.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: world_events.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #include "world_events.pb.h" diff --git a/proto/generated/cpp/world_events.pb.h b/proto/generated/cpp/world_events.pb.h index 098af9e..fb94ad9 100644 --- a/proto/generated/cpp/world_events.pb.h +++ b/proto/generated/cpp/world_events.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: world_events.proto -// Protobuf C++ Version: 6.33.0 +// Protobuf C++ Version: 6.33.1 #ifndef world_5fevents_2eproto_2epb_2eh #define world_5fevents_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 6033000 +#if PROTOBUF_VERSION != 6033001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" diff --git a/proto/generated/mutations.pb.go b/proto/generated/mutations.pb.go index 8ce8014..f1c5768 100644 --- a/proto/generated/mutations.pb.go +++ b/proto/generated/mutations.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: mutations.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,13 +22,10 @@ const ( ) type EventResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - Cancel *bool `protobuf:"varint,2,opt,name=cancel,proto3,oneof" json:"cancel,omitempty"` - // Types that are assignable to Update: + state protoimpl.MessageState `protogen:"open.v1"` + EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + Cancel *bool `protobuf:"varint,2,opt,name=cancel,proto3,oneof" json:"cancel,omitempty"` + // Types that are valid to be assigned to Update: // // *EventResult_Chat // *EventResult_BlockBreak @@ -42,16 +40,16 @@ type EventResult struct { // *EventResult_PlayerItemPickup // *EventResult_PlayerTransfer // *EventResult_WorldExplosion - Update isEventResult_Update `protobuf_oneof:"update"` + Update isEventResult_Update `protobuf_oneof:"update"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventResult) Reset() { *x = EventResult{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventResult) String() string { @@ -62,7 +60,7 @@ func (*EventResult) ProtoMessage() {} func (x *EventResult) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,100 +89,126 @@ func (x *EventResult) GetCancel() bool { return false } -func (m *EventResult) GetUpdate() isEventResult_Update { - if m != nil { - return m.Update +func (x *EventResult) GetUpdate() isEventResult_Update { + if x != nil { + return x.Update } return nil } func (x *EventResult) GetChat() *ChatMutation { - if x, ok := x.GetUpdate().(*EventResult_Chat); ok { - return x.Chat + if x != nil { + if x, ok := x.Update.(*EventResult_Chat); ok { + return x.Chat + } } return nil } func (x *EventResult) GetBlockBreak() *BlockBreakMutation { - if x, ok := x.GetUpdate().(*EventResult_BlockBreak); ok { - return x.BlockBreak + if x != nil { + if x, ok := x.Update.(*EventResult_BlockBreak); ok { + return x.BlockBreak + } } return nil } func (x *EventResult) GetPlayerFoodLoss() *PlayerFoodLossMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerFoodLoss); ok { - return x.PlayerFoodLoss + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerFoodLoss); ok { + return x.PlayerFoodLoss + } } return nil } func (x *EventResult) GetPlayerHeal() *PlayerHealMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerHeal); ok { - return x.PlayerHeal + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerHeal); ok { + return x.PlayerHeal + } } return nil } func (x *EventResult) GetPlayerHurt() *PlayerHurtMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerHurt); ok { - return x.PlayerHurt + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerHurt); ok { + return x.PlayerHurt + } } return nil } func (x *EventResult) GetPlayerDeath() *PlayerDeathMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerDeath); ok { - return x.PlayerDeath + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerDeath); ok { + return x.PlayerDeath + } } return nil } func (x *EventResult) GetPlayerRespawn() *PlayerRespawnMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerRespawn); ok { - return x.PlayerRespawn + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerRespawn); ok { + return x.PlayerRespawn + } } return nil } func (x *EventResult) GetPlayerAttackEntity() *PlayerAttackEntityMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerAttackEntity); ok { - return x.PlayerAttackEntity + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerAttackEntity); ok { + return x.PlayerAttackEntity + } } return nil } func (x *EventResult) GetPlayerExperienceGain() *PlayerExperienceGainMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerExperienceGain); ok { - return x.PlayerExperienceGain + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerExperienceGain); ok { + return x.PlayerExperienceGain + } } return nil } func (x *EventResult) GetPlayerLecternPageTurn() *PlayerLecternPageTurnMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerLecternPageTurn); ok { - return x.PlayerLecternPageTurn + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerLecternPageTurn); ok { + return x.PlayerLecternPageTurn + } } return nil } func (x *EventResult) GetPlayerItemPickup() *PlayerItemPickupMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerItemPickup); ok { - return x.PlayerItemPickup + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerItemPickup); ok { + return x.PlayerItemPickup + } } return nil } func (x *EventResult) GetPlayerTransfer() *PlayerTransferMutation { - if x, ok := x.GetUpdate().(*EventResult_PlayerTransfer); ok { - return x.PlayerTransfer + if x != nil { + if x, ok := x.Update.(*EventResult_PlayerTransfer); ok { + return x.PlayerTransfer + } } return nil } func (x *EventResult) GetWorldExplosion() *WorldExplosionMutation { - if x, ok := x.GetUpdate().(*EventResult_WorldExplosion); ok { - return x.WorldExplosion + if x != nil { + if x, ok := x.Update.(*EventResult_WorldExplosion); ok { + return x.WorldExplosion + } } return nil } @@ -273,20 +297,17 @@ func (*EventResult_WorldExplosion) isEventResult_Update() {} // Wrapper messages for repeated fields to allow detecting "not set" vs "empty" type ItemStackList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*ItemStack `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*ItemStack `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ItemStackList) Reset() { *x = ItemStackList{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ItemStackList) String() string { @@ -297,7 +318,7 @@ func (*ItemStackList) ProtoMessage() {} func (x *ItemStackList) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -320,20 +341,17 @@ func (x *ItemStackList) GetItems() []*ItemStack { } type StringList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StringList) Reset() { *x = StringList{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringList) String() string { @@ -344,7 +362,7 @@ func (*StringList) ProtoMessage() {} func (x *StringList) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -367,20 +385,17 @@ func (x *StringList) GetValues() []string { } type BlockPosList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Positions []*BlockPos `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"` unknownFields protoimpl.UnknownFields - - Positions []*BlockPos `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockPosList) Reset() { *x = BlockPosList{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockPosList) String() string { @@ -391,7 +406,7 @@ func (*BlockPosList) ProtoMessage() {} func (x *BlockPosList) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -414,20 +429,17 @@ func (x *BlockPosList) GetPositions() []*BlockPos { } type ChatMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message *string `protobuf:"bytes,1,opt,name=message,proto3,oneof" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message *string `protobuf:"bytes,1,opt,name=message,proto3,oneof" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChatMutation) Reset() { *x = ChatMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChatMutation) String() string { @@ -438,7 +450,7 @@ func (*ChatMutation) ProtoMessage() {} func (x *ChatMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -461,21 +473,18 @@ func (x *ChatMutation) GetMessage() string { } type BlockBreakMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Drops *ItemStackList `protobuf:"bytes,1,opt,name=drops,proto3,oneof" json:"drops,omitempty"` + Xp *int32 `protobuf:"varint,2,opt,name=xp,proto3,oneof" json:"xp,omitempty"` unknownFields protoimpl.UnknownFields - - Drops *ItemStackList `protobuf:"bytes,1,opt,name=drops,proto3,oneof" json:"drops,omitempty"` - Xp *int32 `protobuf:"varint,2,opt,name=xp,proto3,oneof" json:"xp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockBreakMutation) Reset() { *x = BlockBreakMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockBreakMutation) String() string { @@ -486,7 +495,7 @@ func (*BlockBreakMutation) ProtoMessage() {} func (x *BlockBreakMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -516,20 +525,17 @@ func (x *BlockBreakMutation) GetXp() int32 { } type PlayerFoodLossMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + To *int32 `protobuf:"varint,1,opt,name=to,proto3,oneof" json:"to,omitempty"` unknownFields protoimpl.UnknownFields - - To *int32 `protobuf:"varint,1,opt,name=to,proto3,oneof" json:"to,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerFoodLossMutation) Reset() { *x = PlayerFoodLossMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerFoodLossMutation) String() string { @@ -540,7 +546,7 @@ func (*PlayerFoodLossMutation) ProtoMessage() {} func (x *PlayerFoodLossMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -563,20 +569,17 @@ func (x *PlayerFoodLossMutation) GetTo() int32 { } type PlayerHealMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Amount *float64 `protobuf:"fixed64,1,opt,name=amount,proto3,oneof" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - Amount *float64 `protobuf:"fixed64,1,opt,name=amount,proto3,oneof" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerHealMutation) Reset() { *x = PlayerHealMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerHealMutation) String() string { @@ -587,7 +590,7 @@ func (*PlayerHealMutation) ProtoMessage() {} func (x *PlayerHealMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -610,21 +613,18 @@ func (x *PlayerHealMutation) GetAmount() float64 { } type PlayerHurtMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Damage *float64 `protobuf:"fixed64,1,opt,name=damage,proto3,oneof" json:"damage,omitempty"` - AttackImmunityMs *int64 `protobuf:"varint,2,opt,name=attack_immunity_ms,json=attackImmunityMs,proto3,oneof" json:"attack_immunity_ms,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Damage *float64 `protobuf:"fixed64,1,opt,name=damage,proto3,oneof" json:"damage,omitempty"` + AttackImmunityMs *int64 `protobuf:"varint,2,opt,name=attack_immunity_ms,json=attackImmunityMs,proto3,oneof" json:"attack_immunity_ms,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PlayerHurtMutation) Reset() { *x = PlayerHurtMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerHurtMutation) String() string { @@ -635,7 +635,7 @@ func (*PlayerHurtMutation) ProtoMessage() {} func (x *PlayerHurtMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -665,20 +665,17 @@ func (x *PlayerHurtMutation) GetAttackImmunityMs() int64 { } type PlayerDeathMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + KeepInventory *bool `protobuf:"varint,1,opt,name=keep_inventory,json=keepInventory,proto3,oneof" json:"keep_inventory,omitempty"` unknownFields protoimpl.UnknownFields - - KeepInventory *bool `protobuf:"varint,1,opt,name=keep_inventory,json=keepInventory,proto3,oneof" json:"keep_inventory,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerDeathMutation) Reset() { *x = PlayerDeathMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerDeathMutation) String() string { @@ -689,7 +686,7 @@ func (*PlayerDeathMutation) ProtoMessage() {} func (x *PlayerDeathMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -712,21 +709,18 @@ func (x *PlayerDeathMutation) GetKeepInventory() bool { } type PlayerRespawnMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Position *Vec3 `protobuf:"bytes,1,opt,name=position,proto3,oneof" json:"position,omitempty"` + World *WorldRef `protobuf:"bytes,2,opt,name=world,proto3,oneof" json:"world,omitempty"` unknownFields protoimpl.UnknownFields - - Position *Vec3 `protobuf:"bytes,1,opt,name=position,proto3,oneof" json:"position,omitempty"` - World *WorldRef `protobuf:"bytes,2,opt,name=world,proto3,oneof" json:"world,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerRespawnMutation) Reset() { *x = PlayerRespawnMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerRespawnMutation) String() string { @@ -737,7 +731,7 @@ func (*PlayerRespawnMutation) ProtoMessage() {} func (x *PlayerRespawnMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -767,22 +761,19 @@ func (x *PlayerRespawnMutation) GetWorld() *WorldRef { } type PlayerAttackEntityMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Force *float64 `protobuf:"fixed64,1,opt,name=force,proto3,oneof" json:"force,omitempty"` + Height *float64 `protobuf:"fixed64,2,opt,name=height,proto3,oneof" json:"height,omitempty"` + Critical *bool `protobuf:"varint,3,opt,name=critical,proto3,oneof" json:"critical,omitempty"` unknownFields protoimpl.UnknownFields - - Force *float64 `protobuf:"fixed64,1,opt,name=force,proto3,oneof" json:"force,omitempty"` - Height *float64 `protobuf:"fixed64,2,opt,name=height,proto3,oneof" json:"height,omitempty"` - Critical *bool `protobuf:"varint,3,opt,name=critical,proto3,oneof" json:"critical,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerAttackEntityMutation) Reset() { *x = PlayerAttackEntityMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerAttackEntityMutation) String() string { @@ -793,7 +784,7 @@ func (*PlayerAttackEntityMutation) ProtoMessage() {} func (x *PlayerAttackEntityMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,20 +821,17 @@ func (x *PlayerAttackEntityMutation) GetCritical() bool { } type PlayerExperienceGainMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Amount *int32 `protobuf:"varint,1,opt,name=amount,proto3,oneof" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - Amount *int32 `protobuf:"varint,1,opt,name=amount,proto3,oneof" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerExperienceGainMutation) Reset() { *x = PlayerExperienceGainMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerExperienceGainMutation) String() string { @@ -854,7 +842,7 @@ func (*PlayerExperienceGainMutation) ProtoMessage() {} func (x *PlayerExperienceGainMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -877,20 +865,17 @@ func (x *PlayerExperienceGainMutation) GetAmount() int32 { } type PlayerLecternPageTurnMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NewPage *int32 `protobuf:"varint,1,opt,name=new_page,json=newPage,proto3,oneof" json:"new_page,omitempty"` unknownFields protoimpl.UnknownFields - - NewPage *int32 `protobuf:"varint,1,opt,name=new_page,json=newPage,proto3,oneof" json:"new_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerLecternPageTurnMutation) Reset() { *x = PlayerLecternPageTurnMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerLecternPageTurnMutation) String() string { @@ -901,7 +886,7 @@ func (*PlayerLecternPageTurnMutation) ProtoMessage() {} func (x *PlayerLecternPageTurnMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -924,20 +909,17 @@ func (x *PlayerLecternPageTurnMutation) GetNewPage() int32 { } type PlayerItemPickupMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Item *ItemStack `protobuf:"bytes,1,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - Item *ItemStack `protobuf:"bytes,1,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemPickupMutation) Reset() { *x = PlayerItemPickupMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemPickupMutation) String() string { @@ -948,7 +930,7 @@ func (*PlayerItemPickupMutation) ProtoMessage() {} func (x *PlayerItemPickupMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -971,20 +953,17 @@ func (x *PlayerItemPickupMutation) GetItem() *ItemStack { } type PlayerTransferMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address *Address `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"` unknownFields protoimpl.UnknownFields - - Address *Address `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerTransferMutation) Reset() { *x = PlayerTransferMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerTransferMutation) String() string { @@ -995,7 +974,7 @@ func (*PlayerTransferMutation) ProtoMessage() {} func (x *PlayerTransferMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1018,23 +997,20 @@ func (x *PlayerTransferMutation) GetAddress() *Address { } type WorldExplosionMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EntityUuids *StringList `protobuf:"bytes,1,opt,name=entity_uuids,json=entityUuids,proto3,oneof" json:"entity_uuids,omitempty"` - Blocks *BlockPosList `protobuf:"bytes,2,opt,name=blocks,proto3,oneof" json:"blocks,omitempty"` - ItemDropChance *float64 `protobuf:"fixed64,3,opt,name=item_drop_chance,json=itemDropChance,proto3,oneof" json:"item_drop_chance,omitempty"` - SpawnFire *bool `protobuf:"varint,4,opt,name=spawn_fire,json=spawnFire,proto3,oneof" json:"spawn_fire,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EntityUuids *StringList `protobuf:"bytes,1,opt,name=entity_uuids,json=entityUuids,proto3,oneof" json:"entity_uuids,omitempty"` + Blocks *BlockPosList `protobuf:"bytes,2,opt,name=blocks,proto3,oneof" json:"blocks,omitempty"` + ItemDropChance *float64 `protobuf:"fixed64,3,opt,name=item_drop_chance,json=itemDropChance,proto3,oneof" json:"item_drop_chance,omitempty"` + SpawnFire *bool `protobuf:"varint,4,opt,name=spawn_fire,json=spawnFire,proto3,oneof" json:"spawn_fire,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorldExplosionMutation) Reset() { *x = WorldExplosionMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_mutations_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mutations_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldExplosionMutation) String() string { @@ -1045,7 +1021,7 @@ func (*WorldExplosionMutation) ProtoMessage() {} func (x *WorldExplosionMutation) ProtoReflect() protoreflect.Message { mi := &file_mutations_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1090,204 +1066,113 @@ func (x *WorldExplosionMutation) GetSpawnFire() bool { var File_mutations_proto protoreflect.FileDescriptor -var file_mutations_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x09, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x1a, 0x0d, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x08, 0x0a, 0x0b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x88, 0x01, - 0x01, 0x12, 0x2d, 0x0a, 0x04, 0x63, 0x68, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, - 0x12, 0x40, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x4d, 0x75, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x12, 0x4d, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x6f, - 0x64, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, - 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, 0x73, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, - 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x68, 0x65, 0x61, 0x6c, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x4d, 0x75, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, - 0x65, 0x61, 0x6c, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x68, 0x75, - 0x72, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x75, 0x72, 0x74, 0x4d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x48, 0x75, 0x72, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, - 0x64, 0x65, 0x61, 0x74, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, - 0x61, 0x74, 0x68, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x61, 0x74, 0x68, 0x12, 0x49, 0x0a, 0x0e, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x4d, 0x75, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x61, 0x77, 0x6e, 0x12, 0x59, 0x0a, 0x14, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, - 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x5f, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, - 0x69, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x67, 0x61, 0x69, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x47, 0x61, 0x69, - 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x47, 0x61, 0x69, - 0x6e, 0x12, 0x63, 0x0a, 0x18, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x72, 0x6e, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x13, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, 0x50, 0x61, 0x67, - 0x65, 0x54, 0x75, 0x72, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, - 0x15, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x75, 0x72, 0x6e, 0x12, 0x53, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x14, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x4d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x15, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x0f, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, - 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x75, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, - 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x22, 0x3b, 0x0a, 0x0d, - 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, - 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, - 0x63, 0x6b, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x24, 0x0a, 0x0a, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, - 0x41, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x31, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x39, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6f, 0x0a, - 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x4d, 0x75, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x05, 0x64, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, - 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, - 0x64, 0x72, 0x6f, 0x70, 0x73, 0x88, 0x01, 0x01, 0x12, 0x13, 0x0a, 0x02, 0x78, 0x70, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x02, 0x78, 0x70, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, - 0x06, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x73, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x78, 0x70, 0x22, 0x34, - 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, 0x73, - 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x02, 0x74, 0x6f, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, - 0x03, 0x5f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, - 0x61, 0x6c, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x75, 0x72, - 0x74, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x64, 0x61, 0x6d, - 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x06, 0x64, 0x61, 0x6d, - 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, - 0x5f, 0x69, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x48, 0x01, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x49, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x61, - 0x6d, 0x61, 0x67, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, - 0x69, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x73, 0x22, 0x54, 0x0a, 0x13, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x61, 0x74, 0x68, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x6b, 0x65, - 0x65, 0x70, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x42, 0x11, - 0x0a, 0x0f, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, - 0x79, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x61, 0x77, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x48, 0x00, - 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, - 0x66, 0x48, 0x01, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, - 0x09, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, - 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x75, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x01, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1b, - 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x63, - 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, - 0x08, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, - 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x46, - 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, - 0x63, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, - 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, - 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x4c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x54, 0x75, 0x72, 0x6e, 0x4d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x6e, 0x65, 0x77, - 0x50, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x65, 0x77, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, - 0x65, 0x6d, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, - 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x57, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0xa0, 0x02, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, 0x70, 0x6c, 0x6f, - 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x55, 0x75, 0x69, 0x64, 0x73, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, - 0x4c, 0x69, 0x73, 0x74, 0x48, 0x01, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x88, 0x01, - 0x01, 0x12, 0x2d, 0x0a, 0x10, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, - 0x68, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x02, 0x52, 0x0e, 0x69, - 0x74, 0x65, 0x6d, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x46, 0x69, 0x72, - 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, - 0x75, 0x75, 0x69, 0x64, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, - 0x68, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, - 0x66, 0x69, 0x72, 0x65, 0x42, 0x8d, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x0e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x63, 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x64, 0xa2, 0x02, 0x03, 0x44, 0x50, 0x58, 0xaa, 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0xca, 0x02, 0x09, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, - 0x02, 0x15, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_mutations_proto_rawDesc = "" + + "\n" + + "\x0fmutations.proto\x12\tdf.plugin\x1a\ractions.proto\x1a\fcommon.proto\"\xc0\b\n" + + "\vEventResult\x12\x19\n" + + "\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x1b\n" + + "\x06cancel\x18\x02 \x01(\bH\x01R\x06cancel\x88\x01\x01\x12-\n" + + "\x04chat\x18\n" + + " \x01(\v2\x17.df.plugin.ChatMutationH\x00R\x04chat\x12@\n" + + "\vblock_break\x18\v \x01(\v2\x1d.df.plugin.BlockBreakMutationH\x00R\n" + + "blockBreak\x12M\n" + + "\x10player_food_loss\x18\f \x01(\v2!.df.plugin.PlayerFoodLossMutationH\x00R\x0eplayerFoodLoss\x12@\n" + + "\vplayer_heal\x18\r \x01(\v2\x1d.df.plugin.PlayerHealMutationH\x00R\n" + + "playerHeal\x12@\n" + + "\vplayer_hurt\x18\x0e \x01(\v2\x1d.df.plugin.PlayerHurtMutationH\x00R\n" + + "playerHurt\x12C\n" + + "\fplayer_death\x18\x0f \x01(\v2\x1e.df.plugin.PlayerDeathMutationH\x00R\vplayerDeath\x12I\n" + + "\x0eplayer_respawn\x18\x10 \x01(\v2 .df.plugin.PlayerRespawnMutationH\x00R\rplayerRespawn\x12Y\n" + + "\x14player_attack_entity\x18\x11 \x01(\v2%.df.plugin.PlayerAttackEntityMutationH\x00R\x12playerAttackEntity\x12_\n" + + "\x16player_experience_gain\x18\x12 \x01(\v2'.df.plugin.PlayerExperienceGainMutationH\x00R\x14playerExperienceGain\x12c\n" + + "\x18player_lectern_page_turn\x18\x13 \x01(\v2(.df.plugin.PlayerLecternPageTurnMutationH\x00R\x15playerLecternPageTurn\x12S\n" + + "\x12player_item_pickup\x18\x14 \x01(\v2#.df.plugin.PlayerItemPickupMutationH\x00R\x10playerItemPickup\x12L\n" + + "\x0fplayer_transfer\x18\x15 \x01(\v2!.df.plugin.PlayerTransferMutationH\x00R\x0eplayerTransfer\x12L\n" + + "\x0fworld_explosion\x18\x1e \x01(\v2!.df.plugin.WorldExplosionMutationH\x00R\x0eworldExplosionB\b\n" + + "\x06updateB\t\n" + + "\a_cancel\";\n" + + "\rItemStackList\x12*\n" + + "\x05items\x18\x01 \x03(\v2\x14.df.plugin.ItemStackR\x05items\"$\n" + + "\n" + + "StringList\x12\x16\n" + + "\x06values\x18\x01 \x03(\tR\x06values\"A\n" + + "\fBlockPosList\x121\n" + + "\tpositions\x18\x01 \x03(\v2\x13.df.plugin.BlockPosR\tpositions\"9\n" + + "\fChatMutation\x12\x1d\n" + + "\amessage\x18\x01 \x01(\tH\x00R\amessage\x88\x01\x01B\n" + + "\n" + + "\b_message\"o\n" + + "\x12BlockBreakMutation\x123\n" + + "\x05drops\x18\x01 \x01(\v2\x18.df.plugin.ItemStackListH\x00R\x05drops\x88\x01\x01\x12\x13\n" + + "\x02xp\x18\x02 \x01(\x05H\x01R\x02xp\x88\x01\x01B\b\n" + + "\x06_dropsB\x05\n" + + "\x03_xp\"4\n" + + "\x16PlayerFoodLossMutation\x12\x13\n" + + "\x02to\x18\x01 \x01(\x05H\x00R\x02to\x88\x01\x01B\x05\n" + + "\x03_to\"<\n" + + "\x12PlayerHealMutation\x12\x1b\n" + + "\x06amount\x18\x01 \x01(\x01H\x00R\x06amount\x88\x01\x01B\t\n" + + "\a_amount\"\x86\x01\n" + + "\x12PlayerHurtMutation\x12\x1b\n" + + "\x06damage\x18\x01 \x01(\x01H\x00R\x06damage\x88\x01\x01\x121\n" + + "\x12attack_immunity_ms\x18\x02 \x01(\x03H\x01R\x10attackImmunityMs\x88\x01\x01B\t\n" + + "\a_damageB\x15\n" + + "\x13_attack_immunity_ms\"T\n" + + "\x13PlayerDeathMutation\x12*\n" + + "\x0ekeep_inventory\x18\x01 \x01(\bH\x00R\rkeepInventory\x88\x01\x01B\x11\n" + + "\x0f_keep_inventory\"\x90\x01\n" + + "\x15PlayerRespawnMutation\x120\n" + + "\bposition\x18\x01 \x01(\v2\x0f.df.plugin.Vec3H\x00R\bposition\x88\x01\x01\x12.\n" + + "\x05world\x18\x02 \x01(\v2\x13.df.plugin.WorldRefH\x01R\x05world\x88\x01\x01B\v\n" + + "\t_positionB\b\n" + + "\x06_world\"\x97\x01\n" + + "\x1aPlayerAttackEntityMutation\x12\x19\n" + + "\x05force\x18\x01 \x01(\x01H\x00R\x05force\x88\x01\x01\x12\x1b\n" + + "\x06height\x18\x02 \x01(\x01H\x01R\x06height\x88\x01\x01\x12\x1f\n" + + "\bcritical\x18\x03 \x01(\bH\x02R\bcritical\x88\x01\x01B\b\n" + + "\x06_forceB\t\n" + + "\a_heightB\v\n" + + "\t_critical\"F\n" + + "\x1cPlayerExperienceGainMutation\x12\x1b\n" + + "\x06amount\x18\x01 \x01(\x05H\x00R\x06amount\x88\x01\x01B\t\n" + + "\a_amount\"L\n" + + "\x1dPlayerLecternPageTurnMutation\x12\x1e\n" + + "\bnew_page\x18\x01 \x01(\x05H\x00R\anewPage\x88\x01\x01B\v\n" + + "\t_new_page\"R\n" + + "\x18PlayerItemPickupMutation\x12-\n" + + "\x04item\x18\x01 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"W\n" + + "\x16PlayerTransferMutation\x121\n" + + "\aaddress\x18\x01 \x01(\v2\x12.df.plugin.AddressH\x00R\aaddress\x88\x01\x01B\n" + + "\n" + + "\b_address\"\xa0\x02\n" + + "\x16WorldExplosionMutation\x12=\n" + + "\fentity_uuids\x18\x01 \x01(\v2\x15.df.plugin.StringListH\x00R\ventityUuids\x88\x01\x01\x124\n" + + "\x06blocks\x18\x02 \x01(\v2\x17.df.plugin.BlockPosListH\x01R\x06blocks\x88\x01\x01\x12-\n" + + "\x10item_drop_chance\x18\x03 \x01(\x01H\x02R\x0eitemDropChance\x88\x01\x01\x12\"\n" + + "\n" + + "spawn_fire\x18\x04 \x01(\bH\x03R\tspawnFire\x88\x01\x01B\x0f\n" + + "\r_entity_uuidsB\t\n" + + "\a_blocksB\x13\n" + + "\x11_item_drop_chanceB\r\n" + + "\v_spawn_fireB\x8d\x01\n" + + "\rcom.df.pluginB\x0eMutationsProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_mutations_proto_rawDescOnce sync.Once - file_mutations_proto_rawDescData = file_mutations_proto_rawDesc + file_mutations_proto_rawDescData []byte ) func file_mutations_proto_rawDescGZIP() []byte { file_mutations_proto_rawDescOnce.Do(func() { - file_mutations_proto_rawDescData = protoimpl.X.CompressGZIP(file_mutations_proto_rawDescData) + file_mutations_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mutations_proto_rawDesc), len(file_mutations_proto_rawDesc))) }) return file_mutations_proto_rawDescData } var file_mutations_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_mutations_proto_goTypes = []interface{}{ +var file_mutations_proto_goTypes = []any{ (*EventResult)(nil), // 0: df.plugin.EventResult (*ItemStackList)(nil), // 1: df.plugin.ItemStackList (*StringList)(nil), // 2: df.plugin.StringList @@ -1348,213 +1233,7 @@ func file_mutations_proto_init() { } file_actions_proto_init() file_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_mutations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ItemStackList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockPosList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockBreakMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerFoodLossMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerHealMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerHurtMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerDeathMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerRespawnMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerAttackEntityMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerExperienceGainMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerLecternPageTurnMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemPickupMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerTransferMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_mutations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldExplosionMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_mutations_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_mutations_proto_msgTypes[0].OneofWrappers = []any{ (*EventResult_Chat)(nil), (*EventResult_BlockBreak)(nil), (*EventResult_PlayerFoodLoss)(nil), @@ -1569,24 +1248,24 @@ func file_mutations_proto_init() { (*EventResult_PlayerTransfer)(nil), (*EventResult_WorldExplosion)(nil), } - file_mutations_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[15].OneofWrappers = []interface{}{} - file_mutations_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_mutations_proto_msgTypes[4].OneofWrappers = []any{} + file_mutations_proto_msgTypes[5].OneofWrappers = []any{} + file_mutations_proto_msgTypes[6].OneofWrappers = []any{} + file_mutations_proto_msgTypes[7].OneofWrappers = []any{} + file_mutations_proto_msgTypes[8].OneofWrappers = []any{} + file_mutations_proto_msgTypes[9].OneofWrappers = []any{} + file_mutations_proto_msgTypes[10].OneofWrappers = []any{} + file_mutations_proto_msgTypes[11].OneofWrappers = []any{} + file_mutations_proto_msgTypes[12].OneofWrappers = []any{} + file_mutations_proto_msgTypes[13].OneofWrappers = []any{} + file_mutations_proto_msgTypes[14].OneofWrappers = []any{} + file_mutations_proto_msgTypes[15].OneofWrappers = []any{} + file_mutations_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_mutations_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_mutations_proto_rawDesc), len(file_mutations_proto_rawDesc)), NumEnums: 0, NumMessages: 17, NumExtensions: 0, @@ -1597,7 +1276,6 @@ func file_mutations_proto_init() { MessageInfos: file_mutations_proto_msgTypes, }.Build() File_mutations_proto = out.File - file_mutations_proto_rawDesc = nil file_mutations_proto_goTypes = nil file_mutations_proto_depIdxs = nil } diff --git a/proto/generated/player_events.pb.go b/proto/generated/player_events.pb.go index 4b374eb..fe2c301 100644 --- a/proto/generated/player_events.pb.go +++ b/proto/generated/player_events.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: player_events.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,21 +22,18 @@ const ( ) type PlayerJoinEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerJoinEvent) Reset() { *x = PlayerJoinEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerJoinEvent) String() string { @@ -46,7 +44,7 @@ func (*PlayerJoinEvent) ProtoMessage() {} func (x *PlayerJoinEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -76,21 +74,18 @@ func (x *PlayerJoinEvent) GetName() string { } type PlayerQuitEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerQuitEvent) Reset() { *x = PlayerQuitEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerQuitEvent) String() string { @@ -101,7 +96,7 @@ func (*PlayerQuitEvent) ProtoMessage() {} func (x *PlayerQuitEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -131,24 +126,21 @@ func (x *PlayerQuitEvent) GetName() string { } type PlayerMoveEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Rotation *Rotation `protobuf:"bytes,5,opt,name=rotation,proto3" json:"rotation,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - Rotation *Rotation `protobuf:"bytes,5,opt,name=rotation,proto3" json:"rotation,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerMoveEvent) Reset() { *x = PlayerMoveEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerMoveEvent) String() string { @@ -159,7 +151,7 @@ func (*PlayerMoveEvent) ProtoMessage() {} func (x *PlayerMoveEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -210,23 +202,20 @@ func (x *PlayerMoveEvent) GetRotation() *Rotation { } type PlayerJumpEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerJumpEvent) Reset() { *x = PlayerJumpEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerJumpEvent) String() string { @@ -237,7 +226,7 @@ func (*PlayerJumpEvent) ProtoMessage() {} func (x *PlayerJumpEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,23 +270,20 @@ func (x *PlayerJumpEvent) GetPosition() *Vec3 { } type PlayerTeleportEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerTeleportEvent) Reset() { *x = PlayerTeleportEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerTeleportEvent) String() string { @@ -308,7 +294,7 @@ func (*PlayerTeleportEvent) ProtoMessage() {} func (x *PlayerTeleportEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,23 +338,20 @@ func (x *PlayerTeleportEvent) GetPosition() *Vec3 { } type PlayerChangeWorldEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Before *WorldRef `protobuf:"bytes,3,opt,name=before,proto3,oneof" json:"before,omitempty"` + After *WorldRef `protobuf:"bytes,4,opt,name=after,proto3,oneof" json:"after,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Before *WorldRef `protobuf:"bytes,3,opt,name=before,proto3,oneof" json:"before,omitempty"` - After *WorldRef `protobuf:"bytes,4,opt,name=after,proto3,oneof" json:"after,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerChangeWorldEvent) Reset() { *x = PlayerChangeWorldEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerChangeWorldEvent) String() string { @@ -379,7 +362,7 @@ func (*PlayerChangeWorldEvent) ProtoMessage() {} func (x *PlayerChangeWorldEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,22 +406,19 @@ func (x *PlayerChangeWorldEvent) GetAfter() *WorldRef { } type PlayerToggleSprintEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + After bool `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - After bool `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerToggleSprintEvent) Reset() { *x = PlayerToggleSprintEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerToggleSprintEvent) String() string { @@ -449,7 +429,7 @@ func (*PlayerToggleSprintEvent) ProtoMessage() {} func (x *PlayerToggleSprintEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,22 +466,19 @@ func (x *PlayerToggleSprintEvent) GetAfter() bool { } type PlayerToggleSneakEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + After bool `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - After bool `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerToggleSneakEvent) Reset() { *x = PlayerToggleSneakEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerToggleSneakEvent) String() string { @@ -512,7 +489,7 @@ func (*PlayerToggleSneakEvent) ProtoMessage() {} func (x *PlayerToggleSneakEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -549,22 +526,19 @@ func (x *PlayerToggleSneakEvent) GetAfter() bool { } type ChatEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChatEvent) Reset() { *x = ChatEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChatEvent) String() string { @@ -575,7 +549,7 @@ func (*ChatEvent) ProtoMessage() {} func (x *ChatEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -612,23 +586,20 @@ func (x *ChatEvent) GetMessage() string { } type PlayerFoodLossEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + From int32 `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty"` + To int32 `protobuf:"varint,4,opt,name=to,proto3" json:"to,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - From int32 `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty"` - To int32 `protobuf:"varint,4,opt,name=to,proto3" json:"to,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerFoodLossEvent) Reset() { *x = PlayerFoodLossEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerFoodLossEvent) String() string { @@ -639,7 +610,7 @@ func (*PlayerFoodLossEvent) ProtoMessage() {} func (x *PlayerFoodLossEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -683,23 +654,20 @@ func (x *PlayerFoodLossEvent) GetTo() int32 { } type PlayerHealEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"` + Source *HealingSource `protobuf:"bytes,4,opt,name=source,proto3,oneof" json:"source,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"` - Source *HealingSource `protobuf:"bytes,4,opt,name=source,proto3,oneof" json:"source,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerHealEvent) Reset() { *x = PlayerHealEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerHealEvent) String() string { @@ -710,7 +678,7 @@ func (*PlayerHealEvent) ProtoMessage() {} func (x *PlayerHealEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -754,25 +722,22 @@ func (x *PlayerHealEvent) GetSource() *HealingSource { } type PlayerHurtEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Damage float64 `protobuf:"fixed64,3,opt,name=damage,proto3" json:"damage,omitempty"` - Immune bool `protobuf:"varint,4,opt,name=immune,proto3" json:"immune,omitempty"` - AttackImmunityMs int64 `protobuf:"varint,5,opt,name=attack_immunity_ms,json=attackImmunityMs,proto3" json:"attack_immunity_ms,omitempty"` - Source *DamageSource `protobuf:"bytes,6,opt,name=source,proto3,oneof" json:"source,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Damage float64 `protobuf:"fixed64,3,opt,name=damage,proto3" json:"damage,omitempty"` + Immune bool `protobuf:"varint,4,opt,name=immune,proto3" json:"immune,omitempty"` + AttackImmunityMs int64 `protobuf:"varint,5,opt,name=attack_immunity_ms,json=attackImmunityMs,proto3" json:"attack_immunity_ms,omitempty"` + Source *DamageSource `protobuf:"bytes,6,opt,name=source,proto3,oneof" json:"source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PlayerHurtEvent) Reset() { *x = PlayerHurtEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerHurtEvent) String() string { @@ -783,7 +748,7 @@ func (*PlayerHurtEvent) ProtoMessage() {} func (x *PlayerHurtEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -841,23 +806,20 @@ func (x *PlayerHurtEvent) GetSource() *DamageSource { } type PlayerDeathEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Source *DamageSource `protobuf:"bytes,3,opt,name=source,proto3,oneof" json:"source,omitempty"` + KeepInventory bool `protobuf:"varint,4,opt,name=keep_inventory,json=keepInventory,proto3" json:"keep_inventory,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Source *DamageSource `protobuf:"bytes,3,opt,name=source,proto3,oneof" json:"source,omitempty"` - KeepInventory bool `protobuf:"varint,4,opt,name=keep_inventory,json=keepInventory,proto3" json:"keep_inventory,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerDeathEvent) Reset() { *x = PlayerDeathEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerDeathEvent) String() string { @@ -868,7 +830,7 @@ func (*PlayerDeathEvent) ProtoMessage() {} func (x *PlayerDeathEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -912,23 +874,20 @@ func (x *PlayerDeathEvent) GetKeepInventory() bool { } type PlayerRespawnEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3,oneof" json:"position,omitempty"` + World *WorldRef `protobuf:"bytes,4,opt,name=world,proto3,oneof" json:"world,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3,oneof" json:"position,omitempty"` - World *WorldRef `protobuf:"bytes,4,opt,name=world,proto3,oneof" json:"world,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerRespawnEvent) Reset() { *x = PlayerRespawnEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerRespawnEvent) String() string { @@ -939,7 +898,7 @@ func (*PlayerRespawnEvent) ProtoMessage() {} func (x *PlayerRespawnEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,24 +942,21 @@ func (x *PlayerRespawnEvent) GetWorld() *WorldRef { } type PlayerSkinChangeEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + FullId *string `protobuf:"bytes,3,opt,name=full_id,json=fullId,proto3,oneof" json:"full_id,omitempty"` + PlayFabId *string `protobuf:"bytes,4,opt,name=play_fab_id,json=playFabId,proto3,oneof" json:"play_fab_id,omitempty"` + Persona bool `protobuf:"varint,5,opt,name=persona,proto3" json:"persona,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - FullId *string `protobuf:"bytes,3,opt,name=full_id,json=fullId,proto3,oneof" json:"full_id,omitempty"` - PlayFabId *string `protobuf:"bytes,4,opt,name=play_fab_id,json=playFabId,proto3,oneof" json:"play_fab_id,omitempty"` - Persona bool `protobuf:"varint,5,opt,name=persona,proto3" json:"persona,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerSkinChangeEvent) Reset() { *x = PlayerSkinChangeEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerSkinChangeEvent) String() string { @@ -1011,7 +967,7 @@ func (*PlayerSkinChangeEvent) ProtoMessage() {} func (x *PlayerSkinChangeEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1062,23 +1018,20 @@ func (x *PlayerSkinChangeEvent) GetPersona() bool { } type PlayerFireExtinguishEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerFireExtinguishEvent) Reset() { *x = PlayerFireExtinguishEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerFireExtinguishEvent) String() string { @@ -1089,7 +1042,7 @@ func (*PlayerFireExtinguishEvent) ProtoMessage() {} func (x *PlayerFireExtinguishEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1133,23 +1086,20 @@ func (x *PlayerFireExtinguishEvent) GetPosition() *BlockPos { } type PlayerStartBreakEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerStartBreakEvent) Reset() { *x = PlayerStartBreakEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerStartBreakEvent) String() string { @@ -1160,7 +1110,7 @@ func (*PlayerStartBreakEvent) ProtoMessage() {} func (x *PlayerStartBreakEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1204,23 +1154,20 @@ func (x *PlayerStartBreakEvent) GetPosition() *BlockPos { } type BlockBreakEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockBreakEvent) Reset() { *x = BlockBreakEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockBreakEvent) String() string { @@ -1231,7 +1178,7 @@ func (*BlockBreakEvent) ProtoMessage() {} func (x *BlockBreakEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1275,24 +1222,21 @@ func (x *BlockBreakEvent) GetPosition() *BlockPos { } type PlayerBlockPlaceEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Block *BlockState `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - Block *BlockState `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerBlockPlaceEvent) Reset() { *x = PlayerBlockPlaceEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerBlockPlaceEvent) String() string { @@ -1303,7 +1247,7 @@ func (*PlayerBlockPlaceEvent) ProtoMessage() {} func (x *PlayerBlockPlaceEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1354,24 +1298,21 @@ func (x *PlayerBlockPlaceEvent) GetBlock() *BlockState { } type PlayerBlockPickEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Block *BlockState `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - Block *BlockState `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerBlockPickEvent) Reset() { *x = PlayerBlockPickEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerBlockPickEvent) String() string { @@ -1382,7 +1323,7 @@ func (*PlayerBlockPickEvent) ProtoMessage() {} func (x *PlayerBlockPickEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1433,23 +1374,20 @@ func (x *PlayerBlockPickEvent) GetBlock() *BlockState { } type PlayerItemUseEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemUseEvent) Reset() { *x = PlayerItemUseEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemUseEvent) String() string { @@ -1460,7 +1398,7 @@ func (*PlayerItemUseEvent) ProtoMessage() {} func (x *PlayerItemUseEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1504,27 +1442,24 @@ func (x *PlayerItemUseEvent) GetItem() *ItemStack { } type PlayerItemUseOnBlockEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face,omitempty"` + ClickPosition *Vec3 `protobuf:"bytes,6,opt,name=click_position,json=clickPosition,proto3" json:"click_position,omitempty"` + Block *BlockState `protobuf:"bytes,7,opt,name=block,proto3" json:"block,omitempty"` + Item *ItemStack `protobuf:"bytes,8,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face,omitempty"` - ClickPosition *Vec3 `protobuf:"bytes,6,opt,name=click_position,json=clickPosition,proto3" json:"click_position,omitempty"` - Block *BlockState `protobuf:"bytes,7,opt,name=block,proto3" json:"block,omitempty"` - Item *ItemStack `protobuf:"bytes,8,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemUseOnBlockEvent) Reset() { *x = PlayerItemUseOnBlockEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemUseOnBlockEvent) String() string { @@ -1535,7 +1470,7 @@ func (*PlayerItemUseOnBlockEvent) ProtoMessage() {} func (x *PlayerItemUseOnBlockEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1607,24 +1542,21 @@ func (x *PlayerItemUseOnBlockEvent) GetItem() *ItemStack { } type PlayerItemUseOnEntityEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Entity *EntityRef `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` + Item *ItemStack `protobuf:"bytes,5,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Entity *EntityRef `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` - Item *ItemStack `protobuf:"bytes,5,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemUseOnEntityEvent) Reset() { *x = PlayerItemUseOnEntityEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemUseOnEntityEvent) String() string { @@ -1635,7 +1567,7 @@ func (*PlayerItemUseOnEntityEvent) ProtoMessage() {} func (x *PlayerItemUseOnEntityEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1686,24 +1618,21 @@ func (x *PlayerItemUseOnEntityEvent) GetItem() *ItemStack { } type PlayerItemReleaseEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + DurationMs int64 `protobuf:"varint,5,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` - DurationMs int64 `protobuf:"varint,5,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemReleaseEvent) Reset() { *x = PlayerItemReleaseEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemReleaseEvent) String() string { @@ -1714,7 +1643,7 @@ func (*PlayerItemReleaseEvent) ProtoMessage() {} func (x *PlayerItemReleaseEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1765,23 +1694,20 @@ func (x *PlayerItemReleaseEvent) GetDurationMs() int64 { } type PlayerItemConsumeEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemConsumeEvent) Reset() { *x = PlayerItemConsumeEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemConsumeEvent) String() string { @@ -1792,7 +1718,7 @@ func (*PlayerItemConsumeEvent) ProtoMessage() {} func (x *PlayerItemConsumeEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1836,27 +1762,24 @@ func (x *PlayerItemConsumeEvent) GetItem() *ItemStack { } type PlayerAttackEntityEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Entity *EntityRef `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` + Force float64 `protobuf:"fixed64,5,opt,name=force,proto3" json:"force,omitempty"` + Height float64 `protobuf:"fixed64,6,opt,name=height,proto3" json:"height,omitempty"` + Critical bool `protobuf:"varint,7,opt,name=critical,proto3" json:"critical,omitempty"` + Item *ItemStack `protobuf:"bytes,8,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Entity *EntityRef `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` - Force float64 `protobuf:"fixed64,5,opt,name=force,proto3" json:"force,omitempty"` - Height float64 `protobuf:"fixed64,6,opt,name=height,proto3" json:"height,omitempty"` - Critical bool `protobuf:"varint,7,opt,name=critical,proto3" json:"critical,omitempty"` - Item *ItemStack `protobuf:"bytes,8,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerAttackEntityEvent) Reset() { *x = PlayerAttackEntityEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerAttackEntityEvent) String() string { @@ -1867,7 +1790,7 @@ func (*PlayerAttackEntityEvent) ProtoMessage() {} func (x *PlayerAttackEntityEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1939,23 +1862,20 @@ func (x *PlayerAttackEntityEvent) GetItem() *ItemStack { } type PlayerExperienceGainEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Amount int32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Amount int32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerExperienceGainEvent) Reset() { *x = PlayerExperienceGainEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerExperienceGainEvent) String() string { @@ -1966,7 +1886,7 @@ func (*PlayerExperienceGainEvent) ProtoMessage() {} func (x *PlayerExperienceGainEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2010,22 +1930,19 @@ func (x *PlayerExperienceGainEvent) GetAmount() int32 { } type PlayerPunchAirEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerPunchAirEvent) Reset() { *x = PlayerPunchAirEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerPunchAirEvent) String() string { @@ -2036,7 +1953,7 @@ func (*PlayerPunchAirEvent) ProtoMessage() {} func (x *PlayerPunchAirEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2073,26 +1990,23 @@ func (x *PlayerPunchAirEvent) GetWorld() string { } type PlayerSignEditEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + FrontSide bool `protobuf:"varint,5,opt,name=front_side,json=frontSide,proto3" json:"front_side,omitempty"` + OldText string `protobuf:"bytes,6,opt,name=old_text,json=oldText,proto3" json:"old_text,omitempty"` + NewText string `protobuf:"bytes,7,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - FrontSide bool `protobuf:"varint,5,opt,name=front_side,json=frontSide,proto3" json:"front_side,omitempty"` - OldText string `protobuf:"bytes,6,opt,name=old_text,json=oldText,proto3" json:"old_text,omitempty"` - NewText string `protobuf:"bytes,7,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerSignEditEvent) Reset() { *x = PlayerSignEditEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerSignEditEvent) String() string { @@ -2103,7 +2017,7 @@ func (*PlayerSignEditEvent) ProtoMessage() {} func (x *PlayerSignEditEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2168,25 +2082,22 @@ func (x *PlayerSignEditEvent) GetNewText() string { } type PlayerLecternPageTurnEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + OldPage int32 `protobuf:"varint,5,opt,name=old_page,json=oldPage,proto3" json:"old_page,omitempty"` + NewPage int32 `protobuf:"varint,6,opt,name=new_page,json=newPage,proto3" json:"new_page,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - OldPage int32 `protobuf:"varint,5,opt,name=old_page,json=oldPage,proto3" json:"old_page,omitempty"` - NewPage int32 `protobuf:"varint,6,opt,name=new_page,json=newPage,proto3" json:"new_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerLecternPageTurnEvent) Reset() { *x = PlayerLecternPageTurnEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerLecternPageTurnEvent) String() string { @@ -2197,7 +2108,7 @@ func (*PlayerLecternPageTurnEvent) ProtoMessage() {} func (x *PlayerLecternPageTurnEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2255,24 +2166,21 @@ func (x *PlayerLecternPageTurnEvent) GetNewPage() int32 { } type PlayerItemDamageEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + Damage int32 `protobuf:"varint,5,opt,name=damage,proto3" json:"damage,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` - Damage int32 `protobuf:"varint,5,opt,name=damage,proto3" json:"damage,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemDamageEvent) Reset() { *x = PlayerItemDamageEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemDamageEvent) String() string { @@ -2283,7 +2191,7 @@ func (*PlayerItemDamageEvent) ProtoMessage() {} func (x *PlayerItemDamageEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2334,23 +2242,20 @@ func (x *PlayerItemDamageEvent) GetDamage() int32 { } type PlayerItemPickupEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemPickupEvent) Reset() { *x = PlayerItemPickupEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemPickupEvent) String() string { @@ -2361,7 +2266,7 @@ func (*PlayerItemPickupEvent) ProtoMessage() {} func (x *PlayerItemPickupEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2405,24 +2310,21 @@ func (x *PlayerItemPickupEvent) GetItem() *ItemStack { } type PlayerHeldSlotChangeEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + FromSlot int32 `protobuf:"varint,4,opt,name=from_slot,json=fromSlot,proto3" json:"from_slot,omitempty"` + ToSlot int32 `protobuf:"varint,5,opt,name=to_slot,json=toSlot,proto3" json:"to_slot,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - FromSlot int32 `protobuf:"varint,4,opt,name=from_slot,json=fromSlot,proto3" json:"from_slot,omitempty"` - ToSlot int32 `protobuf:"varint,5,opt,name=to_slot,json=toSlot,proto3" json:"to_slot,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerHeldSlotChangeEvent) Reset() { *x = PlayerHeldSlotChangeEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerHeldSlotChangeEvent) String() string { @@ -2433,7 +2335,7 @@ func (*PlayerHeldSlotChangeEvent) ProtoMessage() {} func (x *PlayerHeldSlotChangeEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2484,23 +2386,20 @@ func (x *PlayerHeldSlotChangeEvent) GetToSlot() int32 { } type PlayerItemDropEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` + Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` - Item *ItemStack `protobuf:"bytes,4,opt,name=item,proto3,oneof" json:"item,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerItemDropEvent) Reset() { *x = PlayerItemDropEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerItemDropEvent) String() string { @@ -2511,7 +2410,7 @@ func (*PlayerItemDropEvent) ProtoMessage() {} func (x *PlayerItemDropEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2555,22 +2454,19 @@ func (x *PlayerItemDropEvent) GetItem() *ItemStack { } type PlayerTransferEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Address *Address `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"` unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Address *Address `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayerTransferEvent) Reset() { *x = PlayerTransferEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerTransferEvent) String() string { @@ -2581,7 +2477,7 @@ func (*PlayerTransferEvent) ProtoMessage() {} func (x *PlayerTransferEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2618,30 +2514,27 @@ func (x *PlayerTransferEvent) GetAddress() *Address { } type PlayerDiagnosticsEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - AverageFramesPerSecond float64 `protobuf:"fixed64,3,opt,name=average_frames_per_second,json=averageFramesPerSecond,proto3" json:"average_frames_per_second,omitempty"` - AverageServerSimTickTime float64 `protobuf:"fixed64,4,opt,name=average_server_sim_tick_time,json=averageServerSimTickTime,proto3" json:"average_server_sim_tick_time,omitempty"` - AverageClientSimTickTime float64 `protobuf:"fixed64,5,opt,name=average_client_sim_tick_time,json=averageClientSimTickTime,proto3" json:"average_client_sim_tick_time,omitempty"` - AverageBeginFrameTime float64 `protobuf:"fixed64,6,opt,name=average_begin_frame_time,json=averageBeginFrameTime,proto3" json:"average_begin_frame_time,omitempty"` - AverageInputTime float64 `protobuf:"fixed64,7,opt,name=average_input_time,json=averageInputTime,proto3" json:"average_input_time,omitempty"` - AverageRenderTime float64 `protobuf:"fixed64,8,opt,name=average_render_time,json=averageRenderTime,proto3" json:"average_render_time,omitempty"` - AverageEndFrameTime float64 `protobuf:"fixed64,9,opt,name=average_end_frame_time,json=averageEndFrameTime,proto3" json:"average_end_frame_time,omitempty"` - AverageRemainderTimePercent float64 `protobuf:"fixed64,10,opt,name=average_remainder_time_percent,json=averageRemainderTimePercent,proto3" json:"average_remainder_time_percent,omitempty"` - AverageUnaccountedTimePercent float64 `protobuf:"fixed64,11,opt,name=average_unaccounted_time_percent,json=averageUnaccountedTimePercent,proto3" json:"average_unaccounted_time_percent,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlayerUuid string `protobuf:"bytes,1,opt,name=player_uuid,json=playerUuid,proto3" json:"player_uuid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + AverageFramesPerSecond float64 `protobuf:"fixed64,3,opt,name=average_frames_per_second,json=averageFramesPerSecond,proto3" json:"average_frames_per_second,omitempty"` + AverageServerSimTickTime float64 `protobuf:"fixed64,4,opt,name=average_server_sim_tick_time,json=averageServerSimTickTime,proto3" json:"average_server_sim_tick_time,omitempty"` + AverageClientSimTickTime float64 `protobuf:"fixed64,5,opt,name=average_client_sim_tick_time,json=averageClientSimTickTime,proto3" json:"average_client_sim_tick_time,omitempty"` + AverageBeginFrameTime float64 `protobuf:"fixed64,6,opt,name=average_begin_frame_time,json=averageBeginFrameTime,proto3" json:"average_begin_frame_time,omitempty"` + AverageInputTime float64 `protobuf:"fixed64,7,opt,name=average_input_time,json=averageInputTime,proto3" json:"average_input_time,omitempty"` + AverageRenderTime float64 `protobuf:"fixed64,8,opt,name=average_render_time,json=averageRenderTime,proto3" json:"average_render_time,omitempty"` + AverageEndFrameTime float64 `protobuf:"fixed64,9,opt,name=average_end_frame_time,json=averageEndFrameTime,proto3" json:"average_end_frame_time,omitempty"` + AverageRemainderTimePercent float64 `protobuf:"fixed64,10,opt,name=average_remainder_time_percent,json=averageRemainderTimePercent,proto3" json:"average_remainder_time_percent,omitempty"` + AverageUnaccountedTimePercent float64 `protobuf:"fixed64,11,opt,name=average_unaccounted_time_percent,json=averageUnaccountedTimePercent,proto3" json:"average_unaccounted_time_percent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PlayerDiagnosticsEvent) Reset() { *x = PlayerDiagnosticsEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_player_events_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_player_events_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayerDiagnosticsEvent) String() string { @@ -2652,7 +2545,7 @@ func (*PlayerDiagnosticsEvent) ProtoMessage() {} func (x *PlayerDiagnosticsEvent) ProtoReflect() protoreflect.Message { mi := &file_player_events_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2746,438 +2639,287 @@ func (x *PlayerDiagnosticsEvent) GetAverageUnaccountedTimePercent() float64 { var File_player_events_proto protoreflect.FileDescriptor -var file_player_events_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, - 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x51, 0x75, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xba, - 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x6f, 0x76, 0x65, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, - 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2b, 0x0a, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, - 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x0f, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4a, 0x75, 0x6d, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x54, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, - 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x48, 0x00, 0x52, 0x06, - 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x05, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x48, 0x01, 0x52, - 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, - 0x66, 0x6f, 0x72, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0x64, - 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, - 0x72, 0x69, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, - 0x66, 0x74, 0x65, 0x72, 0x22, 0x63, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, - 0x67, 0x67, 0x6c, 0x65, 0x53, 0x6e, 0x65, 0x61, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0x5a, 0x0a, 0x09, 0x43, 0x68, 0x61, - 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6e, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, - 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x02, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x48, 0x65, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x48, 0x00, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x48, 0x75, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6d, 0x6d, - 0x75, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x6d, 0x6d, 0x75, 0x6e, - 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x61, - 0x74, 0x74, 0x61, 0x63, 0x6b, 0x49, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x73, 0x12, - 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x44, 0x61, 0x6d, 0x61, - 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x22, 0xaf, 0x01, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x61, 0x74, 0x68, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, - 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x25, 0x0a, 0x0e, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6b, 0x65, 0x65, 0x70, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x61, 0x77, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, - 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, - 0x33, 0x48, 0x00, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x2e, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, - 0x64, 0x52, 0x65, 0x66, 0x48, 0x01, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x88, 0x01, 0x01, - 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, - 0x06, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x22, 0xc5, 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x53, 0x6b, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x75, 0x6c, 0x6c, 0x49, - 0x64, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x66, 0x61, 0x62, - 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x6c, 0x61, - 0x79, 0x46, 0x61, 0x62, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x65, 0x72, - 0x73, 0x6f, 0x6e, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x65, 0x72, 0x73, - 0x6f, 0x6e, 0x61, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x42, - 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x66, 0x61, 0x62, 0x5f, 0x69, 0x64, 0x22, - 0x97, 0x01, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x69, 0x72, 0x65, 0x45, 0x78, - 0x74, 0x69, 0x6e, 0x67, 0x75, 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x15, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, - 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x8d, 0x01, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, - 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0xc0, 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, - 0x6c, 0x61, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x22, 0xbf, 0x01, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x50, 0x69, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x97, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, - 0x65, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0xc8, - 0x02, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, - 0x4f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x61, 0x63, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x61, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x0e, - 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, - 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0xcd, 0x01, 0x0a, 0x1a, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x4f, 0x6e, 0x45, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, - 0x72, 0x6c, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x66, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, - 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0xbc, 0x01, 0x0a, 0x16, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, - 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, - 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, - 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x1f, - 0x0a, 0x0b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x9b, 0x01, 0x0a, 0x16, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2d, - 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, - 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, - 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x94, 0x02, 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, - 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2c, 0x0a, - 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x52, 0x65, 0x66, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, - 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x72, 0x69, - 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x72, 0x69, - 0x74, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, - 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x7e, 0x0a, - 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, - 0x65, 0x47, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x60, 0x0a, - 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x68, 0x41, 0x69, 0x72, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, - 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x22, - 0xe6, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x64, - 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x64, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x53, 0x69, - 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6e, 0x65, 0x77, 0x54, 0x65, 0x78, 0x74, 0x22, 0xce, 0x01, 0x0a, 0x1a, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x4c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x54, 0x75, - 0x72, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x67, 0x65, 0x12, 0x19, - 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x67, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x15, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2d, - 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, - 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x64, - 0x61, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x9a, - 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x69, 0x63, - 0x6b, 0x75, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, - 0x72, 0x6c, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, - 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, - 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x9c, 0x01, 0x0a, 0x19, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x6c, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x73, 0x6c, 0x6f, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6c, 0x6f, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x06, 0x74, 0x6f, 0x53, 0x6c, 0x6f, 0x74, 0x22, 0x98, 0x01, 0x0a, 0x13, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x72, 0x6f, 0x70, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, - 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2d, 0x0a, - 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x63, - 0x6b, 0x48, 0x00, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x89, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0xe2, 0x04, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x61, 0x67, - 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x39, 0x0a, 0x19, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x01, 0x52, 0x16, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x3e, 0x0a, 0x1c, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, - 0x69, 0x6d, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x18, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x53, 0x69, 0x6d, 0x54, 0x69, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x1c, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, - 0x69, 0x6d, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x18, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x53, 0x69, 0x6d, 0x54, 0x69, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x46, 0x72, 0x61, 0x6d, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, - 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x10, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x11, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x65, - 0x6e, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x64, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x1e, 0x61, 0x76, 0x65, 0x72, - 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x1b, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x64, - 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, - 0x20, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x6e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x1d, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, - 0x55, 0x6e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x50, - 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x42, 0x90, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x63, 0x6d, 0x63, 0x2f, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, 0x03, 0x44, 0x50, 0x58, 0xaa, 0x02, 0x09, 0x44, - 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, 0x09, 0x44, 0x66, 0x5c, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x44, - 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} +const file_player_events_proto_rawDesc = "" + + "\n" + + "\x13player_events.proto\x12\tdf.plugin\x1a\fcommon.proto\"F\n" + + "\x0fPlayerJoinEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\"F\n" + + "\x0fPlayerQuitEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\"\xba\x01\n" + + "\x0fPlayerMoveEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12+\n" + + "\bposition\x18\x04 \x01(\v2\x0f.df.plugin.Vec3R\bposition\x12/\n" + + "\brotation\x18\x05 \x01(\v2\x13.df.plugin.RotationR\brotation\"\x89\x01\n" + + "\x0fPlayerJumpEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12+\n" + + "\bposition\x18\x04 \x01(\v2\x0f.df.plugin.Vec3R\bposition\"\x8d\x01\n" + + "\x13PlayerTeleportEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12+\n" + + "\bposition\x18\x04 \x01(\v2\x0f.df.plugin.Vec3R\bposition\"\xc4\x01\n" + + "\x16PlayerChangeWorldEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x120\n" + + "\x06before\x18\x03 \x01(\v2\x13.df.plugin.WorldRefH\x00R\x06before\x88\x01\x01\x12.\n" + + "\x05after\x18\x04 \x01(\v2\x13.df.plugin.WorldRefH\x01R\x05after\x88\x01\x01B\t\n" + + "\a_beforeB\b\n" + + "\x06_after\"d\n" + + "\x17PlayerToggleSprintEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05after\x18\x03 \x01(\bR\x05after\"c\n" + + "\x16PlayerToggleSneakEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05after\x18\x03 \x01(\bR\x05after\"Z\n" + + "\tChatEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" + + "\amessage\x18\x03 \x01(\tR\amessage\"n\n" + + "\x13PlayerFoodLossEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" + + "\x04from\x18\x03 \x01(\x05R\x04from\x12\x0e\n" + + "\x02to\x18\x04 \x01(\x05R\x02to\"\xa0\x01\n" + + "\x0fPlayerHealEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" + + "\x06amount\x18\x03 \x01(\x01R\x06amount\x125\n" + + "\x06source\x18\x04 \x01(\v2\x18.df.plugin.HealingSourceH\x00R\x06source\x88\x01\x01B\t\n" + + "\a_source\"\xe5\x01\n" + + "\x0fPlayerHurtEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" + + "\x06damage\x18\x03 \x01(\x01R\x06damage\x12\x16\n" + + "\x06immune\x18\x04 \x01(\bR\x06immune\x12,\n" + + "\x12attack_immunity_ms\x18\x05 \x01(\x03R\x10attackImmunityMs\x124\n" + + "\x06source\x18\x06 \x01(\v2\x17.df.plugin.DamageSourceH\x00R\x06source\x88\x01\x01B\t\n" + + "\a_source\"\xaf\x01\n" + + "\x10PlayerDeathEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x124\n" + + "\x06source\x18\x03 \x01(\v2\x17.df.plugin.DamageSourceH\x00R\x06source\x88\x01\x01\x12%\n" + + "\x0ekeep_inventory\x18\x04 \x01(\bR\rkeepInventoryB\t\n" + + "\a_source\"\xc2\x01\n" + + "\x12PlayerRespawnEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x120\n" + + "\bposition\x18\x03 \x01(\v2\x0f.df.plugin.Vec3H\x00R\bposition\x88\x01\x01\x12.\n" + + "\x05world\x18\x04 \x01(\v2\x13.df.plugin.WorldRefH\x01R\x05world\x88\x01\x01B\v\n" + + "\t_positionB\b\n" + + "\x06_world\"\xc5\x01\n" + + "\x15PlayerSkinChangeEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" + + "\afull_id\x18\x03 \x01(\tH\x00R\x06fullId\x88\x01\x01\x12#\n" + + "\vplay_fab_id\x18\x04 \x01(\tH\x01R\tplayFabId\x88\x01\x01\x12\x18\n" + + "\apersona\x18\x05 \x01(\bR\apersonaB\n" + + "\n" + + "\b_full_idB\x0e\n" + + "\f_play_fab_id\"\x97\x01\n" + + "\x19PlayerFireExtinguishEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"\x93\x01\n" + + "\x15PlayerStartBreakEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"\x8d\x01\n" + + "\x0fBlockBreakEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"\xc0\x01\n" + + "\x15PlayerBlockPlaceEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12+\n" + + "\x05block\x18\x05 \x01(\v2\x15.df.plugin.BlockStateR\x05block\"\xbf\x01\n" + + "\x14PlayerBlockPickEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12+\n" + + "\x05block\x18\x05 \x01(\v2\x15.df.plugin.BlockStateR\x05block\"\x97\x01\n" + + "\x12PlayerItemUseEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\xc8\x02\n" + + "\x19PlayerItemUseOnBlockEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12\x12\n" + + "\x04face\x18\x05 \x01(\tR\x04face\x126\n" + + "\x0eclick_position\x18\x06 \x01(\v2\x0f.df.plugin.Vec3R\rclickPosition\x12+\n" + + "\x05block\x18\a \x01(\v2\x15.df.plugin.BlockStateR\x05block\x12-\n" + + "\x04item\x18\b \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\xcd\x01\n" + + "\x1aPlayerItemUseOnEntityEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12,\n" + + "\x06entity\x18\x04 \x01(\v2\x14.df.plugin.EntityRefR\x06entity\x12-\n" + + "\x04item\x18\x05 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\xbc\x01\n" + + "\x16PlayerItemReleaseEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01\x12\x1f\n" + + "\vduration_ms\x18\x05 \x01(\x03R\n" + + "durationMsB\a\n" + + "\x05_item\"\x9b\x01\n" + + "\x16PlayerItemConsumeEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\x94\x02\n" + + "\x17PlayerAttackEntityEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12,\n" + + "\x06entity\x18\x04 \x01(\v2\x14.df.plugin.EntityRefR\x06entity\x12\x14\n" + + "\x05force\x18\x05 \x01(\x01R\x05force\x12\x16\n" + + "\x06height\x18\x06 \x01(\x01R\x06height\x12\x1a\n" + + "\bcritical\x18\a \x01(\bR\bcritical\x12-\n" + + "\x04item\x18\b \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"~\n" + + "\x19PlayerExperienceGainEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12\x16\n" + + "\x06amount\x18\x04 \x01(\x05R\x06amount\"`\n" + + "\x13PlayerPunchAirEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\"\xe6\x01\n" + + "\x13PlayerSignEditEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12\x1d\n" + + "\n" + + "front_side\x18\x05 \x01(\bR\tfrontSide\x12\x19\n" + + "\bold_text\x18\x06 \x01(\tR\aoldText\x12\x19\n" + + "\bnew_text\x18\a \x01(\tR\anewText\"\xce\x01\n" + + "\x1aPlayerLecternPageTurnEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12/\n" + + "\bposition\x18\x04 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12\x19\n" + + "\bold_page\x18\x05 \x01(\x05R\aoldPage\x12\x19\n" + + "\bnew_page\x18\x06 \x01(\x05R\anewPage\"\xb2\x01\n" + + "\x15PlayerItemDamageEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01\x12\x16\n" + + "\x06damage\x18\x05 \x01(\x05R\x06damageB\a\n" + + "\x05_item\"\x9a\x01\n" + + "\x15PlayerItemPickupEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\x9c\x01\n" + + "\x19PlayerHeldSlotChangeEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12\x1b\n" + + "\tfrom_slot\x18\x04 \x01(\x05R\bfromSlot\x12\x17\n" + + "\ato_slot\x18\x05 \x01(\x05R\x06toSlot\"\x98\x01\n" + + "\x13PlayerItemDropEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + + "\x05world\x18\x03 \x01(\tR\x05world\x12-\n" + + "\x04item\x18\x04 \x01(\v2\x14.df.plugin.ItemStackH\x00R\x04item\x88\x01\x01B\a\n" + + "\x05_item\"\x89\x01\n" + + "\x13PlayerTransferEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x121\n" + + "\aaddress\x18\x03 \x01(\v2\x12.df.plugin.AddressH\x00R\aaddress\x88\x01\x01B\n" + + "\n" + + "\b_address\"\xe2\x04\n" + + "\x16PlayerDiagnosticsEvent\x12\x1f\n" + + "\vplayer_uuid\x18\x01 \x01(\tR\n" + + "playerUuid\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x129\n" + + "\x19average_frames_per_second\x18\x03 \x01(\x01R\x16averageFramesPerSecond\x12>\n" + + "\x1caverage_server_sim_tick_time\x18\x04 \x01(\x01R\x18averageServerSimTickTime\x12>\n" + + "\x1caverage_client_sim_tick_time\x18\x05 \x01(\x01R\x18averageClientSimTickTime\x127\n" + + "\x18average_begin_frame_time\x18\x06 \x01(\x01R\x15averageBeginFrameTime\x12,\n" + + "\x12average_input_time\x18\a \x01(\x01R\x10averageInputTime\x12.\n" + + "\x13average_render_time\x18\b \x01(\x01R\x11averageRenderTime\x123\n" + + "\x16average_end_frame_time\x18\t \x01(\x01R\x13averageEndFrameTime\x12C\n" + + "\x1eaverage_remainder_time_percent\x18\n" + + " \x01(\x01R\x1baverageRemainderTimePercent\x12G\n" + + " average_unaccounted_time_percent\x18\v \x01(\x01R\x1daverageUnaccountedTimePercentB\x90\x01\n" + + "\rcom.df.pluginB\x11PlayerEventsProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_player_events_proto_rawDescOnce sync.Once - file_player_events_proto_rawDescData = file_player_events_proto_rawDesc + file_player_events_proto_rawDescData []byte ) func file_player_events_proto_rawDescGZIP() []byte { file_player_events_proto_rawDescOnce.Do(func() { - file_player_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_player_events_proto_rawDescData) + file_player_events_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_player_events_proto_rawDesc), len(file_player_events_proto_rawDesc))) }) return file_player_events_proto_rawDescData } var file_player_events_proto_msgTypes = make([]protoimpl.MessageInfo, 36) -var file_player_events_proto_goTypes = []interface{}{ +var file_player_events_proto_goTypes = []any{ (*PlayerJoinEvent)(nil), // 0: df.plugin.PlayerJoinEvent (*PlayerQuitEvent)(nil), // 1: df.plugin.PlayerQuitEvent (*PlayerMoveEvent)(nil), // 2: df.plugin.PlayerMoveEvent @@ -3274,461 +3016,27 @@ func file_player_events_proto_init() { return } file_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_player_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerJoinEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerQuitEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerMoveEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerJumpEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerTeleportEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerChangeWorldEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerToggleSprintEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerToggleSneakEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerFoodLossEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerHealEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerHurtEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerDeathEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerRespawnEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerSkinChangeEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerFireExtinguishEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerStartBreakEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockBreakEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerBlockPlaceEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerBlockPickEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemUseEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemUseOnBlockEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemUseOnEntityEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemReleaseEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemConsumeEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerAttackEntityEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerExperienceGainEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerPunchAirEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerSignEditEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerLecternPageTurnEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemDamageEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemPickupEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerHeldSlotChangeEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerItemDropEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerTransferEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_player_events_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerDiagnosticsEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_player_events_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[20].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[21].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[22].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[23].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[24].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[25].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[30].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[31].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[33].OneofWrappers = []interface{}{} - file_player_events_proto_msgTypes[34].OneofWrappers = []interface{}{} + file_player_events_proto_msgTypes[5].OneofWrappers = []any{} + file_player_events_proto_msgTypes[10].OneofWrappers = []any{} + file_player_events_proto_msgTypes[11].OneofWrappers = []any{} + file_player_events_proto_msgTypes[12].OneofWrappers = []any{} + file_player_events_proto_msgTypes[13].OneofWrappers = []any{} + file_player_events_proto_msgTypes[14].OneofWrappers = []any{} + file_player_events_proto_msgTypes[20].OneofWrappers = []any{} + file_player_events_proto_msgTypes[21].OneofWrappers = []any{} + file_player_events_proto_msgTypes[22].OneofWrappers = []any{} + file_player_events_proto_msgTypes[23].OneofWrappers = []any{} + file_player_events_proto_msgTypes[24].OneofWrappers = []any{} + file_player_events_proto_msgTypes[25].OneofWrappers = []any{} + file_player_events_proto_msgTypes[30].OneofWrappers = []any{} + file_player_events_proto_msgTypes[31].OneofWrappers = []any{} + file_player_events_proto_msgTypes[33].OneofWrappers = []any{} + file_player_events_proto_msgTypes[34].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_player_events_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_player_events_proto_rawDesc), len(file_player_events_proto_rawDesc)), NumEnums: 0, NumMessages: 36, NumExtensions: 0, @@ -3739,7 +3047,6 @@ func file_player_events_proto_init() { MessageInfos: file_player_events_proto_msgTypes, }.Build() File_player_events_proto = out.File - file_player_events_proto_rawDesc = nil file_player_events_proto_goTypes = nil file_player_events_proto_depIdxs = nil } diff --git a/proto/generated/plugin.pb.go b/proto/generated/plugin.pb.go index f657624..56bba10 100644 --- a/proto/generated/plugin.pb.go +++ b/proto/generated/plugin.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: plugin.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -214,26 +215,23 @@ func (EventType) EnumDescriptor() ([]byte, []int) { } type HostToPlugin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - // Types that are assignable to Payload: + state protoimpl.MessageState `protogen:"open.v1"` + PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + // Types that are valid to be assigned to Payload: // // *HostToPlugin_Hello // *HostToPlugin_Shutdown // *HostToPlugin_Event - Payload isHostToPlugin_Payload `protobuf_oneof:"payload"` + Payload isHostToPlugin_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HostToPlugin) Reset() { *x = HostToPlugin{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HostToPlugin) String() string { @@ -244,7 +242,7 @@ func (*HostToPlugin) ProtoMessage() {} func (x *HostToPlugin) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -266,30 +264,36 @@ func (x *HostToPlugin) GetPluginId() string { return "" } -func (m *HostToPlugin) GetPayload() isHostToPlugin_Payload { - if m != nil { - return m.Payload +func (x *HostToPlugin) GetPayload() isHostToPlugin_Payload { + if x != nil { + return x.Payload } return nil } func (x *HostToPlugin) GetHello() *HostHello { - if x, ok := x.GetPayload().(*HostToPlugin_Hello); ok { - return x.Hello + if x != nil { + if x, ok := x.Payload.(*HostToPlugin_Hello); ok { + return x.Hello + } } return nil } func (x *HostToPlugin) GetShutdown() *HostShutdown { - if x, ok := x.GetPayload().(*HostToPlugin_Shutdown); ok { - return x.Shutdown + if x != nil { + if x, ok := x.Payload.(*HostToPlugin_Shutdown); ok { + return x.Shutdown + } } return nil } func (x *HostToPlugin) GetEvent() *EventEnvelope { - if x, ok := x.GetPayload().(*HostToPlugin_Event); ok { - return x.Event + if x != nil { + if x, ok := x.Payload.(*HostToPlugin_Event); ok { + return x.Event + } } return nil } @@ -317,20 +321,17 @@ func (*HostToPlugin_Shutdown) isHostToPlugin_Payload() {} func (*HostToPlugin_Event) isHostToPlugin_Payload() {} type HostHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` unknownFields protoimpl.UnknownFields - - ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HostHello) Reset() { *x = HostHello{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HostHello) String() string { @@ -341,7 +342,7 @@ func (*HostHello) ProtoMessage() {} func (x *HostHello) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -364,20 +365,17 @@ func (x *HostHello) GetApiVersion() string { } type HostShutdown struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields - - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HostShutdown) Reset() { *x = HostShutdown{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HostShutdown) String() string { @@ -388,7 +386,7 @@ func (*HostShutdown) ProtoMessage() {} func (x *HostShutdown) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -411,14 +409,11 @@ func (x *HostShutdown) GetReason() string { } type EventEnvelope struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=df.plugin.EventType" json:"type,omitempty"` - ExpectsResponse bool `protobuf:"varint,3,opt,name=expects_response,json=expectsResponse,proto3" json:"expects_response,omitempty"` // If an event can be cancelled or mutated it expects an acknowledgement. - // Types that are assignable to Payload: + state protoimpl.MessageState `protogen:"open.v1"` + EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=df.plugin.EventType" json:"type,omitempty"` + ExpectsResponse bool `protobuf:"varint,3,opt,name=expects_response,json=expectsResponse,proto3" json:"expects_response,omitempty"` // If an event can be cancelled or mutated it expects an acknowledgement. + // Types that are valid to be assigned to Payload: // // *EventEnvelope_PlayerJoin // *EventEnvelope_PlayerQuit @@ -469,16 +464,16 @@ type EventEnvelope struct { // *EventEnvelope_WorldEntityDespawn // *EventEnvelope_WorldExplosion // *EventEnvelope_WorldClose - Payload isEventEnvelope_Payload `protobuf_oneof:"payload"` + Payload isEventEnvelope_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventEnvelope) Reset() { *x = EventEnvelope{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventEnvelope) String() string { @@ -489,7 +484,7 @@ func (*EventEnvelope) ProtoMessage() {} func (x *EventEnvelope) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -525,352 +520,450 @@ func (x *EventEnvelope) GetExpectsResponse() bool { return false } -func (m *EventEnvelope) GetPayload() isEventEnvelope_Payload { - if m != nil { - return m.Payload +func (x *EventEnvelope) GetPayload() isEventEnvelope_Payload { + if x != nil { + return x.Payload } return nil } func (x *EventEnvelope) GetPlayerJoin() *PlayerJoinEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerJoin); ok { - return x.PlayerJoin + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerJoin); ok { + return x.PlayerJoin + } } return nil } func (x *EventEnvelope) GetPlayerQuit() *PlayerQuitEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerQuit); ok { - return x.PlayerQuit + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerQuit); ok { + return x.PlayerQuit + } } return nil } func (x *EventEnvelope) GetPlayerMove() *PlayerMoveEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerMove); ok { - return x.PlayerMove + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerMove); ok { + return x.PlayerMove + } } return nil } func (x *EventEnvelope) GetPlayerJump() *PlayerJumpEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerJump); ok { - return x.PlayerJump + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerJump); ok { + return x.PlayerJump + } } return nil } func (x *EventEnvelope) GetPlayerTeleport() *PlayerTeleportEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerTeleport); ok { - return x.PlayerTeleport + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerTeleport); ok { + return x.PlayerTeleport + } } return nil } func (x *EventEnvelope) GetPlayerChangeWorld() *PlayerChangeWorldEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerChangeWorld); ok { - return x.PlayerChangeWorld + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerChangeWorld); ok { + return x.PlayerChangeWorld + } } return nil } func (x *EventEnvelope) GetPlayerToggleSprint() *PlayerToggleSprintEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerToggleSprint); ok { - return x.PlayerToggleSprint + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerToggleSprint); ok { + return x.PlayerToggleSprint + } } return nil } func (x *EventEnvelope) GetPlayerToggleSneak() *PlayerToggleSneakEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerToggleSneak); ok { - return x.PlayerToggleSneak + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerToggleSneak); ok { + return x.PlayerToggleSneak + } } return nil } func (x *EventEnvelope) GetChat() *ChatEvent { - if x, ok := x.GetPayload().(*EventEnvelope_Chat); ok { - return x.Chat + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_Chat); ok { + return x.Chat + } } return nil } func (x *EventEnvelope) GetPlayerFoodLoss() *PlayerFoodLossEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerFoodLoss); ok { - return x.PlayerFoodLoss + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerFoodLoss); ok { + return x.PlayerFoodLoss + } } return nil } func (x *EventEnvelope) GetPlayerHeal() *PlayerHealEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerHeal); ok { - return x.PlayerHeal + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerHeal); ok { + return x.PlayerHeal + } } return nil } func (x *EventEnvelope) GetPlayerHurt() *PlayerHurtEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerHurt); ok { - return x.PlayerHurt + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerHurt); ok { + return x.PlayerHurt + } } return nil } func (x *EventEnvelope) GetPlayerDeath() *PlayerDeathEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerDeath); ok { - return x.PlayerDeath + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerDeath); ok { + return x.PlayerDeath + } } return nil } func (x *EventEnvelope) GetPlayerRespawn() *PlayerRespawnEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerRespawn); ok { - return x.PlayerRespawn + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerRespawn); ok { + return x.PlayerRespawn + } } return nil } func (x *EventEnvelope) GetPlayerSkinChange() *PlayerSkinChangeEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerSkinChange); ok { - return x.PlayerSkinChange + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerSkinChange); ok { + return x.PlayerSkinChange + } } return nil } func (x *EventEnvelope) GetPlayerFireExtinguish() *PlayerFireExtinguishEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerFireExtinguish); ok { - return x.PlayerFireExtinguish + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerFireExtinguish); ok { + return x.PlayerFireExtinguish + } } return nil } func (x *EventEnvelope) GetPlayerStartBreak() *PlayerStartBreakEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerStartBreak); ok { - return x.PlayerStartBreak + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerStartBreak); ok { + return x.PlayerStartBreak + } } return nil } func (x *EventEnvelope) GetBlockBreak() *BlockBreakEvent { - if x, ok := x.GetPayload().(*EventEnvelope_BlockBreak); ok { - return x.BlockBreak + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_BlockBreak); ok { + return x.BlockBreak + } } return nil } func (x *EventEnvelope) GetPlayerBlockPlace() *PlayerBlockPlaceEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerBlockPlace); ok { - return x.PlayerBlockPlace + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerBlockPlace); ok { + return x.PlayerBlockPlace + } } return nil } func (x *EventEnvelope) GetPlayerBlockPick() *PlayerBlockPickEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerBlockPick); ok { - return x.PlayerBlockPick + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerBlockPick); ok { + return x.PlayerBlockPick + } } return nil } func (x *EventEnvelope) GetPlayerItemUse() *PlayerItemUseEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemUse); ok { - return x.PlayerItemUse + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemUse); ok { + return x.PlayerItemUse + } } return nil } func (x *EventEnvelope) GetPlayerItemUseOnBlock() *PlayerItemUseOnBlockEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemUseOnBlock); ok { - return x.PlayerItemUseOnBlock + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemUseOnBlock); ok { + return x.PlayerItemUseOnBlock + } } return nil } func (x *EventEnvelope) GetPlayerItemUseOnEntity() *PlayerItemUseOnEntityEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemUseOnEntity); ok { - return x.PlayerItemUseOnEntity + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemUseOnEntity); ok { + return x.PlayerItemUseOnEntity + } } return nil } func (x *EventEnvelope) GetPlayerItemRelease() *PlayerItemReleaseEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemRelease); ok { - return x.PlayerItemRelease + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemRelease); ok { + return x.PlayerItemRelease + } } return nil } func (x *EventEnvelope) GetPlayerItemConsume() *PlayerItemConsumeEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemConsume); ok { - return x.PlayerItemConsume + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemConsume); ok { + return x.PlayerItemConsume + } } return nil } func (x *EventEnvelope) GetPlayerAttackEntity() *PlayerAttackEntityEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerAttackEntity); ok { - return x.PlayerAttackEntity + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerAttackEntity); ok { + return x.PlayerAttackEntity + } } return nil } func (x *EventEnvelope) GetPlayerExperienceGain() *PlayerExperienceGainEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerExperienceGain); ok { - return x.PlayerExperienceGain + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerExperienceGain); ok { + return x.PlayerExperienceGain + } } return nil } func (x *EventEnvelope) GetPlayerPunchAir() *PlayerPunchAirEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerPunchAir); ok { - return x.PlayerPunchAir + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerPunchAir); ok { + return x.PlayerPunchAir + } } return nil } func (x *EventEnvelope) GetPlayerSignEdit() *PlayerSignEditEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerSignEdit); ok { - return x.PlayerSignEdit + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerSignEdit); ok { + return x.PlayerSignEdit + } } return nil } func (x *EventEnvelope) GetPlayerLecternPageTurn() *PlayerLecternPageTurnEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerLecternPageTurn); ok { - return x.PlayerLecternPageTurn + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerLecternPageTurn); ok { + return x.PlayerLecternPageTurn + } } return nil } func (x *EventEnvelope) GetPlayerItemDamage() *PlayerItemDamageEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemDamage); ok { - return x.PlayerItemDamage + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemDamage); ok { + return x.PlayerItemDamage + } } return nil } func (x *EventEnvelope) GetPlayerItemPickup() *PlayerItemPickupEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemPickup); ok { - return x.PlayerItemPickup + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemPickup); ok { + return x.PlayerItemPickup + } } return nil } func (x *EventEnvelope) GetPlayerHeldSlotChange() *PlayerHeldSlotChangeEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerHeldSlotChange); ok { - return x.PlayerHeldSlotChange + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerHeldSlotChange); ok { + return x.PlayerHeldSlotChange + } } return nil } func (x *EventEnvelope) GetPlayerItemDrop() *PlayerItemDropEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerItemDrop); ok { - return x.PlayerItemDrop + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerItemDrop); ok { + return x.PlayerItemDrop + } } return nil } func (x *EventEnvelope) GetPlayerTransfer() *PlayerTransferEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerTransfer); ok { - return x.PlayerTransfer + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerTransfer); ok { + return x.PlayerTransfer + } } return nil } func (x *EventEnvelope) GetCommand() *CommandEvent { - if x, ok := x.GetPayload().(*EventEnvelope_Command); ok { - return x.Command + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_Command); ok { + return x.Command + } } return nil } func (x *EventEnvelope) GetPlayerDiagnostics() *PlayerDiagnosticsEvent { - if x, ok := x.GetPayload().(*EventEnvelope_PlayerDiagnostics); ok { - return x.PlayerDiagnostics + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_PlayerDiagnostics); ok { + return x.PlayerDiagnostics + } } return nil } func (x *EventEnvelope) GetWorldLiquidFlow() *WorldLiquidFlowEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldLiquidFlow); ok { - return x.WorldLiquidFlow + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldLiquidFlow); ok { + return x.WorldLiquidFlow + } } return nil } func (x *EventEnvelope) GetWorldLiquidDecay() *WorldLiquidDecayEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldLiquidDecay); ok { - return x.WorldLiquidDecay + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldLiquidDecay); ok { + return x.WorldLiquidDecay + } } return nil } func (x *EventEnvelope) GetWorldLiquidHarden() *WorldLiquidHardenEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldLiquidHarden); ok { - return x.WorldLiquidHarden + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldLiquidHarden); ok { + return x.WorldLiquidHarden + } } return nil } func (x *EventEnvelope) GetWorldSound() *WorldSoundEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldSound); ok { - return x.WorldSound + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldSound); ok { + return x.WorldSound + } } return nil } func (x *EventEnvelope) GetWorldFireSpread() *WorldFireSpreadEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldFireSpread); ok { - return x.WorldFireSpread + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldFireSpread); ok { + return x.WorldFireSpread + } } return nil } func (x *EventEnvelope) GetWorldBlockBurn() *WorldBlockBurnEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldBlockBurn); ok { - return x.WorldBlockBurn + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldBlockBurn); ok { + return x.WorldBlockBurn + } } return nil } func (x *EventEnvelope) GetWorldCropTrample() *WorldCropTrampleEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldCropTrample); ok { - return x.WorldCropTrample + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldCropTrample); ok { + return x.WorldCropTrample + } } return nil } func (x *EventEnvelope) GetWorldLeavesDecay() *WorldLeavesDecayEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldLeavesDecay); ok { - return x.WorldLeavesDecay + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldLeavesDecay); ok { + return x.WorldLeavesDecay + } } return nil } func (x *EventEnvelope) GetWorldEntitySpawn() *WorldEntitySpawnEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldEntitySpawn); ok { - return x.WorldEntitySpawn + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldEntitySpawn); ok { + return x.WorldEntitySpawn + } } return nil } func (x *EventEnvelope) GetWorldEntityDespawn() *WorldEntityDespawnEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldEntityDespawn); ok { - return x.WorldEntityDespawn + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldEntityDespawn); ok { + return x.WorldEntityDespawn + } } return nil } func (x *EventEnvelope) GetWorldExplosion() *WorldExplosionEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldExplosion); ok { - return x.WorldExplosion + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldExplosion); ok { + return x.WorldExplosion + } } return nil } func (x *EventEnvelope) GetWorldClose() *WorldCloseEvent { - if x, ok := x.GetPayload().(*EventEnvelope_WorldClose); ok { - return x.WorldClose + if x != nil { + if x, ok := x.Payload.(*EventEnvelope_WorldClose); ok { + return x.WorldClose + } } return nil } @@ -1174,28 +1267,25 @@ func (*EventEnvelope_WorldExplosion) isEventEnvelope_Payload() {} func (*EventEnvelope_WorldClose) isEventEnvelope_Payload() {} type PluginToHost struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - // Types that are assignable to Payload: + state protoimpl.MessageState `protogen:"open.v1"` + PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + // Types that are valid to be assigned to Payload: // // *PluginToHost_Hello // *PluginToHost_Subscribe // *PluginToHost_Actions // *PluginToHost_Log // *PluginToHost_EventResult - Payload isPluginToHost_Payload `protobuf_oneof:"payload"` + Payload isPluginToHost_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginToHost) Reset() { *x = PluginToHost{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PluginToHost) String() string { @@ -1206,7 +1296,7 @@ func (*PluginToHost) ProtoMessage() {} func (x *PluginToHost) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1228,44 +1318,54 @@ func (x *PluginToHost) GetPluginId() string { return "" } -func (m *PluginToHost) GetPayload() isPluginToHost_Payload { - if m != nil { - return m.Payload +func (x *PluginToHost) GetPayload() isPluginToHost_Payload { + if x != nil { + return x.Payload } return nil } func (x *PluginToHost) GetHello() *PluginHello { - if x, ok := x.GetPayload().(*PluginToHost_Hello); ok { - return x.Hello + if x != nil { + if x, ok := x.Payload.(*PluginToHost_Hello); ok { + return x.Hello + } } return nil } func (x *PluginToHost) GetSubscribe() *EventSubscribe { - if x, ok := x.GetPayload().(*PluginToHost_Subscribe); ok { - return x.Subscribe + if x != nil { + if x, ok := x.Payload.(*PluginToHost_Subscribe); ok { + return x.Subscribe + } } return nil } func (x *PluginToHost) GetActions() *ActionBatch { - if x, ok := x.GetPayload().(*PluginToHost_Actions); ok { - return x.Actions + if x != nil { + if x, ok := x.Payload.(*PluginToHost_Actions); ok { + return x.Actions + } } return nil } func (x *PluginToHost) GetLog() *LogMessage { - if x, ok := x.GetPayload().(*PluginToHost_Log); ok { - return x.Log + if x != nil { + if x, ok := x.Payload.(*PluginToHost_Log); ok { + return x.Log + } } return nil } func (x *PluginToHost) GetEventResult() *EventResult { - if x, ok := x.GetPayload().(*PluginToHost_EventResult); ok { - return x.EventResult + if x != nil { + if x, ok := x.Payload.(*PluginToHost_EventResult); ok { + return x.EventResult + } } return nil } @@ -1305,24 +1405,21 @@ func (*PluginToHost_Log) isPluginToHost_Payload() {} func (*PluginToHost_EventResult) isPluginToHost_Payload() {} type PluginHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + ApiVersion string `protobuf:"bytes,3,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` + Commands []*CommandSpec `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"` + CustomItems []*CustomItemDefinition `protobuf:"bytes,5,rep,name=custom_items,json=customItems,proto3" json:"custom_items,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - ApiVersion string `protobuf:"bytes,3,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` - Commands []*CommandSpec `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"` - CustomItems []*CustomItemDefinition `protobuf:"bytes,5,rep,name=custom_items,json=customItems,proto3" json:"custom_items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PluginHello) Reset() { *x = PluginHello{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PluginHello) String() string { @@ -1333,7 +1430,7 @@ func (*PluginHello) ProtoMessage() {} func (x *PluginHello) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1384,21 +1481,18 @@ func (x *PluginHello) GetCustomItems() []*CustomItemDefinition { } type LogMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LogMessage) Reset() { *x = LogMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogMessage) String() string { @@ -1409,7 +1503,7 @@ func (*LogMessage) ProtoMessage() {} func (x *LogMessage) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1439,20 +1533,17 @@ func (x *LogMessage) GetMessage() string { } type EventSubscribe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Events []EventType `protobuf:"varint,1,rep,packed,name=events,proto3,enum=df.plugin.EventType" json:"events,omitempty"` unknownFields protoimpl.UnknownFields - - Events []EventType `protobuf:"varint,1,rep,packed,name=events,proto3,enum=df.plugin.EventType" json:"events,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EventSubscribe) Reset() { *x = EventSubscribe{} - if protoimpl.UnsafeEnabled { - mi := &file_plugin_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_plugin_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventSubscribe) String() string { @@ -1463,7 +1554,7 @@ func (*EventSubscribe) ProtoMessage() {} func (x *EventSubscribe) ProtoReflect() protoreflect.Message { mi := &file_plugin_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1487,426 +1578,180 @@ func (x *EventSubscribe) GetEvents() []EventType { var File_plugin_proto protoreflect.FileDescriptor -var file_plugin_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x1a, 0x13, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xcd, 0x01, 0x0a, 0x0c, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, - 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x6c, - 0x6c, 0x6f, 0x48, 0x00, 0x52, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x35, 0x0a, 0x08, 0x73, - 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x68, - 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, - 0x77, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x48, 0x00, 0x52, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, - 0x2c, 0x0a, 0x09, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, - 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x26, 0x0a, - 0x0c, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xe6, 0x1e, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, - 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, - 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4a, - 0x6f, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x71, 0x75, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, - 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x51, 0x75, 0x69, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, - 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x6f, 0x76, - 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6a, - 0x75, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4a, 0x75, 0x6d, 0x70, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4a, - 0x75, 0x6d, 0x70, 0x12, 0x49, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x74, 0x65, - 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, - 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x53, - 0x0a, 0x13, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, - 0x72, 0x6c, 0x64, 0x12, 0x56, 0x0a, 0x14, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x74, 0x6f, - 0x67, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, - 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x13, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x6e, 0x65, - 0x61, 0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x67, 0x67, 0x6c, - 0x65, 0x53, 0x6e, 0x65, 0x61, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x6e, 0x65, 0x61, 0x6b, - 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x68, 0x61, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, 0x12, 0x4a, 0x0a, 0x10, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x6f, 0x64, 0x5f, 0x6c, 0x6f, 0x73, 0x73, - 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, - 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x46, 0x6f, 0x6f, 0x64, 0x4c, 0x6f, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x48, 0x65, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x68, 0x75, 0x72, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, - 0x75, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x48, 0x75, 0x72, 0x74, 0x12, 0x40, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x64, 0x65, 0x61, 0x74, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, - 0x65, 0x61, 0x74, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x44, 0x65, 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, - 0x12, 0x50, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x6b, 0x69, 0x6e, 0x5f, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, - 0x6b, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6b, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x12, 0x5c, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x72, - 0x65, 0x5f, 0x65, 0x78, 0x74, 0x69, 0x6e, 0x67, 0x75, 0x69, 0x73, 0x68, 0x18, 0x19, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x69, 0x72, 0x65, 0x45, 0x78, 0x74, 0x69, 0x6e, 0x67, 0x75, - 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x46, 0x69, 0x72, 0x65, 0x45, 0x78, 0x74, 0x69, 0x6e, 0x67, 0x75, 0x69, 0x73, 0x68, - 0x12, 0x50, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x12, 0x3d, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, 0x72, 0x65, 0x61, - 0x6b, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x12, 0x50, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6c, - 0x61, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x69, 0x63, 0x6b, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, - 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x69, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x69, - 0x63, 0x6b, 0x12, 0x47, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, - 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, - 0x65, 0x6d, 0x55, 0x73, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x18, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x6f, - 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x4f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, - 0x6d, 0x55, 0x73, 0x65, 0x4f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x61, 0x0a, 0x19, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x6f, - 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x4f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x4f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x53, - 0x0a, 0x13, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, - 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x13, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, - 0x65, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, - 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x14, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x5c, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, - 0x69, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x67, 0x61, 0x69, 0x6e, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x47, 0x61, 0x69, - 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x12, 0x4a, - 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x70, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x61, - 0x69, 0x72, 0x18, 0x25, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x68, - 0x41, 0x69, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x50, 0x75, 0x6e, 0x63, 0x68, 0x41, 0x69, 0x72, 0x12, 0x4a, 0x0a, 0x10, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x18, 0x26, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x64, 0x69, 0x74, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, - 0x67, 0x6e, 0x45, 0x64, 0x69, 0x74, 0x12, 0x60, 0x0a, 0x18, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x75, - 0x72, 0x6e, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x63, 0x74, 0x65, - 0x72, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x54, 0x75, 0x72, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x15, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x63, 0x74, 0x65, 0x72, 0x6e, - 0x50, 0x61, 0x67, 0x65, 0x54, 0x75, 0x72, 0x6e, 0x12, 0x50, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x28, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x6d, 0x61, 0x67, - 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x12, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, - 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x69, 0x63, - 0x6b, 0x75, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x5d, 0x0a, 0x17, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x68, 0x65, 0x6c, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, - 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x48, 0x65, 0x6c, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x6c, - 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x4a, 0x0a, 0x10, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x18, - 0x2b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x72, 0x6f, 0x70, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x74, 0x65, 0x6d, 0x44, 0x72, 0x6f, 0x70, 0x12, 0x49, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x2d, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x5f, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x2e, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x4d, 0x0a, 0x11, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x77, - 0x18, 0x46, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x46, 0x6c, - 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6c, 0x64, - 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x50, 0x0a, 0x12, 0x77, 0x6f, - 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x64, 0x65, 0x63, 0x61, 0x79, - 0x18, 0x47, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x44, 0x65, - 0x63, 0x61, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x44, 0x65, 0x63, 0x61, 0x79, 0x12, 0x53, 0x0a, 0x13, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x68, 0x61, 0x72, - 0x64, 0x65, 0x6e, 0x18, 0x48, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, - 0x64, 0x48, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x48, 0x61, 0x72, 0x64, 0x65, - 0x6e, 0x12, 0x3d, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x73, 0x6f, 0x75, 0x6e, 0x64, - 0x18, 0x49, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x6e, 0x64, - 0x12, 0x4d, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x5f, 0x73, - 0x70, 0x72, 0x65, 0x61, 0x64, 0x18, 0x4a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x46, 0x69, 0x72, - 0x65, 0x53, 0x70, 0x72, 0x65, 0x61, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0f, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x46, 0x69, 0x72, 0x65, 0x53, 0x70, 0x72, 0x65, 0x61, 0x64, 0x12, - 0x4a, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, - 0x75, 0x72, 0x6e, 0x18, 0x4b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x75, 0x72, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x50, 0x0a, 0x12, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x63, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x72, 0x61, 0x6d, 0x70, 0x6c, - 0x65, 0x18, 0x4c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x43, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, - 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x43, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x50, 0x0a, - 0x12, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x73, 0x5f, 0x64, 0x65, - 0x63, 0x61, 0x79, 0x18, 0x4d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x61, 0x76, 0x65, - 0x73, 0x44, 0x65, 0x63, 0x61, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x73, 0x44, 0x65, 0x63, 0x61, 0x79, 0x12, - 0x50, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, - 0x73, 0x70, 0x61, 0x77, 0x6e, 0x18, 0x4e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, - 0x10, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x70, 0x61, 0x77, - 0x6e, 0x12, 0x56, 0x0a, 0x14, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x5f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x18, 0x4f, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, - 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x44, 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x12, 0x49, 0x0a, 0x0f, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x50, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, - 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, 0x70, 0x6c, 0x6f, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x63, 0x6c, - 0x6f, 0x73, 0x65, 0x18, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x43, 0x6c, 0x6f, 0x73, 0x65, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x43, 0x6c, - 0x6f, 0x73, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xbd, - 0x02, 0x0a, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x05, - 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x65, - 0x6c, 0x6c, 0x6f, 0x48, 0x00, 0x52, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x39, 0x0a, 0x09, - 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x75, - 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x74, 0x63, 0x68, - 0x48, 0x00, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x03, 0x6c, - 0x6f, 0x67, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, - 0x00, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x3b, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xd4, - 0x01, 0x0a, 0x0b, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, - 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, - 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x53, 0x70, 0x65, 0x63, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x65, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x3c, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x3e, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x2a, 0x8a, 0x09, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, - 0x0e, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x10, - 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, - 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x49, - 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4d, 0x4f, - 0x56, 0x45, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4a, - 0x55, 0x4d, 0x50, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, - 0x54, 0x45, 0x4c, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, - 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, - 0x44, 0x10, 0x0f, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x54, 0x4f, - 0x47, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x50, 0x52, 0x49, 0x4e, 0x54, 0x10, 0x10, 0x12, 0x17, 0x0a, - 0x13, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x47, 0x47, 0x4c, 0x45, 0x5f, 0x53, - 0x4e, 0x45, 0x41, 0x4b, 0x10, 0x11, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x48, 0x41, 0x54, 0x10, 0x12, - 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x46, 0x4f, 0x4f, 0x44, 0x5f, - 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x13, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, - 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x10, 0x14, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x4c, 0x41, 0x59, 0x45, - 0x52, 0x5f, 0x48, 0x55, 0x52, 0x54, 0x10, 0x15, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x4c, 0x41, 0x59, - 0x45, 0x52, 0x5f, 0x44, 0x45, 0x41, 0x54, 0x48, 0x10, 0x16, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x4c, - 0x41, 0x59, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x41, 0x57, 0x4e, 0x10, 0x17, 0x12, 0x16, - 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x53, 0x4b, 0x49, 0x4e, 0x5f, 0x43, 0x48, - 0x41, 0x4e, 0x47, 0x45, 0x10, 0x18, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, - 0x5f, 0x46, 0x49, 0x52, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x49, 0x4e, 0x47, 0x55, 0x49, 0x53, 0x48, - 0x10, 0x19, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, - 0x52, 0x54, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x10, 0x1a, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, - 0x41, 0x59, 0x45, 0x52, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, - 0x10, 0x1b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x42, 0x4c, 0x4f, - 0x43, 0x4b, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x1c, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4c, - 0x41, 0x59, 0x45, 0x52, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x50, 0x49, 0x43, 0x4b, 0x10, - 0x1d, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x54, 0x45, 0x4d, - 0x5f, 0x55, 0x53, 0x45, 0x10, 0x1e, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, - 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x4e, 0x5f, 0x42, 0x4c, 0x4f, - 0x43, 0x4b, 0x10, 0x1f, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, - 0x54, 0x45, 0x4d, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, - 0x59, 0x10, 0x20, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x54, - 0x45, 0x4d, 0x5f, 0x52, 0x45, 0x4c, 0x45, 0x41, 0x53, 0x45, 0x10, 0x21, 0x12, 0x17, 0x0a, 0x13, - 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x4f, 0x4e, 0x53, - 0x55, 0x4d, 0x45, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, - 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x23, 0x12, - 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x52, 0x49, - 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x47, 0x41, 0x49, 0x4e, 0x10, 0x24, 0x12, 0x14, 0x0a, 0x10, 0x50, - 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x50, 0x55, 0x4e, 0x43, 0x48, 0x5f, 0x41, 0x49, 0x52, 0x10, - 0x25, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x53, 0x49, 0x47, 0x4e, - 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x26, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4c, 0x41, 0x59, 0x45, - 0x52, 0x5f, 0x4c, 0x45, 0x43, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x50, 0x41, 0x47, 0x45, 0x5f, 0x54, - 0x55, 0x52, 0x4e, 0x10, 0x27, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, - 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x44, 0x41, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x28, 0x12, 0x16, 0x0a, - 0x12, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x49, 0x43, - 0x4b, 0x55, 0x50, 0x10, 0x29, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, - 0x48, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, - 0x10, 0x2a, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x54, 0x45, - 0x4d, 0x5f, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x2b, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4c, 0x41, 0x59, - 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x2c, 0x12, 0x0b, 0x0a, - 0x07, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x2d, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, - 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x41, 0x47, 0x4e, 0x4f, 0x53, 0x54, 0x49, 0x43, 0x53, - 0x10, 0x2e, 0x12, 0x15, 0x0a, 0x11, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x49, 0x51, 0x55, - 0x49, 0x44, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x46, 0x12, 0x16, 0x0a, 0x12, 0x57, 0x4f, 0x52, - 0x4c, 0x44, 0x5f, 0x4c, 0x49, 0x51, 0x55, 0x49, 0x44, 0x5f, 0x44, 0x45, 0x43, 0x41, 0x59, 0x10, - 0x47, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x49, 0x51, 0x55, 0x49, - 0x44, 0x5f, 0x48, 0x41, 0x52, 0x44, 0x45, 0x4e, 0x10, 0x48, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x4f, - 0x52, 0x4c, 0x44, 0x5f, 0x53, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x49, 0x12, 0x15, 0x0a, 0x11, 0x57, - 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x46, 0x49, 0x52, 0x45, 0x5f, 0x53, 0x50, 0x52, 0x45, 0x41, 0x44, - 0x10, 0x4a, 0x12, 0x14, 0x0a, 0x10, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, - 0x4b, 0x5f, 0x42, 0x55, 0x52, 0x4e, 0x10, 0x4b, 0x12, 0x16, 0x0a, 0x12, 0x57, 0x4f, 0x52, 0x4c, - 0x44, 0x5f, 0x43, 0x52, 0x4f, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x10, 0x4c, - 0x12, 0x16, 0x0a, 0x12, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x53, - 0x5f, 0x44, 0x45, 0x43, 0x41, 0x59, 0x10, 0x4d, 0x12, 0x16, 0x0a, 0x12, 0x57, 0x4f, 0x52, 0x4c, - 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x50, 0x41, 0x57, 0x4e, 0x10, 0x4e, - 0x12, 0x18, 0x0a, 0x14, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, - 0x5f, 0x44, 0x45, 0x53, 0x50, 0x41, 0x57, 0x4e, 0x10, 0x4f, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x4f, - 0x52, 0x4c, 0x44, 0x5f, 0x45, 0x58, 0x50, 0x4c, 0x4f, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x50, 0x12, - 0x0f, 0x0a, 0x0b, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x51, - 0x32, 0x4d, 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x0b, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x17, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x48, 0x6f, - 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x48, - 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x28, 0x01, 0x30, 0x01, 0x42, - 0x8a, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x42, 0x0b, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x63, - 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, 0x03, 0x44, 0x50, 0x58, 0xaa, - 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, 0x09, 0x44, 0x66, - 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} +const file_plugin_proto_rawDesc = "" + + "\n" + + "\fplugin.proto\x12\tdf.plugin\x1a\x13player_events.proto\x1a\x12world_events.proto\x1a\rcommand.proto\x1a\ractions.proto\x1a\x0fmutations.proto\x1a\fcommon.proto\"\xcd\x01\n" + + "\fHostToPlugin\x12\x1b\n" + + "\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12,\n" + + "\x05hello\x18\n" + + " \x01(\v2\x14.df.plugin.HostHelloH\x00R\x05hello\x125\n" + + "\bshutdown\x18\v \x01(\v2\x17.df.plugin.HostShutdownH\x00R\bshutdown\x120\n" + + "\x05event\x18\x14 \x01(\v2\x18.df.plugin.EventEnvelopeH\x00R\x05eventB\t\n" + + "\apayload\",\n" + + "\tHostHello\x12\x1f\n" + + "\vapi_version\x18\x01 \x01(\tR\n" + + "apiVersion\"&\n" + + "\fHostShutdown\x12\x16\n" + + "\x06reason\x18\x01 \x01(\tR\x06reason\"\xe6\x1e\n" + + "\rEventEnvelope\x12\x19\n" + + "\bevent_id\x18\x01 \x01(\tR\aeventId\x12(\n" + + "\x04type\x18\x02 \x01(\x0e2\x14.df.plugin.EventTypeR\x04type\x12)\n" + + "\x10expects_response\x18\x03 \x01(\bR\x0fexpectsResponse\x12=\n" + + "\vplayer_join\x18\n" + + " \x01(\v2\x1a.df.plugin.PlayerJoinEventH\x00R\n" + + "playerJoin\x12=\n" + + "\vplayer_quit\x18\v \x01(\v2\x1a.df.plugin.PlayerQuitEventH\x00R\n" + + "playerQuit\x12=\n" + + "\vplayer_move\x18\f \x01(\v2\x1a.df.plugin.PlayerMoveEventH\x00R\n" + + "playerMove\x12=\n" + + "\vplayer_jump\x18\r \x01(\v2\x1a.df.plugin.PlayerJumpEventH\x00R\n" + + "playerJump\x12I\n" + + "\x0fplayer_teleport\x18\x0e \x01(\v2\x1e.df.plugin.PlayerTeleportEventH\x00R\x0eplayerTeleport\x12S\n" + + "\x13player_change_world\x18\x0f \x01(\v2!.df.plugin.PlayerChangeWorldEventH\x00R\x11playerChangeWorld\x12V\n" + + "\x14player_toggle_sprint\x18\x10 \x01(\v2\".df.plugin.PlayerToggleSprintEventH\x00R\x12playerToggleSprint\x12S\n" + + "\x13player_toggle_sneak\x18\x11 \x01(\v2!.df.plugin.PlayerToggleSneakEventH\x00R\x11playerToggleSneak\x12*\n" + + "\x04chat\x18\x12 \x01(\v2\x14.df.plugin.ChatEventH\x00R\x04chat\x12J\n" + + "\x10player_food_loss\x18\x13 \x01(\v2\x1e.df.plugin.PlayerFoodLossEventH\x00R\x0eplayerFoodLoss\x12=\n" + + "\vplayer_heal\x18\x14 \x01(\v2\x1a.df.plugin.PlayerHealEventH\x00R\n" + + "playerHeal\x12=\n" + + "\vplayer_hurt\x18\x15 \x01(\v2\x1a.df.plugin.PlayerHurtEventH\x00R\n" + + "playerHurt\x12@\n" + + "\fplayer_death\x18\x16 \x01(\v2\x1b.df.plugin.PlayerDeathEventH\x00R\vplayerDeath\x12F\n" + + "\x0eplayer_respawn\x18\x17 \x01(\v2\x1d.df.plugin.PlayerRespawnEventH\x00R\rplayerRespawn\x12P\n" + + "\x12player_skin_change\x18\x18 \x01(\v2 .df.plugin.PlayerSkinChangeEventH\x00R\x10playerSkinChange\x12\\\n" + + "\x16player_fire_extinguish\x18\x19 \x01(\v2$.df.plugin.PlayerFireExtinguishEventH\x00R\x14playerFireExtinguish\x12P\n" + + "\x12player_start_break\x18\x1a \x01(\v2 .df.plugin.PlayerStartBreakEventH\x00R\x10playerStartBreak\x12=\n" + + "\vblock_break\x18\x1b \x01(\v2\x1a.df.plugin.BlockBreakEventH\x00R\n" + + "blockBreak\x12P\n" + + "\x12player_block_place\x18\x1c \x01(\v2 .df.plugin.PlayerBlockPlaceEventH\x00R\x10playerBlockPlace\x12M\n" + + "\x11player_block_pick\x18\x1d \x01(\v2\x1f.df.plugin.PlayerBlockPickEventH\x00R\x0fplayerBlockPick\x12G\n" + + "\x0fplayer_item_use\x18\x1e \x01(\v2\x1d.df.plugin.PlayerItemUseEventH\x00R\rplayerItemUse\x12^\n" + + "\x18player_item_use_on_block\x18\x1f \x01(\v2$.df.plugin.PlayerItemUseOnBlockEventH\x00R\x14playerItemUseOnBlock\x12a\n" + + "\x19player_item_use_on_entity\x18 \x01(\v2%.df.plugin.PlayerItemUseOnEntityEventH\x00R\x15playerItemUseOnEntity\x12S\n" + + "\x13player_item_release\x18! \x01(\v2!.df.plugin.PlayerItemReleaseEventH\x00R\x11playerItemRelease\x12S\n" + + "\x13player_item_consume\x18\" \x01(\v2!.df.plugin.PlayerItemConsumeEventH\x00R\x11playerItemConsume\x12V\n" + + "\x14player_attack_entity\x18# \x01(\v2\".df.plugin.PlayerAttackEntityEventH\x00R\x12playerAttackEntity\x12\\\n" + + "\x16player_experience_gain\x18$ \x01(\v2$.df.plugin.PlayerExperienceGainEventH\x00R\x14playerExperienceGain\x12J\n" + + "\x10player_punch_air\x18% \x01(\v2\x1e.df.plugin.PlayerPunchAirEventH\x00R\x0eplayerPunchAir\x12J\n" + + "\x10player_sign_edit\x18& \x01(\v2\x1e.df.plugin.PlayerSignEditEventH\x00R\x0eplayerSignEdit\x12`\n" + + "\x18player_lectern_page_turn\x18' \x01(\v2%.df.plugin.PlayerLecternPageTurnEventH\x00R\x15playerLecternPageTurn\x12P\n" + + "\x12player_item_damage\x18( \x01(\v2 .df.plugin.PlayerItemDamageEventH\x00R\x10playerItemDamage\x12P\n" + + "\x12player_item_pickup\x18) \x01(\v2 .df.plugin.PlayerItemPickupEventH\x00R\x10playerItemPickup\x12]\n" + + "\x17player_held_slot_change\x18* \x01(\v2$.df.plugin.PlayerHeldSlotChangeEventH\x00R\x14playerHeldSlotChange\x12J\n" + + "\x10player_item_drop\x18+ \x01(\v2\x1e.df.plugin.PlayerItemDropEventH\x00R\x0eplayerItemDrop\x12I\n" + + "\x0fplayer_transfer\x18, \x01(\v2\x1e.df.plugin.PlayerTransferEventH\x00R\x0eplayerTransfer\x123\n" + + "\acommand\x18- \x01(\v2\x17.df.plugin.CommandEventH\x00R\acommand\x12R\n" + + "\x12player_diagnostics\x18. \x01(\v2!.df.plugin.PlayerDiagnosticsEventH\x00R\x11playerDiagnostics\x12M\n" + + "\x11world_liquid_flow\x18F \x01(\v2\x1f.df.plugin.WorldLiquidFlowEventH\x00R\x0fworldLiquidFlow\x12P\n" + + "\x12world_liquid_decay\x18G \x01(\v2 .df.plugin.WorldLiquidDecayEventH\x00R\x10worldLiquidDecay\x12S\n" + + "\x13world_liquid_harden\x18H \x01(\v2!.df.plugin.WorldLiquidHardenEventH\x00R\x11worldLiquidHarden\x12=\n" + + "\vworld_sound\x18I \x01(\v2\x1a.df.plugin.WorldSoundEventH\x00R\n" + + "worldSound\x12M\n" + + "\x11world_fire_spread\x18J \x01(\v2\x1f.df.plugin.WorldFireSpreadEventH\x00R\x0fworldFireSpread\x12J\n" + + "\x10world_block_burn\x18K \x01(\v2\x1e.df.plugin.WorldBlockBurnEventH\x00R\x0eworldBlockBurn\x12P\n" + + "\x12world_crop_trample\x18L \x01(\v2 .df.plugin.WorldCropTrampleEventH\x00R\x10worldCropTrample\x12P\n" + + "\x12world_leaves_decay\x18M \x01(\v2 .df.plugin.WorldLeavesDecayEventH\x00R\x10worldLeavesDecay\x12P\n" + + "\x12world_entity_spawn\x18N \x01(\v2 .df.plugin.WorldEntitySpawnEventH\x00R\x10worldEntitySpawn\x12V\n" + + "\x14world_entity_despawn\x18O \x01(\v2\".df.plugin.WorldEntityDespawnEventH\x00R\x12worldEntityDespawn\x12I\n" + + "\x0fworld_explosion\x18P \x01(\v2\x1e.df.plugin.WorldExplosionEventH\x00R\x0eworldExplosion\x12=\n" + + "\vworld_close\x18Q \x01(\v2\x1a.df.plugin.WorldCloseEventH\x00R\n" + + "worldCloseB\t\n" + + "\apayload\"\xbd\x02\n" + + "\fPluginToHost\x12\x1b\n" + + "\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12.\n" + + "\x05hello\x18\n" + + " \x01(\v2\x16.df.plugin.PluginHelloH\x00R\x05hello\x129\n" + + "\tsubscribe\x18\v \x01(\v2\x19.df.plugin.EventSubscribeH\x00R\tsubscribe\x122\n" + + "\aactions\x18\x14 \x01(\v2\x16.df.plugin.ActionBatchH\x00R\aactions\x12)\n" + + "\x03log\x18\x1e \x01(\v2\x15.df.plugin.LogMessageH\x00R\x03log\x12;\n" + + "\fevent_result\x18( \x01(\v2\x16.df.plugin.EventResultH\x00R\veventResultB\t\n" + + "\apayload\"\xd4\x01\n" + + "\vPluginHello\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x1f\n" + + "\vapi_version\x18\x03 \x01(\tR\n" + + "apiVersion\x122\n" + + "\bcommands\x18\x04 \x03(\v2\x16.df.plugin.CommandSpecR\bcommands\x12B\n" + + "\fcustom_items\x18\x05 \x03(\v2\x1f.df.plugin.CustomItemDefinitionR\vcustomItems\"<\n" + + "\n" + + "LogMessage\x12\x14\n" + + "\x05level\x18\x01 \x01(\tR\x05level\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\">\n" + + "\x0eEventSubscribe\x12,\n" + + "\x06events\x18\x01 \x03(\x0e2\x14.df.plugin.EventTypeR\x06events*\x8a\t\n" + + "\tEventType\x12\x1a\n" + + "\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n" + + "\x0eEVENT_TYPE_ALL\x10\x01\x12\x0f\n" + + "\vPLAYER_JOIN\x10\n" + + "\x12\x0f\n" + + "\vPLAYER_QUIT\x10\v\x12\x0f\n" + + "\vPLAYER_MOVE\x10\f\x12\x0f\n" + + "\vPLAYER_JUMP\x10\r\x12\x13\n" + + "\x0fPLAYER_TELEPORT\x10\x0e\x12\x17\n" + + "\x13PLAYER_CHANGE_WORLD\x10\x0f\x12\x18\n" + + "\x14PLAYER_TOGGLE_SPRINT\x10\x10\x12\x17\n" + + "\x13PLAYER_TOGGLE_SNEAK\x10\x11\x12\b\n" + + "\x04CHAT\x10\x12\x12\x14\n" + + "\x10PLAYER_FOOD_LOSS\x10\x13\x12\x0f\n" + + "\vPLAYER_HEAL\x10\x14\x12\x0f\n" + + "\vPLAYER_HURT\x10\x15\x12\x10\n" + + "\fPLAYER_DEATH\x10\x16\x12\x12\n" + + "\x0ePLAYER_RESPAWN\x10\x17\x12\x16\n" + + "\x12PLAYER_SKIN_CHANGE\x10\x18\x12\x1a\n" + + "\x16PLAYER_FIRE_EXTINGUISH\x10\x19\x12\x16\n" + + "\x12PLAYER_START_BREAK\x10\x1a\x12\x16\n" + + "\x12PLAYER_BLOCK_BREAK\x10\x1b\x12\x16\n" + + "\x12PLAYER_BLOCK_PLACE\x10\x1c\x12\x15\n" + + "\x11PLAYER_BLOCK_PICK\x10\x1d\x12\x13\n" + + "\x0fPLAYER_ITEM_USE\x10\x1e\x12\x1c\n" + + "\x18PLAYER_ITEM_USE_ON_BLOCK\x10\x1f\x12\x1d\n" + + "\x19PLAYER_ITEM_USE_ON_ENTITY\x10 \x12\x17\n" + + "\x13PLAYER_ITEM_RELEASE\x10!\x12\x17\n" + + "\x13PLAYER_ITEM_CONSUME\x10\"\x12\x18\n" + + "\x14PLAYER_ATTACK_ENTITY\x10#\x12\x1a\n" + + "\x16PLAYER_EXPERIENCE_GAIN\x10$\x12\x14\n" + + "\x10PLAYER_PUNCH_AIR\x10%\x12\x14\n" + + "\x10PLAYER_SIGN_EDIT\x10&\x12\x1c\n" + + "\x18PLAYER_LECTERN_PAGE_TURN\x10'\x12\x16\n" + + "\x12PLAYER_ITEM_DAMAGE\x10(\x12\x16\n" + + "\x12PLAYER_ITEM_PICKUP\x10)\x12\x1b\n" + + "\x17PLAYER_HELD_SLOT_CHANGE\x10*\x12\x14\n" + + "\x10PLAYER_ITEM_DROP\x10+\x12\x13\n" + + "\x0fPLAYER_TRANSFER\x10,\x12\v\n" + + "\aCOMMAND\x10-\x12\x16\n" + + "\x12PLAYER_DIAGNOSTICS\x10.\x12\x15\n" + + "\x11WORLD_LIQUID_FLOW\x10F\x12\x16\n" + + "\x12WORLD_LIQUID_DECAY\x10G\x12\x17\n" + + "\x13WORLD_LIQUID_HARDEN\x10H\x12\x0f\n" + + "\vWORLD_SOUND\x10I\x12\x15\n" + + "\x11WORLD_FIRE_SPREAD\x10J\x12\x14\n" + + "\x10WORLD_BLOCK_BURN\x10K\x12\x16\n" + + "\x12WORLD_CROP_TRAMPLE\x10L\x12\x16\n" + + "\x12WORLD_LEAVES_DECAY\x10M\x12\x16\n" + + "\x12WORLD_ENTITY_SPAWN\x10N\x12\x18\n" + + "\x14WORLD_ENTITY_DESPAWN\x10O\x12\x13\n" + + "\x0fWORLD_EXPLOSION\x10P\x12\x0f\n" + + "\vWORLD_CLOSE\x10Q2M\n" + + "\x06Plugin\x12C\n" + + "\vEventStream\x12\x17.df.plugin.PluginToHost\x1a\x17.df.plugin.HostToPlugin(\x010\x01B\x8a\x01\n" + + "\rcom.df.pluginB\vPluginProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_plugin_proto_rawDescOnce sync.Once - file_plugin_proto_rawDescData = file_plugin_proto_rawDesc + file_plugin_proto_rawDescData []byte ) func file_plugin_proto_rawDescGZIP() []byte { file_plugin_proto_rawDescOnce.Do(func() { - file_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_plugin_proto_rawDescData) + file_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_plugin_proto_rawDesc), len(file_plugin_proto_rawDesc))) }) return file_plugin_proto_rawDescData } var file_plugin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_plugin_proto_goTypes = []interface{}{ +var file_plugin_proto_goTypes = []any{ (EventType)(0), // 0: df.plugin.EventType (*HostToPlugin)(nil), // 1: df.plugin.HostToPlugin (*HostHello)(nil), // 2: df.plugin.HostHello @@ -2052,110 +1897,12 @@ func file_plugin_proto_init() { file_actions_proto_init() file_mutations_proto_init() file_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HostToPlugin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HostHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HostShutdown); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventEnvelope); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PluginToHost); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PluginHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_plugin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventSubscribe); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_plugin_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_plugin_proto_msgTypes[0].OneofWrappers = []any{ (*HostToPlugin_Hello)(nil), (*HostToPlugin_Shutdown)(nil), (*HostToPlugin_Event)(nil), } - file_plugin_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_plugin_proto_msgTypes[3].OneofWrappers = []any{ (*EventEnvelope_PlayerJoin)(nil), (*EventEnvelope_PlayerQuit)(nil), (*EventEnvelope_PlayerMove)(nil), @@ -2206,7 +1953,7 @@ func file_plugin_proto_init() { (*EventEnvelope_WorldExplosion)(nil), (*EventEnvelope_WorldClose)(nil), } - file_plugin_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_plugin_proto_msgTypes[4].OneofWrappers = []any{ (*PluginToHost_Hello)(nil), (*PluginToHost_Subscribe)(nil), (*PluginToHost_Actions)(nil), @@ -2217,7 +1964,7 @@ func file_plugin_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_plugin_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_plugin_proto_rawDesc), len(file_plugin_proto_rawDesc)), NumEnums: 1, NumMessages: 8, NumExtensions: 0, @@ -2229,7 +1976,6 @@ func file_plugin_proto_init() { MessageInfos: file_plugin_proto_msgTypes, }.Build() File_plugin_proto = out.File - file_plugin_proto_rawDesc = nil file_plugin_proto_goTypes = nil file_plugin_proto_depIdxs = nil } diff --git a/proto/generated/python/actions_pb2.py b/proto/generated/python/actions_pb2.py index 21af766..3dd2e29 100644 --- a/proto/generated/python/actions_pb2.py +++ b/proto/generated/python/actions_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: actions.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'actions.proto' ) diff --git a/proto/generated/python/command_pb2.py b/proto/generated/python/command_pb2.py index 5929b54..309625f 100644 --- a/proto/generated/python/command_pb2.py +++ b/proto/generated/python/command_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: command.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'command.proto' ) diff --git a/proto/generated/python/common_pb2.py b/proto/generated/python/common_pb2.py index bf49c95..5bf1f44 100644 --- a/proto/generated/python/common_pb2.py +++ b/proto/generated/python/common_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'common.proto' ) diff --git a/proto/generated/python/mutations_pb2.py b/proto/generated/python/mutations_pb2.py index a86d207..3908603 100644 --- a/proto/generated/python/mutations_pb2.py +++ b/proto/generated/python/mutations_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: mutations.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'mutations.proto' ) diff --git a/proto/generated/python/player_events_pb2.py b/proto/generated/python/player_events_pb2.py index 1e3b3c3..2f6b125 100644 --- a/proto/generated/python/player_events_pb2.py +++ b/proto/generated/python/player_events_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: player_events.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'player_events.proto' ) diff --git a/proto/generated/python/plugin_pb2.py b/proto/generated/python/plugin_pb2.py index b56bf5a..74b0332 100644 --- a/proto/generated/python/plugin_pb2.py +++ b/proto/generated/python/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugin.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'plugin.proto' ) diff --git a/proto/generated/python/world_events_pb2.py b/proto/generated/python/world_events_pb2.py index 9a5eef2..9b78755 100644 --- a/proto/generated/python/world_events_pb2.py +++ b/proto/generated/python/world_events_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: world_events.proto -# Protobuf Python Version: 6.33.0 +# Protobuf Python Version: 6.33.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 33, - 0, + 1, '', 'world_events.proto' ) diff --git a/proto/generated/world_events.pb.go b/proto/generated/world_events.pb.go index 791177e..61164c5 100644 --- a/proto/generated/world_events.pb.go +++ b/proto/generated/world_events.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.10 // protoc (unknown) // source: world_events.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,24 +22,21 @@ const ( ) type WorldLiquidFlowEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + From *BlockPos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To *BlockPos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Liquid *LiquidState `protobuf:"bytes,4,opt,name=liquid,proto3" json:"liquid,omitempty"` + Replaced *BlockState `protobuf:"bytes,5,opt,name=replaced,proto3" json:"replaced,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - From *BlockPos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To *BlockPos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - Liquid *LiquidState `protobuf:"bytes,4,opt,name=liquid,proto3" json:"liquid,omitempty"` - Replaced *BlockState `protobuf:"bytes,5,opt,name=replaced,proto3" json:"replaced,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldLiquidFlowEvent) Reset() { *x = WorldLiquidFlowEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldLiquidFlowEvent) String() string { @@ -49,7 +47,7 @@ func (*WorldLiquidFlowEvent) ProtoMessage() {} func (x *WorldLiquidFlowEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -100,23 +98,20 @@ func (x *WorldLiquidFlowEvent) GetReplaced() *BlockState { } type WorldLiquidDecayEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + Before *LiquidState `protobuf:"bytes,3,opt,name=before,proto3,oneof" json:"before,omitempty"` + After *LiquidState `protobuf:"bytes,4,opt,name=after,proto3,oneof" json:"after,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` - Before *LiquidState `protobuf:"bytes,3,opt,name=before,proto3,oneof" json:"before,omitempty"` - After *LiquidState `protobuf:"bytes,4,opt,name=after,proto3,oneof" json:"after,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldLiquidDecayEvent) Reset() { *x = WorldLiquidDecayEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldLiquidDecayEvent) String() string { @@ -127,7 +122,7 @@ func (*WorldLiquidDecayEvent) ProtoMessage() {} func (x *WorldLiquidDecayEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,24 +166,21 @@ func (x *WorldLiquidDecayEvent) GetAfter() *LiquidState { } type WorldLiquidHardenEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` - LiquidHardened *LiquidState `protobuf:"bytes,3,opt,name=liquid_hardened,json=liquidHardened,proto3,oneof" json:"liquid_hardened,omitempty"` - OtherLiquid *LiquidState `protobuf:"bytes,4,opt,name=other_liquid,json=otherLiquid,proto3,oneof" json:"other_liquid,omitempty"` - NewBlock *BlockState `protobuf:"bytes,5,opt,name=new_block,json=newBlock,proto3,oneof" json:"new_block,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + LiquidHardened *LiquidState `protobuf:"bytes,3,opt,name=liquid_hardened,json=liquidHardened,proto3,oneof" json:"liquid_hardened,omitempty"` + OtherLiquid *LiquidState `protobuf:"bytes,4,opt,name=other_liquid,json=otherLiquid,proto3,oneof" json:"other_liquid,omitempty"` + NewBlock *BlockState `protobuf:"bytes,5,opt,name=new_block,json=newBlock,proto3,oneof" json:"new_block,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorldLiquidHardenEvent) Reset() { *x = WorldLiquidHardenEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldLiquidHardenEvent) String() string { @@ -199,7 +191,7 @@ func (*WorldLiquidHardenEvent) ProtoMessage() {} func (x *WorldLiquidHardenEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -250,22 +242,19 @@ func (x *WorldLiquidHardenEvent) GetNewBlock() *BlockState { } type WorldSoundEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"` + Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"` - Position *Vec3 `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldSoundEvent) Reset() { *x = WorldSoundEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldSoundEvent) String() string { @@ -276,7 +265,7 @@ func (*WorldSoundEvent) ProtoMessage() {} func (x *WorldSoundEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -313,22 +302,19 @@ func (x *WorldSoundEvent) GetPosition() *Vec3 { } type WorldFireSpreadEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + From *BlockPos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To *BlockPos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - From *BlockPos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To *BlockPos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldFireSpreadEvent) Reset() { *x = WorldFireSpreadEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldFireSpreadEvent) String() string { @@ -339,7 +325,7 @@ func (*WorldFireSpreadEvent) ProtoMessage() {} func (x *WorldFireSpreadEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,21 +362,18 @@ func (x *WorldFireSpreadEvent) GetTo() *BlockPos { } type WorldBlockBurnEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldBlockBurnEvent) Reset() { *x = WorldBlockBurnEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldBlockBurnEvent) String() string { @@ -401,7 +384,7 @@ func (*WorldBlockBurnEvent) ProtoMessage() {} func (x *WorldBlockBurnEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -431,21 +414,18 @@ func (x *WorldBlockBurnEvent) GetPosition() *BlockPos { } type WorldCropTrampleEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldCropTrampleEvent) Reset() { *x = WorldCropTrampleEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldCropTrampleEvent) String() string { @@ -456,7 +436,7 @@ func (*WorldCropTrampleEvent) ProtoMessage() {} func (x *WorldCropTrampleEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,21 +466,18 @@ func (x *WorldCropTrampleEvent) GetPosition() *BlockPos { } type WorldLeavesDecayEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *BlockPos `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldLeavesDecayEvent) Reset() { *x = WorldLeavesDecayEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldLeavesDecayEvent) String() string { @@ -511,7 +488,7 @@ func (*WorldLeavesDecayEvent) ProtoMessage() {} func (x *WorldLeavesDecayEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -541,21 +518,18 @@ func (x *WorldLeavesDecayEvent) GetPosition() *BlockPos { } type WorldEntitySpawnEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Entity *EntityRef `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Entity *EntityRef `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldEntitySpawnEvent) Reset() { *x = WorldEntitySpawnEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldEntitySpawnEvent) String() string { @@ -566,7 +540,7 @@ func (*WorldEntitySpawnEvent) ProtoMessage() {} func (x *WorldEntitySpawnEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -596,21 +570,18 @@ func (x *WorldEntitySpawnEvent) GetEntity() *EntityRef { } type WorldEntityDespawnEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Entity *EntityRef `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Entity *EntityRef `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldEntityDespawnEvent) Reset() { *x = WorldEntityDespawnEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldEntityDespawnEvent) String() string { @@ -621,7 +592,7 @@ func (*WorldEntityDespawnEvent) ProtoMessage() {} func (x *WorldEntityDespawnEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -651,25 +622,22 @@ func (x *WorldEntityDespawnEvent) GetEntity() *EntityRef { } type WorldExplosionEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` - Position *Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` - AffectedEntities []*EntityRef `protobuf:"bytes,3,rep,name=affected_entities,json=affectedEntities,proto3" json:"affected_entities,omitempty"` - AffectedBlocks []*BlockPos `protobuf:"bytes,4,rep,name=affected_blocks,json=affectedBlocks,proto3" json:"affected_blocks,omitempty"` - ItemDropChance float64 `protobuf:"fixed64,5,opt,name=item_drop_chance,json=itemDropChance,proto3" json:"item_drop_chance,omitempty"` - SpawnFire bool `protobuf:"varint,6,opt,name=spawn_fire,json=spawnFire,proto3" json:"spawn_fire,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + Position *Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + AffectedEntities []*EntityRef `protobuf:"bytes,3,rep,name=affected_entities,json=affectedEntities,proto3" json:"affected_entities,omitempty"` + AffectedBlocks []*BlockPos `protobuf:"bytes,4,rep,name=affected_blocks,json=affectedBlocks,proto3" json:"affected_blocks,omitempty"` + ItemDropChance float64 `protobuf:"fixed64,5,opt,name=item_drop_chance,json=itemDropChance,proto3" json:"item_drop_chance,omitempty"` + SpawnFire bool `protobuf:"varint,6,opt,name=spawn_fire,json=spawnFire,proto3" json:"spawn_fire,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorldExplosionEvent) Reset() { *x = WorldExplosionEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldExplosionEvent) String() string { @@ -680,7 +648,7 @@ func (*WorldExplosionEvent) ProtoMessage() {} func (x *WorldExplosionEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -738,20 +706,17 @@ func (x *WorldExplosionEvent) GetSpawnFire() bool { } type WorldCloseEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` unknownFields protoimpl.UnknownFields - - World *WorldRef `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorldCloseEvent) Reset() { *x = WorldCloseEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_world_events_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_world_events_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldCloseEvent) String() string { @@ -762,7 +727,7 @@ func (*WorldCloseEvent) ProtoMessage() {} func (x *WorldCloseEvent) ProtoReflect() protoreflect.Message { mi := &file_world_events_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -786,166 +751,82 @@ func (x *WorldCloseEvent) GetWorld() *WorldRef { var File_world_events_proto protoreflect.FileDescriptor -var file_world_events_proto_rawDesc = []byte{ - 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x1a, - 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, - 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x46, 0x6c, 0x6f, - 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x02, 0x74, 0x6f, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x02, 0x74, 0x6f, 0x12, - 0x2e, 0x0a, 0x06, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x71, 0x75, - 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x12, - 0x31, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x69, 0x71, 0x75, - 0x69, 0x64, 0x44, 0x65, 0x63, 0x61, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, - 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, - 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, - 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x01, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0xe6, 0x02, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, - 0x69, 0x71, 0x75, 0x69, 0x64, 0x48, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, - 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, - 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, - 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0f, - 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x65, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, - 0x0e, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x48, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x65, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0c, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x71, 0x75, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x01, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x02, 0x52, 0x08, - 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, - 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x65, 0x64, 0x42, - 0x0f, 0x0a, 0x0d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, - 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x7f, - 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, - 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x6f, 0x75, - 0x6e, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x8f, 0x01, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x46, 0x69, 0x72, 0x65, 0x53, 0x70, 0x72, - 0x65, 0x61, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, - 0x72, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x02, - 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x02, 0x74, - 0x6f, 0x22, 0x71, 0x0a, 0x13, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, - 0x75, 0x72, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, - 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x43, 0x72, 0x6f, - 0x70, 0x54, 0x72, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, - 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, - 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x15, 0x57, 0x6f, 0x72, - 0x6c, 0x64, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x73, 0x44, 0x65, 0x63, 0x61, 0x79, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, - 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2f, 0x0a, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x70, - 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x70, 0x61, - 0x77, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, - 0x6c, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x66, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x22, 0x72, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, - 0x65, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, - 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, - 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x66, 0x52, 0x06, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x22, 0xb7, 0x02, 0x0a, 0x13, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x78, - 0x70, 0x6c, 0x6f, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, - 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x66, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x66, - 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x66, 0x2e, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x63, 0x33, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x65, 0x66, 0x52, 0x10, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0f, 0x61, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x50, 0x6f, 0x73, 0x52, 0x0e, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x64, 0x72, - 0x6f, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x0e, 0x69, 0x74, 0x65, 0x6d, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x46, 0x69, 0x72, 0x65, 0x22, 0x3c, - 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x29, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, - 0x6c, 0x64, 0x52, 0x65, 0x66, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x42, 0x8f, 0x01, 0x0a, - 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x66, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x10, - 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, - 0x65, 0x63, 0x6d, 0x63, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0xa2, 0x02, 0x03, 0x44, 0x50, - 0x58, 0xaa, 0x02, 0x09, 0x44, 0x66, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, 0x09, - 0x44, 0x66, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x15, 0x44, 0x66, 0x5c, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0a, 0x44, 0x66, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_world_events_proto_rawDesc = "" + + "\n" + + "\x12world_events.proto\x12\tdf.plugin\x1a\fcommon.proto\"\xf2\x01\n" + + "\x14WorldLiquidFlowEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12'\n" + + "\x04from\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\x04from\x12#\n" + + "\x02to\x18\x03 \x01(\v2\x13.df.plugin.BlockPosR\x02to\x12.\n" + + "\x06liquid\x18\x04 \x01(\v2\x16.df.plugin.LiquidStateR\x06liquid\x121\n" + + "\breplaced\x18\x05 \x01(\v2\x15.df.plugin.BlockStateR\breplaced\"\xf0\x01\n" + + "\x15WorldLiquidDecayEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12/\n" + + "\bposition\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x123\n" + + "\x06before\x18\x03 \x01(\v2\x16.df.plugin.LiquidStateH\x00R\x06before\x88\x01\x01\x121\n" + + "\x05after\x18\x04 \x01(\v2\x16.df.plugin.LiquidStateH\x01R\x05after\x88\x01\x01B\t\n" + + "\a_beforeB\b\n" + + "\x06_after\"\xe6\x02\n" + + "\x16WorldLiquidHardenEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12/\n" + + "\bposition\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\bposition\x12D\n" + + "\x0fliquid_hardened\x18\x03 \x01(\v2\x16.df.plugin.LiquidStateH\x00R\x0eliquidHardened\x88\x01\x01\x12>\n" + + "\fother_liquid\x18\x04 \x01(\v2\x16.df.plugin.LiquidStateH\x01R\votherLiquid\x88\x01\x01\x127\n" + + "\tnew_block\x18\x05 \x01(\v2\x15.df.plugin.BlockStateH\x02R\bnewBlock\x88\x01\x01B\x12\n" + + "\x10_liquid_hardenedB\x0f\n" + + "\r_other_liquidB\f\n" + + "\n" + + "_new_block\"\x7f\n" + + "\x0fWorldSoundEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12\x14\n" + + "\x05sound\x18\x02 \x01(\tR\x05sound\x12+\n" + + "\bposition\x18\x03 \x01(\v2\x0f.df.plugin.Vec3R\bposition\"\x8f\x01\n" + + "\x14WorldFireSpreadEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12'\n" + + "\x04from\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\x04from\x12#\n" + + "\x02to\x18\x03 \x01(\v2\x13.df.plugin.BlockPosR\x02to\"q\n" + + "\x13WorldBlockBurnEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12/\n" + + "\bposition\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"s\n" + + "\x15WorldCropTrampleEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12/\n" + + "\bposition\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"s\n" + + "\x15WorldLeavesDecayEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12/\n" + + "\bposition\x18\x02 \x01(\v2\x13.df.plugin.BlockPosR\bposition\"p\n" + + "\x15WorldEntitySpawnEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12,\n" + + "\x06entity\x18\x02 \x01(\v2\x14.df.plugin.EntityRefR\x06entity\"r\n" + + "\x17WorldEntityDespawnEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12,\n" + + "\x06entity\x18\x02 \x01(\v2\x14.df.plugin.EntityRefR\x06entity\"\xb7\x02\n" + + "\x13WorldExplosionEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05world\x12+\n" + + "\bposition\x18\x02 \x01(\v2\x0f.df.plugin.Vec3R\bposition\x12A\n" + + "\x11affected_entities\x18\x03 \x03(\v2\x14.df.plugin.EntityRefR\x10affectedEntities\x12<\n" + + "\x0faffected_blocks\x18\x04 \x03(\v2\x13.df.plugin.BlockPosR\x0eaffectedBlocks\x12(\n" + + "\x10item_drop_chance\x18\x05 \x01(\x01R\x0eitemDropChance\x12\x1d\n" + + "\n" + + "spawn_fire\x18\x06 \x01(\bR\tspawnFire\"<\n" + + "\x0fWorldCloseEvent\x12)\n" + + "\x05world\x18\x01 \x01(\v2\x13.df.plugin.WorldRefR\x05worldB\x8f\x01\n" + + "\rcom.df.pluginB\x10WorldEventsProtoP\x01Z'github.com/secmc/plugin/proto/generated\xa2\x02\x03DPX\xaa\x02\tDf.Plugin\xca\x02\tDf\\Plugin\xe2\x02\x15Df\\Plugin\\GPBMetadata\xea\x02\n" + + "Df::Pluginb\x06proto3" var ( file_world_events_proto_rawDescOnce sync.Once - file_world_events_proto_rawDescData = file_world_events_proto_rawDesc + file_world_events_proto_rawDescData []byte ) func file_world_events_proto_rawDescGZIP() []byte { file_world_events_proto_rawDescOnce.Do(func() { - file_world_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_world_events_proto_rawDescData) + file_world_events_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_world_events_proto_rawDesc), len(file_world_events_proto_rawDesc))) }) return file_world_events_proto_rawDescData } var file_world_events_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_world_events_proto_goTypes = []interface{}{ +var file_world_events_proto_goTypes = []any{ (*WorldLiquidFlowEvent)(nil), // 0: df.plugin.WorldLiquidFlowEvent (*WorldLiquidDecayEvent)(nil), // 1: df.plugin.WorldLiquidDecayEvent (*WorldLiquidHardenEvent)(nil), // 2: df.plugin.WorldLiquidHardenEvent @@ -1013,159 +894,13 @@ func file_world_events_proto_init() { return } file_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_world_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldLiquidFlowEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldLiquidDecayEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldLiquidHardenEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldSoundEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldFireSpreadEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldBlockBurnEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldCropTrampleEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldLeavesDecayEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldEntitySpawnEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldEntityDespawnEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldExplosionEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_world_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldCloseEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_world_events_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_world_events_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_world_events_proto_msgTypes[1].OneofWrappers = []any{} + file_world_events_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_world_events_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_world_events_proto_rawDesc), len(file_world_events_proto_rawDesc)), NumEnums: 0, NumMessages: 12, NumExtensions: 0, @@ -1176,7 +911,6 @@ func file_world_events_proto_init() { MessageInfos: file_world_events_proto_msgTypes, }.Build() File_world_events_proto = out.File - file_world_events_proto_rawDesc = nil file_world_events_proto_goTypes = nil file_world_events_proto_depIdxs = nil } diff --git a/proto/package.json b/proto/package.json deleted file mode 100644 index 6e9fba0..0000000 --- a/proto/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@dragonfly/proto", - "version": "1.0.0", - "private": true, - "scripts": { - "generate": "npm run generate:go && npm run generate:php && npm run generate:ts && npm run generate:py && npm run generate:cpp && npm run generate:rs", - "generate:go": "buf generate && cd ../ && go mod tidy", - "generate:php": "buf generate --template buf.gen.php.yaml", - "generate:ts": "buf generate --template buf.gen.ts.yaml && cd generated/ts && npm install && npm run build", - "generate:py": "buf generate --template buf.gen.py.yaml", - "generate:cpp": "buf generate --template buf.gen.cpp.yaml", - "generate:rs": "buf generate --template buf.gen.rs.yaml", - "lint": "buf lint", - "breaking": "buf breaking --against '.git#branch=main'" - }, - "devDependencies": { - "@bufbuild/buf": "^1.47.2" - } -} - diff --git a/scripts/post_generation.sh b/scripts/post_generation.sh new file mode 100755 index 0000000..d6f26ce --- /dev/null +++ b/scripts/post_generation.sh @@ -0,0 +1,8 @@ +cd proto/generated + +cd ts +npm install +npm run build + +cd .. +go mod tidy