Documentation ¶
Index ¶
- Constants
- Variables
- type CActivity
- type CApplePay
- type CArchieve
- type CBroadcastChat
- type CBroadcastChatText
- type CBroken
- type CBuild
- type CBuy
- type CChangeNickname
- type CChangeSex
- type CComein
- type CComeinRoomid
- type CConfig
- type CCreatePrivateRoom
- func (m *CCreatePrivateRoom) GetAnte() uint32
- func (m *CCreatePrivateRoom) GetCode() uint32
- func (m *CCreatePrivateRoom) GetLatitude() string
- func (m *CCreatePrivateRoom) GetLongitude() string
- func (m *CCreatePrivateRoom) GetMa() uint32
- func (m *CCreatePrivateRoom) GetMaizi() bool
- func (m *CCreatePrivateRoom) GetPayment() uint32
- func (m *CCreatePrivateRoom) GetRname() string
- func (m *CCreatePrivateRoom) GetRound() uint32
- func (m *CCreatePrivateRoom) GetRtype() uint32
- func (*CCreatePrivateRoom) ProtoMessage()
- func (m *CCreatePrivateRoom) Reset()
- func (m *CCreatePrivateRoom) String() string
- type CDelAllPost
- type CDelPost
- type CDelReadPost
- type CDiscard
- type CEnterSocialRoom
- func (m *CEnterSocialRoom) GetCode() uint32
- func (m *CEnterSocialRoom) GetInvitecode() string
- func (m *CEnterSocialRoom) GetLatitude() string
- func (m *CEnterSocialRoom) GetLongitude() string
- func (*CEnterSocialRoom) ProtoMessage()
- func (m *CEnterSocialRoom) Reset()
- func (m *CEnterSocialRoom) String() string
- type CFeedback
- type CGetActivityRewards
- type CGetCurrency
- type CHttpLogin
- func (m *CHttpLogin) GetCode() uint32
- func (m *CHttpLogin) GetCreatetime() uint32
- func (m *CHttpLogin) GetTimestamp() uint32
- func (m *CHttpLogin) GetToken() string
- func (m *CHttpLogin) GetUserid() string
- func (*CHttpLogin) ProtoMessage()
- func (m *CHttpLogin) Reset()
- func (m *CHttpLogin) String() string
- type CHu
- type CIapppayOrder
- type CLaunchVote
- type CLogin
- type CMaiZi
- type CMiguLogin
- type CNotice
- type COpenAppendix
- type COperate
- type CPRecordByRid
- type CPing
- type CPost
- type CPrivateLeave
- type CPrivateRecord
- type CQiangKong
- type CReadPost
- type CReady
- type CRegist
- type CSetPasswd
- type CStartGame
- type CTrade
- type CTradeList
- type CTradeRecord
- type CTradeUserInfo
- type CUserData
- type CVote
- type CWechatLogin
- func (m *CWechatLogin) GetAppid() string
- func (m *CWechatLogin) GetCode() uint32
- func (m *CWechatLogin) GetCodeId() string
- func (m *CWechatLogin) GetGrantType() string
- func (m *CWechatLogin) GetSecret() string
- func (m *CWechatLogin) GetToken() string
- func (*CWechatLogin) ProtoMessage()
- func (m *CWechatLogin) Reset()
- func (m *CWechatLogin) String() string
- type CWechatShare
- type CWxpayOrder
- type CWxpayQuery
- type Error
- type LoginData
- func (m *LoginData) GetNickname() string
- func (m *LoginData) GetParent() string
- func (m *LoginData) GetPhoto() string
- func (m *LoginData) GetRoomcard() uint32
- func (m *LoginData) GetSex() uint32
- func (m *LoginData) GetTimestamp() uint32
- func (m *LoginData) GetToken() string
- func (m *LoginData) GetUserid() string
- func (*LoginData) ProtoMessage()
- func (m *LoginData) Reset()
- func (m *LoginData) String() string
- type Notice
- type PostAppendixData
- type PostBoxData
- func (m *PostBoxData) GetAppendixname() string
- func (m *PostBoxData) GetContent() string
- func (m *PostBoxData) GetDraw() bool
- func (m *PostBoxData) GetExpire() uint32
- func (m *PostBoxData) GetId() uint32
- func (m *PostBoxData) GetKind() uint32
- func (m *PostBoxData) GetRead() bool
- func (m *PostBoxData) GetSendername() string
- func (m *PostBoxData) GetSenderuserid() string
- func (m *PostBoxData) GetTitle() string
- func (*PostBoxData) ProtoMessage()
- func (m *PostBoxData) Reset()
- func (m *PostBoxData) String() string
- type PrivateDetails
- type PrivateRecord
- func (m *PrivateRecord) GetAnte() uint32
- func (m *PrivateRecord) GetCoin() int32
- func (m *PrivateRecord) GetInvitecode() string
- func (m *PrivateRecord) GetList() []*PrivateRecordDetails
- func (m *PrivateRecord) GetLists() []*PrivateRecords
- func (m *PrivateRecord) GetMa() uint32
- func (m *PrivateRecord) GetRid() uint32
- func (m *PrivateRecord) GetRname() string
- func (m *PrivateRecord) GetRound() uint32
- func (m *PrivateRecord) GetTime() uint32
- func (m *PrivateRecord) GetTotalRound() uint32
- func (*PrivateRecord) ProtoMessage()
- func (m *PrivateRecord) Reset()
- func (m *PrivateRecord) String() string
- type PrivateRecordDetails
- func (m *PrivateRecordDetails) GetCoin() int32
- func (m *PrivateRecordDetails) GetPhoto() string
- func (m *PrivateRecordDetails) GetSeat() uint32
- func (m *PrivateRecordDetails) GetSex() uint32
- func (m *PrivateRecordDetails) GetUname() string
- func (m *PrivateRecordDetails) GetUserid() string
- func (*PrivateRecordDetails) ProtoMessage()
- func (m *PrivateRecordDetails) Reset()
- func (m *PrivateRecordDetails) String() string
- type PrivateRecordForCircle
- func (m *PrivateRecordForCircle) GetCoin() int32
- func (m *PrivateRecordForCircle) GetRid() uint32
- func (m *PrivateRecordForCircle) GetRname() string
- func (m *PrivateRecordForCircle) GetRtype() uint32
- func (m *PrivateRecordForCircle) GetTime() uint32
- func (*PrivateRecordForCircle) ProtoMessage()
- func (m *PrivateRecordForCircle) Reset()
- func (m *PrivateRecordForCircle) String() string
- type PrivateRecordForRoom
- type PrivateRecords
- type PrivateScore
- type ProtoActivity
- func (m *ProtoActivity) GetCount() uint32
- func (m *ProtoActivity) GetEndtime() uint32
- func (m *ProtoActivity) GetId() uint32
- func (m *ProtoActivity) GetRewards() uint32
- func (m *ProtoActivity) GetStarttime() uint32
- func (m *ProtoActivity) GetType() uint32
- func (*ProtoActivity) ProtoMessage()
- func (m *ProtoActivity) Reset()
- func (m *ProtoActivity) String() string
- type ProtoCard
- type ProtoCount
- func (m *ProtoCount) GetCards() []byte
- func (m *ProtoCount) GetCoin() int32
- func (m *ProtoCount) GetHu() int64
- func (m *ProtoCount) GetHuFan() int32
- func (m *ProtoCount) GetHuTypeFan() int32
- func (m *ProtoCount) GetMaizi() int32
- func (m *ProtoCount) GetSeat() uint32
- func (m *ProtoCount) GetTotal() int32
- func (*ProtoCount) ProtoMessage()
- func (m *ProtoCount) Reset()
- func (m *ProtoCount) String() string
- type ProtoRoom
- type ProtoTrade
- type ProtoTradeRecard
- type ProtoUser
- func (m *ProtoUser) GetAddress() string
- func (m *ProtoUser) GetCoin() uint32
- func (m *ProtoUser) GetEmail() string
- func (m *ProtoUser) GetExchange() uint32
- func (m *ProtoUser) GetExp() uint32
- func (m *ProtoUser) GetIp() string
- func (m *ProtoUser) GetLatitude() string
- func (m *ProtoUser) GetLongitude() string
- func (m *ProtoUser) GetLost() uint32
- func (m *ProtoUser) GetMaizi() int32
- func (m *ProtoUser) GetNickname() string
- func (m *ProtoUser) GetOffline() bool
- func (m *ProtoUser) GetPhoto() string
- func (m *ProtoUser) GetPing() uint32
- func (m *ProtoUser) GetPlatform() uint32
- func (m *ProtoUser) GetPosition() uint32
- func (m *ProtoUser) GetReady() bool
- func (m *ProtoUser) GetRoomcard() uint32
- func (m *ProtoUser) GetScore() int32
- func (m *ProtoUser) GetSex() uint32
- func (m *ProtoUser) GetSign() string
- func (m *ProtoUser) GetTerminal() string
- func (m *ProtoUser) GetTing() uint32
- func (m *ProtoUser) GetUserid() string
- func (m *ProtoUser) GetVip() uint32
- func (m *ProtoUser) GetWin() uint32
- func (*ProtoUser) ProtoMessage()
- func (m *ProtoUser) Reset()
- func (m *ProtoUser) String() string
- type ReLogin
- type ResVo
- type RoomAttrube
- func (m *RoomAttrube) GetAccess() uint32
- func (m *RoomAttrube) GetAnte() uint32
- func (m *RoomAttrube) GetMaxcount() uint32
- func (m *RoomAttrube) GetPercent() uint32
- func (m *RoomAttrube) GetPrivate() uint32
- func (m *RoomAttrube) GetRtype() uint32
- func (*RoomAttrube) ProtoMessage()
- func (m *RoomAttrube) Reset()
- func (m *RoomAttrube) String() string
- type RoomData
- func (m *RoomData) GetAudience() uint32
- func (m *RoomData) GetCid() uint32
- func (m *RoomData) GetCount() uint32
- func (m *RoomData) GetExpire() uint32
- func (m *RoomData) GetHorse() uint32
- func (m *RoomData) GetInvitecode() string
- func (m *RoomData) GetLian() uint32
- func (m *RoomData) GetMa() uint32
- func (m *RoomData) GetMaizi() bool
- func (m *RoomData) GetPub() uint32
- func (m *RoomData) GetRname() string
- func (m *RoomData) GetRoomid() uint32
- func (m *RoomData) GetRound() uint32
- func (m *RoomData) GetRtype() uint32
- func (m *RoomData) GetTotalround() uint32
- func (m *RoomData) GetUserid() string
- func (m *RoomData) GetZhuang() uint32
- func (*RoomData) ProtoMessage()
- func (m *RoomData) Reset()
- func (m *RoomData) String() string
- type SActivity
- type SApplePay
- type SArchieve
- func (m *SArchieve) GetBest() string
- func (m *SArchieve) GetCode() uint32
- func (m *SArchieve) GetDihu() uint32
- func (m *SArchieve) GetError() uint32
- func (m *SArchieve) GetGaincoin() uint32
- func (m *SArchieve) GetHutype() uint32
- func (m *SArchieve) GetLongqi() uint32
- func (m *SArchieve) GetMaxcoin() uint32
- func (m *SArchieve) GetPengpenghu() uint32
- func (m *SArchieve) GetQidui() uint32
- func (m *SArchieve) GetQing() uint32
- func (m *SArchieve) GetQingdui() uint32
- func (m *SArchieve) GetQinglongdui() uint32
- func (m *SArchieve) GetQingqi() uint32
- func (m *SArchieve) GetSinglecoin() uint32
- func (m *SArchieve) GetTianhu() uint32
- func (m *SArchieve) GetUserid() string
- func (*SArchieve) ProtoMessage()
- func (m *SArchieve) Reset()
- func (m *SArchieve) String() string
- type SBroadcastChat
- type SBroadcastChatText
- func (m *SBroadcastChatText) GetCode() uint32
- func (m *SBroadcastChatText) GetContent() []byte
- func (m *SBroadcastChatText) GetError() uint32
- func (m *SBroadcastChatText) GetSeat() uint32
- func (*SBroadcastChatText) ProtoMessage()
- func (m *SBroadcastChatText) Reset()
- func (m *SBroadcastChatText) String() string
- type SBroken
- type SBuild
- type SBuy
- type SChangeNickname
- type SChangeSex
- type SChenmi
- type SComein
- func (m *SComein) GetCode() uint32
- func (m *SComein) GetError() uint32
- func (m *SComein) GetPosition() uint32
- func (m *SComein) GetRoom() *ProtoRoom
- func (m *SComein) GetRtype() uint32
- func (m *SComein) GetUserinfo() []*ProtoUser
- func (*SComein) ProtoMessage()
- func (m *SComein) Reset()
- func (m *SComein) String() string
- type SConfig
- type SCreatePrivateRoom
- type SDeal
- type SDelAllPost
- type SDelPost
- type SDelReadPost
- type SDiscard
- func (m *SDiscard) GetCard() uint32
- func (m *SDiscard) GetCode() uint32
- func (m *SDiscard) GetError() uint32
- func (m *SDiscard) GetSeat() uint32
- func (m *SDiscard) GetTing() uint32
- func (m *SDiscard) GetValue() int64
- func (*SDiscard) ProtoMessage()
- func (m *SDiscard) Reset()
- func (m *SDiscard) String() string
- type SDraw
- func (m *SDraw) GetCard() uint32
- func (m *SDraw) GetCards() []byte
- func (m *SDraw) GetCode() uint32
- func (m *SDraw) GetError() uint32
- func (m *SDraw) GetKong() uint32
- func (m *SDraw) GetRemainder() uint32
- func (m *SDraw) GetValue() int64
- func (*SDraw) ProtoMessage()
- func (m *SDraw) Reset()
- func (m *SDraw) String() string
- type SEnterSocialRoom
- func (m *SEnterSocialRoom) GetBeginning() bool
- func (m *SEnterSocialRoom) GetCards() []*ProtoCard
- func (m *SEnterSocialRoom) GetCardsCount() uint32
- func (m *SEnterSocialRoom) GetCode() uint32
- func (m *SEnterSocialRoom) GetConferenceId() string
- func (m *SEnterSocialRoom) GetDice() uint32
- func (m *SEnterSocialRoom) GetError() uint32
- func (m *SEnterSocialRoom) GetHandcards() []byte
- func (m *SEnterSocialRoom) GetKongCount() uint32
- func (m *SEnterSocialRoom) GetLaunchSeat() uint32
- func (m *SEnterSocialRoom) GetLuckyCard() uint32
- func (m *SEnterSocialRoom) GetMa() uint32
- func (m *SEnterSocialRoom) GetMazi() int32
- func (m *SEnterSocialRoom) GetPosition() uint32
- func (m *SEnterSocialRoom) GetReady() bool
- func (m *SEnterSocialRoom) GetRoom() *RoomData
- func (m *SEnterSocialRoom) GetScore() int32
- func (m *SEnterSocialRoom) GetTurn() uint32
- func (m *SEnterSocialRoom) GetUserinfo() []*ProtoUser
- func (m *SEnterSocialRoom) GetValue() int64
- func (m *SEnterSocialRoom) GetVoteAgree() []uint32
- func (m *SEnterSocialRoom) GetVoteDisagree() []uint32
- func (m *SEnterSocialRoom) GetWatchseat() uint32
- func (*SEnterSocialRoom) ProtoMessage()
- func (m *SEnterSocialRoom) Reset()
- func (m *SEnterSocialRoom) String() string
- type SFeedback
- type SGameover
- type SGetActivityRewards
- type SGetCurrency
- func (m *SGetCurrency) GetCode() uint32
- func (m *SGetCurrency) GetCoin() uint32
- func (m *SGetCurrency) GetDiamond() uint32
- func (m *SGetCurrency) GetExchange() uint32
- func (m *SGetCurrency) GetRoomcard() uint32
- func (m *SGetCurrency) GetTicket() uint32
- func (*SGetCurrency) ProtoMessage()
- func (m *SGetCurrency) Reset()
- func (m *SGetCurrency) String() string
- type SHttpLogin
- type SHu
- type SIapppayOrder
- type SLaunchVote
- type SLogin
- type SMaiZi
- type SMiguLogin
- type SNotice
- type SOffline
- type SOpenAppendix
- type SOperate
- func (m *SOperate) GetBeseat() uint32
- func (m *SOperate) GetCard() uint32
- func (m *SOperate) GetCode() uint32
- func (m *SOperate) GetDiscontinue() int64
- func (m *SOperate) GetDutycard() uint32
- func (m *SOperate) GetError() uint32
- func (m *SOperate) GetSeat() uint32
- func (m *SOperate) GetValue() int64
- func (*SOperate) ProtoMessage()
- func (m *SOperate) Reset()
- func (m *SOperate) String() string
- type SOtherComein
- type SOtherDraw
- type SPRecordByRid
- func (m *SPRecordByRid) GetAnte() uint32
- func (m *SPRecordByRid) GetCode() uint32
- func (m *SPRecordByRid) GetError() uint32
- func (m *SPRecordByRid) GetInvitecode() string
- func (m *SPRecordByRid) GetList() []*PrivateRecordDetails
- func (m *SPRecordByRid) GetMa() uint32
- func (m *SPRecordByRid) GetRid() uint32
- func (m *SPRecordByRid) GetRname() string
- func (m *SPRecordByRid) GetTime() uint32
- func (m *SPRecordByRid) GetTotalRound() uint32
- func (*SPRecordByRid) ProtoMessage()
- func (m *SPRecordByRid) Reset()
- func (m *SPRecordByRid) String() string
- type SPengKong
- type SPing
- type SPost
- type SPrivateLeave
- type SPrivateOver
- func (m *SPrivateOver) GetCid() uint32
- func (m *SPrivateOver) GetCode() uint32
- func (m *SPrivateOver) GetExpire() uint32
- func (m *SPrivateOver) GetList() []*PrivateScore
- func (m *SPrivateOver) GetRoomid() uint32
- func (m *SPrivateOver) GetRound() uint32
- func (*SPrivateOver) ProtoMessage()
- func (m *SPrivateOver) Reset()
- func (m *SPrivateOver) String() string
- type SPrivateRecord
- type SQiangKong
- type SReadPost
- type SReady
- type SRegist
- type SResource
- type SSetPasswd
- type SStart
- type SStartGame
- type STrade
- type STradeList
- type STradeRecord
- type STradeUserInfo
- func (m *STradeUserInfo) GetAddress() string
- func (m *STradeUserInfo) GetCode() uint32
- func (m *STradeUserInfo) GetError() uint32
- func (m *STradeUserInfo) GetName() string
- func (m *STradeUserInfo) GetPhone() string
- func (*STradeUserInfo) ProtoMessage()
- func (m *STradeUserInfo) Reset()
- func (m *STradeUserInfo) String() string
- type SUpdateActivity
- type SUserData
- type SVote
- type SVoteResult
- type SWaitBroken
- type SWechatLogin
- type SWxpayOrder
- func (m *SWxpayOrder) GetCode() uint32
- func (m *SWxpayOrder) GetError() uint32
- func (m *SWxpayOrder) GetId() uint32
- func (m *SWxpayOrder) GetNoncestr() string
- func (m *SWxpayOrder) GetOrderid() string
- func (m *SWxpayOrder) GetPayreq() string
- func (*SWxpayOrder) ProtoMessage()
- func (m *SWxpayOrder) Reset()
- func (m *SWxpayOrder) String() string
- type SWxpayQuery
- type SZhuang
- type SZhuangDeal
- func (m *SZhuangDeal) GetCards() []byte
- func (m *SZhuangDeal) GetCode() uint32
- func (m *SZhuangDeal) GetDice() uint32
- func (m *SZhuangDeal) GetError() uint32
- func (m *SZhuangDeal) GetLuckyCard() uint32
- func (m *SZhuangDeal) GetValue() int64
- func (*SZhuangDeal) ProtoMessage()
- func (m *SZhuangDeal) Reset()
- func (m *SZhuangDeal) String() string
- type Sdisconnection
- type SysConfig
- func (m *SysConfig) GetDiscardtimeout() uint32
- func (m *SysConfig) GetFeedbackserver() string
- func (m *SysConfig) GetImageserver() string
- func (m *SysConfig) GetShareaddr() string
- func (m *SysConfig) GetVersion() string
- func (*SysConfig) ProtoMessage()
- func (m *SysConfig) Reset()
- func (m *SysConfig) String() string
- type UserData
- func (m *UserData) GetAddress() string
- func (m *UserData) GetBirth() uint32
- func (m *UserData) GetBuild() string
- func (m *UserData) GetCoin() uint32
- func (m *UserData) GetCreatetime() uint32
- func (m *UserData) GetDiamond() uint32
- func (m *UserData) GetEmail() string
- func (m *UserData) GetExchange() uint32
- func (m *UserData) GetExp() uint32
- func (m *UserData) GetInvitecode() string
- func (m *UserData) GetIp() uint32
- func (m *UserData) GetLost() uint32
- func (m *UserData) GetNickname() string
- func (m *UserData) GetOnline() bool
- func (m *UserData) GetPhone() string
- func (m *UserData) GetPhoto() string
- func (m *UserData) GetPing() uint32
- func (m *UserData) GetPlatform() uint32
- func (m *UserData) GetRoomcard() uint32
- func (m *UserData) GetRoomid() uint32
- func (m *UserData) GetRoomtype() uint32
- func (m *UserData) GetRupt() uint32
- func (m *UserData) GetSex() uint32
- func (m *UserData) GetSign() string
- func (m *UserData) GetSound() bool
- func (m *UserData) GetStatus() uint32
- func (m *UserData) GetTerminal() string
- func (m *UserData) GetTicket() uint32
- func (m *UserData) GetToken() string
- func (m *UserData) GetUserid() string
- func (m *UserData) GetVip() uint32
- func (m *UserData) GetWin() uint32
- func (*UserData) ProtoMessage()
- func (m *UserData) Reset()
- func (m *UserData) String() string
- type WidgetData
Constants ¶
const Default_CActivity_Code uint32 = 9010
const Default_CApplePay_Code uint32 = 9052
const Default_CArchieve_Code uint32 = 1904
const Default_CBroadcastChatText_Code uint32 = 2043
const Default_CBroadcastChat_Code uint32 = 2044
const Default_CBroken_Code uint32 = 2007
const Default_CBuild_Code uint32 = 9007
const Default_CBuy_Code uint32 = 9006
const Default_CChangeNickname_Code uint32 = 1901
const Default_CChangeSex_Code uint32 = 1902
const Default_CComeinRoomid_Code uint32 = 2003
const Default_CComein_Code uint32 = 2000
const Default_CConfig_Code uint32 = 4000
const Default_CCreatePrivateRoom_Code uint32 = 7010
const Default_CDelAllPost_Code uint32 = 7704
const Default_CDelPost_Code uint32 = 7702
const Default_CDelReadPost_Code uint32 = 7703
const Default_CDiscard_Code uint32 = 2006
const Default_CEnterSocialRoom_Code uint32 = 7001
const Default_CFeedback_Code uint32 = 9002
const Default_CGetActivityRewards_Code uint32 = 9011
const Default_CGetCurrency_Code uint32 = 5001
const Default_CHttpLogin_Code uint32 = 1026
const Default_CHu_Code uint32 = 2030
const Default_CIapppayOrder_Code uint32 = 9050
const Default_CLaunchVote_Code uint32 = 7014
const Default_CLogin_Code uint32 = 1000
const Default_CMaiZi_Code uint32 = 2084
const Default_CMiguLogin_Code uint32 = 1001
const Default_CNotice_Code uint32 = 9003
const Default_COpenAppendix_Code uint32 = 7705
const Default_COperate_Code uint32 = 2012
const Default_CPRecordByRid_Code uint32 = 7019
const Default_CPing_Code uint32 = 9000
const Default_CPost_Code uint32 = 7701
const Default_CPrivateLeave_Code uint32 = 7006
const Default_CPrivateRecord_Code uint32 = 7017
const Default_CQiangKong_Code uint32 = 2048
const Default_CReadPost_Code uint32 = 7706
const Default_CReady_Code uint32 = 7008
const Default_CRegist_Code uint32 = 1022
const Default_CSetPasswd_Code uint32 = 1023
const Default_CStartGame_Code uint32 = 7012
const Default_CTradeList_Code uint32 = 9020
const Default_CTradeRecord_Code uint32 = 9021
const Default_CTradeUserInfo_Code uint32 = 9022
const Default_CTrade_Code uint32 = 9023
const Default_CUserData_Code uint32 = 1020
const Default_CVote_Code uint32 = 7015
const Default_CWechatLogin_Code uint32 = 1024
const Default_CWxpayOrder_Code uint32 = 9053
const Default_CWxpayQuery_Code uint32 = 9054
const Default_ReLogin_Code uint32 = 1010
const Default_ReLogin_Error uint32 = 0
const Default_SActivity_Code uint32 = 9010
const Default_SActivity_Error uint32 = 0
const Default_SApplePay_Code uint32 = 9052
const Default_SApplePay_Error uint32 = 0
const Default_SArchieve_Code uint32 = 1904
const Default_SArchieve_Error uint32 = 0
const Default_SBroadcastChatText_Code uint32 = 2043
const Default_SBroadcastChatText_Error uint32 = 0
const Default_SBroadcastChat_Code uint32 = 2044
const Default_SBroadcastChat_Error uint32 = 0
const Default_SBroken_Code uint32 = 2007
const Default_SBroken_Error uint32 = 0
const Default_SBuild_Code uint32 = 9007
const Default_SBuild_Error uint32 = 0
const Default_SBuy_Code uint32 = 9006
const Default_SBuy_Error uint32 = 0
const Default_SChangeNickname_Code uint32 = 1901
const Default_SChangeNickname_Error uint32 = 0
const Default_SChangeSex_Code uint32 = 1902
const Default_SChangeSex_Error uint32 = 0
const Default_SChenmi_Code uint32 = 1021
const Default_SComein_Code uint32 = 2000
const Default_SComein_Error uint32 = 0
const Default_SConfig_Code uint32 = 4000
const Default_SConfig_Error uint32 = 0
const Default_SCreatePrivateRoom_Code uint32 = 7010
const Default_SCreatePrivateRoom_Error uint32 = 0
const Default_SDeal_Code uint32 = 2004
const Default_SDeal_Error uint32 = 0
const Default_SDelAllPost_Code uint32 = 7704
const Default_SDelAllPost_Error uint32 = 0
const Default_SDelPost_Code uint32 = 7702
const Default_SDelPost_Error uint32 = 0
const Default_SDelReadPost_Code uint32 = 7703
const Default_SDelReadPost_Error uint32 = 0
const Default_SDiscard_Code uint32 = 2006
const Default_SDiscard_Error uint32 = 0
const Default_SDraw_Code uint32 = 2005
const Default_SDraw_Error uint32 = 0
const Default_SEnterSocialRoom_Code uint32 = 7001
const Default_SEnterSocialRoom_Error uint32 = 0
const Default_SFeedback_Code uint32 = 9002
const Default_SFeedback_Error uint32 = 0
const Default_SGameover_Code uint32 = 2028
const Default_SGetActivityRewards_Code uint32 = 9011
const Default_SGetActivityRewards_Error uint32 = 0
const Default_SGetCurrency_Code uint32 = 5001
const Default_SHttpLogin_Code uint32 = 1026
const Default_SHttpLogin_Error uint32 = 0
const Default_SHu_Code uint32 = 2030
const Default_SHu_Error uint32 = 0
const Default_SIapppayOrder_Code uint32 = 9050
const Default_SIapppayOrder_Error uint32 = 0
const Default_SLaunchVote_Code uint32 = 7014
const Default_SLogin_Code uint32 = 1000
const Default_SLogin_Error uint32 = 0
const Default_SMaiZi_Code uint32 = 2084
const Default_SMaiZi_Error uint32 = 0
const Default_SMiguLogin_Code uint32 = 1001
const Default_SMiguLogin_Error uint32 = 0
const Default_SNotice_Code uint32 = 9003
const Default_SNotice_Error uint32 = 0
const Default_SOffline_Code uint32 = 2086
const Default_SOpenAppendix_Code uint32 = 7705
const Default_SOpenAppendix_Error uint32 = 0
const Default_SOperate_Code uint32 = 2012
const Default_SOperate_Error uint32 = 0
const Default_SOtherComein_Code uint32 = 2001
const Default_SOtherComein_Error uint32 = 0
const Default_SOtherDraw_Code uint32 = 2016
const Default_SOtherDraw_Error uint32 = 0
const Default_SPRecordByRid_Code uint32 = 7019
const Default_SPRecordByRid_Error uint32 = 0
const Default_SPengKong_Code uint32 = 2013
const Default_SPing_Code uint32 = 9000
const Default_SPing_Error uint32 = 0
const Default_SPost_Code uint32 = 7701
const Default_SPost_Error uint32 = 0
const Default_SPrivateLeave_Code uint32 = 7006
const Default_SPrivateLeave_Error uint32 = 0
const Default_SPrivateOver_Code uint32 = 7009
const Default_SPrivateRecord_Code uint32 = 7017
const Default_SPrivateRecord_Error uint32 = 0
const Default_SQiangKong_Code uint32 = 2048
const Default_SQiangKong_Error uint32 = 0
const Default_SReadPost_Code uint32 = 7706
const Default_SReadPost_Error uint32 = 0
const Default_SReady_Code uint32 = 7008
const Default_SReady_Error uint32 = 0
const Default_SRegist_Code uint32 = 1022
const Default_SRegist_Error uint32 = 0
const Default_SResource_Code uint32 = 5000
const Default_SSetPasswd_Code uint32 = 1023
const Default_SSetPasswd_Error uint32 = 0
const Default_SStartGame_Code uint32 = 7012
const Default_SStartGame_Error uint32 = 0
const Default_SStart_Code uint32 = 7011
const Default_STradeList_Code uint32 = 9020
const Default_STradeList_Error uint32 = 0
const Default_STradeRecord_Code uint32 = 9021
const Default_STradeRecord_Error uint32 = 0
const Default_STradeUserInfo_Code uint32 = 9022
const Default_STradeUserInfo_Error uint32 = 0
const Default_STrade_Code uint32 = 9023
const Default_STrade_Error uint32 = 0
const Default_SUpdateActivity_Code uint32 = 9012
const Default_SUserData_Code uint32 = 1020
const Default_SUserData_Error uint32 = 0
const Default_SVoteResult_Code uint32 = 7016
const Default_SVote_Code uint32 = 7015
const Default_SWaitBroken_Code uint32 = 2008
const Default_SWechatLogin_Code uint32 = 1024
const Default_SWechatLogin_Error uint32 = 0
const Default_SWxpayOrder_Code uint32 = 9053
const Default_SWxpayOrder_Error uint32 = 0
const Default_SWxpayQuery_Code uint32 = 9054
const Default_SWxpayQuery_Error uint32 = 0
const Default_SZhuangDeal_Code uint32 = 2037
const Default_SZhuangDeal_Error uint32 = 0
const Default_SZhuang_Code uint32 = 2002
const Default_SZhuang_Error uint32 = 0
const Default_Sdisconnection_Code uint32 = 1032
const Default_Sdisconnection_Error uint32 = 0
Variables ¶
var Error_name = map[int32]string{
13009: "UsernameOrPwdError",
13010: "UsernameEmpty",
13012: "RegistError",
13011: "PwdEmpty",
13016: "PhoneRegisted",
13017: "PhoneNumberError",
13018: "PwdFormatError",
13019: "PhoneNumberEnpty",
14001: "UserDataNotExist",
14003: "WechatLoingFailReAuth",
14004: "GetWechatUserInfoFail",
14006: "HTTP_LOGIN_EXPIRE",
14007: "HTTP_LOGIN_TOKEN_FAIL",
14008: "HTTP_LOGIN_USERDATA_NIL",
14009: "HTTP_LOGIN_USERID_NIL",
14010: "HTTP_LOGIN_USER_NOT_REGIST",
20002: "NotInRoomCannotLeave",
20001: "GameStartedCannotLeave",
20003: "NotYourTurn",
20004: "BuyAlready",
20005: "NoOperate",
20006: "NoStarted",
20008: "GameRoundIllegal",
20009: "GameMaiziIllegal",
20007: "CardValueZero",
20018: "NotInRoom",
20019: "NotEnoughCoin",
20023: "StartedNotKick",
30012: "CreateRoomFail",
30016: "RoomNotExist",
30018: "RoomFull",
30019: "NotInPrivateRoom",
30032: "RunningNotVote",
30033: "VotingCantLaunchVote",
30034: "NotVoteTime",
40002: "NameTooLong",
40004: "SexValueRangeout",
40005: "FeedfackError",
40007: "NotEnough_ROOM_CARD",
40008: "NoticeListEnpty",
40009: "DataOutOfRange",
62001: "IpayOrderFail",
69001: "PostboxEmpty",
69002: "PostNotExist",
69003: "AppendixNotExist",
68004: "PrivateRecordEmpty",
}
var Error_value = map[string]int32{
"UsernameOrPwdError": 13009,
"UsernameEmpty": 13010,
"RegistError": 13012,
"PwdEmpty": 13011,
"PhoneRegisted": 13016,
"PhoneNumberError": 13017,
"PwdFormatError": 13018,
"PhoneNumberEnpty": 13019,
"UserDataNotExist": 14001,
"WechatLoingFailReAuth": 14003,
"GetWechatUserInfoFail": 14004,
"HTTP_LOGIN_EXPIRE": 14006,
"HTTP_LOGIN_TOKEN_FAIL": 14007,
"HTTP_LOGIN_USERDATA_NIL": 14008,
"HTTP_LOGIN_USERID_NIL": 14009,
"HTTP_LOGIN_USER_NOT_REGIST": 14010,
"NotInRoomCannotLeave": 20002,
"GameStartedCannotLeave": 20001,
"NotYourTurn": 20003,
"BuyAlready": 20004,
"NoOperate": 20005,
"NoStarted": 20006,
"GameRoundIllegal": 20008,
"GameMaiziIllegal": 20009,
"CardValueZero": 20007,
"NotInRoom": 20018,
"NotEnoughCoin": 20019,
"StartedNotKick": 20023,
"CreateRoomFail": 30012,
"RoomNotExist": 30016,
"RoomFull": 30018,
"NotInPrivateRoom": 30019,
"RunningNotVote": 30032,
"VotingCantLaunchVote": 30033,
"NotVoteTime": 30034,
"NameTooLong": 40002,
"SexValueRangeout": 40004,
"FeedfackError": 40005,
"NotEnough_ROOM_CARD": 40007,
"NoticeListEnpty": 40008,
"DataOutOfRange": 40009,
"IpayOrderFail": 62001,
"PostboxEmpty": 69001,
"PostNotExist": 69002,
"AppendixNotExist": 69003,
"PrivateRecordEmpty": 68004,
}
Functions ¶
This section is empty.
Types ¶
type CActivity ¶
type CActivity struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9010" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
获取活动列表
func (*CActivity) ProtoMessage ¶
func (*CActivity) ProtoMessage()
type CApplePay ¶
type CApplePay struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9052" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Receipt *string `protobuf:"bytes,3,req,name=receipt" json:"receipt,omitempty"` XXX_unrecognized []byte `json:"-"` }
苹果支付
func (*CApplePay) GetReceipt ¶
func (*CApplePay) ProtoMessage ¶
func (*CApplePay) ProtoMessage()
type CArchieve ¶
type CArchieve struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1904" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` XXX_unrecognized []byte `json:"-"` }
战绩
func (*CArchieve) ProtoMessage ¶
func (*CArchieve) ProtoMessage()
type CBroadcastChat ¶
type CBroadcastChat struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2044" json:"code,omitempty"` Content []byte `protobuf:"bytes,2,req,name=content" json:"content,omitempty"` XXX_unrecognized []byte `json:"-"` }
房间广播语音聊天
func (*CBroadcastChat) GetCode ¶
func (m *CBroadcastChat) GetCode() uint32
func (*CBroadcastChat) GetContent ¶
func (m *CBroadcastChat) GetContent() []byte
func (*CBroadcastChat) ProtoMessage ¶
func (*CBroadcastChat) ProtoMessage()
func (*CBroadcastChat) Reset ¶
func (m *CBroadcastChat) Reset()
func (*CBroadcastChat) String ¶
func (m *CBroadcastChat) String() string
type CBroadcastChatText ¶
type CBroadcastChatText struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2043" json:"code,omitempty"` Content []byte `protobuf:"bytes,2,req,name=content" json:"content,omitempty"` XXX_unrecognized []byte `json:"-"` }
房间广播文字聊天
func (*CBroadcastChatText) GetCode ¶
func (m *CBroadcastChatText) GetCode() uint32
func (*CBroadcastChatText) GetContent ¶
func (m *CBroadcastChatText) GetContent() []byte
func (*CBroadcastChatText) ProtoMessage ¶
func (*CBroadcastChatText) ProtoMessage()
func (*CBroadcastChatText) Reset ¶
func (m *CBroadcastChatText) Reset()
func (*CBroadcastChatText) String ¶
func (m *CBroadcastChatText) String() string
type CBroken ¶
type CBroken struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2007" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家打骰子
func (*CBroken) ProtoMessage ¶
func (*CBroken) ProtoMessage()
type CBuild ¶
type CBuild struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9007" json:"code,omitempty"` Id *string `protobuf:"bytes,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
绑定玩家id
func (*CBuild) ProtoMessage ¶
func (*CBuild) ProtoMessage()
type CBuy ¶
type CBuy struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9006" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
商城
func (*CBuy) ProtoMessage ¶
func (*CBuy) ProtoMessage()
type CChangeNickname ¶
type CChangeNickname struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1901" json:"code,omitempty"` Nickname *string `protobuf:"bytes,2,req,name=nickname" json:"nickname,omitempty"` XXX_unrecognized []byte `json:"-"` }
更改用户名
func (*CChangeNickname) GetCode ¶
func (m *CChangeNickname) GetCode() uint32
func (*CChangeNickname) GetNickname ¶
func (m *CChangeNickname) GetNickname() string
func (*CChangeNickname) ProtoMessage ¶
func (*CChangeNickname) ProtoMessage()
func (*CChangeNickname) Reset ¶
func (m *CChangeNickname) Reset()
func (*CChangeNickname) String ¶
func (m *CChangeNickname) String() string
type CChangeSex ¶
type CChangeSex struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1902" json:"code,omitempty"` Sex *uint32 `protobuf:"varint,2,req,name=sex" json:"sex,omitempty"` XXX_unrecognized []byte `json:"-"` }
更改用户性别
func (*CChangeSex) GetCode ¶
func (m *CChangeSex) GetCode() uint32
func (*CChangeSex) GetSex ¶
func (m *CChangeSex) GetSex() uint32
func (*CChangeSex) ProtoMessage ¶
func (*CChangeSex) ProtoMessage()
func (*CChangeSex) Reset ¶
func (m *CChangeSex) Reset()
func (*CChangeSex) String ¶
func (m *CChangeSex) String() string
type CComein ¶
type CComein struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2000" json:"code,omitempty"` Rtype *uint32 `protobuf:"varint,2,req,name=rtype" json:"rtype,omitempty"` XXX_unrecognized []byte `json:"-"` }
匹配并进入房间
func (*CComein) ProtoMessage ¶
func (*CComein) ProtoMessage()
type CComeinRoomid ¶
type CComeinRoomid struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2003" json:"code,omitempty"` Roomid *uint32 `protobuf:"varint,2,req,name=roomid" json:"roomid,omitempty"` XXX_unrecognized []byte `json:"-"` }
进入指定房间 响应2000
func (*CComeinRoomid) GetCode ¶
func (m *CComeinRoomid) GetCode() uint32
func (*CComeinRoomid) GetRoomid ¶
func (m *CComeinRoomid) GetRoomid() uint32
func (*CComeinRoomid) ProtoMessage ¶
func (*CComeinRoomid) ProtoMessage()
func (*CComeinRoomid) Reset ¶
func (m *CComeinRoomid) Reset()
func (*CComeinRoomid) String ¶
func (m *CComeinRoomid) String() string
type CConfig ¶
type CConfig struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=4000" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
获取游戏全局配置数据
func (*CConfig) ProtoMessage ¶
func (*CConfig) ProtoMessage()
type CCreatePrivateRoom ¶
type CCreatePrivateRoom struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7010" json:"code,omitempty"` Rname *string `protobuf:"bytes,2,req,name=rname" json:"rname,omitempty"` Rtype *uint32 `protobuf:"varint,3,req,name=rtype" json:"rtype,omitempty"` Maizi *bool `protobuf:"varint,4,req,name=maizi" json:"maizi,omitempty"` Ante *uint32 `protobuf:"varint,5,req,name=ante" json:"ante,omitempty"` Round *uint32 `protobuf:"varint,6,req,name=round" json:"round,omitempty"` Payment *uint32 `protobuf:"varint,7,req,name=payment" json:"payment,omitempty"` Ma *uint32 `protobuf:"varint,8,req,name=ma" json:"ma,omitempty"` Longitude *string `protobuf:"bytes,10,req,name=longitude" json:"longitude,omitempty"` Latitude *string `protobuf:"bytes,11,req,name=latitude" json:"latitude,omitempty"` XXX_unrecognized []byte `json:"-"` }
进入房间7001,离开房间7006,准备游戏7008 私人局,创建房间
func (*CCreatePrivateRoom) GetAnte ¶
func (m *CCreatePrivateRoom) GetAnte() uint32
func (*CCreatePrivateRoom) GetCode ¶
func (m *CCreatePrivateRoom) GetCode() uint32
func (*CCreatePrivateRoom) GetLatitude ¶
func (m *CCreatePrivateRoom) GetLatitude() string
func (*CCreatePrivateRoom) GetLongitude ¶
func (m *CCreatePrivateRoom) GetLongitude() string
func (*CCreatePrivateRoom) GetMa ¶
func (m *CCreatePrivateRoom) GetMa() uint32
func (*CCreatePrivateRoom) GetMaizi ¶
func (m *CCreatePrivateRoom) GetMaizi() bool
func (*CCreatePrivateRoom) GetPayment ¶
func (m *CCreatePrivateRoom) GetPayment() uint32
func (*CCreatePrivateRoom) GetRname ¶
func (m *CCreatePrivateRoom) GetRname() string
func (*CCreatePrivateRoom) GetRound ¶
func (m *CCreatePrivateRoom) GetRound() uint32
func (*CCreatePrivateRoom) GetRtype ¶
func (m *CCreatePrivateRoom) GetRtype() uint32
func (*CCreatePrivateRoom) ProtoMessage ¶
func (*CCreatePrivateRoom) ProtoMessage()
func (*CCreatePrivateRoom) Reset ¶
func (m *CCreatePrivateRoom) Reset()
func (*CCreatePrivateRoom) String ¶
func (m *CCreatePrivateRoom) String() string
type CDelAllPost ¶
type CDelAllPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7704" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CDelAllPost) GetCode ¶
func (m *CDelAllPost) GetCode() uint32
func (*CDelAllPost) ProtoMessage ¶
func (*CDelAllPost) ProtoMessage()
func (*CDelAllPost) Reset ¶
func (m *CDelAllPost) Reset()
func (*CDelAllPost) String ¶
func (m *CDelAllPost) String() string
type CDelPost ¶
type CDelPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7702" json:"code,omitempty"` Postid *uint32 `protobuf:"varint,2,req,name=postid" json:"postid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CDelPost) ProtoMessage ¶
func (*CDelPost) ProtoMessage()
type CDelReadPost ¶
type CDelReadPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7703" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CDelReadPost) GetCode ¶
func (m *CDelReadPost) GetCode() uint32
func (*CDelReadPost) ProtoMessage ¶
func (*CDelReadPost) ProtoMessage()
func (*CDelReadPost) Reset ¶
func (m *CDelReadPost) Reset()
func (*CDelReadPost) String ¶
func (m *CDelReadPost) String() string
type CDiscard ¶
type CDiscard struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2006" json:"code,omitempty"` Value *int64 `protobuf:"varint,2,req,name=value" json:"value,omitempty"` Card *uint32 `protobuf:"varint,3,req,name=card" json:"card,omitempty"` XXX_unrecognized []byte `json:"-"` }
出牌
func (*CDiscard) ProtoMessage ¶
func (*CDiscard) ProtoMessage()
type CEnterSocialRoom ¶
type CEnterSocialRoom struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7001" json:"code,omitempty"` Invitecode *string `protobuf:"bytes,2,req,name=invitecode" json:"invitecode,omitempty"` Longitude *string `protobuf:"bytes,4,req,name=longitude" json:"longitude,omitempty"` Latitude *string `protobuf:"bytes,5,req,name=latitude" json:"latitude,omitempty"` XXX_unrecognized []byte `json:"-"` }
进入私人房间,包括观众,断线重连,私人房间进入拍桌全部通用接口
func (*CEnterSocialRoom) GetCode ¶
func (m *CEnterSocialRoom) GetCode() uint32
func (*CEnterSocialRoom) GetInvitecode ¶
func (m *CEnterSocialRoom) GetInvitecode() string
func (*CEnterSocialRoom) GetLatitude ¶
func (m *CEnterSocialRoom) GetLatitude() string
func (*CEnterSocialRoom) GetLongitude ¶
func (m *CEnterSocialRoom) GetLongitude() string
func (*CEnterSocialRoom) ProtoMessage ¶
func (*CEnterSocialRoom) ProtoMessage()
func (*CEnterSocialRoom) Reset ¶
func (m *CEnterSocialRoom) Reset()
func (*CEnterSocialRoom) String ¶
func (m *CEnterSocialRoom) String() string
type CFeedback ¶
type CFeedback struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9002" json:"code,omitempty"` Content *string `protobuf:"bytes,2,req,name=content" json:"content,omitempty"` Kind *uint32 `protobuf:"varint,3,req,name=kind" json:"kind,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CFeedback) GetContent ¶
func (*CFeedback) ProtoMessage ¶
func (*CFeedback) ProtoMessage()
type CGetActivityRewards ¶
type CGetActivityRewards struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9011" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
活动领奖
func (*CGetActivityRewards) GetCode ¶
func (m *CGetActivityRewards) GetCode() uint32
func (*CGetActivityRewards) GetId ¶
func (m *CGetActivityRewards) GetId() uint32
func (*CGetActivityRewards) ProtoMessage ¶
func (*CGetActivityRewards) ProtoMessage()
func (*CGetActivityRewards) Reset ¶
func (m *CGetActivityRewards) Reset()
func (*CGetActivityRewards) String ¶
func (m *CGetActivityRewards) String() string
type CGetCurrency ¶
type CGetCurrency struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=5001" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
获取虚拟货币
func (*CGetCurrency) GetCode ¶
func (m *CGetCurrency) GetCode() uint32
func (*CGetCurrency) ProtoMessage ¶
func (*CGetCurrency) ProtoMessage()
func (*CGetCurrency) Reset ¶
func (m *CGetCurrency) Reset()
func (*CGetCurrency) String ¶
func (m *CGetCurrency) String() string
type CHttpLogin ¶
type CHttpLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1026" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` Timestamp *uint32 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"` Createtime *uint32 `protobuf:"varint,4,req,name=createtime" json:"createtime,omitempty"` Token *string `protobuf:"bytes,5,req,name=token" json:"token,omitempty"` XXX_unrecognized []byte `json:"-"` }
http登陆获取登录令牌后登录游戏服
func (*CHttpLogin) GetCode ¶
func (m *CHttpLogin) GetCode() uint32
func (*CHttpLogin) GetCreatetime ¶
func (m *CHttpLogin) GetCreatetime() uint32
func (*CHttpLogin) GetTimestamp ¶
func (m *CHttpLogin) GetTimestamp() uint32
func (*CHttpLogin) GetToken ¶
func (m *CHttpLogin) GetToken() string
func (*CHttpLogin) GetUserid ¶
func (m *CHttpLogin) GetUserid() string
func (*CHttpLogin) ProtoMessage ¶
func (*CHttpLogin) ProtoMessage()
func (*CHttpLogin) Reset ¶
func (m *CHttpLogin) Reset()
func (*CHttpLogin) String ¶
func (m *CHttpLogin) String() string
type CHu ¶
type CHu struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2030" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
胡牌独立接口,胡牌根碰杠接口分离,主要时胡牌算法比较复杂,单独方便处理, 代码量少
func (*CHu) ProtoMessage ¶
func (*CHu) ProtoMessage()
type CIapppayOrder ¶
type CIapppayOrder struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9050" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
爱贝支付 - 下单
func (*CIapppayOrder) GetCode ¶
func (m *CIapppayOrder) GetCode() uint32
func (*CIapppayOrder) GetId ¶
func (m *CIapppayOrder) GetId() uint32
func (*CIapppayOrder) ProtoMessage ¶
func (*CIapppayOrder) ProtoMessage()
func (*CIapppayOrder) Reset ¶
func (m *CIapppayOrder) Reset()
func (*CIapppayOrder) String ¶
func (m *CIapppayOrder) String() string
type CLaunchVote ¶
type CLaunchVote struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7014" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局,发起投票申请解散房间
func (*CLaunchVote) GetCode ¶
func (m *CLaunchVote) GetCode() uint32
func (*CLaunchVote) ProtoMessage ¶
func (*CLaunchVote) ProtoMessage()
func (*CLaunchVote) Reset ¶
func (m *CLaunchVote) Reset()
func (*CLaunchVote) String ¶
func (m *CLaunchVote) String() string
type CLogin ¶
type CLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1000" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,opt,name=userid" json:"userid,omitempty"` Phone *string `protobuf:"bytes,3,opt,name=phone" json:"phone,omitempty"` Password *string `protobuf:"bytes,4,req,name=password" json:"password,omitempty"` XXX_unrecognized []byte `json:"-"` }
登陆
func (*CLogin) GetPassword ¶
func (*CLogin) ProtoMessage ¶
func (*CLogin) ProtoMessage()
type CMaiZi ¶
type CMaiZi struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2084" json:"code,omitempty"` Count *uint32 `protobuf:"varint,2,req,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
买子,有点类似卡五星的"漂"
func (*CMaiZi) ProtoMessage ¶
func (*CMaiZi) ProtoMessage()
type CMiguLogin ¶
type CMiguLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1001" json:"code,omitempty"` Sessionkey *string `protobuf:"bytes,2,opt,name=sessionkey" json:"sessionkey,omitempty"` XXX_unrecognized []byte `json:"-"` }
咪咕登陆
func (*CMiguLogin) GetCode ¶
func (m *CMiguLogin) GetCode() uint32
func (*CMiguLogin) GetSessionkey ¶
func (m *CMiguLogin) GetSessionkey() string
func (*CMiguLogin) ProtoMessage ¶
func (*CMiguLogin) ProtoMessage()
func (*CMiguLogin) Reset ¶
func (m *CMiguLogin) Reset()
func (*CMiguLogin) String ¶
func (m *CMiguLogin) String() string
type CNotice ¶
type CNotice struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9003" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
公告
func (*CNotice) ProtoMessage ¶
func (*CNotice) ProtoMessage()
type COpenAppendix ¶
type COpenAppendix struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7705" json:"code,omitempty"` Postid *uint32 `protobuf:"varint,2,req,name=postid" json:"postid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*COpenAppendix) GetCode ¶
func (m *COpenAppendix) GetCode() uint32
func (*COpenAppendix) GetPostid ¶
func (m *COpenAppendix) GetPostid() uint32
func (*COpenAppendix) ProtoMessage ¶
func (*COpenAppendix) ProtoMessage()
func (*COpenAppendix) Reset ¶
func (m *COpenAppendix) Reset()
func (*COpenAppendix) String ¶
func (m *COpenAppendix) String() string
type COperate ¶
type COperate struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2012" json:"code,omitempty"` Card *uint32 `protobuf:"varint,2,req,name=card" json:"card,omitempty"` Value *int64 `protobuf:"varint,3,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家碰杠操作 碰 PENG uint32 = 2 << 0 明杠 MING_KONG uint32 = 2 << 1 暗杠 AN_KONG uint32 = 2 << 2 补杠 BU_KONG uint32 = 2 << 3
func (*COperate) ProtoMessage ¶
func (*COperate) ProtoMessage()
type CPRecordByRid ¶
type CPRecordByRid struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7019" json:"code,omitempty"` Rid *uint32 `protobuf:"varint,2,req,name=rid" json:"rid,omitempty"` XXX_unrecognized []byte `json:"-"` }
根据私人房房间号,获取记录该房间所以记录
func (*CPRecordByRid) GetCode ¶
func (m *CPRecordByRid) GetCode() uint32
func (*CPRecordByRid) GetRid ¶
func (m *CPRecordByRid) GetRid() uint32
func (*CPRecordByRid) ProtoMessage ¶
func (*CPRecordByRid) ProtoMessage()
func (*CPRecordByRid) Reset ¶
func (m *CPRecordByRid) Reset()
func (*CPRecordByRid) String ¶
func (m *CPRecordByRid) String() string
type CPing ¶
type CPing struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9000" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CPing) ProtoMessage ¶
func (*CPing) ProtoMessage()
type CPost ¶
type CPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7701" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CPost) ProtoMessage ¶
func (*CPost) ProtoMessage()
type CPrivateLeave ¶
type CPrivateLeave struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7006" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局离开房间
func (*CPrivateLeave) GetCode ¶
func (m *CPrivateLeave) GetCode() uint32
func (*CPrivateLeave) ProtoMessage ¶
func (*CPrivateLeave) ProtoMessage()
func (*CPrivateLeave) Reset ¶
func (m *CPrivateLeave) Reset()
func (*CPrivateLeave) String ¶
func (m *CPrivateLeave) String() string
type CPrivateRecord ¶
type CPrivateRecord struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7017" json:"code,omitempty"` Page *uint32 `protobuf:"varint,2,req,name=page" json:"page,omitempty"` PageMax *uint32 `protobuf:"varint,3,req,name=pageMax" json:"pageMax,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CPrivateRecord) GetCode ¶
func (m *CPrivateRecord) GetCode() uint32
func (*CPrivateRecord) GetPage ¶
func (m *CPrivateRecord) GetPage() uint32
func (*CPrivateRecord) GetPageMax ¶
func (m *CPrivateRecord) GetPageMax() uint32
func (*CPrivateRecord) ProtoMessage ¶
func (*CPrivateRecord) ProtoMessage()
func (*CPrivateRecord) Reset ¶
func (m *CPrivateRecord) Reset()
func (*CPrivateRecord) String ¶
func (m *CPrivateRecord) String() string
type CQiangKong ¶
type CQiangKong struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2048" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
抢杠
func (*CQiangKong) GetCode ¶
func (m *CQiangKong) GetCode() uint32
func (*CQiangKong) ProtoMessage ¶
func (*CQiangKong) ProtoMessage()
func (*CQiangKong) Reset ¶
func (m *CQiangKong) Reset()
func (*CQiangKong) String ¶
func (m *CQiangKong) String() string
type CReadPost ¶
type CReadPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7706" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CReadPost) ProtoMessage ¶
func (*CReadPost) ProtoMessage()
type CReady ¶
type CReady struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7008" json:"code,omitempty"` Ready *bool `protobuf:"varint,2,req,name=ready" json:"ready,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局,准备游戏
func (*CReady) ProtoMessage ¶
func (*CReady) ProtoMessage()
type CRegist ¶
type CRegist struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1022" json:"code,omitempty"` Nickname *string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"` Phone *string `protobuf:"bytes,3,opt,name=phone" json:"phone,omitempty"` Pwd *string `protobuf:"bytes,4,req,name=pwd" json:"pwd,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CRegist) GetNickname ¶
func (*CRegist) ProtoMessage ¶
func (*CRegist) ProtoMessage()
type CSetPasswd ¶
type CSetPasswd struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1023" json:"code,omitempty"` Pwd *string `protobuf:"bytes,2,req,name=pwd" json:"pwd,omitempty"` XXX_unrecognized []byte `json:"-"` }
修改密码
func (*CSetPasswd) GetCode ¶
func (m *CSetPasswd) GetCode() uint32
func (*CSetPasswd) GetPwd ¶
func (m *CSetPasswd) GetPwd() string
func (*CSetPasswd) ProtoMessage ¶
func (*CSetPasswd) ProtoMessage()
func (*CSetPasswd) Reset ¶
func (m *CSetPasswd) Reset()
func (*CSetPasswd) String ¶
func (m *CSetPasswd) String() string
type CStartGame ¶
type CStartGame struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7012" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局,房主开始游戏
func (*CStartGame) GetCode ¶
func (m *CStartGame) GetCode() uint32
func (*CStartGame) ProtoMessage ¶
func (*CStartGame) ProtoMessage()
func (*CStartGame) Reset ¶
func (m *CStartGame) Reset()
func (*CStartGame) String ¶
func (m *CStartGame) String() string
type CTrade ¶
type CTrade struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9023" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CTrade) ProtoMessage ¶
func (*CTrade) ProtoMessage()
type CTradeList ¶
type CTradeList struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9020" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
兑换
func (*CTradeList) GetCode ¶
func (m *CTradeList) GetCode() uint32
func (*CTradeList) ProtoMessage ¶
func (*CTradeList) ProtoMessage()
func (*CTradeList) Reset ¶
func (m *CTradeList) Reset()
func (*CTradeList) String ¶
func (m *CTradeList) String() string
type CTradeRecord ¶
type CTradeRecord struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9021" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CTradeRecord) GetCode ¶
func (m *CTradeRecord) GetCode() uint32
func (*CTradeRecord) ProtoMessage ¶
func (*CTradeRecord) ProtoMessage()
func (*CTradeRecord) Reset ¶
func (m *CTradeRecord) Reset()
func (*CTradeRecord) String ¶
func (m *CTradeRecord) String() string
type CTradeUserInfo ¶
type CTradeUserInfo struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9022" json:"code,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Phone *string `protobuf:"bytes,3,req,name=phone" json:"phone,omitempty"` Address *string `protobuf:"bytes,4,req,name=address" json:"address,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CTradeUserInfo) GetAddress ¶
func (m *CTradeUserInfo) GetAddress() string
func (*CTradeUserInfo) GetCode ¶
func (m *CTradeUserInfo) GetCode() uint32
func (*CTradeUserInfo) GetName ¶
func (m *CTradeUserInfo) GetName() string
func (*CTradeUserInfo) GetPhone ¶
func (m *CTradeUserInfo) GetPhone() string
func (*CTradeUserInfo) ProtoMessage ¶
func (*CTradeUserInfo) ProtoMessage()
func (*CTradeUserInfo) Reset ¶
func (m *CTradeUserInfo) Reset()
func (*CTradeUserInfo) String ¶
func (m *CTradeUserInfo) String() string
type CUserData ¶
type CUserData struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1020" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` XXX_unrecognized []byte `json:"-"` }
获取玩家的数据
func (*CUserData) ProtoMessage ¶
func (*CUserData) ProtoMessage()
type CVote ¶
type CVote struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7015" json:"code,omitempty"` Vote *uint32 `protobuf:"varint,2,req,name=vote" json:"vote,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局,发起投票,投票解散房间,如果投票成功,服务器主动推送SKick协议,并且reason字段值为1
func (*CVote) ProtoMessage ¶
func (*CVote) ProtoMessage()
type CWechatLogin ¶
type CWechatLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1024" json:"code,omitempty"` Appid *string `protobuf:"bytes,2,req,name=appid" json:"appid,omitempty"` Secret *string `protobuf:"bytes,3,req,name=secret" json:"secret,omitempty"` CodeId *string `protobuf:"bytes,4,req,name=code_id" json:"code_id,omitempty"` GrantType *string `protobuf:"bytes,5,req,name=grant_type" json:"grant_type,omitempty"` Token *string `protobuf:"bytes,6,req,name=token" json:"token,omitempty"` XXX_unrecognized []byte `json:"-"` }
微信登录登陆
func (*CWechatLogin) GetAppid ¶
func (m *CWechatLogin) GetAppid() string
func (*CWechatLogin) GetCode ¶
func (m *CWechatLogin) GetCode() uint32
func (*CWechatLogin) GetCodeId ¶
func (m *CWechatLogin) GetCodeId() string
func (*CWechatLogin) GetGrantType ¶
func (m *CWechatLogin) GetGrantType() string
func (*CWechatLogin) GetSecret ¶
func (m *CWechatLogin) GetSecret() string
func (*CWechatLogin) GetToken ¶
func (m *CWechatLogin) GetToken() string
func (*CWechatLogin) ProtoMessage ¶
func (*CWechatLogin) ProtoMessage()
func (*CWechatLogin) Reset ¶
func (m *CWechatLogin) Reset()
func (*CWechatLogin) String ¶
func (m *CWechatLogin) String() string
type CWechatShare ¶
type CWechatShare struct {}
分享邀请好友活动
func (*CWechatShare) GetCode ¶
func (m *CWechatShare) GetCode() uint32
func (*CWechatShare) ProtoMessage ¶
func (*CWechatShare) ProtoMessage()
func (*CWechatShare) Reset ¶
func (m *CWechatShare) Reset()
func (*CWechatShare) String ¶
func (m *CWechatShare) String() string
type CWxpayOrder ¶
type CWxpayOrder struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9053" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Body *string `protobuf:"bytes,3,req,name=body" json:"body,omitempty"` XXX_unrecognized []byte `json:"-"` }
微信支付 - 下单
func (*CWxpayOrder) GetBody ¶
func (m *CWxpayOrder) GetBody() string
func (*CWxpayOrder) GetCode ¶
func (m *CWxpayOrder) GetCode() uint32
func (*CWxpayOrder) GetId ¶
func (m *CWxpayOrder) GetId() uint32
func (*CWxpayOrder) ProtoMessage ¶
func (*CWxpayOrder) ProtoMessage()
func (*CWxpayOrder) Reset ¶
func (m *CWxpayOrder) Reset()
func (*CWxpayOrder) String ¶
func (m *CWxpayOrder) String() string
type CWxpayQuery ¶
type CWxpayQuery struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9054" json:"code,omitempty"` Transid *string `protobuf:"bytes,2,req,name=transid" json:"transid,omitempty"` XXX_unrecognized []byte `json:"-"` }
微信支付 - 查询
func (*CWxpayQuery) GetCode ¶
func (m *CWxpayQuery) GetCode() uint32
func (*CWxpayQuery) GetTransid ¶
func (m *CWxpayQuery) GetTransid() string
func (*CWxpayQuery) ProtoMessage ¶
func (*CWxpayQuery) ProtoMessage()
func (*CWxpayQuery) Reset ¶
func (m *CWxpayQuery) Reset()
func (*CWxpayQuery) String ¶
func (m *CWxpayQuery) String() string
type Error ¶
type Error int32
const ( Error_UsernameOrPwdError Error = 13009 Error_UsernameEmpty Error = 13010 Error_RegistError Error = 13012 Error_PwdEmpty Error = 13011 Error_PhoneRegisted Error = 13016 Error_PhoneNumberError Error = 13017 Error_PwdFormatError Error = 13018 Error_PhoneNumberEnpty Error = 13019 Error_UserDataNotExist Error = 14001 Error_WechatLoingFailReAuth Error = 14003 Error_GetWechatUserInfoFail Error = 14004 Error_HTTP_LOGIN_EXPIRE Error = 14006 Error_HTTP_LOGIN_TOKEN_FAIL Error = 14007 Error_HTTP_LOGIN_USERDATA_NIL Error = 14008 Error_HTTP_LOGIN_USERID_NIL Error = 14009 Error_HTTP_LOGIN_USER_NOT_REGIST Error = 14010 Error_NotInRoomCannotLeave Error = 20002 Error_GameStartedCannotLeave Error = 20001 Error_NotYourTurn Error = 20003 Error_BuyAlready Error = 20004 Error_NoOperate Error = 20005 Error_NoStarted Error = 20006 Error_GameRoundIllegal Error = 20008 Error_GameMaiziIllegal Error = 20009 Error_CardValueZero Error = 20007 Error_NotInRoom Error = 20018 Error_NotEnoughCoin Error = 20019 Error_StartedNotKick Error = 20023 Error_CreateRoomFail Error = 30012 Error_RoomNotExist Error = 30016 Error_RoomFull Error = 30018 Error_NotInPrivateRoom Error = 30019 Error_RunningNotVote Error = 30032 Error_VotingCantLaunchVote Error = 30033 Error_NotVoteTime Error = 30034 Error_NameTooLong Error = 40002 Error_SexValueRangeout Error = 40004 Error_FeedfackError Error = 40005 Error_NotEnough_ROOM_CARD Error = 40007 Error_NoticeListEnpty Error = 40008 Error_DataOutOfRange Error = 40009 Error_IpayOrderFail Error = 62001 Error_PostboxEmpty Error = 69001 Error_PostNotExist Error = 69002 Error_AppendixNotExist Error = 69003 Error_PrivateRecordEmpty Error = 68004 )
func (*Error) UnmarshalJSON ¶
type LoginData ¶
type LoginData struct { Userid *string `protobuf:"bytes,1,req,name=userid" json:"userid,omitempty"` Nickname *string `protobuf:"bytes,2,req,name=nickname" json:"nickname,omitempty"` Sex *uint32 `protobuf:"varint,3,req,name=sex" json:"sex,omitempty"` Photo *string `protobuf:"bytes,4,req,name=photo" json:"photo,omitempty"` Roomcard *uint32 `protobuf:"varint,5,req,name=roomcard" json:"roomcard,omitempty"` Parent *string `protobuf:"bytes,6,req,name=parent" json:"parent,omitempty"` Timestamp *uint32 `protobuf:"varint,7,req,name=timestamp" json:"timestamp,omitempty"` Token *string `protobuf:"bytes,8,req,name=token" json:"token,omitempty"` XXX_unrecognized []byte `json:"-"` }
客户端登录时提交到逻辑服的玩家信息
func (*LoginData) GetNickname ¶
func (*LoginData) GetRoomcard ¶
func (*LoginData) GetTimestamp ¶
func (*LoginData) ProtoMessage ¶
func (*LoginData) ProtoMessage()
type Notice ¶
type Notice struct { Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"` Title *string `protobuf:"bytes,3,req,name=title" json:"title,omitempty"` Content *string `protobuf:"bytes,4,req,name=content" json:"content,omitempty"` Time *uint32 `protobuf:"varint,5,req,name=time" json:"time,omitempty"` XXX_unrecognized []byte `json:"-"` }
公告
func (*Notice) GetContent ¶
func (*Notice) ProtoMessage ¶
func (*Notice) ProtoMessage()
type PostAppendixData ¶
type PostAppendixData struct { Postid *uint32 `protobuf:"varint,1,req,name=postid" json:"postid,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Widgets []*WidgetData `protobuf:"bytes,3,rep,name=widgets" json:"widgets,omitempty"` XXX_unrecognized []byte `json:"-"` }
邮箱附件数据
func (*PostAppendixData) GetName ¶
func (m *PostAppendixData) GetName() string
func (*PostAppendixData) GetPostid ¶
func (m *PostAppendixData) GetPostid() uint32
func (*PostAppendixData) GetWidgets ¶
func (m *PostAppendixData) GetWidgets() []*WidgetData
func (*PostAppendixData) ProtoMessage ¶
func (*PostAppendixData) ProtoMessage()
func (*PostAppendixData) Reset ¶
func (m *PostAppendixData) Reset()
func (*PostAppendixData) String ¶
func (m *PostAppendixData) String() string
type PostBoxData ¶
type PostBoxData struct { Title *string `protobuf:"bytes,1,req,name=title" json:"title,omitempty"` Content *string `protobuf:"bytes,2,req,name=content" json:"content,omitempty"` Appendixname *string `protobuf:"bytes,3,req,name=appendixname" json:"appendixname,omitempty"` Expire *uint32 `protobuf:"varint,4,req,name=expire" json:"expire,omitempty"` Sendername *string `protobuf:"bytes,5,req,name=sendername" json:"sendername,omitempty"` Senderuserid *string `protobuf:"bytes,6,req,name=senderuserid" json:"senderuserid,omitempty"` Read *bool `protobuf:"varint,7,req,name=read" json:"read,omitempty"` Draw *bool `protobuf:"varint,8,req,name=draw" json:"draw,omitempty"` Kind *uint32 `protobuf:"varint,9,req,name=kind" json:"kind,omitempty"` Id *uint32 `protobuf:"varint,10,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
邮箱数据
func (*PostBoxData) GetAppendixname ¶
func (m *PostBoxData) GetAppendixname() string
func (*PostBoxData) GetContent ¶
func (m *PostBoxData) GetContent() string
func (*PostBoxData) GetDraw ¶
func (m *PostBoxData) GetDraw() bool
func (*PostBoxData) GetExpire ¶
func (m *PostBoxData) GetExpire() uint32
func (*PostBoxData) GetId ¶
func (m *PostBoxData) GetId() uint32
func (*PostBoxData) GetKind ¶
func (m *PostBoxData) GetKind() uint32
func (*PostBoxData) GetRead ¶
func (m *PostBoxData) GetRead() bool
func (*PostBoxData) GetSendername ¶
func (m *PostBoxData) GetSendername() string
func (*PostBoxData) GetSenderuserid ¶
func (m *PostBoxData) GetSenderuserid() string
func (*PostBoxData) GetTitle ¶
func (m *PostBoxData) GetTitle() string
func (*PostBoxData) ProtoMessage ¶
func (*PostBoxData) ProtoMessage()
func (*PostBoxData) Reset ¶
func (m *PostBoxData) Reset()
func (*PostBoxData) String ¶
func (m *PostBoxData) String() string
type PrivateDetails ¶
type PrivateDetails struct { Uname *string `protobuf:"bytes,1,req,name=uname" json:"uname,omitempty"` Coin *int32 `protobuf:"varint,2,req,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
当局输赢情况
func (*PrivateDetails) GetCoin ¶
func (m *PrivateDetails) GetCoin() int32
func (*PrivateDetails) GetUname ¶
func (m *PrivateDetails) GetUname() string
func (*PrivateDetails) ProtoMessage ¶
func (*PrivateDetails) ProtoMessage()
func (*PrivateDetails) Reset ¶
func (m *PrivateDetails) Reset()
func (*PrivateDetails) String ¶
func (m *PrivateDetails) String() string
type PrivateRecord ¶
type PrivateRecord struct { Time *uint32 `protobuf:"varint,1,req,name=time" json:"time,omitempty"` Rid *uint32 `protobuf:"varint,2,req,name=rid" json:"rid,omitempty"` Invitecode *string `protobuf:"bytes,3,req,name=invitecode" json:"invitecode,omitempty"` Rname *string `protobuf:"bytes,4,req,name=rname" json:"rname,omitempty"` Ante *uint32 `protobuf:"varint,5,req,name=ante" json:"ante,omitempty"` TotalRound *uint32 `protobuf:"varint,6,req,name=totalRound" json:"totalRound,omitempty"` Ma *uint32 `protobuf:"varint,7,req,name=ma" json:"ma,omitempty"` Coin *int32 `protobuf:"varint,8,req,name=coin" json:"coin,omitempty"` Round *uint32 `protobuf:"varint,9,req,name=round" json:"round,omitempty"` List []*PrivateRecordDetails `protobuf:"bytes,10,rep,name=list" json:"list,omitempty"` Lists []*PrivateRecords `protobuf:"bytes,11,rep,name=lists" json:"lists,omitempty"` XXX_unrecognized []byte `json:"-"` }
获取玩家的私人房间记录
func (*PrivateRecord) GetAnte ¶
func (m *PrivateRecord) GetAnte() uint32
func (*PrivateRecord) GetCoin ¶
func (m *PrivateRecord) GetCoin() int32
func (*PrivateRecord) GetInvitecode ¶
func (m *PrivateRecord) GetInvitecode() string
func (*PrivateRecord) GetList ¶
func (m *PrivateRecord) GetList() []*PrivateRecordDetails
func (*PrivateRecord) GetLists ¶
func (m *PrivateRecord) GetLists() []*PrivateRecords
func (*PrivateRecord) GetMa ¶
func (m *PrivateRecord) GetMa() uint32
func (*PrivateRecord) GetRid ¶
func (m *PrivateRecord) GetRid() uint32
func (*PrivateRecord) GetRname ¶
func (m *PrivateRecord) GetRname() string
func (*PrivateRecord) GetRound ¶
func (m *PrivateRecord) GetRound() uint32
func (*PrivateRecord) GetTime ¶
func (m *PrivateRecord) GetTime() uint32
func (*PrivateRecord) GetTotalRound ¶
func (m *PrivateRecord) GetTotalRound() uint32
func (*PrivateRecord) ProtoMessage ¶
func (*PrivateRecord) ProtoMessage()
func (*PrivateRecord) Reset ¶
func (m *PrivateRecord) Reset()
func (*PrivateRecord) String ¶
func (m *PrivateRecord) String() string
type PrivateRecordDetails ¶
type PrivateRecordDetails struct { Seat *uint32 `protobuf:"varint,1,req,name=seat" json:"seat,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` Uname *string `protobuf:"bytes,3,req,name=uname" json:"uname,omitempty"` Sex *uint32 `protobuf:"varint,4,req,name=sex" json:"sex,omitempty"` Photo *string `protobuf:"bytes,5,req,name=photo" json:"photo,omitempty"` Coin *int32 `protobuf:"varint,6,req,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrivateRecordDetails) GetCoin ¶
func (m *PrivateRecordDetails) GetCoin() int32
func (*PrivateRecordDetails) GetPhoto ¶
func (m *PrivateRecordDetails) GetPhoto() string
func (*PrivateRecordDetails) GetSeat ¶
func (m *PrivateRecordDetails) GetSeat() uint32
func (*PrivateRecordDetails) GetSex ¶
func (m *PrivateRecordDetails) GetSex() uint32
func (*PrivateRecordDetails) GetUname ¶
func (m *PrivateRecordDetails) GetUname() string
func (*PrivateRecordDetails) GetUserid ¶
func (m *PrivateRecordDetails) GetUserid() string
func (*PrivateRecordDetails) ProtoMessage ¶
func (*PrivateRecordDetails) ProtoMessage()
func (*PrivateRecordDetails) Reset ¶
func (m *PrivateRecordDetails) Reset()
func (*PrivateRecordDetails) String ¶
func (m *PrivateRecordDetails) String() string
type PrivateRecordForCircle ¶
type PrivateRecordForCircle struct { Rid *uint32 `protobuf:"varint,1,req,name=rid" json:"rid,omitempty"` Rname *string `protobuf:"bytes,2,req,name=rname" json:"rname,omitempty"` Time *uint32 `protobuf:"varint,3,req,name=time" json:"time,omitempty"` Rtype *uint32 `protobuf:"varint,4,req,name=rtype" json:"rtype,omitempty"` Coin *int32 `protobuf:"varint,5,req,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrivateRecordForCircle) GetCoin ¶
func (m *PrivateRecordForCircle) GetCoin() int32
func (*PrivateRecordForCircle) GetRid ¶
func (m *PrivateRecordForCircle) GetRid() uint32
func (*PrivateRecordForCircle) GetRname ¶
func (m *PrivateRecordForCircle) GetRname() string
func (*PrivateRecordForCircle) GetRtype ¶
func (m *PrivateRecordForCircle) GetRtype() uint32
func (*PrivateRecordForCircle) GetTime ¶
func (m *PrivateRecordForCircle) GetTime() uint32
func (*PrivateRecordForCircle) ProtoMessage ¶
func (*PrivateRecordForCircle) ProtoMessage()
func (*PrivateRecordForCircle) Reset ¶
func (m *PrivateRecordForCircle) Reset()
func (*PrivateRecordForCircle) String ¶
func (m *PrivateRecordForCircle) String() string
type PrivateRecordForRoom ¶
type PrivateRecordForRoom struct { Uname *string `protobuf:"bytes,1,req,name=uname" json:"uname,omitempty"` Photo *string `protobuf:"bytes,2,req,name=photo" json:"photo,omitempty"` Coin *int32 `protobuf:"varint,3,req,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrivateRecordForRoom) GetCoin ¶
func (m *PrivateRecordForRoom) GetCoin() int32
func (*PrivateRecordForRoom) GetPhoto ¶
func (m *PrivateRecordForRoom) GetPhoto() string
func (*PrivateRecordForRoom) GetUname ¶
func (m *PrivateRecordForRoom) GetUname() string
func (*PrivateRecordForRoom) ProtoMessage ¶
func (*PrivateRecordForRoom) ProtoMessage()
func (*PrivateRecordForRoom) Reset ¶
func (m *PrivateRecordForRoom) Reset()
func (*PrivateRecordForRoom) String ¶
func (m *PrivateRecordForRoom) String() string
type PrivateRecords ¶
type PrivateRecords struct { Round *uint32 `protobuf:"varint,1,req,name=round" json:"round,omitempty"` List []*PrivateDetails `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` XXX_unrecognized []byte `json:"-"` }
一局一局展示协议
func (*PrivateRecords) GetList ¶
func (m *PrivateRecords) GetList() []*PrivateDetails
func (*PrivateRecords) GetRound ¶
func (m *PrivateRecords) GetRound() uint32
func (*PrivateRecords) ProtoMessage ¶
func (*PrivateRecords) ProtoMessage()
func (*PrivateRecords) Reset ¶
func (m *PrivateRecords) Reset()
func (*PrivateRecords) String ¶
func (m *PrivateRecords) String() string
type PrivateScore ¶
type PrivateScore struct { Userid *string `protobuf:"bytes,1,req,name=userid" json:"userid,omitempty"` Score *int32 `protobuf:"varint,2,req,name=score" json:"score,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrivateScore) GetScore ¶
func (m *PrivateScore) GetScore() int32
func (*PrivateScore) GetUserid ¶
func (m *PrivateScore) GetUserid() string
func (*PrivateScore) ProtoMessage ¶
func (*PrivateScore) ProtoMessage()
func (*PrivateScore) Reset ¶
func (m *PrivateScore) Reset()
func (*PrivateScore) String ¶
func (m *PrivateScore) String() string
type ProtoActivity ¶
type ProtoActivity struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"` Count *uint32 `protobuf:"varint,3,req,name=count" json:"count,omitempty"` Rewards *uint32 `protobuf:"varint,4,req,name=rewards" json:"rewards,omitempty"` Starttime *uint32 `protobuf:"varint,5,req,name=starttime" json:"starttime,omitempty"` Endtime *uint32 `protobuf:"varint,6,req,name=endtime" json:"endtime,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ProtoActivity) GetCount ¶
func (m *ProtoActivity) GetCount() uint32
func (*ProtoActivity) GetEndtime ¶
func (m *ProtoActivity) GetEndtime() uint32
func (*ProtoActivity) GetId ¶
func (m *ProtoActivity) GetId() uint32
func (*ProtoActivity) GetRewards ¶
func (m *ProtoActivity) GetRewards() uint32
func (*ProtoActivity) GetStarttime ¶
func (m *ProtoActivity) GetStarttime() uint32
func (*ProtoActivity) GetType ¶
func (m *ProtoActivity) GetType() uint32
func (*ProtoActivity) ProtoMessage ¶
func (*ProtoActivity) ProtoMessage()
func (*ProtoActivity) Reset ¶
func (m *ProtoActivity) Reset()
func (*ProtoActivity) String ¶
func (m *ProtoActivity) String() string
type ProtoCard ¶
type ProtoCard struct { Peng []uint32 `protobuf:"varint,1,rep,name=peng" json:"peng,omitempty"` Kong []uint32 `protobuf:"varint,2,rep,name=kong" json:"kong,omitempty"` Outcards []byte `protobuf:"bytes,3,req,name=outcards" json:"outcards,omitempty"` Seat *uint32 `protobuf:"varint,4,req,name=seat" json:"seat,omitempty"` Chow []uint32 `protobuf:"varint,5,rep,name=chow" json:"chow,omitempty"` XXX_unrecognized []byte `json:"-"` }
明杠 MING_KONG uint32 = 2 << 1 暗杠 AN_KONG uint32 = 2 << 2 补杠 BU_KONG uint32 = 2 << 3
func (*ProtoCard) GetOutcards ¶
func (*ProtoCard) ProtoMessage ¶
func (*ProtoCard) ProtoMessage()
type ProtoCount ¶
type ProtoCount struct { Seat *uint32 `protobuf:"varint,1,req,name=seat" json:"seat,omitempty"` Cards []byte `protobuf:"bytes,2,req,name=cards" json:"cards,omitempty"` Hu *int64 `protobuf:"varint,3,req,name=hu" json:"hu,omitempty"` HuTypeFan *int32 `protobuf:"varint,4,req,name=huTypeFan" json:"huTypeFan,omitempty"` HuFan *int32 `protobuf:"varint,5,req,name=huFan" json:"huFan,omitempty"` Maizi *int32 `protobuf:"varint,7,req,name=maizi" json:"maizi,omitempty"` Total *int32 `protobuf:"varint,8,req,name=total" json:"total,omitempty"` Coin *int32 `protobuf:"varint,9,req,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
结算数据
func (*ProtoCount) GetCards ¶
func (m *ProtoCount) GetCards() []byte
func (*ProtoCount) GetCoin ¶
func (m *ProtoCount) GetCoin() int32
func (*ProtoCount) GetHu ¶
func (m *ProtoCount) GetHu() int64
func (*ProtoCount) GetHuFan ¶
func (m *ProtoCount) GetHuFan() int32
func (*ProtoCount) GetHuTypeFan ¶
func (m *ProtoCount) GetHuTypeFan() int32
func (*ProtoCount) GetMaizi ¶
func (m *ProtoCount) GetMaizi() int32
func (*ProtoCount) GetSeat ¶
func (m *ProtoCount) GetSeat() uint32
func (*ProtoCount) GetTotal ¶
func (m *ProtoCount) GetTotal() int32
func (*ProtoCount) ProtoMessage ¶
func (*ProtoCount) ProtoMessage()
func (*ProtoCount) Reset ¶
func (m *ProtoCount) Reset()
func (*ProtoCount) String ¶
func (m *ProtoCount) String() string
type ProtoRoom ¶
type ProtoRoom struct { Ante *uint32 `protobuf:"varint,1,req,name=ante" json:"ante,omitempty"` Roomid *uint32 `protobuf:"varint,2,req,name=roomid" json:"roomid,omitempty"` Zhuang *uint32 `protobuf:"varint,3,req,name=zhuang" json:"zhuang,omitempty"` XXX_unrecognized []byte `json:"-"` }
房间数据结构
func (*ProtoRoom) ProtoMessage ¶
func (*ProtoRoom) ProtoMessage()
type ProtoTrade ¶
type ProtoTrade struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Count *uint32 `protobuf:"varint,2,req,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ProtoTrade) GetCount ¶
func (m *ProtoTrade) GetCount() uint32
func (*ProtoTrade) GetId ¶
func (m *ProtoTrade) GetId() uint32
func (*ProtoTrade) ProtoMessage ¶
func (*ProtoTrade) ProtoMessage()
func (*ProtoTrade) Reset ¶
func (m *ProtoTrade) Reset()
func (*ProtoTrade) String ¶
func (m *ProtoTrade) String() string
type ProtoTradeRecard ¶
type ProtoTradeRecard struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Time *uint32 `protobuf:"varint,2,req,name=time" json:"time,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ProtoTradeRecard) GetId ¶
func (m *ProtoTradeRecard) GetId() uint32
func (*ProtoTradeRecard) GetTime ¶
func (m *ProtoTradeRecard) GetTime() uint32
func (*ProtoTradeRecard) ProtoMessage ¶
func (*ProtoTradeRecard) ProtoMessage()
func (*ProtoTradeRecard) Reset ¶
func (m *ProtoTradeRecard) Reset()
func (*ProtoTradeRecard) String ¶
func (m *ProtoTradeRecard) String() string
type ProtoUser ¶
type ProtoUser struct { Userid *string `protobuf:"bytes,1,req,name=userid" json:"userid,omitempty"` Nickname *string `protobuf:"bytes,2,req,name=nickname" json:"nickname,omitempty"` Email *string `protobuf:"bytes,3,req,name=email" json:"email,omitempty"` Position *uint32 `protobuf:"varint,4,req,name=position" json:"position,omitempty"` Sex *uint32 `protobuf:"varint,5,req,name=sex" json:"sex,omitempty"` Exp *uint32 `protobuf:"varint,6,req,name=exp" json:"exp,omitempty"` Photo *string `protobuf:"bytes,7,req,name=photo" json:"photo,omitempty"` Address *string `protobuf:"bytes,8,req,name=address" json:"address,omitempty"` Sign *string `protobuf:"bytes,9,req,name=sign" json:"sign,omitempty"` Terminal *string `protobuf:"bytes,10,req,name=terminal" json:"terminal,omitempty"` Coin *uint32 `protobuf:"varint,11,req,name=coin" json:"coin,omitempty"` Roomcard *uint32 `protobuf:"varint,12,req,name=roomcard" json:"roomcard,omitempty"` Exchange *uint32 `protobuf:"varint,13,req,name=exchange" json:"exchange,omitempty"` Ready *bool `protobuf:"varint,14,req,name=ready" json:"ready,omitempty"` Vip *uint32 `protobuf:"varint,15,req,name=vip" json:"vip,omitempty"` Win *uint32 `protobuf:"varint,16,req,name=win" json:"win,omitempty"` Lost *uint32 `protobuf:"varint,17,req,name=lost" json:"lost,omitempty"` Ping *uint32 `protobuf:"varint,18,req,name=ping" json:"ping,omitempty"` Ting *uint32 `protobuf:"varint,19,req,name=ting" json:"ting,omitempty"` Platform *uint32 `protobuf:"varint,20,req,name=platform" json:"platform,omitempty"` Score *int32 `protobuf:"varint,21,req,name=score" json:"score,omitempty"` Maizi *int32 `protobuf:"varint,22,req,name=maizi" json:"maizi,omitempty"` Ip *string `protobuf:"bytes,23,req,name=ip" json:"ip,omitempty"` Offline *bool `protobuf:"varint,24,req,name=offline" json:"offline,omitempty"` Longitude *string `protobuf:"bytes,26,req,name=longitude" json:"longitude,omitempty"` Latitude *string `protobuf:"bytes,27,req,name=latitude" json:"latitude,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家的基础数据
func (*ProtoUser) GetAddress ¶
func (*ProtoUser) GetExchange ¶
func (*ProtoUser) GetLatitude ¶
func (*ProtoUser) GetLongitude ¶
func (*ProtoUser) GetNickname ¶
func (*ProtoUser) GetOffline ¶
func (*ProtoUser) GetPlatform ¶
func (*ProtoUser) GetPosition ¶
func (*ProtoUser) GetRoomcard ¶
func (*ProtoUser) GetTerminal ¶
func (*ProtoUser) ProtoMessage ¶
func (*ProtoUser) ProtoMessage()
type ReLogin ¶
type ReLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1010" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
账户重复登录协议
func (*ReLogin) ProtoMessage ¶
func (*ReLogin) ProtoMessage()
type ResVo ¶
type ResVo struct { Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Count *int32 `protobuf:"varint,3,req,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ResVo) ProtoMessage ¶
func (*ResVo) ProtoMessage()
type RoomAttrube ¶
type RoomAttrube struct { Rtype *uint32 `protobuf:"varint,1,req,name=rtype" json:"rtype,omitempty"` Ante *uint32 `protobuf:"varint,2,req,name=ante" json:"ante,omitempty"` Maxcount *uint32 `protobuf:"varint,3,req,name=maxcount" json:"maxcount,omitempty"` Percent *uint32 `protobuf:"varint,4,req,name=percent" json:"percent,omitempty"` Access *uint32 `protobuf:"varint,5,req,name=access" json:"access,omitempty"` Private *uint32 `protobuf:"varint,6,req,name=private" json:"private,omitempty"` XXX_unrecognized []byte `json:"-"` }
房间数据(后面要和ProtoRoom合并)
func (*RoomAttrube) GetAccess ¶
func (m *RoomAttrube) GetAccess() uint32
func (*RoomAttrube) GetAnte ¶
func (m *RoomAttrube) GetAnte() uint32
func (*RoomAttrube) GetMaxcount ¶
func (m *RoomAttrube) GetMaxcount() uint32
func (*RoomAttrube) GetPercent ¶
func (m *RoomAttrube) GetPercent() uint32
func (*RoomAttrube) GetPrivate ¶
func (m *RoomAttrube) GetPrivate() uint32
func (*RoomAttrube) GetRtype ¶
func (m *RoomAttrube) GetRtype() uint32
func (*RoomAttrube) ProtoMessage ¶
func (*RoomAttrube) ProtoMessage()
func (*RoomAttrube) Reset ¶
func (m *RoomAttrube) Reset()
func (*RoomAttrube) String ¶
func (m *RoomAttrube) String() string
type RoomData ¶
type RoomData struct { Roomid *uint32 `protobuf:"varint,1,req,name=roomid" json:"roomid,omitempty"` Rtype *uint32 `protobuf:"varint,2,req,name=rtype" json:"rtype,omitempty"` Rname *string `protobuf:"bytes,3,req,name=rname" json:"rname,omitempty"` Expire *uint32 `protobuf:"varint,4,req,name=expire" json:"expire,omitempty"` Count *uint32 `protobuf:"varint,5,req,name=count" json:"count,omitempty"` Cid *uint32 `protobuf:"varint,6,req,name=cid" json:"cid,omitempty"` Invitecode *string `protobuf:"bytes,7,req,name=invitecode" json:"invitecode,omitempty"` Audience *uint32 `protobuf:"varint,8,req,name=audience" json:"audience,omitempty"` Pub *uint32 `protobuf:"varint,9,req,name=pub" json:"pub,omitempty"` Maizi *bool `protobuf:"varint,10,req,name=maizi" json:"maizi,omitempty"` Horse *uint32 `protobuf:"varint,11,req,name=horse" json:"horse,omitempty"` Zhuang *uint32 `protobuf:"varint,12,req,name=zhuang" json:"zhuang,omitempty"` Round *uint32 `protobuf:"varint,13,req,name=round" json:"round,omitempty"` Userid *string `protobuf:"bytes,14,req,name=userid" json:"userid,omitempty"` Ma *uint32 `protobuf:"varint,15,req,name=ma" json:"ma,omitempty"` Lian *uint32 `protobuf:"varint,16,req,name=lian" json:"lian,omitempty"` Totalround *uint32 `protobuf:"varint,17,req,name=totalround" json:"totalround,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RoomData) GetAudience ¶
func (*RoomData) GetInvitecode ¶
func (*RoomData) GetTotalround ¶
func (*RoomData) ProtoMessage ¶
func (*RoomData) ProtoMessage()
type SActivity ¶
type SActivity struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9010" json:"code,omitempty"` List []*ProtoActivity `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SActivity) GetList ¶
func (m *SActivity) GetList() []*ProtoActivity
func (*SActivity) ProtoMessage ¶
func (*SActivity) ProtoMessage()
type SApplePay ¶
type SApplePay struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9052" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SApplePay) ProtoMessage ¶
func (*SApplePay) ProtoMessage()
type SArchieve ¶
type SArchieve struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1904" json:"code,omitempty"` Best *string `protobuf:"bytes,2,req,name=best" json:"best,omitempty"` Maxcoin *uint32 `protobuf:"varint,3,req,name=maxcoin" json:"maxcoin,omitempty"` Gaincoin *uint32 `protobuf:"varint,4,req,name=gaincoin" json:"gaincoin,omitempty"` Singlecoin *uint32 `protobuf:"varint,5,req,name=singlecoin" json:"singlecoin,omitempty"` Qinglongdui *uint32 `protobuf:"varint,6,req,name=qinglongdui" json:"qinglongdui,omitempty"` Longqi *uint32 `protobuf:"varint,7,req,name=longqi" json:"longqi,omitempty"` Qingqi *uint32 `protobuf:"varint,8,req,name=qingqi" json:"qingqi,omitempty"` Qingdui *uint32 `protobuf:"varint,9,req,name=qingdui" json:"qingdui,omitempty"` Qing *uint32 `protobuf:"varint,10,req,name=qing" json:"qing,omitempty"` Qidui *uint32 `protobuf:"varint,11,req,name=qidui" json:"qidui,omitempty"` Pengpenghu *uint32 `protobuf:"varint,12,req,name=pengpenghu" json:"pengpenghu,omitempty"` Tianhu *uint32 `protobuf:"varint,13,req,name=tianhu" json:"tianhu,omitempty"` Dihu *uint32 `protobuf:"varint,14,req,name=dihu" json:"dihu,omitempty"` Userid *string `protobuf:"bytes,15,req,name=userid" json:"userid,omitempty"` Hutype *uint32 `protobuf:"varint,16,req,name=hutype" json:"hutype,omitempty"` Error *uint32 `protobuf:"varint,17,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SArchieve) GetGaincoin ¶
func (*SArchieve) GetMaxcoin ¶
func (*SArchieve) GetPengpenghu ¶
func (*SArchieve) GetQingdui ¶
func (*SArchieve) GetQinglongdui ¶
func (*SArchieve) GetSinglecoin ¶
func (*SArchieve) ProtoMessage ¶
func (*SArchieve) ProtoMessage()
type SBroadcastChat ¶
type SBroadcastChat struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2044" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Content []byte `protobuf:"bytes,3,req,name=content" json:"content,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
广播语音聊天
func (*SBroadcastChat) GetCode ¶
func (m *SBroadcastChat) GetCode() uint32
func (*SBroadcastChat) GetContent ¶
func (m *SBroadcastChat) GetContent() []byte
func (*SBroadcastChat) GetError ¶
func (m *SBroadcastChat) GetError() uint32
func (*SBroadcastChat) GetSeat ¶
func (m *SBroadcastChat) GetSeat() uint32
func (*SBroadcastChat) ProtoMessage ¶
func (*SBroadcastChat) ProtoMessage()
func (*SBroadcastChat) Reset ¶
func (m *SBroadcastChat) Reset()
func (*SBroadcastChat) String ¶
func (m *SBroadcastChat) String() string
type SBroadcastChatText ¶
type SBroadcastChatText struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2043" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Content []byte `protobuf:"bytes,3,req,name=content" json:"content,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
广播文字聊天
func (*SBroadcastChatText) GetCode ¶
func (m *SBroadcastChatText) GetCode() uint32
func (*SBroadcastChatText) GetContent ¶
func (m *SBroadcastChatText) GetContent() []byte
func (*SBroadcastChatText) GetError ¶
func (m *SBroadcastChatText) GetError() uint32
func (*SBroadcastChatText) GetSeat ¶
func (m *SBroadcastChatText) GetSeat() uint32
func (*SBroadcastChatText) ProtoMessage ¶
func (*SBroadcastChatText) ProtoMessage()
func (*SBroadcastChatText) Reset ¶
func (m *SBroadcastChatText) Reset()
func (*SBroadcastChatText) String ¶
func (m *SBroadcastChatText) String() string
type SBroken ¶
type SBroken struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2007" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
非广播接口(骰子数据合并到发牌广播数据里)
func (*SBroken) ProtoMessage ¶
func (*SBroken) ProtoMessage()
type SBuild ¶
type SBuild struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9007" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SBuild) ProtoMessage ¶
func (*SBuild) ProtoMessage()
type SBuy ¶
type SBuy struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9006" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SBuy) ProtoMessage ¶
func (*SBuy) ProtoMessage()
type SChangeNickname ¶
type SChangeNickname struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1901" json:"code,omitempty"` Nickname *string `protobuf:"bytes,2,req,name=nickname" json:"nickname,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SChangeNickname) GetCode ¶
func (m *SChangeNickname) GetCode() uint32
func (*SChangeNickname) GetError ¶
func (m *SChangeNickname) GetError() uint32
func (*SChangeNickname) GetNickname ¶
func (m *SChangeNickname) GetNickname() string
func (*SChangeNickname) ProtoMessage ¶
func (*SChangeNickname) ProtoMessage()
func (*SChangeNickname) Reset ¶
func (m *SChangeNickname) Reset()
func (*SChangeNickname) String ¶
func (m *SChangeNickname) String() string
type SChangeSex ¶
type SChangeSex struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1902" json:"code,omitempty"` Sex *uint32 `protobuf:"varint,2,req,name=sex" json:"sex,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SChangeSex) GetCode ¶
func (m *SChangeSex) GetCode() uint32
func (*SChangeSex) GetError ¶
func (m *SChangeSex) GetError() uint32
func (*SChangeSex) GetSex ¶
func (m *SChangeSex) GetSex() uint32
func (*SChangeSex) ProtoMessage ¶
func (*SChangeSex) ProtoMessage()
func (*SChangeSex) Reset ¶
func (m *SChangeSex) Reset()
func (*SChangeSex) String ¶
func (m *SChangeSex) String() string
type SChenmi ¶
type SChenmi struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1021" json:"code,omitempty"` Coin *int32 `protobuf:"varint,2,opt,name=coin" json:"coin,omitempty"` XXX_unrecognized []byte `json:"-"` }
防沉迷限制
func (*SChenmi) ProtoMessage ¶
func (*SChenmi) ProtoMessage()
type SComein ¶
type SComein struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2000" json:"code,omitempty"` Position *uint32 `protobuf:"varint,2,req" json:"Position,omitempty"` Room *ProtoRoom `protobuf:"bytes,3,req,name=room" json:"room,omitempty"` Userinfo []*ProtoUser `protobuf:"bytes,4,rep,name=userinfo" json:"userinfo,omitempty"` Rtype *uint32 `protobuf:"varint,5,req,name=rtype" json:"rtype,omitempty"` Error *uint32 `protobuf:"varint,6,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家进入房间,如果成功,会广播房间其他玩家
func (*SComein) GetPosition ¶
func (*SComein) GetUserinfo ¶
func (*SComein) ProtoMessage ¶
func (*SComein) ProtoMessage()
type SConfig ¶
type SConfig struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=4000" json:"code,omitempty"` Room []*RoomAttrube `protobuf:"bytes,2,rep,name=room" json:"room,omitempty"` Sys *SysConfig `protobuf:"bytes,4,req,name=sys" json:"sys,omitempty"` Error *uint32 `protobuf:"varint,6,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SConfig) GetRoom ¶
func (m *SConfig) GetRoom() []*RoomAttrube
func (*SConfig) ProtoMessage ¶
func (*SConfig) ProtoMessage()
type SCreatePrivateRoom ¶
type SCreatePrivateRoom struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7010" json:"code,omitempty"` Rdata *RoomData `protobuf:"bytes,2,req,name=rdata" json:"rdata,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
返回房间数据,
func (*SCreatePrivateRoom) GetCode ¶
func (m *SCreatePrivateRoom) GetCode() uint32
func (*SCreatePrivateRoom) GetError ¶
func (m *SCreatePrivateRoom) GetError() uint32
func (*SCreatePrivateRoom) GetRdata ¶
func (m *SCreatePrivateRoom) GetRdata() *RoomData
func (*SCreatePrivateRoom) ProtoMessage ¶
func (*SCreatePrivateRoom) ProtoMessage()
func (*SCreatePrivateRoom) Reset ¶
func (m *SCreatePrivateRoom) Reset()
func (*SCreatePrivateRoom) String ¶
func (m *SCreatePrivateRoom) String() string
type SDeal ¶
type SDeal struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2004" json:"code,omitempty"` Dice *uint32 `protobuf:"varint,2,req,name=dice" json:"dice,omitempty"` Cards []byte `protobuf:"bytes,3,req,name=cards" json:"cards,omitempty"` Value *int64 `protobuf:"varint,4,req,name=value" json:"value,omitempty"` LuckyCard *uint32 `protobuf:"varint,5,opt,name=luckyCard" json:"luckyCard,omitempty"` Error *uint32 `protobuf:"varint,6,req,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
发牌,包含两个骰子数字
func (*SDeal) GetLuckyCard ¶
func (*SDeal) ProtoMessage ¶
func (*SDeal) ProtoMessage()
type SDelAllPost ¶
type SDelAllPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7704" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SDelAllPost) GetCode ¶
func (m *SDelAllPost) GetCode() uint32
func (*SDelAllPost) GetError ¶
func (m *SDelAllPost) GetError() uint32
func (*SDelAllPost) ProtoMessage ¶
func (*SDelAllPost) ProtoMessage()
func (*SDelAllPost) Reset ¶
func (m *SDelAllPost) Reset()
func (*SDelAllPost) String ¶
func (m *SDelAllPost) String() string
type SDelPost ¶
type SDelPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7702" json:"code,omitempty"` Postid *uint32 `protobuf:"varint,2,req,name=postid" json:"postid,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SDelPost) ProtoMessage ¶
func (*SDelPost) ProtoMessage()
type SDelReadPost ¶
type SDelReadPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7703" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SDelReadPost) GetCode ¶
func (m *SDelReadPost) GetCode() uint32
func (*SDelReadPost) GetError ¶
func (m *SDelReadPost) GetError() uint32
func (*SDelReadPost) ProtoMessage ¶
func (*SDelReadPost) ProtoMessage()
func (*SDelReadPost) Reset ¶
func (m *SDelReadPost) Reset()
func (*SDelReadPost) String ¶
func (m *SDelReadPost) String() string
type SDiscard ¶
type SDiscard struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2006" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Card *uint32 `protobuf:"varint,3,req,name=card" json:"card,omitempty"` Value *int64 `protobuf:"varint,4,req,name=value" json:"value,omitempty"` Ting *uint32 `protobuf:"varint,5,req,name=ting" json:"ting,omitempty"` Error *uint32 `protobuf:"varint,6,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家出牌广播
func (*SDiscard) ProtoMessage ¶
func (*SDiscard) ProtoMessage()
type SDraw ¶
type SDraw struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2005" json:"code,omitempty"` Card *uint32 `protobuf:"varint,2,opt,name=card" json:"card,omitempty"` Value *int64 `protobuf:"varint,3,opt,name=value" json:"value,omitempty"` Kong *uint32 `protobuf:"varint,4,opt,name=kong" json:"kong,omitempty"` Cards []byte `protobuf:"bytes,5,req,name=cards" json:"cards,omitempty"` Remainder *uint32 `protobuf:"varint,6,opt,name=remainder" json:"remainder,omitempty"` Error *uint32 `protobuf:"varint,7,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
抓牌 明杠 MING_KONG uint32 = 2 << 1 暗杠 AN_KONG uint32 = 2 << 2 补杠 BU_KONG uint32 = 2 << 3
func (*SDraw) GetRemainder ¶
func (*SDraw) ProtoMessage ¶
func (*SDraw) ProtoMessage()
type SEnterSocialRoom ¶
type SEnterSocialRoom struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7001" json:"code,omitempty"` Position *uint32 `protobuf:"varint,2,req" json:"Position,omitempty"` Room *RoomData `protobuf:"bytes,3,req,name=room" json:"room,omitempty"` Userinfo []*ProtoUser `protobuf:"bytes,4,rep,name=userinfo" json:"userinfo,omitempty"` Beginning *bool `protobuf:"varint,5,req,name=beginning" json:"beginning,omitempty"` CardsCount *uint32 `protobuf:"varint,6,req,name=cardsCount" json:"cardsCount,omitempty"` Dice *uint32 `protobuf:"varint,7,req,name=dice" json:"dice,omitempty"` KongCount *uint32 `protobuf:"varint,8,req,name=kongCount" json:"kongCount,omitempty"` LuckyCard *uint32 `protobuf:"varint,9,req,name=luckyCard" json:"luckyCard,omitempty"` Cards []*ProtoCard `protobuf:"bytes,11,rep,name=cards" json:"cards,omitempty"` Turn *uint32 `protobuf:"varint,12,req,name=turn" json:"turn,omitempty"` Handcards []byte `protobuf:"bytes,13,req,name=handcards" json:"handcards,omitempty"` Value *int64 `protobuf:"varint,14,req,name=value" json:"value,omitempty"` Watchseat *uint32 `protobuf:"varint,15,req,name=watchseat" json:"watchseat,omitempty"` Ready *bool `protobuf:"varint,16,req,name=ready" json:"ready,omitempty"` Score *int32 `protobuf:"varint,17,req,name=score" json:"score,omitempty"` Ma *uint32 `protobuf:"varint,18,req,name=ma" json:"ma,omitempty"` LaunchSeat *uint32 `protobuf:"varint,19,req,name=launchSeat" json:"launchSeat,omitempty"` VoteAgree []uint32 `protobuf:"varint,20,rep,name=voteAgree" json:"voteAgree,omitempty"` VoteDisagree []uint32 `protobuf:"varint,21,rep,name=voteDisagree" json:"voteDisagree,omitempty"` ConferenceId *string `protobuf:"bytes,22,req,name=conferenceId" json:"conferenceId,omitempty"` Mazi *int32 `protobuf:"varint,23,req,name=mazi" json:"mazi,omitempty"` Error *uint32 `protobuf:"varint,24,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SEnterSocialRoom) GetBeginning ¶
func (m *SEnterSocialRoom) GetBeginning() bool
func (*SEnterSocialRoom) GetCards ¶
func (m *SEnterSocialRoom) GetCards() []*ProtoCard
func (*SEnterSocialRoom) GetCardsCount ¶
func (m *SEnterSocialRoom) GetCardsCount() uint32
func (*SEnterSocialRoom) GetCode ¶
func (m *SEnterSocialRoom) GetCode() uint32
func (*SEnterSocialRoom) GetConferenceId ¶
func (m *SEnterSocialRoom) GetConferenceId() string
func (*SEnterSocialRoom) GetDice ¶
func (m *SEnterSocialRoom) GetDice() uint32
func (*SEnterSocialRoom) GetError ¶
func (m *SEnterSocialRoom) GetError() uint32
func (*SEnterSocialRoom) GetHandcards ¶
func (m *SEnterSocialRoom) GetHandcards() []byte
func (*SEnterSocialRoom) GetKongCount ¶
func (m *SEnterSocialRoom) GetKongCount() uint32
func (*SEnterSocialRoom) GetLaunchSeat ¶
func (m *SEnterSocialRoom) GetLaunchSeat() uint32
func (*SEnterSocialRoom) GetLuckyCard ¶
func (m *SEnterSocialRoom) GetLuckyCard() uint32
func (*SEnterSocialRoom) GetMa ¶
func (m *SEnterSocialRoom) GetMa() uint32
func (*SEnterSocialRoom) GetMazi ¶
func (m *SEnterSocialRoom) GetMazi() int32
func (*SEnterSocialRoom) GetPosition ¶
func (m *SEnterSocialRoom) GetPosition() uint32
func (*SEnterSocialRoom) GetReady ¶
func (m *SEnterSocialRoom) GetReady() bool
func (*SEnterSocialRoom) GetRoom ¶
func (m *SEnterSocialRoom) GetRoom() *RoomData
func (*SEnterSocialRoom) GetScore ¶
func (m *SEnterSocialRoom) GetScore() int32
func (*SEnterSocialRoom) GetTurn ¶
func (m *SEnterSocialRoom) GetTurn() uint32
func (*SEnterSocialRoom) GetUserinfo ¶
func (m *SEnterSocialRoom) GetUserinfo() []*ProtoUser
func (*SEnterSocialRoom) GetValue ¶
func (m *SEnterSocialRoom) GetValue() int64
func (*SEnterSocialRoom) GetVoteAgree ¶
func (m *SEnterSocialRoom) GetVoteAgree() []uint32
func (*SEnterSocialRoom) GetVoteDisagree ¶
func (m *SEnterSocialRoom) GetVoteDisagree() []uint32
func (*SEnterSocialRoom) GetWatchseat ¶
func (m *SEnterSocialRoom) GetWatchseat() uint32
func (*SEnterSocialRoom) ProtoMessage ¶
func (*SEnterSocialRoom) ProtoMessage()
func (*SEnterSocialRoom) Reset ¶
func (m *SEnterSocialRoom) Reset()
func (*SEnterSocialRoom) String ¶
func (m *SEnterSocialRoom) String() string
type SFeedback ¶
type SFeedback struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9002" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SFeedback) ProtoMessage ¶
func (*SFeedback) ProtoMessage()
type SGameover ¶
type SGameover struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2028" json:"code,omitempty"` HuType *uint32 `protobuf:"varint,2,req,name=huType" json:"huType,omitempty"` PaoSeat *uint32 `protobuf:"varint,3,req,name=paoSeat" json:"paoSeat,omitempty"` Data []*ProtoCount `protobuf:"bytes,4,rep,name=data" json:"data,omitempty"` LianCount *uint32 `protobuf:"varint,5,req,name=lianCount" json:"lianCount,omitempty"` XXX_unrecognized []byte `json:"-"` }
结算广播接口,游戏结束
func (*SGameover) GetData ¶
func (m *SGameover) GetData() []*ProtoCount
func (*SGameover) GetLianCount ¶
func (*SGameover) GetPaoSeat ¶
func (*SGameover) ProtoMessage ¶
func (*SGameover) ProtoMessage()
type SGetActivityRewards ¶
type SGetActivityRewards struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9011" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SGetActivityRewards) GetCode ¶
func (m *SGetActivityRewards) GetCode() uint32
func (*SGetActivityRewards) GetError ¶
func (m *SGetActivityRewards) GetError() uint32
func (*SGetActivityRewards) ProtoMessage ¶
func (*SGetActivityRewards) ProtoMessage()
func (*SGetActivityRewards) Reset ¶
func (m *SGetActivityRewards) Reset()
func (*SGetActivityRewards) String ¶
func (m *SGetActivityRewards) String() string
type SGetCurrency ¶
type SGetCurrency struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=5001" json:"code,omitempty"` Coin *uint32 `protobuf:"varint,2,req,name=coin" json:"coin,omitempty"` Diamond *uint32 `protobuf:"varint,3,req,name=diamond" json:"diamond,omitempty"` Exchange *uint32 `protobuf:"varint,4,req,name=exchange" json:"exchange,omitempty"` Ticket *uint32 `protobuf:"varint,5,req,name=ticket" json:"ticket,omitempty"` Roomcard *uint32 `protobuf:"varint,6,req,name=roomcard" json:"roomcard,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SGetCurrency) GetCode ¶
func (m *SGetCurrency) GetCode() uint32
func (*SGetCurrency) GetCoin ¶
func (m *SGetCurrency) GetCoin() uint32
func (*SGetCurrency) GetDiamond ¶
func (m *SGetCurrency) GetDiamond() uint32
func (*SGetCurrency) GetExchange ¶
func (m *SGetCurrency) GetExchange() uint32
func (*SGetCurrency) GetRoomcard ¶
func (m *SGetCurrency) GetRoomcard() uint32
func (*SGetCurrency) GetTicket ¶
func (m *SGetCurrency) GetTicket() uint32
func (*SGetCurrency) ProtoMessage ¶
func (*SGetCurrency) ProtoMessage()
func (*SGetCurrency) Reset ¶
func (m *SGetCurrency) Reset()
func (*SGetCurrency) String ¶
func (m *SGetCurrency) String() string
type SHttpLogin ¶
type SHttpLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1026" json:"code,omitempty"` Userid *string `protobuf:"bytes,3,req,name=userid" json:"userid,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SHttpLogin) GetCode ¶
func (m *SHttpLogin) GetCode() uint32
func (*SHttpLogin) GetError ¶
func (m *SHttpLogin) GetError() uint32
func (*SHttpLogin) GetUserid ¶
func (m *SHttpLogin) GetUserid() string
func (*SHttpLogin) ProtoMessage ¶
func (*SHttpLogin) ProtoMessage()
func (*SHttpLogin) Reset ¶
func (m *SHttpLogin) Reset()
func (*SHttpLogin) String ¶
func (m *SHttpLogin) String() string
type SHu ¶
type SHu struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2030" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` TargetSeat *uint32 `protobuf:"varint,3,req,name=targetSeat" json:"targetSeat,omitempty"` Card *uint32 `protobuf:"varint,4,req,name=card" json:"card,omitempty"` Error *uint32 `protobuf:"varint,5,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家胡牌,如果成功,会广播房间其他玩家
func (*SHu) GetTargetSeat ¶
func (*SHu) ProtoMessage ¶
func (*SHu) ProtoMessage()
type SIapppayOrder ¶
type SIapppayOrder struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9050" json:"code,omitempty"` Transid *string `protobuf:"bytes,2,req,name=transid" json:"transid,omitempty"` Id *uint32 `protobuf:"varint,3,req,name=id" json:"id,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SIapppayOrder) GetCode ¶
func (m *SIapppayOrder) GetCode() uint32
func (*SIapppayOrder) GetError ¶
func (m *SIapppayOrder) GetError() uint32
func (*SIapppayOrder) GetId ¶
func (m *SIapppayOrder) GetId() uint32
func (*SIapppayOrder) GetTransid ¶
func (m *SIapppayOrder) GetTransid() string
func (*SIapppayOrder) ProtoMessage ¶
func (*SIapppayOrder) ProtoMessage()
func (*SIapppayOrder) Reset ¶
func (m *SIapppayOrder) Reset()
func (*SIapppayOrder) String ¶
func (m *SIapppayOrder) String() string
type SLaunchVote ¶
type SLaunchVote struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7014" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SLaunchVote) GetCode ¶
func (m *SLaunchVote) GetCode() uint32
func (*SLaunchVote) GetError ¶
func (m *SLaunchVote) GetError() uint32
func (*SLaunchVote) GetSeat ¶
func (m *SLaunchVote) GetSeat() uint32
func (*SLaunchVote) ProtoMessage ¶
func (*SLaunchVote) ProtoMessage()
func (*SLaunchVote) Reset ¶
func (m *SLaunchVote) Reset()
func (*SLaunchVote) String ¶
func (m *SLaunchVote) String() string
type SLogin ¶
type SLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1000" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` Unixtime *uint32 `protobuf:"varint,3,req,name=unixtime" json:"unixtime,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SLogin) GetUnixtime ¶
func (*SLogin) ProtoMessage ¶
func (*SLogin) ProtoMessage()
type SMaiZi ¶
type SMaiZi struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2084" json:"code,omitempty"` Count *uint32 `protobuf:"varint,2,req,name=count" json:"count,omitempty"` Seat *uint32 `protobuf:"varint,3,req,name=seat" json:"seat,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
广播接口
func (*SMaiZi) ProtoMessage ¶
func (*SMaiZi) ProtoMessage()
type SMiguLogin ¶
type SMiguLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1001" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SMiguLogin) GetCode ¶
func (m *SMiguLogin) GetCode() uint32
func (*SMiguLogin) GetError ¶
func (m *SMiguLogin) GetError() uint32
func (*SMiguLogin) GetUserid ¶
func (m *SMiguLogin) GetUserid() string
func (*SMiguLogin) ProtoMessage ¶
func (*SMiguLogin) ProtoMessage()
func (*SMiguLogin) Reset ¶
func (m *SMiguLogin) Reset()
func (*SMiguLogin) String ¶
func (m *SMiguLogin) String() string
type SNotice ¶
type SNotice struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9003" json:"code,omitempty"` List []*Notice `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
公告
func (*SNotice) ProtoMessage ¶
func (*SNotice) ProtoMessage()
type SOffline ¶
type SOffline struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2086" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Status *bool `protobuf:"varint,3,req,name=status" json:"status,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家离线和上线通知
func (*SOffline) ProtoMessage ¶
func (*SOffline) ProtoMessage()
type SOpenAppendix ¶
type SOpenAppendix struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7705" json:"code,omitempty"` Data *PostAppendixData `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SOpenAppendix) GetCode ¶
func (m *SOpenAppendix) GetCode() uint32
func (*SOpenAppendix) GetData ¶
func (m *SOpenAppendix) GetData() *PostAppendixData
func (*SOpenAppendix) GetError ¶
func (m *SOpenAppendix) GetError() uint32
func (*SOpenAppendix) ProtoMessage ¶
func (*SOpenAppendix) ProtoMessage()
func (*SOpenAppendix) Reset ¶
func (m *SOpenAppendix) Reset()
func (*SOpenAppendix) String ¶
func (m *SOpenAppendix) String() string
type SOperate ¶
type SOperate struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2012" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Beseat *uint32 `protobuf:"varint,3,req,name=beseat" json:"beseat,omitempty"` Card *uint32 `protobuf:"varint,4,req,name=card" json:"card,omitempty"` Dutycard *uint32 `protobuf:"varint,5,req,name=dutycard" json:"dutycard,omitempty"` Value *int64 `protobuf:"varint,6,req,name=value" json:"value,omitempty"` Discontinue *int64 `protobuf:"varint,7,req,name=discontinue" json:"discontinue,omitempty"` Error *uint32 `protobuf:"varint,8,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
碰杠广播 ,胡牌不在这个接口返回
func (*SOperate) GetDiscontinue ¶
func (*SOperate) GetDutycard ¶
func (*SOperate) ProtoMessage ¶
func (*SOperate) ProtoMessage()
type SOtherComein ¶
type SOtherComein struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2001" json:"code,omitempty"` Userinfo *ProtoUser `protobuf:"bytes,2,req,name=userinfo" json:"userinfo,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
其他玩家进入房间
func (*SOtherComein) GetCode ¶
func (m *SOtherComein) GetCode() uint32
func (*SOtherComein) GetError ¶
func (m *SOtherComein) GetError() uint32
func (*SOtherComein) GetUserinfo ¶
func (m *SOtherComein) GetUserinfo() *ProtoUser
func (*SOtherComein) ProtoMessage ¶
func (*SOtherComein) ProtoMessage()
func (*SOtherComein) Reset ¶
func (m *SOtherComein) Reset()
func (*SOtherComein) String ¶
func (m *SOtherComein) String() string
type SOtherDraw ¶
type SOtherDraw struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2016" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Kong *uint32 `protobuf:"varint,3,opt,name=kong" json:"kong,omitempty"` Remainder *uint32 `protobuf:"varint,4,opt,name=remainder" json:"remainder,omitempty"` Error *uint32 `protobuf:"varint,5,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
其他玩家摸牌
func (*SOtherDraw) GetCode ¶
func (m *SOtherDraw) GetCode() uint32
func (*SOtherDraw) GetError ¶
func (m *SOtherDraw) GetError() uint32
func (*SOtherDraw) GetKong ¶
func (m *SOtherDraw) GetKong() uint32
func (*SOtherDraw) GetRemainder ¶
func (m *SOtherDraw) GetRemainder() uint32
func (*SOtherDraw) GetSeat ¶
func (m *SOtherDraw) GetSeat() uint32
func (*SOtherDraw) ProtoMessage ¶
func (*SOtherDraw) ProtoMessage()
func (*SOtherDraw) Reset ¶
func (m *SOtherDraw) Reset()
func (*SOtherDraw) String ¶
func (m *SOtherDraw) String() string
type SPRecordByRid ¶
type SPRecordByRid struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7019" json:"code,omitempty"` Time *uint32 `protobuf:"varint,2,req,name=time" json:"time,omitempty"` Rid *uint32 `protobuf:"varint,3,req,name=rid" json:"rid,omitempty"` Invitecode *string `protobuf:"bytes,4,req,name=invitecode" json:"invitecode,omitempty"` Rname *string `protobuf:"bytes,5,req,name=rname" json:"rname,omitempty"` Ante *uint32 `protobuf:"varint,6,req,name=ante" json:"ante,omitempty"` TotalRound *uint32 `protobuf:"varint,7,req,name=totalRound" json:"totalRound,omitempty"` Ma *uint32 `protobuf:"varint,8,req,name=ma" json:"ma,omitempty"` List []*PrivateRecordDetails `protobuf:"bytes,9,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,10,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPRecordByRid) GetAnte ¶
func (m *SPRecordByRid) GetAnte() uint32
func (*SPRecordByRid) GetCode ¶
func (m *SPRecordByRid) GetCode() uint32
func (*SPRecordByRid) GetError ¶
func (m *SPRecordByRid) GetError() uint32
func (*SPRecordByRid) GetInvitecode ¶
func (m *SPRecordByRid) GetInvitecode() string
func (*SPRecordByRid) GetList ¶
func (m *SPRecordByRid) GetList() []*PrivateRecordDetails
func (*SPRecordByRid) GetMa ¶
func (m *SPRecordByRid) GetMa() uint32
func (*SPRecordByRid) GetRid ¶
func (m *SPRecordByRid) GetRid() uint32
func (*SPRecordByRid) GetRname ¶
func (m *SPRecordByRid) GetRname() string
func (*SPRecordByRid) GetTime ¶
func (m *SPRecordByRid) GetTime() uint32
func (*SPRecordByRid) GetTotalRound ¶
func (m *SPRecordByRid) GetTotalRound() uint32
func (*SPRecordByRid) ProtoMessage ¶
func (*SPRecordByRid) ProtoMessage()
func (*SPRecordByRid) Reset ¶
func (m *SPRecordByRid) Reset()
func (*SPRecordByRid) String ¶
func (m *SPRecordByRid) String() string
type SPengKong ¶
type SPengKong struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2013" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Card *uint32 `protobuf:"varint,3,req,name=card" json:"card,omitempty"` Value *int64 `protobuf:"varint,4,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
处理前面有玩家胡牌优先操作,如果该玩家跳过胡牌,此协议向有碰和明杠的玩家主动发送
func (*SPengKong) ProtoMessage ¶
func (*SPengKong) ProtoMessage()
type SPing ¶
type SPing struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9000" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPing) ProtoMessage ¶
func (*SPing) ProtoMessage()
type SPost ¶
type SPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7701" json:"code,omitempty"` Data []*PostBoxData `protobuf:"bytes,2,rep,name=data" json:"data,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPost) GetData ¶
func (m *SPost) GetData() []*PostBoxData
func (*SPost) ProtoMessage ¶
func (*SPost) ProtoMessage()
type SPrivateLeave ¶
type SPrivateLeave struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7006" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Error *uint32 `protobuf:"varint,3,req,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPrivateLeave) GetCode ¶
func (m *SPrivateLeave) GetCode() uint32
func (*SPrivateLeave) GetError ¶
func (m *SPrivateLeave) GetError() uint32
func (*SPrivateLeave) GetSeat ¶
func (m *SPrivateLeave) GetSeat() uint32
func (*SPrivateLeave) ProtoMessage ¶
func (*SPrivateLeave) ProtoMessage()
func (*SPrivateLeave) Reset ¶
func (m *SPrivateLeave) Reset()
func (*SPrivateLeave) String ¶
func (m *SPrivateLeave) String() string
type SPrivateOver ¶
type SPrivateOver struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7009" json:"code,omitempty"` Cid *uint32 `protobuf:"varint,2,req,name=cid" json:"cid,omitempty"` Roomid *uint32 `protobuf:"varint,3,req,name=roomid" json:"roomid,omitempty"` Round *uint32 `protobuf:"varint,4,req,name=round" json:"round,omitempty"` Expire *uint32 `protobuf:"varint,5,req,name=expire" json:"expire,omitempty"` List []*PrivateScore `protobuf:"bytes,6,rep,name=list" json:"list,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPrivateOver) GetCid ¶
func (m *SPrivateOver) GetCid() uint32
func (*SPrivateOver) GetCode ¶
func (m *SPrivateOver) GetCode() uint32
func (*SPrivateOver) GetExpire ¶
func (m *SPrivateOver) GetExpire() uint32
func (*SPrivateOver) GetList ¶
func (m *SPrivateOver) GetList() []*PrivateScore
func (*SPrivateOver) GetRoomid ¶
func (m *SPrivateOver) GetRoomid() uint32
func (*SPrivateOver) GetRound ¶
func (m *SPrivateOver) GetRound() uint32
func (*SPrivateOver) ProtoMessage ¶
func (*SPrivateOver) ProtoMessage()
func (*SPrivateOver) Reset ¶
func (m *SPrivateOver) Reset()
func (*SPrivateOver) String ¶
func (m *SPrivateOver) String() string
type SPrivateRecord ¶
type SPrivateRecord struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7017" json:"code,omitempty"` List []*PrivateRecord `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SPrivateRecord) GetCode ¶
func (m *SPrivateRecord) GetCode() uint32
func (*SPrivateRecord) GetError ¶
func (m *SPrivateRecord) GetError() uint32
func (*SPrivateRecord) GetList ¶
func (m *SPrivateRecord) GetList() []*PrivateRecord
func (*SPrivateRecord) ProtoMessage ¶
func (*SPrivateRecord) ProtoMessage()
func (*SPrivateRecord) Reset ¶
func (m *SPrivateRecord) Reset()
func (*SPrivateRecord) String ¶
func (m *SPrivateRecord) String() string
type SQiangKong ¶
type SQiangKong struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2048" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` TargetSeat *uint32 `protobuf:"varint,3,req,name=targetSeat" json:"targetSeat,omitempty"` Card *uint32 `protobuf:"varint,4,req,name=card" json:"card,omitempty"` Error *uint32 `protobuf:"varint,5,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SQiangKong) GetCard ¶
func (m *SQiangKong) GetCard() uint32
func (*SQiangKong) GetCode ¶
func (m *SQiangKong) GetCode() uint32
func (*SQiangKong) GetError ¶
func (m *SQiangKong) GetError() uint32
func (*SQiangKong) GetSeat ¶
func (m *SQiangKong) GetSeat() uint32
func (*SQiangKong) GetTargetSeat ¶
func (m *SQiangKong) GetTargetSeat() uint32
func (*SQiangKong) ProtoMessage ¶
func (*SQiangKong) ProtoMessage()
func (*SQiangKong) Reset ¶
func (m *SQiangKong) Reset()
func (*SQiangKong) String ¶
func (m *SQiangKong) String() string
type SReadPost ¶
type SReadPost struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7706" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SReadPost) ProtoMessage ¶
func (*SReadPost) ProtoMessage()
type SReady ¶
type SReady struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7008" json:"code,omitempty"` Seat *uint32 `protobuf:"varint,2,req,name=seat" json:"seat,omitempty"` Ready *bool `protobuf:"varint,3,req,name=ready" json:"ready,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SReady) ProtoMessage ¶
func (*SReady) ProtoMessage()
type SRegist ¶
type SRegist struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1022" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,opt,name=userid" json:"userid,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SRegist) ProtoMessage ¶
func (*SRegist) ProtoMessage()
type SResource ¶
type SResource struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=5000" json:"code,omitempty"` List []*ResVo `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` XXX_unrecognized []byte `json:"-"` }
更新玩家的金币等经济资源,当玩家的经济资源任何时候有变动,服务器主动推送
func (*SResource) ProtoMessage ¶
func (*SResource) ProtoMessage()
type SSetPasswd ¶
type SSetPasswd struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1023" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SSetPasswd) GetCode ¶
func (m *SSetPasswd) GetCode() uint32
func (*SSetPasswd) GetError ¶
func (m *SSetPasswd) GetError() uint32
func (*SSetPasswd) GetResult ¶
func (m *SSetPasswd) GetResult() uint32
func (*SSetPasswd) ProtoMessage ¶
func (*SSetPasswd) ProtoMessage()
func (*SSetPasswd) Reset ¶
func (m *SSetPasswd) Reset()
func (*SSetPasswd) String ¶
func (m *SSetPasswd) String() string
type SStart ¶
type SStart struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7011" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` XXX_unrecognized []byte `json:"-"` }
私人局,通知房主可以开始游戏
func (*SStart) ProtoMessage ¶
func (*SStart) ProtoMessage()
type SStartGame ¶
type SStartGame struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7012" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SStartGame) GetCode ¶
func (m *SStartGame) GetCode() uint32
func (*SStartGame) GetError ¶
func (m *SStartGame) GetError() uint32
func (*SStartGame) GetResult ¶
func (m *SStartGame) GetResult() uint32
func (*SStartGame) ProtoMessage ¶
func (*SStartGame) ProtoMessage()
func (*SStartGame) Reset ¶
func (m *SStartGame) Reset()
func (*SStartGame) String ¶
func (m *SStartGame) String() string
type STrade ¶
type STrade struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9023" json:"code,omitempty"` Result *uint32 `protobuf:"varint,2,req,name=result" json:"result,omitempty"` Id *uint32 `protobuf:"varint,3,req,name=id" json:"id,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*STrade) ProtoMessage ¶
func (*STrade) ProtoMessage()
type STradeList ¶
type STradeList struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9020" json:"code,omitempty"` List []*ProtoTrade `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*STradeList) GetCode ¶
func (m *STradeList) GetCode() uint32
func (*STradeList) GetError ¶
func (m *STradeList) GetError() uint32
func (*STradeList) GetList ¶
func (m *STradeList) GetList() []*ProtoTrade
func (*STradeList) ProtoMessage ¶
func (*STradeList) ProtoMessage()
func (*STradeList) Reset ¶
func (m *STradeList) Reset()
func (*STradeList) String ¶
func (m *STradeList) String() string
type STradeRecord ¶
type STradeRecord struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9021" json:"code,omitempty"` List []*ProtoTradeRecard `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*STradeRecord) GetCode ¶
func (m *STradeRecord) GetCode() uint32
func (*STradeRecord) GetError ¶
func (m *STradeRecord) GetError() uint32
func (*STradeRecord) GetList ¶
func (m *STradeRecord) GetList() []*ProtoTradeRecard
func (*STradeRecord) ProtoMessage ¶
func (*STradeRecord) ProtoMessage()
func (*STradeRecord) Reset ¶
func (m *STradeRecord) Reset()
func (*STradeRecord) String ¶
func (m *STradeRecord) String() string
type STradeUserInfo ¶
type STradeUserInfo struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9022" json:"code,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Phone *string `protobuf:"bytes,3,req,name=phone" json:"phone,omitempty"` Address *string `protobuf:"bytes,4,req,name=address" json:"address,omitempty"` Error *uint32 `protobuf:"varint,5,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*STradeUserInfo) GetAddress ¶
func (m *STradeUserInfo) GetAddress() string
func (*STradeUserInfo) GetCode ¶
func (m *STradeUserInfo) GetCode() uint32
func (*STradeUserInfo) GetError ¶
func (m *STradeUserInfo) GetError() uint32
func (*STradeUserInfo) GetName ¶
func (m *STradeUserInfo) GetName() string
func (*STradeUserInfo) GetPhone ¶
func (m *STradeUserInfo) GetPhone() string
func (*STradeUserInfo) ProtoMessage ¶
func (*STradeUserInfo) ProtoMessage()
func (*STradeUserInfo) Reset ¶
func (m *STradeUserInfo) Reset()
func (*STradeUserInfo) String ¶
func (m *STradeUserInfo) String() string
type SUpdateActivity ¶
type SUpdateActivity struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9012" json:"code,omitempty"` List []*ProtoActivity `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` XXX_unrecognized []byte `json:"-"` }
更新活动
func (*SUpdateActivity) GetCode ¶
func (m *SUpdateActivity) GetCode() uint32
func (*SUpdateActivity) GetList ¶
func (m *SUpdateActivity) GetList() []*ProtoActivity
func (*SUpdateActivity) ProtoMessage ¶
func (*SUpdateActivity) ProtoMessage()
func (*SUpdateActivity) Reset ¶
func (m *SUpdateActivity) Reset()
func (*SUpdateActivity) String ¶
func (m *SUpdateActivity) String() string
type SUserData ¶
type SUserData struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1020" json:"code,omitempty"` Data *UserData `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` Error *uint32 `protobuf:"varint,3,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SUserData) ProtoMessage ¶
func (*SUserData) ProtoMessage()
type SVote ¶
type SVote struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7015" json:"code,omitempty"` Vote *uint32 `protobuf:"varint,2,req,name=vote" json:"vote,omitempty"` Seat *uint32 `protobuf:"varint,3,req,name=seat" json:"seat,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SVote) ProtoMessage ¶
func (*SVote) ProtoMessage()
type SVoteResult ¶
type SVoteResult struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=7016" json:"code,omitempty"` Vote *uint32 `protobuf:"varint,2,req,name=vote" json:"vote,omitempty"` XXX_unrecognized []byte `json:"-"` }
投票解散房间事件结果,服务器主动推送
func (*SVoteResult) GetCode ¶
func (m *SVoteResult) GetCode() uint32
func (*SVoteResult) GetVote ¶
func (m *SVoteResult) GetVote() uint32
func (*SVoteResult) ProtoMessage ¶
func (*SVoteResult) ProtoMessage()
func (*SVoteResult) Reset ¶
func (m *SVoteResult) Reset()
func (*SVoteResult) String ¶
func (m *SVoteResult) String() string
type SWaitBroken ¶
type SWaitBroken struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2008" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
等待玩家打骰子
func (*SWaitBroken) GetCode ¶
func (m *SWaitBroken) GetCode() uint32
func (*SWaitBroken) ProtoMessage ¶
func (*SWaitBroken) ProtoMessage()
func (*SWaitBroken) Reset ¶
func (m *SWaitBroken) Reset()
func (*SWaitBroken) String ¶
func (m *SWaitBroken) String() string
type SWechatLogin ¶
type SWechatLogin struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1024" json:"code,omitempty"` Userid *string `protobuf:"bytes,2,req,name=userid" json:"userid,omitempty"` Token *string `protobuf:"bytes,3,req,name=token" json:"token,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SWechatLogin) GetCode ¶
func (m *SWechatLogin) GetCode() uint32
func (*SWechatLogin) GetError ¶
func (m *SWechatLogin) GetError() uint32
func (*SWechatLogin) GetToken ¶
func (m *SWechatLogin) GetToken() string
func (*SWechatLogin) GetUserid ¶
func (m *SWechatLogin) GetUserid() string
func (*SWechatLogin) ProtoMessage ¶
func (*SWechatLogin) ProtoMessage()
func (*SWechatLogin) Reset ¶
func (m *SWechatLogin) Reset()
func (*SWechatLogin) String ¶
func (m *SWechatLogin) String() string
type SWxpayOrder ¶
type SWxpayOrder struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9053" json:"code,omitempty"` Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Payreq *string `protobuf:"bytes,3,req,name=payreq" json:"payreq,omitempty"` Orderid *string `protobuf:"bytes,4,req,name=orderid" json:"orderid,omitempty"` Noncestr *string `protobuf:"bytes,5,req,name=noncestr" json:"noncestr,omitempty"` Error *uint32 `protobuf:"varint,6,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SWxpayOrder) GetCode ¶
func (m *SWxpayOrder) GetCode() uint32
func (*SWxpayOrder) GetError ¶
func (m *SWxpayOrder) GetError() uint32
func (*SWxpayOrder) GetId ¶
func (m *SWxpayOrder) GetId() uint32
func (*SWxpayOrder) GetNoncestr ¶
func (m *SWxpayOrder) GetNoncestr() string
func (*SWxpayOrder) GetOrderid ¶
func (m *SWxpayOrder) GetOrderid() string
func (*SWxpayOrder) GetPayreq ¶
func (m *SWxpayOrder) GetPayreq() string
func (*SWxpayOrder) ProtoMessage ¶
func (*SWxpayOrder) ProtoMessage()
func (*SWxpayOrder) Reset ¶
func (m *SWxpayOrder) Reset()
func (*SWxpayOrder) String ¶
func (m *SWxpayOrder) String() string
type SWxpayQuery ¶
type SWxpayQuery struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=9054" json:"code,omitempty"` Orderid *string `protobuf:"bytes,2,req,name=orderid" json:"orderid,omitempty"` Result *uint32 `protobuf:"varint,3,req,name=result" json:"result,omitempty"` Error *uint32 `protobuf:"varint,4,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SWxpayQuery) GetCode ¶
func (m *SWxpayQuery) GetCode() uint32
func (*SWxpayQuery) GetError ¶
func (m *SWxpayQuery) GetError() uint32
func (*SWxpayQuery) GetOrderid ¶
func (m *SWxpayQuery) GetOrderid() string
func (*SWxpayQuery) GetResult ¶
func (m *SWxpayQuery) GetResult() uint32
func (*SWxpayQuery) ProtoMessage ¶
func (*SWxpayQuery) ProtoMessage()
func (*SWxpayQuery) Reset ¶
func (m *SWxpayQuery) Reset()
func (*SWxpayQuery) String ¶
func (m *SWxpayQuery) String() string
type SZhuang ¶
type SZhuang struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2002" json:"code,omitempty"` Zhuang *uint32 `protobuf:"varint,2,req,name=zhuang" json:"zhuang,omitempty"` Lian *uint32 `protobuf:"varint,3,req,name=lian" json:"lian,omitempty"` Watchseat *uint32 `protobuf:"varint,4,req,name=watchseat" json:"watchseat,omitempty"` Error *uint32 `protobuf:"varint,5,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
打庄
func (*SZhuang) GetWatchseat ¶
func (*SZhuang) ProtoMessage ¶
func (*SZhuang) ProtoMessage()
type SZhuangDeal ¶
type SZhuangDeal struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=2037" json:"code,omitempty"` Dice *uint32 `protobuf:"varint,2,req,name=dice" json:"dice,omitempty"` Cards []byte `protobuf:"bytes,3,req,name=cards" json:"cards,omitempty"` Value *int64 `protobuf:"varint,4,opt,name=value" json:"value,omitempty"` LuckyCard *uint32 `protobuf:"varint,5,opt,name=luckyCard" json:"luckyCard,omitempty"` Error *uint32 `protobuf:"varint,6,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
庄家发牌,包含两个骰子数字
func (*SZhuangDeal) GetCards ¶
func (m *SZhuangDeal) GetCards() []byte
func (*SZhuangDeal) GetCode ¶
func (m *SZhuangDeal) GetCode() uint32
func (*SZhuangDeal) GetDice ¶
func (m *SZhuangDeal) GetDice() uint32
func (*SZhuangDeal) GetError ¶
func (m *SZhuangDeal) GetError() uint32
func (*SZhuangDeal) GetLuckyCard ¶
func (m *SZhuangDeal) GetLuckyCard() uint32
func (*SZhuangDeal) GetValue ¶
func (m *SZhuangDeal) GetValue() int64
func (*SZhuangDeal) ProtoMessage ¶
func (*SZhuangDeal) ProtoMessage()
func (*SZhuangDeal) Reset ¶
func (m *SZhuangDeal) Reset()
func (*SZhuangDeal) String ¶
func (m *SZhuangDeal) String() string
type Sdisconnection ¶
type Sdisconnection struct { Code *uint32 `protobuf:"varint,1,opt,name=code,def=1032" json:"code,omitempty"` Error *uint32 `protobuf:"varint,2,opt,name=error,def=0" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
服务器主动断开网络
func (*Sdisconnection) GetCode ¶
func (m *Sdisconnection) GetCode() uint32
func (*Sdisconnection) GetError ¶
func (m *Sdisconnection) GetError() uint32
func (*Sdisconnection) ProtoMessage ¶
func (*Sdisconnection) ProtoMessage()
func (*Sdisconnection) Reset ¶
func (m *Sdisconnection) Reset()
func (*Sdisconnection) String ¶
func (m *Sdisconnection) String() string
type SysConfig ¶
type SysConfig struct { Imageserver *string `protobuf:"bytes,1,req,name=imageserver" json:"imageserver,omitempty"` Discardtimeout *uint32 `protobuf:"varint,2,req,name=discardtimeout" json:"discardtimeout,omitempty"` Version *string `protobuf:"bytes,3,req,name=version" json:"version,omitempty"` Feedbackserver *string `protobuf:"bytes,4,req,name=feedbackserver" json:"feedbackserver,omitempty"` XXX_unrecognized []byte `json:"-"` }
系统配置
func (*SysConfig) GetDiscardtimeout ¶
func (*SysConfig) GetFeedbackserver ¶
func (*SysConfig) GetImageserver ¶
func (*SysConfig) GetShareaddr ¶
func (*SysConfig) GetVersion ¶
func (*SysConfig) ProtoMessage ¶
func (*SysConfig) ProtoMessage()
type UserData ¶
type UserData struct { Userid *string `protobuf:"bytes,1,req,name=userid" json:"userid,omitempty"` Nickname *string `protobuf:"bytes,2,req,name=nickname" json:"nickname,omitempty"` Email *string `protobuf:"bytes,3,req,name=email" json:"email,omitempty"` Phone *string `protobuf:"bytes,4,req,name=phone" json:"phone,omitempty"` Sex *uint32 `protobuf:"varint,5,req,name=sex" json:"sex,omitempty"` Status *uint32 `protobuf:"varint,6,req,name=status" json:"status,omitempty"` Online *bool `protobuf:"varint,7,req,name=online" json:"online,omitempty"` Exp *uint32 `protobuf:"varint,8,req,name=exp" json:"exp,omitempty"` Ip *uint32 `protobuf:"varint,9,req,name=ip" json:"ip,omitempty"` Photo *string `protobuf:"bytes,10,req,name=photo" json:"photo,omitempty"` Address *string `protobuf:"bytes,11,req,name=address" json:"address,omitempty"` Createtime *uint32 `protobuf:"varint,12,req,name=createtime" json:"createtime,omitempty"` Sign *string `protobuf:"bytes,13,req,name=sign" json:"sign,omitempty"` Birth *uint32 `protobuf:"varint,14,req,name=birth" json:"birth,omitempty"` Terminal *string `protobuf:"bytes,15,req,name=terminal" json:"terminal,omitempty"` Coin *uint32 `protobuf:"varint,16,req,name=coin" json:"coin,omitempty"` Roomtype *uint32 `protobuf:"varint,18,req,name=roomtype" json:"roomtype,omitempty"` Roomid *uint32 `protobuf:"varint,19,req,name=roomid" json:"roomid,omitempty"` Invitecode *string `protobuf:"bytes,20,req,name=invitecode" json:"invitecode,omitempty"` Diamond *uint32 `protobuf:"varint,21,req,name=diamond" json:"diamond,omitempty"` Exchange *uint32 `protobuf:"varint,22,req,name=exchange" json:"exchange,omitempty"` Ticket *uint32 `protobuf:"varint,23,req,name=ticket" json:"ticket,omitempty"` Vip *uint32 `protobuf:"varint,24,req,name=vip" json:"vip,omitempty"` Win *uint32 `protobuf:"varint,25,req,name=win" json:"win,omitempty"` Lost *uint32 `protobuf:"varint,26,req,name=lost" json:"lost,omitempty"` Ping *uint32 `protobuf:"varint,27,req,name=ping" json:"ping,omitempty"` Platform *uint32 `protobuf:"varint,28,req,name=platform" json:"platform,omitempty"` Rupt *uint32 `protobuf:"varint,29,req,name=rupt" json:"rupt,omitempty"` Sound *bool `protobuf:"varint,30,req,name=sound" json:"sound,omitempty"` Roomcard *uint32 `protobuf:"varint,31,req,name=roomcard" json:"roomcard,omitempty"` Build *string `protobuf:"bytes,32,req,name=build" json:"build,omitempty"` Token *string `protobuf:"bytes,33,req,name=token" json:"token,omitempty"` XXX_unrecognized []byte `json:"-"` }
玩家的详细数据
func (*UserData) GetAddress ¶
func (*UserData) GetCreatetime ¶
func (*UserData) GetDiamond ¶
func (*UserData) GetExchange ¶
func (*UserData) GetInvitecode ¶
func (*UserData) GetNickname ¶
func (*UserData) GetPlatform ¶
func (*UserData) GetRoomcard ¶
func (*UserData) GetRoomtype ¶
func (*UserData) GetTerminal ¶
func (*UserData) ProtoMessage ¶
func (*UserData) ProtoMessage()
type WidgetData ¶
type WidgetData struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Count *uint32 `protobuf:"varint,2,req,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
道具数据
func (*WidgetData) GetCount ¶
func (m *WidgetData) GetCount() uint32
func (*WidgetData) GetId ¶
func (m *WidgetData) GetId() uint32
func (*WidgetData) ProtoMessage ¶
func (*WidgetData) ProtoMessage()
func (*WidgetData) Reset ¶
func (m *WidgetData) Reset()
func (*WidgetData) String ¶
func (m *WidgetData) String() string