tests

package
v2.10.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MSGID_name = map[int32]string{
		0:     "MsgID_Min",
		20000: "MsgID_ConnClose_Notice",
		20001: "MsgID_Logon_Request",
		20002: "MsgID_Logon_Response",
		20003: "MsgID_HeartBeat_Request",
		20004: "MsgID_HeartBeat_Response",
		20005: "MsgID_JoinRoom_Request",
		20006: "MsgID_JoinRoom_Response",
		20007: "MsgID_LeaveRoom_Request",
		20008: "MsgID_LeaveRoom_Response",
		20009: "MsgID_Login_Player_JoinRoom_Notice",
		20010: "MsgID_Betting_Request",
		20011: "MsgID_Betting_Response",
		20012: "MsgID_RoomBetting_Notice",
		20013: "MsgID_RoomSettle_Notice",
		20014: "MsgID_RoomSituation_Request",
		20015: "MsgID_RoomSituation_Response",
		20016: "MsgID_RoomSituation_Notice",
		20017: "MsgID_TableBetting_Notice",
		20018: "MsgID_RoomPlayerList_Request",
		20019: "MsgID_RoomPlayerList_Response",
		20020: "MsgID_UserStakeChange_Notice",
		20021: "MsgID_RoomOnlineList_Request",
		20022: "MsgID_RoomOnlineList_Response",
		20023: "MsgID_RoomStatistic_Request",
		20024: "MsgID_RoomStatistic_Response",
		20025: "MsgID_UserStanding_Request",
		20026: "MsgID_UserStanding_Response",
		20027: "MsgID_UserKickOut_Notice",
		20028: "MsgID_UserStakeLeft_Request",
		20029: "MsgID_UserStakeLeft_Response",
		20030: "MsgID_LeaveRoom_Notice",
		20031: "MsgID_BettingThrow_Request",
		20032: "MsgID_BettingThrow_Response",
	}
	MSGID_value = map[string]int32{
		"MsgID_Min":                          0,
		"MsgID_ConnClose_Notice":             20000,
		"MsgID_Logon_Request":                20001,
		"MsgID_Logon_Response":               20002,
		"MsgID_HeartBeat_Request":            20003,
		"MsgID_HeartBeat_Response":           20004,
		"MsgID_JoinRoom_Request":             20005,
		"MsgID_JoinRoom_Response":            20006,
		"MsgID_LeaveRoom_Request":            20007,
		"MsgID_LeaveRoom_Response":           20008,
		"MsgID_Login_Player_JoinRoom_Notice": 20009,
		"MsgID_Betting_Request":              20010,
		"MsgID_Betting_Response":             20011,
		"MsgID_RoomBetting_Notice":           20012,
		"MsgID_RoomSettle_Notice":            20013,
		"MsgID_RoomSituation_Request":        20014,
		"MsgID_RoomSituation_Response":       20015,
		"MsgID_RoomSituation_Notice":         20016,
		"MsgID_TableBetting_Notice":          20017,
		"MsgID_RoomPlayerList_Request":       20018,
		"MsgID_RoomPlayerList_Response":      20019,
		"MsgID_UserStakeChange_Notice":       20020,
		"MsgID_RoomOnlineList_Request":       20021,
		"MsgID_RoomOnlineList_Response":      20022,
		"MsgID_RoomStatistic_Request":        20023,
		"MsgID_RoomStatistic_Response":       20024,
		"MsgID_UserStanding_Request":         20025,
		"MsgID_UserStanding_Response":        20026,
		"MsgID_UserKickOut_Notice":           20027,
		"MsgID_UserStakeLeft_Request":        20028,
		"MsgID_UserStakeLeft_Response":       20029,
		"MsgID_LeaveRoom_Notice":             20030,
		"MsgID_BettingThrow_Request":         20031,
		"MsgID_BettingThrow_Response":        20032,
	}
)

Enum value maps for MSGID.

View Source
var (
	RoomStateType_name = map[int32]string{
		0: "EnumNotStarted",
		1: "EnumWaiting",
		2: "EnumBetting",
		3: "EnumShowCard",
	}
	RoomStateType_value = map[string]int32{
		"EnumNotStarted": 0,
		"EnumWaiting":    1,
		"EnumBetting":    2,
		"EnumShowCard":   3,
	}
)

Enum value maps for RoomStateType.

View Source
var (
	TableBettingType_name = map[int32]string{
		0:  "EnumNone",
		1:  "EnumCowboyWin",
		2:  "EnumBullWin",
		3:  "EnumBreakEven",
		4:  "EnumWinOne",
		5:  "EnumWinTwo",
		6:  "EnumWinThree",
		7:  "EnumWinFour",
		8:  "EnumWinFive",
		9:  "EnumHandOne",
		10: "EnumHandTwo",
		11: "EnumHandThree",
		12: "EnumBullPair",
	}
	TableBettingType_value = map[string]int32{
		"EnumNone":      0,
		"EnumCowboyWin": 1,
		"EnumBullWin":   2,
		"EnumBreakEven": 3,
		"EnumWinOne":    4,
		"EnumWinTwo":    5,
		"EnumWinThree":  6,
		"EnumWinFour":   7,
		"EnumWinFive":   8,
		"EnumHandOne":   9,
		"EnumHandTwo":   10,
		"EnumHandThree": 11,
		"EnumBullPair":  12,
	}
)

Enum value maps for TableBettingType.

View Source
var (
	TableCardType_name = map[int32]string{
		0:  "CardNone",
		1:  "CardHigh",
		2:  "CardPair",
		3:  "CardPairTwo",
		4:  "CardThreeKind",
		5:  "CardStraight",
		6:  "CardSameColor",
		7:  "CardGourd",
		8:  "CardFourKind",
		9:  "CardStraightFlush",
		10: "CardRoyalStraightFlush",
	}
	TableCardType_value = map[string]int32{
		"CardNone":               0,
		"CardHigh":               1,
		"CardPair":               2,
		"CardPairTwo":            3,
		"CardThreeKind":          4,
		"CardStraight":           5,
		"CardSameColor":          6,
		"CardGourd":              7,
		"CardFourKind":           8,
		"CardStraightFlush":      9,
		"CardRoyalStraightFlush": 10,
	}
)

Enum value maps for TableCardType.

View Source
var (
	RoomUserType_name = map[int32]string{
		0: "UserOther",
		1: "UserSelf",
		2: "UserBigWin",
		3: "UserGodOperator",
	}
	RoomUserType_value = map[string]int32{
		"UserOther":       0,
		"UserSelf":        1,
		"UserBigWin":      2,
		"UserGodOperator": 3,
	}
)

Enum value maps for RoomUserType.

Functions

This section is empty.

Types

type CardItem

type CardItem struct {
	Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Suit   int32 `protobuf:"varint,2,opt,name=suit,proto3" json:"suit,omitempty"`
	IsWin  bool  `protobuf:"varint,3,opt,name=is_win,json=isWin,proto3" json:"is_win,omitempty"` //是否属于赢牌 0-否 1-是
	// contains filtered or unexported fields
}

func (*CardItem) Descriptor deprecated

func (*CardItem) Descriptor() ([]byte, []int)

Deprecated: Use CardItem.ProtoReflect.Descriptor instead.

func (*CardItem) GetIsWin

func (x *CardItem) GetIsWin() bool

func (*CardItem) GetNumber

func (x *CardItem) GetNumber() int32

func (*CardItem) GetSuit

func (x *CardItem) GetSuit() int32

func (*CardItem) ProtoMessage

func (*CardItem) ProtoMessage()

func (*CardItem) ProtoReflect

func (x *CardItem) ProtoReflect() protoreflect.Message

func (*CardItem) Reset

func (x *CardItem) Reset()

func (*CardItem) String

func (x *CardItem) String() string

type MSGID

type MSGID int32
const (
	MSGID_MsgID_Min                          MSGID = 0
	MSGID_MsgID_ConnClose_Notice             MSGID = 20000
	MSGID_MsgID_Logon_Request                MSGID = 20001
	MSGID_MsgID_Logon_Response               MSGID = 20002
	MSGID_MsgID_HeartBeat_Request            MSGID = 20003
	MSGID_MsgID_HeartBeat_Response           MSGID = 20004
	MSGID_MsgID_JoinRoom_Request             MSGID = 20005
	MSGID_MsgID_JoinRoom_Response            MSGID = 20006
	MSGID_MsgID_LeaveRoom_Request            MSGID = 20007
	MSGID_MsgID_LeaveRoom_Response           MSGID = 20008
	MSGID_MsgID_Login_Player_JoinRoom_Notice MSGID = 20009
	MSGID_MsgID_Betting_Request              MSGID = 20010
	MSGID_MsgID_Betting_Response             MSGID = 20011
	MSGID_MsgID_RoomBetting_Notice           MSGID = 20012
	MSGID_MsgID_RoomSettle_Notice            MSGID = 20013
	MSGID_MsgID_RoomSituation_Request        MSGID = 20014
	MSGID_MsgID_RoomSituation_Response       MSGID = 20015
	MSGID_MsgID_RoomSituation_Notice         MSGID = 20016
	MSGID_MsgID_TableBetting_Notice          MSGID = 20017
	MSGID_MsgID_RoomPlayerList_Request       MSGID = 20018
	MSGID_MsgID_RoomPlayerList_Response      MSGID = 20019
	MSGID_MsgID_UserStakeChange_Notice       MSGID = 20020
	MSGID_MsgID_RoomOnlineList_Request       MSGID = 20021
	MSGID_MsgID_RoomOnlineList_Response      MSGID = 20022
	MSGID_MsgID_RoomStatistic_Request        MSGID = 20023
	MSGID_MsgID_RoomStatistic_Response       MSGID = 20024
	MSGID_MsgID_UserStanding_Request         MSGID = 20025
	MSGID_MsgID_UserStanding_Response        MSGID = 20026
	MSGID_MsgID_UserKickOut_Notice           MSGID = 20027
	MSGID_MsgID_UserStakeLeft_Request        MSGID = 20028
	MSGID_MsgID_UserStakeLeft_Response       MSGID = 20029
	MSGID_MsgID_LeaveRoom_Notice             MSGID = 20030
	MSGID_MsgID_BettingThrow_Request         MSGID = 20031 //续投
	MSGID_MsgID_BettingThrow_Response        MSGID = 20032
)

func (MSGID) Descriptor

func (MSGID) Descriptor() protoreflect.EnumDescriptor

func (MSGID) Enum

func (x MSGID) Enum() *MSGID

func (MSGID) EnumDescriptor deprecated

func (MSGID) EnumDescriptor() ([]byte, []int)

Deprecated: Use MSGID.Descriptor instead.

func (MSGID) Number

func (x MSGID) Number() protoreflect.EnumNumber

func (MSGID) String

func (x MSGID) String() string

func (MSGID) Type

func (MSGID) Type() protoreflect.EnumType

type NoticeConnectionClose

type NoticeConnectionClose struct {
	Reason int32 `protobuf:"varint,1,opt,name=Reason,proto3" json:"Reason,omitempty"` //1=client close; 2=time out; 3=broken; 4=other
	// contains filtered or unexported fields
}

