2332 lines
79 KiB
Go
2332 lines
79 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.27.1-devel
|
||
// protoc v3.19.4
|
||
// source: protocol/tala/tala.proto
|
||
|
||
package tala
|
||
|
||
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 OpResultCode int32
|
||
|
||
const (
|
||
OpResultCode_OPRC_Sucess OpResultCode = 0 //成功
|
||
OpResultCode_OPRC_Error OpResultCode = 1 //失败
|
||
)
|
||
|
||
// Enum value maps for OpResultCode.
|
||
var (
|
||
OpResultCode_name = map[int32]string{
|
||
0: "OPRC_Sucess",
|
||
1: "OPRC_Error",
|
||
}
|
||
OpResultCode_value = map[string]int32{
|
||
"OPRC_Sucess": 0,
|
||
"OPRC_Error": 1,
|
||
}
|
||
)
|
||
|
||
func (x OpResultCode) Enum() *OpResultCode {
|
||
p := new(OpResultCode)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x OpResultCode) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (OpResultCode) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_protocol_tala_tala_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (OpResultCode) Type() protoreflect.EnumType {
|
||
return &file_protocol_tala_tala_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x OpResultCode) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use OpResultCode.Descriptor instead.
|
||
func (OpResultCode) EnumDescriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
//tala
|
||
type TaLaPacketID int32
|
||
|
||
const (
|
||
TaLaPacketID_PACKET_TaLaZERO TaLaPacketID = 0 // 弃用消息号
|
||
TaLaPacketID_PACKET_SCTaLaRoomInfo TaLaPacketID = 5530 //房间信息
|
||
TaLaPacketID_PACKET_SCTaLaRoomState TaLaPacketID = 5531 //房间状态
|
||
TaLaPacketID_PACKET_CSTaLaPlayerOp TaLaPacketID = 5532 //玩家操作
|
||
TaLaPacketID_PACKET_SCTaLaPlayerOp TaLaPacketID = 5533 //玩家操作
|
||
TaLaPacketID_PACKET_SCTaLaPlayerEnter TaLaPacketID = 5534 //玩家进入
|
||
TaLaPacketID_PACKET_SCTaLaPlayerLeave TaLaPacketID = 5535 //玩家离开
|
||
TaLaPacketID_PACKET_SCTaLaHandCard TaLaPacketID = 5536 //发手牌
|
||
TaLaPacketID_PACKET_SCTaLaShowPhom TaLaPacketID = 5537 //亮phom
|
||
TaLaPacketID_PACKET_SCTaLaOpPhom TaLaPacketID = 5538 //组phom
|
||
TaLaPacketID_PACKET_SCTaLaGameBilled TaLaPacketID = 5539 //结算
|
||
TaLaPacketID_PACKET_SCTaLaCurOpPos TaLaPacketID = 5540 //当前操作的玩家位置
|
||
TaLaPacketID_PACKET_SCTaLaSmallGameBilled TaLaPacketID = 5541 //小结算
|
||
TaLaPacketID_PACKET_SCTaLaUpdateMasterSnid TaLaPacketID = 5542 //房主更换
|
||
TaLaPacketID_PACKET_SCTaLaUpdateCardsNum TaLaPacketID = 5543 //更新桩牌数
|
||
TaLaPacketID_PACKET_SCTaLaMoveCard TaLaPacketID = 5544 //移牌
|
||
TaLaPacketID_PACKET_SCTaLaRecommendPhom TaLaPacketID = 5545 //推荐的phoms
|
||
TaLaPacketID_PACKET_SCTaLaFirstOpPos TaLaPacketID = 5546 //首出玩家
|
||
)
|
||
|
||
// Enum value maps for TaLaPacketID.
|
||
var (
|
||
TaLaPacketID_name = map[int32]string{
|
||
0: "PACKET_TaLaZERO",
|
||
5530: "PACKET_SCTaLaRoomInfo",
|
||
5531: "PACKET_SCTaLaRoomState",
|
||
5532: "PACKET_CSTaLaPlayerOp",
|
||
5533: "PACKET_SCTaLaPlayerOp",
|
||
5534: "PACKET_SCTaLaPlayerEnter",
|
||
5535: "PACKET_SCTaLaPlayerLeave",
|
||
5536: "PACKET_SCTaLaHandCard",
|
||
5537: "PACKET_SCTaLaShowPhom",
|
||
5538: "PACKET_SCTaLaOpPhom",
|
||
5539: "PACKET_SCTaLaGameBilled",
|
||
5540: "PACKET_SCTaLaCurOpPos",
|
||
5541: "PACKET_SCTaLaSmallGameBilled",
|
||
5542: "PACKET_SCTaLaUpdateMasterSnid",
|
||
5543: "PACKET_SCTaLaUpdateCardsNum",
|
||
5544: "PACKET_SCTaLaMoveCard",
|
||
5545: "PACKET_SCTaLaRecommendPhom",
|
||
5546: "PACKET_SCTaLaFirstOpPos",
|
||
}
|
||
TaLaPacketID_value = map[string]int32{
|
||
"PACKET_TaLaZERO": 0,
|
||
"PACKET_SCTaLaRoomInfo": 5530,
|
||
"PACKET_SCTaLaRoomState": 5531,
|
||
"PACKET_CSTaLaPlayerOp": 5532,
|
||
"PACKET_SCTaLaPlayerOp": 5533,
|
||
"PACKET_SCTaLaPlayerEnter": 5534,
|
||
"PACKET_SCTaLaPlayerLeave": 5535,
|
||
"PACKET_SCTaLaHandCard": 5536,
|
||
"PACKET_SCTaLaShowPhom": 5537,
|
||
"PACKET_SCTaLaOpPhom": 5538,
|
||
"PACKET_SCTaLaGameBilled": 5539,
|
||
"PACKET_SCTaLaCurOpPos": 5540,
|
||
"PACKET_SCTaLaSmallGameBilled": 5541,
|
||
"PACKET_SCTaLaUpdateMasterSnid": 5542,
|
||
"PACKET_SCTaLaUpdateCardsNum": 5543,
|
||
"PACKET_SCTaLaMoveCard": 5544,
|
||
"PACKET_SCTaLaRecommendPhom": 5545,
|
||
"PACKET_SCTaLaFirstOpPos": 5546,
|
||
}
|
||
)
|
||
|
||
func (x TaLaPacketID) Enum() *TaLaPacketID {
|
||
p := new(TaLaPacketID)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x TaLaPacketID) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (TaLaPacketID) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_protocol_tala_tala_proto_enumTypes[1].Descriptor()
|
||
}
|
||
|
||
func (TaLaPacketID) Type() protoreflect.EnumType {
|
||
return &file_protocol_tala_tala_proto_enumTypes[1]
|
||
}
|
||
|
||
func (x TaLaPacketID) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use TaLaPacketID.Descriptor instead.
|
||
func (TaLaPacketID) EnumDescriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
//玩家信息
|
||
type TaLaPlayerData struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` //名字
|
||
SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"` //账号
|
||
Head int32 `protobuf:"varint,3,opt,name=Head,proto3" json:"Head,omitempty"` //头像
|
||
Sex int32 `protobuf:"varint,4,opt,name=Sex,proto3" json:"Sex,omitempty"` //性别
|
||
Params []string `protobuf:"bytes,5,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:昵称 头像 性别 ip 等
|
||
Coin int64 `protobuf:"varint,6,opt,name=Coin,proto3" json:"Coin,omitempty"` //金币
|
||
Pos int32 `protobuf:"varint,7,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置
|
||
Flag int32 `protobuf:"varint,8,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记 详见:数据字典
|
||
Longitude int32 `protobuf:"varint,9,opt,name=Longitude,proto3" json:"Longitude,omitempty"` //经度
|
||
Latitude int32 `protobuf:"varint,10,opt,name=Latitude,proto3" json:"Latitude,omitempty"` //纬度
|
||
City string `protobuf:"bytes,11,opt,name=City,proto3" json:"City,omitempty"` //城市 例:伦敦
|
||
LastOp int32 `protobuf:"varint,12,opt,name=LastOp,proto3" json:"LastOp,omitempty"` //如上:玩家操作
|
||
VIP int32 `protobuf:"varint,13,opt,name=VIP,proto3" json:"VIP,omitempty"` //玩家VIP等级
|
||
HeadOutLine int32 `protobuf:"varint,14,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框
|
||
NiceId int32 `protobuf:"varint,15,opt,name=NiceId,proto3" json:"NiceId,omitempty"` //靓号[机器人用]
|
||
GameCoin int64 `protobuf:"varint,16,opt,name=GameCoin,proto3" json:"GameCoin,omitempty"` //游戏内带入的金币
|
||
RoleId int32 `protobuf:"varint,17,opt,name=RoleId,proto3" json:"RoleId,omitempty"` //使用中的角色id
|
||
Items map[int32]int32 `protobuf:"bytes,18,rep,name=Items,proto3" json:"Items,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||
Cards []int32 `protobuf:"varint,19,rep,packed,name=Cards,proto3" json:"Cards,omitempty"` //手牌
|
||
ChiCards []int32 `protobuf:"varint,20,rep,packed,name=ChiCards,proto3" json:"ChiCards,omitempty"` //已吃的牌
|
||
DelCards []int32 `protobuf:"varint,21,rep,packed,name=DelCards,proto3" json:"DelCards,omitempty"` //出过的手牌
|
||
Phoms []*Phoms `protobuf:"bytes,22,rep,name=Phoms,proto3" json:"Phoms,omitempty"` //亮出的phom
|
||
Chi2Phoms []*Phoms `protobuf:"bytes,23,rep,name=Chi2Phoms,proto3" json:"Chi2Phoms,omitempty"` //因吃牌而组成phom的牌
|
||
}
|
||
|
||
func (x *TaLaPlayerData) Reset() {
|
||
*x = TaLaPlayerData{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TaLaPlayerData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TaLaPlayerData) ProtoMessage() {}
|
||
|
||
func (x *TaLaPlayerData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 TaLaPlayerData.ProtoReflect.Descriptor instead.
|
||
func (*TaLaPlayerData) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetHead() int32 {
|
||
if x != nil {
|
||
return x.Head
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetSex() int32 {
|
||
if x != nil {
|
||
return x.Sex
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetParams() []string {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetCoin() int64 {
|
||
if x != nil {
|
||
return x.Coin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetPos() int32 {
|
||
if x != nil {
|
||
return x.Pos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetFlag() int32 {
|
||
if x != nil {
|
||
return x.Flag
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetLongitude() int32 {
|
||
if x != nil {
|
||
return x.Longitude
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetLatitude() int32 {
|
||
if x != nil {
|
||
return x.Latitude
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetCity() string {
|
||
if x != nil {
|
||
return x.City
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetLastOp() int32 {
|
||
if x != nil {
|
||
return x.LastOp
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetVIP() int32 {
|
||
if x != nil {
|
||
return x.VIP
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetHeadOutLine() int32 {
|
||
if x != nil {
|
||
return x.HeadOutLine
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetNiceId() int32 {
|
||
if x != nil {
|
||
return x.NiceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetGameCoin() int64 {
|
||
if x != nil {
|
||
return x.GameCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetRoleId() int32 {
|
||
if x != nil {
|
||
return x.RoleId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetItems() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetChiCards() []int32 {
|
||
if x != nil {
|
||
return x.ChiCards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetDelCards() []int32 {
|
||
if x != nil {
|
||
return x.DelCards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetPhoms() []*Phoms {
|
||
if x != nil {
|
||
return x.Phoms
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerData) GetChi2Phoms() []*Phoms {
|
||
if x != nil {
|
||
return x.Chi2Phoms
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type LastDelCard struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Cards []int32 `protobuf:"varint,1,rep,packed,name=Cards,proto3" json:"Cards,omitempty"`
|
||
}
|
||
|
||
func (x *LastDelCard) Reset() {
|
||
*x = LastDelCard{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *LastDelCard) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*LastDelCard) ProtoMessage() {}
|
||
|
||
func (x *LastDelCard) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 LastDelCard.ProtoReflect.Descriptor instead.
|
||
func (*LastDelCard) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *LastDelCard) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//房间信息
|
||
type SCTaLaRoomInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id
|
||
Creator int32 `protobuf:"varint,2,opt,name=Creator,proto3" json:"Creator,omitempty"` //创建者SnId
|
||
GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id
|
||
RoomMode int32 `protobuf:"varint,4,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式
|
||
Params []int32 `protobuf:"varint,5,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数
|
||
BankerPos int32 `protobuf:"varint,6,opt,name=BankerPos,proto3" json:"BankerPos,omitempty"` //庄家位置
|
||
State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态,如上
|
||
TimeOut int32 `protobuf:"varint,8,opt,name=TimeOut,proto3" json:"TimeOut,omitempty"` //等待剩余时间 单位:秒
|
||
Players []*TaLaPlayerData `protobuf:"bytes,9,rep,name=Players,proto3" json:"Players,omitempty"` //房间内的玩家信息
|
||
AudienceNum int32 `protobuf:"varint,10,opt,name=AudienceNum,proto3" json:"AudienceNum,omitempty"` //当前观战人数
|
||
CurOpIdx int32 `protobuf:"varint,11,opt,name=CurOpIdx,proto3" json:"CurOpIdx,omitempty"` //当前等待操作的玩家
|
||
LastDelCards []*LastDelCard `protobuf:"bytes,12,rep,name=LastDelCards,proto3" json:"LastDelCards,omitempty"` //上两手出的牌
|
||
NumOfGames int32 `protobuf:"varint,13,opt,name=NumOfGames,proto3" json:"NumOfGames,omitempty"` //当前局数
|
||
TotalOfGames int32 `protobuf:"varint,14,opt,name=TotalOfGames,proto3" json:"TotalOfGames,omitempty"` //总局数
|
||
MasterSnid int32 `protobuf:"varint,15,opt,name=MasterSnid,proto3" json:"MasterSnid,omitempty"` //房主
|
||
BaseScore int32 `protobuf:"varint,16,opt,name=BaseScore,proto3" json:"BaseScore,omitempty"` //游戏底分
|
||
MaxPlayerNum int32 `protobuf:"varint,17,opt,name=MaxPlayerNum,proto3" json:"MaxPlayerNum,omitempty"` //最大游戏人数
|
||
CardsNum int32 `protobuf:"varint,18,opt,name=CardsNum,proto3" json:"CardsNum,omitempty"` //桩牌数
|
||
IsLast bool `protobuf:"varint,19,opt,name=IsLast,proto3" json:"IsLast,omitempty"` //是不是最后一轮
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) Reset() {
|
||
*x = SCTaLaRoomInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaRoomInfo) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaRoomInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaRoomInfo.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaRoomInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetRoomId() int32 {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetCreator() int32 {
|
||
if x != nil {
|
||
return x.Creator
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetGameId() int32 {
|
||
if x != nil {
|
||
return x.GameId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetRoomMode() int32 {
|
||
if x != nil {
|
||
return x.RoomMode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetParams() []int32 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetBankerPos() int32 {
|
||
if x != nil {
|
||
return x.BankerPos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetState() int32 {
|
||
if x != nil {
|
||
return x.State
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetTimeOut() int32 {
|
||
if x != nil {
|
||
return x.TimeOut
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetPlayers() []*TaLaPlayerData {
|
||
if x != nil {
|
||
return x.Players
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetAudienceNum() int32 {
|
||
if x != nil {
|
||
return x.AudienceNum
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetCurOpIdx() int32 {
|
||
if x != nil {
|
||
return x.CurOpIdx
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetLastDelCards() []*LastDelCard {
|
||
if x != nil {
|
||
return x.LastDelCards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetNumOfGames() int32 {
|
||
if x != nil {
|
||
return x.NumOfGames
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetTotalOfGames() int32 {
|
||
if x != nil {
|
||
return x.TotalOfGames
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetMasterSnid() int32 {
|
||
if x != nil {
|
||
return x.MasterSnid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetBaseScore() int32 {
|
||
if x != nil {
|
||
return x.BaseScore
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetMaxPlayerNum() int32 {
|
||
if x != nil {
|
||
return x.MaxPlayerNum
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetCardsNum() int32 {
|
||
if x != nil {
|
||
return x.CardsNum
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomInfo) GetIsLast() bool {
|
||
if x != nil {
|
||
return x.IsLast
|
||
}
|
||
return false
|
||
}
|
||
|
||
//房间状态更新
|
||
type SCTaLaRoomState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
||
Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //参数
|
||
}
|
||
|
||
func (x *SCTaLaRoomState) Reset() {
|
||
*x = SCTaLaRoomState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaRoomState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaRoomState) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaRoomState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaRoomState.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaRoomState) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *SCTaLaRoomState) GetState() int32 {
|
||
if x != nil {
|
||
return x.State
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRoomState) GetParams() []int64 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家操作
|
||
type CSTaLaPlayerOp struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //1.吃住 2.抽牌 3.出牌 4.组phom 5.亮phom
|
||
OpParam []int64 `protobuf:"varint,2,rep,packed,name=OpParam,proto3" json:"OpParam,omitempty"`
|
||
}
|
||
|
||
func (x *CSTaLaPlayerOp) Reset() {
|
||
*x = CSTaLaPlayerOp{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSTaLaPlayerOp) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSTaLaPlayerOp) ProtoMessage() {}
|
||
|
||
func (x *CSTaLaPlayerOp) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 CSTaLaPlayerOp.ProtoReflect.Descriptor instead.
|
||
func (*CSTaLaPlayerOp) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *CSTaLaPlayerOp) GetOpCode() int32 {
|
||
if x != nil {
|
||
return x.OpCode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CSTaLaPlayerOp) GetOpParam() []int64 {
|
||
if x != nil {
|
||
return x.OpParam
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type SCTaLaPlayerOp struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //1.吃住 2.抽牌 3.出牌 4.组phom 5.亮phom
|
||
OpParam []int64 `protobuf:"varint,2,rep,packed,name=OpParam,proto3" json:"OpParam,omitempty"` //参数
|
||
SnId int32 `protobuf:"varint,3,opt,name=SnId,proto3" json:"SnId,omitempty"` //玩家位置
|
||
OpRetCode OpResultCode `protobuf:"varint,4,opt,name=OpRetCode,proto3,enum=tala.OpResultCode" json:"OpRetCode,omitempty"` //返回错误码,详见:enums.proto
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) Reset() {
|
||
*x = SCTaLaPlayerOp{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaPlayerOp) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaPlayerOp) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaPlayerOp.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaPlayerOp) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) GetOpCode() int32 {
|
||
if x != nil {
|
||
return x.OpCode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) GetOpParam() []int64 {
|
||
if x != nil {
|
||
return x.OpParam
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaPlayerOp) GetOpRetCode() OpResultCode {
|
||
if x != nil {
|
||
return x.OpRetCode
|
||
}
|
||
return OpResultCode_OPRC_Sucess
|
||
}
|
||
|
||
//玩家进入
|
||
type SCTaLaPlayerEnter struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Data *TaLaPlayerData `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` //玩家数据
|
||
}
|
||
|
||
func (x *SCTaLaPlayerEnter) Reset() {
|
||
*x = SCTaLaPlayerEnter{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerEnter) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaPlayerEnter) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaPlayerEnter) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaPlayerEnter.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaPlayerEnter) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerEnter) GetData() *TaLaPlayerData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家离开
|
||
type SCTaLaPlayerLeave struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Pos int32 `protobuf:"varint,1,opt,name=Pos,proto3" json:"Pos,omitempty"` //玩家位置
|
||
}
|
||
|
||
func (x *SCTaLaPlayerLeave) Reset() {
|
||
*x = SCTaLaPlayerLeave{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerLeave) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaPlayerLeave) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaPlayerLeave) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaPlayerLeave.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaPlayerLeave) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *SCTaLaPlayerLeave) GetPos() int32 {
|
||
if x != nil {
|
||
return x.Pos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//结算结果
|
||
type TaLaPlayerGameBilled struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` //玩家
|
||
Cards []int32 `protobuf:"varint,2,rep,packed,name=Cards,proto3" json:"Cards,omitempty"` // 手牌
|
||
WinCoin int64 `protobuf:"varint,3,opt,name=WinCoin,proto3" json:"WinCoin,omitempty"` //输赢金额
|
||
GameCoin int64 `protobuf:"varint,4,opt,name=GameCoin,proto3" json:"GameCoin,omitempty"` //结算后身上余额
|
||
IsWin int32 `protobuf:"varint,5,opt,name=IsWin,proto3" json:"IsWin,omitempty"` //输赢 赢1 输2 平0
|
||
Rank int32 `protobuf:"varint,6,opt,name=Rank,proto3" json:"Rank,omitempty"` //排名 -1:有胡的玩家 0123->1234排名 4最后一名是瘪
|
||
Phoms []*Phoms `protobuf:"bytes,7,rep,name=Phoms,proto3" json:"Phoms,omitempty"` //组成的所有phom
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) Reset() {
|
||
*x = TaLaPlayerGameBilled{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TaLaPlayerGameBilled) ProtoMessage() {}
|
||
|
||
func (x *TaLaPlayerGameBilled) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 TaLaPlayerGameBilled.ProtoReflect.Descriptor instead.
|
||
func (*TaLaPlayerGameBilled) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetWinCoin() int64 {
|
||
if x != nil {
|
||
return x.WinCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetGameCoin() int64 {
|
||
if x != nil {
|
||
return x.GameCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetIsWin() int32 {
|
||
if x != nil {
|
||
return x.IsWin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetRank() int32 {
|
||
if x != nil {
|
||
return x.Rank
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TaLaPlayerGameBilled) GetPhoms() []*Phoms {
|
||
if x != nil {
|
||
return x.Phoms
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type SCTaLaGameBilled struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Datas []*TaLaPlayerGameBilled `protobuf:"bytes,1,rep,name=Datas,proto3" json:"Datas,omitempty"`
|
||
}
|
||
|
||
func (x *SCTaLaGameBilled) Reset() {
|
||
*x = SCTaLaGameBilled{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaGameBilled) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaGameBilled) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaGameBilled) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaGameBilled.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaGameBilled) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *SCTaLaGameBilled) GetDatas() []*TaLaPlayerGameBilled {
|
||
if x != nil {
|
||
return x.Datas
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//小结算结果
|
||
type SCTaLaSmallGameBilled struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
WinPos int32 `protobuf:"varint,1,opt,name=WinPos,proto3" json:"WinPos,omitempty"` //赢家
|
||
WinPosCoin int64 `protobuf:"varint,2,opt,name=WinPosCoin,proto3" json:"WinPosCoin,omitempty"` //结算后赢家身上余额
|
||
LosePos int32 `protobuf:"varint,3,opt,name=LosePos,proto3" json:"LosePos,omitempty"` //输家
|
||
LosePosCoin int64 `protobuf:"varint,4,opt,name=LosePosCoin,proto3" json:"LosePosCoin,omitempty"` //结算后输家身上余额
|
||
WinCoin int64 `protobuf:"varint,5,opt,name=WinCoin,proto3" json:"WinCoin,omitempty"` //赢金额
|
||
LoseCoin int64 `protobuf:"varint,6,opt,name=LoseCoin,proto3" json:"LoseCoin,omitempty"` //输金额
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) Reset() {
|
||
*x = SCTaLaSmallGameBilled{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaSmallGameBilled) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaSmallGameBilled) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaSmallGameBilled.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaSmallGameBilled) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetWinPos() int32 {
|
||
if x != nil {
|
||
return x.WinPos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetWinPosCoin() int64 {
|
||
if x != nil {
|
||
return x.WinPosCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetLosePos() int32 {
|
||
if x != nil {
|
||
return x.LosePos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetLosePosCoin() int64 {
|
||
if x != nil {
|
||
return x.LosePosCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetWinCoin() int64 {
|
||
if x != nil {
|
||
return x.WinCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaSmallGameBilled) GetLoseCoin() int64 {
|
||
if x != nil {
|
||
return x.LoseCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//发手牌
|
||
type SCTaLaHandCard struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Cards []int32 `protobuf:"varint,1,rep,packed,name=Cards,proto3" json:"Cards,omitempty"` //手牌
|
||
}
|
||
|
||
func (x *SCTaLaHandCard) Reset() {
|
||
*x = SCTaLaHandCard{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaHandCard) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaHandCard) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaHandCard) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaHandCard.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaHandCard) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *SCTaLaHandCard) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type Phoms struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Phom []int32 `protobuf:"varint,1,rep,packed,name=Phom,proto3" json:"Phom,omitempty"`
|
||
}
|
||
|
||
func (x *Phoms) Reset() {
|
||
*x = Phoms{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Phoms) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Phoms) ProtoMessage() {}
|
||
|
||
func (x *Phoms) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 Phoms.ProtoReflect.Descriptor instead.
|
||
func (*Phoms) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *Phoms) GetPhom() []int32 {
|
||
if x != nil {
|
||
return x.Phom
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//ShowPhom
|
||
type SCTaLaShowPhom struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
||
Cards []int32 `protobuf:"varint,2,rep,packed,name=Cards,proto3" json:"Cards,omitempty"` //垃圾牌
|
||
Phoms []*Phoms `protobuf:"bytes,3,rep,name=Phoms,proto3" json:"Phoms,omitempty"` //组成的所有phom
|
||
OpRetCode OpResultCode `protobuf:"varint,4,opt,name=OpRetCode,proto3,enum=tala.OpResultCode" json:"OpRetCode,omitempty"` //返回错误码
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) Reset() {
|
||
*x = SCTaLaShowPhom{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaShowPhom) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaShowPhom) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaShowPhom.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaShowPhom) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) GetPhoms() []*Phoms {
|
||
if x != nil {
|
||
return x.Phoms
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaShowPhom) GetOpRetCode() OpResultCode {
|
||
if x != nil {
|
||
return x.OpRetCode
|
||
}
|
||
return OpResultCode_OPRC_Sucess
|
||
}
|
||
|
||
type MapSnidCards struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnidCard map[int32]int32 `protobuf:"bytes,1,rep,name=SnidCard,proto3" json:"SnidCard,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //key:snid value:card
|
||
}
|
||
|
||
func (x *MapSnidCards) Reset() {
|
||
*x = MapSnidCards{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MapSnidCards) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MapSnidCards) ProtoMessage() {}
|
||
|
||
func (x *MapSnidCards) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 MapSnidCards.ProtoReflect.Descriptor instead.
|
||
func (*MapSnidCards) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *MapSnidCards) GetSnidCard() map[int32]int32 {
|
||
if x != nil {
|
||
return x.SnidCard
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//组Phom
|
||
type SCTaLaOpPhom struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
||
MapSnidCard []*MapSnidCards `protobuf:"bytes,2,rep,name=MapSnidCard,proto3" json:"MapSnidCard,omitempty"`
|
||
OpRetCode OpResultCode `protobuf:"varint,3,opt,name=OpRetCode,proto3,enum=tala.OpResultCode" json:"OpRetCode,omitempty"` //返回错误码
|
||
}
|
||
|
||
func (x *SCTaLaOpPhom) Reset() {
|
||
*x = SCTaLaOpPhom{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaOpPhom) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaOpPhom) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaOpPhom) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_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 SCTaLaOpPhom.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaOpPhom) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *SCTaLaOpPhom) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaOpPhom) GetMapSnidCard() []*MapSnidCards {
|
||
if x != nil {
|
||
return x.MapSnidCard
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCTaLaOpPhom) GetOpRetCode() OpResultCode {
|
||
if x != nil {
|
||
return x.OpRetCode
|
||
}
|
||
return OpResultCode_OPRC_Sucess
|
||
}
|
||
|
||
type SCTaLaCurOpPos struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Pos int32 `protobuf:"varint,1,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置
|
||
Card int32 `protobuf:"varint,2,opt,name=Card,proto3" json:"Card,omitempty"` //上家出的牌
|
||
}
|
||
|
||
func (x *SCTaLaCurOpPos) Reset() {
|
||
*x = SCTaLaCurOpPos{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaCurOpPos) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaCurOpPos) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaCurOpPos) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[16]
|
||
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 SCTaLaCurOpPos.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaCurOpPos) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *SCTaLaCurOpPos) GetPos() int32 {
|
||
if x != nil {
|
||
return x.Pos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaCurOpPos) GetCard() int32 {
|
||
if x != nil {
|
||
return x.Card
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SCTaLaUpdateMasterSnid struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
MasterSnid int32 `protobuf:"varint,1,opt,name=MasterSnid,proto3" json:"MasterSnid,omitempty"` //房主
|
||
}
|
||
|
||
func (x *SCTaLaUpdateMasterSnid) Reset() {
|
||
*x = SCTaLaUpdateMasterSnid{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaUpdateMasterSnid) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaUpdateMasterSnid) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaUpdateMasterSnid) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[17]
|
||
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 SCTaLaUpdateMasterSnid.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaUpdateMasterSnid) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *SCTaLaUpdateMasterSnid) GetMasterSnid() int32 {
|
||
if x != nil {
|
||
return x.MasterSnid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SCTaLaUpdateCardsNum struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
CardsNum int32 `protobuf:"varint,1,opt,name=CardsNum,proto3" json:"CardsNum,omitempty"` //桩牌数
|
||
IsLast bool `protobuf:"varint,2,opt,name=IsLast,proto3" json:"IsLast,omitempty"` //最后一轮
|
||
}
|
||
|
||
func (x *SCTaLaUpdateCardsNum) Reset() {
|
||
*x = SCTaLaUpdateCardsNum{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaUpdateCardsNum) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaUpdateCardsNum) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaUpdateCardsNum) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[18]
|
||
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 SCTaLaUpdateCardsNum.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaUpdateCardsNum) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *SCTaLaUpdateCardsNum) GetCardsNum() int32 {
|
||
if x != nil {
|
||
return x.CardsNum
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaUpdateCardsNum) GetIsLast() bool {
|
||
if x != nil {
|
||
return x.IsLast
|
||
}
|
||
return false
|
||
}
|
||
|
||
type SCTaLaMoveCard struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` //移牌的玩家snid
|
||
DstSnid int32 `protobuf:"varint,2,opt,name=DstSnid,proto3" json:"DstSnid,omitempty"` //目标玩家
|
||
Card int32 `protobuf:"varint,3,opt,name=Card,proto3" json:"Card,omitempty"` //移动的牌
|
||
}
|
||
|
||
func (x *SCTaLaMoveCard) Reset() {
|
||
*x = SCTaLaMoveCard{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaMoveCard) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaMoveCard) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaMoveCard) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[19]
|
||
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 SCTaLaMoveCard.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaMoveCard) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *SCTaLaMoveCard) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaMoveCard) GetDstSnid() int32 {
|
||
if x != nil {
|
||
return x.DstSnid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaMoveCard) GetCard() int32 {
|
||
if x != nil {
|
||
return x.Card
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//RecommendPhom
|
||
type SCTaLaRecommendPhom struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
||
Cards []int32 `protobuf:"varint,2,rep,packed,name=cards,proto3" json:"cards,omitempty"`
|
||
}
|
||
|
||
func (x *SCTaLaRecommendPhom) Reset() {
|
||
*x = SCTaLaRecommendPhom{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaRecommendPhom) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaRecommendPhom) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaRecommendPhom) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[20]
|
||
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 SCTaLaRecommendPhom.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaRecommendPhom) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *SCTaLaRecommendPhom) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCTaLaRecommendPhom) GetCards() []int32 {
|
||
if x != nil {
|
||
return x.Cards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//PACKET_SCTaLaFirstOpPos
|
||
type SCTaLaFirstOpPos struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Pos int32 `protobuf:"varint,1,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置
|
||
}
|
||
|
||
func (x *SCTaLaFirstOpPos) Reset() {
|
||
*x = SCTaLaFirstOpPos{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCTaLaFirstOpPos) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCTaLaFirstOpPos) ProtoMessage() {}
|
||
|
||
func (x *SCTaLaFirstOpPos) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_tala_tala_proto_msgTypes[21]
|
||
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 SCTaLaFirstOpPos.ProtoReflect.Descriptor instead.
|
||
func (*SCTaLaFirstOpPos) Descriptor() ([]byte, []int) {
|
||
return file_protocol_tala_tala_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *SCTaLaFirstOpPos) GetPos() int32 {
|
||
if x != nil {
|
||
return x.Pos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_protocol_tala_tala_proto protoreflect.FileDescriptor
|
||
|
||
var file_protocol_tala_tala_proto_rawDesc = []byte{
|
||
0x0a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x74, 0x61, 0x6c, 0x61, 0x2f,
|
||
0x74, 0x61, 0x6c, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x61, 0x6c, 0x61,
|
||
0x22, 0xa3, 0x05, 0x0a, 0x0e, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44,
|
||
0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x48,
|
||
0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x48, 0x65, 0x61, 0x64, 0x12,
|
||
0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, 0x65,
|
||
0x78, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
|
||
0x09, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69,
|
||
0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x10, 0x0a,
|
||
0x03, 0x50, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x12,
|
||
0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x46,
|
||
0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x4c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65,
|
||
0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x4c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64,
|
||
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x0a, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x08, 0x4c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x12, 0x0a,
|
||
0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74,
|
||
0x79, 0x12, 0x16, 0x0a, 0x06, 0x4c, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x06, 0x4c, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x49, 0x50,
|
||
0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x12, 0x20, 0x0a, 0x0b, 0x48,
|
||
0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a,
|
||
0x06, 0x4e, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4e,
|
||
0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x69,
|
||
0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x69,
|
||
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x49, 0x74, 0x65,
|
||
0x6d, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e,
|
||
0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49,
|
||
0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
||
0x12, 0x14, 0x0a, 0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x05, 0x52,
|
||
0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x68, 0x69, 0x43, 0x61, 0x72,
|
||
0x64, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x43, 0x68, 0x69, 0x43, 0x61, 0x72,
|
||
0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x15,
|
||
0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12, 0x21,
|
||
0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
||
0x74, 0x61, 0x6c, 0x61, 0x2e, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x52, 0x05, 0x50, 0x68, 0x6f, 0x6d,
|
||
0x73, 0x12, 0x29, 0x0a, 0x09, 0x43, 0x68, 0x69, 0x32, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x18, 0x17,
|
||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x50, 0x68, 0x6f, 0x6d,
|
||
0x73, 0x52, 0x09, 0x43, 0x68, 0x69, 0x32, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x1a, 0x38, 0x0a, 0x0a,
|
||
0x49, 0x74, 0x65, 0x6d, 0x73, 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, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x0b, 0x4c, 0x61, 0x73, 0x74, 0x44, 0x65,
|
||
0x6c, 0x43, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01,
|
||
0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x22, 0xdb, 0x04, 0x0a, 0x0e,
|
||
0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16,
|
||
0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
||
0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f,
|
||
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
|
||
0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d,
|
||
0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d,
|
||
0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05,
|
||
0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09,
|
||
0x42, 0x61, 0x6e, 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||
0x09, 0x42, 0x61, 0x6e, 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74,
|
||
0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||
0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x07, 0x50, 0x6c,
|
||
0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x61,
|
||
0x6c, 0x61, 0x2e, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74,
|
||
0x61, 0x52, 0x07, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x75,
|
||
0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||
0x0b, 0x41, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08,
|
||
0x43, 0x75, 0x72, 0x4f, 0x70, 0x49, 0x64, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||
0x43, 0x75, 0x72, 0x4f, 0x70, 0x49, 0x64, 0x78, 0x12, 0x35, 0x0a, 0x0c, 0x4c, 0x61, 0x73, 0x74,
|
||
0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11,
|
||
0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72,
|
||
0x64, 0x52, 0x0c, 0x4c, 0x61, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12,
|
||
0x1e, 0x0a, 0x0a, 0x4e, 0x75, 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0d, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x0a, 0x4e, 0x75, 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x12,
|
||
0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18,
|
||
0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x66, 0x47, 0x61,
|
||
0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6e, 0x69,
|
||
0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53,
|
||
0x6e, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65,
|
||
0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x42, 0x61, 0x73, 0x65, 0x53, 0x63, 0x6f, 0x72,
|
||
0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x78, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x75,
|
||
0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x4d, 0x61, 0x78, 0x50, 0x6c, 0x61, 0x79,
|
||
0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75,
|
||
0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75,
|
||
0x6d, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28,
|
||
0x08, 0x52, 0x06, 0x49, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x0f, 0x53, 0x43, 0x54,
|
||
0x61, 0x4c, 0x61, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
||
0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61,
|
||
0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03,
|
||
0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x42, 0x0a, 0x0e, 0x43, 0x53,
|
||
0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06,
|
||
0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4f, 0x70,
|
||
0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18,
|
||
0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x4f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x88,
|
||
0x01, 0x0a, 0x0e, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f,
|
||
0x70, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x70, 0x50,
|
||
0x61, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x4f, 0x70, 0x50, 0x61,
|
||
0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74,
|
||
0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x61, 0x6c,
|
||
0x61, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09,
|
||
0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x53, 0x43, 0x54,
|
||
0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x28,
|
||
0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
|
||
0x61, 0x6c, 0x61, 0x2e, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61,
|
||
0x74, 0x61, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x25, 0x0a, 0x11, 0x53, 0x43, 0x54, 0x61,
|
||
0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x12, 0x10, 0x0a,
|
||
0x03, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x22,
|
||
0xc3, 0x01, 0x0a, 0x14, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x61,
|
||
0x6d, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
||
0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x43, 0x61, 0x72,
|
||
0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20,
|
||
0x01, 0x28, 0x03, 0x52, 0x07, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08,
|
||
0x47, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||
0x47, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x57, 0x69,
|
||
0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x73, 0x57, 0x69, 0x6e, 0x12, 0x12,
|
||
0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x61,
|
||
0x6e, 0x6b, 0x12, 0x21, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
|
||
0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x52, 0x05,
|
||
0x50, 0x68, 0x6f, 0x6d, 0x73, 0x22, 0x44, 0x0a, 0x10, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x47,
|
||
0x61, 0x6d, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x44, 0x61, 0x74,
|
||
0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e,
|
||
0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x61, 0x6d, 0x65, 0x42, 0x69,
|
||
0x6c, 0x6c, 0x65, 0x64, 0x52, 0x05, 0x44, 0x61, 0x74, 0x61, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x15,
|
||
0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x47, 0x61, 0x6d, 0x65, 0x42,
|
||
0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x57, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x57, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x1e, 0x0a,
|
||
0x0a, 0x57, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x03, 0x52, 0x0a, 0x57, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x18, 0x0a,
|
||
0x07, 0x4c, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
||
0x4c, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x6f, 0x73, 0x65, 0x50,
|
||
0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x4c, 0x6f,
|
||
0x73, 0x65, 0x50, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x57, 0x69, 0x6e,
|
||
0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x57, 0x69, 0x6e, 0x43,
|
||
0x6f, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x18,
|
||
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x22,
|
||
0x26, 0x0a, 0x0e, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72,
|
||
0x64, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
|
||
0x52, 0x05, 0x43, 0x61, 0x72, 0x64, 0x73, 0x22, 0x1b, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6d, 0x73,
|
||
0x12, 0x12, 0x0a, 0x04, 0x50, 0x68, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x04,
|
||
0x50, 0x68, 0x6f, 0x6d, 0x22, 0x8f, 0x01, 0x0a, 0x0e, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x53,
|
||
0x68, 0x6f, 0x77, 0x50, 0x68, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x43,
|
||
0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x43, 0x61, 0x72, 0x64,
|
||
0x73, 0x12, 0x21, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
||
0x32, 0x0b, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x50, 0x68, 0x6f, 0x6d, 0x73, 0x52, 0x05, 0x50,
|
||
0x68, 0x6f, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64,
|
||
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x4f,
|
||
0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52,
|
||
0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x0c, 0x4d, 0x61, 0x70, 0x53, 0x6e,
|
||
0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x53, 0x6e, 0x69, 0x64, 0x43,
|
||
0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x61, 0x6c, 0x61,
|
||
0x2e, 0x4d, 0x61, 0x70, 0x53, 0x6e, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x53, 0x6e,
|
||
0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x53, 0x6e, 0x69,
|
||
0x64, 0x43, 0x61, 0x72, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x53, 0x6e, 0x69, 0x64, 0x43, 0x61, 0x72,
|
||
0x64, 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, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
||
0x38, 0x01, 0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x4f, 0x70, 0x50,
|
||
0x68, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x53, 0x6e,
|
||
0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
|
||
0x61, 0x6c, 0x61, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x6e, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73,
|
||
0x52, 0x0b, 0x4d, 0x61, 0x70, 0x53, 0x6e, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a,
|
||
0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
|
||
0x32, 0x12, 0x2e, 0x74, 0x61, 0x6c, 0x61, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
||
0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22,
|
||
0x36, 0x0a, 0x0e, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x43, 0x75, 0x72, 0x4f, 0x70, 0x50, 0x6f,
|
||
0x73, 0x12, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
||
0x50, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x04, 0x43, 0x61, 0x72, 0x64, 0x22, 0x38, 0x0a, 0x16, 0x53, 0x43, 0x54, 0x61, 0x4c,
|
||
0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6e, 0x69,
|
||
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6e, 0x69, 0x64, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6e, 0x69,
|
||
0x64, 0x22, 0x4a, 0x0a, 0x14, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||
0x65, 0x43, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72,
|
||
0x64, 0x73, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x43, 0x61, 0x72,
|
||
0x64, 0x73, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x22, 0x52, 0x0a,
|
||
0x0e, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x4d, 0x6f, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x12,
|
||
0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53,
|
||
0x6e, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x73, 0x74, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x02,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x44, 0x73, 0x74, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||
0x04, 0x43, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x61, 0x72,
|
||
0x64, 0x22, 0x3f, 0x0a, 0x13, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x6d,
|
||
0x6d, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
||
0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x63, 0x61, 0x72,
|
||
0x64, 0x73, 0x22, 0x24, 0x0a, 0x10, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x46, 0x69, 0x72, 0x73,
|
||
0x74, 0x4f, 0x70, 0x50, 0x6f, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x2a, 0x2f, 0x0a, 0x0c, 0x4f, 0x70, 0x52, 0x65,
|
||
0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x52, 0x43,
|
||
0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x52,
|
||
0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x2a, 0xa2, 0x04, 0x0a, 0x0c, 0x54, 0x61,
|
||
0x4c, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x41,
|
||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x54, 0x61, 0x4c, 0x61, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12,
|
||
0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61,
|
||
0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x9a, 0x2b, 0x12, 0x1b, 0x0a, 0x16, 0x50,
|
||
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x52, 0x6f, 0x6f, 0x6d,
|
||
0x53, 0x74, 0x61, 0x74, 0x65, 0x10, 0x9b, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b,
|
||
0x45, 0x54, 0x5f, 0x43, 0x53, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f,
|
||
0x70, 0x10, 0x9c, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
||
0x43, 0x54, 0x61, 0x4c, 0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0x9d, 0x2b,
|
||
0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c,
|
||
0x61, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x10, 0x9e, 0x2b, 0x12,
|
||
0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61,
|
||
0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x10, 0x9f, 0x2b, 0x12, 0x1a,
|
||
0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x48,
|
||
0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x10, 0xa0, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41,
|
||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x53, 0x68, 0x6f, 0x77, 0x50,
|
||
0x68, 0x6f, 0x6d, 0x10, 0xa1, 0x2b, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||
0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x4f, 0x70, 0x50, 0x68, 0x6f, 0x6d, 0x10, 0xa2, 0x2b,
|
||
0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c,
|
||
0x61, 0x47, 0x61, 0x6d, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0xa3, 0x2b, 0x12, 0x1a,
|
||
0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x43,
|
||
0x75, 0x72, 0x4f, 0x70, 0x50, 0x6f, 0x73, 0x10, 0xa4, 0x2b, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41,
|
||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x53, 0x6d, 0x61, 0x6c, 0x6c,
|
||
0x47, 0x61, 0x6d, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0xa5, 0x2b, 0x12, 0x22, 0x0a,
|
||
0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61, 0x55, 0x70,
|
||
0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6e, 0x69, 0x64, 0x10, 0xa6,
|
||
0x2b, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61,
|
||
0x4c, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75, 0x6d,
|
||
0x10, 0xa7, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
|
||
0x54, 0x61, 0x4c, 0x61, 0x4d, 0x6f, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x10, 0xa8, 0x2b, 0x12,
|
||
0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c, 0x61,
|
||
0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6d, 0x10, 0xa9, 0x2b,
|
||
0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x54, 0x61, 0x4c,
|
||
0x61, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4f, 0x70, 0x50, 0x6f, 0x73, 0x10, 0xaa, 0x2b, 0x42, 0x24,
|
||
0x5a, 0x22, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
|
||
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
|
||
0x74, 0x61, 0x6c, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_protocol_tala_tala_proto_rawDescOnce sync.Once
|
||
file_protocol_tala_tala_proto_rawDescData = file_protocol_tala_tala_proto_rawDesc
|
||
)
|
||
|
||
func file_protocol_tala_tala_proto_rawDescGZIP() []byte {
|
||
file_protocol_tala_tala_proto_rawDescOnce.Do(func() {
|
||
file_protocol_tala_tala_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_tala_tala_proto_rawDescData)
|
||
})
|
||
return file_protocol_tala_tala_proto_rawDescData
|
||
}
|
||
|
||
var file_protocol_tala_tala_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||
var file_protocol_tala_tala_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||
var file_protocol_tala_tala_proto_goTypes = []interface{}{
|
||
(OpResultCode)(0), // 0: tala.OpResultCode
|
||
(TaLaPacketID)(0), // 1: tala.TaLaPacketID
|
||
(*TaLaPlayerData)(nil), // 2: tala.TaLaPlayerData
|
||
(*LastDelCard)(nil), // 3: tala.LastDelCard
|
||
(*SCTaLaRoomInfo)(nil), // 4: tala.SCTaLaRoomInfo
|
||
(*SCTaLaRoomState)(nil), // 5: tala.SCTaLaRoomState
|
||
(*CSTaLaPlayerOp)(nil), // 6: tala.CSTaLaPlayerOp
|
||
(*SCTaLaPlayerOp)(nil), // 7: tala.SCTaLaPlayerOp
|
||
(*SCTaLaPlayerEnter)(nil), // 8: tala.SCTaLaPlayerEnter
|
||
(*SCTaLaPlayerLeave)(nil), // 9: tala.SCTaLaPlayerLeave
|
||
(*TaLaPlayerGameBilled)(nil), // 10: tala.TaLaPlayerGameBilled
|
||
(*SCTaLaGameBilled)(nil), // 11: tala.SCTaLaGameBilled
|
||
(*SCTaLaSmallGameBilled)(nil), // 12: tala.SCTaLaSmallGameBilled
|
||
(*SCTaLaHandCard)(nil), // 13: tala.SCTaLaHandCard
|
||
(*Phoms)(nil), // 14: tala.Phoms
|
||
(*SCTaLaShowPhom)(nil), // 15: tala.SCTaLaShowPhom
|
||
(*MapSnidCards)(nil), // 16: tala.MapSnidCards
|
||
(*SCTaLaOpPhom)(nil), // 17: tala.SCTaLaOpPhom
|
||
(*SCTaLaCurOpPos)(nil), // 18: tala.SCTaLaCurOpPos
|
||
(*SCTaLaUpdateMasterSnid)(nil), // 19: tala.SCTaLaUpdateMasterSnid
|
||
(*SCTaLaUpdateCardsNum)(nil), // 20: tala.SCTaLaUpdateCardsNum
|
||
(*SCTaLaMoveCard)(nil), // 21: tala.SCTaLaMoveCard
|
||
(*SCTaLaRecommendPhom)(nil), // 22: tala.SCTaLaRecommendPhom
|
||
(*SCTaLaFirstOpPos)(nil), // 23: tala.SCTaLaFirstOpPos
|
||
nil, // 24: tala.TaLaPlayerData.ItemsEntry
|
||
nil, // 25: tala.MapSnidCards.SnidCardEntry
|
||
}
|
||
var file_protocol_tala_tala_proto_depIdxs = []int32{
|
||
24, // 0: tala.TaLaPlayerData.Items:type_name -> tala.TaLaPlayerData.ItemsEntry
|
||
14, // 1: tala.TaLaPlayerData.Phoms:type_name -> tala.Phoms
|
||
14, // 2: tala.TaLaPlayerData.Chi2Phoms:type_name -> tala.Phoms
|
||
2, // 3: tala.SCTaLaRoomInfo.Players:type_name -> tala.TaLaPlayerData
|
||
3, // 4: tala.SCTaLaRoomInfo.LastDelCards:type_name -> tala.LastDelCard
|
||
0, // 5: tala.SCTaLaPlayerOp.OpRetCode:type_name -> tala.OpResultCode
|
||
2, // 6: tala.SCTaLaPlayerEnter.Data:type_name -> tala.TaLaPlayerData
|
||
14, // 7: tala.TaLaPlayerGameBilled.Phoms:type_name -> tala.Phoms
|
||
10, // 8: tala.SCTaLaGameBilled.Datas:type_name -> tala.TaLaPlayerGameBilled
|
||
14, // 9: tala.SCTaLaShowPhom.Phoms:type_name -> tala.Phoms
|
||
0, // 10: tala.SCTaLaShowPhom.OpRetCode:type_name -> tala.OpResultCode
|
||
25, // 11: tala.MapSnidCards.SnidCard:type_name -> tala.MapSnidCards.SnidCardEntry
|
||
16, // 12: tala.SCTaLaOpPhom.MapSnidCard:type_name -> tala.MapSnidCards
|
||
0, // 13: tala.SCTaLaOpPhom.OpRetCode:type_name -> tala.OpResultCode
|
||
14, // [14:14] is the sub-list for method output_type
|
||
14, // [14:14] is the sub-list for method input_type
|
||
14, // [14:14] is the sub-list for extension type_name
|
||
14, // [14:14] is the sub-list for extension extendee
|
||
0, // [0:14] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_protocol_tala_tala_proto_init() }
|
||
func file_protocol_tala_tala_proto_init() {
|
||
if File_protocol_tala_tala_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_protocol_tala_tala_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TaLaPlayerData); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*LastDelCard); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaRoomInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaRoomState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSTaLaPlayerOp); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaPlayerOp); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaPlayerEnter); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaPlayerLeave); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TaLaPlayerGameBilled); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaGameBilled); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaSmallGameBilled); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaHandCard); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Phoms); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaShowPhom); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MapSnidCards); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaOpPhom); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaCurOpPos); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaUpdateMasterSnid); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaUpdateCardsNum); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaMoveCard); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaRecommendPhom); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_tala_tala_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCTaLaFirstOpPos); 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_protocol_tala_tala_proto_rawDesc,
|
||
NumEnums: 2,
|
||
NumMessages: 24,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_protocol_tala_tala_proto_goTypes,
|
||
DependencyIndexes: file_protocol_tala_tala_proto_depIdxs,
|
||
EnumInfos: file_protocol_tala_tala_proto_enumTypes,
|
||
MessageInfos: file_protocol_tala_tala_proto_msgTypes,
|
||
}.Build()
|
||
File_protocol_tala_tala_proto = out.File
|
||
file_protocol_tala_tala_proto_rawDesc = nil
|
||
file_protocol_tala_tala_proto_goTypes = nil
|
||
file_protocol_tala_tala_proto_depIdxs = nil
|
||
}
|