go_dreamfactory/pb/caninerabbit_msg.pb.go
2023-11-04 15:23:15 +08:00

1241 lines
41 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: caninerabbit/caninerabbit_msg.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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 CanineRabbitInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CanineRabbitInfoReq) Reset() {
*x = CanineRabbitInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitInfoReq) ProtoMessage() {}
func (x *CanineRabbitInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitInfoReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitInfoReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{0}
}
type CanineRabbitInfoResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Info *DBCanineRabbit `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}
func (x *CanineRabbitInfoResp) Reset() {
*x = CanineRabbitInfoResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitInfoResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitInfoResp) ProtoMessage() {}
func (x *CanineRabbitInfoResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitInfoResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitInfoResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{1}
}
func (x *CanineRabbitInfoResp) GetInfo() *DBCanineRabbit {
if x != nil {
return x.Info
}
return nil
}
//领奖
type CanineRabbitAwardReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` //0兔子 1 猎犬
}
func (x *CanineRabbitAwardReq) Reset() {
*x = CanineRabbitAwardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitAwardReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitAwardReq) ProtoMessage() {}
func (x *CanineRabbitAwardReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitAwardReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitAwardReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{2}
}
func (x *CanineRabbitAwardReq) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
type CanineRabbitAwardResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` //0兔子 1 猎犬
Awardmap map[int32]bool `protobuf:"bytes,2,rep,name=awardmap,proto3" json:"awardmap" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Award []*UserAtno `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //获取资源
}
func (x *CanineRabbitAwardResp) Reset() {
*x = CanineRabbitAwardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitAwardResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitAwardResp) ProtoMessage() {}
func (x *CanineRabbitAwardResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitAwardResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitAwardResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{3}
}
func (x *CanineRabbitAwardResp) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *CanineRabbitAwardResp) GetAwardmap() map[int32]bool {
if x != nil {
return x.Awardmap
}
return nil
}
func (x *CanineRabbitAwardResp) GetAward() []*UserAtno {
if x != nil {
return x.Award
}
return nil
}
//猜颜色单机游戏请求
type CanineRabbitSingleOverReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Stype int32 `protobuf:"varint,2,opt,name=stype,proto3" json:"stype"` //0兔子 1猎犬
}
func (x *CanineRabbitSingleOverReq) Reset() {
*x = CanineRabbitSingleOverReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitSingleOverReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitSingleOverReq) ProtoMessage() {}
func (x *CanineRabbitSingleOverReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitSingleOverReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitSingleOverReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{4}
}
func (x *CanineRabbitSingleOverReq) GetStype() int32 {
if x != nil {
return x.Stype
}
return 0
}
//猜颜色单机游戏请求
type CanineRabbitSingleOverResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Rabbitintegral int32 `protobuf:"varint,1,opt,name=rabbitintegral,proto3" json:"rabbitintegral"` //兔子积分
Houndintegral int32 `protobuf:"varint,2,opt,name=houndintegral,proto3" json:"houndintegral"` //猎犬积分
}
func (x *CanineRabbitSingleOverResp) Reset() {
*x = CanineRabbitSingleOverResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitSingleOverResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitSingleOverResp) ProtoMessage() {}
func (x *CanineRabbitSingleOverResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitSingleOverResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitSingleOverResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{5}
}
func (x *CanineRabbitSingleOverResp) GetRabbitintegral() int32 {
if x != nil {
return x.Rabbitintegral
}
return 0
}
func (x *CanineRabbitSingleOverResp) GetHoundintegral() int32 {
if x != nil {
return x.Houndintegral
}
return 0
}
type CanineRabbitGameReadyPush struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServicePath string `protobuf:"bytes,1,opt,name=servicePath,proto3" json:"servicePath"` //游戏区服地址
Room *DBCanineRabbitRoom `protobuf:"bytes,2,opt,name=room,proto3" json:"room"` //房间
Countdown int32 `protobuf:"varint,3,opt,name=countdown,proto3" json:"countdown"` //布阵倒计时
}
func (x *CanineRabbitGameReadyPush) Reset() {
*x = CanineRabbitGameReadyPush{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitGameReadyPush) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitGameReadyPush) ProtoMessage() {}
func (x *CanineRabbitGameReadyPush) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitGameReadyPush.ProtoReflect.Descriptor instead.
func (*CanineRabbitGameReadyPush) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{6}
}
func (x *CanineRabbitGameReadyPush) GetServicePath() string {
if x != nil {
return x.ServicePath
}
return ""
}
func (x *CanineRabbitGameReadyPush) GetRoom() *DBCanineRabbitRoom {
if x != nil {
return x.Room
}
return nil
}
func (x *CanineRabbitGameReadyPush) GetCountdown() int32 {
if x != nil {
return x.Countdown
}
return 0
}
//加载完毕请求
type CanineRabbitLoadCompleteReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id
}
func (x *CanineRabbitLoadCompleteReq) Reset() {
*x = CanineRabbitLoadCompleteReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitLoadCompleteReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitLoadCompleteReq) ProtoMessage() {}
func (x *CanineRabbitLoadCompleteReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitLoadCompleteReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitLoadCompleteReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{7}
}
func (x *CanineRabbitLoadCompleteReq) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
//加载完毕请求
type CanineRabbitLoadCompleteResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id
Issucc bool `protobuf:"varint,2,opt,name=issucc,proto3" json:"issucc"`
}
func (x *CanineRabbitLoadCompleteResp) Reset() {
*x = CanineRabbitLoadCompleteResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitLoadCompleteResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitLoadCompleteResp) ProtoMessage() {}
func (x *CanineRabbitLoadCompleteResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitLoadCompleteResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitLoadCompleteResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{8}
}
func (x *CanineRabbitLoadCompleteResp) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
func (x *CanineRabbitLoadCompleteResp) GetIssucc() bool {
if x != nil {
return x.Issucc
}
return false
}
//游戏开始 通知
type CanineRabbitGameStartPush struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //战斗id
Currplayer string `protobuf:"bytes,2,opt,name=currplayer,proto3" json:"currplayer"` //先手方
}
func (x *CanineRabbitGameStartPush) Reset() {
*x = CanineRabbitGameStartPush{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitGameStartPush) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitGameStartPush) ProtoMessage() {}
func (x *CanineRabbitGameStartPush) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitGameStartPush.ProtoReflect.Descriptor instead.
func (*CanineRabbitGameStartPush) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{9}
}
func (x *CanineRabbitGameStartPush) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
func (x *CanineRabbitGameStartPush) GetCurrplayer() string {
if x != nil {
return x.Currplayer
}
return ""
}
//发送操作信息
type CanineRabbitHandleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //战斗id
Chess *DBCanineRabbitChess `protobuf:"bytes,2,opt,name=chess,proto3" json:"chess"` //棋子
}
func (x *CanineRabbitHandleReq) Reset() {
*x = CanineRabbitHandleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitHandleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitHandleReq) ProtoMessage() {}
func (x *CanineRabbitHandleReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitHandleReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitHandleReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{10}
}
func (x *CanineRabbitHandleReq) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
func (x *CanineRabbitHandleReq) GetChess() *DBCanineRabbitChess {
if x != nil {
return x.Chess
}
return nil
}
//发送操作信息
type CanineRabbitHandleResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CanineRabbitHandleResp) Reset() {
*x = CanineRabbitHandleResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitHandleResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitHandleResp) ProtoMessage() {}
func (x *CanineRabbitHandleResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitHandleResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitHandleResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{11}
}
//游戏结果推送
type CanineRabbitGameHandlePush struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //战斗id
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
Chess *DBCanineRabbitChess `protobuf:"bytes,3,opt,name=chess,proto3" json:"chess"` //棋子
}
func (x *CanineRabbitGameHandlePush) Reset() {
*x = CanineRabbitGameHandlePush{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitGameHandlePush) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitGameHandlePush) ProtoMessage() {}
func (x *CanineRabbitGameHandlePush) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitGameHandlePush.ProtoReflect.Descriptor instead.
func (*CanineRabbitGameHandlePush) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{12}
}
func (x *CanineRabbitGameHandlePush) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
func (x *CanineRabbitGameHandlePush) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *CanineRabbitGameHandlePush) GetChess() *DBCanineRabbitChess {
if x != nil {
return x.Chess
}
return nil
}
//输赢请求
type CanineRabbitWinReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //战斗id
Iswin bool `protobuf:"varint,2,opt,name=iswin,proto3" json:"iswin"` //是否胜利
}
func (x *CanineRabbitWinReq) Reset() {
*x = CanineRabbitWinReq{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitWinReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitWinReq) ProtoMessage() {}
func (x *CanineRabbitWinReq) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitWinReq.ProtoReflect.Descriptor instead.
func (*CanineRabbitWinReq) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{13}
}
func (x *CanineRabbitWinReq) GetRoomid() string {
if x != nil {
return x.Roomid
}
return ""
}
func (x *CanineRabbitWinReq) GetIswin() bool {
if x != nil {
return x.Iswin
}
return false
}
type CanineRabbitWinResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CanineRabbitWinResp) Reset() {
*x = CanineRabbitWinResp{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitWinResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitWinResp) ProtoMessage() {}
func (x *CanineRabbitWinResp) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitWinResp.ProtoReflect.Descriptor instead.
func (*CanineRabbitWinResp) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{14}
}
//游戏结束推送
type CanineRabbitGameOverPush struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Winuid string `protobuf:"bytes,1,opt,name=winuid,proto3" json:"winuid"` //赢得人
Admitdefeat bool `protobuf:"varint,2,opt,name=admitdefeat,proto3" json:"admitdefeat"` //是否认输
Red *DBCanineRabbitRoomPlayer `protobuf:"bytes,3,opt,name=red,proto3" json:"red"`
Blue *DBCanineRabbitRoomPlayer `protobuf:"bytes,4,opt,name=blue,proto3" json:"blue"`
}
func (x *CanineRabbitGameOverPush) Reset() {
*x = CanineRabbitGameOverPush{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CanineRabbitGameOverPush) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CanineRabbitGameOverPush) ProtoMessage() {}
func (x *CanineRabbitGameOverPush) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_msg_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CanineRabbitGameOverPush.ProtoReflect.Descriptor instead.
func (*CanineRabbitGameOverPush) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP(), []int{15}
}
func (x *CanineRabbitGameOverPush) GetWinuid() string {
if x != nil {
return x.Winuid
}
return ""
}
func (x *CanineRabbitGameOverPush) GetAdmitdefeat() bool {
if x != nil {
return x.Admitdefeat
}
return false
}
func (x *CanineRabbitGameOverPush) GetRed() *DBCanineRabbitRoomPlayer {
if x != nil {
return x.Red
}
return nil
}
func (x *CanineRabbitGameOverPush) GetBlue() *DBCanineRabbitRoomPlayer {
if x != nil {
return x.Blue
}
return nil
}
var File_caninerabbit_caninerabbit_msg_proto protoreflect.FileDescriptor
var file_caninerabbit_caninerabbit_msg_proto_rawDesc = []byte{
0x0a, 0x23, 0x63, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x2f, 0x63,
0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62,
0x62, 0x69, 0x74, 0x2f, 0x63, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74,
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52,
0x61, 0x62, 0x62, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x3b, 0x0a, 0x14,
0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62,
0x62, 0x69, 0x74, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x61, 0x6e,
0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
0x71, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65,
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74,
0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x18,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61,
0x62, 0x62, 0x69, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x41, 0x77,
0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, 0x77, 0x61,
0x72, 0x64, 0x6d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52,
0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x6d,
0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
0x02, 0x38, 0x01, 0x22, 0x31, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62,
0x62, 0x69, 0x74, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71,
0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x22, 0x6a, 0x0a, 0x1a, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65,
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x69, 0x6e,
0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x61,
0x62, 0x62, 0x69, 0x74, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x24, 0x0a, 0x0d,
0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0d, 0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
0x61, 0x6c, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62,
0x62, 0x69, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x50, 0x75, 0x73, 0x68,
0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61,
0x74, 0x68, 0x12, 0x27, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x13, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69,
0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x35, 0x0a, 0x1b, 0x43, 0x61, 0x6e,
0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6d,
0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64,
0x22, 0x4e, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74,
0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75,
0x63, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63,
0x22, 0x53, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74,
0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a,
0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x72, 0x70, 0x6c, 0x61,
0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x72, 0x70,
0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52,
0x61, 0x62, 0x62, 0x69, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16,
0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x63, 0x68, 0x65, 0x73, 0x73, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65,
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x43, 0x68, 0x65, 0x73, 0x73, 0x52, 0x05, 0x63, 0x68, 0x65,
0x73, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62,
0x69, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x72, 0x0a, 0x1a,
0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x47, 0x61, 0x6d, 0x65,
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f,
0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x75, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x63, 0x68, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61,
0x62, 0x62, 0x69, 0x74, 0x43, 0x68, 0x65, 0x73, 0x73, 0x52, 0x05, 0x63, 0x68, 0x65, 0x73, 0x73,
0x22, 0x42, 0x0a, 0x12, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74,
0x57, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14,
0x0a, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69,
0x73, 0x77, 0x69, 0x6e, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61,
0x62, 0x62, 0x69, 0x74, 0x57, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xb0, 0x01, 0x0a, 0x18,
0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x47, 0x61, 0x6d, 0x65,
0x4f, 0x76, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x75,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x75, 0x69, 0x64,
0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x64, 0x65, 0x66, 0x65, 0x61, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x64, 0x65, 0x66, 0x65,
0x61, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74,
0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12,
0x2d, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x6f,
0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_caninerabbit_caninerabbit_msg_proto_rawDescOnce sync.Once
file_caninerabbit_caninerabbit_msg_proto_rawDescData = file_caninerabbit_caninerabbit_msg_proto_rawDesc
)
func file_caninerabbit_caninerabbit_msg_proto_rawDescGZIP() []byte {
file_caninerabbit_caninerabbit_msg_proto_rawDescOnce.Do(func() {
file_caninerabbit_caninerabbit_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_caninerabbit_caninerabbit_msg_proto_rawDescData)
})
return file_caninerabbit_caninerabbit_msg_proto_rawDescData
}
var file_caninerabbit_caninerabbit_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_caninerabbit_caninerabbit_msg_proto_goTypes = []interface{}{
(*CanineRabbitInfoReq)(nil), // 0: CanineRabbitInfoReq
(*CanineRabbitInfoResp)(nil), // 1: CanineRabbitInfoResp
(*CanineRabbitAwardReq)(nil), // 2: CanineRabbitAwardReq
(*CanineRabbitAwardResp)(nil), // 3: CanineRabbitAwardResp
(*CanineRabbitSingleOverReq)(nil), // 4: CanineRabbitSingleOverReq
(*CanineRabbitSingleOverResp)(nil), // 5: CanineRabbitSingleOverResp
(*CanineRabbitGameReadyPush)(nil), // 6: CanineRabbitGameReadyPush
(*CanineRabbitLoadCompleteReq)(nil), // 7: CanineRabbitLoadCompleteReq
(*CanineRabbitLoadCompleteResp)(nil), // 8: CanineRabbitLoadCompleteResp
(*CanineRabbitGameStartPush)(nil), // 9: CanineRabbitGameStartPush
(*CanineRabbitHandleReq)(nil), // 10: CanineRabbitHandleReq
(*CanineRabbitHandleResp)(nil), // 11: CanineRabbitHandleResp
(*CanineRabbitGameHandlePush)(nil), // 12: CanineRabbitGameHandlePush
(*CanineRabbitWinReq)(nil), // 13: CanineRabbitWinReq
(*CanineRabbitWinResp)(nil), // 14: CanineRabbitWinResp
(*CanineRabbitGameOverPush)(nil), // 15: CanineRabbitGameOverPush
nil, // 16: CanineRabbitAwardResp.AwardmapEntry
(*DBCanineRabbit)(nil), // 17: DBCanineRabbit
(*UserAtno)(nil), // 18: UserAtno
(*DBCanineRabbitRoom)(nil), // 19: DBCanineRabbitRoom
(*DBCanineRabbitChess)(nil), // 20: DBCanineRabbitChess
(*DBCanineRabbitRoomPlayer)(nil), // 21: DBCanineRabbitRoomPlayer
}
var file_caninerabbit_caninerabbit_msg_proto_depIdxs = []int32{
17, // 0: CanineRabbitInfoResp.info:type_name -> DBCanineRabbit
16, // 1: CanineRabbitAwardResp.awardmap:type_name -> CanineRabbitAwardResp.AwardmapEntry
18, // 2: CanineRabbitAwardResp.award:type_name -> UserAtno
19, // 3: CanineRabbitGameReadyPush.room:type_name -> DBCanineRabbitRoom
20, // 4: CanineRabbitHandleReq.chess:type_name -> DBCanineRabbitChess
20, // 5: CanineRabbitGameHandlePush.chess:type_name -> DBCanineRabbitChess
21, // 6: CanineRabbitGameOverPush.red:type_name -> DBCanineRabbitRoomPlayer
21, // 7: CanineRabbitGameOverPush.blue:type_name -> DBCanineRabbitRoomPlayer
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_caninerabbit_caninerabbit_msg_proto_init() }
func file_caninerabbit_caninerabbit_msg_proto_init() {
if File_caninerabbit_caninerabbit_msg_proto != nil {
return
}
file_caninerabbit_caninerabbit_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_caninerabbit_caninerabbit_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitInfoResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitAwardReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitAwardResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitSingleOverReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitSingleOverResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitGameReadyPush); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitLoadCompleteReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitLoadCompleteResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitGameStartPush); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitHandleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitHandleResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitGameHandlePush); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitWinReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitWinResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CanineRabbitGameOverPush); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_caninerabbit_caninerabbit_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 17,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_caninerabbit_caninerabbit_msg_proto_goTypes,
DependencyIndexes: file_caninerabbit_caninerabbit_msg_proto_depIdxs,
MessageInfos: file_caninerabbit_caninerabbit_msg_proto_msgTypes,
}.Build()
File_caninerabbit_caninerabbit_msg_proto = out.File
file_caninerabbit_caninerabbit_msg_proto_rawDesc = nil
file_caninerabbit_caninerabbit_msg_proto_goTypes = nil
file_caninerabbit_caninerabbit_msg_proto_depIdxs = nil
}