func (*NoticeConnectionClose) Descriptor deprecated

func (*NoticeConnectionClose) Descriptor() ([]byte, []int)

Deprecated: Use NoticeConnectionClose.ProtoReflect.Descriptor instead.

func (*NoticeConnectionClose) GetReason

func (x *NoticeConnectionClose) GetReason() int32

func (*NoticeConnectionClose) ProtoMessage

func (*NoticeConnectionClose) ProtoMessage()

func (*NoticeConnectionClose) ProtoReflect

func (x *NoticeConnectionClose) ProtoReflect() protoreflect.Message

func (*NoticeConnectionClose) Reset

func (x *NoticeConnectionClose) Reset()

func (*NoticeConnectionClose) String

func (x *NoticeConnectionClose) String() string

type NoticeLeaveRoom

type NoticeLeaveRoom struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*NoticeLeaveRoom) Descriptor deprecated

func (*NoticeLeaveRoom) Descriptor() ([]byte, []int)

Deprecated: Use NoticeLeaveRoom.ProtoReflect.Descriptor instead.

func (*NoticeLeaveRoom) GetRoomid

func (x *NoticeLeaveRoom) GetRoomid() int32

func (*NoticeLeaveRoom) ProtoMessage

func (*NoticeLeaveRoom) ProtoMessage()

func (*NoticeLeaveRoom) ProtoReflect

func (x *NoticeLeaveRoom) ProtoReflect() protoreflect.Message

func (*NoticeLeaveRoom) Reset

func (x *NoticeLeaveRoom) Reset()

func (*NoticeLeaveRoom) String

func (x *NoticeLeaveRoom) String() string

type NoticeLoginPlayerJoinRoom

type NoticeLoginPlayerJoinRoom struct {
	Roomid        int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	AntiSimulator bool  `protobuf:"varint,2,opt,name=anti_simulator,json=antiSimulator,proto3" json:"anti_simulator,omitempty"`
	// contains filtered or unexported fields
}

func (*NoticeLoginPlayerJoinRoom) Descriptor deprecated

func (*NoticeLoginPlayerJoinRoom) Descriptor() ([]byte, []int)

Deprecated: Use NoticeLoginPlayerJoinRoom.ProtoReflect.Descriptor instead.

func (*NoticeLoginPlayerJoinRoom) GetAntiSimulator

func (x *NoticeLoginPlayerJoinRoom) GetAntiSimulator() bool

func (*NoticeLoginPlayerJoinRoom) GetRoomid

func (x *NoticeLoginPlayerJoinRoom) GetRoomid() int32

func (*NoticeLoginPlayerJoinRoom) ProtoMessage

func (*NoticeLoginPlayerJoinRoom) ProtoMessage()

func (*NoticeLoginPlayerJoinRoom) ProtoReflect

func (*NoticeLoginPlayerJoinRoom) Reset

func (x *NoticeLoginPlayerJoinRoom) Reset()

func (*NoticeLoginPlayerJoinRoom) String

func (x *NoticeLoginPlayerJoinRoom) String() string

type NoticeRoomBetting

type NoticeRoomBetting struct {
	Roomid             int32         `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	BigWinPlayer       []*PlayerInfo `protobuf:"bytes,2,rep,name=big_win_player,json=bigWinPlayer,proto3" json:"big_win_player,omitempty"`                    //大赢家用户
	GodOperator        []*PlayerInfo `protobuf:"bytes,3,rep,name=god_operator,json=godOperator,proto3" json:"god_operator,omitempty"`                         //神算子用户
	CowboyBettingLimit int32         `protobuf:"varint,4,opt,name=cowboy_betting_limit,json=cowboyBettingLimit,proto3" json:"cowboy_betting_limit,omitempty"` //牛仔胜单元倍投限制 0-不限制
	BullBettingLimit   int32         `protobuf:"varint,5,opt,name=bull_betting_limit,json=bullBettingLimit,proto3" json:"bull_betting_limit,omitempty"`       //公牛胜单元倍投限制 0-不限制
	CanBettingThrow    bool          `protobuf:"varint,6,opt,name=can_betting_throw,json=canBettingThrow,proto3" json:"can_betting_throw,omitempty"`          //能否续投
	// contains filtered or unexported fields
}

func (*NoticeRoomBetting) Descriptor deprecated

func (*NoticeRoomBetting) Descriptor() ([]byte, []int)

Deprecated: Use NoticeRoomBetting.ProtoReflect.Descriptor instead.

func (*NoticeRoomBetting) GetBigWinPlayer

func (x *NoticeRoomBetting) GetBigWinPlayer() []*PlayerInfo

func (*NoticeRoomBetting) GetBullBettingLimit

func (x *NoticeRoomBetting) GetBullBettingLimit() int32

func (*NoticeRoomBetting) GetCanBettingThrow

func (x *NoticeRoomBetting) GetCanBettingThrow() bool

func (*NoticeRoomBetting) GetCowboyBettingLimit

func (x *NoticeRoomBetting) GetCowboyBettingLimit() int32

func (*NoticeRoomBetting) GetGodOperator

func (x *NoticeRoomBetting) GetGodOperator() []*PlayerInfo

func (*NoticeRoomBetting) GetRoomid

func (x *NoticeRoomBetting) GetRoomid() int32

func (*NoticeRoomBetting) ProtoMessage

func (*NoticeRoomBetting) ProtoMessage()

func (*NoticeRoomBetting) ProtoReflect

func (x *NoticeRoomBetting) ProtoReflect() protoreflect.Message

func (*NoticeRoomBetting) Reset

func (x *NoticeRoomBetting) Reset()

func (*NoticeRoomBetting) String

func (x *NoticeRoomBetting) String() string

type NoticeRoomSettle

type NoticeRoomSettle struct {
	Roomid             int32              `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	Uuid               uint64             `protobuf:"varint,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	BigWinSettles      []*PlayerSettle    `protobuf:"bytes,3,rep,name=big_win_settles,json=bigWinSettles,proto3" json:"big_win_settles,omitempty"`
	GodOperatorSettles []*PlayerSettle    `protobuf:"bytes,4,rep,name=god_operator_settles,json=godOperatorSettles,proto3" json:"god_operator_settles,omitempty"`
	SelfSettle         *PlayerSettle      `protobuf:"bytes,5,opt,name=self_settle,json=selfSettle,proto3" json:"self_settle,omitempty"`
	OtherSettle        *PlayerSettle      `protobuf:"bytes,6,opt,name=other_settle,json=otherSettle,proto3" json:"other_settle,omitempty"`
	SelfInRank         bool               `protobuf:"varint,7,opt,name=self_in_rank,json=selfInRank,proto3" json:"self_in_rank,omitempty"` //自己是否在排行结算中-富豪榜或者神算子中,不在包含在other_settle,other_settle=other_settle-self_settle
	Winner             int32              `protobuf:"varint,8,opt,name=winner,proto3" json:"winner,omitempty"`                             //获胜方 0-无结果 1-牛仔胜 2-公牛胜 3-平手
	WinBettingType     []TableBettingType ``                                                                                               //获胜押注单元
	/* 144-byte string literal not displayed */
	CowboyCardType TableCardType `` //牛仔牌型
	/* 135-byte string literal not displayed */
	BullCardType TableCardType `` //公牛牌型
	/* 129-byte string literal not displayed */
	CardItems *TableCardsItems `protobuf:"bytes,12,opt,name=card_items,json=cardItems,proto3" json:"card_items,omitempty"` //发牌信息
	// contains filtered or unexported fields
}

func (*NoticeRoomSettle) Descriptor deprecated

func (*NoticeRoomSettle) Descriptor() ([]byte, []int)

Deprecated: Use NoticeRoomSettle.ProtoReflect.Descriptor instead.

func (*NoticeRoomSettle) GetBigWinSettles

func (x *NoticeRoomSettle) GetBigWinSettles() []*PlayerSettle

func (*NoticeRoomSettle) GetBullCardType

func (x *NoticeRoomSettle) GetBullCardType() TableCardType

func (*NoticeRoomSettle) GetCardItems

func (x *NoticeRoomSettle) GetCardItems() *TableCardsItems

func (*NoticeRoomSettle) GetCowboyCardType

func (x *NoticeRoomSettle) GetCowboyCardType() TableCardType

func (*NoticeRoomSettle) GetGodOperatorSettles

func (x *NoticeRoomSettle) GetGodOperatorSettles() []*PlayerSettle

func (*NoticeRoomSettle) GetOtherSettle

func (x *NoticeRoomSettle) GetOtherSettle() *PlayerSettle

func (*NoticeRoomSettle) GetRoomid

func (x *NoticeRoomSettle) GetRoomid() int32

func (*NoticeRoomSettle) GetSelfInRank

func (x *NoticeRoomSettle) GetSelfInRank() bool

func (*NoticeRoomSettle) GetSelfSettle

func (x *NoticeRoomSettle) GetSelfSettle() *PlayerSettle

func (*NoticeRoomSettle) GetUuid

func (x *NoticeRoomSettle) GetUuid() uint64

func (*NoticeRoomSettle) GetWinBettingType

func (x *NoticeRoomSettle) GetWinBettingType() []TableBettingType

func (*NoticeRoomSettle) GetWinner

func (x *NoticeRoomSettle) GetWinner() int32

func (*NoticeRoomSettle) ProtoMessage

func (*NoticeRoomSettle) ProtoMessage()

func (*NoticeRoomSettle) ProtoReflect

func (x *NoticeRoomSettle) ProtoReflect() protoreflect.Message

func (*NoticeRoomSettle) Reset

func (x *NoticeRoomSettle) Reset()

func (*NoticeRoomSettle) String

func (x *NoticeRoomSettle) String() string

type NoticeRoomSituation

type NoticeRoomSituation struct {
	Roomid         int32               `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	State          RoomStateType       `protobuf:"varint,2,opt,name=state,proto3,enum=protocol.RoomStateType" json:"state,omitempty"`
	BettingList    []*TableBettingUnit `protobuf:"bytes,3,rep,name=betting_list,json=bettingList,proto3" json:"betting_list,omitempty"`
	CardItems      *TableCardsItems    `protobuf:"bytes,4,opt,name=card_items,json=cardItems,proto3" json:"card_items,omitempty"`        //发牌信息
	TimeSeconds    *RoomTimeSeconds    `protobuf:"bytes,5,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`  //时间规则
	NextSeconds    int64               `protobuf:"varint,6,opt,name=next_seconds,json=nextSeconds,proto3" json:"next_seconds,omitempty"` //距离下个操作剩余时间,单位s
	Winner         int32               `protobuf:"varint,7,opt,name=winner,proto3" json:"winner,omitempty"`                              //获胜方 0-无结果 1-牛仔胜 2-公牛胜 3-平手
	CowboyCardType TableCardType       ``                                                                                                //牛仔牌型
	/* 134-byte string literal not displayed */
	BullCardType TableCardType `` //公牛牌型
	/* 128-byte string literal not displayed */
	WinBettingType []TableBettingType `` //获胜押注单元
	/* 145-byte string literal not displayed */
	BigWinPlayer       []*PlayerInfo   `protobuf:"bytes,11,rep,name=big_win_player,json=bigWinPlayer,proto3" json:"big_win_player,omitempty"` //大赢家用户
	GodOperator        []*PlayerInfo   `protobuf:"bytes,12,rep,name=god_operator,json=godOperator,proto3" json:"god_operator,omitempty"`      //神算子用户
	SelfInfo           *PlayerInfo     `protobuf:"bytes,13,opt,name=self_info,json=selfInfo,proto3" json:"self_info,omitempty"`               //用户自己信息
	BigWinSettles      []*PlayerSettle `protobuf:"bytes,14,rep,name=big_win_settles,json=bigWinSettles,proto3" json:"big_win_settles,omitempty"`
	GodOperatorSettles []*PlayerSettle `protobuf:"bytes,15,rep,name=god_operator_settles,json=godOperatorSettles,proto3" json:"god_operator_settles,omitempty"`
	SelfSettle         *PlayerSettle   `protobuf:"bytes,16,opt,name=self_settle,json=selfSettle,proto3" json:"self_settle,omitempty"`
	OtherSettle        *PlayerSettle   `protobuf:"bytes,17,opt,name=other_settle,json=otherSettle,proto3" json:"other_settle,omitempty"`
	TopList            []int32         `protobuf:"varint,18,rep,packed,name=top_list,json=topList,proto3" json:"top_list,omitempty"`                    //顶部数据-12条
	BaseScore          int32           `protobuf:"varint,19,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`                     //底分
	BullPairCancel     bool            `protobuf:"varint,20,opt,name=bull_pair_cancel,json=bullPairCancel,proto3" json:"bull_pair_cancel,omitempty"`    //是否取消对2赔率
	CanBettingThrow    bool            `protobuf:"varint,21,opt,name=can_betting_throw,json=canBettingThrow,proto3" json:"can_betting_throw,omitempty"` //能否续投
	MaxBetDownTen      int32           `protobuf:"varint,22,opt,name=max_bet_down_ten,json=maxBetDownTen,proto3" json:"max_bet_down_ten,omitempty"`     //10倍以下单元下注限额
	MaxBetUpTen        int32           `protobuf:"varint,23,opt,name=max_bet_up_ten,json=maxBetUpTen,proto3" json:"max_bet_up_ten,omitempty"`           //10倍及以上单元下注限额
	// contains filtered or unexported fields
}

