generated from VLADIMIR/template
13666 lines
444 KiB
Go
13666 lines
444 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.36.0
|
|
// source: main.proto
|
|
|
|
// Contract rules:
|
|
// - fields inside each message are declared in ascending number order;
|
|
// - published field numbers are never renumbered or reused;
|
|
// - use ID, <name>ID and URL for abbreviation fields so generated clients
|
|
// keep the same naming convention across Go and TypeScript.
|
|
|
|
package proto
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
httpbody "google.golang.org/genproto/googleapis/api/httpbody"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ScreenMode int32
|
|
|
|
const (
|
|
ScreenMode_SCREEN_MODE_UNSPECIFIED ScreenMode = 0
|
|
ScreenMode_SCREEN_MODE_COVER ScreenMode = 1
|
|
ScreenMode_SCREEN_MODE_INTRO ScreenMode = 2
|
|
ScreenMode_SCREEN_MODE_INTRO_DONE ScreenMode = 3
|
|
ScreenMode_SCREEN_MODE_CONCLUSION ScreenMode = 4
|
|
ScreenMode_SCREEN_MODE_CONCLUSION_DONE ScreenMode = 5
|
|
ScreenMode_SCREEN_MODE_RESULTS ScreenMode = 6
|
|
ScreenMode_SCREEN_MODE_TIMER ScreenMode = 7
|
|
ScreenMode_SCREEN_MODE_TEXT ScreenMode = 8
|
|
)
|
|
|
|
// Enum value maps for ScreenMode.
|
|
var (
|
|
ScreenMode_name = map[int32]string{
|
|
0: "SCREEN_MODE_UNSPECIFIED",
|
|
1: "SCREEN_MODE_COVER",
|
|
2: "SCREEN_MODE_INTRO",
|
|
3: "SCREEN_MODE_INTRO_DONE",
|
|
4: "SCREEN_MODE_CONCLUSION",
|
|
5: "SCREEN_MODE_CONCLUSION_DONE",
|
|
6: "SCREEN_MODE_RESULTS",
|
|
7: "SCREEN_MODE_TIMER",
|
|
8: "SCREEN_MODE_TEXT",
|
|
}
|
|
ScreenMode_value = map[string]int32{
|
|
"SCREEN_MODE_UNSPECIFIED": 0,
|
|
"SCREEN_MODE_COVER": 1,
|
|
"SCREEN_MODE_INTRO": 2,
|
|
"SCREEN_MODE_INTRO_DONE": 3,
|
|
"SCREEN_MODE_CONCLUSION": 4,
|
|
"SCREEN_MODE_CONCLUSION_DONE": 5,
|
|
"SCREEN_MODE_RESULTS": 6,
|
|
"SCREEN_MODE_TIMER": 7,
|
|
"SCREEN_MODE_TEXT": 8,
|
|
}
|
|
)
|
|
|
|
func (x ScreenMode) Enum() *ScreenMode {
|
|
p := new(ScreenMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ScreenMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ScreenMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_main_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ScreenMode) Type() protoreflect.EnumType {
|
|
return &file_main_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ScreenMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenMode.Descriptor instead.
|
|
func (ScreenMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ScreenTimerState int32
|
|
|
|
const (
|
|
ScreenTimerState_SCREEN_TIMER_STATE_UNSPECIFIED ScreenTimerState = 0
|
|
ScreenTimerState_SCREEN_TIMER_STATE_STOPPED ScreenTimerState = 1
|
|
ScreenTimerState_SCREEN_TIMER_STATE_RUNNING ScreenTimerState = 2
|
|
ScreenTimerState_SCREEN_TIMER_STATE_PAUSED ScreenTimerState = 3
|
|
ScreenTimerState_SCREEN_TIMER_STATE_FINISHED ScreenTimerState = 4
|
|
)
|
|
|
|
// Enum value maps for ScreenTimerState.
|
|
var (
|
|
ScreenTimerState_name = map[int32]string{
|
|
0: "SCREEN_TIMER_STATE_UNSPECIFIED",
|
|
1: "SCREEN_TIMER_STATE_STOPPED",
|
|
2: "SCREEN_TIMER_STATE_RUNNING",
|
|
3: "SCREEN_TIMER_STATE_PAUSED",
|
|
4: "SCREEN_TIMER_STATE_FINISHED",
|
|
}
|
|
ScreenTimerState_value = map[string]int32{
|
|
"SCREEN_TIMER_STATE_UNSPECIFIED": 0,
|
|
"SCREEN_TIMER_STATE_STOPPED": 1,
|
|
"SCREEN_TIMER_STATE_RUNNING": 2,
|
|
"SCREEN_TIMER_STATE_PAUSED": 3,
|
|
"SCREEN_TIMER_STATE_FINISHED": 4,
|
|
}
|
|
)
|
|
|
|
func (x ScreenTimerState) Enum() *ScreenTimerState {
|
|
p := new(ScreenTimerState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ScreenTimerState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ScreenTimerState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_main_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ScreenTimerState) Type() protoreflect.EnumType {
|
|
return &file_main_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ScreenTimerState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenTimerState.Descriptor instead.
|
|
func (ScreenTimerState) EnumDescriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ScreenCommand int32
|
|
|
|
const (
|
|
ScreenCommand_SCREEN_COMMAND_UNSPECIFIED ScreenCommand = 0
|
|
ScreenCommand_SCREEN_COMMAND_PLAY ScreenCommand = 1
|
|
ScreenCommand_SCREEN_COMMAND_PAUSE ScreenCommand = 2
|
|
ScreenCommand_SCREEN_COMMAND_RESUME ScreenCommand = 3
|
|
ScreenCommand_SCREEN_COMMAND_STOP ScreenCommand = 4
|
|
ScreenCommand_SCREEN_COMMAND_REPLAY ScreenCommand = 5
|
|
ScreenCommand_SCREEN_COMMAND_SEEK ScreenCommand = 6
|
|
ScreenCommand_SCREEN_COMMAND_VOLUME ScreenCommand = 7
|
|
ScreenCommand_SCREEN_COMMAND_TIMER_START ScreenCommand = 8
|
|
ScreenCommand_SCREEN_COMMAND_TIMER_PAUSE ScreenCommand = 9
|
|
ScreenCommand_SCREEN_COMMAND_TIMER_RESUME ScreenCommand = 10
|
|
ScreenCommand_SCREEN_COMMAND_TIMER_RESET ScreenCommand = 11
|
|
)
|
|
|
|
// Enum value maps for ScreenCommand.
|
|
var (
|
|
ScreenCommand_name = map[int32]string{
|
|
0: "SCREEN_COMMAND_UNSPECIFIED",
|
|
1: "SCREEN_COMMAND_PLAY",
|
|
2: "SCREEN_COMMAND_PAUSE",
|
|
3: "SCREEN_COMMAND_RESUME",
|
|
4: "SCREEN_COMMAND_STOP",
|
|
5: "SCREEN_COMMAND_REPLAY",
|
|
6: "SCREEN_COMMAND_SEEK",
|
|
7: "SCREEN_COMMAND_VOLUME",
|
|
8: "SCREEN_COMMAND_TIMER_START",
|
|
9: "SCREEN_COMMAND_TIMER_PAUSE",
|
|
10: "SCREEN_COMMAND_TIMER_RESUME",
|
|
11: "SCREEN_COMMAND_TIMER_RESET",
|
|
}
|
|
ScreenCommand_value = map[string]int32{
|
|
"SCREEN_COMMAND_UNSPECIFIED": 0,
|
|
"SCREEN_COMMAND_PLAY": 1,
|
|
"SCREEN_COMMAND_PAUSE": 2,
|
|
"SCREEN_COMMAND_RESUME": 3,
|
|
"SCREEN_COMMAND_STOP": 4,
|
|
"SCREEN_COMMAND_REPLAY": 5,
|
|
"SCREEN_COMMAND_SEEK": 6,
|
|
"SCREEN_COMMAND_VOLUME": 7,
|
|
"SCREEN_COMMAND_TIMER_START": 8,
|
|
"SCREEN_COMMAND_TIMER_PAUSE": 9,
|
|
"SCREEN_COMMAND_TIMER_RESUME": 10,
|
|
"SCREEN_COMMAND_TIMER_RESET": 11,
|
|
}
|
|
)
|
|
|
|
func (x ScreenCommand) Enum() *ScreenCommand {
|
|
p := new(ScreenCommand)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ScreenCommand) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ScreenCommand) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_main_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (ScreenCommand) Type() protoreflect.EnumType {
|
|
return &file_main_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x ScreenCommand) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenCommand.Descriptor instead.
|
|
func (ScreenCommand) EnumDescriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type MusicPlaybackState int32
|
|
|
|
const (
|
|
MusicPlaybackState_MUSIC_PLAYBACK_UNSPECIFIED MusicPlaybackState = 0
|
|
MusicPlaybackState_MUSIC_PLAYBACK_STOPPED MusicPlaybackState = 1
|
|
MusicPlaybackState_MUSIC_PLAYBACK_PLAYING MusicPlaybackState = 2
|
|
MusicPlaybackState_MUSIC_PLAYBACK_PAUSED MusicPlaybackState = 3
|
|
)
|
|
|
|
// Enum value maps for MusicPlaybackState.
|
|
var (
|
|
MusicPlaybackState_name = map[int32]string{
|
|
0: "MUSIC_PLAYBACK_UNSPECIFIED",
|
|
1: "MUSIC_PLAYBACK_STOPPED",
|
|
2: "MUSIC_PLAYBACK_PLAYING",
|
|
3: "MUSIC_PLAYBACK_PAUSED",
|
|
}
|
|
MusicPlaybackState_value = map[string]int32{
|
|
"MUSIC_PLAYBACK_UNSPECIFIED": 0,
|
|
"MUSIC_PLAYBACK_STOPPED": 1,
|
|
"MUSIC_PLAYBACK_PLAYING": 2,
|
|
"MUSIC_PLAYBACK_PAUSED": 3,
|
|
}
|
|
)
|
|
|
|
func (x MusicPlaybackState) Enum() *MusicPlaybackState {
|
|
p := new(MusicPlaybackState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x MusicPlaybackState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (MusicPlaybackState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_main_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (MusicPlaybackState) Type() protoreflect.EnumType {
|
|
return &file_main_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x MusicPlaybackState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use MusicPlaybackState.Descriptor instead.
|
|
func (MusicPlaybackState) EnumDescriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type PingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingReq) Reset() {
|
|
*x = PingReq{}
|
|
mi := &file_main_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingReq) ProtoMessage() {}
|
|
|
|
func (x *PingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingReq.ProtoReflect.Descriptor instead.
|
|
func (*PingReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PingRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingRsp) Reset() {
|
|
*x = PingRsp{}
|
|
mi := &file_main_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingRsp) ProtoMessage() {}
|
|
|
|
func (x *PingRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingRsp.ProtoReflect.Descriptor instead.
|
|
func (*PingRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type EchoReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoReq) Reset() {
|
|
*x = EchoReq{}
|
|
mi := &file_main_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoReq) ProtoMessage() {}
|
|
|
|
func (x *EchoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EchoReq.ProtoReflect.Descriptor instead.
|
|
func (*EchoReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *EchoReq) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EchoRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoRsp) Reset() {
|
|
*x = EchoRsp{}
|
|
mi := &file_main_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoRsp) ProtoMessage() {}
|
|
|
|
func (x *EchoRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EchoRsp.ProtoReflect.Descriptor instead.
|
|
func (*EchoRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *EchoRsp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignupReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
AcceptTerms bool `protobuf:"varint,3,opt,name=accept_terms,json=acceptTerms,proto3" json:"accept_terms,omitempty"`
|
|
AcceptPrivacy bool `protobuf:"varint,4,opt,name=accept_privacy,json=acceptPrivacy,proto3" json:"accept_privacy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignupReq) Reset() {
|
|
*x = SignupReq{}
|
|
mi := &file_main_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignupReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignupReq) ProtoMessage() {}
|
|
|
|
func (x *SignupReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignupReq.ProtoReflect.Descriptor instead.
|
|
func (*SignupReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SignupReq) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignupReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignupReq) GetAcceptTerms() bool {
|
|
if x != nil {
|
|
return x.AcceptTerms
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SignupReq) GetAcceptPrivacy() bool {
|
|
if x != nil {
|
|
return x.AcceptPrivacy
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SignupRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignupRsp) Reset() {
|
|
*x = SignupRsp{}
|
|
mi := &file_main_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignupRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignupRsp) ProtoMessage() {}
|
|
|
|
func (x *SignupRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignupRsp.ProtoReflect.Descriptor instead.
|
|
func (*SignupRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type RefreshPasswordReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) Reset() {
|
|
*x = RefreshPasswordReq{}
|
|
mi := &file_main_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshPasswordReq) ProtoMessage() {}
|
|
|
|
func (x *RefreshPasswordReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshPasswordReq.ProtoReflect.Descriptor instead.
|
|
func (*RefreshPasswordReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshPasswordRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshPasswordRsp) Reset() {
|
|
*x = RefreshPasswordRsp{}
|
|
mi := &file_main_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshPasswordRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshPasswordRsp) ProtoMessage() {}
|
|
|
|
func (x *RefreshPasswordRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshPasswordRsp.ProtoReflect.Descriptor instead.
|
|
func (*RefreshPasswordRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type LoginReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginReq) Reset() {
|
|
*x = LoginReq{}
|
|
mi := &file_main_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginReq) ProtoMessage() {}
|
|
|
|
func (x *LoginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.
|
|
func (*LoginReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *LoginReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginRsp) Reset() {
|
|
*x = LoginRsp{}
|
|
mi := &file_main_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRsp) ProtoMessage() {}
|
|
|
|
func (x *LoginRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginRsp.ProtoReflect.Descriptor instead.
|
|
func (*LoginRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *LoginRsp) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRsp) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RefreshToken string `protobuf:"bytes,1,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshReq) Reset() {
|
|
*x = RefreshReq{}
|
|
mi := &file_main_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshReq) ProtoMessage() {}
|
|
|
|
func (x *RefreshReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshReq.ProtoReflect.Descriptor instead.
|
|
func (*RefreshReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RefreshReq) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshRsp) Reset() {
|
|
*x = RefreshRsp{}
|
|
mi := &file_main_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshRsp) ProtoMessage() {}
|
|
|
|
func (x *RefreshRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshRsp.ProtoReflect.Descriptor instead.
|
|
func (*RefreshRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RefreshRsp) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RefreshRsp) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Пароль подтверждает, что удаляет аккаунт его владелец, а не обладатель
|
|
// украденного access-токена (ст. 21 152-ФЗ). Передаётся HTTP-заголовком
|
|
// X-Password (пробрасывается матчером в cmd/evening_detective_server/main.go),
|
|
// чтобы креденшел не попадал в URL/query-параметры и логи.
|
|
type DeleteAccountReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteAccountReq) Reset() {
|
|
*x = DeleteAccountReq{}
|
|
mi := &file_main_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteAccountReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAccountReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteAccountReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteAccountReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAccountReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type DeleteAccountRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteAccountRsp) Reset() {
|
|
*x = DeleteAccountRsp{}
|
|
mi := &file_main_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteAccountRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAccountRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteAccountRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteAccountRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAccountRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
// Документы раздаются по постоянным URL, на которые ссылается сервис при
|
|
// фиксации акцептов соглашений (user_agreements) и форма регистрации.
|
|
type GetTermsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTermsReq) Reset() {
|
|
*x = GetTermsReq{}
|
|
mi := &file_main_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTermsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTermsReq) ProtoMessage() {}
|
|
|
|
func (x *GetTermsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTermsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTermsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
type GetTermsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTermsRsp) Reset() {
|
|
*x = GetTermsRsp{}
|
|
mi := &file_main_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTermsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTermsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTermsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTermsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTermsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetTermsRsp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPrivacyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPrivacyReq) Reset() {
|
|
*x = GetPrivacyReq{}
|
|
mi := &file_main_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPrivacyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPrivacyReq) ProtoMessage() {}
|
|
|
|
func (x *GetPrivacyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPrivacyReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPrivacyReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type GetPrivacyRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPrivacyRsp) Reset() {
|
|
*x = GetPrivacyRsp{}
|
|
mi := &file_main_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPrivacyRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPrivacyRsp) ProtoMessage() {}
|
|
|
|
func (x *GetPrivacyRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPrivacyRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetPrivacyRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetPrivacyRsp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetConsentReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConsentReq) Reset() {
|
|
*x = GetConsentReq{}
|
|
mi := &file_main_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConsentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConsentReq) ProtoMessage() {}
|
|
|
|
func (x *GetConsentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConsentReq.ProtoReflect.Descriptor instead.
|
|
func (*GetConsentReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type GetConsentRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConsentRsp) Reset() {
|
|
*x = GetConsentRsp{}
|
|
mi := &file_main_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConsentRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConsentRsp) ProtoMessage() {}
|
|
|
|
func (x *GetConsentRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConsentRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetConsentRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetConsentRsp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUsersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUsersReq) Reset() {
|
|
*x = GetUsersReq{}
|
|
mi := &file_main_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUsersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersReq) ProtoMessage() {}
|
|
|
|
func (x *GetUsersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUsersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type GetUsersRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUsersRsp) Reset() {
|
|
*x = GetUsersRsp{}
|
|
mi := &file_main_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUsersRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersRsp) ProtoMessage() {}
|
|
|
|
func (x *GetUsersRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUsersRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetUsersRsp) GetUsers() []*User {
|
|
if x != nil {
|
|
return x.Users
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type User struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
|
|
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
|
|
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *User) Reset() {
|
|
*x = User{}
|
|
mi := &file_main_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *User) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *User) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetRoles() []string {
|
|
if x != nil {
|
|
return x.Roles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *User) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *User) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserByIDReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserByIDReq) Reset() {
|
|
*x = GetUserByIDReq{}
|
|
mi := &file_main_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserByIDReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserByIDReq) ProtoMessage() {}
|
|
|
|
func (x *GetUserByIDReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserByIDReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUserByIDReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *GetUserByIDReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUserByIDRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserByIDRsp) Reset() {
|
|
*x = GetUserByIDRsp{}
|
|
mi := &file_main_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserByIDRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserByIDRsp) ProtoMessage() {}
|
|
|
|
func (x *GetUserByIDRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserByIDRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetUserByIDRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *GetUserByIDRsp) GetUser() *User {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMeReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMeReq) Reset() {
|
|
*x = GetMeReq{}
|
|
mi := &file_main_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMeReq) ProtoMessage() {}
|
|
|
|
func (x *GetMeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMeReq.ProtoReflect.Descriptor instead.
|
|
func (*GetMeReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
type GetMeRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMeRsp) Reset() {
|
|
*x = GetMeRsp{}
|
|
mi := &file_main_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMeRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMeRsp) ProtoMessage() {}
|
|
|
|
func (x *GetMeRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMeRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetMeRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *GetMeRsp) GetUser() *User {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChangeUserPasswordReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeUserPasswordReq) Reset() {
|
|
*x = ChangeUserPasswordReq{}
|
|
mi := &file_main_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeUserPasswordReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeUserPasswordReq) ProtoMessage() {}
|
|
|
|
func (x *ChangeUserPasswordReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangeUserPasswordReq.ProtoReflect.Descriptor instead.
|
|
func (*ChangeUserPasswordReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ChangeUserPasswordReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChangeUserPasswordReq) GetNewPassword() string {
|
|
if x != nil {
|
|
return x.NewPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ChangeUserPasswordRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeUserPasswordRsp) Reset() {
|
|
*x = ChangeUserPasswordRsp{}
|
|
mi := &file_main_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeUserPasswordRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeUserPasswordRsp) ProtoMessage() {}
|
|
|
|
func (x *ChangeUserPasswordRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangeUserPasswordRsp.ProtoReflect.Descriptor instead.
|
|
func (*ChangeUserPasswordRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
type AddUserRoleReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserRoleReq) Reset() {
|
|
*x = AddUserRoleReq{}
|
|
mi := &file_main_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserRoleReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserRoleReq) ProtoMessage() {}
|
|
|
|
func (x *AddUserRoleReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddUserRoleReq.ProtoReflect.Descriptor instead.
|
|
func (*AddUserRoleReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *AddUserRoleReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserRoleReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddUserRoleRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserRoleRsp) Reset() {
|
|
*x = AddUserRoleRsp{}
|
|
mi := &file_main_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserRoleRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserRoleRsp) ProtoMessage() {}
|
|
|
|
func (x *AddUserRoleRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddUserRoleRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddUserRoleRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
type DeleteUserRoleReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) Reset() {
|
|
*x = DeleteUserRoleReq{}
|
|
mi := &file_main_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUserRoleReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteUserRoleReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteUserRoleReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUserRoleReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserRoleRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUserRoleRsp) Reset() {
|
|
*x = DeleteUserRoleRsp{}
|
|
mi := &file_main_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUserRoleRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUserRoleRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteUserRoleRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteUserRoleRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUserRoleRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
type GetPermissionsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionsReq) Reset() {
|
|
*x = GetPermissionsReq{}
|
|
mi := &file_main_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionsReq) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPermissionsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
type GetPermissionsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
// Actual server environment: prod or venue.
|
|
Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) Reset() {
|
|
*x = GetPermissionsRsp{}
|
|
mi := &file_main_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPermissionsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) GetEnvironment() string {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UploadFileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadFileReq) Reset() {
|
|
*x = UploadFileReq{}
|
|
mi := &file_main_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadFileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadFileReq) ProtoMessage() {}
|
|
|
|
func (x *UploadFileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadFileReq.ProtoReflect.Descriptor instead.
|
|
func (*UploadFileReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *UploadFileReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadFileReq) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UploadFileRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
// Тип загруженного файла: image | pdf | audio | video (определяется сервером по
|
|
// содержимому). Удобен редактору для предзаполнения file_type улики.
|
|
FileType string `protobuf:"bytes,2,opt,name=file_type,proto3" json:"file_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadFileRsp) Reset() {
|
|
*x = UploadFileRsp{}
|
|
mi := &file_main_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadFileRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadFileRsp) ProtoMessage() {}
|
|
|
|
func (x *UploadFileRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadFileRsp.ProtoReflect.Descriptor instead.
|
|
func (*UploadFileRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *UploadFileRsp) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadFileRsp) GetFileType() string {
|
|
if x != nil {
|
|
return x.FileType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DownloadFileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadFileReq) Reset() {
|
|
*x = DownloadFileReq{}
|
|
mi := &file_main_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadFileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadFileReq) ProtoMessage() {}
|
|
|
|
func (x *DownloadFileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DownloadFileReq.ProtoReflect.Descriptor instead.
|
|
func (*DownloadFileReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *DownloadFileReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PlaylistTrack struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PlaylistTrack) Reset() {
|
|
*x = PlaylistTrack{}
|
|
mi := &file_main_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PlaylistTrack) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlaylistTrack) ProtoMessage() {}
|
|
|
|
func (x *PlaylistTrack) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PlaylistTrack.ProtoReflect.Descriptor instead.
|
|
func (*PlaylistTrack) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *PlaylistTrack) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlaylistTrack) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlaylistTrack) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlaylistTrack) GetPosition() int32 {
|
|
if x != nil {
|
|
return x.Position
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Playlist struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Tracks []*PlaylistTrack `protobuf:"bytes,3,rep,name=tracks,proto3" json:"tracks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Playlist) Reset() {
|
|
*x = Playlist{}
|
|
mi := &file_main_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Playlist) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Playlist) ProtoMessage() {}
|
|
|
|
func (x *Playlist) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Playlist.ProtoReflect.Descriptor instead.
|
|
func (*Playlist) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *Playlist) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Playlist) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Playlist) GetTracks() []*PlaylistTrack {
|
|
if x != nil {
|
|
return x.Tracks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPlaylistsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlaylistsReq) Reset() {
|
|
*x = GetPlaylistsReq{}
|
|
mi := &file_main_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaylistsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaylistsReq) ProtoMessage() {}
|
|
|
|
func (x *GetPlaylistsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaylistsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaylistsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
type GetPlaylistsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlists []*Playlist `protobuf:"bytes,1,rep,name=playlists,proto3" json:"playlists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlaylistsRsp) Reset() {
|
|
*x = GetPlaylistsRsp{}
|
|
mi := &file_main_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaylistsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaylistsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetPlaylistsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaylistsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaylistsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *GetPlaylistsRsp) GetPlaylists() []*Playlist {
|
|
if x != nil {
|
|
return x.Playlists
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreatePlaylistReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreatePlaylistReq) Reset() {
|
|
*x = CreatePlaylistReq{}
|
|
mi := &file_main_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreatePlaylistReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePlaylistReq) ProtoMessage() {}
|
|
|
|
func (x *CreatePlaylistReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePlaylistReq.ProtoReflect.Descriptor instead.
|
|
func (*CreatePlaylistReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *CreatePlaylistReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreatePlaylistRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreatePlaylistRsp) Reset() {
|
|
*x = CreatePlaylistRsp{}
|
|
mi := &file_main_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreatePlaylistRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePlaylistRsp) ProtoMessage() {}
|
|
|
|
func (x *CreatePlaylistRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePlaylistRsp.ProtoReflect.Descriptor instead.
|
|
func (*CreatePlaylistRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *CreatePlaylistRsp) GetPlaylist() *Playlist {
|
|
if x != nil {
|
|
return x.Playlist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdatePlaylistReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlaylistReq) Reset() {
|
|
*x = UpdatePlaylistReq{}
|
|
mi := &file_main_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlaylistReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlaylistReq) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlaylistReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdatePlaylistReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlaylistReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *UpdatePlaylistReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlaylistReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdatePlaylistRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlaylistRsp) Reset() {
|
|
*x = UpdatePlaylistRsp{}
|
|
mi := &file_main_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlaylistRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlaylistRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlaylistRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdatePlaylistRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlaylistRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *UpdatePlaylistRsp) GetPlaylist() *Playlist {
|
|
if x != nil {
|
|
return x.Playlist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeletePlaylistReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaylistReq) Reset() {
|
|
*x = DeletePlaylistReq{}
|
|
mi := &file_main_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaylistReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaylistReq) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaylistReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaylistReq.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaylistReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *DeletePlaylistReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePlaylistRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaylistRsp) Reset() {
|
|
*x = DeletePlaylistRsp{}
|
|
mi := &file_main_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaylistRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaylistRsp) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaylistRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaylistRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaylistRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
type UploadPlaylistTrackReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlaylistID int32 `protobuf:"varint,1,opt,name=playlistID,proto3" json:"playlistID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) Reset() {
|
|
*x = UploadPlaylistTrackReq{}
|
|
mi := &file_main_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadPlaylistTrackReq) ProtoMessage() {}
|
|
|
|
func (x *UploadPlaylistTrackReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadPlaylistTrackReq.ProtoReflect.Descriptor instead.
|
|
func (*UploadPlaylistTrackReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) GetPlaylistID() int32 {
|
|
if x != nil {
|
|
return x.PlaylistID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackReq) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UploadPlaylistTrackRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackRsp) Reset() {
|
|
*x = UploadPlaylistTrackRsp{}
|
|
mi := &file_main_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadPlaylistTrackRsp) ProtoMessage() {}
|
|
|
|
func (x *UploadPlaylistTrackRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadPlaylistTrackRsp.ProtoReflect.Descriptor instead.
|
|
func (*UploadPlaylistTrackRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *UploadPlaylistTrackRsp) GetPlaylist() *Playlist {
|
|
if x != nil {
|
|
return x.Playlist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeletePlaylistTrackReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlaylistID int32 `protobuf:"varint,1,opt,name=playlistID,proto3" json:"playlistID,omitempty"`
|
|
TrackID int32 `protobuf:"varint,2,opt,name=trackID,proto3" json:"trackID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackReq) Reset() {
|
|
*x = DeletePlaylistTrackReq{}
|
|
mi := &file_main_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaylistTrackReq) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaylistTrackReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaylistTrackReq.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaylistTrackReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackReq) GetPlaylistID() int32 {
|
|
if x != nil {
|
|
return x.PlaylistID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackReq) GetTrackID() int32 {
|
|
if x != nil {
|
|
return x.TrackID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePlaylistTrackRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackRsp) Reset() {
|
|
*x = DeletePlaylistTrackRsp{}
|
|
mi := &file_main_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaylistTrackRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaylistTrackRsp) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaylistTrackRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaylistTrackRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaylistTrackRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
type SetScenarioPlaylistReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
PlaylistID int32 `protobuf:"varint,2,opt,name=playlistID,proto3" json:"playlistID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistReq) Reset() {
|
|
*x = SetScenarioPlaylistReq{}
|
|
mi := &file_main_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScenarioPlaylistReq) ProtoMessage() {}
|
|
|
|
func (x *SetScenarioPlaylistReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScenarioPlaylistReq.ProtoReflect.Descriptor instead.
|
|
func (*SetScenarioPlaylistReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistReq) GetPlaylistID() int32 {
|
|
if x != nil {
|
|
return x.PlaylistID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetScenarioPlaylistRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistRsp) Reset() {
|
|
*x = SetScenarioPlaylistRsp{}
|
|
mi := &file_main_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScenarioPlaylistRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScenarioPlaylistRsp) ProtoMessage() {}
|
|
|
|
func (x *SetScenarioPlaylistRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScenarioPlaylistRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetScenarioPlaylistRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
type AddScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioReq) Reset() {
|
|
*x = AddScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *AddScenarioReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioRsp) Reset() {
|
|
*x = AddScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *AddScenarioRsp) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetMyScenariosReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyScenariosReq) Reset() {
|
|
*x = GetMyScenariosReq{}
|
|
mi := &file_main_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyScenariosReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyScenariosReq) ProtoMessage() {}
|
|
|
|
func (x *GetMyScenariosReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMyScenariosReq.ProtoReflect.Descriptor instead.
|
|
func (*GetMyScenariosReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
type GetMyScenariosRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scenarios []*Scenario `protobuf:"bytes,1,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) Reset() {
|
|
*x = GetMyScenariosRsp{}
|
|
mi := &file_main_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyScenariosRsp) ProtoMessage() {}
|
|
|
|
func (x *GetMyScenariosRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMyScenariosRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetMyScenariosRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) GetScenarios() []*Scenario {
|
|
if x != nil {
|
|
return x.Scenarios
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetScenariosCatalogReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenariosCatalogReq) Reset() {
|
|
*x = GetScenariosCatalogReq{}
|
|
mi := &file_main_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenariosCatalogReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenariosCatalogReq) ProtoMessage() {}
|
|
|
|
func (x *GetScenariosCatalogReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScenariosCatalogReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScenariosCatalogReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
type GetScenariosCatalogRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scenarios []*Scenario `protobuf:"bytes,1,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenariosCatalogRsp) Reset() {
|
|
*x = GetScenariosCatalogRsp{}
|
|
mi := &file_main_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenariosCatalogRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenariosCatalogRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScenariosCatalogRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScenariosCatalogRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScenariosCatalogRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *GetScenariosCatalogRsp) GetScenarios() []*Scenario {
|
|
if x != nil {
|
|
return x.Scenarios
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenarioReq) Reset() {
|
|
*x = GetScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *GetScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *GetScenarioReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scenario *Scenario `protobuf:"bytes,1,opt,name=scenario,proto3" json:"scenario,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenarioRsp) Reset() {
|
|
*x = GetScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *GetScenarioRsp) GetScenario() *Scenario {
|
|
if x != nil {
|
|
return x.Scenario
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Scenario struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
Image *string `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
|
|
Story *Story `protobuf:"bytes,5,opt,name=story,proto3" json:"story,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
|
|
AverageRating float64 `protobuf:"fixed64,11,opt,name=average_rating,json=averageRating,proto3" json:"average_rating,omitempty"`
|
|
ReviewsCount int32 `protobuf:"varint,12,opt,name=reviews_count,json=reviewsCount,proto3" json:"reviews_count,omitempty"`
|
|
Difficulty string `protobuf:"bytes,13,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
|
|
MusicPlaylistId *int32 `protobuf:"varint,14,opt,name=music_playlist_id,proto3,oneof" json:"music_playlist_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Scenario) Reset() {
|
|
*x = Scenario{}
|
|
mi := &file_main_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Scenario) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Scenario) ProtoMessage() {}
|
|
|
|
func (x *Scenario) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Scenario.ProtoReflect.Descriptor instead.
|
|
func (*Scenario) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *Scenario) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Scenario) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetImage() string {
|
|
if x != nil && x.Image != nil {
|
|
return *x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetStory() *Story {
|
|
if x != nil {
|
|
return x.Story
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetAuthor() *User {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetPublishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.PublishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetAverageRating() float64 {
|
|
if x != nil {
|
|
return x.AverageRating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Scenario) GetReviewsCount() int32 {
|
|
if x != nil {
|
|
return x.ReviewsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Scenario) GetDifficulty() string {
|
|
if x != nil {
|
|
return x.Difficulty
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetMusicPlaylistId() int32 {
|
|
if x != nil && x.MusicPlaylistId != nil {
|
|
return *x.MusicPlaylistId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Story struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Places []*Place `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
|
|
Introduction *Introduction `protobuf:"bytes,2,opt,name=introduction,proto3" json:"introduction,omitempty"`
|
|
Questions []*Question `protobuf:"bytes,3,rep,name=questions,proto3" json:"questions,omitempty"`
|
|
Background string `protobuf:"bytes,4,opt,name=background,proto3" json:"background,omitempty"`
|
|
Conclusion *Conclusion `protobuf:"bytes,5,opt,name=conclusion,proto3" json:"conclusion,omitempty"` // Только в полном сценарии, игрокам не передаётся.
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Story) Reset() {
|
|
*x = Story{}
|
|
mi := &file_main_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Story) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Story) ProtoMessage() {}
|
|
|
|
func (x *Story) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Story.ProtoReflect.Descriptor instead.
|
|
func (*Story) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *Story) GetPlaces() []*Place {
|
|
if x != nil {
|
|
return x.Places
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Story) GetIntroduction() *Introduction {
|
|
if x != nil {
|
|
return x.Introduction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Story) GetQuestions() []*Question {
|
|
if x != nil {
|
|
return x.Questions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Story) GetBackground() string {
|
|
if x != nil {
|
|
return x.Background
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Story) GetConclusion() *Conclusion {
|
|
if x != nil {
|
|
return x.Conclusion
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Conclusion struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
Video string `protobuf:"bytes,2,opt,name=video,proto3" json:"video,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Conclusion) Reset() {
|
|
*x = Conclusion{}
|
|
mi := &file_main_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Conclusion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Conclusion) ProtoMessage() {}
|
|
|
|
func (x *Conclusion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Conclusion.ProtoReflect.Descriptor instead.
|
|
func (*Conclusion) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *Conclusion) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Conclusion) GetVideo() string {
|
|
if x != nil {
|
|
return x.Video
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Introduction struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
Audio string `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Introduction) Reset() {
|
|
*x = Introduction{}
|
|
mi := &file_main_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Introduction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Introduction) ProtoMessage() {}
|
|
|
|
func (x *Introduction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Introduction.ProtoReflect.Descriptor instead.
|
|
func (*Introduction) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *Introduction) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Introduction) GetAudio() string {
|
|
if x != nil {
|
|
return x.Audio
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Place struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
|
|
Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
|
|
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Applications []*Application `protobuf:"bytes,6,rep,name=applications,proto3" json:"applications,omitempty"`
|
|
Doors []*Door `protobuf:"bytes,7,rep,name=doors,proto3" json:"doors,omitempty"`
|
|
Keys []*Key `protobuf:"bytes,8,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Place) Reset() {
|
|
*x = Place{}
|
|
mi := &file_main_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Place) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Place) ProtoMessage() {}
|
|
|
|
func (x *Place) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Place.ProtoReflect.Descriptor instead.
|
|
func (*Place) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *Place) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Place) GetApplications() []*Application {
|
|
if x != nil {
|
|
return x.Applications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Place) GetDoors() []*Door {
|
|
if x != nil {
|
|
return x.Doors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Place) GetKeys() []*Key {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Application struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
// Тип файла улики: image | pdf | audio. Значение выводится сервером из
|
|
// расширения файла (см. file_storage.FileType); пустое значение возможно
|
|
// только для legacy-строк без расширения.
|
|
FileType string `protobuf:"bytes,3,opt,name=file_type,proto3" json:"file_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Application) Reset() {
|
|
*x = Application{}
|
|
mi := &file_main_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Application) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Application) ProtoMessage() {}
|
|
|
|
func (x *Application) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Application.ProtoReflect.Descriptor instead.
|
|
func (*Application) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *Application) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Application) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Application) GetFileType() string {
|
|
if x != nil {
|
|
return x.FileType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Door struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Keys []*Key `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Door) Reset() {
|
|
*x = Door{}
|
|
mi := &file_main_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Door) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Door) ProtoMessage() {}
|
|
|
|
func (x *Door) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Door.ProtoReflect.Descriptor instead.
|
|
func (*Door) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *Door) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Door) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Door) GetKeys() []*Key {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Key struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Key) Reset() {
|
|
*x = Key{}
|
|
mi := &file_main_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Key) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Key) ProtoMessage() {}
|
|
|
|
func (x *Key) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Key.ProtoReflect.Descriptor instead.
|
|
func (*Key) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *Key) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Вопрос дела - вопрос, на который команда должна ответить в конце игры.
|
|
// Правильный ответ (answer) виден только автору сценария и организаторам
|
|
// (при оценке ответов команд), команде не передаётся.
|
|
type Question struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Код вопроса - используется при отправке ответов командой
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
// Текст вопроса
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
|
|
// Правильный ответ (справка для организатора при оценке)
|
|
Answer string `protobuf:"bytes,3,opt,name=answer,proto3" json:"answer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Question) Reset() {
|
|
*x = Question{}
|
|
mi := &file_main_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Question) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Question) ProtoMessage() {}
|
|
|
|
func (x *Question) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[70]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Question.ProtoReflect.Descriptor instead.
|
|
func (*Question) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *Question) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Question) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Question) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Ответ команды на вопрос дела
|
|
type Answer struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Код вопроса
|
|
QuestionCode string `protobuf:"bytes,1,opt,name=questionCode,proto3" json:"questionCode,omitempty"`
|
|
// Текст ответа команды
|
|
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Answer) Reset() {
|
|
*x = Answer{}
|
|
mi := &file_main_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Answer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Answer) ProtoMessage() {}
|
|
|
|
func (x *Answer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[71]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Answer.ProtoReflect.Descriptor instead.
|
|
func (*Answer) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *Answer) GetQuestionCode() string {
|
|
if x != nil {
|
|
return x.QuestionCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Answer) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Ответ команды с баллом (для панели организатора)
|
|
type AnswerScore struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
QuestionCode string `protobuf:"bytes,1,opt,name=questionCode,proto3" json:"questionCode,omitempty"`
|
|
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
|
|
// Балл, выставленный организатором; отсутствует, если ещё не оценено
|
|
Score *int32 `protobuf:"varint,3,opt,name=score,proto3,oneof" json:"score,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerScore) Reset() {
|
|
*x = AnswerScore{}
|
|
mi := &file_main_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerScore) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerScore) ProtoMessage() {}
|
|
|
|
func (x *AnswerScore) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[72]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AnswerScore.ProtoReflect.Descriptor instead.
|
|
func (*AnswerScore) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *AnswerScore) GetQuestionCode() string {
|
|
if x != nil {
|
|
return x.QuestionCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnswerScore) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnswerScore) GetScore() int32 {
|
|
if x != nil && x.Score != nil {
|
|
return *x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Ответы одной команды на вопросы дела
|
|
type TeamAnswers struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"`
|
|
Answers []*AnswerScore `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TeamAnswers) Reset() {
|
|
*x = TeamAnswers{}
|
|
mi := &file_main_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TeamAnswers) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TeamAnswers) ProtoMessage() {}
|
|
|
|
func (x *TeamAnswers) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[73]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TeamAnswers.ProtoReflect.Descriptor instead.
|
|
func (*TeamAnswers) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
func (x *TeamAnswers) GetTeam() *Team {
|
|
if x != nil {
|
|
return x.Team
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TeamAnswers) GetAnswers() []*AnswerScore {
|
|
if x != nil {
|
|
return x.Answers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) Reset() {
|
|
*x = UpdateScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[74]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioRsp) Reset() {
|
|
*x = UpdateScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[75]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
type PublicScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublicScenarioReq) Reset() {
|
|
*x = PublicScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublicScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublicScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *PublicScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[76]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublicScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*PublicScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *PublicScenarioReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublicScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublicScenarioRsp) Reset() {
|
|
*x = PublicScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublicScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublicScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *PublicScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[77]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublicScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*PublicScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
type DraftScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DraftScenarioReq) Reset() {
|
|
*x = DraftScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DraftScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DraftScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *DraftScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[78]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DraftScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*DraftScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *DraftScenarioReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DraftScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DraftScenarioRsp) Reset() {
|
|
*x = DraftScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DraftScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DraftScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *DraftScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[79]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DraftScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*DraftScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
type DeleteScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) Reset() {
|
|
*x = DeleteScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[80]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioRsp) Reset() {
|
|
*x = DeleteScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[81]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
type AddScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Place *Place `protobuf:"bytes,2,opt,name=place,proto3" json:"place,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) Reset() {
|
|
*x = AddScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[82]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) GetPlace() *Place {
|
|
if x != nil {
|
|
return x.Place
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioPlaceRsp) Reset() {
|
|
*x = AddScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[83]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
type UpdateScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Place *Place `protobuf:"bytes,3,opt,name=place,proto3" json:"place,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) Reset() {
|
|
*x = UpdateScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[84]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetPlace() *Place {
|
|
if x != nil {
|
|
return x.Place
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) Reset() {
|
|
*x = UpdateScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[85]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
type DeleteScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) Reset() {
|
|
*x = DeleteScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[86]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) Reset() {
|
|
*x = DeleteScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[87]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
type UpdateScenarioConclusionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Conclusion *Conclusion `protobuf:"bytes,2,opt,name=conclusion,proto3" json:"conclusion,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionReq) Reset() {
|
|
*x = UpdateScenarioConclusionReq{}
|
|
mi := &file_main_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioConclusionReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioConclusionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[88]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioConclusionReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioConclusionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionReq) GetConclusion() *Conclusion {
|
|
if x != nil {
|
|
return x.Conclusion
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioConclusionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionRsp) Reset() {
|
|
*x = UpdateScenarioConclusionRsp{}
|
|
mi := &file_main_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioConclusionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioConclusionRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioConclusionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[89]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioConclusionRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioConclusionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
type UpdateScenarioIntroReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Introduction *Introduction `protobuf:"bytes,2,opt,name=introduction,proto3" json:"introduction,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroReq) Reset() {
|
|
*x = UpdateScenarioIntroReq{}
|
|
mi := &file_main_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioIntroReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioIntroReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[90]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioIntroReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioIntroReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroReq) GetIntroduction() *Introduction {
|
|
if x != nil {
|
|
return x.Introduction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioIntroRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroRsp) Reset() {
|
|
*x = UpdateScenarioIntroRsp{}
|
|
mi := &file_main_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioIntroRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioIntroRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioIntroRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[91]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioIntroRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioIntroRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
type AddScenarioQuestionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Question *Question `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioQuestionReq) Reset() {
|
|
*x = AddScenarioQuestionReq{}
|
|
mi := &file_main_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioQuestionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioQuestionReq) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioQuestionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[92]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioQuestionReq.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioQuestionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *AddScenarioQuestionReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddScenarioQuestionReq) GetQuestion() *Question {
|
|
if x != nil {
|
|
return x.Question
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddScenarioQuestionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioQuestionRsp) Reset() {
|
|
*x = AddScenarioQuestionRsp{}
|
|
mi := &file_main_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioQuestionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioQuestionRsp) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioQuestionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[93]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddScenarioQuestionRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioQuestionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
type UpdateScenarioQuestionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Question *Question `protobuf:"bytes,3,opt,name=question,proto3" json:"question,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionReq) Reset() {
|
|
*x = UpdateScenarioQuestionReq{}
|
|
mi := &file_main_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioQuestionReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioQuestionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[94]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioQuestionReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioQuestionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionReq) GetQuestion() *Question {
|
|
if x != nil {
|
|
return x.Question
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioQuestionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionRsp) Reset() {
|
|
*x = UpdateScenarioQuestionRsp{}
|
|
mi := &file_main_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioQuestionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioQuestionRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioQuestionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[95]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioQuestionRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioQuestionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
type DeleteScenarioQuestionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionReq) Reset() {
|
|
*x = DeleteScenarioQuestionReq{}
|
|
mi := &file_main_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioQuestionReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioQuestionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[96]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioQuestionReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioQuestionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScenarioQuestionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionRsp) Reset() {
|
|
*x = DeleteScenarioQuestionRsp{}
|
|
mi := &file_main_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioQuestionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioQuestionRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioQuestionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[97]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScenarioQuestionRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioQuestionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
type DownloadScenarioArchiveReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadScenarioArchiveReq) Reset() {
|
|
*x = DownloadScenarioArchiveReq{}
|
|
mi := &file_main_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadScenarioArchiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadScenarioArchiveReq) ProtoMessage() {}
|
|
|
|
func (x *DownloadScenarioArchiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[98]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DownloadScenarioArchiveReq.ProtoReflect.Descriptor instead.
|
|
func (*DownloadScenarioArchiveReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
func (x *DownloadScenarioArchiveReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UploadScenarioArchiveRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadScenarioArchiveRsp) Reset() {
|
|
*x = UploadScenarioArchiveRsp{}
|
|
mi := &file_main_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadScenarioArchiveRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadScenarioArchiveRsp) ProtoMessage() {}
|
|
|
|
func (x *UploadScenarioArchiveRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[99]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadScenarioArchiveRsp.ProtoReflect.Descriptor instead.
|
|
func (*UploadScenarioArchiveRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *UploadScenarioArchiveRsp) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddGameReq struct {
|
|
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"`
|
|
StartAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
|
|
ScenarioID int32 `protobuf:"varint,4,opt,name=scenarioID,proto3" json:"scenarioID,omitempty"`
|
|
Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
|
|
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGameReq) Reset() {
|
|
*x = AddGameReq{}
|
|
mi := &file_main_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGameReq) ProtoMessage() {}
|
|
|
|
func (x *AddGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[100]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGameReq.ProtoReflect.Descriptor instead.
|
|
func (*AddGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *AddGameReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddGameReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddGameReq) GetStartAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddGameReq) GetScenarioID() int32 {
|
|
if x != nil {
|
|
return x.ScenarioID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddGameReq) GetFormat() string {
|
|
if x != nil {
|
|
return x.Format
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddGameReq) GetLocation() string {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGameRsp) Reset() {
|
|
*x = AddGameRsp{}
|
|
mi := &file_main_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGameRsp) ProtoMessage() {}
|
|
|
|
func (x *AddGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[101]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
func (x *AddGameRsp) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGamesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGamesReq) Reset() {
|
|
*x = GetGamesReq{}
|
|
mi := &file_main_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGamesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGamesReq) ProtoMessage() {}
|
|
|
|
func (x *GetGamesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[102]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGamesReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGamesReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
type GetGamesRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Games []*Game `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGamesRsp) Reset() {
|
|
*x = GetGamesRsp{}
|
|
mi := &file_main_proto_msgTypes[103]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGamesRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGamesRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGamesRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[103]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGamesRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGamesRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
func (x *GetGamesRsp) GetGames() []*Game {
|
|
if x != nil {
|
|
return x.Games
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Game struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
StartAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
Scenario *Scenario `protobuf:"bytes,6,opt,name=scenario,proto3" json:"scenario,omitempty"`
|
|
Teams []*Team `protobuf:"bytes,7,rep,name=teams,proto3" json:"teams,omitempty"`
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
|
|
EndedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=ended_at,json=endedAt,proto3,oneof" json:"ended_at,omitempty"`
|
|
Format string `protobuf:"bytes,10,opt,name=format,proto3" json:"format,omitempty"`
|
|
Location string `protobuf:"bytes,11,opt,name=location,proto3" json:"location,omitempty"`
|
|
Export *GameExport `protobuf:"bytes,12,opt,name=export,proto3" json:"export,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Game) Reset() {
|
|
*x = Game{}
|
|
mi := &file_main_proto_msgTypes[104]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Game) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Game) ProtoMessage() {}
|
|
|
|
func (x *Game) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[104]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Game.ProtoReflect.Descriptor instead.
|
|
func (*Game) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
func (x *Game) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Game) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Game) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Game) GetStartAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Game) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Game) GetScenario() *Scenario {
|
|
if x != nil {
|
|
return x.Scenario
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Game) GetTeams() []*Team {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Game) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Game) GetEndedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.EndedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Game) GetFormat() string {
|
|
if x != nil {
|
|
return x.Format
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Game) GetLocation() string {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Game) GetExport() *GameExport {
|
|
if x != nil {
|
|
return x.Export
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Download ready ZIP through the authenticated streaming HTTP route:
|
|
// GET /api/games/{ID}/export/download (not an HttpBody RPC).
|
|
type GameExport struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // preparing, ready or failed; preparing/ready lock game writes.
|
|
PackageID string `protobuf:"bytes,3,opt,name=packageID,proto3" json:"packageID,omitempty"`
|
|
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
|
|
Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
Failure string `protobuf:"bytes,6,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GameExport) Reset() {
|
|
*x = GameExport{}
|
|
mi := &file_main_proto_msgTypes[105]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GameExport) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GameExport) ProtoMessage() {}
|
|
|
|
func (x *GameExport) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[105]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GameExport.ProtoReflect.Descriptor instead.
|
|
func (*GameExport) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
func (x *GameExport) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameExport) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameExport) GetPackageID() string {
|
|
if x != nil {
|
|
return x.PackageID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameExport) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GameExport) GetSha256() string {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameExport) GetFailure() string {
|
|
if x != nil {
|
|
return x.Failure
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StartGameExportReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartGameExportReq) Reset() {
|
|
*x = StartGameExportReq{}
|
|
mi := &file_main_proto_msgTypes[106]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartGameExportReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartGameExportReq) ProtoMessage() {}
|
|
|
|
func (x *StartGameExportReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[106]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartGameExportReq.ProtoReflect.Descriptor instead.
|
|
func (*StartGameExportReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
func (x *StartGameExportReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameExportReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameExportReq) Reset() {
|
|
*x = GetGameExportReq{}
|
|
mi := &file_main_proto_msgTypes[107]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameExportReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameExportReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameExportReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[107]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameExportReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameExportReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
func (x *GetGameExportReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GameExportRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Export *GameExport `protobuf:"bytes,1,opt,name=export,proto3" json:"export,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GameExportRsp) Reset() {
|
|
*x = GameExportRsp{}
|
|
mi := &file_main_proto_msgTypes[108]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GameExportRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GameExportRsp) ProtoMessage() {}
|
|
|
|
func (x *GameExportRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[108]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GameExportRsp.ProtoReflect.Descriptor instead.
|
|
func (*GameExportRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{108}
|
|
}
|
|
|
|
func (x *GameExportRsp) GetExport() *GameExport {
|
|
if x != nil {
|
|
return x.Export
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScreenState struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
GameID *int32 `protobuf:"varint,3,opt,name=gameID,proto3,oneof" json:"gameID,omitempty"`
|
|
Mode ScreenMode `protobuf:"varint,4,opt,name=mode,proto3,enum=crabs.evening_detective_server.ScreenMode" json:"mode,omitempty"`
|
|
SoundEnabled bool `protobuf:"varint,5,opt,name=sound_enabled,json=soundEnabled,proto3" json:"sound_enabled,omitempty"`
|
|
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
|
|
StateVersion int64 `protobuf:"varint,7,opt,name=state_version,json=stateVersion,proto3" json:"state_version,omitempty"`
|
|
PositionMs int64 `protobuf:"varint,8,opt,name=position_ms,json=positionMs,proto3" json:"position_ms,omitempty"`
|
|
GameName string `protobuf:"bytes,9,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
|
|
CoverImage string `protobuf:"bytes,10,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"`
|
|
IntroAudio string `protobuf:"bytes,11,opt,name=intro_audio,json=introAudio,proto3" json:"intro_audio,omitempty"`
|
|
ConclusionVideo string `protobuf:"bytes,12,opt,name=conclusion_video,json=conclusionVideo,proto3" json:"conclusion_video,omitempty"`
|
|
Command ScreenCommand `protobuf:"varint,13,opt,name=command,proto3,enum=crabs.evening_detective_server.ScreenCommand" json:"command,omitempty"`
|
|
Volume int32 `protobuf:"varint,14,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
BackgroundImage string `protobuf:"bytes,15,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"`
|
|
TimerLabel string `protobuf:"bytes,16,opt,name=timer_label,json=timerLabel,proto3" json:"timer_label,omitempty"`
|
|
TimerDurationSeconds int64 `protobuf:"varint,17,opt,name=timer_duration_seconds,json=timerDurationSeconds,proto3" json:"timer_duration_seconds,omitempty"`
|
|
TimerRemainingSeconds int64 `protobuf:"varint,18,opt,name=timer_remaining_seconds,json=timerRemainingSeconds,proto3" json:"timer_remaining_seconds,omitempty"`
|
|
TimerState ScreenTimerState `protobuf:"varint,19,opt,name=timer_state,json=timerState,proto3,enum=crabs.evening_detective_server.ScreenTimerState" json:"timer_state,omitempty"`
|
|
Text string `protobuf:"bytes,20,opt,name=text,proto3" json:"text,omitempty"`
|
|
Music *MusicState `protobuf:"bytes,21,opt,name=music,proto3" json:"music,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScreenState) Reset() {
|
|
*x = ScreenState{}
|
|
mi := &file_main_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScreenState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScreenState) ProtoMessage() {}
|
|
|
|
func (x *ScreenState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[109]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenState.ProtoReflect.Descriptor instead.
|
|
func (*ScreenState) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
func (x *ScreenState) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetGameID() int32 {
|
|
if x != nil && x.GameID != nil {
|
|
return *x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetMode() ScreenMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ScreenMode_SCREEN_MODE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ScreenState) GetSoundEnabled() bool {
|
|
if x != nil {
|
|
return x.SoundEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ScreenState) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetStateVersion() int64 {
|
|
if x != nil {
|
|
return x.StateVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetPositionMs() int64 {
|
|
if x != nil {
|
|
return x.PositionMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetGameName() string {
|
|
if x != nil {
|
|
return x.GameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetCoverImage() string {
|
|
if x != nil {
|
|
return x.CoverImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetIntroAudio() string {
|
|
if x != nil {
|
|
return x.IntroAudio
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetConclusionVideo() string {
|
|
if x != nil {
|
|
return x.ConclusionVideo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetCommand() ScreenCommand {
|
|
if x != nil {
|
|
return x.Command
|
|
}
|
|
return ScreenCommand_SCREEN_COMMAND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ScreenState) GetVolume() int32 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetBackgroundImage() string {
|
|
if x != nil {
|
|
return x.BackgroundImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetTimerLabel() string {
|
|
if x != nil {
|
|
return x.TimerLabel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetTimerDurationSeconds() int64 {
|
|
if x != nil {
|
|
return x.TimerDurationSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetTimerRemainingSeconds() int64 {
|
|
if x != nil {
|
|
return x.TimerRemainingSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScreenState) GetTimerState() ScreenTimerState {
|
|
if x != nil {
|
|
return x.TimerState
|
|
}
|
|
return ScreenTimerState_SCREEN_TIMER_STATE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ScreenState) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenState) GetMusic() *MusicState {
|
|
if x != nil {
|
|
return x.Music
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateScreenSessionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateScreenSessionReq) Reset() {
|
|
*x = CreateScreenSessionReq{}
|
|
mi := &file_main_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateScreenSessionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateScreenSessionReq) ProtoMessage() {}
|
|
|
|
func (x *CreateScreenSessionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[110]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateScreenSessionReq.ProtoReflect.Descriptor instead.
|
|
func (*CreateScreenSessionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
type CreateScreenSessionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateScreenSessionRsp) Reset() {
|
|
*x = CreateScreenSessionRsp{}
|
|
mi := &file_main_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateScreenSessionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateScreenSessionRsp) ProtoMessage() {}
|
|
|
|
func (x *CreateScreenSessionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[111]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateScreenSessionRsp.ProtoReflect.Descriptor instead.
|
|
func (*CreateScreenSessionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *CreateScreenSessionRsp) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateScreenSessionRsp) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetScreenStateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenStateReq) Reset() {
|
|
*x = GetScreenStateReq{}
|
|
mi := &file_main_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenStateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenStateReq) ProtoMessage() {}
|
|
|
|
func (x *GetScreenStateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[112]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenStateReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenStateReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *GetScreenStateReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetScreenStateReq) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetScreenStateRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *ScreenState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenStateRsp) Reset() {
|
|
*x = GetScreenStateRsp{}
|
|
mi := &file_main_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenStateRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenStateRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScreenStateRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[113]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenStateRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenStateRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
func (x *GetScreenStateRsp) GetState() *ScreenState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGameScreensReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameScreensReq) Reset() {
|
|
*x = GetGameScreensReq{}
|
|
mi := &file_main_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameScreensReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameScreensReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameScreensReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[114]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameScreensReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameScreensReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
func (x *GetGameScreensReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameScreensRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Screens []*ScreenState `protobuf:"bytes,1,rep,name=screens,proto3" json:"screens,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameScreensRsp) Reset() {
|
|
*x = GetGameScreensRsp{}
|
|
mi := &file_main_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameScreensRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameScreensRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameScreensRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[115]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameScreensRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameScreensRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
func (x *GetGameScreensRsp) GetScreens() []*ScreenState {
|
|
if x != nil {
|
|
return x.Screens
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MusicState struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
|
|
TrackIndex int32 `protobuf:"varint,2,opt,name=track_index,json=trackIndex,proto3" json:"track_index,omitempty"`
|
|
PositionMs int64 `protobuf:"varint,3,opt,name=position_ms,json=positionMs,proto3" json:"position_ms,omitempty"`
|
|
Volume int32 `protobuf:"varint,4,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
Loop bool `protobuf:"varint,5,opt,name=loop,proto3" json:"loop,omitempty"`
|
|
Playback MusicPlaybackState `protobuf:"varint,6,opt,name=playback,proto3,enum=crabs.evening_detective_server.MusicPlaybackState" json:"playback,omitempty"`
|
|
StateVersion int64 `protobuf:"varint,7,opt,name=state_version,json=stateVersion,proto3" json:"state_version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MusicState) Reset() {
|
|
*x = MusicState{}
|
|
mi := &file_main_proto_msgTypes[116]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MusicState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MusicState) ProtoMessage() {}
|
|
|
|
func (x *MusicState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[116]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MusicState.ProtoReflect.Descriptor instead.
|
|
func (*MusicState) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
func (x *MusicState) GetPlaylist() *Playlist {
|
|
if x != nil {
|
|
return x.Playlist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MusicState) GetTrackIndex() int32 {
|
|
if x != nil {
|
|
return x.TrackIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MusicState) GetPositionMs() int64 {
|
|
if x != nil {
|
|
return x.PositionMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MusicState) GetVolume() int32 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MusicState) GetLoop() bool {
|
|
if x != nil {
|
|
return x.Loop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MusicState) GetPlayback() MusicPlaybackState {
|
|
if x != nil {
|
|
return x.Playback
|
|
}
|
|
return MusicPlaybackState_MUSIC_PLAYBACK_UNSPECIFIED
|
|
}
|
|
|
|
func (x *MusicState) GetStateVersion() int64 {
|
|
if x != nil {
|
|
return x.StateVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameMusicReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameMusicReq) Reset() {
|
|
*x = GetGameMusicReq{}
|
|
mi := &file_main_proto_msgTypes[117]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameMusicReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameMusicReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameMusicReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[117]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameMusicReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameMusicReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
func (x *GetGameMusicReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameMusicRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Playlists []*Playlist `protobuf:"bytes,1,rep,name=playlists,proto3" json:"playlists,omitempty"`
|
|
State *MusicState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
|
ScenarioPlaylistId int32 `protobuf:"varint,3,opt,name=scenario_playlist_id,json=scenarioPlaylistId,proto3" json:"scenario_playlist_id,omitempty"`
|
|
GamePlaylistId int32 `protobuf:"varint,4,opt,name=game_playlist_id,json=gamePlaylistId,proto3" json:"game_playlist_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) Reset() {
|
|
*x = GetGameMusicRsp{}
|
|
mi := &file_main_proto_msgTypes[118]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameMusicRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameMusicRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[118]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameMusicRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameMusicRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) GetPlaylists() []*Playlist {
|
|
if x != nil {
|
|
return x.Playlists
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) GetState() *MusicState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) GetScenarioPlaylistId() int32 {
|
|
if x != nil {
|
|
return x.ScenarioPlaylistId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetGameMusicRsp) GetGamePlaylistId() int32 {
|
|
if x != nil {
|
|
return x.GamePlaylistId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetGameMusicReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
PlaylistID int32 `protobuf:"varint,2,opt,name=playlistID,proto3" json:"playlistID,omitempty"`
|
|
TrackIndex int32 `protobuf:"varint,3,opt,name=track_index,json=trackIndex,proto3" json:"track_index,omitempty"`
|
|
PositionMs int64 `protobuf:"varint,4,opt,name=position_ms,json=positionMs,proto3" json:"position_ms,omitempty"`
|
|
Volume int32 `protobuf:"varint,5,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
Loop bool `protobuf:"varint,6,opt,name=loop,proto3" json:"loop,omitempty"`
|
|
Playback MusicPlaybackState `protobuf:"varint,7,opt,name=playback,proto3,enum=crabs.evening_detective_server.MusicPlaybackState" json:"playback,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetGameMusicReq) Reset() {
|
|
*x = SetGameMusicReq{}
|
|
mi := &file_main_proto_msgTypes[119]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetGameMusicReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetGameMusicReq) ProtoMessage() {}
|
|
|
|
func (x *SetGameMusicReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[119]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetGameMusicReq.ProtoReflect.Descriptor instead.
|
|
func (*SetGameMusicReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetPlaylistID() int32 {
|
|
if x != nil {
|
|
return x.PlaylistID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetTrackIndex() int32 {
|
|
if x != nil {
|
|
return x.TrackIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetPositionMs() int64 {
|
|
if x != nil {
|
|
return x.PositionMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetVolume() int32 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetLoop() bool {
|
|
if x != nil {
|
|
return x.Loop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetGameMusicReq) GetPlayback() MusicPlaybackState {
|
|
if x != nil {
|
|
return x.Playback
|
|
}
|
|
return MusicPlaybackState_MUSIC_PLAYBACK_UNSPECIFIED
|
|
}
|
|
|
|
type SetGameMusicRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *MusicState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetGameMusicRsp) Reset() {
|
|
*x = SetGameMusicRsp{}
|
|
mi := &file_main_proto_msgTypes[120]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetGameMusicRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetGameMusicRsp) ProtoMessage() {}
|
|
|
|
func (x *SetGameMusicRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[120]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetGameMusicRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetGameMusicRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
func (x *SetGameMusicRsp) GetState() *MusicState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AdvanceScreenMusicReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicReq) Reset() {
|
|
*x = AdvanceScreenMusicReq{}
|
|
mi := &file_main_proto_msgTypes[121]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdvanceScreenMusicReq) ProtoMessage() {}
|
|
|
|
func (x *AdvanceScreenMusicReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[121]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdvanceScreenMusicReq.ProtoReflect.Descriptor instead.
|
|
func (*AdvanceScreenMusicReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicReq) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AdvanceScreenMusicRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *MusicState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicRsp) Reset() {
|
|
*x = AdvanceScreenMusicRsp{}
|
|
mi := &file_main_proto_msgTypes[122]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdvanceScreenMusicRsp) ProtoMessage() {}
|
|
|
|
func (x *AdvanceScreenMusicRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[122]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdvanceScreenMusicRsp.ProtoReflect.Descriptor instead.
|
|
func (*AdvanceScreenMusicRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
func (x *AdvanceScreenMusicRsp) GetState() *MusicState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BindScreenReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
GameID int32 `protobuf:"varint,3,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BindScreenReq) Reset() {
|
|
*x = BindScreenReq{}
|
|
mi := &file_main_proto_msgTypes[123]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BindScreenReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BindScreenReq) ProtoMessage() {}
|
|
|
|
func (x *BindScreenReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[123]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BindScreenReq.ProtoReflect.Descriptor instead.
|
|
func (*BindScreenReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
func (x *BindScreenReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BindScreenReq) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BindScreenReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BindScreenRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *ScreenState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BindScreenRsp) Reset() {
|
|
*x = BindScreenRsp{}
|
|
mi := &file_main_proto_msgTypes[124]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BindScreenRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BindScreenRsp) ProtoMessage() {}
|
|
|
|
func (x *BindScreenRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[124]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BindScreenRsp.ProtoReflect.Descriptor instead.
|
|
func (*BindScreenRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
func (x *BindScreenRsp) GetState() *ScreenState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UnbindScreenReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnbindScreenReq) Reset() {
|
|
*x = UnbindScreenReq{}
|
|
mi := &file_main_proto_msgTypes[125]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnbindScreenReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnbindScreenReq) ProtoMessage() {}
|
|
|
|
func (x *UnbindScreenReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[125]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnbindScreenReq.ProtoReflect.Descriptor instead.
|
|
func (*UnbindScreenReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
func (x *UnbindScreenReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UnbindScreenRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnbindScreenRsp) Reset() {
|
|
*x = UnbindScreenRsp{}
|
|
mi := &file_main_proto_msgTypes[126]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnbindScreenRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnbindScreenRsp) ProtoMessage() {}
|
|
|
|
func (x *UnbindScreenRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[126]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnbindScreenRsp.ProtoReflect.Descriptor instead.
|
|
func (*UnbindScreenRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
type SetScreenSoundReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
SoundEnabled bool `protobuf:"varint,2,opt,name=soundEnabled,proto3" json:"soundEnabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenSoundReq) Reset() {
|
|
*x = SetScreenSoundReq{}
|
|
mi := &file_main_proto_msgTypes[127]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenSoundReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenSoundReq) ProtoMessage() {}
|
|
|
|
func (x *SetScreenSoundReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[127]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenSoundReq.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenSoundReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *SetScreenSoundReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetScreenSoundReq) GetSoundEnabled() bool {
|
|
if x != nil {
|
|
return x.SoundEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetScreenSoundRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenSoundRsp) Reset() {
|
|
*x = SetScreenSoundRsp{}
|
|
mi := &file_main_proto_msgTypes[128]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenSoundRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenSoundRsp) ProtoMessage() {}
|
|
|
|
func (x *SetScreenSoundRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[128]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenSoundRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenSoundRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
type MapItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
ItemID int32 `protobuf:"varint,2,opt,name=itemID,proto3" json:"itemID,omitempty"`
|
|
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
|
X int32 `protobuf:"varint,4,opt,name=x,proto3" json:"x,omitempty"`
|
|
Y int32 `protobuf:"varint,5,opt,name=y,proto3" json:"y,omitempty"`
|
|
Hidden bool `protobuf:"varint,6,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
SoundEnabled bool `protobuf:"varint,8,opt,name=sound_enabled,json=soundEnabled,proto3" json:"sound_enabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MapItem) Reset() {
|
|
*x = MapItem{}
|
|
mi := &file_main_proto_msgTypes[129]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MapItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MapItem) ProtoMessage() {}
|
|
|
|
func (x *MapItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[129]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MapItem.ProtoReflect.Descriptor instead.
|
|
func (*MapItem) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
func (x *MapItem) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MapItem) GetItemID() int32 {
|
|
if x != nil {
|
|
return x.ItemID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MapItem) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MapItem) GetX() int32 {
|
|
if x != nil {
|
|
return x.X
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MapItem) GetY() int32 {
|
|
if x != nil {
|
|
return x.Y
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MapItem) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MapItem) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MapItem) GetSoundEnabled() bool {
|
|
if x != nil {
|
|
return x.SoundEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetGameMapReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameMapReq) Reset() {
|
|
*x = GetGameMapReq{}
|
|
mi := &file_main_proto_msgTypes[130]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameMapReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameMapReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameMapReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[130]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameMapReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameMapReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
func (x *GetGameMapReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameMapRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*MapItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameMapRsp) Reset() {
|
|
*x = GetGameMapRsp{}
|
|
mi := &file_main_proto_msgTypes[131]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameMapRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameMapRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameMapRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[131]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameMapRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameMapRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *GetGameMapRsp) GetItems() []*MapItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateGameMapItemReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
ItemID int32 `protobuf:"varint,3,opt,name=itemID,proto3" json:"itemID,omitempty"`
|
|
X int32 `protobuf:"varint,4,opt,name=x,proto3" json:"x,omitempty"`
|
|
Y int32 `protobuf:"varint,5,opt,name=y,proto3" json:"y,omitempty"`
|
|
Hidden bool `protobuf:"varint,6,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) Reset() {
|
|
*x = UpdateGameMapItemReq{}
|
|
mi := &file_main_proto_msgTypes[132]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGameMapItemReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateGameMapItemReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[132]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGameMapItemReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGameMapItemReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetItemID() int32 {
|
|
if x != nil {
|
|
return x.ItemID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetX() int32 {
|
|
if x != nil {
|
|
return x.X
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetY() int32 {
|
|
if x != nil {
|
|
return x.Y
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameMapItemReq) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateGameMapItemRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateGameMapItemRsp) Reset() {
|
|
*x = UpdateGameMapItemRsp{}
|
|
mi := &file_main_proto_msgTypes[133]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateGameMapItemRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGameMapItemRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateGameMapItemRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[133]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGameMapItemRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGameMapItemRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
type SetScreenModeReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Mode ScreenMode `protobuf:"varint,2,opt,name=mode,proto3,enum=crabs.evening_detective_server.ScreenMode" json:"mode,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenModeReq) Reset() {
|
|
*x = SetScreenModeReq{}
|
|
mi := &file_main_proto_msgTypes[134]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenModeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenModeReq) ProtoMessage() {}
|
|
|
|
func (x *SetScreenModeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[134]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenModeReq.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenModeReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
func (x *SetScreenModeReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetScreenModeReq) GetMode() ScreenMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ScreenMode_SCREEN_MODE_UNSPECIFIED
|
|
}
|
|
|
|
type SetScreenModeRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenModeRsp) Reset() {
|
|
*x = SetScreenModeRsp{}
|
|
mi := &file_main_proto_msgTypes[135]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenModeRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenModeRsp) ProtoMessage() {}
|
|
|
|
func (x *SetScreenModeRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[135]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenModeRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenModeRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{135}
|
|
}
|
|
|
|
type SetScreenTimerReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
DurationSeconds int64 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
|
|
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenTimerReq) Reset() {
|
|
*x = SetScreenTimerReq{}
|
|
mi := &file_main_proto_msgTypes[136]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenTimerReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenTimerReq) ProtoMessage() {}
|
|
|
|
func (x *SetScreenTimerReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[136]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenTimerReq.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenTimerReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{136}
|
|
}
|
|
|
|
func (x *SetScreenTimerReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetScreenTimerReq) GetDurationSeconds() int64 {
|
|
if x != nil {
|
|
return x.DurationSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetScreenTimerReq) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetScreenTimerRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenTimerRsp) Reset() {
|
|
*x = SetScreenTimerRsp{}
|
|
mi := &file_main_proto_msgTypes[137]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenTimerRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenTimerRsp) ProtoMessage() {}
|
|
|
|
func (x *SetScreenTimerRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[137]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenTimerRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenTimerRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{137}
|
|
}
|
|
|
|
type SendScreenCommandReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Command ScreenCommand `protobuf:"varint,2,opt,name=command,proto3,enum=crabs.evening_detective_server.ScreenCommand" json:"command,omitempty"`
|
|
PositionMs int64 `protobuf:"varint,3,opt,name=position_ms,json=positionMs,proto3" json:"position_ms,omitempty"`
|
|
Volume int32 `protobuf:"varint,4,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) Reset() {
|
|
*x = SendScreenCommandReq{}
|
|
mi := &file_main_proto_msgTypes[138]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendScreenCommandReq) ProtoMessage() {}
|
|
|
|
func (x *SendScreenCommandReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[138]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendScreenCommandReq.ProtoReflect.Descriptor instead.
|
|
func (*SendScreenCommandReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{138}
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) GetCommand() ScreenCommand {
|
|
if x != nil {
|
|
return x.Command
|
|
}
|
|
return ScreenCommand_SCREEN_COMMAND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) GetPositionMs() int64 {
|
|
if x != nil {
|
|
return x.PositionMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendScreenCommandReq) GetVolume() int32 {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SendScreenCommandRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendScreenCommandRsp) Reset() {
|
|
*x = SendScreenCommandRsp{}
|
|
mi := &file_main_proto_msgTypes[139]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendScreenCommandRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendScreenCommandRsp) ProtoMessage() {}
|
|
|
|
func (x *SendScreenCommandRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[139]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendScreenCommandRsp.ProtoReflect.Descriptor instead.
|
|
func (*SendScreenCommandRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{139}
|
|
}
|
|
|
|
type ScreenPlanStep struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mode ScreenMode `protobuf:"varint,1,opt,name=mode,proto3,enum=crabs.evening_detective_server.ScreenMode" json:"mode,omitempty"`
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
|
|
TimerLabel string `protobuf:"bytes,3,opt,name=timer_label,json=timerLabel,proto3" json:"timer_label,omitempty"`
|
|
TimerDurationSeconds int64 `protobuf:"varint,4,opt,name=timer_duration_seconds,json=timerDurationSeconds,proto3" json:"timer_duration_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScreenPlanStep) Reset() {
|
|
*x = ScreenPlanStep{}
|
|
mi := &file_main_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScreenPlanStep) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScreenPlanStep) ProtoMessage() {}
|
|
|
|
func (x *ScreenPlanStep) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[140]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenPlanStep.ProtoReflect.Descriptor instead.
|
|
func (*ScreenPlanStep) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
func (x *ScreenPlanStep) GetMode() ScreenMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ScreenMode_SCREEN_MODE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ScreenPlanStep) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenPlanStep) GetTimerLabel() string {
|
|
if x != nil {
|
|
return x.TimerLabel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScreenPlanStep) GetTimerDurationSeconds() int64 {
|
|
if x != nil {
|
|
return x.TimerDurationSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ScreenPlan struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Steps []*ScreenPlanStep `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"`
|
|
CurrentStep int32 `protobuf:"varint,2,opt,name=current_step,json=currentStep,proto3" json:"current_step,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScreenPlan) Reset() {
|
|
*x = ScreenPlan{}
|
|
mi := &file_main_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScreenPlan) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScreenPlan) ProtoMessage() {}
|
|
|
|
func (x *ScreenPlan) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[141]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScreenPlan.ProtoReflect.Descriptor instead.
|
|
func (*ScreenPlan) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
func (x *ScreenPlan) GetSteps() []*ScreenPlanStep {
|
|
if x != nil {
|
|
return x.Steps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ScreenPlan) GetCurrentStep() int32 {
|
|
if x != nil {
|
|
return x.CurrentStep
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetScreenPlanReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenPlanReq) Reset() {
|
|
*x = GetScreenPlanReq{}
|
|
mi := &file_main_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenPlanReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenPlanReq) ProtoMessage() {}
|
|
|
|
func (x *GetScreenPlanReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[142]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenPlanReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenPlanReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
func (x *GetScreenPlanReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetScreenPlanRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plan *ScreenPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenPlanRsp) Reset() {
|
|
*x = GetScreenPlanRsp{}
|
|
mi := &file_main_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenPlanRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenPlanRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScreenPlanRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[143]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenPlanRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenPlanRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *GetScreenPlanRsp) GetPlan() *ScreenPlan {
|
|
if x != nil {
|
|
return x.Plan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SaveScreenPlanReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Steps []*ScreenPlanStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
|
|
CurrentStep int32 `protobuf:"varint,3,opt,name=current_step,json=currentStep,proto3" json:"current_step,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveScreenPlanReq) Reset() {
|
|
*x = SaveScreenPlanReq{}
|
|
mi := &file_main_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveScreenPlanReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveScreenPlanReq) ProtoMessage() {}
|
|
|
|
func (x *SaveScreenPlanReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[144]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveScreenPlanReq.ProtoReflect.Descriptor instead.
|
|
func (*SaveScreenPlanReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
func (x *SaveScreenPlanReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SaveScreenPlanReq) GetSteps() []*ScreenPlanStep {
|
|
if x != nil {
|
|
return x.Steps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SaveScreenPlanReq) GetCurrentStep() int32 {
|
|
if x != nil {
|
|
return x.CurrentStep
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SaveScreenPlanRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plan *ScreenPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveScreenPlanRsp) Reset() {
|
|
*x = SaveScreenPlanRsp{}
|
|
mi := &file_main_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveScreenPlanRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveScreenPlanRsp) ProtoMessage() {}
|
|
|
|
func (x *SaveScreenPlanRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[145]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveScreenPlanRsp.ProtoReflect.Descriptor instead.
|
|
func (*SaveScreenPlanRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
func (x *SaveScreenPlanRsp) GetPlan() *ScreenPlan {
|
|
if x != nil {
|
|
return x.Plan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetScreenPlanStepReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
CurrentStep int32 `protobuf:"varint,2,opt,name=current_step,json=currentStep,proto3" json:"current_step,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenPlanStepReq) Reset() {
|
|
*x = SetScreenPlanStepReq{}
|
|
mi := &file_main_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenPlanStepReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenPlanStepReq) ProtoMessage() {}
|
|
|
|
func (x *SetScreenPlanStepReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[146]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenPlanStepReq.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenPlanStepReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
func (x *SetScreenPlanStepReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetScreenPlanStepReq) GetCurrentStep() int32 {
|
|
if x != nil {
|
|
return x.CurrentStep
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetScreenPlanStepRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plan *ScreenPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetScreenPlanStepRsp) Reset() {
|
|
*x = SetScreenPlanStepRsp{}
|
|
mi := &file_main_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetScreenPlanStepRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetScreenPlanStepRsp) ProtoMessage() {}
|
|
|
|
func (x *SetScreenPlanStepRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[147]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetScreenPlanStepRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetScreenPlanStepRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
func (x *SetScreenPlanStepRsp) GetPlan() *ScreenPlan {
|
|
if x != nil {
|
|
return x.Plan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetScreenResultsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScreenID string `protobuf:"bytes,1,opt,name=screenID,proto3" json:"screenID,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenResultsReq) Reset() {
|
|
*x = GetScreenResultsReq{}
|
|
mi := &file_main_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenResultsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenResultsReq) ProtoMessage() {}
|
|
|
|
func (x *GetScreenResultsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[148]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenResultsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenResultsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
func (x *GetScreenResultsReq) GetScreenID() string {
|
|
if x != nil {
|
|
return x.ScreenID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetScreenResultsReq) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetScreenResultsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Questions []*ResultsQuestion `protobuf:"bytes,1,rep,name=questions,proto3" json:"questions,omitempty"`
|
|
Teams []*TeamResult `protobuf:"bytes,2,rep,name=teams,proto3" json:"teams,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScreenResultsRsp) Reset() {
|
|
*x = GetScreenResultsRsp{}
|
|
mi := &file_main_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScreenResultsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScreenResultsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScreenResultsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[149]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScreenResultsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScreenResultsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
func (x *GetScreenResultsRsp) GetQuestions() []*ResultsQuestion {
|
|
if x != nil {
|
|
return x.Questions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetScreenResultsRsp) GetTeams() []*TeamResult {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetParticipationReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Персональный токен из письма: 64 шестнадцатеричных символа. Не является JWT.
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetParticipationReq) Reset() {
|
|
*x = GetParticipationReq{}
|
|
mi := &file_main_proto_msgTypes[150]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetParticipationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetParticipationReq) ProtoMessage() {}
|
|
|
|
func (x *GetParticipationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[150]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetParticipationReq.ProtoReflect.Descriptor instead.
|
|
func (*GetParticipationReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{150}
|
|
}
|
|
|
|
func (x *GetParticipationReq) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AnswerParticipationReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Персональный токен из письма: 64 шестнадцатеричных символа. Не является JWT.
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
// Окончательное решение: confirmed — участвуем, cancelled — отменяем запись.
|
|
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerParticipationReq) Reset() {
|
|
*x = AnswerParticipationReq{}
|
|
mi := &file_main_proto_msgTypes[151]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerParticipationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerParticipationReq) ProtoMessage() {}
|
|
|
|
func (x *AnswerParticipationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[151]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AnswerParticipationReq.ProtoReflect.Descriptor instead.
|
|
func (*AnswerParticipationReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{151}
|
|
}
|
|
|
|
func (x *AnswerParticipationReq) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnswerParticipationReq) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParticipationRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Название команды. Данные доступны только по действительному токену.
|
|
TeamName string `protobuf:"bytes,1,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"`
|
|
// Название игры.
|
|
GameName string `protobuf:"bytes,2,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
|
|
// Плановое начало игры, UTC (RFC 3339 в JSON).
|
|
StartAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
|
|
// Заявленное число участников команды.
|
|
ParticipantsCount int32 `protobuf:"varint,4,opt,name=participants_count,json=participantsCount,proto3" json:"participants_count,omitempty"`
|
|
// pending — ожидает ответа, confirmed — подтверждено, cancelled — отменено.
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
// Новые ответы закрыты: наступило плановое начало или игра вышла из draft.
|
|
// Изменение уже принятого решения запрещено независимо от этого поля.
|
|
Closed bool `protobuf:"varint,6,opt,name=closed,proto3" json:"closed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParticipationRsp) Reset() {
|
|
*x = ParticipationRsp{}
|
|
mi := &file_main_proto_msgTypes[152]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParticipationRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParticipationRsp) ProtoMessage() {}
|
|
|
|
func (x *ParticipationRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[152]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ParticipationRsp.ProtoReflect.Descriptor instead.
|
|
func (*ParticipationRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{152}
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetTeamName() string {
|
|
if x != nil {
|
|
return x.TeamName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetGameName() string {
|
|
if x != nil {
|
|
return x.GameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetStartAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetParticipantsCount() int32 {
|
|
if x != nil {
|
|
return x.ParticipantsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParticipationRsp) GetClosed() bool {
|
|
if x != nil {
|
|
return x.Closed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Team struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
|
|
ActionsCount int32 `protobuf:"varint,5,opt,name=actions_count,json=actionsCount,proto3" json:"actions_count,omitempty"`
|
|
Applications []*Application `protobuf:"bytes,6,rep,name=applications,proto3" json:"applications,omitempty"`
|
|
CaptainEmail string `protobuf:"bytes,7,opt,name=captain_email,json=captainEmail,proto3" json:"captain_email,omitempty"`
|
|
ParticipantsCount int32 `protobuf:"varint,8,opt,name=participants_count,json=participantsCount,proto3" json:"participants_count,omitempty"`
|
|
// Статус участия: pending, confirmed или cancelled. Поле панели организатора.
|
|
ParticipationStatus string `protobuf:"bytes,9,opt,name=participation_status,json=participationStatus,proto3" json:"participation_status,omitempty"`
|
|
// Источник решения: captain, automatic либо пустая строка до ответа.
|
|
ParticipationSource string `protobuf:"bytes,10,opt,name=participation_source,json=participationSource,proto3" json:"participation_source,omitempty"`
|
|
// Последняя ошибка отправки; пустая строка, если ошибки нет.
|
|
ParticipationEmailError string `protobuf:"bytes,11,opt,name=participation_email_error,json=participationEmailError,proto3" json:"participation_email_error,omitempty"`
|
|
// Письмо принято SMTP-сервером; не означает прочтение или доставку во входящие.
|
|
ParticipationEmailSent bool `protobuf:"varint,12,opt,name=participation_email_sent,json=participationEmailSent,proto3" json:"participation_email_sent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Team) Reset() {
|
|
*x = Team{}
|
|
mi := &file_main_proto_msgTypes[153]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Team) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Team) ProtoMessage() {}
|
|
|
|
func (x *Team) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[153]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Team.ProtoReflect.Descriptor instead.
|
|
func (*Team) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{153}
|
|
}
|
|
|
|
func (x *Team) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Team) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetActionsCount() int32 {
|
|
if x != nil {
|
|
return x.ActionsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Team) GetApplications() []*Application {
|
|
if x != nil {
|
|
return x.Applications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Team) GetCaptainEmail() string {
|
|
if x != nil {
|
|
return x.CaptainEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetParticipantsCount() int32 {
|
|
if x != nil {
|
|
return x.ParticipantsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Team) GetParticipationStatus() string {
|
|
if x != nil {
|
|
return x.ParticipationStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetParticipationSource() string {
|
|
if x != nil {
|
|
return x.ParticipationSource
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetParticipationEmailError() string {
|
|
if x != nil {
|
|
return x.ParticipationEmailError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetParticipationEmailSent() bool {
|
|
if x != nil {
|
|
return x.ParticipationEmailSent
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameReq) Reset() {
|
|
*x = GetGameReq{}
|
|
mi := &file_main_proto_msgTypes[154]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[154]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{154}
|
|
}
|
|
|
|
func (x *GetGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Game *Game `protobuf:"bytes,1,opt,name=game,proto3" json:"game,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameRsp) Reset() {
|
|
*x = GetGameRsp{}
|
|
mi := &file_main_proto_msgTypes[155]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[155]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{155}
|
|
}
|
|
|
|
func (x *GetGameRsp) GetGame() *Game {
|
|
if x != nil {
|
|
return x.Game
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGameAnswersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameAnswersReq) Reset() {
|
|
*x = GetGameAnswersReq{}
|
|
mi := &file_main_proto_msgTypes[156]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameAnswersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameAnswersReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameAnswersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[156]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameAnswersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameAnswersReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{156}
|
|
}
|
|
|
|
func (x *GetGameAnswersReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameAnswersRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Questions []*Question `protobuf:"bytes,1,rep,name=questions,proto3" json:"questions,omitempty"`
|
|
Teams []*TeamAnswers `protobuf:"bytes,2,rep,name=teams,proto3" json:"teams,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameAnswersRsp) Reset() {
|
|
*x = GetGameAnswersRsp{}
|
|
mi := &file_main_proto_msgTypes[157]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameAnswersRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameAnswersRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameAnswersRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[157]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameAnswersRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameAnswersRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{157}
|
|
}
|
|
|
|
func (x *GetGameAnswersRsp) GetQuestions() []*Question {
|
|
if x != nil {
|
|
return x.Questions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGameAnswersRsp) GetTeams() []*TeamAnswers {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGameResultsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameResultsReq) Reset() {
|
|
*x = GetGameResultsReq{}
|
|
mi := &file_main_proto_msgTypes[158]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameResultsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameResultsReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameResultsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[158]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameResultsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameResultsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{158}
|
|
}
|
|
|
|
func (x *GetGameResultsReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Вопрос в шапке итоговой таблицы: правильный ответ (поле answer сообщения
|
|
// Question) командам/таблице не передаётся — он виден только в панели оценки.
|
|
type ResultsQuestion struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResultsQuestion) Reset() {
|
|
*x = ResultsQuestion{}
|
|
mi := &file_main_proto_msgTypes[159]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResultsQuestion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResultsQuestion) ProtoMessage() {}
|
|
|
|
func (x *ResultsQuestion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[159]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResultsQuestion.ProtoReflect.Descriptor instead.
|
|
func (*ResultsQuestion) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{159}
|
|
}
|
|
|
|
func (x *ResultsQuestion) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResultsQuestion) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Строка итоговой таблицы: команда, баллы по вопросам, сумма и место.
|
|
type TeamResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"`
|
|
Answers []*AnswerScore `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"`
|
|
// Сумма баллов по всем вопросам сценария (неоценённые считаются как 0)
|
|
TotalScore int32 `protobuf:"varint,3,opt,name=total_score,json=totalScore,proto3" json:"total_score,omitempty"`
|
|
// Место в итоговой таблице: команды с одинаковой суммой баллов и
|
|
// одинаковым числом ходов занимают одно место (следующее пропускается)
|
|
Place int32 `protobuf:"varint,4,opt,name=place,proto3" json:"place,omitempty"`
|
|
// Количество ходов команды (дублирует team.actions_count для удобства
|
|
// таблицы; участвует в тай-брейке при равенстве суммы баллов)
|
|
ActionsCount int32 `protobuf:"varint,5,opt,name=actions_count,json=actionsCount,proto3" json:"actions_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TeamResult) Reset() {
|
|
*x = TeamResult{}
|
|
mi := &file_main_proto_msgTypes[160]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TeamResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TeamResult) ProtoMessage() {}
|
|
|
|
func (x *TeamResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[160]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TeamResult.ProtoReflect.Descriptor instead.
|
|
func (*TeamResult) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{160}
|
|
}
|
|
|
|
func (x *TeamResult) GetTeam() *Team {
|
|
if x != nil {
|
|
return x.Team
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TeamResult) GetAnswers() []*AnswerScore {
|
|
if x != nil {
|
|
return x.Answers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TeamResult) GetTotalScore() int32 {
|
|
if x != nil {
|
|
return x.TotalScore
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TeamResult) GetPlace() int32 {
|
|
if x != nil {
|
|
return x.Place
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TeamResult) GetActionsCount() int32 {
|
|
if x != nil {
|
|
return x.ActionsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGameResultsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Questions []*ResultsQuestion `protobuf:"bytes,1,rep,name=questions,proto3" json:"questions,omitempty"`
|
|
Teams []*TeamResult `protobuf:"bytes,2,rep,name=teams,proto3" json:"teams,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameResultsRsp) Reset() {
|
|
*x = GetGameResultsRsp{}
|
|
mi := &file_main_proto_msgTypes[161]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameResultsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameResultsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameResultsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[161]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameResultsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameResultsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{161}
|
|
}
|
|
|
|
func (x *GetGameResultsRsp) GetQuestions() []*ResultsQuestion {
|
|
if x != nil {
|
|
return x.Questions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGameResultsRsp) GetTeams() []*TeamResult {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GameReview struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
GameID int32 `protobuf:"varint,2,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
TeamID int32 `protobuf:"varint,3,opt,name=teamID,proto3" json:"teamID,omitempty"`
|
|
TeamName string `protobuf:"bytes,4,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"`
|
|
Rating int32 `protobuf:"varint,5,opt,name=rating,proto3" json:"rating,omitempty"`
|
|
Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"`
|
|
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
GameName string `protobuf:"bytes,9,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
|
|
Difficulty int32 `protobuf:"varint,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GameReview) Reset() {
|
|
*x = GameReview{}
|
|
mi := &file_main_proto_msgTypes[162]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GameReview) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GameReview) ProtoMessage() {}
|
|
|
|
func (x *GameReview) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[162]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GameReview.ProtoReflect.Descriptor instead.
|
|
func (*GameReview) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{162}
|
|
}
|
|
|
|
func (x *GameReview) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GameReview) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GameReview) GetTeamID() int32 {
|
|
if x != nil {
|
|
return x.TeamID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GameReview) GetTeamName() string {
|
|
if x != nil {
|
|
return x.TeamName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameReview) GetRating() int32 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GameReview) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameReview) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameReview) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GameReview) GetGameName() string {
|
|
if x != nil {
|
|
return x.GameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GameReview) GetDifficulty() int32 {
|
|
if x != nil {
|
|
return x.Difficulty
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateGameReviewReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
TeamID int32 `protobuf:"varint,2,opt,name=teamID,proto3" json:"teamID,omitempty"`
|
|
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
|
Rating int32 `protobuf:"varint,4,opt,name=rating,proto3" json:"rating,omitempty"`
|
|
Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
|
|
Difficulty int32 `protobuf:"varint,6,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) Reset() {
|
|
*x = CreateGameReviewReq{}
|
|
mi := &file_main_proto_msgTypes[163]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateGameReviewReq) ProtoMessage() {}
|
|
|
|
func (x *CreateGameReviewReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[163]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateGameReviewReq.ProtoReflect.Descriptor instead.
|
|
func (*CreateGameReviewReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{163}
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetTeamID() int32 {
|
|
if x != nil {
|
|
return x.TeamID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetRating() int32 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateGameReviewReq) GetDifficulty() int32 {
|
|
if x != nil {
|
|
return x.Difficulty
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateGameReviewRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Review *GameReview `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateGameReviewRsp) Reset() {
|
|
*x = CreateGameReviewRsp{}
|
|
mi := &file_main_proto_msgTypes[164]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateGameReviewRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateGameReviewRsp) ProtoMessage() {}
|
|
|
|
func (x *CreateGameReviewRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[164]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateGameReviewRsp.ProtoReflect.Descriptor instead.
|
|
func (*CreateGameReviewRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{164}
|
|
}
|
|
|
|
func (x *CreateGameReviewRsp) GetReview() *GameReview {
|
|
if x != nil {
|
|
return x.Review
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGameReviewsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameReviewsReq) Reset() {
|
|
*x = GetGameReviewsReq{}
|
|
mi := &file_main_proto_msgTypes[165]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameReviewsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameReviewsReq) ProtoMessage() {}
|
|
|
|
func (x *GetGameReviewsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[165]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameReviewsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGameReviewsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{165}
|
|
}
|
|
|
|
func (x *GetGameReviewsReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetScenarioReviewsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScenarioID int32 `protobuf:"varint,1,opt,name=scenarioID,proto3" json:"scenarioID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenarioReviewsReq) Reset() {
|
|
*x = GetScenarioReviewsReq{}
|
|
mi := &file_main_proto_msgTypes[166]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenarioReviewsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenarioReviewsReq) ProtoMessage() {}
|
|
|
|
func (x *GetScenarioReviewsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[166]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScenarioReviewsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScenarioReviewsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{166}
|
|
}
|
|
|
|
func (x *GetScenarioReviewsReq) GetScenarioID() int32 {
|
|
if x != nil {
|
|
return x.ScenarioID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetReviewsForModerationReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetReviewsForModerationReq) Reset() {
|
|
*x = GetReviewsForModerationReq{}
|
|
mi := &file_main_proto_msgTypes[167]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetReviewsForModerationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetReviewsForModerationReq) ProtoMessage() {}
|
|
|
|
func (x *GetReviewsForModerationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[167]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetReviewsForModerationReq.ProtoReflect.Descriptor instead.
|
|
func (*GetReviewsForModerationReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{167}
|
|
}
|
|
|
|
type GetGameReviewsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AverageRating float64 `protobuf:"fixed64,1,opt,name=average_rating,json=averageRating,proto3" json:"average_rating,omitempty"`
|
|
ReviewsCount int32 `protobuf:"varint,2,opt,name=reviews_count,json=reviewsCount,proto3" json:"reviews_count,omitempty"`
|
|
Reviews []*GameReview `protobuf:"bytes,3,rep,name=reviews,proto3" json:"reviews,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetGameReviewsRsp) Reset() {
|
|
*x = GetGameReviewsRsp{}
|
|
mi := &file_main_proto_msgTypes[168]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetGameReviewsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGameReviewsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetGameReviewsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[168]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGameReviewsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetGameReviewsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{168}
|
|
}
|
|
|
|
func (x *GetGameReviewsRsp) GetAverageRating() float64 {
|
|
if x != nil {
|
|
return x.AverageRating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetGameReviewsRsp) GetReviewsCount() int32 {
|
|
if x != nil {
|
|
return x.ReviewsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetGameReviewsRsp) GetReviews() []*GameReview {
|
|
if x != nil {
|
|
return x.Reviews
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModerateGameReviewReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModerateGameReviewReq) Reset() {
|
|
*x = ModerateGameReviewReq{}
|
|
mi := &file_main_proto_msgTypes[169]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModerateGameReviewReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModerateGameReviewReq) ProtoMessage() {}
|
|
|
|
func (x *ModerateGameReviewReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[169]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModerateGameReviewReq.ProtoReflect.Descriptor instead.
|
|
func (*ModerateGameReviewReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{169}
|
|
}
|
|
|
|
func (x *ModerateGameReviewReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModerateGameReviewReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ModerateGameReviewRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Review *GameReview `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModerateGameReviewRsp) Reset() {
|
|
*x = ModerateGameReviewRsp{}
|
|
mi := &file_main_proto_msgTypes[170]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModerateGameReviewRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModerateGameReviewRsp) ProtoMessage() {}
|
|
|
|
func (x *ModerateGameReviewRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[170]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModerateGameReviewRsp.ProtoReflect.Descriptor instead.
|
|
func (*ModerateGameReviewRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{170}
|
|
}
|
|
|
|
func (x *ModerateGameReviewRsp) GetReview() *GameReview {
|
|
if x != nil {
|
|
return x.Review
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
StartAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
|
|
ScenarioID int32 `protobuf:"varint,5,opt,name=scenarioID,proto3" json:"scenarioID,omitempty"`
|
|
Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
|
|
Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateGameReq) Reset() {
|
|
*x = UpdateGameReq{}
|
|
mi := &file_main_proto_msgTypes[171]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGameReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[171]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGameReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{171}
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetStartAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetScenarioID() int32 {
|
|
if x != nil {
|
|
return x.ScenarioID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetFormat() string {
|
|
if x != nil {
|
|
return x.Format
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGameReq) GetLocation() string {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateGameRsp) Reset() {
|
|
*x = UpdateGameRsp{}
|
|
mi := &file_main_proto_msgTypes[172]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGameRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[172]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{172}
|
|
}
|
|
|
|
type StartGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartGameReq) Reset() {
|
|
*x = StartGameReq{}
|
|
mi := &file_main_proto_msgTypes[173]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartGameReq) ProtoMessage() {}
|
|
|
|
func (x *StartGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[173]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartGameReq.ProtoReflect.Descriptor instead.
|
|
func (*StartGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{173}
|
|
}
|
|
|
|
func (x *StartGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartGameRsp) Reset() {
|
|
*x = StartGameRsp{}
|
|
mi := &file_main_proto_msgTypes[174]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartGameRsp) ProtoMessage() {}
|
|
|
|
func (x *StartGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[174]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*StartGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{174}
|
|
}
|
|
|
|
type PauseGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PauseGameReq) Reset() {
|
|
*x = PauseGameReq{}
|
|
mi := &file_main_proto_msgTypes[175]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PauseGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PauseGameReq) ProtoMessage() {}
|
|
|
|
func (x *PauseGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[175]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PauseGameReq.ProtoReflect.Descriptor instead.
|
|
func (*PauseGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{175}
|
|
}
|
|
|
|
func (x *PauseGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PauseGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PauseGameRsp) Reset() {
|
|
*x = PauseGameRsp{}
|
|
mi := &file_main_proto_msgTypes[176]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PauseGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PauseGameRsp) ProtoMessage() {}
|
|
|
|
func (x *PauseGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[176]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PauseGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*PauseGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{176}
|
|
}
|
|
|
|
type PlayGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PlayGameReq) Reset() {
|
|
*x = PlayGameReq{}
|
|
mi := &file_main_proto_msgTypes[177]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PlayGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlayGameReq) ProtoMessage() {}
|
|
|
|
func (x *PlayGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[177]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PlayGameReq.ProtoReflect.Descriptor instead.
|
|
func (*PlayGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{177}
|
|
}
|
|
|
|
func (x *PlayGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PlayGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PlayGameRsp) Reset() {
|
|
*x = PlayGameRsp{}
|
|
mi := &file_main_proto_msgTypes[178]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PlayGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlayGameRsp) ProtoMessage() {}
|
|
|
|
func (x *PlayGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[178]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PlayGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*PlayGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{178}
|
|
}
|
|
|
|
type FinishGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishGameReq) Reset() {
|
|
*x = FinishGameReq{}
|
|
mi := &file_main_proto_msgTypes[179]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishGameReq) ProtoMessage() {}
|
|
|
|
func (x *FinishGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[179]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FinishGameReq.ProtoReflect.Descriptor instead.
|
|
func (*FinishGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{179}
|
|
}
|
|
|
|
func (x *FinishGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FinishGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishGameRsp) Reset() {
|
|
*x = FinishGameRsp{}
|
|
mi := &file_main_proto_msgTypes[180]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishGameRsp) ProtoMessage() {}
|
|
|
|
func (x *FinishGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[180]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FinishGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*FinishGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{180}
|
|
}
|
|
|
|
type ResetGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetGameReq) Reset() {
|
|
*x = ResetGameReq{}
|
|
mi := &file_main_proto_msgTypes[181]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetGameReq) ProtoMessage() {}
|
|
|
|
func (x *ResetGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[181]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetGameReq.ProtoReflect.Descriptor instead.
|
|
func (*ResetGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{181}
|
|
}
|
|
|
|
func (x *ResetGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ResetGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetGameRsp) Reset() {
|
|
*x = ResetGameRsp{}
|
|
mi := &file_main_proto_msgTypes[182]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetGameRsp) ProtoMessage() {}
|
|
|
|
func (x *ResetGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[182]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*ResetGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{182}
|
|
}
|
|
|
|
type DeleteGameReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGameReq) Reset() {
|
|
*x = DeleteGameReq{}
|
|
mi := &file_main_proto_msgTypes[183]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGameReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteGameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[183]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGameReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGameReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{183}
|
|
}
|
|
|
|
func (x *DeleteGameReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteGameRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGameRsp) Reset() {
|
|
*x = DeleteGameRsp{}
|
|
mi := &file_main_proto_msgTypes[184]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGameRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGameRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteGameRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[184]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGameRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGameRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{184}
|
|
}
|
|
|
|
type AddTeamReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
CaptainEmail string `protobuf:"bytes,3,opt,name=captain_email,json=captainEmail,proto3" json:"captain_email,omitempty"`
|
|
ParticipantsCount int32 `protobuf:"varint,4,opt,name=participants_count,json=participantsCount,proto3" json:"participants_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTeamReq) Reset() {
|
|
*x = AddTeamReq{}
|
|
mi := &file_main_proto_msgTypes[185]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTeamReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTeamReq) ProtoMessage() {}
|
|
|
|
func (x *AddTeamReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[185]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTeamReq.ProtoReflect.Descriptor instead.
|
|
func (*AddTeamReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{185}
|
|
}
|
|
|
|
func (x *AddTeamReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddTeamReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddTeamReq) GetCaptainEmail() string {
|
|
if x != nil {
|
|
return x.CaptainEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddTeamReq) GetParticipantsCount() int32 {
|
|
if x != nil {
|
|
return x.ParticipantsCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddTeamRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTeamRsp) Reset() {
|
|
*x = AddTeamRsp{}
|
|
mi := &file_main_proto_msgTypes[186]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTeamRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTeamRsp) ProtoMessage() {}
|
|
|
|
func (x *AddTeamRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[186]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTeamRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddTeamRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{186}
|
|
}
|
|
|
|
func (x *AddTeamRsp) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddTeamRsp) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateTeamReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateTeamReq) Reset() {
|
|
*x = UpdateTeamReq{}
|
|
mi := &file_main_proto_msgTypes[187]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateTeamReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateTeamReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateTeamReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[187]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateTeamReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateTeamReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{187}
|
|
}
|
|
|
|
func (x *UpdateTeamReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateTeamReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateTeamRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateTeamRsp) Reset() {
|
|
*x = UpdateTeamRsp{}
|
|
mi := &file_main_proto_msgTypes[188]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateTeamRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateTeamRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateTeamRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[188]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateTeamRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateTeamRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{188}
|
|
}
|
|
|
|
type DeleteTeamReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTeamReq) Reset() {
|
|
*x = DeleteTeamReq{}
|
|
mi := &file_main_proto_msgTypes[189]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTeamReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTeamReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteTeamReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[189]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTeamReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTeamReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{189}
|
|
}
|
|
|
|
func (x *DeleteTeamReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteTeamRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTeamRsp) Reset() {
|
|
*x = DeleteTeamRsp{}
|
|
mi := &file_main_proto_msgTypes[190]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTeamRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTeamRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteTeamRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[190]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTeamRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTeamRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{190}
|
|
}
|
|
|
|
type GiveTeamApplicationsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsReq) Reset() {
|
|
*x = GiveTeamApplicationsReq{}
|
|
mi := &file_main_proto_msgTypes[191]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GiveTeamApplicationsReq) ProtoMessage() {}
|
|
|
|
func (x *GiveTeamApplicationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[191]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GiveTeamApplicationsReq.ProtoReflect.Descriptor instead.
|
|
func (*GiveTeamApplicationsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{191}
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GiveTeamApplicationsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsRsp) Reset() {
|
|
*x = GiveTeamApplicationsRsp{}
|
|
mi := &file_main_proto_msgTypes[192]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GiveTeamApplicationsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GiveTeamApplicationsRsp) ProtoMessage() {}
|
|
|
|
func (x *GiveTeamApplicationsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[192]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GiveTeamApplicationsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GiveTeamApplicationsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{192}
|
|
}
|
|
|
|
type GetTeamStoryReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTeamStoryReq) Reset() {
|
|
*x = GetTeamStoryReq{}
|
|
mi := &file_main_proto_msgTypes[193]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTeamStoryReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTeamStoryReq) ProtoMessage() {}
|
|
|
|
func (x *GetTeamStoryReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[193]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTeamStoryReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTeamStoryReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{193}
|
|
}
|
|
|
|
func (x *GetTeamStoryReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTeamStoryReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTeamStoryRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Story *Story `protobuf:"bytes,1,opt,name=story,proto3" json:"story,omitempty"`
|
|
Game *Game `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
|
|
Actions []*TeamAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTeamStoryRsp) Reset() {
|
|
*x = GetTeamStoryRsp{}
|
|
mi := &file_main_proto_msgTypes[194]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTeamStoryRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTeamStoryRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTeamStoryRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[194]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTeamStoryRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTeamStoryRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{194}
|
|
}
|
|
|
|
func (x *GetTeamStoryRsp) GetStory() *Story {
|
|
if x != nil {
|
|
return x.Story
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTeamStoryRsp) GetGame() *Game {
|
|
if x != nil {
|
|
return x.Game
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTeamStoryRsp) GetActions() []*TeamAction {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TeamAction struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Mcp bool `protobuf:"varint,2,opt,name=mcp,proto3" json:"mcp,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TeamAction) Reset() {
|
|
*x = TeamAction{}
|
|
mi := &file_main_proto_msgTypes[195]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TeamAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TeamAction) ProtoMessage() {}
|
|
|
|
func (x *TeamAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[195]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TeamAction.ProtoReflect.Descriptor instead.
|
|
func (*TeamAction) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{195}
|
|
}
|
|
|
|
func (x *TeamAction) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamAction) GetMcp() bool {
|
|
if x != nil {
|
|
return x.Mcp
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddTeamActionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTeamActionReq) Reset() {
|
|
*x = AddTeamActionReq{}
|
|
mi := &file_main_proto_msgTypes[196]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTeamActionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTeamActionReq) ProtoMessage() {}
|
|
|
|
func (x *AddTeamActionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[196]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTeamActionReq.ProtoReflect.Descriptor instead.
|
|
func (*AddTeamActionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{196}
|
|
}
|
|
|
|
func (x *AddTeamActionReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddTeamActionReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddTeamActionReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddTeamActionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTeamActionRsp) Reset() {
|
|
*x = AddTeamActionRsp{}
|
|
mi := &file_main_proto_msgTypes[197]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTeamActionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTeamActionRsp) ProtoMessage() {}
|
|
|
|
func (x *AddTeamActionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[197]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTeamActionRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddTeamActionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{197}
|
|
}
|
|
|
|
type DeleteLastTeamActionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteLastTeamActionReq) Reset() {
|
|
*x = DeleteLastTeamActionReq{}
|
|
mi := &file_main_proto_msgTypes[198]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteLastTeamActionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteLastTeamActionReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteLastTeamActionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[198]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteLastTeamActionReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteLastTeamActionReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{198}
|
|
}
|
|
|
|
func (x *DeleteLastTeamActionReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteLastTeamActionRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteLastTeamActionRsp) Reset() {
|
|
*x = DeleteLastTeamActionRsp{}
|
|
mi := &file_main_proto_msgTypes[199]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteLastTeamActionRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteLastTeamActionRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteLastTeamActionRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[199]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteLastTeamActionRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteLastTeamActionRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{199}
|
|
}
|
|
|
|
type GetTeamAnswersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTeamAnswersReq) Reset() {
|
|
*x = GetTeamAnswersReq{}
|
|
mi := &file_main_proto_msgTypes[200]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTeamAnswersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTeamAnswersReq) ProtoMessage() {}
|
|
|
|
func (x *GetTeamAnswersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[200]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTeamAnswersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTeamAnswersReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{200}
|
|
}
|
|
|
|
func (x *GetTeamAnswersReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTeamAnswersReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTeamAnswersRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Answers []*Answer `protobuf:"bytes,1,rep,name=answers,proto3" json:"answers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTeamAnswersRsp) Reset() {
|
|
*x = GetTeamAnswersRsp{}
|
|
mi := &file_main_proto_msgTypes[201]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTeamAnswersRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTeamAnswersRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTeamAnswersRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[201]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTeamAnswersRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTeamAnswersRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{201}
|
|
}
|
|
|
|
func (x *GetTeamAnswersRsp) GetAnswers() []*Answer {
|
|
if x != nil {
|
|
return x.Answers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitTeamAnswersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Answers []*Answer `protobuf:"bytes,3,rep,name=answers,proto3" json:"answers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersReq) Reset() {
|
|
*x = SubmitTeamAnswersReq{}
|
|
mi := &file_main_proto_msgTypes[202]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitTeamAnswersReq) ProtoMessage() {}
|
|
|
|
func (x *SubmitTeamAnswersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[202]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitTeamAnswersReq.ProtoReflect.Descriptor instead.
|
|
func (*SubmitTeamAnswersReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{202}
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersReq) GetAnswers() []*Answer {
|
|
if x != nil {
|
|
return x.Answers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitTeamAnswersRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersRsp) Reset() {
|
|
*x = SubmitTeamAnswersRsp{}
|
|
mi := &file_main_proto_msgTypes[203]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitTeamAnswersRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitTeamAnswersRsp) ProtoMessage() {}
|
|
|
|
func (x *SubmitTeamAnswersRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[203]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitTeamAnswersRsp.ProtoReflect.Descriptor instead.
|
|
func (*SubmitTeamAnswersRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{203}
|
|
}
|
|
|
|
type SetTeamAnswerScoreReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
QuestionCode string `protobuf:"bytes,2,opt,name=questionCode,proto3" json:"questionCode,omitempty"`
|
|
// Балл; отсутствует — сбросить выставленный балл
|
|
Score *int32 `protobuf:"varint,3,opt,name=score,proto3,oneof" json:"score,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreReq) Reset() {
|
|
*x = SetTeamAnswerScoreReq{}
|
|
mi := &file_main_proto_msgTypes[204]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTeamAnswerScoreReq) ProtoMessage() {}
|
|
|
|
func (x *SetTeamAnswerScoreReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[204]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTeamAnswerScoreReq.ProtoReflect.Descriptor instead.
|
|
func (*SetTeamAnswerScoreReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{204}
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreReq) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreReq) GetQuestionCode() string {
|
|
if x != nil {
|
|
return x.QuestionCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreReq) GetScore() int32 {
|
|
if x != nil && x.Score != nil {
|
|
return *x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetTeamAnswerScoreRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreRsp) Reset() {
|
|
*x = SetTeamAnswerScoreRsp{}
|
|
mi := &file_main_proto_msgTypes[205]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTeamAnswerScoreRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTeamAnswerScoreRsp) ProtoMessage() {}
|
|
|
|
func (x *SetTeamAnswerScoreRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[205]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTeamAnswerScoreRsp.ProtoReflect.Descriptor instead.
|
|
func (*SetTeamAnswerScoreRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{205}
|
|
}
|
|
|
|
type UpdateScenarioBackgroundReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Background string `protobuf:"bytes,2,opt,name=background,proto3" json:"background,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundReq) Reset() {
|
|
*x = UpdateScenarioBackgroundReq{}
|
|
mi := &file_main_proto_msgTypes[206]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioBackgroundReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioBackgroundReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[206]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioBackgroundReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioBackgroundReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{206}
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundReq) GetBackground() string {
|
|
if x != nil {
|
|
return x.Background
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateScenarioBackgroundRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundRsp) Reset() {
|
|
*x = UpdateScenarioBackgroundRsp{}
|
|
mi := &file_main_proto_msgTypes[207]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioBackgroundRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioBackgroundRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioBackgroundRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[207]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateScenarioBackgroundRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioBackgroundRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{207}
|
|
}
|
|
|
|
type IssueGameTicketsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GameID int32 `protobuf:"varint,1,opt,name=gameID,proto3" json:"gameID,omitempty"`
|
|
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IssueGameTicketsReq) Reset() {
|
|
*x = IssueGameTicketsReq{}
|
|
mi := &file_main_proto_msgTypes[208]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IssueGameTicketsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IssueGameTicketsReq) ProtoMessage() {}
|
|
|
|
func (x *IssueGameTicketsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[208]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IssueGameTicketsReq.ProtoReflect.Descriptor instead.
|
|
func (*IssueGameTicketsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{208}
|
|
}
|
|
|
|
func (x *IssueGameTicketsReq) GetGameID() int32 {
|
|
if x != nil {
|
|
return x.GameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IssueGameTicketsReq) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type IssueGameTicketsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tickets []*Ticket `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IssueGameTicketsRsp) Reset() {
|
|
*x = IssueGameTicketsRsp{}
|
|
mi := &file_main_proto_msgTypes[209]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IssueGameTicketsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IssueGameTicketsRsp) ProtoMessage() {}
|
|
|
|
func (x *IssueGameTicketsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[209]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IssueGameTicketsRsp.ProtoReflect.Descriptor instead.
|
|
func (*IssueGameTicketsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{209}
|
|
}
|
|
|
|
func (x *IssueGameTicketsRsp) GetTickets() []*Ticket {
|
|
if x != nil {
|
|
return x.Tickets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Ticket struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Ticket) Reset() {
|
|
*x = Ticket{}
|
|
mi := &file_main_proto_msgTypes[210]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Ticket) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Ticket) ProtoMessage() {}
|
|
|
|
func (x *Ticket) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[210]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Ticket.ProtoReflect.Descriptor instead.
|
|
func (*Ticket) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{210}
|
|
}
|
|
|
|
func (x *Ticket) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Ticket) GetURL() string {
|
|
if x != nil {
|
|
return x.URL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTicketReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTicketReq) Reset() {
|
|
*x = GetTicketReq{}
|
|
mi := &file_main_proto_msgTypes[211]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTicketReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTicketReq) ProtoMessage() {}
|
|
|
|
func (x *GetTicketReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[211]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTicketReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTicketReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{211}
|
|
}
|
|
|
|
func (x *GetTicketReq) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTicketRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ticket *TicketPage `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTicketRsp) Reset() {
|
|
*x = GetTicketRsp{}
|
|
mi := &file_main_proto_msgTypes[212]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTicketRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTicketRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTicketRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[212]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTicketRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTicketRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{212}
|
|
}
|
|
|
|
func (x *GetTicketRsp) GetTicket() *TicketPage {
|
|
if x != nil {
|
|
return x.Ticket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AcceptTicketReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AcceptTicketReq) Reset() {
|
|
*x = AcceptTicketReq{}
|
|
mi := &file_main_proto_msgTypes[213]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AcceptTicketReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcceptTicketReq) ProtoMessage() {}
|
|
|
|
func (x *AcceptTicketReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[213]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AcceptTicketReq.ProtoReflect.Descriptor instead.
|
|
func (*AcceptTicketReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{213}
|
|
}
|
|
|
|
func (x *AcceptTicketReq) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AcceptTicketRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ticket *TicketPage `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AcceptTicketRsp) Reset() {
|
|
*x = AcceptTicketRsp{}
|
|
mi := &file_main_proto_msgTypes[214]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AcceptTicketRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcceptTicketRsp) ProtoMessage() {}
|
|
|
|
func (x *AcceptTicketRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[214]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AcceptTicketRsp.ProtoReflect.Descriptor instead.
|
|
func (*AcceptTicketRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{214}
|
|
}
|
|
|
|
func (x *AcceptTicketRsp) GetTicket() *TicketPage {
|
|
if x != nil {
|
|
return x.Ticket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TicketPage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
GameName string `protobuf:"bytes,2,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
|
|
StartAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
|
|
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
GameStatus string `protobuf:"bytes,6,opt,name=game_status,json=gameStatus,proto3" json:"game_status,omitempty"`
|
|
UsedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=used_at,json=usedAt,proto3,oneof" json:"used_at,omitempty"`
|
|
UsedBy string `protobuf:"bytes,8,opt,name=used_by,json=usedBy,proto3" json:"used_by,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TicketPage) Reset() {
|
|
*x = TicketPage{}
|
|
mi := &file_main_proto_msgTypes[215]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TicketPage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TicketPage) ProtoMessage() {}
|
|
|
|
func (x *TicketPage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[215]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TicketPage.ProtoReflect.Descriptor instead.
|
|
func (*TicketPage) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{215}
|
|
}
|
|
|
|
func (x *TicketPage) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TicketPage) GetGameName() string {
|
|
if x != nil {
|
|
return x.GameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TicketPage) GetStartAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TicketPage) GetLocation() string {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TicketPage) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TicketPage) GetGameStatus() string {
|
|
if x != nil {
|
|
return x.GameStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TicketPage) GetUsedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UsedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TicketPage) GetUsedBy() string {
|
|
if x != nil {
|
|
return x.UsedBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Developer tasks use new, in_progress, review and done statuses.
|
|
type DeveloperTask struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
// Omitted assignee means the task is unassigned.
|
|
AssigneeID *int32 `protobuf:"varint,5,opt,name=assigneeID,proto3,oneof" json:"assigneeID,omitempty"`
|
|
AssigneeName string `protobuf:"bytes,6,opt,name=assigneeName,proto3" json:"assigneeName,omitempty"`
|
|
AuthorID *int32 `protobuf:"varint,7,opt,name=authorID,proto3,oneof" json:"authorID,omitempty"`
|
|
// Calendar deadline in YYYY-MM-DD format; empty means no deadline.
|
|
DueDate string `protobuf:"bytes,8,opt,name=dueDate,proto3" json:"dueDate,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
|
// Required for updates and deletion to detect concurrent edits.
|
|
Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeveloperTask) Reset() {
|
|
*x = DeveloperTask{}
|
|
mi := &file_main_proto_msgTypes[216]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeveloperTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeveloperTask) ProtoMessage() {}
|
|
|
|
func (x *DeveloperTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[216]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeveloperTask.ProtoReflect.Descriptor instead.
|
|
func (*DeveloperTask) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{216}
|
|
}
|
|
|
|
func (x *DeveloperTask) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeveloperTask) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeveloperTask) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeveloperTask) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeveloperTask) GetAssigneeID() int32 {
|
|
if x != nil && x.AssigneeID != nil {
|
|
return *x.AssigneeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeveloperTask) GetAssigneeName() string {
|
|
if x != nil {
|
|
return x.AssigneeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeveloperTask) GetAuthorID() int32 {
|
|
if x != nil && x.AuthorID != nil {
|
|
return *x.AuthorID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeveloperTask) GetDueDate() string {
|
|
if x != nil {
|
|
return x.DueDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeveloperTask) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeveloperTask) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeveloperTask) GetVersion() int32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskAssignee struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskAssignee) Reset() {
|
|
*x = TaskAssignee{}
|
|
mi := &file_main_proto_msgTypes[217]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskAssignee) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskAssignee) ProtoMessage() {}
|
|
|
|
func (x *TaskAssignee) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[217]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskAssignee.ProtoReflect.Descriptor instead.
|
|
func (*TaskAssignee) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{217}
|
|
}
|
|
|
|
func (x *TaskAssignee) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskAssignee) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTasksReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTasksReq) Reset() {
|
|
*x = GetTasksReq{}
|
|
mi := &file_main_proto_msgTypes[218]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTasksReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTasksReq) ProtoMessage() {}
|
|
|
|
func (x *GetTasksReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[218]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTasksReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTasksReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{218}
|
|
}
|
|
|
|
type GetTasksRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tasks []*DeveloperTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTasksRsp) Reset() {
|
|
*x = GetTasksRsp{}
|
|
mi := &file_main_proto_msgTypes[219]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTasksRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTasksRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTasksRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[219]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTasksRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTasksRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{219}
|
|
}
|
|
|
|
func (x *GetTasksRsp) GetTasks() []*DeveloperTask {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTaskAssigneesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTaskAssigneesReq) Reset() {
|
|
*x = GetTaskAssigneesReq{}
|
|
mi := &file_main_proto_msgTypes[220]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTaskAssigneesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTaskAssigneesReq) ProtoMessage() {}
|
|
|
|
func (x *GetTaskAssigneesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[220]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTaskAssigneesReq.ProtoReflect.Descriptor instead.
|
|
func (*GetTaskAssigneesReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{220}
|
|
}
|
|
|
|
type GetTaskAssigneesRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Assignees []*TaskAssignee `protobuf:"bytes,1,rep,name=assignees,proto3" json:"assignees,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTaskAssigneesRsp) Reset() {
|
|
*x = GetTaskAssigneesRsp{}
|
|
mi := &file_main_proto_msgTypes[221]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTaskAssigneesRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTaskAssigneesRsp) ProtoMessage() {}
|
|
|
|
func (x *GetTaskAssigneesRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[221]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTaskAssigneesRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetTaskAssigneesRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{221}
|
|
}
|
|
|
|
func (x *GetTaskAssigneesRsp) GetAssignees() []*TaskAssignee {
|
|
if x != nil {
|
|
return x.Assignees
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTaskReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
AssigneeID *int32 `protobuf:"varint,4,opt,name=assigneeID,proto3,oneof" json:"assigneeID,omitempty"`
|
|
DueDate string `protobuf:"bytes,5,opt,name=dueDate,proto3" json:"dueDate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateTaskReq) Reset() {
|
|
*x = CreateTaskReq{}
|
|
mi := &file_main_proto_msgTypes[222]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateTaskReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTaskReq) ProtoMessage() {}
|
|
|
|
func (x *CreateTaskReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[222]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateTaskReq.ProtoReflect.Descriptor instead.
|
|
func (*CreateTaskReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{222}
|
|
}
|
|
|
|
func (x *CreateTaskReq) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTaskReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTaskReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTaskReq) GetAssigneeID() int32 {
|
|
if x != nil && x.AssigneeID != nil {
|
|
return *x.AssigneeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateTaskReq) GetDueDate() string {
|
|
if x != nil {
|
|
return x.DueDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateTaskReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
AssigneeID *int32 `protobuf:"varint,5,opt,name=assigneeID,proto3,oneof" json:"assigneeID,omitempty"`
|
|
DueDate string `protobuf:"bytes,6,opt,name=dueDate,proto3" json:"dueDate,omitempty"`
|
|
Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateTaskReq) Reset() {
|
|
*x = UpdateTaskReq{}
|
|
mi := &file_main_proto_msgTypes[223]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateTaskReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateTaskReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateTaskReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[223]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateTaskReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateTaskReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{223}
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetAssigneeID() int32 {
|
|
if x != nil && x.AssigneeID != nil {
|
|
return *x.AssigneeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetDueDate() string {
|
|
if x != nil {
|
|
return x.DueDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateTaskReq) GetVersion() int32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetTaskStatusReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTaskStatusReq) Reset() {
|
|
*x = SetTaskStatusReq{}
|
|
mi := &file_main_proto_msgTypes[224]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTaskStatusReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTaskStatusReq) ProtoMessage() {}
|
|
|
|
func (x *SetTaskStatusReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[224]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTaskStatusReq.ProtoReflect.Descriptor instead.
|
|
func (*SetTaskStatusReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{224}
|
|
}
|
|
|
|
func (x *SetTaskStatusReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetTaskStatusReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetTaskStatusReq) GetVersion() int32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteTaskReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTaskReq) Reset() {
|
|
*x = DeleteTaskReq{}
|
|
mi := &file_main_proto_msgTypes[225]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTaskReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTaskReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteTaskReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[225]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTaskReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTaskReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{225}
|
|
}
|
|
|
|
func (x *DeleteTaskReq) GetID() int32 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteTaskReq) GetVersion() int32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *DeveloperTask `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskRsp) Reset() {
|
|
*x = TaskRsp{}
|
|
mi := &file_main_proto_msgTypes[226]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskRsp) ProtoMessage() {}
|
|
|
|
func (x *TaskRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[226]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskRsp.ProtoReflect.Descriptor instead.
|
|
func (*TaskRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{226}
|
|
}
|
|
|
|
func (x *TaskRsp) GetTask() *DeveloperTask {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteTaskRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTaskRsp) Reset() {
|
|
*x = DeleteTaskRsp{}
|
|
mi := &file_main_proto_msgTypes[227]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTaskRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTaskRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteTaskRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[227]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTaskRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTaskRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{227}
|
|
}
|
|
|
|
var File_main_proto protoreflect.FileDescriptor
|
|
|
|
const file_main_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\n" +
|
|
"main.proto\x12\x1ecrabs.evening_detective_server\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x19google/api/httpbody.proto\"\t\n" +
|
|
"\aPingReq\"\t\n" +
|
|
"\aPingRsp\"\x1d\n" +
|
|
"\aEchoReq\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x1d\n" +
|
|
"\aEchoRsp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x87\x01\n" +
|
|
"\tSignupReq\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05email\x18\x02 \x01(\tR\x05email\x12!\n" +
|
|
"\faccept_terms\x18\x03 \x01(\bR\vacceptTerms\x12%\n" +
|
|
"\x0eaccept_privacy\x18\x04 \x01(\bR\racceptPrivacy\"\v\n" +
|
|
"\tSignupRsp\"*\n" +
|
|
"\x12RefreshPasswordReq\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\"\x14\n" +
|
|
"\x12RefreshPasswordRsp\"<\n" +
|
|
"\bLoginReq\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"P\n" +
|
|
"\bLoginRsp\x12 \n" +
|
|
"\vaccessToken\x18\x01 \x01(\tR\vaccessToken\x12\"\n" +
|
|
"\frefreshToken\x18\x02 \x01(\tR\frefreshToken\"0\n" +
|
|
"\n" +
|
|
"RefreshReq\x12\"\n" +
|
|
"\frefreshToken\x18\x01 \x01(\tR\frefreshToken\"R\n" +
|
|
"\n" +
|
|
"RefreshRsp\x12 \n" +
|
|
"\vaccessToken\x18\x01 \x01(\tR\vaccessToken\x12\"\n" +
|
|
"\frefreshToken\x18\x02 \x01(\tR\frefreshToken\"\x12\n" +
|
|
"\x10DeleteAccountReq\"\x12\n" +
|
|
"\x10DeleteAccountRsp\"\r\n" +
|
|
"\vGetTermsReq\"!\n" +
|
|
"\vGetTermsRsp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x0f\n" +
|
|
"\rGetPrivacyReq\"#\n" +
|
|
"\rGetPrivacyRsp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x0f\n" +
|
|
"\rGetConsentReq\"#\n" +
|
|
"\rGetConsentRsp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\r\n" +
|
|
"\vGetUsersReq\"I\n" +
|
|
"\vGetUsersRsp\x12:\n" +
|
|
"\x05users\x18\x01 \x03(\v2$.crabs.evening_detective_server.UserR\x05users\"\xb6\x01\n" +
|
|
"\x04User\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05email\x18\x03 \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05roles\x18\x04 \x03(\tR\x05roles\x12\x1b\n" +
|
|
"\tis_active\x18\x05 \x01(\bR\bisActive\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\" \n" +
|
|
"\x0eGetUserByIDReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"J\n" +
|
|
"\x0eGetUserByIDRsp\x128\n" +
|
|
"\x04user\x18\x01 \x01(\v2$.crabs.evening_detective_server.UserR\x04user\"\n" +
|
|
"\n" +
|
|
"\bGetMeReq\"D\n" +
|
|
"\bGetMeRsp\x128\n" +
|
|
"\x04user\x18\x01 \x01(\v2$.crabs.evening_detective_server.UserR\x04user\"J\n" +
|
|
"\x15ChangeUserPasswordReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12!\n" +
|
|
"\fnew_password\x18\x02 \x01(\tR\vnewPassword\"\x17\n" +
|
|
"\x15ChangeUserPasswordRsp\"4\n" +
|
|
"\x0eAddUserRoleReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04role\x18\x02 \x01(\tR\x04role\"\x10\n" +
|
|
"\x0eAddUserRoleRsp\"7\n" +
|
|
"\x11DeleteUserRoleReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04role\x18\x02 \x01(\tR\x04role\"\x13\n" +
|
|
"\x11DeleteUserRoleRsp\"\x13\n" +
|
|
"\x11GetPermissionsReq\"W\n" +
|
|
"\x11GetPermissionsRsp\x12 \n" +
|
|
"\vpermissions\x18\x01 \x03(\tR\vpermissions\x12 \n" +
|
|
"\venvironment\x18\x02 \x01(\tR\venvironment\"?\n" +
|
|
"\rUploadFileReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\fR\x04data\"I\n" +
|
|
"\rUploadFileRsp\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x1c\n" +
|
|
"\tfile_type\x18\x02 \x01(\tR\tfile_type\"-\n" +
|
|
"\x0fDownloadFileReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\"k\n" +
|
|
"\rPlaylistTrack\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n" +
|
|
"\bfilename\x18\x03 \x01(\tR\bfilename\x12\x1a\n" +
|
|
"\bposition\x18\x04 \x01(\x05R\bposition\"u\n" +
|
|
"\bPlaylist\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12E\n" +
|
|
"\x06tracks\x18\x03 \x03(\v2-.crabs.evening_detective_server.PlaylistTrackR\x06tracks\"\x11\n" +
|
|
"\x0fGetPlaylistsReq\"Y\n" +
|
|
"\x0fGetPlaylistsRsp\x12F\n" +
|
|
"\tplaylists\x18\x01 \x03(\v2(.crabs.evening_detective_server.PlaylistR\tplaylists\"'\n" +
|
|
"\x11CreatePlaylistReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"Y\n" +
|
|
"\x11CreatePlaylistRsp\x12D\n" +
|
|
"\bplaylist\x18\x01 \x01(\v2(.crabs.evening_detective_server.PlaylistR\bplaylist\"7\n" +
|
|
"\x11UpdatePlaylistReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"Y\n" +
|
|
"\x11UpdatePlaylistRsp\x12D\n" +
|
|
"\bplaylist\x18\x01 \x01(\v2(.crabs.evening_detective_server.PlaylistR\bplaylist\"#\n" +
|
|
"\x11DeletePlaylistReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x13\n" +
|
|
"\x11DeletePlaylistRsp\"|\n" +
|
|
"\x16UploadPlaylistTrackReq\x12\x1e\n" +
|
|
"\n" +
|
|
"playlistID\x18\x01 \x01(\x05R\n" +
|
|
"playlistID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n" +
|
|
"\bfilename\x18\x03 \x01(\tR\bfilename\x12\x12\n" +
|
|
"\x04data\x18\x04 \x01(\fR\x04data\"^\n" +
|
|
"\x16UploadPlaylistTrackRsp\x12D\n" +
|
|
"\bplaylist\x18\x01 \x01(\v2(.crabs.evening_detective_server.PlaylistR\bplaylist\"R\n" +
|
|
"\x16DeletePlaylistTrackReq\x12\x1e\n" +
|
|
"\n" +
|
|
"playlistID\x18\x01 \x01(\x05R\n" +
|
|
"playlistID\x12\x18\n" +
|
|
"\atrackID\x18\x02 \x01(\x05R\atrackID\"\x18\n" +
|
|
"\x16DeletePlaylistTrackRsp\"H\n" +
|
|
"\x16SetScenarioPlaylistReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1e\n" +
|
|
"\n" +
|
|
"playlistID\x18\x02 \x01(\x05R\n" +
|
|
"playlistID\"\x18\n" +
|
|
"\x16SetScenarioPlaylistRsp\"$\n" +
|
|
"\x0eAddScenarioReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\" \n" +
|
|
"\x0eAddScenarioRsp\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x13\n" +
|
|
"\x11GetMyScenariosReq\"[\n" +
|
|
"\x11GetMyScenariosRsp\x12F\n" +
|
|
"\tscenarios\x18\x01 \x03(\v2(.crabs.evening_detective_server.ScenarioR\tscenarios\"\x18\n" +
|
|
"\x16GetScenariosCatalogReq\"`\n" +
|
|
"\x16GetScenariosCatalogRsp\x12F\n" +
|
|
"\tscenarios\x18\x01 \x03(\v2(.crabs.evening_detective_server.ScenarioR\tscenarios\" \n" +
|
|
"\x0eGetScenarioReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"V\n" +
|
|
"\x0eGetScenarioRsp\x12D\n" +
|
|
"\bscenario\x18\x01 \x01(\v2(.crabs.evening_detective_server.ScenarioR\bscenario\"\x87\x05\n" +
|
|
"\bScenario\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
|
|
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x19\n" +
|
|
"\x05image\x18\x04 \x01(\tH\x01R\x05image\x88\x01\x01\x12;\n" +
|
|
"\x05story\x18\x05 \x01(\v2%.crabs.evening_detective_server.StoryR\x05story\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\x12<\n" +
|
|
"\x06author\x18\a \x01(\v2$.crabs.evening_detective_server.UserR\x06author\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12=\n" +
|
|
"\fpublished_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAt\x12%\n" +
|
|
"\x0eaverage_rating\x18\v \x01(\x01R\raverageRating\x12#\n" +
|
|
"\rreviews_count\x18\f \x01(\x05R\freviewsCount\x12\x1e\n" +
|
|
"\n" +
|
|
"difficulty\x18\r \x01(\tR\n" +
|
|
"difficulty\x121\n" +
|
|
"\x11music_playlist_id\x18\x0e \x01(\x05H\x02R\x11music_playlist_id\x88\x01\x01B\x0e\n" +
|
|
"\f_descriptionB\b\n" +
|
|
"\x06_imageB\x14\n" +
|
|
"\x12_music_playlist_id\"\xcc\x02\n" +
|
|
"\x05Story\x12=\n" +
|
|
"\x06places\x18\x01 \x03(\v2%.crabs.evening_detective_server.PlaceR\x06places\x12P\n" +
|
|
"\fintroduction\x18\x02 \x01(\v2,.crabs.evening_detective_server.IntroductionR\fintroduction\x12F\n" +
|
|
"\tquestions\x18\x03 \x03(\v2(.crabs.evening_detective_server.QuestionR\tquestions\x12\x1e\n" +
|
|
"\n" +
|
|
"background\x18\x04 \x01(\tR\n" +
|
|
"background\x12J\n" +
|
|
"\n" +
|
|
"conclusion\x18\x05 \x01(\v2*.crabs.evening_detective_server.ConclusionR\n" +
|
|
"conclusion\"6\n" +
|
|
"\n" +
|
|
"Conclusion\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\x12\x14\n" +
|
|
"\x05video\x18\x02 \x01(\tR\x05video\"8\n" +
|
|
"\fIntroduction\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\x12\x14\n" +
|
|
"\x05audio\x18\x02 \x01(\tR\x05audio\"\xb7\x02\n" +
|
|
"\x05Place\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04text\x18\x03 \x01(\tR\x04text\x12\x14\n" +
|
|
"\x05image\x18\x04 \x01(\tR\x05image\x12\x16\n" +
|
|
"\x06hidden\x18\x05 \x01(\bR\x06hidden\x12O\n" +
|
|
"\fapplications\x18\x06 \x03(\v2+.crabs.evening_detective_server.ApplicationR\fapplications\x12:\n" +
|
|
"\x05doors\x18\a \x03(\v2$.crabs.evening_detective_server.DoorR\x05doors\x127\n" +
|
|
"\x04keys\x18\b \x03(\v2#.crabs.evening_detective_server.KeyR\x04keys\"U\n" +
|
|
"\vApplication\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05image\x18\x02 \x01(\tR\x05image\x12\x1c\n" +
|
|
"\tfile_type\x18\x03 \x01(\tR\tfile_type\"g\n" +
|
|
"\x04Door\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x127\n" +
|
|
"\x04keys\x18\x03 \x03(\v2#.crabs.evening_detective_server.KeyR\x04keys\"\x19\n" +
|
|
"\x03Key\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"J\n" +
|
|
"\bQuestion\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04text\x18\x02 \x01(\tR\x04text\x12\x16\n" +
|
|
"\x06answer\x18\x03 \x01(\tR\x06answer\"D\n" +
|
|
"\x06Answer\x12\"\n" +
|
|
"\fquestionCode\x18\x01 \x01(\tR\fquestionCode\x12\x16\n" +
|
|
"\x06answer\x18\x02 \x01(\tR\x06answer\"n\n" +
|
|
"\vAnswerScore\x12\"\n" +
|
|
"\fquestionCode\x18\x01 \x01(\tR\fquestionCode\x12\x16\n" +
|
|
"\x06answer\x18\x02 \x01(\tR\x06answer\x12\x19\n" +
|
|
"\x05score\x18\x03 \x01(\x05H\x00R\x05score\x88\x01\x01B\b\n" +
|
|
"\x06_score\"\x8e\x01\n" +
|
|
"\vTeamAnswers\x128\n" +
|
|
"\x04team\x18\x01 \x01(\v2$.crabs.evening_detective_server.TeamR\x04team\x12E\n" +
|
|
"\aanswers\x18\x02 \x03(\v2+.crabs.evening_detective_server.AnswerScoreR\aanswers\"o\n" +
|
|
"\x11UpdateScenarioReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05image\x18\x04 \x01(\tR\x05image\"\x13\n" +
|
|
"\x11UpdateScenarioRsp\"#\n" +
|
|
"\x11PublicScenarioReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x13\n" +
|
|
"\x11PublicScenarioRsp\"\"\n" +
|
|
"\x10DraftScenarioReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x12\n" +
|
|
"\x10DraftScenarioRsp\"#\n" +
|
|
"\x11DeleteScenarioReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x13\n" +
|
|
"\x11DeleteScenarioRsp\"b\n" +
|
|
"\x13AddScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12;\n" +
|
|
"\x05place\x18\x02 \x01(\v2%.crabs.evening_detective_server.PlaceR\x05place\"\x15\n" +
|
|
"\x13AddScenarioPlaceRsp\"y\n" +
|
|
"\x16UpdateScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12;\n" +
|
|
"\x05place\x18\x03 \x01(\v2%.crabs.evening_detective_server.PlaceR\x05place\"\x18\n" +
|
|
"\x16UpdateScenarioPlaceRsp\"<\n" +
|
|
"\x16DeleteScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\"\x18\n" +
|
|
"\x16DeleteScenarioPlaceRsp\"y\n" +
|
|
"\x1bUpdateScenarioConclusionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12J\n" +
|
|
"\n" +
|
|
"conclusion\x18\x02 \x01(\v2*.crabs.evening_detective_server.ConclusionR\n" +
|
|
"conclusion\"\x1d\n" +
|
|
"\x1bUpdateScenarioConclusionRsp\"z\n" +
|
|
"\x16UpdateScenarioIntroReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12P\n" +
|
|
"\fintroduction\x18\x02 \x01(\v2,.crabs.evening_detective_server.IntroductionR\fintroduction\"\x18\n" +
|
|
"\x16UpdateScenarioIntroRsp\"n\n" +
|
|
"\x16AddScenarioQuestionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12D\n" +
|
|
"\bquestion\x18\x02 \x01(\v2(.crabs.evening_detective_server.QuestionR\bquestion\"\x18\n" +
|
|
"\x16AddScenarioQuestionRsp\"\x85\x01\n" +
|
|
"\x19UpdateScenarioQuestionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12D\n" +
|
|
"\bquestion\x18\x03 \x01(\v2(.crabs.evening_detective_server.QuestionR\bquestion\"\x1b\n" +
|
|
"\x19UpdateScenarioQuestionRsp\"?\n" +
|
|
"\x19DeleteScenarioQuestionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\"\x1b\n" +
|
|
"\x19DeleteScenarioQuestionRsp\",\n" +
|
|
"\x1aDownloadScenarioArchiveReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"*\n" +
|
|
"\x18UploadScenarioArchiveRsp\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\xcd\x01\n" +
|
|
"\n" +
|
|
"AddGameReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x125\n" +
|
|
"\bstart_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\astartAt\x12\x1e\n" +
|
|
"\n" +
|
|
"scenarioID\x18\x04 \x01(\x05R\n" +
|
|
"scenarioID\x12\x16\n" +
|
|
"\x06format\x18\x05 \x01(\tR\x06format\x12\x1a\n" +
|
|
"\blocation\x18\x06 \x01(\tR\blocation\"\x1c\n" +
|
|
"\n" +
|
|
"AddGameRsp\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\r\n" +
|
|
"\vGetGamesReq\"I\n" +
|
|
"\vGetGamesRsp\x12:\n" +
|
|
"\x05games\x18\x01 \x03(\v2$.crabs.evening_detective_server.GameR\x05games\"\xad\x04\n" +
|
|
"\x04Game\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x125\n" +
|
|
"\bstart_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\astartAt\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\x12D\n" +
|
|
"\bscenario\x18\x06 \x01(\v2(.crabs.evening_detective_server.ScenarioR\bscenario\x12:\n" +
|
|
"\x05teams\x18\a \x03(\v2$.crabs.evening_detective_server.TeamR\x05teams\x12>\n" +
|
|
"\n" +
|
|
"started_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampH\x00R\tstartedAt\x88\x01\x01\x12:\n" +
|
|
"\bended_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampH\x01R\aendedAt\x88\x01\x01\x12\x16\n" +
|
|
"\x06format\x18\n" +
|
|
" \x01(\tR\x06format\x12\x1a\n" +
|
|
"\blocation\x18\v \x01(\tR\blocation\x12B\n" +
|
|
"\x06export\x18\f \x01(\v2*.crabs.evening_detective_server.GameExportR\x06exportB\r\n" +
|
|
"\v_started_atB\v\n" +
|
|
"\t_ended_at\"\x96\x01\n" +
|
|
"\n" +
|
|
"GameExport\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\tR\x02ID\x12\x14\n" +
|
|
"\x05state\x18\x02 \x01(\tR\x05state\x12\x1c\n" +
|
|
"\tpackageID\x18\x03 \x01(\tR\tpackageID\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\x03R\x04size\x12\x16\n" +
|
|
"\x06sha256\x18\x05 \x01(\tR\x06sha256\x12\x18\n" +
|
|
"\afailure\x18\x06 \x01(\tR\afailure\"$\n" +
|
|
"\x12StartGameExportReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\"\n" +
|
|
"\x10GetGameExportReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"S\n" +
|
|
"\rGameExportRsp\x12B\n" +
|
|
"\x06export\x18\x01 \x01(\v2*.crabs.evening_detective_server.GameExportR\x06export\"\xec\x06\n" +
|
|
"\vScreenState\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\tR\x02ID\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x1b\n" +
|
|
"\x06gameID\x18\x03 \x01(\x05H\x00R\x06gameID\x88\x01\x01\x12>\n" +
|
|
"\x04mode\x18\x04 \x01(\x0e2*.crabs.evening_detective_server.ScreenModeR\x04mode\x12#\n" +
|
|
"\rsound_enabled\x18\x05 \x01(\bR\fsoundEnabled\x12\x14\n" +
|
|
"\x05error\x18\x06 \x01(\tR\x05error\x12#\n" +
|
|
"\rstate_version\x18\a \x01(\x03R\fstateVersion\x12\x1f\n" +
|
|
"\vposition_ms\x18\b \x01(\x03R\n" +
|
|
"positionMs\x12\x1b\n" +
|
|
"\tgame_name\x18\t \x01(\tR\bgameName\x12\x1f\n" +
|
|
"\vcover_image\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"coverImage\x12\x1f\n" +
|
|
"\vintro_audio\x18\v \x01(\tR\n" +
|
|
"introAudio\x12)\n" +
|
|
"\x10conclusion_video\x18\f \x01(\tR\x0fconclusionVideo\x12G\n" +
|
|
"\acommand\x18\r \x01(\x0e2-.crabs.evening_detective_server.ScreenCommandR\acommand\x12\x16\n" +
|
|
"\x06volume\x18\x0e \x01(\x05R\x06volume\x12)\n" +
|
|
"\x10background_image\x18\x0f \x01(\tR\x0fbackgroundImage\x12\x1f\n" +
|
|
"\vtimer_label\x18\x10 \x01(\tR\n" +
|
|
"timerLabel\x124\n" +
|
|
"\x16timer_duration_seconds\x18\x11 \x01(\x03R\x14timerDurationSeconds\x126\n" +
|
|
"\x17timer_remaining_seconds\x18\x12 \x01(\x03R\x15timerRemainingSeconds\x12Q\n" +
|
|
"\vtimer_state\x18\x13 \x01(\x0e20.crabs.evening_detective_server.ScreenTimerStateR\n" +
|
|
"timerState\x12\x12\n" +
|
|
"\x04text\x18\x14 \x01(\tR\x04text\x12@\n" +
|
|
"\x05music\x18\x15 \x01(\v2*.crabs.evening_detective_server.MusicStateR\x05musicB\t\n" +
|
|
"\a_gameID\"\x18\n" +
|
|
"\x16CreateScreenSessionReq\"W\n" +
|
|
"\x16CreateScreenSessionRsp\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12!\n" +
|
|
"\faccess_token\x18\x02 \x01(\tR\vaccessToken\"Q\n" +
|
|
"\x11GetScreenStateReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\"V\n" +
|
|
"\x11GetScreenStateRsp\x12A\n" +
|
|
"\x05state\x18\x01 \x01(\v2+.crabs.evening_detective_server.ScreenStateR\x05state\"+\n" +
|
|
"\x11GetGameScreensReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"Z\n" +
|
|
"\x11GetGameScreensRsp\x12E\n" +
|
|
"\ascreens\x18\x01 \x03(\v2+.crabs.evening_detective_server.ScreenStateR\ascreens\"\xb5\x02\n" +
|
|
"\n" +
|
|
"MusicState\x12D\n" +
|
|
"\bplaylist\x18\x01 \x01(\v2(.crabs.evening_detective_server.PlaylistR\bplaylist\x12\x1f\n" +
|
|
"\vtrack_index\x18\x02 \x01(\x05R\n" +
|
|
"trackIndex\x12\x1f\n" +
|
|
"\vposition_ms\x18\x03 \x01(\x03R\n" +
|
|
"positionMs\x12\x16\n" +
|
|
"\x06volume\x18\x04 \x01(\x05R\x06volume\x12\x12\n" +
|
|
"\x04loop\x18\x05 \x01(\bR\x04loop\x12N\n" +
|
|
"\bplayback\x18\x06 \x01(\x0e22.crabs.evening_detective_server.MusicPlaybackStateR\bplayback\x12#\n" +
|
|
"\rstate_version\x18\a \x01(\x03R\fstateVersion\")\n" +
|
|
"\x0fGetGameMusicReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"\xf7\x01\n" +
|
|
"\x0fGetGameMusicRsp\x12F\n" +
|
|
"\tplaylists\x18\x01 \x03(\v2(.crabs.evening_detective_server.PlaylistR\tplaylists\x12@\n" +
|
|
"\x05state\x18\x02 \x01(\v2*.crabs.evening_detective_server.MusicStateR\x05state\x120\n" +
|
|
"\x14scenario_playlist_id\x18\x03 \x01(\x05R\x12scenarioPlaylistId\x12(\n" +
|
|
"\x10game_playlist_id\x18\x04 \x01(\x05R\x0egamePlaylistId\"\x87\x02\n" +
|
|
"\x0fSetGameMusicReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x1e\n" +
|
|
"\n" +
|
|
"playlistID\x18\x02 \x01(\x05R\n" +
|
|
"playlistID\x12\x1f\n" +
|
|
"\vtrack_index\x18\x03 \x01(\x05R\n" +
|
|
"trackIndex\x12\x1f\n" +
|
|
"\vposition_ms\x18\x04 \x01(\x03R\n" +
|
|
"positionMs\x12\x16\n" +
|
|
"\x06volume\x18\x05 \x01(\x05R\x06volume\x12\x12\n" +
|
|
"\x04loop\x18\x06 \x01(\bR\x04loop\x12N\n" +
|
|
"\bplayback\x18\a \x01(\x0e22.crabs.evening_detective_server.MusicPlaybackStateR\bplayback\"S\n" +
|
|
"\x0fSetGameMusicRsp\x12@\n" +
|
|
"\x05state\x18\x01 \x01(\v2*.crabs.evening_detective_server.MusicStateR\x05state\"U\n" +
|
|
"\x15AdvanceScreenMusicReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\"Y\n" +
|
|
"\x15AdvanceScreenMusicRsp\x12@\n" +
|
|
"\x05state\x18\x01 \x01(\v2*.crabs.evening_detective_server.MusicStateR\x05state\"e\n" +
|
|
"\rBindScreenReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\x12\x16\n" +
|
|
"\x06gameID\x18\x03 \x01(\x05R\x06gameID\"R\n" +
|
|
"\rBindScreenRsp\x12A\n" +
|
|
"\x05state\x18\x01 \x01(\v2+.crabs.evening_detective_server.ScreenStateR\x05state\"-\n" +
|
|
"\x0fUnbindScreenReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\"\x11\n" +
|
|
"\x0fUnbindScreenRsp\"S\n" +
|
|
"\x11SetScreenSoundReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12\"\n" +
|
|
"\fsoundEnabled\x18\x02 \x01(\bR\fsoundEnabled\"\x13\n" +
|
|
"\x11SetScreenSoundRsp\"\xbc\x01\n" +
|
|
"\aMapItem\x12\x12\n" +
|
|
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x16\n" +
|
|
"\x06itemID\x18\x02 \x01(\x05R\x06itemID\x12\x14\n" +
|
|
"\x05label\x18\x03 \x01(\tR\x05label\x12\f\n" +
|
|
"\x01x\x18\x04 \x01(\x05R\x01x\x12\f\n" +
|
|
"\x01y\x18\x05 \x01(\x05R\x01y\x12\x16\n" +
|
|
"\x06hidden\x18\x06 \x01(\bR\x06hidden\x12\x16\n" +
|
|
"\x06status\x18\a \x01(\tR\x06status\x12#\n" +
|
|
"\rsound_enabled\x18\b \x01(\bR\fsoundEnabled\"'\n" +
|
|
"\rGetGameMapReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"N\n" +
|
|
"\rGetGameMapRsp\x12=\n" +
|
|
"\x05items\x18\x01 \x03(\v2'.crabs.evening_detective_server.MapItemR\x05items\"\x8e\x01\n" +
|
|
"\x14UpdateGameMapItemReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12\x16\n" +
|
|
"\x06itemID\x18\x03 \x01(\x05R\x06itemID\x12\f\n" +
|
|
"\x01x\x18\x04 \x01(\x05R\x01x\x12\f\n" +
|
|
"\x01y\x18\x05 \x01(\x05R\x01y\x12\x16\n" +
|
|
"\x06hidden\x18\x06 \x01(\bR\x06hidden\"\x16\n" +
|
|
"\x14UpdateGameMapItemRsp\"j\n" +
|
|
"\x10SetScreenModeReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12>\n" +
|
|
"\x04mode\x18\x02 \x01(\x0e2*.crabs.evening_detective_server.ScreenModeR\x04mode\"\x12\n" +
|
|
"\x10SetScreenModeRsp\"l\n" +
|
|
"\x11SetScreenTimerReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12)\n" +
|
|
"\x10duration_seconds\x18\x02 \x01(\x03R\x0fdurationSeconds\x12\x14\n" +
|
|
"\x05label\x18\x03 \x01(\tR\x05label\"\x13\n" +
|
|
"\x11SetScreenTimerRsp\"\xb0\x01\n" +
|
|
"\x14SendScreenCommandReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12G\n" +
|
|
"\acommand\x18\x02 \x01(\x0e2-.crabs.evening_detective_server.ScreenCommandR\acommand\x12\x1f\n" +
|
|
"\vposition_ms\x18\x03 \x01(\x03R\n" +
|
|
"positionMs\x12\x16\n" +
|
|
"\x06volume\x18\x04 \x01(\x05R\x06volume\"\x16\n" +
|
|
"\x14SendScreenCommandRsp\"\xbb\x01\n" +
|
|
"\x0eScreenPlanStep\x12>\n" +
|
|
"\x04mode\x18\x01 \x01(\x0e2*.crabs.evening_detective_server.ScreenModeR\x04mode\x12\x12\n" +
|
|
"\x04text\x18\x02 \x01(\tR\x04text\x12\x1f\n" +
|
|
"\vtimer_label\x18\x03 \x01(\tR\n" +
|
|
"timerLabel\x124\n" +
|
|
"\x16timer_duration_seconds\x18\x04 \x01(\x03R\x14timerDurationSeconds\"u\n" +
|
|
"\n" +
|
|
"ScreenPlan\x12D\n" +
|
|
"\x05steps\x18\x01 \x03(\v2..crabs.evening_detective_server.ScreenPlanStepR\x05steps\x12!\n" +
|
|
"\fcurrent_step\x18\x02 \x01(\x05R\vcurrentStep\"*\n" +
|
|
"\x10GetScreenPlanReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"R\n" +
|
|
"\x10GetScreenPlanRsp\x12>\n" +
|
|
"\x04plan\x18\x01 \x01(\v2*.crabs.evening_detective_server.ScreenPlanR\x04plan\"\x94\x01\n" +
|
|
"\x11SaveScreenPlanReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12D\n" +
|
|
"\x05steps\x18\x02 \x03(\v2..crabs.evening_detective_server.ScreenPlanStepR\x05steps\x12!\n" +
|
|
"\fcurrent_step\x18\x03 \x01(\x05R\vcurrentStep\"S\n" +
|
|
"\x11SaveScreenPlanRsp\x12>\n" +
|
|
"\x04plan\x18\x01 \x01(\v2*.crabs.evening_detective_server.ScreenPlanR\x04plan\"Q\n" +
|
|
"\x14SetScreenPlanStepReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12!\n" +
|
|
"\fcurrent_step\x18\x02 \x01(\x05R\vcurrentStep\"V\n" +
|
|
"\x14SetScreenPlanStepRsp\x12>\n" +
|
|
"\x04plan\x18\x01 \x01(\v2*.crabs.evening_detective_server.ScreenPlanR\x04plan\"S\n" +
|
|
"\x13GetScreenResultsReq\x12\x1a\n" +
|
|
"\bscreenID\x18\x01 \x01(\tR\bscreenID\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\"\xa6\x01\n" +
|
|
"\x13GetScreenResultsRsp\x12M\n" +
|
|
"\tquestions\x18\x01 \x03(\v2/.crabs.evening_detective_server.ResultsQuestionR\tquestions\x12@\n" +
|
|
"\x05teams\x18\x02 \x03(\v2*.crabs.evening_detective_server.TeamResultR\x05teams\"+\n" +
|
|
"\x13GetParticipationReq\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"F\n" +
|
|
"\x16AnswerParticipationReq\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x16\n" +
|
|
"\x06answer\x18\x02 \x01(\tR\x06answer\"\xe2\x01\n" +
|
|
"\x10ParticipationRsp\x12\x1b\n" +
|
|
"\tteam_name\x18\x01 \x01(\tR\bteamName\x12\x1b\n" +
|
|
"\tgame_name\x18\x02 \x01(\tR\bgameName\x125\n" +
|
|
"\bstart_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\astartAt\x12-\n" +
|
|
"\x12participants_count\x18\x04 \x01(\x05R\x11participantsCount\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06closed\x18\x06 \x01(\bR\x06closed\"\x84\x04\n" +
|
|
"\x04Team\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1a\n" +
|
|
"\bpassword\x18\x04 \x01(\tR\bpassword\x12#\n" +
|
|
"\ractions_count\x18\x05 \x01(\x05R\factionsCount\x12O\n" +
|
|
"\fapplications\x18\x06 \x03(\v2+.crabs.evening_detective_server.ApplicationR\fapplications\x12#\n" +
|
|
"\rcaptain_email\x18\a \x01(\tR\fcaptainEmail\x12-\n" +
|
|
"\x12participants_count\x18\b \x01(\x05R\x11participantsCount\x121\n" +
|
|
"\x14participation_status\x18\t \x01(\tR\x13participationStatus\x121\n" +
|
|
"\x14participation_source\x18\n" +
|
|
" \x01(\tR\x13participationSource\x12:\n" +
|
|
"\x19participation_email_error\x18\v \x01(\tR\x17participationEmailError\x128\n" +
|
|
"\x18participation_email_sent\x18\f \x01(\bR\x16participationEmailSent\"\x1c\n" +
|
|
"\n" +
|
|
"GetGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"F\n" +
|
|
"\n" +
|
|
"GetGameRsp\x128\n" +
|
|
"\x04game\x18\x01 \x01(\v2$.crabs.evening_detective_server.GameR\x04game\"+\n" +
|
|
"\x11GetGameAnswersReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"\x9e\x01\n" +
|
|
"\x11GetGameAnswersRsp\x12F\n" +
|
|
"\tquestions\x18\x01 \x03(\v2(.crabs.evening_detective_server.QuestionR\tquestions\x12A\n" +
|
|
"\x05teams\x18\x02 \x03(\v2+.crabs.evening_detective_server.TeamAnswersR\x05teams\"+\n" +
|
|
"\x11GetGameResultsReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"9\n" +
|
|
"\x0fResultsQuestion\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04text\x18\x02 \x01(\tR\x04text\"\xe9\x01\n" +
|
|
"\n" +
|
|
"TeamResult\x128\n" +
|
|
"\x04team\x18\x01 \x01(\v2$.crabs.evening_detective_server.TeamR\x04team\x12E\n" +
|
|
"\aanswers\x18\x02 \x03(\v2+.crabs.evening_detective_server.AnswerScoreR\aanswers\x12\x1f\n" +
|
|
"\vtotal_score\x18\x03 \x01(\x05R\n" +
|
|
"totalScore\x12\x14\n" +
|
|
"\x05place\x18\x04 \x01(\x05R\x05place\x12#\n" +
|
|
"\ractions_count\x18\x05 \x01(\x05R\factionsCount\"\xa4\x01\n" +
|
|
"\x11GetGameResultsRsp\x12M\n" +
|
|
"\tquestions\x18\x01 \x03(\v2/.crabs.evening_detective_server.ResultsQuestionR\tquestions\x12@\n" +
|
|
"\x05teams\x18\x02 \x03(\v2*.crabs.evening_detective_server.TeamResultR\x05teams\"\xa5\x02\n" +
|
|
"\n" +
|
|
"GameReview\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x16\n" +
|
|
"\x06gameID\x18\x02 \x01(\x05R\x06gameID\x12\x16\n" +
|
|
"\x06teamID\x18\x03 \x01(\x05R\x06teamID\x12\x1b\n" +
|
|
"\tteam_name\x18\x04 \x01(\tR\bteamName\x12\x16\n" +
|
|
"\x06rating\x18\x05 \x01(\x05R\x06rating\x12\x12\n" +
|
|
"\x04text\x18\x06 \x01(\tR\x04text\x12\x16\n" +
|
|
"\x06status\x18\a \x01(\tR\x06status\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1b\n" +
|
|
"\tgame_name\x18\t \x01(\tR\bgameName\x12\x1e\n" +
|
|
"\n" +
|
|
"difficulty\x18\n" +
|
|
" \x01(\x05R\n" +
|
|
"difficulty\"\xad\x01\n" +
|
|
"\x13CreateGameReviewReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x16\n" +
|
|
"\x06teamID\x18\x02 \x01(\x05R\x06teamID\x12\x1a\n" +
|
|
"\bpassword\x18\x03 \x01(\tR\bpassword\x12\x16\n" +
|
|
"\x06rating\x18\x04 \x01(\x05R\x06rating\x12\x12\n" +
|
|
"\x04text\x18\x05 \x01(\tR\x04text\x12\x1e\n" +
|
|
"\n" +
|
|
"difficulty\x18\x06 \x01(\x05R\n" +
|
|
"difficulty\"Y\n" +
|
|
"\x13CreateGameReviewRsp\x12B\n" +
|
|
"\x06review\x18\x01 \x01(\v2*.crabs.evening_detective_server.GameReviewR\x06review\"+\n" +
|
|
"\x11GetGameReviewsReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\"7\n" +
|
|
"\x15GetScenarioReviewsReq\x12\x1e\n" +
|
|
"\n" +
|
|
"scenarioID\x18\x01 \x01(\x05R\n" +
|
|
"scenarioID\"\x1c\n" +
|
|
"\x1aGetReviewsForModerationReq\"\xa5\x01\n" +
|
|
"\x11GetGameReviewsRsp\x12%\n" +
|
|
"\x0eaverage_rating\x18\x01 \x01(\x01R\raverageRating\x12#\n" +
|
|
"\rreviews_count\x18\x02 \x01(\x05R\freviewsCount\x12D\n" +
|
|
"\areviews\x18\x03 \x03(\v2*.crabs.evening_detective_server.GameReviewR\areviews\"?\n" +
|
|
"\x15ModerateGameReviewReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\"[\n" +
|
|
"\x15ModerateGameReviewRsp\x12B\n" +
|
|
"\x06review\x18\x01 \x01(\v2*.crabs.evening_detective_server.GameReviewR\x06review\"\xe0\x01\n" +
|
|
"\rUpdateGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x125\n" +
|
|
"\bstart_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\astartAt\x12\x1e\n" +
|
|
"\n" +
|
|
"scenarioID\x18\x05 \x01(\x05R\n" +
|
|
"scenarioID\x12\x16\n" +
|
|
"\x06format\x18\x06 \x01(\tR\x06format\x12\x1a\n" +
|
|
"\blocation\x18\a \x01(\tR\blocation\"\x0f\n" +
|
|
"\rUpdateGameRsp\"\x1e\n" +
|
|
"\fStartGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0e\n" +
|
|
"\fStartGameRsp\"\x1e\n" +
|
|
"\fPauseGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0e\n" +
|
|
"\fPauseGameRsp\"\x1d\n" +
|
|
"\vPlayGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\r\n" +
|
|
"\vPlayGameRsp\"\x1f\n" +
|
|
"\rFinishGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0f\n" +
|
|
"\rFinishGameRsp\"\x1e\n" +
|
|
"\fResetGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0e\n" +
|
|
"\fResetGameRsp\"\x1f\n" +
|
|
"\rDeleteGameReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\"\x0f\n" +
|
|
"\rDeleteGameRsp\"\x8c\x01\n" +
|
|
"\n" +
|
|
"AddTeamReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12#\n" +
|
|
"\rcaptain_email\x18\x03 \x01(\tR\fcaptainEmail\x12-\n" +
|
|
"\x12participants_count\x18\x04 \x01(\x05R\x11participantsCount\"8\n" +
|
|
"\n" +
|
|
"AddTeamRsp\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"3\n" +
|
|
"\rUpdateTeamReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\x0f\n" +
|
|
"\rUpdateTeamRsp\"\x1f\n" +
|
|
"\rDeleteTeamReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\"\x0f\n" +
|
|
"\rDeleteTeamRsp\"=\n" +
|
|
"\x17GiveTeamApplicationsReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\x19\n" +
|
|
"\x17GiveTeamApplicationsRsp\"=\n" +
|
|
"\x0fGetTeamStoryReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"\xce\x01\n" +
|
|
"\x0fGetTeamStoryRsp\x12;\n" +
|
|
"\x05story\x18\x01 \x01(\v2%.crabs.evening_detective_server.StoryR\x05story\x128\n" +
|
|
"\x04game\x18\x02 \x01(\v2$.crabs.evening_detective_server.GameR\x04game\x12D\n" +
|
|
"\aactions\x18\x03 \x03(\v2*.crabs.evening_detective_server.TeamActionR\aactions\"2\n" +
|
|
"\n" +
|
|
"TeamAction\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x10\n" +
|
|
"\x03mcp\x18\x02 \x01(\bR\x03mcp\"R\n" +
|
|
"\x10AddTeamActionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x12\n" +
|
|
"\x04code\x18\x03 \x01(\tR\x04code\"\x12\n" +
|
|
"\x10AddTeamActionRsp\")\n" +
|
|
"\x17DeleteLastTeamActionReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\"\x19\n" +
|
|
"\x17DeleteLastTeamActionRsp\"?\n" +
|
|
"\x11GetTeamAnswersReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"U\n" +
|
|
"\x11GetTeamAnswersRsp\x12@\n" +
|
|
"\aanswers\x18\x01 \x03(\v2&.crabs.evening_detective_server.AnswerR\aanswers\"\x84\x01\n" +
|
|
"\x14SubmitTeamAnswersReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12@\n" +
|
|
"\aanswers\x18\x03 \x03(\v2&.crabs.evening_detective_server.AnswerR\aanswers\"\x16\n" +
|
|
"\x14SubmitTeamAnswersRsp\"p\n" +
|
|
"\x15SetTeamAnswerScoreReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x03R\x02ID\x12\"\n" +
|
|
"\fquestionCode\x18\x02 \x01(\tR\fquestionCode\x12\x19\n" +
|
|
"\x05score\x18\x03 \x01(\x05H\x00R\x05score\x88\x01\x01B\b\n" +
|
|
"\x06_score\"\x17\n" +
|
|
"\x15SetTeamAnswerScoreRsp\"M\n" +
|
|
"\x1bUpdateScenarioBackgroundReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1e\n" +
|
|
"\n" +
|
|
"background\x18\x02 \x01(\tR\n" +
|
|
"background\"\x1d\n" +
|
|
"\x1bUpdateScenarioBackgroundRsp\"C\n" +
|
|
"\x13IssueGameTicketsReq\x12\x16\n" +
|
|
"\x06gameID\x18\x01 \x01(\x05R\x06gameID\x12\x14\n" +
|
|
"\x05count\x18\x02 \x01(\x05R\x05count\"W\n" +
|
|
"\x13IssueGameTicketsRsp\x12@\n" +
|
|
"\atickets\x18\x01 \x03(\v2&.crabs.evening_detective_server.TicketR\atickets\"*\n" +
|
|
"\x06Ticket\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x10\n" +
|
|
"\x03URL\x18\x02 \x01(\tR\x03URL\"$\n" +
|
|
"\fGetTicketReq\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"R\n" +
|
|
"\fGetTicketRsp\x12B\n" +
|
|
"\x06ticket\x18\x01 \x01(\v2*.crabs.evening_detective_server.TicketPageR\x06ticket\"'\n" +
|
|
"\x0fAcceptTicketReq\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"U\n" +
|
|
"\x0fAcceptTicketRsp\x12B\n" +
|
|
"\x06ticket\x18\x01 \x01(\v2*.crabs.evening_detective_server.TicketPageR\x06ticket\"\xa4\x02\n" +
|
|
"\n" +
|
|
"TicketPage\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x1b\n" +
|
|
"\tgame_name\x18\x02 \x01(\tR\bgameName\x125\n" +
|
|
"\bstart_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\astartAt\x12\x1a\n" +
|
|
"\blocation\x18\x04 \x01(\tR\blocation\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\x12\x1f\n" +
|
|
"\vgame_status\x18\x06 \x01(\tR\n" +
|
|
"gameStatus\x128\n" +
|
|
"\aused_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampH\x00R\x06usedAt\x88\x01\x01\x12\x17\n" +
|
|
"\aused_by\x18\b \x01(\tR\x06usedByB\n" +
|
|
"\n" +
|
|
"\b_used_at\"\x9d\x03\n" +
|
|
"\rDeveloperTask\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12#\n" +
|
|
"\n" +
|
|
"assigneeID\x18\x05 \x01(\x05H\x00R\n" +
|
|
"assigneeID\x88\x01\x01\x12\"\n" +
|
|
"\fassigneeName\x18\x06 \x01(\tR\fassigneeName\x12\x1f\n" +
|
|
"\bauthorID\x18\a \x01(\x05H\x01R\bauthorID\x88\x01\x01\x12\x18\n" +
|
|
"\adueDate\x18\b \x01(\tR\adueDate\x128\n" +
|
|
"\tcreatedAt\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x128\n" +
|
|
"\tupdatedAt\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x18\n" +
|
|
"\aversion\x18\v \x01(\x05R\aversionB\r\n" +
|
|
"\v_assigneeIDB\v\n" +
|
|
"\t_authorID\"2\n" +
|
|
"\fTaskAssignee\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\r\n" +
|
|
"\vGetTasksReq\"R\n" +
|
|
"\vGetTasksRsp\x12C\n" +
|
|
"\x05tasks\x18\x01 \x03(\v2-.crabs.evening_detective_server.DeveloperTaskR\x05tasks\"\x15\n" +
|
|
"\x13GetTaskAssigneesReq\"a\n" +
|
|
"\x13GetTaskAssigneesRsp\x12J\n" +
|
|
"\tassignees\x18\x01 \x03(\v2,.crabs.evening_detective_server.TaskAssigneeR\tassignees\"\xad\x01\n" +
|
|
"\rCreateTaskReq\x12\x14\n" +
|
|
"\x05title\x18\x01 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12#\n" +
|
|
"\n" +
|
|
"assigneeID\x18\x04 \x01(\x05H\x00R\n" +
|
|
"assigneeID\x88\x01\x01\x12\x18\n" +
|
|
"\adueDate\x18\x05 \x01(\tR\adueDateB\r\n" +
|
|
"\v_assigneeID\"\xd7\x01\n" +
|
|
"\rUpdateTaskReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12#\n" +
|
|
"\n" +
|
|
"assigneeID\x18\x05 \x01(\x05H\x00R\n" +
|
|
"assigneeID\x88\x01\x01\x12\x18\n" +
|
|
"\adueDate\x18\x06 \x01(\tR\adueDate\x12\x18\n" +
|
|
"\aversion\x18\a \x01(\x05R\aversionB\r\n" +
|
|
"\v_assigneeID\"T\n" +
|
|
"\x10SetTaskStatusReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\x05R\aversion\"9\n" +
|
|
"\rDeleteTaskReq\x12\x0e\n" +
|
|
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\x05R\aversion\"L\n" +
|
|
"\aTaskRsp\x12A\n" +
|
|
"\x04task\x18\x01 \x01(\v2-.crabs.evening_detective_server.DeveloperTaskR\x04task\"\x0f\n" +
|
|
"\rDeleteTaskRsp*\xf6\x01\n" +
|
|
"\n" +
|
|
"ScreenMode\x12\x1b\n" +
|
|
"\x17SCREEN_MODE_UNSPECIFIED\x10\x00\x12\x15\n" +
|
|
"\x11SCREEN_MODE_COVER\x10\x01\x12\x15\n" +
|
|
"\x11SCREEN_MODE_INTRO\x10\x02\x12\x1a\n" +
|
|
"\x16SCREEN_MODE_INTRO_DONE\x10\x03\x12\x1a\n" +
|
|
"\x16SCREEN_MODE_CONCLUSION\x10\x04\x12\x1f\n" +
|
|
"\x1bSCREEN_MODE_CONCLUSION_DONE\x10\x05\x12\x17\n" +
|
|
"\x13SCREEN_MODE_RESULTS\x10\x06\x12\x15\n" +
|
|
"\x11SCREEN_MODE_TIMER\x10\a\x12\x14\n" +
|
|
"\x10SCREEN_MODE_TEXT\x10\b*\xb6\x01\n" +
|
|
"\x10ScreenTimerState\x12\"\n" +
|
|
"\x1eSCREEN_TIMER_STATE_UNSPECIFIED\x10\x00\x12\x1e\n" +
|
|
"\x1aSCREEN_TIMER_STATE_STOPPED\x10\x01\x12\x1e\n" +
|
|
"\x1aSCREEN_TIMER_STATE_RUNNING\x10\x02\x12\x1d\n" +
|
|
"\x19SCREEN_TIMER_STATE_PAUSED\x10\x03\x12\x1f\n" +
|
|
"\x1bSCREEN_TIMER_STATE_FINISHED\x10\x04*\xe6\x02\n" +
|
|
"\rScreenCommand\x12\x1e\n" +
|
|
"\x1aSCREEN_COMMAND_UNSPECIFIED\x10\x00\x12\x17\n" +
|
|
"\x13SCREEN_COMMAND_PLAY\x10\x01\x12\x18\n" +
|
|
"\x14SCREEN_COMMAND_PAUSE\x10\x02\x12\x19\n" +
|
|
"\x15SCREEN_COMMAND_RESUME\x10\x03\x12\x17\n" +
|
|
"\x13SCREEN_COMMAND_STOP\x10\x04\x12\x19\n" +
|
|
"\x15SCREEN_COMMAND_REPLAY\x10\x05\x12\x17\n" +
|
|
"\x13SCREEN_COMMAND_SEEK\x10\x06\x12\x19\n" +
|
|
"\x15SCREEN_COMMAND_VOLUME\x10\a\x12\x1e\n" +
|
|
"\x1aSCREEN_COMMAND_TIMER_START\x10\b\x12\x1e\n" +
|
|
"\x1aSCREEN_COMMAND_TIMER_PAUSE\x10\t\x12\x1f\n" +
|
|
"\x1bSCREEN_COMMAND_TIMER_RESUME\x10\n" +
|
|
"\x12\x1e\n" +
|
|
"\x1aSCREEN_COMMAND_TIMER_RESET\x10\v*\x87\x01\n" +
|
|
"\x12MusicPlaybackState\x12\x1e\n" +
|
|
"\x1aMUSIC_PLAYBACK_UNSPECIFIED\x10\x00\x12\x1a\n" +
|
|
"\x16MUSIC_PLAYBACK_STOPPED\x10\x01\x12\x1a\n" +
|
|
"\x16MUSIC_PLAYBACK_PLAYING\x10\x02\x12\x19\n" +
|
|
"\x15MUSIC_PLAYBACK_PAUSED\x10\x032\xab\xcc\x01\n" +
|
|
"\x16EveningDetectiveServer\x12\x8c\x02\n" +
|
|
"\bGetTasks\x12+.crabs.evening_detective_server.GetTasksReq\x1a+.crabs.evening_detective_server.GetTasksRsp\"\xa5\x01\x92A\x8f\x01\n" +
|
|
"\fЗадачи\x121Получить общую доску задач\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/api/tasks\x12\xc4\x02\n" +
|
|
"\x10GetTaskAssignees\x123.crabs.evening_detective_server.GetTaskAssigneesReq\x1a3.crabs.evening_detective_server.GetTaskAssigneesRsp\"\xc5\x01\x92A\xa5\x01\n" +
|
|
"\fЗадачи\x12GПолучить разработчиков для назначения\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\x16\x12\x14/api/tasks/assignees\x12\xf8\x01\n" +
|
|
"\n" +
|
|
"CreateTask\x12-.crabs.evening_detective_server.CreateTaskReq\x1a'.crabs.evening_detective_server.TaskRsp\"\x91\x01\x92Ay\n" +
|
|
"\fЗадачи\x12\x1bСоздать задачу\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\x0f:\x01*\"\n" +
|
|
"/api/tasks\x12\x8a\x02\n" +
|
|
"\n" +
|
|
"UpdateTask\x12-.crabs.evening_detective_server.UpdateTaskReq\x1a'.crabs.evening_detective_server.TaskRsp\"\xa3\x01\x92A\x85\x01\n" +
|
|
"\fЗадачи\x12'Редактировать задачу\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\x14:\x01*\x1a\x0f/api/tasks/{ID}\x12\x9a\x02\n" +
|
|
"\rSetTaskStatus\x120.crabs.evening_detective_server.SetTaskStatusReq\x1a'.crabs.evening_detective_server.TaskRsp\"\xad\x01\x92A\x88\x01\n" +
|
|
"\fЗадачи\x12*Изменить статус задачи\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/tasks/{ID}/status\x12\x8a\x02\n" +
|
|
"\n" +
|
|
"DeleteTask\x12-.crabs.evening_detective_server.DeleteTaskReq\x1a-.crabs.evening_detective_server.DeleteTaskRsp\"\x9d\x01\x92Ay\n" +
|
|
"\fЗадачи\x12\x1bУдалить задачу\x1aLДоступно разработчикам и администратору.\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/tasks/{ID}/delete\x12\xd3\x05\n" +
|
|
"\x10GetParticipation\x123.crabs.evening_detective_server.GetParticipationReq\x1a0.crabs.evening_detective_server.ParticipationRsp\"\xd7\x04\x92A\xb2\x04\n" +
|
|
")Подтверждение участия\x122Получить состояние участия\x1a\xce\x03Возвращает команду, игру и текущее решение по персональному токену из письма. Авторизация JWT не требуется. Чтение не меняет статус участия. Токен передаётся в теле запроса. Недействительная ссылка и ошибки обработки возвращаются стандартным gRPC status error.b\x00\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/participation/get\x12\xf9\b\n" +
|
|
"\x13AnswerParticipation\x126.crabs.evening_detective_server.AnswerParticipationReq\x1a0.crabs.evening_detective_server.ParticipationRsp\"\xf7\a\x92A\xcf\a\n" +
|
|
")Подтверждение участия\x12=Подтвердить или отменить участие\x1a\xe0\x06Принимает окончательный ответ капитана: confirmed или cancelled. Авторизация JWT не требуется; доступ определяется персональным токеном. Первый ответ сохраняется, повтор того же ответа успешен, противоположный ответ отклоняется. Новый ответ принимается только до планового начала игры и пока игра имеет статус draft. Ошибки ссылки, значения answer, закрытого приёма или изменения решения возвращаются стандартным gRPC status error; при уже принятом решении возвращается его текущее состояние.b\x00\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/participation/answer\x12\xa6\x01\n" +
|
|
"\x04Ping\x12'.crabs.evening_detective_server.PingReq\x1a'.crabs.evening_detective_server.PingRsp\"L\x92A3\x12)Проверить доступностьb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x10\x12\x0e/api/test/ping\x12\xaf\x01\n" +
|
|
"\x04Echo\x12'.crabs.evening_detective_server.EchoReq\x1a'.crabs.evening_detective_server.EchoRsp\"U\x92A<\x122Проверить обработку данныхb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x10\"\x0e/api/test/echo\x12\xd0\x01\n" +
|
|
"\x06Signup\x12).crabs.evening_detective_server.SignupReq\x1a).crabs.evening_detective_server.SignupRsp\"p\x92AR\n" +
|
|
"\"Регистрация и вход\x12$Зарегистрироватьсяb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/auth/signup\x12\xee\x01\n" +
|
|
"\x0fRefreshPassword\x122.crabs.evening_detective_server.RefreshPasswordReq\x1a2.crabs.evening_detective_server.RefreshPasswordRsp\"s\x92AK\n" +
|
|
"\"Регистрация и вход\x12\x1dОбновить парольb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/auth/refresh-password\x12\xe3\x01\n" +
|
|
"\x05Login\x12(.crabs.evening_detective_server.LoginReq\x1a(.crabs.evening_detective_server.LoginRsp\"\x85\x01\x92Ah\n" +
|
|
"\"Регистрация и вход\x12:Войти и получить токена доступаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/api/auth/login\x12\xdc\x01\n" +
|
|
"\aRefresh\x12*.crabs.evening_detective_server.RefreshReq\x1a*.crabs.evening_detective_server.RefreshRsp\"y\x92AZ\n" +
|
|
"\"Регистрация и вход\x12,Обновить токена доступаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/auth/refresh\x12\xe3\x04\n" +
|
|
"\rDeleteAccount\x120.crabs.evening_detective_server.DeleteAccountReq\x1a0.crabs.evening_detective_server.DeleteAccountRsp\"\xed\x03\x92A\xc9\x03\n" +
|
|
"\"Регистрация и вход\x12SУдалить учётную запись и персональные данные\x1a\xcd\x02Удаляет учётную запись и персональные данные текущего пользователя (ст. 21 152-ФЗ). Требует заголовок X-Password с паролем учётной записи (подтверждение владельца; пароль не передаётся в URL).\x82\xd3\xe4\x93\x02\x1a*\x18/api/auth/delete-account\x12\xf4\x01\n" +
|
|
"\bGetTerms\x12+.crabs.evening_detective_server.GetTermsReq\x1a+.crabs.evening_detective_server.GetTermsRsp\"\x8d\x01\x92Ax\n" +
|
|
"\x12Документы\x12bПолучить текст Пользовательского соглашения (оферты)\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/api/terms\x12\xea\x01\n" +
|
|
"\n" +
|
|
"GetPrivacy\x12-.crabs.evening_detective_server.GetPrivacyReq\x1a-.crabs.evening_detective_server.GetPrivacyRsp\"~\x92Ag\n" +
|
|
"\x12Документы\x12QПолучить текст Политики конфиденциальности\x82\xd3\xe4\x93\x02\x0e\x12\f/api/privacy\x12\x85\x02\n" +
|
|
"\n" +
|
|
"GetConsent\x12-.crabs.evening_detective_server.GetConsentReq\x1a-.crabs.evening_detective_server.GetConsentRsp\"\x98\x01\x92A\x80\x01\n" +
|
|
"\x12Документы\x12jПолучить текст Согласия на обработку персональных данных\x82\xd3\xe4\x93\x02\x0e\x12\f/api/consent\x12\xcb\x01\n" +
|
|
"\bGetUsers\x12+.crabs.evening_detective_server.GetUsersReq\x1a+.crabs.evening_detective_server.GetUsersRsp\"e\x92AP\n" +
|
|
"\x18Пользователи\x124Получить всех пользователей\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/api/users\x12\xd6\x01\n" +
|
|
"\vGetUserByID\x12..crabs.evening_detective_server.GetUserByIDReq\x1a..crabs.evening_detective_server.GetUserByIDRsp\"g\x92AM\n" +
|
|
"\x18Пользователи\x121Получить пользователя по id\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/users/{ID}\x12\xc2\x01\n" +
|
|
"\x05GetMe\x12(.crabs.evening_detective_server.GetMeReq\x1a(.crabs.evening_detective_server.GetMeRsp\"e\x92AM\n" +
|
|
"\x18Пользователи\x121Получить информацию о себе\x82\xd3\xe4\x93\x02\x0f\x12\r/api/users/me\x12\xa8\x05\n" +
|
|
"\x12ChangeUserPassword\x125.crabs.evening_detective_server.ChangeUserPasswordReq\x1a5.crabs.evening_detective_server.ChangeUserPasswordRsp\"\xa3\x04\x92A\xfc\x03\n" +
|
|
"\x18Пользователи\x12RИзменить чужой пароль (только администратор)\x1a\x8b\x03Пароль вводится вручную: минимум 12 символов, максимум 72 байта. Сеансы сохраняются. Ошибки: 401 — нет авторизации, 403 — нет прав, 400 — неверные данные или собственный ID, 404 — пользователь не найден, 500 — ошибка сохранения.\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/users/{ID}/password\x12\xe3\x01\n" +
|
|
"\vAddUserRole\x12..crabs.evening_detective_server.AddUserRoleReq\x1a..crabs.evening_detective_server.AddUserRoleRsp\"t\x92AN\n" +
|
|
"\x18Пользователи\x122Добавить пользователю роль\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/users/{ID}/role/add\x12\xf0\x01\n" +
|
|
"\x0eDeleteUserRole\x121.crabs.evening_detective_server.DeleteUserRoleReq\x1a1.crabs.evening_detective_server.DeleteUserRoleRsp\"x\x92AO\n" +
|
|
"\x18Пользователи\x123Забрать у пользователя роль\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/users/{ID}/role/delete\x12\x81\x02\n" +
|
|
"\x0eGetPermissions\x121.crabs.evening_detective_server.GetPermissionsReq\x1a1.crabs.evening_detective_server.GetPermissionsRsp\"\x88\x01\x92Aj\n" +
|
|
"\x0eДоступы\x12XПолучить список доступных элементов интерфейса\x82\xd3\xe4\x93\x02\x15\x12\x13/api/ui/permissions\x12\xb4\x01\n" +
|
|
"\n" +
|
|
"UploadFile\x12-.crabs.evening_detective_server.UploadFileReq\x1a-.crabs.evening_detective_server.UploadFileRsp\"H\x92A)\n" +
|
|
"\n" +
|
|
"Файлы\x12\x1bЗагрузить файл\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/files/upload\x12\x9e\x01\n" +
|
|
"\fDownloadFile\x12/.crabs.evening_detective_server.DownloadFileReq\x1a\x14.google.api.HttpBody\"G\x92A'\n" +
|
|
"\n" +
|
|
"Файлы\x12\x19Получить файл\x82\xd3\xe4\x93\x02\x17\x12\x15/api/files/{filename}\x12\xbe\x01\n" +
|
|
"\fGetPlaylists\x12/.crabs.evening_detective_server.GetPlaylistsReq\x1a/.crabs.evening_detective_server.GetPlaylistsRsp\"L\x92A3\n" +
|
|
"\fМузыка\x12#Получить плейлисты\x82\xd3\xe4\x93\x02\x10\x12\x0e/api/playlists\x12\xc3\x01\n" +
|
|
"\x0eCreatePlaylist\x121.crabs.evening_detective_server.CreatePlaylistReq\x1a1.crabs.evening_detective_server.CreatePlaylistRsp\"K\x92A/\n" +
|
|
"\fМузыка\x12\x1fСоздать плейлист\x82\xd3\xe4\x93\x02\x13:\x01*\"\x0e/api/playlists\x12\xca\x01\n" +
|
|
"\x0eUpdatePlaylist\x121.crabs.evening_detective_server.UpdatePlaylistReq\x1a1.crabs.evening_detective_server.UpdatePlaylistRsp\"R\x92A1\n" +
|
|
"\fМузыка\x12!Изменить плейлист\x82\xd3\xe4\x93\x02\x18:\x01*\x1a\x13/api/playlists/{ID}\x12\xc5\x01\n" +
|
|
"\x0eDeletePlaylist\x121.crabs.evening_detective_server.DeletePlaylistReq\x1a1.crabs.evening_detective_server.DeletePlaylistRsp\"M\x92A/\n" +
|
|
"\fМузыка\x12\x1fУдалить плейлист\x82\xd3\xe4\x93\x02\x15*\x13/api/playlists/{ID}\x12\xf1\x01\n" +
|
|
"\x13UploadPlaylistTrack\x126.crabs.evening_detective_server.UploadPlaylistTrackReq\x1a6.crabs.evening_detective_server.UploadPlaylistTrackRsp\"j\x92A:\n" +
|
|
"\fМузыка\x12*Загрузить MP3 в плейлист\x82\xd3\xe4\x93\x02':\x01*\"\"/api/playlists/{playlistID}/tracks\x12\xf8\x01\n" +
|
|
"\x13DeletePlaylistTrack\x126.crabs.evening_detective_server.DeletePlaylistTrackReq\x1a6.crabs.evening_detective_server.DeletePlaylistTrackRsp\"q\x92A:\n" +
|
|
"\fМузыка\x12*Удалить MP3 из плейлиста\x82\xd3\xe4\x93\x02.*,/api/playlists/{playlistID}/tracks/{trackID}\x12\xf5\x01\n" +
|
|
"\x13SetScenarioPlaylist\x126.crabs.evening_detective_server.SetScenarioPlaylistReq\x1a6.crabs.evening_detective_server.SetScenarioPlaylistRsp\"n\x92AD\n" +
|
|
"\fМузыка\x124Назначить плейлист сценарию\x82\xd3\xe4\x93\x02!:\x01*\x1a\x1c/api/scenarios/{ID}/playlist\x12\xbd\x01\n" +
|
|
"\vAddScenario\x12..crabs.evening_detective_server.AddScenarioReq\x1a..crabs.evening_detective_server.AddScenarioRsp\"N\x92A3\n" +
|
|
"\x10Сценарии\x12\x1fСоздать сценарий\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/scenario\x12\xd2\x01\n" +
|
|
"\x0eGetMyScenarios\x121.crabs.evening_detective_server.GetMyScenariosReq\x1a1.crabs.evening_detective_server.GetMyScenariosRsp\"Z\x92A>\n" +
|
|
"\x10Сценарии\x12*Получить свои сценарии\x82\xd3\xe4\x93\x02\x13\x12\x11/api/my-scenarios\x12\xe4\x01\n" +
|
|
"\x13GetScenariosCatalog\x126.crabs.evening_detective_server.GetScenariosCatalogReq\x1a6.crabs.evening_detective_server.GetScenariosCatalogRsp\"]\x92AF\n" +
|
|
"\x10Сценарии\x122Получить каталог сценариев\x82\xd3\xe4\x93\x02\x0e\x12\f/api/catalog\x12\xf5\x01\n" +
|
|
"\x0fGetFullScenario\x12..crabs.evening_detective_server.GetScenarioReq\x1a..crabs.evening_detective_server.GetScenarioRsp\"\x81\x01\x92A^\n" +
|
|
"\x10Сценарии\x12JПолучить сценарий со всеми деталями по id\x82\xd3\xe4\x93\x02\x1a\x12\x18/api/scenarios/{ID}/full\x12\xca\x01\n" +
|
|
"\vGetScenario\x12..crabs.evening_detective_server.GetScenarioReq\x1a..crabs.evening_detective_server.GetScenarioRsp\"[\x92A=\n" +
|
|
"\x10Сценарии\x12)Получить сценарий по id\x82\xd3\xe4\x93\x02\x15\x12\x13/api/scenarios/{ID}\x12\xd8\x01\n" +
|
|
"\x0eUpdateScenario\x121.crabs.evening_detective_server.UpdateScenarioReq\x1a1.crabs.evening_detective_server.UpdateScenarioRsp\"`\x92A?\n" +
|
|
"\x10Сценарии\x12+Редактировать сценарий\x82\xd3\xe4\x93\x02\x18:\x01*\x1a\x13/api/scenarios/{ID}\x12\xdd\x01\n" +
|
|
"\x0ePublicScenario\x121.crabs.evening_detective_server.PublicScenarioReq\x1a1.crabs.evening_detective_server.PublicScenarioRsp\"e\x92A=\n" +
|
|
"\x10Сценарии\x12)Опубликовать сценарий\x82\xd3\xe4\x93\x02\x1f:\x01*\x1a\x1a/api/scenarios/{ID}/public\x12\xe3\x01\n" +
|
|
"\rDraftScenario\x120.crabs.evening_detective_server.DraftScenarioReq\x1a0.crabs.evening_detective_server.DraftScenarioRsp\"n\x92AG\n" +
|
|
"\x10Сценарии\x123Снять с публикации сценарий\x82\xd3\xe4\x93\x02\x1e:\x01*\x1a\x19/api/scenarios/{ID}/draft\x12\xc9\x01\n" +
|
|
"\x0eDeleteScenario\x121.crabs.evening_detective_server.DeleteScenarioReq\x1a1.crabs.evening_detective_server.DeleteScenarioRsp\"Q\x92A3\n" +
|
|
"\x10Сценарии\x12\x1fУдалить сценарий\x82\xd3\xe4\x93\x02\x15*\x13/api/scenarios/{ID}\x12\xef\x01\n" +
|
|
"\x10AddScenarioPlace\x123.crabs.evening_detective_server.AddScenarioPlaceReq\x1a3.crabs.evening_detective_server.AddScenarioPlaceRsp\"q\x92AI\n" +
|
|
"\x1bТочки сценария\x12*Создать точку сценария\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/scenarios/{ID}/places\x12\x81\x02\n" +
|
|
"\x13UpdateScenarioPlace\x126.crabs.evening_detective_server.UpdateScenarioPlaceReq\x1a6.crabs.evening_detective_server.UpdateScenarioPlaceRsp\"z\x92AK\n" +
|
|
"\x1bТочки сценария\x12,Обновить точку сценария\x82\xd3\xe4\x93\x02&:\x01*\x1a!/api/scenarios/{ID}/places/{code}\x12\xfc\x01\n" +
|
|
"\x13DeleteScenarioPlace\x126.crabs.evening_detective_server.DeleteScenarioPlaceReq\x1a6.crabs.evening_detective_server.DeleteScenarioPlaceRsp\"u\x92AI\n" +
|
|
"\x1bТочки сценария\x12*Удалить точку сценария\x82\xd3\xe4\x93\x02#*!/api/scenarios/{ID}/places/{code}\x12\xf9\x01\n" +
|
|
"\x13AddScenarioQuestion\x126.crabs.evening_detective_server.AddScenarioQuestionReq\x1a6.crabs.evening_detective_server.AddScenarioQuestionRsp\"r\x92AG\n" +
|
|
"\x1fВопросы сценария\x12$Создать вопрос дела\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/api/scenarios/{ID}/questions\x12\x8b\x02\n" +
|
|
"\x16UpdateScenarioQuestion\x129.crabs.evening_detective_server.UpdateScenarioQuestionReq\x1a9.crabs.evening_detective_server.UpdateScenarioQuestionRsp\"{\x92AI\n" +
|
|
"\x1fВопросы сценария\x12&Обновить вопрос дела\x82\xd3\xe4\x93\x02):\x01*\x1a$/api/scenarios/{ID}/questions/{code}\x12\x86\x02\n" +
|
|
"\x16DeleteScenarioQuestion\x129.crabs.evening_detective_server.DeleteScenarioQuestionReq\x1a9.crabs.evening_detective_server.DeleteScenarioQuestionRsp\"v\x92AG\n" +
|
|
"\x1fВопросы сценария\x12$Удалить вопрос дела\x82\xd3\xe4\x93\x02&*$/api/scenarios/{ID}/questions/{code}\x12\x90\x02\n" +
|
|
"\x18UpdateScenarioBackground\x12;.crabs.evening_detective_server.UpdateScenarioBackgroundReq\x1a;.crabs.evening_detective_server.UpdateScenarioBackgroundRsp\"z\x92AN\n" +
|
|
"\x10Сценарии\x12:Установить или удалить фон дела\x82\xd3\xe4\x93\x02#:\x01*\x1a\x1e/api/scenarios/{ID}/background\x12\xfb\x01\n" +
|
|
"\x13UpdateScenarioIntro\x126.crabs.evening_detective_server.UpdateScenarioIntroReq\x1a6.crabs.evening_detective_server.UpdateScenarioIntroRsp\"t\x92AF\n" +
|
|
"\x10Сценарии\x122Обновить введение сценария\x82\xd3\xe4\x93\x02%:\x01*\x1a /api/scenarios/{ID}/introduction\x12\xb8\x02\n" +
|
|
"\x18UpdateScenarioConclusion\x12;.crabs.evening_detective_server.UpdateScenarioConclusionReq\x1a;.crabs.evening_detective_server.UpdateScenarioConclusionRsp\"\xa1\x01\x92Au\n" +
|
|
"\x10Сценарии\x12aОбновить закрывашку сценария (игрокам не передаётся)\x82\xd3\xe4\x93\x02#:\x01*\x1a\x1e/api/scenarios/{ID}/conclusion\x12\x98\x02\n" +
|
|
"\x17DownloadScenarioArchive\x12:.crabs.evening_detective_server.DownloadScenarioArchiveReq\x1a\x14.google.api.HttpBody\"\xaa\x01\x92A\x83\x01\n" +
|
|
"\x10Сценарии\x12oСкачать сценарий архивом (со всеми материалами и картинками)\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/scenarios/{ID}/archive\x12\xd2\x01\n" +
|
|
"\x15UploadScenarioArchive\x12\x14.google.api.HttpBody\x1a8.crabs.evening_detective_server.UploadScenarioArchiveRsp\"i\x92AE\n" +
|
|
"\x10Сценарии\x121Создать сценарий из архива\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/scenarios/archive\x12\x9e\x01\n" +
|
|
"\aAddGame\x12*.crabs.evening_detective_server.AddGameReq\x1a*.crabs.evening_detective_server.AddGameRsp\";\x92A#\n" +
|
|
"\bИгры\x12\x17Создать игру\x82\xd3\xe4\x93\x02\x0f:\x01*\"\n" +
|
|
"/api/games\x12\xa0\x01\n" +
|
|
"\bGetGames\x12+.crabs.evening_detective_server.GetGamesReq\x1a+.crabs.evening_detective_server.GetGamesRsp\":\x92A%\n" +
|
|
"\bИгры\x12\x19Получить игры\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/api/games\x12\xa2\x01\n" +
|
|
"\aGetGame\x12*.crabs.evening_detective_server.GetGameReq\x1a*.crabs.evening_detective_server.GetGameRsp\"?\x92A%\n" +
|
|
"\bИгры\x12\x19Получить игру\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/games/{ID}\x12\x97\x01\n" +
|
|
"\x0fStartGameExport\x122.crabs.evening_detective_server.StartGameExportReq\x1a-.crabs.evening_detective_server.GameExportRsp\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/games/{ID}/export\x12\x90\x01\n" +
|
|
"\rGetGameExport\x120.crabs.evening_detective_server.GetGameExportReq\x1a-.crabs.evening_detective_server.GameExportRsp\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/api/games/{ID}/export\x12\xec\x01\n" +
|
|
"\x10IssueGameTickets\x123.crabs.evening_detective_server.IssueGameTicketsReq\x1a3.crabs.evening_detective_server.IssueGameTicketsRsp\"n\x92AE\n" +
|
|
"\fБилеты\x12-Выпустить билеты на игруb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/games/{gameID}/tickets\x12\xca\x01\n" +
|
|
"\tGetTicket\x12,.crabs.evening_detective_server.GetTicketReq\x1a,.crabs.evening_detective_server.GetTicketRsp\"a\x92AB\n" +
|
|
"\fБилеты\x12*Получить данные билетаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x16\x12\x14/api/tickets/{token}\x12\xc4\x01\n" +
|
|
"\fAcceptTicket\x12/.crabs.evening_detective_server.AcceptTicketReq\x1a/.crabs.evening_detective_server.AcceptTicketRsp\"R\x92A)\n" +
|
|
"\fБилеты\x12\x19Принять билет\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/tickets/{token}/accept\x12\xe1\x01\n" +
|
|
"\x13CreateScreenSession\x126.crabs.evening_detective_server.CreateScreenSessionReq\x1a6.crabs.evening_detective_server.CreateScreenSessionRsp\"Z\x92A@\n" +
|
|
"\fЭкраны\x12(Создать сессию экранаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x11:\x01*\"\f/api/screens\x12\xe0\x01\n" +
|
|
"\x0eGetScreenState\x121.crabs.evening_detective_server.GetScreenStateReq\x1a1.crabs.evening_detective_server.GetScreenStateRsp\"h\x92AH\n" +
|
|
"\fЭкраны\x120Получить состояние экранаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/screens/state\x12\xd4\x01\n" +
|
|
"\x0eGetGameScreens\x121.crabs.evening_detective_server.GetGameScreensReq\x1a1.crabs.evening_detective_server.GetGameScreensRsp\"\\\x92A6\n" +
|
|
"\fЭкраны\x12&Получить экраны игры\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/games/{gameID}/screens\x12\xcc\x01\n" +
|
|
"\fGetGameMusic\x12/.crabs.evening_detective_server.GetGameMusicReq\x1a/.crabs.evening_detective_server.GetGameMusicRsp\"Z\x92A6\n" +
|
|
"\fМузыка\x12&Получить музыку игры\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/games/{gameID}/music\x12\xcf\x01\n" +
|
|
"\fSetGameMusic\x12/.crabs.evening_detective_server.SetGameMusicReq\x1a/.crabs.evening_detective_server.SetGameMusicRsp\"]\x92A6\n" +
|
|
"\fМузыка\x12&Изменить музыку игры\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/games/{gameID}/music\x12\x82\x02\n" +
|
|
"\x12AdvanceScreenMusic\x125.crabs.evening_detective_server.AdvanceScreenMusicReq\x1a5.crabs.evening_detective_server.AdvanceScreenMusicRsp\"~\x92AV\n" +
|
|
"\fМузыка\x12>Перейти к следующему треку экранаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/screens/music/advance\x12\xcf\x01\n" +
|
|
"\n" +
|
|
"BindScreen\x12-.crabs.evening_detective_server.BindScreenReq\x1a-.crabs.evening_detective_server.BindScreenRsp\"c\x92A9\n" +
|
|
"\fЭкраны\x12)Привязать экран к игре\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/api/screens/{screenID}/bind\x12\xd7\x01\n" +
|
|
"\fUnbindScreen\x12/.crabs.evening_detective_server.UnbindScreenReq\x1a/.crabs.evening_detective_server.UnbindScreenRsp\"e\x92A9\n" +
|
|
"\fЭкраны\x12)Отвязать экран от игры\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/api/screens/{screenID}/unbind\x12\xe2\x01\n" +
|
|
"\x0eSetScreenSound\x121.crabs.evening_detective_server.SetScreenSoundReq\x1a1.crabs.evening_detective_server.SetScreenSoundRsp\"j\x92A?\n" +
|
|
"\fЭкраны\x12/Назначить экран со звуком\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/api/screens/{screenID}/sound\x12\xc2\x01\n" +
|
|
"\n" +
|
|
"GetGameMap\x12-.crabs.evening_detective_server.GetGameMapReq\x1a-.crabs.evening_detective_server.GetGameMapRsp\"V\x92A4\n" +
|
|
"\fЭкраны\x12$Получить карту игры\x82\xd3\xe4\x93\x02\x19\x12\x17/api/games/{gameID}/map\x12\xfd\x01\n" +
|
|
"\x11UpdateGameMapItem\x124.crabs.evening_detective_server.UpdateGameMapItemReq\x1a4.crabs.evening_detective_server.UpdateGameMapItemRsp\"|\x92AA\n" +
|
|
"\fЭкраны\x121Изменить объект карты игры\x82\xd3\xe4\x93\x022:\x01*\"-/api/games/{gameID}/map/items/{kind}/{itemID}\x12\xea\x01\n" +
|
|
"\rSetScreenMode\x120.crabs.evening_detective_server.SetScreenModeReq\x1a0.crabs.evening_detective_server.SetScreenModeRsp\"u\x92AG\n" +
|
|
"\fЭкраны\x127Изменить режим показа экранов\x82\xd3\xe4\x93\x02%:\x01*\" /api/games/{gameID}/screens/mode\x12\xe5\x01\n" +
|
|
"\x0eSetScreenTimer\x121.crabs.evening_detective_server.SetScreenTimerReq\x1a1.crabs.evening_detective_server.SetScreenTimerRsp\"m\x92A>\n" +
|
|
"\fЭкраны\x12.Настроить таймер экранов\x82\xd3\xe4\x93\x02&:\x01*\"!/api/games/{gameID}/screens/timer\x12\xf2\x01\n" +
|
|
"\x11SendScreenCommand\x124.crabs.evening_detective_server.SendScreenCommandReq\x1a4.crabs.evening_detective_server.SendScreenCommandRsp\"q\x92A@\n" +
|
|
"\fЭкраны\x120Отправить команду экранам\x82\xd3\xe4\x93\x02(:\x01*\"#/api/games/{gameID}/screens/command\x12\xd7\x01\n" +
|
|
"\rGetScreenPlan\x120.crabs.evening_detective_server.GetScreenPlanReq\x1a0.crabs.evening_detective_server.GetScreenPlanRsp\"b\x92A8\n" +
|
|
"\fЭкраны\x12(Получить план экранов\x82\xd3\xe4\x93\x02!\x12\x1f/api/games/{gameID}/screen-plan\x12\xdf\x01\n" +
|
|
"\x0eSaveScreenPlan\x121.crabs.evening_detective_server.SaveScreenPlanReq\x1a1.crabs.evening_detective_server.SaveScreenPlanRsp\"g\x92A:\n" +
|
|
"\fЭкраны\x12*Сохранить план экранов\x82\xd3\xe4\x93\x02$:\x01*\x1a\x1f/api/games/{gameID}/screen-plan\x12\xf7\x01\n" +
|
|
"\x11SetScreenPlanStep\x124.crabs.evening_detective_server.SetScreenPlanStepReq\x1a4.crabs.evening_detective_server.SetScreenPlanStepRsp\"v\x92AD\n" +
|
|
"\fЭкраны\x124Перейти на шаг плана экранов\x82\xd3\xe4\x93\x02):\x01*\"$/api/games/{gameID}/screen-plan/step\x12\xe9\x01\n" +
|
|
"\x10GetScreenResults\x123.crabs.evening_detective_server.GetScreenResultsReq\x1a3.crabs.evening_detective_server.GetScreenResultsRsp\"k\x92AI\n" +
|
|
"\fЭкраны\x129Получить результаты для экрана\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/screens/results\x12\xcb\x01\n" +
|
|
"\x0eDownloadTeamQR\x12*.crabs.evening_detective_server.GetGameReq\x1a\x14.google.api.HttpBody\"w\x92AP\n" +
|
|
"\bИгры\x12DСкачать PDF с QR-кодами всех команд игры\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/games/{ID}/teams/qr.pdf\x12\xa4\x02\n" +
|
|
"\x0eGetGameAnswers\x121.crabs.evening_detective_server.GetGameAnswersReq\x1a1.crabs.evening_detective_server.GetGameAnswersRsp\"\xab\x01\x92A\x84\x01\n" +
|
|
"\bИгры\x12xПолучить ответы команд на вопросы дела (для оценки организатором)\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/games/{gameID}/answers\x12\x86\x02\n" +
|
|
"\x0eGetGameResults\x121.crabs.evening_detective_server.GetGameResultsReq\x1a1.crabs.evening_detective_server.GetGameResultsRsp\"\x8d\x01\x92Ag\n" +
|
|
"\bИгры\x12[Получить итоговую таблицу игры (после завершения)\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/games/{gameID}/results\x12\xe8\x01\n" +
|
|
"\x10CreateGameReview\x123.crabs.evening_detective_server.CreateGameReviewReq\x1a3.crabs.evening_detective_server.CreateGameReviewRsp\"j\x92AA\n" +
|
|
"\fОтзывы\x12)Оставить отзыв об игреb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/games/{gameID}/reviews\x12\xe1\x01\n" +
|
|
"\x0eGetGameReviews\x121.crabs.evening_detective_server.GetGameReviewsReq\x1a1.crabs.evening_detective_server.GetGameReviewsRsp\"i\x92AC\n" +
|
|
"\fОтзывы\x12+Получить отзывы об игреb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/games/{gameID}/reviews\x12\xf4\x01\n" +
|
|
"\x12GetScenarioReviews\x125.crabs.evening_detective_server.GetScenarioReviewsReq\x1a1.crabs.evening_detective_server.GetGameReviewsRsp\"t\x92AF\n" +
|
|
"\fОтзывы\x12.Получить отзывы сценарияb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02%\x12#/api/scenarios/{scenarioID}/reviews\x12\x81\x02\n" +
|
|
"\x1bGetGameReviewsForModeration\x121.crabs.evening_detective_server.GetGameReviewsReq\x1a1.crabs.evening_detective_server.GetGameReviewsRsp\"|\x92AP\n" +
|
|
"\fОтзывы\x12@Получить отзывы игры для модерации\x82\xd3\xe4\x93\x02#\x12!/api/admin/games/{gameID}/reviews\x12\xf5\x01\n" +
|
|
"\x17GetReviewsForModeration\x12:.crabs.evening_detective_server.GetReviewsForModerationReq\x1a1.crabs.evening_detective_server.GetGameReviewsRsp\"k\x92AI\n" +
|
|
"\fОтзывы\x129Получить общую очередь отзывов\x82\xd3\xe4\x93\x02\x19\x12\x17/api/admin/game-reviews\x12\xe1\x01\n" +
|
|
"\x12ModerateGameReview\x125.crabs.evening_detective_server.ModerateGameReviewReq\x1a5.crabs.evening_detective_server.ModerateGameReviewRsp\"]\x92A3\n" +
|
|
"\fОтзывы\x12#Модерировать отзыв\x82\xd3\xe4\x93\x02!:\x01*\x1a\x1c/api/admin/game-reviews/{ID}\x12\xae\x01\n" +
|
|
"\n" +
|
|
"UpdateGame\x12-.crabs.evening_detective_server.UpdateGameReq\x1a-.crabs.evening_detective_server.UpdateGameRsp\"B\x92A%\n" +
|
|
"\bИгры\x12\x19Обновить игру\x82\xd3\xe4\x93\x02\x14:\x01*\x1a\x0f/api/games/{ID}\x12\xad\x01\n" +
|
|
"\tStartGame\x12,.crabs.evening_detective_server.StartGameReq\x1a,.crabs.evening_detective_server.StartGameRsp\"D\x92A!\n" +
|
|
"\bИгры\x12\x15Начать игру\x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/games/{ID}/start\x12\xb5\x01\n" +
|
|
"\tPauseGame\x12,.crabs.evening_detective_server.PauseGameReq\x1a,.crabs.evening_detective_server.PauseGameRsp\"L\x92A)\n" +
|
|
"\bИгры\x12\x1dОстановить игру\x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/games/{ID}/pause\x12\xb1\x01\n" +
|
|
"\bPlayGame\x12+.crabs.evening_detective_server.PlayGameReq\x1a+.crabs.evening_detective_server.PlayGameRsp\"K\x92A)\n" +
|
|
"\bИгры\x12\x1dПродолжить игру\x82\xd3\xe4\x93\x02\x19:\x01*\x1a\x14/api/games/{ID}/play\x12\xb7\x01\n" +
|
|
"\n" +
|
|
"FinishGame\x12-.crabs.evening_detective_server.FinishGameReq\x1a-.crabs.evening_detective_server.FinishGameRsp\"K\x92A'\n" +
|
|
"\bИгры\x12\x1bЗакончить игру\x82\xd3\xe4\x93\x02\x1b:\x01*\x1a\x16/api/games/{ID}/finish\x12\xb1\x01\n" +
|
|
"\tResetGame\x12,.crabs.evening_detective_server.ResetGameReq\x1a,.crabs.evening_detective_server.ResetGameRsp\"H\x92A%\n" +
|
|
"\bИгры\x12\x19Сбросить игру\x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/games/{ID}/reset\x12\xa9\x01\n" +
|
|
"\n" +
|
|
"DeleteGame\x12-.crabs.evening_detective_server.DeleteGameReq\x1a-.crabs.evening_detective_server.DeleteGameRsp\"=\x92A#\n" +
|
|
"\bИгры\x12\x17Удалить игру\x82\xd3\xe4\x93\x02\x11*\x0f/api/games/{ID}\x12\xaa\x01\n" +
|
|
"\aAddTeam\x12*.crabs.evening_detective_server.AddTeamReq\x1a*.crabs.evening_detective_server.AddTeamRsp\"G\x92A/\n" +
|
|
"\x0eКоманда\x12\x1dСоздать команду\x82\xd3\xe4\x93\x02\x0f:\x01*\"\n" +
|
|
"/api/teams\x12\xba\x01\n" +
|
|
"\n" +
|
|
"UpdateTeam\x12-.crabs.evening_detective_server.UpdateTeamReq\x1a-.crabs.evening_detective_server.UpdateTeamRsp\"N\x92A1\n" +
|
|
"\x0eКоманда\x12\x1fОбновить команду\x82\xd3\xe4\x93\x02\x14:\x01*\x1a\x0f/api/teams/{ID}\x12\xb5\x01\n" +
|
|
"\n" +
|
|
"DeleteTeam\x12-.crabs.evening_detective_server.DeleteTeamReq\x1a-.crabs.evening_detective_server.DeleteTeamRsp\"I\x92A/\n" +
|
|
"\x0eКоманда\x12\x1dУдалить команду\x82\xd3\xe4\x93\x02\x11*\x0f/api/teams/{ID}\x12\xdd\x01\n" +
|
|
"\x14GiveTeamApplications\x127.crabs.evening_detective_server.GiveTeamApplicationsReq\x1a7.crabs.evening_detective_server.GiveTeamApplicationsRsp\"S\x92A)\n" +
|
|
"\x0eКоманда\x12\x17Выдать улику\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/api/teams/{ID}/applications\x12\xbf\x01\n" +
|
|
"\fGetTeamStory\x12/.crabs.evening_detective_server.GetTeamStoryReq\x1a/.crabs.evening_detective_server.GetTeamStoryRsp\"M\x92A-\n" +
|
|
"\bХоды\x12\x19Получить ходыb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x17\x12\x15/api/teams/{ID}/story\x12\xc3\x01\n" +
|
|
"\rAddTeamAction\x120.crabs.evening_detective_server.AddTeamActionReq\x1a0.crabs.evening_detective_server.AddTeamActionRsp\"N\x92A)\n" +
|
|
"\bХоды\x12\x15Сделать ходb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/api/teams/{ID}/actions\x12\xe5\x01\n" +
|
|
"\x14DeleteLastTeamAction\x127.crabs.evening_detective_server.DeleteLastTeamActionReq\x1a7.crabs.evening_detective_server.DeleteLastTeamActionRsp\"[\x92A4\n" +
|
|
"\bХоды\x12(Удалить последний ход\x82\xd3\xe4\x93\x02\x1e*\x1c/api/teams/{ID}/last-actions\x12\xf7\x01\n" +
|
|
"\x0eGetTeamAnswers\x121.crabs.evening_detective_server.GetTeamAnswersReq\x1a1.crabs.evening_detective_server.GetTeamAnswersRsp\"\x7f\x92A]\n" +
|
|
"\bХоды\x12IПолучить ответы команды на вопросы делаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x19\x12\x17/api/teams/{ID}/answers\x12\x86\x02\n" +
|
|
"\x11SubmitTeamAnswers\x124.crabs.evening_detective_server.SubmitTeamAnswersReq\x1a4.crabs.evening_detective_server.SubmitTeamAnswersRsp\"\x84\x01\x92A_\n" +
|
|
"\bХоды\x12KОтправить ответы команды на вопросы делаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/api/teams/{ID}/answers\x12\xa0\x02\n" +
|
|
"\x12SetTeamAnswerScore\x125.crabs.evening_detective_server.SetTeamAnswerScoreReq\x1a5.crabs.evening_detective_server.SetTeamAnswerScoreRsp\"\x9b\x01\x92Aa\n" +
|
|
"\bИгры\x12UВыставить балл команде за ответ на вопрос дела\x82\xd3\xe4\x93\x021:\x01*\x1a,/api/teams/{ID}/answers/{questionCode}/scoreB\xd7\x01\x92A\xc8\x01\x12U\n" +
|
|
"KДокументация сервиса \"Вечерний детектив\"2\x06v0.1.0Z]\n" +
|
|
"[\n" +
|
|
"\n" +
|
|
"BearerAuth\x12M\b\x02\x128Authentication token, prefixed by Bearer: Bearer <token>\x1a\rAuthorization \x02b\x10\n" +
|
|
"\x0e\n" +
|
|
"\n" +
|
|
"BearerAuth\x12\x00Z\tpkg/protob\x06proto3"
|
|
|
|
var (
|
|
file_main_proto_rawDescOnce sync.Once
|
|
file_main_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_main_proto_rawDescGZIP() []byte {
|
|
file_main_proto_rawDescOnce.Do(func() {
|
|
file_main_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc)))
|
|
})
|
|
return file_main_proto_rawDescData
|
|
}
|
|
|
|
var file_main_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
|
var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 228)
|
|
var file_main_proto_goTypes = []any{
|
|
(ScreenMode)(0), // 0: crabs.evening_detective_server.ScreenMode
|
|
(ScreenTimerState)(0), // 1: crabs.evening_detective_server.ScreenTimerState
|
|
(ScreenCommand)(0), // 2: crabs.evening_detective_server.ScreenCommand
|
|
(MusicPlaybackState)(0), // 3: crabs.evening_detective_server.MusicPlaybackState
|
|
(*PingReq)(nil), // 4: crabs.evening_detective_server.PingReq
|
|
(*PingRsp)(nil), // 5: crabs.evening_detective_server.PingRsp
|
|
(*EchoReq)(nil), // 6: crabs.evening_detective_server.EchoReq
|
|
(*EchoRsp)(nil), // 7: crabs.evening_detective_server.EchoRsp
|
|
(*SignupReq)(nil), // 8: crabs.evening_detective_server.SignupReq
|
|
(*SignupRsp)(nil), // 9: crabs.evening_detective_server.SignupRsp
|
|
(*RefreshPasswordReq)(nil), // 10: crabs.evening_detective_server.RefreshPasswordReq
|
|
(*RefreshPasswordRsp)(nil), // 11: crabs.evening_detective_server.RefreshPasswordRsp
|
|
(*LoginReq)(nil), // 12: crabs.evening_detective_server.LoginReq
|
|
(*LoginRsp)(nil), // 13: crabs.evening_detective_server.LoginRsp
|
|
(*RefreshReq)(nil), // 14: crabs.evening_detective_server.RefreshReq
|
|
(*RefreshRsp)(nil), // 15: crabs.evening_detective_server.RefreshRsp
|
|
(*DeleteAccountReq)(nil), // 16: crabs.evening_detective_server.DeleteAccountReq
|
|
(*DeleteAccountRsp)(nil), // 17: crabs.evening_detective_server.DeleteAccountRsp
|
|
(*GetTermsReq)(nil), // 18: crabs.evening_detective_server.GetTermsReq
|
|
(*GetTermsRsp)(nil), // 19: crabs.evening_detective_server.GetTermsRsp
|
|
(*GetPrivacyReq)(nil), // 20: crabs.evening_detective_server.GetPrivacyReq
|
|
(*GetPrivacyRsp)(nil), // 21: crabs.evening_detective_server.GetPrivacyRsp
|
|
(*GetConsentReq)(nil), // 22: crabs.evening_detective_server.GetConsentReq
|
|
(*GetConsentRsp)(nil), // 23: crabs.evening_detective_server.GetConsentRsp
|
|
(*GetUsersReq)(nil), // 24: crabs.evening_detective_server.GetUsersReq
|
|
(*GetUsersRsp)(nil), // 25: crabs.evening_detective_server.GetUsersRsp
|
|
(*User)(nil), // 26: crabs.evening_detective_server.User
|
|
(*GetUserByIDReq)(nil), // 27: crabs.evening_detective_server.GetUserByIDReq
|
|
(*GetUserByIDRsp)(nil), // 28: crabs.evening_detective_server.GetUserByIDRsp
|
|
(*GetMeReq)(nil), // 29: crabs.evening_detective_server.GetMeReq
|
|
(*GetMeRsp)(nil), // 30: crabs.evening_detective_server.GetMeRsp
|
|
(*ChangeUserPasswordReq)(nil), // 31: crabs.evening_detective_server.ChangeUserPasswordReq
|
|
(*ChangeUserPasswordRsp)(nil), // 32: crabs.evening_detective_server.ChangeUserPasswordRsp
|
|
(*AddUserRoleReq)(nil), // 33: crabs.evening_detective_server.AddUserRoleReq
|
|
(*AddUserRoleRsp)(nil), // 34: crabs.evening_detective_server.AddUserRoleRsp
|
|
(*DeleteUserRoleReq)(nil), // 35: crabs.evening_detective_server.DeleteUserRoleReq
|
|
(*DeleteUserRoleRsp)(nil), // 36: crabs.evening_detective_server.DeleteUserRoleRsp
|
|
(*GetPermissionsReq)(nil), // 37: crabs.evening_detective_server.GetPermissionsReq
|
|
(*GetPermissionsRsp)(nil), // 38: crabs.evening_detective_server.GetPermissionsRsp
|
|
(*UploadFileReq)(nil), // 39: crabs.evening_detective_server.UploadFileReq
|
|
(*UploadFileRsp)(nil), // 40: crabs.evening_detective_server.UploadFileRsp
|
|
(*DownloadFileReq)(nil), // 41: crabs.evening_detective_server.DownloadFileReq
|
|
(*PlaylistTrack)(nil), // 42: crabs.evening_detective_server.PlaylistTrack
|
|
(*Playlist)(nil), // 43: crabs.evening_detective_server.Playlist
|
|
(*GetPlaylistsReq)(nil), // 44: crabs.evening_detective_server.GetPlaylistsReq
|
|
(*GetPlaylistsRsp)(nil), // 45: crabs.evening_detective_server.GetPlaylistsRsp
|
|
(*CreatePlaylistReq)(nil), // 46: crabs.evening_detective_server.CreatePlaylistReq
|
|
(*CreatePlaylistRsp)(nil), // 47: crabs.evening_detective_server.CreatePlaylistRsp
|
|
(*UpdatePlaylistReq)(nil), // 48: crabs.evening_detective_server.UpdatePlaylistReq
|
|
(*UpdatePlaylistRsp)(nil), // 49: crabs.evening_detective_server.UpdatePlaylistRsp
|
|
(*DeletePlaylistReq)(nil), // 50: crabs.evening_detective_server.DeletePlaylistReq
|
|
(*DeletePlaylistRsp)(nil), // 51: crabs.evening_detective_server.DeletePlaylistRsp
|
|
(*UploadPlaylistTrackReq)(nil), // 52: crabs.evening_detective_server.UploadPlaylistTrackReq
|
|
(*UploadPlaylistTrackRsp)(nil), // 53: crabs.evening_detective_server.UploadPlaylistTrackRsp
|
|
(*DeletePlaylistTrackReq)(nil), // 54: crabs.evening_detective_server.DeletePlaylistTrackReq
|
|
(*DeletePlaylistTrackRsp)(nil), // 55: crabs.evening_detective_server.DeletePlaylistTrackRsp
|
|
(*SetScenarioPlaylistReq)(nil), // 56: crabs.evening_detective_server.SetScenarioPlaylistReq
|
|
(*SetScenarioPlaylistRsp)(nil), // 57: crabs.evening_detective_server.SetScenarioPlaylistRsp
|
|
(*AddScenarioReq)(nil), // 58: crabs.evening_detective_server.AddScenarioReq
|
|
(*AddScenarioRsp)(nil), // 59: crabs.evening_detective_server.AddScenarioRsp
|
|
(*GetMyScenariosReq)(nil), // 60: crabs.evening_detective_server.GetMyScenariosReq
|
|
(*GetMyScenariosRsp)(nil), // 61: crabs.evening_detective_server.GetMyScenariosRsp
|
|
(*GetScenariosCatalogReq)(nil), // 62: crabs.evening_detective_server.GetScenariosCatalogReq
|
|
(*GetScenariosCatalogRsp)(nil), // 63: crabs.evening_detective_server.GetScenariosCatalogRsp
|
|
(*GetScenarioReq)(nil), // 64: crabs.evening_detective_server.GetScenarioReq
|
|
(*GetScenarioRsp)(nil), // 65: crabs.evening_detective_server.GetScenarioRsp
|
|
(*Scenario)(nil), // 66: crabs.evening_detective_server.Scenario
|
|
(*Story)(nil), // 67: crabs.evening_detective_server.Story
|
|
(*Conclusion)(nil), // 68: crabs.evening_detective_server.Conclusion
|
|
(*Introduction)(nil), // 69: crabs.evening_detective_server.Introduction
|
|
(*Place)(nil), // 70: crabs.evening_detective_server.Place
|
|
(*Application)(nil), // 71: crabs.evening_detective_server.Application
|
|
(*Door)(nil), // 72: crabs.evening_detective_server.Door
|
|
(*Key)(nil), // 73: crabs.evening_detective_server.Key
|
|
(*Question)(nil), // 74: crabs.evening_detective_server.Question
|
|
(*Answer)(nil), // 75: crabs.evening_detective_server.Answer
|
|
(*AnswerScore)(nil), // 76: crabs.evening_detective_server.AnswerScore
|
|
(*TeamAnswers)(nil), // 77: crabs.evening_detective_server.TeamAnswers
|
|
(*UpdateScenarioReq)(nil), // 78: crabs.evening_detective_server.UpdateScenarioReq
|
|
(*UpdateScenarioRsp)(nil), // 79: crabs.evening_detective_server.UpdateScenarioRsp
|
|
(*PublicScenarioReq)(nil), // 80: crabs.evening_detective_server.PublicScenarioReq
|
|
(*PublicScenarioRsp)(nil), // 81: crabs.evening_detective_server.PublicScenarioRsp
|
|
(*DraftScenarioReq)(nil), // 82: crabs.evening_detective_server.DraftScenarioReq
|
|
(*DraftScenarioRsp)(nil), // 83: crabs.evening_detective_server.DraftScenarioRsp
|
|
(*DeleteScenarioReq)(nil), // 84: crabs.evening_detective_server.DeleteScenarioReq
|
|
(*DeleteScenarioRsp)(nil), // 85: crabs.evening_detective_server.DeleteScenarioRsp
|
|
(*AddScenarioPlaceReq)(nil), // 86: crabs.evening_detective_server.AddScenarioPlaceReq
|
|
(*AddScenarioPlaceRsp)(nil), // 87: crabs.evening_detective_server.AddScenarioPlaceRsp
|
|
(*UpdateScenarioPlaceReq)(nil), // 88: crabs.evening_detective_server.UpdateScenarioPlaceReq
|
|
(*UpdateScenarioPlaceRsp)(nil), // 89: crabs.evening_detective_server.UpdateScenarioPlaceRsp
|
|
(*DeleteScenarioPlaceReq)(nil), // 90: crabs.evening_detective_server.DeleteScenarioPlaceReq
|
|
(*DeleteScenarioPlaceRsp)(nil), // 91: crabs.evening_detective_server.DeleteScenarioPlaceRsp
|
|
(*UpdateScenarioConclusionReq)(nil), // 92: crabs.evening_detective_server.UpdateScenarioConclusionReq
|
|
(*UpdateScenarioConclusionRsp)(nil), // 93: crabs.evening_detective_server.UpdateScenarioConclusionRsp
|
|
(*UpdateScenarioIntroReq)(nil), // 94: crabs.evening_detective_server.UpdateScenarioIntroReq
|
|
(*UpdateScenarioIntroRsp)(nil), // 95: crabs.evening_detective_server.UpdateScenarioIntroRsp
|
|
(*AddScenarioQuestionReq)(nil), // 96: crabs.evening_detective_server.AddScenarioQuestionReq
|
|
(*AddScenarioQuestionRsp)(nil), // 97: crabs.evening_detective_server.AddScenarioQuestionRsp
|
|
(*UpdateScenarioQuestionReq)(nil), // 98: crabs.evening_detective_server.UpdateScenarioQuestionReq
|
|
(*UpdateScenarioQuestionRsp)(nil), // 99: crabs.evening_detective_server.UpdateScenarioQuestionRsp
|
|
(*DeleteScenarioQuestionReq)(nil), // 100: crabs.evening_detective_server.DeleteScenarioQuestionReq
|
|
(*DeleteScenarioQuestionRsp)(nil), // 101: crabs.evening_detective_server.DeleteScenarioQuestionRsp
|
|
(*DownloadScenarioArchiveReq)(nil), // 102: crabs.evening_detective_server.DownloadScenarioArchiveReq
|
|
(*UploadScenarioArchiveRsp)(nil), // 103: crabs.evening_detective_server.UploadScenarioArchiveRsp
|
|
(*AddGameReq)(nil), // 104: crabs.evening_detective_server.AddGameReq
|
|
(*AddGameRsp)(nil), // 105: crabs.evening_detective_server.AddGameRsp
|
|
(*GetGamesReq)(nil), // 106: crabs.evening_detective_server.GetGamesReq
|
|
(*GetGamesRsp)(nil), // 107: crabs.evening_detective_server.GetGamesRsp
|
|
(*Game)(nil), // 108: crabs.evening_detective_server.Game
|
|
(*GameExport)(nil), // 109: crabs.evening_detective_server.GameExport
|
|
(*StartGameExportReq)(nil), // 110: crabs.evening_detective_server.StartGameExportReq
|
|
(*GetGameExportReq)(nil), // 111: crabs.evening_detective_server.GetGameExportReq
|
|
(*GameExportRsp)(nil), // 112: crabs.evening_detective_server.GameExportRsp
|
|
(*ScreenState)(nil), // 113: crabs.evening_detective_server.ScreenState
|
|
(*CreateScreenSessionReq)(nil), // 114: crabs.evening_detective_server.CreateScreenSessionReq
|
|
(*CreateScreenSessionRsp)(nil), // 115: crabs.evening_detective_server.CreateScreenSessionRsp
|
|
(*GetScreenStateReq)(nil), // 116: crabs.evening_detective_server.GetScreenStateReq
|
|
(*GetScreenStateRsp)(nil), // 117: crabs.evening_detective_server.GetScreenStateRsp
|
|
(*GetGameScreensReq)(nil), // 118: crabs.evening_detective_server.GetGameScreensReq
|
|
(*GetGameScreensRsp)(nil), // 119: crabs.evening_detective_server.GetGameScreensRsp
|
|
(*MusicState)(nil), // 120: crabs.evening_detective_server.MusicState
|
|
(*GetGameMusicReq)(nil), // 121: crabs.evening_detective_server.GetGameMusicReq
|
|
(*GetGameMusicRsp)(nil), // 122: crabs.evening_detective_server.GetGameMusicRsp
|
|
(*SetGameMusicReq)(nil), // 123: crabs.evening_detective_server.SetGameMusicReq
|
|
(*SetGameMusicRsp)(nil), // 124: crabs.evening_detective_server.SetGameMusicRsp
|
|
(*AdvanceScreenMusicReq)(nil), // 125: crabs.evening_detective_server.AdvanceScreenMusicReq
|
|
(*AdvanceScreenMusicRsp)(nil), // 126: crabs.evening_detective_server.AdvanceScreenMusicRsp
|
|
(*BindScreenReq)(nil), // 127: crabs.evening_detective_server.BindScreenReq
|
|
(*BindScreenRsp)(nil), // 128: crabs.evening_detective_server.BindScreenRsp
|
|
(*UnbindScreenReq)(nil), // 129: crabs.evening_detective_server.UnbindScreenReq
|
|
(*UnbindScreenRsp)(nil), // 130: crabs.evening_detective_server.UnbindScreenRsp
|
|
(*SetScreenSoundReq)(nil), // 131: crabs.evening_detective_server.SetScreenSoundReq
|
|
(*SetScreenSoundRsp)(nil), // 132: crabs.evening_detective_server.SetScreenSoundRsp
|
|
(*MapItem)(nil), // 133: crabs.evening_detective_server.MapItem
|
|
(*GetGameMapReq)(nil), // 134: crabs.evening_detective_server.GetGameMapReq
|
|
(*GetGameMapRsp)(nil), // 135: crabs.evening_detective_server.GetGameMapRsp
|
|
(*UpdateGameMapItemReq)(nil), // 136: crabs.evening_detective_server.UpdateGameMapItemReq
|
|
(*UpdateGameMapItemRsp)(nil), // 137: crabs.evening_detective_server.UpdateGameMapItemRsp
|
|
(*SetScreenModeReq)(nil), // 138: crabs.evening_detective_server.SetScreenModeReq
|
|
(*SetScreenModeRsp)(nil), // 139: crabs.evening_detective_server.SetScreenModeRsp
|
|
(*SetScreenTimerReq)(nil), // 140: crabs.evening_detective_server.SetScreenTimerReq
|
|
(*SetScreenTimerRsp)(nil), // 141: crabs.evening_detective_server.SetScreenTimerRsp
|
|
(*SendScreenCommandReq)(nil), // 142: crabs.evening_detective_server.SendScreenCommandReq
|
|
(*SendScreenCommandRsp)(nil), // 143: crabs.evening_detective_server.SendScreenCommandRsp
|
|
(*ScreenPlanStep)(nil), // 144: crabs.evening_detective_server.ScreenPlanStep
|
|
(*ScreenPlan)(nil), // 145: crabs.evening_detective_server.ScreenPlan
|
|
(*GetScreenPlanReq)(nil), // 146: crabs.evening_detective_server.GetScreenPlanReq
|
|
(*GetScreenPlanRsp)(nil), // 147: crabs.evening_detective_server.GetScreenPlanRsp
|
|
(*SaveScreenPlanReq)(nil), // 148: crabs.evening_detective_server.SaveScreenPlanReq
|
|
(*SaveScreenPlanRsp)(nil), // 149: crabs.evening_detective_server.SaveScreenPlanRsp
|
|
(*SetScreenPlanStepReq)(nil), // 150: crabs.evening_detective_server.SetScreenPlanStepReq
|
|
(*SetScreenPlanStepRsp)(nil), // 151: crabs.evening_detective_server.SetScreenPlanStepRsp
|
|
(*GetScreenResultsReq)(nil), // 152: crabs.evening_detective_server.GetScreenResultsReq
|
|
(*GetScreenResultsRsp)(nil), // 153: crabs.evening_detective_server.GetScreenResultsRsp
|
|
(*GetParticipationReq)(nil), // 154: crabs.evening_detective_server.GetParticipationReq
|
|
(*AnswerParticipationReq)(nil), // 155: crabs.evening_detective_server.AnswerParticipationReq
|
|
(*ParticipationRsp)(nil), // 156: crabs.evening_detective_server.ParticipationRsp
|
|
(*Team)(nil), // 157: crabs.evening_detective_server.Team
|
|
(*GetGameReq)(nil), // 158: crabs.evening_detective_server.GetGameReq
|
|
(*GetGameRsp)(nil), // 159: crabs.evening_detective_server.GetGameRsp
|
|
(*GetGameAnswersReq)(nil), // 160: crabs.evening_detective_server.GetGameAnswersReq
|
|
(*GetGameAnswersRsp)(nil), // 161: crabs.evening_detective_server.GetGameAnswersRsp
|
|
(*GetGameResultsReq)(nil), // 162: crabs.evening_detective_server.GetGameResultsReq
|
|
(*ResultsQuestion)(nil), // 163: crabs.evening_detective_server.ResultsQuestion
|
|
(*TeamResult)(nil), // 164: crabs.evening_detective_server.TeamResult
|
|
(*GetGameResultsRsp)(nil), // 165: crabs.evening_detective_server.GetGameResultsRsp
|
|
(*GameReview)(nil), // 166: crabs.evening_detective_server.GameReview
|
|
(*CreateGameReviewReq)(nil), // 167: crabs.evening_detective_server.CreateGameReviewReq
|
|
(*CreateGameReviewRsp)(nil), // 168: crabs.evening_detective_server.CreateGameReviewRsp
|
|
(*GetGameReviewsReq)(nil), // 169: crabs.evening_detective_server.GetGameReviewsReq
|
|
(*GetScenarioReviewsReq)(nil), // 170: crabs.evening_detective_server.GetScenarioReviewsReq
|
|
(*GetReviewsForModerationReq)(nil), // 171: crabs.evening_detective_server.GetReviewsForModerationReq
|
|
(*GetGameReviewsRsp)(nil), // 172: crabs.evening_detective_server.GetGameReviewsRsp
|
|
(*ModerateGameReviewReq)(nil), // 173: crabs.evening_detective_server.ModerateGameReviewReq
|
|
(*ModerateGameReviewRsp)(nil), // 174: crabs.evening_detective_server.ModerateGameReviewRsp
|
|
(*UpdateGameReq)(nil), // 175: crabs.evening_detective_server.UpdateGameReq
|
|
(*UpdateGameRsp)(nil), // 176: crabs.evening_detective_server.UpdateGameRsp
|
|
(*StartGameReq)(nil), // 177: crabs.evening_detective_server.StartGameReq
|
|
(*StartGameRsp)(nil), // 178: crabs.evening_detective_server.StartGameRsp
|
|
(*PauseGameReq)(nil), // 179: crabs.evening_detective_server.PauseGameReq
|
|
(*PauseGameRsp)(nil), // 180: crabs.evening_detective_server.PauseGameRsp
|
|
(*PlayGameReq)(nil), // 181: crabs.evening_detective_server.PlayGameReq
|
|
(*PlayGameRsp)(nil), // 182: crabs.evening_detective_server.PlayGameRsp
|
|
(*FinishGameReq)(nil), // 183: crabs.evening_detective_server.FinishGameReq
|
|
(*FinishGameRsp)(nil), // 184: crabs.evening_detective_server.FinishGameRsp
|
|
(*ResetGameReq)(nil), // 185: crabs.evening_detective_server.ResetGameReq
|
|
(*ResetGameRsp)(nil), // 186: crabs.evening_detective_server.ResetGameRsp
|
|
(*DeleteGameReq)(nil), // 187: crabs.evening_detective_server.DeleteGameReq
|
|
(*DeleteGameRsp)(nil), // 188: crabs.evening_detective_server.DeleteGameRsp
|
|
(*AddTeamReq)(nil), // 189: crabs.evening_detective_server.AddTeamReq
|
|
(*AddTeamRsp)(nil), // 190: crabs.evening_detective_server.AddTeamRsp
|
|
(*UpdateTeamReq)(nil), // 191: crabs.evening_detective_server.UpdateTeamReq
|
|
(*UpdateTeamRsp)(nil), // 192: crabs.evening_detective_server.UpdateTeamRsp
|
|
(*DeleteTeamReq)(nil), // 193: crabs.evening_detective_server.DeleteTeamReq
|
|
(*DeleteTeamRsp)(nil), // 194: crabs.evening_detective_server.DeleteTeamRsp
|
|
(*GiveTeamApplicationsReq)(nil), // 195: crabs.evening_detective_server.GiveTeamApplicationsReq
|
|
(*GiveTeamApplicationsRsp)(nil), // 196: crabs.evening_detective_server.GiveTeamApplicationsRsp
|
|
(*GetTeamStoryReq)(nil), // 197: crabs.evening_detective_server.GetTeamStoryReq
|
|
(*GetTeamStoryRsp)(nil), // 198: crabs.evening_detective_server.GetTeamStoryRsp
|
|
(*TeamAction)(nil), // 199: crabs.evening_detective_server.TeamAction
|
|
(*AddTeamActionReq)(nil), // 200: crabs.evening_detective_server.AddTeamActionReq
|
|
(*AddTeamActionRsp)(nil), // 201: crabs.evening_detective_server.AddTeamActionRsp
|
|
(*DeleteLastTeamActionReq)(nil), // 202: crabs.evening_detective_server.DeleteLastTeamActionReq
|
|
(*DeleteLastTeamActionRsp)(nil), // 203: crabs.evening_detective_server.DeleteLastTeamActionRsp
|
|
(*GetTeamAnswersReq)(nil), // 204: crabs.evening_detective_server.GetTeamAnswersReq
|
|
(*GetTeamAnswersRsp)(nil), // 205: crabs.evening_detective_server.GetTeamAnswersRsp
|
|
(*SubmitTeamAnswersReq)(nil), // 206: crabs.evening_detective_server.SubmitTeamAnswersReq
|
|
(*SubmitTeamAnswersRsp)(nil), // 207: crabs.evening_detective_server.SubmitTeamAnswersRsp
|
|
(*SetTeamAnswerScoreReq)(nil), // 208: crabs.evening_detective_server.SetTeamAnswerScoreReq
|
|
(*SetTeamAnswerScoreRsp)(nil), // 209: crabs.evening_detective_server.SetTeamAnswerScoreRsp
|
|
(*UpdateScenarioBackgroundReq)(nil), // 210: crabs.evening_detective_server.UpdateScenarioBackgroundReq
|
|
(*UpdateScenarioBackgroundRsp)(nil), // 211: crabs.evening_detective_server.UpdateScenarioBackgroundRsp
|
|
(*IssueGameTicketsReq)(nil), // 212: crabs.evening_detective_server.IssueGameTicketsReq
|
|
(*IssueGameTicketsRsp)(nil), // 213: crabs.evening_detective_server.IssueGameTicketsRsp
|
|
(*Ticket)(nil), // 214: crabs.evening_detective_server.Ticket
|
|
(*GetTicketReq)(nil), // 215: crabs.evening_detective_server.GetTicketReq
|
|
(*GetTicketRsp)(nil), // 216: crabs.evening_detective_server.GetTicketRsp
|
|
(*AcceptTicketReq)(nil), // 217: crabs.evening_detective_server.AcceptTicketReq
|
|
(*AcceptTicketRsp)(nil), // 218: crabs.evening_detective_server.AcceptTicketRsp
|
|
(*TicketPage)(nil), // 219: crabs.evening_detective_server.TicketPage
|
|
(*DeveloperTask)(nil), // 220: crabs.evening_detective_server.DeveloperTask
|
|
(*TaskAssignee)(nil), // 221: crabs.evening_detective_server.TaskAssignee
|
|
(*GetTasksReq)(nil), // 222: crabs.evening_detective_server.GetTasksReq
|
|
(*GetTasksRsp)(nil), // 223: crabs.evening_detective_server.GetTasksRsp
|
|
(*GetTaskAssigneesReq)(nil), // 224: crabs.evening_detective_server.GetTaskAssigneesReq
|
|
(*GetTaskAssigneesRsp)(nil), // 225: crabs.evening_detective_server.GetTaskAssigneesRsp
|
|
(*CreateTaskReq)(nil), // 226: crabs.evening_detective_server.CreateTaskReq
|
|
(*UpdateTaskReq)(nil), // 227: crabs.evening_detective_server.UpdateTaskReq
|
|
(*SetTaskStatusReq)(nil), // 228: crabs.evening_detective_server.SetTaskStatusReq
|
|
(*DeleteTaskReq)(nil), // 229: crabs.evening_detective_server.DeleteTaskReq
|
|
(*TaskRsp)(nil), // 230: crabs.evening_detective_server.TaskRsp
|
|
(*DeleteTaskRsp)(nil), // 231: crabs.evening_detective_server.DeleteTaskRsp
|
|
(*timestamppb.Timestamp)(nil), // 232: google.protobuf.Timestamp
|
|
(*httpbody.HttpBody)(nil), // 233: google.api.HttpBody
|
|
}
|
|
var file_main_proto_depIdxs = []int32{
|
|
26, // 0: crabs.evening_detective_server.GetUsersRsp.users:type_name -> crabs.evening_detective_server.User
|
|
232, // 1: crabs.evening_detective_server.User.created_at:type_name -> google.protobuf.Timestamp
|
|
26, // 2: crabs.evening_detective_server.GetUserByIDRsp.user:type_name -> crabs.evening_detective_server.User
|
|
26, // 3: crabs.evening_detective_server.GetMeRsp.user:type_name -> crabs.evening_detective_server.User
|
|
42, // 4: crabs.evening_detective_server.Playlist.tracks:type_name -> crabs.evening_detective_server.PlaylistTrack
|
|
43, // 5: crabs.evening_detective_server.GetPlaylistsRsp.playlists:type_name -> crabs.evening_detective_server.Playlist
|
|
43, // 6: crabs.evening_detective_server.CreatePlaylistRsp.playlist:type_name -> crabs.evening_detective_server.Playlist
|
|
43, // 7: crabs.evening_detective_server.UpdatePlaylistRsp.playlist:type_name -> crabs.evening_detective_server.Playlist
|
|
43, // 8: crabs.evening_detective_server.UploadPlaylistTrackRsp.playlist:type_name -> crabs.evening_detective_server.Playlist
|
|
66, // 9: crabs.evening_detective_server.GetMyScenariosRsp.scenarios:type_name -> crabs.evening_detective_server.Scenario
|
|
66, // 10: crabs.evening_detective_server.GetScenariosCatalogRsp.scenarios:type_name -> crabs.evening_detective_server.Scenario
|
|
66, // 11: crabs.evening_detective_server.GetScenarioRsp.scenario:type_name -> crabs.evening_detective_server.Scenario
|
|
67, // 12: crabs.evening_detective_server.Scenario.story:type_name -> crabs.evening_detective_server.Story
|
|
26, // 13: crabs.evening_detective_server.Scenario.author:type_name -> crabs.evening_detective_server.User
|
|
232, // 14: crabs.evening_detective_server.Scenario.updated_at:type_name -> google.protobuf.Timestamp
|
|
232, // 15: crabs.evening_detective_server.Scenario.created_at:type_name -> google.protobuf.Timestamp
|
|
232, // 16: crabs.evening_detective_server.Scenario.published_at:type_name -> google.protobuf.Timestamp
|
|
70, // 17: crabs.evening_detective_server.Story.places:type_name -> crabs.evening_detective_server.Place
|
|
69, // 18: crabs.evening_detective_server.Story.introduction:type_name -> crabs.evening_detective_server.Introduction
|
|
74, // 19: crabs.evening_detective_server.Story.questions:type_name -> crabs.evening_detective_server.Question
|
|
68, // 20: crabs.evening_detective_server.Story.conclusion:type_name -> crabs.evening_detective_server.Conclusion
|
|
71, // 21: crabs.evening_detective_server.Place.applications:type_name -> crabs.evening_detective_server.Application
|
|
72, // 22: crabs.evening_detective_server.Place.doors:type_name -> crabs.evening_detective_server.Door
|
|
73, // 23: crabs.evening_detective_server.Place.keys:type_name -> crabs.evening_detective_server.Key
|
|
73, // 24: crabs.evening_detective_server.Door.keys:type_name -> crabs.evening_detective_server.Key
|
|
157, // 25: crabs.evening_detective_server.TeamAnswers.team:type_name -> crabs.evening_detective_server.Team
|
|
76, // 26: crabs.evening_detective_server.TeamAnswers.answers:type_name -> crabs.evening_detective_server.AnswerScore
|
|
70, // 27: crabs.evening_detective_server.AddScenarioPlaceReq.place:type_name -> crabs.evening_detective_server.Place
|
|
70, // 28: crabs.evening_detective_server.UpdateScenarioPlaceReq.place:type_name -> crabs.evening_detective_server.Place
|
|
68, // 29: crabs.evening_detective_server.UpdateScenarioConclusionReq.conclusion:type_name -> crabs.evening_detective_server.Conclusion
|
|
69, // 30: crabs.evening_detective_server.UpdateScenarioIntroReq.introduction:type_name -> crabs.evening_detective_server.Introduction
|
|
74, // 31: crabs.evening_detective_server.AddScenarioQuestionReq.question:type_name -> crabs.evening_detective_server.Question
|
|
74, // 32: crabs.evening_detective_server.UpdateScenarioQuestionReq.question:type_name -> crabs.evening_detective_server.Question
|
|
232, // 33: crabs.evening_detective_server.AddGameReq.start_at:type_name -> google.protobuf.Timestamp
|
|
108, // 34: crabs.evening_detective_server.GetGamesRsp.games:type_name -> crabs.evening_detective_server.Game
|
|
232, // 35: crabs.evening_detective_server.Game.start_at:type_name -> google.protobuf.Timestamp
|
|
66, // 36: crabs.evening_detective_server.Game.scenario:type_name -> crabs.evening_detective_server.Scenario
|
|
157, // 37: crabs.evening_detective_server.Game.teams:type_name -> crabs.evening_detective_server.Team
|
|
232, // 38: crabs.evening_detective_server.Game.started_at:type_name -> google.protobuf.Timestamp
|
|
232, // 39: crabs.evening_detective_server.Game.ended_at:type_name -> google.protobuf.Timestamp
|
|
109, // 40: crabs.evening_detective_server.Game.export:type_name -> crabs.evening_detective_server.GameExport
|
|
109, // 41: crabs.evening_detective_server.GameExportRsp.export:type_name -> crabs.evening_detective_server.GameExport
|
|
0, // 42: crabs.evening_detective_server.ScreenState.mode:type_name -> crabs.evening_detective_server.ScreenMode
|
|
2, // 43: crabs.evening_detective_server.ScreenState.command:type_name -> crabs.evening_detective_server.ScreenCommand
|
|
1, // 44: crabs.evening_detective_server.ScreenState.timer_state:type_name -> crabs.evening_detective_server.ScreenTimerState
|
|
120, // 45: crabs.evening_detective_server.ScreenState.music:type_name -> crabs.evening_detective_server.MusicState
|
|
113, // 46: crabs.evening_detective_server.GetScreenStateRsp.state:type_name -> crabs.evening_detective_server.ScreenState
|
|
113, // 47: crabs.evening_detective_server.GetGameScreensRsp.screens:type_name -> crabs.evening_detective_server.ScreenState
|
|
43, // 48: crabs.evening_detective_server.MusicState.playlist:type_name -> crabs.evening_detective_server.Playlist
|
|
3, // 49: crabs.evening_detective_server.MusicState.playback:type_name -> crabs.evening_detective_server.MusicPlaybackState
|
|
43, // 50: crabs.evening_detective_server.GetGameMusicRsp.playlists:type_name -> crabs.evening_detective_server.Playlist
|
|
120, // 51: crabs.evening_detective_server.GetGameMusicRsp.state:type_name -> crabs.evening_detective_server.MusicState
|
|
3, // 52: crabs.evening_detective_server.SetGameMusicReq.playback:type_name -> crabs.evening_detective_server.MusicPlaybackState
|
|
120, // 53: crabs.evening_detective_server.SetGameMusicRsp.state:type_name -> crabs.evening_detective_server.MusicState
|
|
120, // 54: crabs.evening_detective_server.AdvanceScreenMusicRsp.state:type_name -> crabs.evening_detective_server.MusicState
|
|
113, // 55: crabs.evening_detective_server.BindScreenRsp.state:type_name -> crabs.evening_detective_server.ScreenState
|
|
133, // 56: crabs.evening_detective_server.GetGameMapRsp.items:type_name -> crabs.evening_detective_server.MapItem
|
|
0, // 57: crabs.evening_detective_server.SetScreenModeReq.mode:type_name -> crabs.evening_detective_server.ScreenMode
|
|
2, // 58: crabs.evening_detective_server.SendScreenCommandReq.command:type_name -> crabs.evening_detective_server.ScreenCommand
|
|
0, // 59: crabs.evening_detective_server.ScreenPlanStep.mode:type_name -> crabs.evening_detective_server.ScreenMode
|
|
144, // 60: crabs.evening_detective_server.ScreenPlan.steps:type_name -> crabs.evening_detective_server.ScreenPlanStep
|
|
145, // 61: crabs.evening_detective_server.GetScreenPlanRsp.plan:type_name -> crabs.evening_detective_server.ScreenPlan
|
|
144, // 62: crabs.evening_detective_server.SaveScreenPlanReq.steps:type_name -> crabs.evening_detective_server.ScreenPlanStep
|
|
145, // 63: crabs.evening_detective_server.SaveScreenPlanRsp.plan:type_name -> crabs.evening_detective_server.ScreenPlan
|
|
145, // 64: crabs.evening_detective_server.SetScreenPlanStepRsp.plan:type_name -> crabs.evening_detective_server.ScreenPlan
|
|
163, // 65: crabs.evening_detective_server.GetScreenResultsRsp.questions:type_name -> crabs.evening_detective_server.ResultsQuestion
|
|
164, // 66: crabs.evening_detective_server.GetScreenResultsRsp.teams:type_name -> crabs.evening_detective_server.TeamResult
|
|
232, // 67: crabs.evening_detective_server.ParticipationRsp.start_at:type_name -> google.protobuf.Timestamp
|
|
71, // 68: crabs.evening_detective_server.Team.applications:type_name -> crabs.evening_detective_server.Application
|
|
108, // 69: crabs.evening_detective_server.GetGameRsp.game:type_name -> crabs.evening_detective_server.Game
|
|
74, // 70: crabs.evening_detective_server.GetGameAnswersRsp.questions:type_name -> crabs.evening_detective_server.Question
|
|
77, // 71: crabs.evening_detective_server.GetGameAnswersRsp.teams:type_name -> crabs.evening_detective_server.TeamAnswers
|
|
157, // 72: crabs.evening_detective_server.TeamResult.team:type_name -> crabs.evening_detective_server.Team
|
|
76, // 73: crabs.evening_detective_server.TeamResult.answers:type_name -> crabs.evening_detective_server.AnswerScore
|
|
163, // 74: crabs.evening_detective_server.GetGameResultsRsp.questions:type_name -> crabs.evening_detective_server.ResultsQuestion
|
|
164, // 75: crabs.evening_detective_server.GetGameResultsRsp.teams:type_name -> crabs.evening_detective_server.TeamResult
|
|
232, // 76: crabs.evening_detective_server.GameReview.created_at:type_name -> google.protobuf.Timestamp
|
|
166, // 77: crabs.evening_detective_server.CreateGameReviewRsp.review:type_name -> crabs.evening_detective_server.GameReview
|
|
166, // 78: crabs.evening_detective_server.GetGameReviewsRsp.reviews:type_name -> crabs.evening_detective_server.GameReview
|
|
166, // 79: crabs.evening_detective_server.ModerateGameReviewRsp.review:type_name -> crabs.evening_detective_server.GameReview
|
|
232, // 80: crabs.evening_detective_server.UpdateGameReq.start_at:type_name -> google.protobuf.Timestamp
|
|
67, // 81: crabs.evening_detective_server.GetTeamStoryRsp.story:type_name -> crabs.evening_detective_server.Story
|
|
108, // 82: crabs.evening_detective_server.GetTeamStoryRsp.game:type_name -> crabs.evening_detective_server.Game
|
|
199, // 83: crabs.evening_detective_server.GetTeamStoryRsp.actions:type_name -> crabs.evening_detective_server.TeamAction
|
|
75, // 84: crabs.evening_detective_server.GetTeamAnswersRsp.answers:type_name -> crabs.evening_detective_server.Answer
|
|
75, // 85: crabs.evening_detective_server.SubmitTeamAnswersReq.answers:type_name -> crabs.evening_detective_server.Answer
|
|
214, // 86: crabs.evening_detective_server.IssueGameTicketsRsp.tickets:type_name -> crabs.evening_detective_server.Ticket
|
|
219, // 87: crabs.evening_detective_server.GetTicketRsp.ticket:type_name -> crabs.evening_detective_server.TicketPage
|
|
219, // 88: crabs.evening_detective_server.AcceptTicketRsp.ticket:type_name -> crabs.evening_detective_server.TicketPage
|
|
232, // 89: crabs.evening_detective_server.TicketPage.start_at:type_name -> google.protobuf.Timestamp
|
|
232, // 90: crabs.evening_detective_server.TicketPage.used_at:type_name -> google.protobuf.Timestamp
|
|
232, // 91: crabs.evening_detective_server.DeveloperTask.createdAt:type_name -> google.protobuf.Timestamp
|
|
232, // 92: crabs.evening_detective_server.DeveloperTask.updatedAt:type_name -> google.protobuf.Timestamp
|
|
220, // 93: crabs.evening_detective_server.GetTasksRsp.tasks:type_name -> crabs.evening_detective_server.DeveloperTask
|
|
221, // 94: crabs.evening_detective_server.GetTaskAssigneesRsp.assignees:type_name -> crabs.evening_detective_server.TaskAssignee
|
|
220, // 95: crabs.evening_detective_server.TaskRsp.task:type_name -> crabs.evening_detective_server.DeveloperTask
|
|
222, // 96: crabs.evening_detective_server.EveningDetectiveServer.GetTasks:input_type -> crabs.evening_detective_server.GetTasksReq
|
|
224, // 97: crabs.evening_detective_server.EveningDetectiveServer.GetTaskAssignees:input_type -> crabs.evening_detective_server.GetTaskAssigneesReq
|
|
226, // 98: crabs.evening_detective_server.EveningDetectiveServer.CreateTask:input_type -> crabs.evening_detective_server.CreateTaskReq
|
|
227, // 99: crabs.evening_detective_server.EveningDetectiveServer.UpdateTask:input_type -> crabs.evening_detective_server.UpdateTaskReq
|
|
228, // 100: crabs.evening_detective_server.EveningDetectiveServer.SetTaskStatus:input_type -> crabs.evening_detective_server.SetTaskStatusReq
|
|
229, // 101: crabs.evening_detective_server.EveningDetectiveServer.DeleteTask:input_type -> crabs.evening_detective_server.DeleteTaskReq
|
|
154, // 102: crabs.evening_detective_server.EveningDetectiveServer.GetParticipation:input_type -> crabs.evening_detective_server.GetParticipationReq
|
|
155, // 103: crabs.evening_detective_server.EveningDetectiveServer.AnswerParticipation:input_type -> crabs.evening_detective_server.AnswerParticipationReq
|
|
4, // 104: crabs.evening_detective_server.EveningDetectiveServer.Ping:input_type -> crabs.evening_detective_server.PingReq
|
|
6, // 105: crabs.evening_detective_server.EveningDetectiveServer.Echo:input_type -> crabs.evening_detective_server.EchoReq
|
|
8, // 106: crabs.evening_detective_server.EveningDetectiveServer.Signup:input_type -> crabs.evening_detective_server.SignupReq
|
|
10, // 107: crabs.evening_detective_server.EveningDetectiveServer.RefreshPassword:input_type -> crabs.evening_detective_server.RefreshPasswordReq
|
|
12, // 108: crabs.evening_detective_server.EveningDetectiveServer.Login:input_type -> crabs.evening_detective_server.LoginReq
|
|
14, // 109: crabs.evening_detective_server.EveningDetectiveServer.Refresh:input_type -> crabs.evening_detective_server.RefreshReq
|
|
16, // 110: crabs.evening_detective_server.EveningDetectiveServer.DeleteAccount:input_type -> crabs.evening_detective_server.DeleteAccountReq
|
|
18, // 111: crabs.evening_detective_server.EveningDetectiveServer.GetTerms:input_type -> crabs.evening_detective_server.GetTermsReq
|
|
20, // 112: crabs.evening_detective_server.EveningDetectiveServer.GetPrivacy:input_type -> crabs.evening_detective_server.GetPrivacyReq
|
|
22, // 113: crabs.evening_detective_server.EveningDetectiveServer.GetConsent:input_type -> crabs.evening_detective_server.GetConsentReq
|
|
24, // 114: crabs.evening_detective_server.EveningDetectiveServer.GetUsers:input_type -> crabs.evening_detective_server.GetUsersReq
|
|
27, // 115: crabs.evening_detective_server.EveningDetectiveServer.GetUserByID:input_type -> crabs.evening_detective_server.GetUserByIDReq
|
|
29, // 116: crabs.evening_detective_server.EveningDetectiveServer.GetMe:input_type -> crabs.evening_detective_server.GetMeReq
|
|
31, // 117: crabs.evening_detective_server.EveningDetectiveServer.ChangeUserPassword:input_type -> crabs.evening_detective_server.ChangeUserPasswordReq
|
|
33, // 118: crabs.evening_detective_server.EveningDetectiveServer.AddUserRole:input_type -> crabs.evening_detective_server.AddUserRoleReq
|
|
35, // 119: crabs.evening_detective_server.EveningDetectiveServer.DeleteUserRole:input_type -> crabs.evening_detective_server.DeleteUserRoleReq
|
|
37, // 120: crabs.evening_detective_server.EveningDetectiveServer.GetPermissions:input_type -> crabs.evening_detective_server.GetPermissionsReq
|
|
39, // 121: crabs.evening_detective_server.EveningDetectiveServer.UploadFile:input_type -> crabs.evening_detective_server.UploadFileReq
|
|
41, // 122: crabs.evening_detective_server.EveningDetectiveServer.DownloadFile:input_type -> crabs.evening_detective_server.DownloadFileReq
|
|
44, // 123: crabs.evening_detective_server.EveningDetectiveServer.GetPlaylists:input_type -> crabs.evening_detective_server.GetPlaylistsReq
|
|
46, // 124: crabs.evening_detective_server.EveningDetectiveServer.CreatePlaylist:input_type -> crabs.evening_detective_server.CreatePlaylistReq
|
|
48, // 125: crabs.evening_detective_server.EveningDetectiveServer.UpdatePlaylist:input_type -> crabs.evening_detective_server.UpdatePlaylistReq
|
|
50, // 126: crabs.evening_detective_server.EveningDetectiveServer.DeletePlaylist:input_type -> crabs.evening_detective_server.DeletePlaylistReq
|
|
52, // 127: crabs.evening_detective_server.EveningDetectiveServer.UploadPlaylistTrack:input_type -> crabs.evening_detective_server.UploadPlaylistTrackReq
|
|
54, // 128: crabs.evening_detective_server.EveningDetectiveServer.DeletePlaylistTrack:input_type -> crabs.evening_detective_server.DeletePlaylistTrackReq
|
|
56, // 129: crabs.evening_detective_server.EveningDetectiveServer.SetScenarioPlaylist:input_type -> crabs.evening_detective_server.SetScenarioPlaylistReq
|
|
58, // 130: crabs.evening_detective_server.EveningDetectiveServer.AddScenario:input_type -> crabs.evening_detective_server.AddScenarioReq
|
|
60, // 131: crabs.evening_detective_server.EveningDetectiveServer.GetMyScenarios:input_type -> crabs.evening_detective_server.GetMyScenariosReq
|
|
62, // 132: crabs.evening_detective_server.EveningDetectiveServer.GetScenariosCatalog:input_type -> crabs.evening_detective_server.GetScenariosCatalogReq
|
|
64, // 133: crabs.evening_detective_server.EveningDetectiveServer.GetFullScenario:input_type -> crabs.evening_detective_server.GetScenarioReq
|
|
64, // 134: crabs.evening_detective_server.EveningDetectiveServer.GetScenario:input_type -> crabs.evening_detective_server.GetScenarioReq
|
|
78, // 135: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenario:input_type -> crabs.evening_detective_server.UpdateScenarioReq
|
|
80, // 136: crabs.evening_detective_server.EveningDetectiveServer.PublicScenario:input_type -> crabs.evening_detective_server.PublicScenarioReq
|
|
82, // 137: crabs.evening_detective_server.EveningDetectiveServer.DraftScenario:input_type -> crabs.evening_detective_server.DraftScenarioReq
|
|
84, // 138: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenario:input_type -> crabs.evening_detective_server.DeleteScenarioReq
|
|
86, // 139: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioPlace:input_type -> crabs.evening_detective_server.AddScenarioPlaceReq
|
|
88, // 140: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioPlace:input_type -> crabs.evening_detective_server.UpdateScenarioPlaceReq
|
|
90, // 141: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioPlace:input_type -> crabs.evening_detective_server.DeleteScenarioPlaceReq
|
|
96, // 142: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioQuestion:input_type -> crabs.evening_detective_server.AddScenarioQuestionReq
|
|
98, // 143: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioQuestion:input_type -> crabs.evening_detective_server.UpdateScenarioQuestionReq
|
|
100, // 144: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioQuestion:input_type -> crabs.evening_detective_server.DeleteScenarioQuestionReq
|
|
210, // 145: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioBackground:input_type -> crabs.evening_detective_server.UpdateScenarioBackgroundReq
|
|
94, // 146: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioIntro:input_type -> crabs.evening_detective_server.UpdateScenarioIntroReq
|
|
92, // 147: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioConclusion:input_type -> crabs.evening_detective_server.UpdateScenarioConclusionReq
|
|
102, // 148: crabs.evening_detective_server.EveningDetectiveServer.DownloadScenarioArchive:input_type -> crabs.evening_detective_server.DownloadScenarioArchiveReq
|
|
233, // 149: crabs.evening_detective_server.EveningDetectiveServer.UploadScenarioArchive:input_type -> google.api.HttpBody
|
|
104, // 150: crabs.evening_detective_server.EveningDetectiveServer.AddGame:input_type -> crabs.evening_detective_server.AddGameReq
|
|
106, // 151: crabs.evening_detective_server.EveningDetectiveServer.GetGames:input_type -> crabs.evening_detective_server.GetGamesReq
|
|
158, // 152: crabs.evening_detective_server.EveningDetectiveServer.GetGame:input_type -> crabs.evening_detective_server.GetGameReq
|
|
110, // 153: crabs.evening_detective_server.EveningDetectiveServer.StartGameExport:input_type -> crabs.evening_detective_server.StartGameExportReq
|
|
111, // 154: crabs.evening_detective_server.EveningDetectiveServer.GetGameExport:input_type -> crabs.evening_detective_server.GetGameExportReq
|
|
212, // 155: crabs.evening_detective_server.EveningDetectiveServer.IssueGameTickets:input_type -> crabs.evening_detective_server.IssueGameTicketsReq
|
|
215, // 156: crabs.evening_detective_server.EveningDetectiveServer.GetTicket:input_type -> crabs.evening_detective_server.GetTicketReq
|
|
217, // 157: crabs.evening_detective_server.EveningDetectiveServer.AcceptTicket:input_type -> crabs.evening_detective_server.AcceptTicketReq
|
|
114, // 158: crabs.evening_detective_server.EveningDetectiveServer.CreateScreenSession:input_type -> crabs.evening_detective_server.CreateScreenSessionReq
|
|
116, // 159: crabs.evening_detective_server.EveningDetectiveServer.GetScreenState:input_type -> crabs.evening_detective_server.GetScreenStateReq
|
|
118, // 160: crabs.evening_detective_server.EveningDetectiveServer.GetGameScreens:input_type -> crabs.evening_detective_server.GetGameScreensReq
|
|
121, // 161: crabs.evening_detective_server.EveningDetectiveServer.GetGameMusic:input_type -> crabs.evening_detective_server.GetGameMusicReq
|
|
123, // 162: crabs.evening_detective_server.EveningDetectiveServer.SetGameMusic:input_type -> crabs.evening_detective_server.SetGameMusicReq
|
|
125, // 163: crabs.evening_detective_server.EveningDetectiveServer.AdvanceScreenMusic:input_type -> crabs.evening_detective_server.AdvanceScreenMusicReq
|
|
127, // 164: crabs.evening_detective_server.EveningDetectiveServer.BindScreen:input_type -> crabs.evening_detective_server.BindScreenReq
|
|
129, // 165: crabs.evening_detective_server.EveningDetectiveServer.UnbindScreen:input_type -> crabs.evening_detective_server.UnbindScreenReq
|
|
131, // 166: crabs.evening_detective_server.EveningDetectiveServer.SetScreenSound:input_type -> crabs.evening_detective_server.SetScreenSoundReq
|
|
134, // 167: crabs.evening_detective_server.EveningDetectiveServer.GetGameMap:input_type -> crabs.evening_detective_server.GetGameMapReq
|
|
136, // 168: crabs.evening_detective_server.EveningDetectiveServer.UpdateGameMapItem:input_type -> crabs.evening_detective_server.UpdateGameMapItemReq
|
|
138, // 169: crabs.evening_detective_server.EveningDetectiveServer.SetScreenMode:input_type -> crabs.evening_detective_server.SetScreenModeReq
|
|
140, // 170: crabs.evening_detective_server.EveningDetectiveServer.SetScreenTimer:input_type -> crabs.evening_detective_server.SetScreenTimerReq
|
|
142, // 171: crabs.evening_detective_server.EveningDetectiveServer.SendScreenCommand:input_type -> crabs.evening_detective_server.SendScreenCommandReq
|
|
146, // 172: crabs.evening_detective_server.EveningDetectiveServer.GetScreenPlan:input_type -> crabs.evening_detective_server.GetScreenPlanReq
|
|
148, // 173: crabs.evening_detective_server.EveningDetectiveServer.SaveScreenPlan:input_type -> crabs.evening_detective_server.SaveScreenPlanReq
|
|
150, // 174: crabs.evening_detective_server.EveningDetectiveServer.SetScreenPlanStep:input_type -> crabs.evening_detective_server.SetScreenPlanStepReq
|
|
152, // 175: crabs.evening_detective_server.EveningDetectiveServer.GetScreenResults:input_type -> crabs.evening_detective_server.GetScreenResultsReq
|
|
158, // 176: crabs.evening_detective_server.EveningDetectiveServer.DownloadTeamQR:input_type -> crabs.evening_detective_server.GetGameReq
|
|
160, // 177: crabs.evening_detective_server.EveningDetectiveServer.GetGameAnswers:input_type -> crabs.evening_detective_server.GetGameAnswersReq
|
|
162, // 178: crabs.evening_detective_server.EveningDetectiveServer.GetGameResults:input_type -> crabs.evening_detective_server.GetGameResultsReq
|
|
167, // 179: crabs.evening_detective_server.EveningDetectiveServer.CreateGameReview:input_type -> crabs.evening_detective_server.CreateGameReviewReq
|
|
169, // 180: crabs.evening_detective_server.EveningDetectiveServer.GetGameReviews:input_type -> crabs.evening_detective_server.GetGameReviewsReq
|
|
170, // 181: crabs.evening_detective_server.EveningDetectiveServer.GetScenarioReviews:input_type -> crabs.evening_detective_server.GetScenarioReviewsReq
|
|
169, // 182: crabs.evening_detective_server.EveningDetectiveServer.GetGameReviewsForModeration:input_type -> crabs.evening_detective_server.GetGameReviewsReq
|
|
171, // 183: crabs.evening_detective_server.EveningDetectiveServer.GetReviewsForModeration:input_type -> crabs.evening_detective_server.GetReviewsForModerationReq
|
|
173, // 184: crabs.evening_detective_server.EveningDetectiveServer.ModerateGameReview:input_type -> crabs.evening_detective_server.ModerateGameReviewReq
|
|
175, // 185: crabs.evening_detective_server.EveningDetectiveServer.UpdateGame:input_type -> crabs.evening_detective_server.UpdateGameReq
|
|
177, // 186: crabs.evening_detective_server.EveningDetectiveServer.StartGame:input_type -> crabs.evening_detective_server.StartGameReq
|
|
179, // 187: crabs.evening_detective_server.EveningDetectiveServer.PauseGame:input_type -> crabs.evening_detective_server.PauseGameReq
|
|
181, // 188: crabs.evening_detective_server.EveningDetectiveServer.PlayGame:input_type -> crabs.evening_detective_server.PlayGameReq
|
|
183, // 189: crabs.evening_detective_server.EveningDetectiveServer.FinishGame:input_type -> crabs.evening_detective_server.FinishGameReq
|
|
185, // 190: crabs.evening_detective_server.EveningDetectiveServer.ResetGame:input_type -> crabs.evening_detective_server.ResetGameReq
|
|
187, // 191: crabs.evening_detective_server.EveningDetectiveServer.DeleteGame:input_type -> crabs.evening_detective_server.DeleteGameReq
|
|
189, // 192: crabs.evening_detective_server.EveningDetectiveServer.AddTeam:input_type -> crabs.evening_detective_server.AddTeamReq
|
|
191, // 193: crabs.evening_detective_server.EveningDetectiveServer.UpdateTeam:input_type -> crabs.evening_detective_server.UpdateTeamReq
|
|
193, // 194: crabs.evening_detective_server.EveningDetectiveServer.DeleteTeam:input_type -> crabs.evening_detective_server.DeleteTeamReq
|
|
195, // 195: crabs.evening_detective_server.EveningDetectiveServer.GiveTeamApplications:input_type -> crabs.evening_detective_server.GiveTeamApplicationsReq
|
|
197, // 196: crabs.evening_detective_server.EveningDetectiveServer.GetTeamStory:input_type -> crabs.evening_detective_server.GetTeamStoryReq
|
|
200, // 197: crabs.evening_detective_server.EveningDetectiveServer.AddTeamAction:input_type -> crabs.evening_detective_server.AddTeamActionReq
|
|
202, // 198: crabs.evening_detective_server.EveningDetectiveServer.DeleteLastTeamAction:input_type -> crabs.evening_detective_server.DeleteLastTeamActionReq
|
|
204, // 199: crabs.evening_detective_server.EveningDetectiveServer.GetTeamAnswers:input_type -> crabs.evening_detective_server.GetTeamAnswersReq
|
|
206, // 200: crabs.evening_detective_server.EveningDetectiveServer.SubmitTeamAnswers:input_type -> crabs.evening_detective_server.SubmitTeamAnswersReq
|
|
208, // 201: crabs.evening_detective_server.EveningDetectiveServer.SetTeamAnswerScore:input_type -> crabs.evening_detective_server.SetTeamAnswerScoreReq
|
|
223, // 202: crabs.evening_detective_server.EveningDetectiveServer.GetTasks:output_type -> crabs.evening_detective_server.GetTasksRsp
|
|
225, // 203: crabs.evening_detective_server.EveningDetectiveServer.GetTaskAssignees:output_type -> crabs.evening_detective_server.GetTaskAssigneesRsp
|
|
230, // 204: crabs.evening_detective_server.EveningDetectiveServer.CreateTask:output_type -> crabs.evening_detective_server.TaskRsp
|
|
230, // 205: crabs.evening_detective_server.EveningDetectiveServer.UpdateTask:output_type -> crabs.evening_detective_server.TaskRsp
|
|
230, // 206: crabs.evening_detective_server.EveningDetectiveServer.SetTaskStatus:output_type -> crabs.evening_detective_server.TaskRsp
|
|
231, // 207: crabs.evening_detective_server.EveningDetectiveServer.DeleteTask:output_type -> crabs.evening_detective_server.DeleteTaskRsp
|
|
156, // 208: crabs.evening_detective_server.EveningDetectiveServer.GetParticipation:output_type -> crabs.evening_detective_server.ParticipationRsp
|
|
156, // 209: crabs.evening_detective_server.EveningDetectiveServer.AnswerParticipation:output_type -> crabs.evening_detective_server.ParticipationRsp
|
|
5, // 210: crabs.evening_detective_server.EveningDetectiveServer.Ping:output_type -> crabs.evening_detective_server.PingRsp
|
|
7, // 211: crabs.evening_detective_server.EveningDetectiveServer.Echo:output_type -> crabs.evening_detective_server.EchoRsp
|
|
9, // 212: crabs.evening_detective_server.EveningDetectiveServer.Signup:output_type -> crabs.evening_detective_server.SignupRsp
|
|
11, // 213: crabs.evening_detective_server.EveningDetectiveServer.RefreshPassword:output_type -> crabs.evening_detective_server.RefreshPasswordRsp
|
|
13, // 214: crabs.evening_detective_server.EveningDetectiveServer.Login:output_type -> crabs.evening_detective_server.LoginRsp
|
|
15, // 215: crabs.evening_detective_server.EveningDetectiveServer.Refresh:output_type -> crabs.evening_detective_server.RefreshRsp
|
|
17, // 216: crabs.evening_detective_server.EveningDetectiveServer.DeleteAccount:output_type -> crabs.evening_detective_server.DeleteAccountRsp
|
|
19, // 217: crabs.evening_detective_server.EveningDetectiveServer.GetTerms:output_type -> crabs.evening_detective_server.GetTermsRsp
|
|
21, // 218: crabs.evening_detective_server.EveningDetectiveServer.GetPrivacy:output_type -> crabs.evening_detective_server.GetPrivacyRsp
|
|
23, // 219: crabs.evening_detective_server.EveningDetectiveServer.GetConsent:output_type -> crabs.evening_detective_server.GetConsentRsp
|
|
25, // 220: crabs.evening_detective_server.EveningDetectiveServer.GetUsers:output_type -> crabs.evening_detective_server.GetUsersRsp
|
|
28, // 221: crabs.evening_detective_server.EveningDetectiveServer.GetUserByID:output_type -> crabs.evening_detective_server.GetUserByIDRsp
|
|
30, // 222: crabs.evening_detective_server.EveningDetectiveServer.GetMe:output_type -> crabs.evening_detective_server.GetMeRsp
|
|
32, // 223: crabs.evening_detective_server.EveningDetectiveServer.ChangeUserPassword:output_type -> crabs.evening_detective_server.ChangeUserPasswordRsp
|
|
34, // 224: crabs.evening_detective_server.EveningDetectiveServer.AddUserRole:output_type -> crabs.evening_detective_server.AddUserRoleRsp
|
|
36, // 225: crabs.evening_detective_server.EveningDetectiveServer.DeleteUserRole:output_type -> crabs.evening_detective_server.DeleteUserRoleRsp
|
|
38, // 226: crabs.evening_detective_server.EveningDetectiveServer.GetPermissions:output_type -> crabs.evening_detective_server.GetPermissionsRsp
|
|
40, // 227: crabs.evening_detective_server.EveningDetectiveServer.UploadFile:output_type -> crabs.evening_detective_server.UploadFileRsp
|
|
233, // 228: crabs.evening_detective_server.EveningDetectiveServer.DownloadFile:output_type -> google.api.HttpBody
|
|
45, // 229: crabs.evening_detective_server.EveningDetectiveServer.GetPlaylists:output_type -> crabs.evening_detective_server.GetPlaylistsRsp
|
|
47, // 230: crabs.evening_detective_server.EveningDetectiveServer.CreatePlaylist:output_type -> crabs.evening_detective_server.CreatePlaylistRsp
|
|
49, // 231: crabs.evening_detective_server.EveningDetectiveServer.UpdatePlaylist:output_type -> crabs.evening_detective_server.UpdatePlaylistRsp
|
|
51, // 232: crabs.evening_detective_server.EveningDetectiveServer.DeletePlaylist:output_type -> crabs.evening_detective_server.DeletePlaylistRsp
|
|
53, // 233: crabs.evening_detective_server.EveningDetectiveServer.UploadPlaylistTrack:output_type -> crabs.evening_detective_server.UploadPlaylistTrackRsp
|
|
55, // 234: crabs.evening_detective_server.EveningDetectiveServer.DeletePlaylistTrack:output_type -> crabs.evening_detective_server.DeletePlaylistTrackRsp
|
|
57, // 235: crabs.evening_detective_server.EveningDetectiveServer.SetScenarioPlaylist:output_type -> crabs.evening_detective_server.SetScenarioPlaylistRsp
|
|
59, // 236: crabs.evening_detective_server.EveningDetectiveServer.AddScenario:output_type -> crabs.evening_detective_server.AddScenarioRsp
|
|
61, // 237: crabs.evening_detective_server.EveningDetectiveServer.GetMyScenarios:output_type -> crabs.evening_detective_server.GetMyScenariosRsp
|
|
63, // 238: crabs.evening_detective_server.EveningDetectiveServer.GetScenariosCatalog:output_type -> crabs.evening_detective_server.GetScenariosCatalogRsp
|
|
65, // 239: crabs.evening_detective_server.EveningDetectiveServer.GetFullScenario:output_type -> crabs.evening_detective_server.GetScenarioRsp
|
|
65, // 240: crabs.evening_detective_server.EveningDetectiveServer.GetScenario:output_type -> crabs.evening_detective_server.GetScenarioRsp
|
|
79, // 241: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenario:output_type -> crabs.evening_detective_server.UpdateScenarioRsp
|
|
81, // 242: crabs.evening_detective_server.EveningDetectiveServer.PublicScenario:output_type -> crabs.evening_detective_server.PublicScenarioRsp
|
|
83, // 243: crabs.evening_detective_server.EveningDetectiveServer.DraftScenario:output_type -> crabs.evening_detective_server.DraftScenarioRsp
|
|
85, // 244: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenario:output_type -> crabs.evening_detective_server.DeleteScenarioRsp
|
|
87, // 245: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioPlace:output_type -> crabs.evening_detective_server.AddScenarioPlaceRsp
|
|
89, // 246: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioPlace:output_type -> crabs.evening_detective_server.UpdateScenarioPlaceRsp
|
|
91, // 247: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioPlace:output_type -> crabs.evening_detective_server.DeleteScenarioPlaceRsp
|
|
97, // 248: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioQuestion:output_type -> crabs.evening_detective_server.AddScenarioQuestionRsp
|
|
99, // 249: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioQuestion:output_type -> crabs.evening_detective_server.UpdateScenarioQuestionRsp
|
|
101, // 250: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioQuestion:output_type -> crabs.evening_detective_server.DeleteScenarioQuestionRsp
|
|
211, // 251: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioBackground:output_type -> crabs.evening_detective_server.UpdateScenarioBackgroundRsp
|
|
95, // 252: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioIntro:output_type -> crabs.evening_detective_server.UpdateScenarioIntroRsp
|
|
93, // 253: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioConclusion:output_type -> crabs.evening_detective_server.UpdateScenarioConclusionRsp
|
|
233, // 254: crabs.evening_detective_server.EveningDetectiveServer.DownloadScenarioArchive:output_type -> google.api.HttpBody
|
|
103, // 255: crabs.evening_detective_server.EveningDetectiveServer.UploadScenarioArchive:output_type -> crabs.evening_detective_server.UploadScenarioArchiveRsp
|
|
105, // 256: crabs.evening_detective_server.EveningDetectiveServer.AddGame:output_type -> crabs.evening_detective_server.AddGameRsp
|
|
107, // 257: crabs.evening_detective_server.EveningDetectiveServer.GetGames:output_type -> crabs.evening_detective_server.GetGamesRsp
|
|
159, // 258: crabs.evening_detective_server.EveningDetectiveServer.GetGame:output_type -> crabs.evening_detective_server.GetGameRsp
|
|
112, // 259: crabs.evening_detective_server.EveningDetectiveServer.StartGameExport:output_type -> crabs.evening_detective_server.GameExportRsp
|
|
112, // 260: crabs.evening_detective_server.EveningDetectiveServer.GetGameExport:output_type -> crabs.evening_detective_server.GameExportRsp
|
|
213, // 261: crabs.evening_detective_server.EveningDetectiveServer.IssueGameTickets:output_type -> crabs.evening_detective_server.IssueGameTicketsRsp
|
|
216, // 262: crabs.evening_detective_server.EveningDetectiveServer.GetTicket:output_type -> crabs.evening_detective_server.GetTicketRsp
|
|
218, // 263: crabs.evening_detective_server.EveningDetectiveServer.AcceptTicket:output_type -> crabs.evening_detective_server.AcceptTicketRsp
|
|
115, // 264: crabs.evening_detective_server.EveningDetectiveServer.CreateScreenSession:output_type -> crabs.evening_detective_server.CreateScreenSessionRsp
|
|
117, // 265: crabs.evening_detective_server.EveningDetectiveServer.GetScreenState:output_type -> crabs.evening_detective_server.GetScreenStateRsp
|
|
119, // 266: crabs.evening_detective_server.EveningDetectiveServer.GetGameScreens:output_type -> crabs.evening_detective_server.GetGameScreensRsp
|
|
122, // 267: crabs.evening_detective_server.EveningDetectiveServer.GetGameMusic:output_type -> crabs.evening_detective_server.GetGameMusicRsp
|
|
124, // 268: crabs.evening_detective_server.EveningDetectiveServer.SetGameMusic:output_type -> crabs.evening_detective_server.SetGameMusicRsp
|
|
126, // 269: crabs.evening_detective_server.EveningDetectiveServer.AdvanceScreenMusic:output_type -> crabs.evening_detective_server.AdvanceScreenMusicRsp
|
|
128, // 270: crabs.evening_detective_server.EveningDetectiveServer.BindScreen:output_type -> crabs.evening_detective_server.BindScreenRsp
|
|
130, // 271: crabs.evening_detective_server.EveningDetectiveServer.UnbindScreen:output_type -> crabs.evening_detective_server.UnbindScreenRsp
|
|
132, // 272: crabs.evening_detective_server.EveningDetectiveServer.SetScreenSound:output_type -> crabs.evening_detective_server.SetScreenSoundRsp
|
|
135, // 273: crabs.evening_detective_server.EveningDetectiveServer.GetGameMap:output_type -> crabs.evening_detective_server.GetGameMapRsp
|
|
137, // 274: crabs.evening_detective_server.EveningDetectiveServer.UpdateGameMapItem:output_type -> crabs.evening_detective_server.UpdateGameMapItemRsp
|
|
139, // 275: crabs.evening_detective_server.EveningDetectiveServer.SetScreenMode:output_type -> crabs.evening_detective_server.SetScreenModeRsp
|
|
141, // 276: crabs.evening_detective_server.EveningDetectiveServer.SetScreenTimer:output_type -> crabs.evening_detective_server.SetScreenTimerRsp
|
|
143, // 277: crabs.evening_detective_server.EveningDetectiveServer.SendScreenCommand:output_type -> crabs.evening_detective_server.SendScreenCommandRsp
|
|
147, // 278: crabs.evening_detective_server.EveningDetectiveServer.GetScreenPlan:output_type -> crabs.evening_detective_server.GetScreenPlanRsp
|
|
149, // 279: crabs.evening_detective_server.EveningDetectiveServer.SaveScreenPlan:output_type -> crabs.evening_detective_server.SaveScreenPlanRsp
|
|
151, // 280: crabs.evening_detective_server.EveningDetectiveServer.SetScreenPlanStep:output_type -> crabs.evening_detective_server.SetScreenPlanStepRsp
|
|
153, // 281: crabs.evening_detective_server.EveningDetectiveServer.GetScreenResults:output_type -> crabs.evening_detective_server.GetScreenResultsRsp
|
|
233, // 282: crabs.evening_detective_server.EveningDetectiveServer.DownloadTeamQR:output_type -> google.api.HttpBody
|
|
161, // 283: crabs.evening_detective_server.EveningDetectiveServer.GetGameAnswers:output_type -> crabs.evening_detective_server.GetGameAnswersRsp
|
|
165, // 284: crabs.evening_detective_server.EveningDetectiveServer.GetGameResults:output_type -> crabs.evening_detective_server.GetGameResultsRsp
|
|
168, // 285: crabs.evening_detective_server.EveningDetectiveServer.CreateGameReview:output_type -> crabs.evening_detective_server.CreateGameReviewRsp
|
|
172, // 286: crabs.evening_detective_server.EveningDetectiveServer.GetGameReviews:output_type -> crabs.evening_detective_server.GetGameReviewsRsp
|
|
172, // 287: crabs.evening_detective_server.EveningDetectiveServer.GetScenarioReviews:output_type -> crabs.evening_detective_server.GetGameReviewsRsp
|
|
172, // 288: crabs.evening_detective_server.EveningDetectiveServer.GetGameReviewsForModeration:output_type -> crabs.evening_detective_server.GetGameReviewsRsp
|
|
172, // 289: crabs.evening_detective_server.EveningDetectiveServer.GetReviewsForModeration:output_type -> crabs.evening_detective_server.GetGameReviewsRsp
|
|
174, // 290: crabs.evening_detective_server.EveningDetectiveServer.ModerateGameReview:output_type -> crabs.evening_detective_server.ModerateGameReviewRsp
|
|
176, // 291: crabs.evening_detective_server.EveningDetectiveServer.UpdateGame:output_type -> crabs.evening_detective_server.UpdateGameRsp
|
|
178, // 292: crabs.evening_detective_server.EveningDetectiveServer.StartGame:output_type -> crabs.evening_detective_server.StartGameRsp
|
|
180, // 293: crabs.evening_detective_server.EveningDetectiveServer.PauseGame:output_type -> crabs.evening_detective_server.PauseGameRsp
|
|
182, // 294: crabs.evening_detective_server.EveningDetectiveServer.PlayGame:output_type -> crabs.evening_detective_server.PlayGameRsp
|
|
184, // 295: crabs.evening_detective_server.EveningDetectiveServer.FinishGame:output_type -> crabs.evening_detective_server.FinishGameRsp
|
|
186, // 296: crabs.evening_detective_server.EveningDetectiveServer.ResetGame:output_type -> crabs.evening_detective_server.ResetGameRsp
|
|
188, // 297: crabs.evening_detective_server.EveningDetectiveServer.DeleteGame:output_type -> crabs.evening_detective_server.DeleteGameRsp
|
|
190, // 298: crabs.evening_detective_server.EveningDetectiveServer.AddTeam:output_type -> crabs.evening_detective_server.AddTeamRsp
|
|
192, // 299: crabs.evening_detective_server.EveningDetectiveServer.UpdateTeam:output_type -> crabs.evening_detective_server.UpdateTeamRsp
|
|
194, // 300: crabs.evening_detective_server.EveningDetectiveServer.DeleteTeam:output_type -> crabs.evening_detective_server.DeleteTeamRsp
|
|
196, // 301: crabs.evening_detective_server.EveningDetectiveServer.GiveTeamApplications:output_type -> crabs.evening_detective_server.GiveTeamApplicationsRsp
|
|
198, // 302: crabs.evening_detective_server.EveningDetectiveServer.GetTeamStory:output_type -> crabs.evening_detective_server.GetTeamStoryRsp
|
|
201, // 303: crabs.evening_detective_server.EveningDetectiveServer.AddTeamAction:output_type -> crabs.evening_detective_server.AddTeamActionRsp
|
|
203, // 304: crabs.evening_detective_server.EveningDetectiveServer.DeleteLastTeamAction:output_type -> crabs.evening_detective_server.DeleteLastTeamActionRsp
|
|
205, // 305: crabs.evening_detective_server.EveningDetectiveServer.GetTeamAnswers:output_type -> crabs.evening_detective_server.GetTeamAnswersRsp
|
|
207, // 306: crabs.evening_detective_server.EveningDetectiveServer.SubmitTeamAnswers:output_type -> crabs.evening_detective_server.SubmitTeamAnswersRsp
|
|
209, // 307: crabs.evening_detective_server.EveningDetectiveServer.SetTeamAnswerScore:output_type -> crabs.evening_detective_server.SetTeamAnswerScoreRsp
|
|
202, // [202:308] is the sub-list for method output_type
|
|
96, // [96:202] is the sub-list for method input_type
|
|
96, // [96:96] is the sub-list for extension type_name
|
|
96, // [96:96] is the sub-list for extension extendee
|
|
0, // [0:96] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_main_proto_init() }
|
|
func file_main_proto_init() {
|
|
if File_main_proto != nil {
|
|
return
|
|
}
|
|
file_main_proto_msgTypes[62].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[72].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[104].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[109].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[204].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[215].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[216].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[222].OneofWrappers = []any{}
|
|
file_main_proto_msgTypes[223].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc)),
|
|
NumEnums: 4,
|
|
NumMessages: 228,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_main_proto_goTypes,
|
|
DependencyIndexes: file_main_proto_depIdxs,
|
|
EnumInfos: file_main_proto_enumTypes,
|
|
MessageInfos: file_main_proto_msgTypes,
|
|
}.Build()
|
|
File_main_proto = out.File
|
|
file_main_proto_goTypes = nil
|
|
file_main_proto_depIdxs = nil
|
|
}
|