func (*NoticeRoomSituation) Descriptor deprecated

func (*NoticeRoomSituation) Descriptor() ([]byte, []int)

Deprecated: Use NoticeRoomSituation.ProtoReflect.Descriptor instead.

func (*NoticeRoomSituation) GetBaseScore

func (x *NoticeRoomSituation) GetBaseScore() int32

func (*NoticeRoomSituation) GetBettingList

func (x *NoticeRoomSituation) GetBettingList() []*TableBettingUnit

func (*NoticeRoomSituation) GetBigWinPlayer

func (x *NoticeRoomSituation) GetBigWinPlayer() []*PlayerInfo

func (*NoticeRoomSituation) GetBigWinSettles

func (x *NoticeRoomSituation) GetBigWinSettles() []*PlayerSettle

func (*NoticeRoomSituation) GetBullCardType

func (x *NoticeRoomSituation) GetBullCardType() TableCardType

func (*NoticeRoomSituation) GetBullPairCancel

func (x *NoticeRoomSituation) GetBullPairCancel() bool

func (*NoticeRoomSituation) GetCanBettingThrow

func (x *NoticeRoomSituation) GetCanBettingThrow() bool

func (*NoticeRoomSituation) GetCardItems

func (x *NoticeRoomSituation) GetCardItems() *TableCardsItems

func (*NoticeRoomSituation) GetCowboyCardType

func (x *NoticeRoomSituation) GetCowboyCardType() TableCardType

func (*NoticeRoomSituation) GetGodOperator

func (x *NoticeRoomSituation) GetGodOperator() []*PlayerInfo

func (*NoticeRoomSituation) GetGodOperatorSettles

func (x *NoticeRoomSituation) GetGodOperatorSettles() []*PlayerSettle

func (*NoticeRoomSituation) GetMaxBetDownTen

func (x *NoticeRoomSituation) GetMaxBetDownTen() int32

func (*NoticeRoomSituation) GetMaxBetUpTen

func (x *NoticeRoomSituation) GetMaxBetUpTen() int32

func (*NoticeRoomSituation) GetNextSeconds

func (x *NoticeRoomSituation) GetNextSeconds() int64

func (*NoticeRoomSituation) GetOtherSettle

func (x *NoticeRoomSituation) GetOtherSettle() *PlayerSettle

func (*NoticeRoomSituation) GetRoomid

func (x *NoticeRoomSituation) GetRoomid() int32

func (*NoticeRoomSituation) GetSelfInfo

func (x *NoticeRoomSituation) GetSelfInfo() *PlayerInfo

func (*NoticeRoomSituation) GetSelfSettle

func (x *NoticeRoomSituation) GetSelfSettle() *PlayerSettle

func (*NoticeRoomSituation) GetState

func (x *NoticeRoomSituation) GetState() RoomStateType

func (*NoticeRoomSituation) GetTimeSeconds

func (x *NoticeRoomSituation) GetTimeSeconds() *RoomTimeSeconds

func (*NoticeRoomSituation) GetTopList

func (x *NoticeRoomSituation) GetTopList() []int32

func (*NoticeRoomSituation) GetWinBettingType

func (x *NoticeRoomSituation) GetWinBettingType() []TableBettingType

func (*NoticeRoomSituation) GetWinner

func (x *NoticeRoomSituation) GetWinner() int32

func (*NoticeRoomSituation) ProtoMessage

func (*NoticeRoomSituation) ProtoMessage()

func (*NoticeRoomSituation) ProtoReflect

func (x *NoticeRoomSituation) ProtoReflect() protoreflect.Message

func (*NoticeRoomSituation) Reset

func (x *NoticeRoomSituation) Reset()

func (*NoticeRoomSituation) String

func (x *NoticeRoomSituation) String() string

type NoticeTableBetting

type NoticeTableBetting struct {
	Roomid          int32               `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	BigWinList      []*TableBettingItem `protobuf:"bytes,2,rep,name=big_win_list,json=bigWinList,proto3" json:"big_win_list,omitempty"`                //大赢家下注列表
	GodOperatorList []*TableBettingItem `protobuf:"bytes,3,rep,name=god_operator_list,json=godOperatorList,proto3" json:"god_operator_list,omitempty"` //神算子下注列表
	OtherList       []*TableBettingItem `protobuf:"bytes,4,rep,name=other_list,json=otherList,proto3" json:"other_list,omitempty"`                     //其他人下注列表
	OtherTotal      int32               `protobuf:"varint,5,opt,name=other_total,json=otherTotal,proto3" json:"other_total,omitempty"`                 //其他人总下注额
	SelfInRank      bool                `protobuf:"varint,6,opt,name=self_in_rank,json=selfInRank,proto3" json:"self_in_rank,omitempty"`               //自己是否在排行列表-富豪榜或者神算子中,不在包含在other_list
	SelfList        *TableBettingItem   `protobuf:"bytes,7,opt,name=self_list,json=selfList,proto3" json:"self_list,omitempty"`                        //用户自己下注列表
	// contains filtered or unexported fields
}

func (*NoticeTableBetting) Descriptor deprecated

func (*NoticeTableBetting) Descriptor() ([]byte, []int)

Deprecated: Use NoticeTableBetting.ProtoReflect.Descriptor instead.

func (*NoticeTableBetting) GetBigWinList

func (x *NoticeTableBetting) GetBigWinList() []*TableBettingItem

func (*NoticeTableBetting) GetGodOperatorList

func (x *NoticeTableBetting) GetGodOperatorList() []*TableBettingItem

func (*NoticeTableBetting) GetOtherList

func (x *NoticeTableBetting) GetOtherList() []*TableBettingItem

func (*NoticeTableBetting) GetOtherTotal

func (x *NoticeTableBetting) GetOtherTotal() int32

func (*NoticeTableBetting) GetRoomid

func (x *NoticeTableBetting) GetRoomid() int32

func (*NoticeTableBetting) GetSelfInRank

func (x *NoticeTableBetting) GetSelfInRank() bool

func (*NoticeTableBetting) GetSelfList

func (x *NoticeTableBetting) GetSelfList() *TableBettingItem

func (*NoticeTableBetting) ProtoMessage

func (*NoticeTableBetting) ProtoMessage()

func (*NoticeTableBetting) ProtoReflect

func (x *NoticeTableBetting) ProtoReflect() protoreflect.Message

func (*NoticeTableBetting) Reset

func (x *NoticeTableBetting) Reset()

func (*NoticeTableBetting) String

func (x *NoticeTableBetting) String() string

type NoticeUserKickOut

type NoticeUserKickOut struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"` //房间ID
	Uid    int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`       //用户ID
	// contains filtered or unexported fields
}

func (*NoticeUserKickOut) Descriptor deprecated

func (*NoticeUserKickOut) Descriptor() ([]byte, []int)

Deprecated: Use NoticeUserKickOut.ProtoReflect.Descriptor instead.

func (*NoticeUserKickOut) GetRoomid

func (x *NoticeUserKickOut) GetRoomid() int32

func (*NoticeUserKickOut) GetUid

func (x *NoticeUserKickOut) GetUid() int32

func (*NoticeUserKickOut) ProtoMessage

func (*NoticeUserKickOut) ProtoMessage()

func (*NoticeUserKickOut) ProtoReflect

func (x *NoticeUserKickOut) ProtoReflect() protoreflect.Message

func (*NoticeUserKickOut) Reset

func (x *NoticeUserKickOut) Reset()

func (*NoticeUserKickOut) String

func (x *NoticeUserKickOut) String() string

type NoticeUserStakeChange

type NoticeUserStakeChange struct {
	Uid       int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`                              //用户ID
	LeftStake int32 `protobuf:"varint,2,opt,name=left_stake,json=leftStake,proto3" json:"left_stake,omitempty"` //剩余筹码
	// contains filtered or unexported fields
}

func (*NoticeUserStakeChange) Descriptor deprecated

func (*NoticeUserStakeChange) Descriptor() ([]byte, []int)

Deprecated: Use NoticeUserStakeChange.ProtoReflect.Descriptor instead.

func (*NoticeUserStakeChange) GetLeftStake

func (x *NoticeUserStakeChange) GetLeftStake() int32

func (*NoticeUserStakeChange) GetUid

func (x *NoticeUserStakeChange) GetUid() int32

func (*NoticeUserStakeChange) ProtoMessage

func (*NoticeUserStakeChange) ProtoMessage()

func (*NoticeUserStakeChange) ProtoReflect

func (x *NoticeUserStakeChange) ProtoReflect() protoreflect.Message

func (*NoticeUserStakeChange) Reset

func (x *NoticeUserStakeChange) Reset()

func (*NoticeUserStakeChange) String

func (x *NoticeUserStakeChange) String() string

type PlayerInfo

type PlayerInfo struct {
	Uid          int32  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Head         string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"`
	Money        uint64 `protobuf:"varint,4,opt,name=money,proto3" json:"money,omitempty"`
	Rank         int32  `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"`                                     //排行 富豪榜或者神算子
	BettingMoney int32  `protobuf:"varint,6,opt,name=betting_money,json=bettingMoney,proto3" json:"betting_money,omitempty"` //近20局投注金额
	BettingWins  int32  `protobuf:"varint,7,opt,name=betting_wins,json=bettingWins,proto3" json:"betting_wins,omitempty"`    //近20局获胜次数
	// contains filtered or unexported fields
}

func (*PlayerInfo) Descriptor deprecated

func (*PlayerInfo) Descriptor() ([]byte, []int)

Deprecated: Use PlayerInfo.ProtoReflect.Descriptor instead.

func (*PlayerInfo) GetBettingMoney

func (x *PlayerInfo) GetBettingMoney() int32

func (*PlayerInfo) GetBettingWins

func (x *PlayerInfo) GetBettingWins() int32

func (*PlayerInfo) GetHead

func (x *PlayerInfo) GetHead() string

func (*PlayerInfo) GetMoney

func (x *PlayerInfo) GetMoney() uint64

func (*PlayerInfo) GetName

func (x *PlayerInfo) GetName() string

func (*PlayerInfo) GetRank

func (x *PlayerInfo) GetRank() int32

func (*PlayerInfo) GetUid

func (x *PlayerInfo) GetUid() int32

func (*PlayerInfo) ProtoMessage

func (*PlayerInfo) ProtoMessage()

func (*PlayerInfo) ProtoReflect

func (x *PlayerInfo) ProtoReflect() protoreflect.Message

func (*PlayerInfo) Reset

func (x *PlayerInfo) Reset()

func (*PlayerInfo) String

func (x *PlayerInfo) String() string

type PlayerSettle

type PlayerSettle struct {
	Uid      int32               `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	PayGold  int32               `protobuf:"varint,2,opt,name=pay_gold,json=payGold,proto3" json:"pay_gold,omitempty"`
	Rank     int32               `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"`                        //排行-结算和下注里面用到-其他不用管
	FromList []*PlayerSettleItem `protobuf:"bytes,4,rep,name=from_list,json=fromList,proto3" json:"from_list,omitempty"` //结算金额来自哪几个单元
	// contains filtered or unexported fields
}

func (*PlayerSettle) Descriptor deprecated

func (*PlayerSettle) Descriptor() ([]byte, []int)

Deprecated: Use PlayerSettle.ProtoReflect.Descriptor instead.

func (*PlayerSettle) GetFromList

func (x *PlayerSettle) GetFromList() []*PlayerSettleItem

func (*PlayerSettle) GetPayGold

func (x *PlayerSettle) GetPayGold() int32

func (*PlayerSettle) GetRank

func (x *PlayerSettle) GetRank() int32

func (*PlayerSettle) GetUid

func (x *PlayerSettle) GetUid() int32

func (*PlayerSettle) ProtoMessage

func (*PlayerSettle) ProtoMessage()

func (*PlayerSettle) ProtoReflect

func (x *PlayerSettle) ProtoReflect() protoreflect.Message

func (*PlayerSettle) Reset

func (x *PlayerSettle) Reset()

func (*PlayerSettle) String

func (x *PlayerSettle) String() string

type PlayerSettleItem

type PlayerSettleItem struct {
	Type    TableBettingType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.TableBettingType" json:"type,omitempty"` //下注类型
	PayGold int32            `protobuf:"varint,2,opt,name=pay_gold,json=payGold,proto3" json:"pay_gold,omitempty"`           //赔付金额
	// contains filtered or unexported fields
}

func (*PlayerSettleItem) Descriptor deprecated

func (*PlayerSettleItem) Descriptor() ([]byte, []int)

Deprecated: Use PlayerSettleItem.ProtoReflect.Descriptor instead.

func (*PlayerSettleItem) GetPayGold

func (x *PlayerSettleItem) GetPayGold() int32

func (*PlayerSettleItem) GetType

func (x *PlayerSettleItem) GetType() TableBettingType

func (*PlayerSettleItem) ProtoMessage

func (*PlayerSettleItem) ProtoMessage()

func (*PlayerSettleItem) ProtoReflect

func (x *PlayerSettleItem) ProtoReflect() protoreflect.Message

func (*PlayerSettleItem) Reset

func (x *PlayerSettleItem) Reset()

func (*PlayerSettleItem) String

func (x *PlayerSettleItem) String() string

type PositionInfo

type PositionInfo struct {
	Longtitude float32 `protobuf:"fixed32,1,opt,name=longtitude,proto3" json:"longtitude,omitempty"` //经度
	Latitude   float32 `protobuf:"fixed32,2,opt,name=latitude,proto3" json:"latitude,omitempty"`     //纬度
	Ip         string  `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`                   //ip addr
	// contains filtered or unexported fields
}

func (*PositionInfo) Descriptor deprecated

func (*PositionInfo) Descriptor() ([]byte, []int)

Deprecated: Use PositionInfo.ProtoReflect.Descriptor instead.

func (*PositionInfo) GetIp

func (x *PositionInfo) GetIp() string

func (*PositionInfo) GetLatitude

func (x *PositionInfo) GetLatitude() float32

func (*PositionInfo) GetLongtitude

func (x *PositionInfo) GetLongtitude() float32

func (*PositionInfo) ProtoMessage

func (*PositionInfo) ProtoMessage()

func (*PositionInfo) ProtoReflect

func (x *PositionInfo) ProtoReflect() protoreflect.Message

func (*PositionInfo) Reset

func (x *PositionInfo) Reset()

func (*PositionInfo) String

func (x *PositionInfo) String() string

type RequestBetting

type RequestBetting struct {
	Roomid int32            `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	Type   TableBettingType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.TableBettingType" json:"type,omitempty"`
	Amount int32            `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` //下注金额
	// contains filtered or unexported fields
}

func (*RequestBetting) Descriptor deprecated

func (*RequestBetting) Descriptor() ([]byte, []int)

Deprecated: Use RequestBetting.ProtoReflect.Descriptor instead.

func (*RequestBetting) GetAmount

func (x *RequestBetting) GetAmount() int32

func (*RequestBetting) GetRoomid

func (x *RequestBetting) GetRoomid() int32

func (*RequestBetting) GetType

func (x *RequestBetting) GetType() TableBettingType

func (*RequestBetting) ProtoMessage

func (*RequestBetting) ProtoMessage()

func (*RequestBetting) ProtoReflect

func (x *RequestBetting) ProtoReflect() protoreflect.Message

func (*RequestBetting) Reset

func (x *RequestBetting) Reset()

func (*RequestBetting) String

func (x *RequestBetting) String() string

type RequestBettingThrow

type RequestBettingThrow struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBettingThrow) Descriptor deprecated

func (*RequestBettingThrow) Descriptor() ([]byte, []int)

Deprecated: Use RequestBettingThrow.ProtoReflect.Descriptor instead.

func (*RequestBettingThrow) GetRoomid

func (x *RequestBettingThrow) GetRoomid() int32

func (*RequestBettingThrow) ProtoMessage

func (*RequestBettingThrow) ProtoMessage()

func (*RequestBettingThrow) ProtoReflect

func (x *RequestBettingThrow) ProtoReflect() protoreflect.Message

func (*RequestBettingThrow) Reset

func (x *RequestBettingThrow) Reset()

func (*RequestBettingThrow) String

func (x *RequestBettingThrow) String() string

type RequestHeartBeat

type RequestHeartBeat struct {
	Uid      int32         `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Position *PositionInfo `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` //位置信息
	// contains filtered or unexported fields
}

func (*RequestHeartBeat) Descriptor deprecated

func (*RequestHeartBeat) Descriptor() ([]byte, []int)

Deprecated: Use RequestHeartBeat.ProtoReflect.Descriptor instead.

func (*RequestHeartBeat) GetPosition

func (x *RequestHeartBeat) GetPosition() *PositionInfo

func (*RequestHeartBeat) GetUid

func (x *RequestHeartBeat) GetUid() int32

func (*RequestHeartBeat) ProtoMessage

func (*RequestHeartBeat) ProtoMessage()

func (*RequestHeartBeat) ProtoReflect

func (x *RequestHeartBeat) ProtoReflect() protoreflect.Message

func (*RequestHeartBeat) Reset

func (x *RequestHeartBeat) Reset()

func (*RequestHeartBeat) String

func (x *RequestHeartBeat) String() string

type RequestJoinRoom

type RequestJoinRoom struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestJoinRoom) Descriptor deprecated

func (*RequestJoinRoom) Descriptor() ([]byte, []int)

Deprecated: Use RequestJoinRoom.ProtoReflect.Descriptor instead.

func (*RequestJoinRoom) GetRoomid

func (x *RequestJoinRoom) GetRoomid() int32

func (*RequestJoinRoom) ProtoMessage

func (*RequestJoinRoom) ProtoMessage()

func (*RequestJoinRoom) ProtoReflect

func (x *RequestJoinRoom) ProtoReflect() protoreflect.Message

func (*RequestJoinRoom) Reset

func (x *RequestJoinRoom) Reset()

func (*RequestJoinRoom) String

func (x *RequestJoinRoom) String() string

type RequestLeaveRoom

type RequestLeaveRoom struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestLeaveRoom) Descriptor deprecated

func (*RequestLeaveRoom) Descriptor() ([]byte, []int)

Deprecated: Use RequestLeaveRoom.ProtoReflect.Descriptor instead.

func (*RequestLeaveRoom) GetRoomid

func (x *RequestLeaveRoom) GetRoomid() int32

func (*RequestLeaveRoom) ProtoMessage

func (*RequestLeaveRoom) ProtoMessage()

func (*RequestLeaveRoom) ProtoReflect

func (x *RequestLeaveRoom) ProtoReflect() protoreflect.Message

func (*RequestLeaveRoom) Reset

func (x *RequestLeaveRoom) Reset()

func (*RequestLeaveRoom) String

func (x *RequestLeaveRoom) String() string

type RequestLogon

type RequestLogon struct {
	Version    string        `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Token      string        `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Position   *PositionInfo `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	DeviceInfo string        `protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"`
	// contains filtered or unexported fields
}

logon

func (*RequestLogon) Descriptor deprecated

func (*RequestLogon) Descriptor() ([]byte, []int)

Deprecated: Use RequestLogon.ProtoReflect.Descriptor instead.

func (*RequestLogon) GetDeviceInfo

func (x *RequestLogon) GetDeviceInfo() string

func (*RequestLogon) GetPosition

func (x *RequestLogon) GetPosition() *PositionInfo

func (*RequestLogon) GetToken

func (x *RequestLogon) GetToken() string

func (*RequestLogon) GetVersion

func (x *RequestLogon) GetVersion() string

func (*RequestLogon) ProtoMessage

func (*RequestLogon) ProtoMessage()

func (*RequestLogon) ProtoReflect

func (x *RequestLogon) ProtoReflect() protoreflect.Message

func (*RequestLogon) Reset

func (x *RequestLogon) Reset()

func (*RequestLogon) String

func (x *RequestLogon) String() string

type RequestRoomOnlineList

type RequestRoomOnlineList struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRoomOnlineList) Descriptor deprecated

func (*RequestRoomOnlineList) Descriptor() ([]byte, []int)

Deprecated: Use RequestRoomOnlineList.ProtoReflect.Descriptor instead.

func (*RequestRoomOnlineList) GetRoomid

func (x *RequestRoomOnlineList) GetRoomid() int32

func (*RequestRoomOnlineList) ProtoMessage

func (*RequestRoomOnlineList) ProtoMessage()

func (*RequestRoomOnlineList) ProtoReflect

func (x *RequestRoomOnlineList) ProtoReflect() protoreflect.Message

func (*RequestRoomOnlineList) Reset

func (x *RequestRoomOnlineList) Reset()

func (*RequestRoomOnlineList) String

func (x *RequestRoomOnlineList) String() string

type RequestRoomPlayerList

type RequestRoomPlayerList struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRoomPlayerList) Descriptor deprecated

func (*RequestRoomPlayerList) Descriptor() ([]byte, []int)

Deprecated: Use RequestRoomPlayerList.ProtoReflect.Descriptor instead.

func (*RequestRoomPlayerList) GetRoomid

func (x *RequestRoomPlayerList) GetRoomid() int32

func (*RequestRoomPlayerList) ProtoMessage

func (*RequestRoomPlayerList) ProtoMessage()

func (*RequestRoomPlayerList) ProtoReflect

func (x *RequestRoomPlayerList) ProtoReflect() protoreflect.Message

func (*RequestRoomPlayerList) Reset

func (x *RequestRoomPlayerList) Reset()

func (*RequestRoomPlayerList) String

func (x *RequestRoomPlayerList) String() string

type RequestRoomSituation

type RequestRoomSituation struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRoomSituation) Descriptor deprecated

func (*RequestRoomSituation) Descriptor() ([]byte, []int)

Deprecated: Use RequestRoomSituation.ProtoReflect.Descriptor instead.

func (*RequestRoomSituation) GetRoomid

func (x *RequestRoomSituation) GetRoomid() int32

func (*RequestRoomSituation) ProtoMessage

func (*RequestRoomSituation) ProtoMessage()

func (*RequestRoomSituation) ProtoReflect

func (x *RequestRoomSituation) ProtoReflect() protoreflect.Message

func (*RequestRoomSituation) Reset

func (x *RequestRoomSituation) Reset()

func (*RequestRoomSituation) String

func (x *RequestRoomSituation) String() string

type RequestRoomStatistic

type RequestRoomStatistic struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRoomStatistic) Descriptor deprecated

func (*RequestRoomStatistic) Descriptor() ([]byte, []int)

Deprecated: Use RequestRoomStatistic.ProtoReflect.Descriptor instead.

func (*RequestRoomStatistic) GetRoomid

func (x *RequestRoomStatistic) GetRoomid() int32

func (*RequestRoomStatistic) ProtoMessage

func (*RequestRoomStatistic) ProtoMessage()

func (*RequestRoomStatistic) ProtoReflect

func (x *RequestRoomStatistic) ProtoReflect() protoreflect.Message

func (*RequestRoomStatistic) Reset

func (x *RequestRoomStatistic) Reset()

func (*RequestRoomStatistic) String

func (x *RequestRoomStatistic) String() string

type RequestUserStakeLeft

type RequestUserStakeLeft struct {
	Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestUserStakeLeft) Descriptor deprecated

func (*RequestUserStakeLeft) Descriptor() ([]byte, []int)

Deprecated: Use RequestUserStakeLeft.ProtoReflect.Descriptor instead.

func (*RequestUserStakeLeft) GetUid

func (x *RequestUserStakeLeft) GetUid() int32

func (*RequestUserStakeLeft) ProtoMessage

func (*RequestUserStakeLeft) ProtoMessage()

func (*RequestUserStakeLeft) ProtoReflect

func (x *RequestUserStakeLeft) ProtoReflect() protoreflect.Message

func (*RequestUserStakeLeft) Reset

func (x *RequestUserStakeLeft) Reset()

func (*RequestUserStakeLeft) String

func (x *RequestUserStakeLeft) String() string

type RequestUserStanding

type RequestUserStanding struct {
	Roomid int32 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"` //房间id
	Uid    int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`       //用户id
	// contains filtered or unexported fields
}

func (*RequestUserStanding) Descriptor deprecated

func (*RequestUserStanding) Descriptor() ([]byte, []int)

Deprecated: Use RequestUserStanding.ProtoReflect.Descriptor instead.

func (*RequestUserStanding) GetRoomid

func (x *RequestUserStanding) GetRoomid() int32

func (*RequestUserStanding) GetUid

func (x *RequestUserStanding) GetUid() int32

func (*RequestUserStanding) ProtoMessage

func (*RequestUserStanding) ProtoMessage()

func (*RequestUserStanding) ProtoReflect

func (x *RequestUserStanding) ProtoReflect() protoreflect.Message

func (*RequestUserStanding) Reset

func (x *RequestUserStanding) Reset()

func (*RequestUserStanding) String

func (x *RequestUserStanding) String() string

type ResponseBetting

type ResponseBetting struct {
	Error  int32            `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	Type   TableBettingType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.TableBettingType" json:"type,omitempty"`
	Amount int32            `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` //下注金额
	// contains filtered or unexported fields
}

func (*ResponseBetting) Descriptor deprecated

func (*ResponseBetting) Descriptor() ([]byte, []int)

Deprecated: Use ResponseBetting.ProtoReflect.Descriptor instead.

func (*ResponseBetting) GetAmount

func (x *ResponseBetting) GetAmount() int32

func (*ResponseBetting) GetError

func (x *ResponseBetting) GetError() int32

func (*ResponseBetting) GetType

func (x *ResponseBetting) GetType() TableBettingType

func (*ResponseBetting) ProtoMessage

func (*ResponseBetting) ProtoMessage()

func (*ResponseBetting) ProtoReflect

func (x *ResponseBetting) ProtoReflect() protoreflect.Message

func (*ResponseBetting) Reset

func (x *ResponseBetting) Reset()

func (*ResponseBetting) String

func (x *ResponseBetting) String() string

type ResponseBettingThrow

type ResponseBettingThrow struct {
	Error int32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseBettingThrow) Descriptor deprecated

func (*ResponseBettingThrow) Descriptor() ([]byte, []int)

Deprecated: Use ResponseBettingThrow.ProtoReflect.Descriptor instead.

func (*ResponseBettingThrow) GetError

func (x *ResponseBettingThrow) GetError() int32

func (*ResponseBettingThrow) ProtoMessage

func (*ResponseBettingThrow) ProtoMessage()

func (*ResponseBettingThrow) ProtoReflect

func (x *ResponseBettingThrow) ProtoReflect() protoreflect.Message

func (*ResponseBettingThrow) Reset

func (x *ResponseBettingThrow) Reset()

func (*ResponseBettingThrow) String

func (x *ResponseBettingThrow) String() string

type ResponseHeartBeat

type ResponseHeartBeat struct {
	Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseHeartBeat) Descriptor deprecated

func (*ResponseHeartBeat) Descriptor() ([]byte, []int)

Deprecated: Use ResponseHeartBeat.ProtoReflect.Descriptor instead.

func (*ResponseHeartBeat) GetUid

func (x *ResponseHeartBeat) GetUid() int32

func (*ResponseHeartBeat) ProtoMessage

func (*ResponseHeartBeat) ProtoMessage()

func (*ResponseHeartBeat) ProtoReflect

func (x *ResponseHeartBeat) ProtoReflect() protoreflect.Message

func (*ResponseHeartBeat) Reset

func (x *ResponseHeartBeat) Reset()

func (*ResponseHeartBeat) String

func (x *ResponseHeartBeat) String() string

type ResponseJoinRoom

type ResponseJoinRoom struct {
	Error  int32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	Roomid int32 `protobuf:"varint,2,opt,name=roomid,proto3" json:"roomid,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseJoinRoom) Descriptor deprecated

func (*ResponseJoinRoom) Descriptor() ([]byte, []int)

Deprecated: Use ResponseJoinRoom.ProtoReflect.Descriptor instead.

func (*ResponseJoinRoom) GetError

func (x *ResponseJoinRoom) GetError() int32

func (*ResponseJoinRoom) GetRoomid

func (x *ResponseJoinRoom) GetRoomid() int32

func (*ResponseJoinRoom) ProtoMessage

func (*ResponseJoinRoom) ProtoMessage()

func (*ResponseJoinRoom) ProtoReflect

func (x *ResponseJoinRoom) ProtoReflect() protoreflect.Message

func (*ResponseJoinRoom) Reset

func (x *ResponseJoinRoom) Reset()

func (*ResponseJoinRoom) String

func (x *ResponseJoinRoom) String() string

type ResponseLeaveRoom

type ResponseLeaveRoom struct {
	Error int32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseLeaveRoom) Descriptor deprecated

func (*ResponseLeaveRoom) Descriptor() ([]byte, []int)

Deprecated: Use ResponseLeaveRoom.ProtoReflect.Descriptor instead.

func (*ResponseLeaveRoom) GetError

func (x *ResponseLeaveRoom) GetError() int32

func (*ResponseLeaveRoom) ProtoMessage

func (*ResponseLeaveRoom) ProtoMessage()

func (*ResponseLeaveRoom) ProtoReflect

func (x *ResponseLeaveRoom) ProtoReflect() protoreflect.Message

func (*ResponseLeaveRoom) Reset

func (x *ResponseLeaveRoom) Reset()

func (*ResponseLeaveRoom) String

func (x *ResponseLeaveRoom) String() string

type ResponseLogon

type ResponseLogon struct {
	Error  int32  `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`                // 0: success; 1:version not match; 2:uid not-exist; 3:token-failure
	AesKey string `protobuf:"bytes,2,opt,name=aes_key,json=aesKey,proto3" json:"aes_key,omitempty"` //aes私钥
	AesIv  string `protobuf:"bytes,3,opt,name=aes_iv,json=aesIv,proto3" json:"aes_iv,omitempty"`    //aes向量
	// contains filtered or unexported fields
}

func (*ResponseLogon) Descriptor deprecated

func (*ResponseLogon) Descriptor() ([]byte, []int)

Deprecated: Use ResponseLogon.ProtoReflect.Descriptor instead.

func (*ResponseLogon) GetAesIv

func (x *ResponseLogon) GetAesIv() string

func (*ResponseLogon) GetAesKey

func (x *ResponseLogon) GetAesKey() string

func (*ResponseLogon) GetError

func (x *ResponseLogon) GetError() int32

func (*ResponseLogon) ProtoMessage

func (*ResponseLogon) ProtoMessage()

func (*ResponseLogon) ProtoReflect

func (x *ResponseLogon) ProtoReflect() protoreflect.Message

func (*ResponseLogon) Reset

func (x *ResponseLogon) Reset()

func (*ResponseLogon) String

func (x *ResponseLogon) String() string

type ResponseRoomOnlineList

type ResponseRoomOnlineList struct {
	Error      int32         `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	OnlineNum  int32         `protobuf:"varint,2,opt,name=online_num,json=onlineNum,proto3" json:"online_num,omitempty"`   //在线人数
	OnlineList []*PlayerInfo `protobuf:"bytes,3,rep,name=online_list,json=onlineList,proto3" json:"online_list,omitempty"` //在线列表
	// contains filtered or unexported fields
}

func (*ResponseRoomOnlineList) Descriptor deprecated

func (*ResponseRoomOnlineList) Descriptor() ([]byte, []int)

Deprecated: Use ResponseRoomOnlineList.ProtoReflect.Descriptor instead.

func (*ResponseRoomOnlineList) GetError

func (x *ResponseRoomOnlineList) GetError() int32

func (*ResponseRoomOnlineList) GetOnlineList

func (x *ResponseRoomOnlineList) GetOnlineList() []*PlayerInfo

func (*ResponseRoomOnlineList) GetOnlineNum

func (x *ResponseRoomOnlineList) GetOnlineNum() int32

func (*ResponseRoomOnlineList) ProtoMessage

func (*ResponseRoomOnlineList) ProtoMessage()

func (*ResponseRoomOnlineList) ProtoReflect

func (x *ResponseRoomOnlineList) ProtoReflect() protoreflect.Message

func (*ResponseRoomOnlineList) Reset

func (x *ResponseRoomOnlineList) Reset()

func (*ResponseRoomOnlineList) String

func (x *ResponseRoomOnlineList) String() string

type ResponseRoomPlayerList

type ResponseRoomPlayerList struct {
	Error        int32         `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	BigWinPlayer []*PlayerInfo `protobuf:"bytes,2,rep,name=big_win_player,json=bigWinPlayer,proto3" json:"big_win_player,omitempty"` //大赢家用户
	GodOperator  []*PlayerInfo `protobuf:"bytes,3,rep,name=god_operator,json=godOperator,proto3" json:"god_operator,omitempty"`      //神算子用户
	SelfInfo     *PlayerInfo   `protobuf:"bytes,4,opt,name=self_info,json=selfInfo,proto3" json:"self_info,omitempty"`               //用户自己信息
	// contains filtered or unexported fields
}

func (*ResponseRoomPlayerList) Descriptor deprecated

func (*ResponseRoomPlayerList) Descriptor() ([]byte, []int)

Deprecated: Use ResponseRoomPlayerList.ProtoReflect.Descriptor instead.

func (*ResponseRoomPlayerList) GetBigWinPlayer

func (x *ResponseRoomPlayerList) GetBigWinPlayer() []*PlayerInfo

func (*ResponseRoomPlayerList) GetError

func (x *ResponseRoomPlayerList) GetError() int32

func (*ResponseRoomPlayerList) GetGodOperator

func (x *ResponseRoomPlayerList) GetGodOperator() []*PlayerInfo

func (*ResponseRoomPlayerList) GetSelfInfo

func (x *ResponseRoomPlayerList) GetSelfInfo() *PlayerInfo

func (*ResponseRoomPlayerList) ProtoMessage

func (*ResponseRoomPlayerList) ProtoMessage()

func (*ResponseRoomPlayerList) ProtoReflect

func (x *ResponseRoomPlayerList) ProtoReflect() protoreflect.Message

func (*ResponseRoomPlayerList) Reset

func (x *ResponseRoomPlayerList) Reset()

func (*ResponseRoomPlayerList) String

func (x *ResponseRoomPlayerList) String() string

type ResponseRoomSituation

type ResponseRoomSituation struct {
	Error int32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseRoomSituation) Descriptor deprecated

func (*ResponseRoomSituation) Descriptor() ([]byte, []int)

Deprecated: Use ResponseRoomSituation.ProtoReflect.Descriptor instead.

func (*ResponseRoomSituation) GetError

func (x *ResponseRoomSituation) GetError() int32

func (*ResponseRoomSituation) ProtoMessage

func (*ResponseRoomSituation) ProtoMessage()

func (*ResponseRoomSituation) ProtoReflect

func (x *ResponseRoomSituation) ProtoReflect() protoreflect.Message

func (*ResponseRoomSituation) Reset

func (x *ResponseRoomSituation) Reset()

func (*ResponseRoomSituation) String

func (x *ResponseRoomSituation) String() string

type ResponseRoomStatistic

type ResponseRoomStatistic struct {
	Error        int32             `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	BookingSheet *RoomBookingSheet `protobuf:"bytes,2,opt,name=booking_sheet,json=bookingSheet,proto3" json:"booking_sheet,omitempty"` //路单
	StatInfo     *StatInfo         `protobuf:"bytes,3,opt,name=stat_info,json=statInfo,proto3" json:"stat_info,omitempty"`             //最近1000手统计数据
	// contains filtered or unexported fields
}

func (*ResponseRoomStatistic) Descriptor deprecated

func (*ResponseRoomStatistic) Descriptor() ([]byte, []int)

Deprecated: Use ResponseRoomStatistic.ProtoReflect.Descriptor instead.

func (*ResponseRoomStatistic) GetBookingSheet

func (x *ResponseRoomStatistic) GetBookingSheet() *RoomBookingSheet

func (*ResponseRoomStatistic) GetError

func (x *ResponseRoomStatistic) GetError() int32

func (*ResponseRoomStatistic) GetStatInfo

func (x *ResponseRoomStatistic) GetStatInfo() *StatInfo

func (*ResponseRoomStatistic) ProtoMessage

func (*ResponseRoomStatistic) ProtoMessage()

func (*ResponseRoomStatistic) ProtoReflect

func (x *ResponseRoomStatistic) ProtoReflect() protoreflect.Message

func (*ResponseRoomStatistic) Reset

func (x *ResponseRoomStatistic) Reset()

func (*ResponseRoomStatistic) String

func (x *ResponseRoomStatistic) String() string

type ResponseUserStakeLeft

type ResponseUserStakeLeft struct {
	Error     int32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	LeftStake int32 `protobuf:"varint,2,opt,name=left_stake,json=leftStake,proto3" json:"left_stake,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseUserStakeLeft) Descriptor deprecated

func (*ResponseUserStakeLeft) Descriptor() ([]byte, []int)

Deprecated: Use ResponseUserStakeLeft.ProtoReflect.Descriptor instead.

func (*ResponseUserStakeLeft) GetError

func (x *ResponseUserStakeLeft) GetError() int32

func (*ResponseUserStakeLeft) GetLeftStake

func (x *ResponseUserStakeLeft) GetLeftStake() int32

func (*ResponseUserStakeLeft) ProtoMessage

func (*ResponseUserStakeLeft) ProtoMessage()

func (*ResponseUserStakeLeft) ProtoReflect

func (x *ResponseUserStakeLeft) ProtoReflect() protoreflect.Message

func (*ResponseUserStakeLeft) Reset

func (x *ResponseUserStakeLeft) Reset()

func (*ResponseUserStakeLeft) String

func (x *ResponseUserStakeLeft) String() string

type ResponseUserStanding

type ResponseUserStanding struct {
	Error int32           `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
	List  []*StandingStat `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //最近10轮数据
	// contains filtered or unexported fields
}

func (*ResponseUserStanding) Descriptor deprecated

func (*ResponseUserStanding) Descriptor() ([]byte, []int)

Deprecated: Use ResponseUserStanding.ProtoReflect.Descriptor instead.

func (*ResponseUserStanding) GetError

func (x *ResponseUserStanding) GetError() int32

func (*ResponseUserStanding) GetList

func (x *ResponseUserStanding) GetList() []*StandingStat

func (*ResponseUserStanding) ProtoMessage

func (*ResponseUserStanding) ProtoMessage()

func (*ResponseUserStanding) ProtoReflect

func (x *ResponseUserStanding) ProtoReflect() protoreflect.Message

func (*ResponseUserStanding) Reset

func (x *ResponseUserStanding) Reset()

func (*ResponseUserStanding) String

func (x *ResponseUserStanding) String() string

type RoomBookingSheet

type RoomBookingSheet struct {
	TopList   []int32       `protobuf:"varint,1,rep,packed,name=top_list,json=topList,proto3" json:"top_list,omitempty"` //顶部数据-20条
	LeftList  []*WinCardCol `protobuf:"bytes,2,rep,name=left_list,json=leftList,proto3" json:"left_list,omitempty"`      //左部数据-8列-每列6条
	RightList []*WinCol     `protobuf:"bytes,3,rep,name=right_list,json=rightList,proto3" json:"right_list,omitempty"`   //右部数据-15列-每列6条(可能超过,平局算到当前蓝方或者红方的列中)
	// contains filtered or unexported fields
}

func (*RoomBookingSheet) Descriptor deprecated

func (*RoomBookingSheet) Descriptor() ([]byte, []int)

Deprecated: Use RoomBookingSheet.ProtoReflect.Descriptor instead.

func (*RoomBookingSheet) GetLeftList

func (x *RoomBookingSheet) GetLeftList() []*WinCardCol

func (*RoomBookingSheet) GetRightList

func (x *RoomBookingSheet) GetRightList() []*WinCol

func (*RoomBookingSheet) GetTopList

func (x *RoomBookingSheet) GetTopList() []int32

func (*RoomBookingSheet) ProtoMessage

func (*RoomBookingSheet) ProtoMessage()

func (*RoomBookingSheet) ProtoReflect

func (x *RoomBookingSheet) ProtoReflect() protoreflect.Message

func (*RoomBookingSheet) Reset

func (x *RoomBookingSheet) Reset()

func (*RoomBookingSheet) String

func (x *RoomBookingSheet) String() string

type RoomStateType

type RoomStateType int32
const (
	RoomStateType_EnumNotStarted RoomStateType = 0 //未开始游戏
	RoomStateType_EnumWaiting    RoomStateType = 1 //等待开始中
	RoomStateType_EnumBetting    RoomStateType = 2 //下注中
	RoomStateType_EnumShowCard   RoomStateType = 3 //亮牌
)

func (RoomStateType) Descriptor

func (RoomStateType) Enum

func (x RoomStateType) Enum() *RoomStateType

func (RoomStateType) EnumDescriptor deprecated

func (RoomStateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoomStateType.Descriptor instead.

func (RoomStateType) Number

func (RoomStateType) String

func (x RoomStateType) String() string

func (RoomStateType) Type

type RoomTimeSeconds

type RoomTimeSeconds struct {
	WaitSeconds int32 `protobuf:"varint,1,opt,name=wait_seconds,json=waitSeconds,proto3" json:"wait_seconds,omitempty"` //等待开始时间
	BetSeconds  int32 `protobuf:"varint,2,opt,name=bet_seconds,json=betSeconds,proto3" json:"bet_seconds,omitempty"`    //等待下注时间
	ShowSeconds int32 `protobuf:"varint,3,opt,name=show_seconds,json=showSeconds,proto3" json:"show_seconds,omitempty"` //显示牌型时间
	// contains filtered or unexported fields
}

func (*RoomTimeSeconds) Descriptor deprecated

func (*RoomTimeSeconds) Descriptor() ([]byte, []int)

Deprecated: Use RoomTimeSeconds.ProtoReflect.Descriptor instead.

func (*RoomTimeSeconds) GetBetSeconds

func (x *RoomTimeSeconds) GetBetSeconds() int32

func (*RoomTimeSeconds) GetShowSeconds

func (x *RoomTimeSeconds) GetShowSeconds() int32

func (*RoomTimeSeconds) GetWaitSeconds

func (x *RoomTimeSeconds) GetWaitSeconds() int32

func (*RoomTimeSeconds) ProtoMessage

func (*RoomTimeSeconds) ProtoMessage()

func (*RoomTimeSeconds) ProtoReflect

func (x *RoomTimeSeconds) ProtoReflect() protoreflect.Message

func (*RoomTimeSeconds) Reset

func (x *RoomTimeSeconds) Reset()

func (*RoomTimeSeconds) String

func (x *RoomTimeSeconds) String() string

type RoomUserType

type RoomUserType int32
const (
	RoomUserType_UserOther       RoomUserType = 0 //其他用户
	RoomUserType_UserSelf        RoomUserType = 1 //用户自己
	RoomUserType_UserBigWin      RoomUserType = 2 //大赢家用户
	RoomUserType_UserGodOperator RoomUserType = 3 //神算子用户
)

func (RoomUserType) Descriptor

func (RoomUserType) Enum

func (x RoomUserType) Enum() *RoomUserType

func (RoomUserType) EnumDescriptor deprecated

func (RoomUserType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoomUserType.Descriptor instead.

func (RoomUserType) Number

func (RoomUserType) String

func (x RoomUserType) String() string

func (RoomUserType) Type

type StandingStat

type StandingStat struct {
	Roomid       int32           `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`                                //房间id
	Uid          int32           `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`                                      //用户id
	GameUuid     uint64          `protobuf:"varint,3,opt,name=game_uuid,json=gameUuid,proto3" json:"game_uuid,omitempty"`            //牌局uuid
	BetMoney     int32           `protobuf:"varint,4,opt,name=bet_money,json=betMoney,proto3" json:"bet_money,omitempty"`            //下注总金额
	PayMoney     int32           `protobuf:"varint,5,opt,name=pay_money,json=payMoney,proto3" json:"pay_money,omitempty"`            //赔付总金额
	WinState     int32           `protobuf:"varint,6,opt,name=win_state,json=winState,proto3" json:"win_state,omitempty"`            //获胜状态 1-获胜 0-未获胜
	StandingList []*StandingUnit `protobuf:"bytes,7,rep,name=standing_list,json=standingList,proto3" json:"standing_list,omitempty"` //下注单元战绩详情
	// contains filtered or unexported fields
}

func (*StandingStat) Descriptor deprecated

func (*StandingStat) Descriptor() ([]byte, []int)

Deprecated: Use StandingStat.ProtoReflect.Descriptor instead.

func (*StandingStat) GetBetMoney

func (x *StandingStat) GetBetMoney() int32

func (*StandingStat) GetGameUuid

func (x *StandingStat) GetGameUuid() uint64

func (*StandingStat) GetPayMoney

func (x *StandingStat) GetPayMoney() int32

func (*StandingStat) GetRoomid

func (x *StandingStat) GetRoomid() int32

func (*StandingStat) GetStandingList

func (x *StandingStat) GetStandingList() []*StandingUnit

func (*StandingStat) GetUid

func (x *StandingStat) GetUid() int32

func (*StandingStat) GetWinState

func (x *StandingStat) GetWinState() int32

func (*StandingStat) ProtoMessage

func (*StandingStat) ProtoMessage()

func (*StandingStat) ProtoReflect

func (x *StandingStat) ProtoReflect() protoreflect.Message

func (*StandingStat) Reset

func (x *StandingStat) Reset()

func (*StandingStat) String

func (x *StandingStat) String() string

type StandingUnit

type StandingUnit struct {
	BettingType TableBettingType `` //下注类型
	/* 126-byte string literal not displayed */
	BettingMoney int32 `protobuf:"varint,2,opt,name=betting_money,json=bettingMoney,proto3" json:"betting_money,omitempty"` //下注金额
	PayMoney     int32 `protobuf:"varint,3,opt,name=pay_money,json=payMoney,proto3" json:"pay_money,omitempty"`             //赔付金额
	// contains filtered or unexported fields
}

func (*StandingUnit) Descriptor deprecated

func (*StandingUnit) Descriptor() ([]byte, []int)

Deprecated: Use StandingUnit.ProtoReflect.Descriptor instead.

func (*StandingUnit) GetBettingMoney

func (x *StandingUnit) GetBettingMoney() int32

func (*StandingUnit) GetBettingType

func (x *StandingUnit) GetBettingType() TableBettingType

func (*StandingUnit) GetPayMoney

func (x *StandingUnit) GetPayMoney() int32

func (*StandingUnit) ProtoMessage

func (*StandingUnit) ProtoMessage()

func (*StandingUnit) ProtoReflect

func (x *StandingUnit) ProtoReflect() protoreflect.Message

func (*StandingUnit) Reset

func (x *StandingUnit) Reset()

func (*StandingUnit) String

func (x *StandingUnit) String() string

type StatInfo

type StatInfo struct {
	GameUuid    uint64        `protobuf:"varint,1,opt,name=game_uuid,json=gameUuid,proto3" json:"game_uuid,omitempty"`
	CowBodyWin  int32         `protobuf:"varint,2,opt,name=cow_body_win,json=cowBodyWin,proto3" json:"cow_body_win,omitempty"`
	BullWin     int32         `protobuf:"varint,3,opt,name=bull_win,json=bullWin,proto3" json:"bull_win,omitempty"`
	BreakEven   int32         `protobuf:"varint,4,opt,name=break_even,json=breakEven,proto3" json:"break_even,omitempty"`
	WinOne      int32         `protobuf:"varint,5,opt,name=win_one,json=winOne,proto3" json:"win_one,omitempty"`
	WinTwo      int32         `protobuf:"varint,6,opt,name=win_two,json=winTwo,proto3" json:"win_two,omitempty"`
	WinThree    int32         `protobuf:"varint,7,opt,name=win_three,json=winThree,proto3" json:"win_three,omitempty"`
	WinFour     int32         `protobuf:"varint,8,opt,name=win_four,json=winFour,proto3" json:"win_four,omitempty"`
	WinFive     int32         `protobuf:"varint,9,opt,name=win_five,json=winFive,proto3" json:"win_five,omitempty"`
	HandOne     int32         `protobuf:"varint,10,opt,name=hand_one,json=handOne,proto3" json:"hand_one,omitempty"`
	HandTwo     int32         `protobuf:"varint,11,opt,name=hand_two,json=handTwo,proto3" json:"hand_two,omitempty"`
	HandThree   int32         `protobuf:"varint,12,opt,name=hand_three,json=handThree,proto3" json:"hand_three,omitempty"`
	BullPair    int32         `protobuf:"varint,13,opt,name=bull_pair,json=bullPair,proto3" json:"bull_pair,omitempty"`
	Winner      int32         `protobuf:"varint,14,opt,name=winner,proto3" json:"winner,omitempty"` //获胜方 0-无结果 1-牛仔胜 2-公牛胜 3-平手
	WinCardType TableCardType ``                                                                    /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StatInfo) Descriptor deprecated

func (*StatInfo) Descriptor() ([]byte, []int)

Deprecated: Use StatInfo.ProtoReflect.Descriptor instead.

func (*StatInfo) GetBreakEven

func (x *StatInfo) GetBreakEven() int32

func (*StatInfo) GetBullPair

func (x *StatInfo) GetBullPair() int32

func (*StatInfo) GetBullWin

func (x *StatInfo) GetBullWin() int32

func (*StatInfo) GetCowBodyWin

func (x *StatInfo) GetCowBodyWin() int32

func (*StatInfo) GetGameUuid

func (x *StatInfo) GetGameUuid() uint64

func (*StatInfo) GetHandOne

func (x *StatInfo) GetHandOne() int32

func (*StatInfo) GetHandThree

func (x *StatInfo) GetHandThree() int32

func (*StatInfo) GetHandTwo

func (x *StatInfo) GetHandTwo() int32

func (*StatInfo) GetWinCardType

func (x *StatInfo) GetWinCardType() TableCardType

func (*StatInfo) GetWinFive

func (x *StatInfo) GetWinFive() int32

func (*StatInfo) GetWinFour

func (x *StatInfo) GetWinFour() int32

func (*StatInfo) GetWinOne

func (x *StatInfo) GetWinOne() int32

func (*StatInfo) GetWinThree

func (x *StatInfo) GetWinThree() int32

func (*StatInfo) GetWinTwo

func (x *StatInfo) GetWinTwo() int32

func (*StatInfo) GetWinner

func (x *StatInfo) GetWinner() int32

func (*StatInfo) ProtoMessage

func (*StatInfo) ProtoMessage()

func (*StatInfo) ProtoReflect

func (x *StatInfo) ProtoReflect() protoreflect.Message

func (*StatInfo) Reset

func (x *StatInfo) Reset()

func (*StatInfo) String

func (x *StatInfo) String() string

type TableBettingDetail

type TableBettingDetail struct {
	Type           TableBettingType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.TableBettingType" json:"type,omitempty"`              //下注类型
	Amount         int32            `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`                                         //下注金额
	IsBettingThrow bool             `protobuf:"varint,3,opt,name=is_betting_throw,json=isBettingThrow,proto3" json:"is_betting_throw,omitempty"` //是否是续投
	// contains filtered or unexported fields
}

func (*TableBettingDetail) Descriptor deprecated

func (*TableBettingDetail) Descriptor() ([]byte, []int)

Deprecated: Use TableBettingDetail.ProtoReflect.Descriptor instead.

func (*TableBettingDetail) GetAmount

func (x *TableBettingDetail) GetAmount() int32

func (*TableBettingDetail) GetIsBettingThrow

func (x *TableBettingDetail) GetIsBettingThrow() bool

func (*TableBettingDetail) GetType

func (x *TableBettingDetail) GetType() TableBettingType

func (*TableBettingDetail) ProtoMessage

func (*TableBettingDetail) ProtoMessage()

func (*TableBettingDetail) ProtoReflect

func (x *TableBettingDetail) ProtoReflect() protoreflect.Message

func (*TableBettingDetail) Reset

func (x *TableBettingDetail) Reset()

func (*TableBettingDetail) String

func (x *TableBettingDetail) String() string

type TableBettingItem

type TableBettingItem struct {
	Uid     int32                 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`                       //下注用户
	Total   int32                 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`                   //下注总额
	BetList []*TableBettingDetail `protobuf:"bytes,3,rep,name=bet_list,json=betList,proto3" json:"bet_list,omitempty"` //下注列表
	Rank    int32                 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"`                     //排行-结算和下注里面用到-其他不用管
	// contains filtered or unexported fields
}

func (*TableBettingItem) Descriptor deprecated

func (*TableBettingItem) Descriptor() ([]byte, []int)

Deprecated: Use TableBettingItem.ProtoReflect.Descriptor instead.

func (*TableBettingItem) GetBetList

func (x *TableBettingItem) GetBetList() []*TableBettingDetail

func (*TableBettingItem) GetRank

func (x *TableBettingItem) GetRank() int32

func (*TableBettingItem) GetTotal

func (x *TableBettingItem) GetTotal() int32

func (*TableBettingItem) GetUid

func (x *TableBettingItem) GetUid() int32

func (*TableBettingItem) ProtoMessage

func (*TableBettingItem) ProtoMessage()

func (*TableBettingItem) ProtoReflect

func (x *TableBettingItem) ProtoReflect() protoreflect.Message

func (*TableBettingItem) Reset

func (x *TableBettingItem) Reset()

func (*TableBettingItem) String

func (x *TableBettingItem) String() string

type TableBettingType

type TableBettingType int32
const (
	TableBettingType_EnumNone      TableBettingType = 0
	TableBettingType_EnumCowboyWin TableBettingType = 1  //牛仔胜-1
	TableBettingType_EnumBullWin   TableBettingType = 2  //公牛胜-2
	TableBettingType_EnumBreakEven TableBettingType = 3  //打成平手-3
	TableBettingType_EnumWinOne    TableBettingType = 4  //获胜牌型-高牌/一对-4
	TableBettingType_EnumWinTwo    TableBettingType = 5  //获胜牌型-两对-5
	TableBettingType_EnumWinThree  TableBettingType = 6  //获胜牌型-三条/顺子/同花-6
	TableBettingType_EnumWinFour   TableBettingType = 7  //获胜牌型-葫芦-7
	TableBettingType_EnumWinFive   TableBettingType = 8  //获胜牌型-金刚/同花顺/皇同-8
	TableBettingType_EnumHandOne   TableBettingType = 9  //任意手牌-同花/连牌/同花连牌-9
	TableBettingType_EnumHandTwo   TableBettingType = 10 //任意手牌-对子-10
	TableBettingType_EnumHandThree TableBettingType = 11 //任意手牌-对A-11
	TableBettingType_EnumBullPair  TableBettingType = 12 //公牛对2或者高牌赢-12
)

func (TableBettingType) Descriptor

func (TableBettingType) Enum

func (TableBettingType) EnumDescriptor deprecated

func (TableBettingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TableBettingType.Descriptor instead.

func (TableBettingType) Number

func (TableBettingType) String

func (x TableBettingType) String() string

func (TableBettingType) Type

type TableBettingUnit

type TableBettingUnit struct {
	BettingType  TableBettingType `` /* 126-byte string literal not displayed */
	Multiple     int32            `protobuf:"varint,2,opt,name=multiple,proto3" json:"multiple,omitempty"`
	BettingTotal int32            `protobuf:"varint,3,opt,name=betting_total,json=bettingTotal,proto3" json:"betting_total,omitempty"`
	BettingSelf  int32            `protobuf:"varint,4,opt,name=betting_self,json=bettingSelf,proto3" json:"betting_self,omitempty"`
	BettingLost  int32            `protobuf:"varint,5,opt,name=betting_lost,json=bettingLost,proto3" json:"betting_lost,omitempty"`
	BettingStats []int32          `protobuf:"varint,6,rep,packed,name=betting_stats,json=bettingStats,proto3" json:"betting_stats,omitempty"` //统计输赢结果,最大12 0-未中 1-中
	// contains filtered or unexported fields
}

func (*TableBettingUnit) Descriptor deprecated

func (*TableBettingUnit) Descriptor() ([]byte, []int)

Deprecated: Use TableBettingUnit.ProtoReflect.Descriptor instead.

func (*TableBettingUnit) GetBettingLost

func (x *TableBettingUnit) GetBettingLost() int32

func (*TableBettingUnit) GetBettingSelf

func (x *TableBettingUnit) GetBettingSelf() int32

func (*TableBettingUnit) GetBettingStats

func (x *TableBettingUnit) GetBettingStats() []int32

func (*TableBettingUnit) GetBettingTotal

func (x *TableBettingUnit) GetBettingTotal() int32

func (*TableBettingUnit) GetBettingType

func (x *TableBettingUnit) GetBettingType() TableBettingType

func (*TableBettingUnit) GetMultiple

func (x *TableBettingUnit) GetMultiple() int32

func (*TableBettingUnit) ProtoMessage

func (*TableBettingUnit) ProtoMessage()

func (*TableBettingUnit) ProtoReflect

func (x *TableBettingUnit) ProtoReflect() protoreflect.Message

func (*TableBettingUnit) Reset

func (x *TableBettingUnit) Reset()

func (*TableBettingUnit) String

func (x *TableBettingUnit) String() string

type TableCardStat

type TableCardStat struct {
	Winner      int32         `protobuf:"varint,1,opt,name=winner,proto3" json:"winner,omitempty"`                                                            //输赢
	WinCardType TableCardType `protobuf:"varint,2,opt,name=win_card_type,json=winCardType,proto3,enum=protocol.TableCardType" json:"win_card_type,omitempty"` //牌型
	// contains filtered or unexported fields
}

func (*TableCardStat) Descriptor deprecated

func (*TableCardStat) Descriptor() ([]byte, []int)

Deprecated: Use TableCardStat.ProtoReflect.Descriptor instead.

func (*TableCardStat) GetWinCardType

func (x *TableCardStat) GetWinCardType() TableCardType

func (*TableCardStat) GetWinner

func (x *TableCardStat) GetWinner() int32

func (*TableCardStat) ProtoMessage

func (*TableCardStat) ProtoMessage()

func (*TableCardStat) ProtoReflect

func (x *TableCardStat) ProtoReflect() protoreflect.Message

func (*TableCardStat) Reset

func (x *TableCardStat) Reset()

func (*TableCardStat) String

func (x *TableCardStat) String() string

type TableCardType

type TableCardType int32
const (
	TableCardType_CardNone               TableCardType = 0  //无
	TableCardType_CardHigh               TableCardType = 1  //高牌
	TableCardType_CardPair               TableCardType = 2  //一对
	TableCardType_CardPairTwo            TableCardType = 3  //两对
	TableCardType_CardThreeKind          TableCardType = 4  //三条
	TableCardType_CardStraight           TableCardType = 5  //顺子
	TableCardType_CardSameColor          TableCardType = 6  //同花
	TableCardType_CardGourd              TableCardType = 7  //葫芦
	TableCardType_CardFourKind           TableCardType = 8  //四条
	TableCardType_CardStraightFlush      TableCardType = 9  //同花顺
	TableCardType_CardRoyalStraightFlush TableCardType = 10 //皇家同花顺
)

func (TableCardType) Descriptor

func (TableCardType) Enum

func (x TableCardType) Enum() *TableCardType

func (TableCardType) EnumDescriptor deprecated

func (TableCardType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TableCardType.Descriptor instead.

func (TableCardType) Number

func (TableCardType) String

func (x TableCardType) String() string

func (TableCardType) Type

type TableCardsItems

type TableCardsItems struct {
	CowboyCards    []*CardItem `protobuf:"bytes,1,rep,name=cowboy_cards,json=cowboyCards,proto3" json:"cowboy_cards,omitempty"`
	BullCards      []*CardItem `protobuf:"bytes,2,rep,name=bull_cards,json=bullCards,proto3" json:"bull_cards,omitempty"`
	CommunityCards []*CardItem `protobuf:"bytes,3,rep,name=community_cards,json=communityCards,proto3" json:"community_cards,omitempty"`
	// contains filtered or unexported fields
}

func (*TableCardsItems) Descriptor deprecated

func (*TableCardsItems) Descriptor() ([]byte, []int)

Deprecated: Use TableCardsItems.ProtoReflect.Descriptor instead.

func (*TableCardsItems) GetBullCards

func (x *TableCardsItems) GetBullCards() []*CardItem

func (*TableCardsItems) GetCommunityCards

func (x *TableCardsItems) GetCommunityCards() []*CardItem

func (*TableCardsItems) GetCowboyCards

func (x *TableCardsItems) GetCowboyCards() []*CardItem

func (*TableCardsItems) ProtoMessage

func (*TableCardsItems) ProtoMessage()

func (*TableCardsItems) ProtoReflect

func (x *TableCardsItems) ProtoReflect() protoreflect.Message

func (*TableCardsItems) Reset

func (x *TableCardsItems) Reset()

func (*TableCardsItems) String

func (x *TableCardsItems) String() string

type WinCardCol

type WinCardCol struct {
	Num  int32            `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`  //长度
	List []*TableCardStat `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //数组
	// contains filtered or unexported fields
}

func (*WinCardCol) Descriptor deprecated

func (*WinCardCol) Descriptor() ([]byte, []int)

Deprecated: Use WinCardCol.ProtoReflect.Descriptor instead.

func (*WinCardCol) GetList

func (x *WinCardCol) GetList() []*TableCardStat

func (*WinCardCol) GetNum

func (x *WinCardCol) GetNum() int32

func (*WinCardCol) ProtoMessage

func (*WinCardCol) ProtoMessage()

func (*WinCardCol) ProtoReflect

func (x *WinCardCol) ProtoReflect() protoreflect.Message

func (*WinCardCol) Reset

func (x *WinCardCol) Reset()

func (*WinCardCol) String

func (x *WinCardCol) String() string

type WinCol

type WinCol struct {
	Num    int32   `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`          //长度
	List   []int32 `protobuf:"varint,2,rep,packed,name=list,proto3" json:"list,omitempty"` //数组
	Winner int32   `protobuf:"varint,3,opt,name=winner,proto3" json:"winner,omitempty"`    //有效输赢,平局算到公牛或者牛仔赢,所以值为1或者2
	// contains filtered or unexported fields
}

func (*WinCol) Descriptor deprecated

func (*WinCol) Descriptor() ([]byte, []int)

Deprecated: Use WinCol.ProtoReflect.Descriptor instead.

func (*WinCol) GetList

func (x *WinCol) GetList() []int32

func (*WinCol) GetNum

func (x *WinCol) GetNum() int32

func (*WinCol) GetWinner

func (x *WinCol) GetWinner() int32

func (*WinCol) ProtoMessage

func (*WinCol) ProtoMessage()

func (*WinCol) ProtoReflect

func (x *WinCol) ProtoReflect() protoreflect.Message

func (*WinCol) Reset

func (x *WinCol) Reset()

func (*WinCol) String

func (x *WinCol) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL