 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type AcceptInviteReq
- func (*AcceptInviteReq) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptInviteReq) GetGroupId() int64
- func (x *AcceptInviteReq) GetInviteeInfo() *PlayerInfo
- func (x *AcceptInviteReq) GetInviterUid() string
- func (*AcceptInviteReq) ProtoMessage()
- func (x *AcceptInviteReq) ProtoReflect() protoreflect.Message
- func (x *AcceptInviteReq) Reset()
- func (x *AcceptInviteReq) String() string
 
- type AcceptInviteRsp
- type BindReq
- func (*BindReq) Descriptor() ([]byte, []int)deprecated
- func (x *BindReq) GetClientExternalIp() string
- func (x *BindReq) GetClientVersion() string
- func (x *BindReq) GetHotfixVersion() string
- func (x *BindReq) GetModeVersions() map[int32]int64
- func (x *BindReq) GetToken() string
- func (x *BindReq) GetUid() string
- func (*BindReq) ProtoMessage()
- func (x *BindReq) ProtoReflect() protoreflect.Message
- func (x *BindReq) Reset()
- func (x *BindReq) String() string
 
- type BindRsp
- func (*BindRsp) Descriptor() ([]byte, []int)deprecated
- func (x *BindRsp) GetGroupInfo() *GroupInfo
- func (x *BindRsp) GetMatchInfo() *MatchInfo
- func (x *BindRsp) GetOnlineState() PlayerOnlineState
- func (*BindRsp) ProtoMessage()
- func (x *BindRsp) ProtoReflect() protoreflect.Message
- func (x *BindRsp) Reset()
- func (x *BindRsp) String() string
 
- type CancelMatchReq
- type CancelMatchRsp
- type ChangeRoleReq
- func (*ChangeRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeRoleReq) GetCaptainUid() string
- func (x *ChangeRoleReq) GetRole() GroupRole
- func (x *ChangeRoleReq) GetTargetUid() string
- func (*ChangeRoleReq) ProtoMessage()
- func (x *ChangeRoleReq) ProtoReflect() protoreflect.Message
- func (x *ChangeRoleReq) Reset()
- func (x *ChangeRoleReq) String() string
 
- type ChangeRoleRsp
- type CommonRsp
- func (*CommonRsp) Descriptor() ([]byte, []int)deprecated
- func (x *CommonRsp) GetCode() RspCode
- func (x *CommonRsp) GetData() []byte
- func (x *CommonRsp) GetMessage() string
- func (x *CommonRsp) GetReqType() ReqType
- func (x *CommonRsp) GetRequestId() string
- func (x *CommonRsp) GetTraceId() string
- func (*CommonRsp) ProtoMessage()
- func (x *CommonRsp) ProtoReflect() protoreflect.Message
- func (x *CommonRsp) Reset()
- func (x *CommonRsp) String() string
 
- type CreateGroupReq
- type CreateGroupRsp
- type DissolveGroupReq
- type DissolveGroupRsp
- type EnterGroupReq
- func (*EnterGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *EnterGroupReq) GetGroupId() int64
- func (x *EnterGroupReq) GetPlayerInfo() *PlayerInfo
- func (x *EnterGroupReq) GetSource() EnterGroupSource
- func (*EnterGroupReq) ProtoMessage()
- func (x *EnterGroupReq) ProtoReflect() protoreflect.Message
- func (x *EnterGroupReq) Reset()
- func (x *EnterGroupReq) String() string
 
- type EnterGroupRsp
- type EnterGroupSource
- func (EnterGroupSource) Descriptor() protoreflect.EnumDescriptor
- func (x EnterGroupSource) Enum() *EnterGroupSource
- func (EnterGroupSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnterGroupSource) Number() protoreflect.EnumNumber
- func (x EnterGroupSource) String() string
- func (EnterGroupSource) Type() protoreflect.EnumType
 
- type ExitGameReq
- type ExitGameRsp
- type ExitGroupReq
- type ExitGroupRsp
- type GameMode
- type GameServerInfo
- func (*GameServerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GameServerInfo) GetHost() string
- func (x *GameServerInfo) GetPort() int32
- func (x *GameServerInfo) GetProtocol() NetProtocol
- func (*GameServerInfo) ProtoMessage()
- func (x *GameServerInfo) ProtoReflect() protoreflect.Message
- func (x *GameServerInfo) Reset()
- func (x *GameServerInfo) String() string
 
- type Glicko2Info
- func (*Glicko2Info) Descriptor() ([]byte, []int)deprecated
- func (x *Glicko2Info) GetMmr() float64
- func (x *Glicko2Info) GetRank() int64
- func (x *Glicko2Info) GetStar() int64
- func (*Glicko2Info) ProtoMessage()
- func (x *Glicko2Info) ProtoReflect() protoreflect.Message
- func (x *Glicko2Info) Reset()
- func (x *Glicko2Info) String() string
 
- type GoatGameAttribute
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfo) GetCaptain() string
- func (x *GroupInfo) GetGameMode() GameMode
- func (x *GroupInfo) GetGroupId() int64
- func (x *GroupInfo) GetModeVersion() int64
- func (x *GroupInfo) GetPlayerInfos() []*GroupPlayerInfo
- func (x *GroupInfo) GetPositions() []bool
- func (*GroupInfo) ProtoMessage()
- func (x *GroupInfo) ProtoReflect() protoreflect.Message
- func (x *GroupInfo) Reset()
- func (x *GroupInfo) String() string
 
- type GroupPlayerInfo
- func (*GroupPlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupPlayerInfo) GetOnlineState() PlayerOnlineState
- func (x *GroupPlayerInfo) GetReady() bool
- func (x *GroupPlayerInfo) GetRole() int32
- func (x *GroupPlayerInfo) GetUid() string
- func (x *GroupPlayerInfo) GetVoiceState() PlayerVoiceState
- func (*GroupPlayerInfo) ProtoMessage()
- func (x *GroupPlayerInfo) ProtoReflect() protoreflect.Message
- func (x *GroupPlayerInfo) Reset()
- func (x *GroupPlayerInfo) String() string
 
- type GroupRole
- type GroupState
- type InviteReq
- type InviteRsp
- type KickPlayerReq
- func (*KickPlayerReq) Descriptor() ([]byte, []int)deprecated
- func (x *KickPlayerReq) GetCaptainUid() string
- func (x *KickPlayerReq) GetKickedUid() string
- func (*KickPlayerReq) ProtoMessage()
- func (x *KickPlayerReq) ProtoReflect() protoreflect.Message
- func (x *KickPlayerReq) Reset()
- func (x *KickPlayerReq) String() string
 
- type KickPlayerRsp
- type MatchInfo
- func (*MatchInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MatchInfo) GetGameMode() GameMode
- func (x *MatchInfo) GetGameServerInfo() *GameServerInfo
- func (x *MatchInfo) GetMatchStrategy() int32
- func (x *MatchInfo) GetMatchedTimeUnix() int64
- func (x *MatchInfo) GetModeVersion() int64
- func (x *MatchInfo) GetRoomId() int64
- func (x *MatchInfo) GetTeams() []*MatchTeamInfo
- func (*MatchInfo) ProtoMessage()
- func (x *MatchInfo) ProtoReflect() protoreflect.Message
- func (x *MatchInfo) Reset()
- func (x *MatchInfo) String() string
 
- type MatchPlayerInfo
- func (*MatchPlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MatchPlayerInfo) GetAttr() *UserAttribute
- func (x *MatchPlayerInfo) GetGroupId() int64
- func (x *MatchPlayerInfo) GetUid() string
- func (*MatchPlayerInfo) ProtoMessage()
- func (x *MatchPlayerInfo) ProtoReflect() protoreflect.Message
- func (x *MatchPlayerInfo) Reset()
- func (x *MatchPlayerInfo) String() string
 
- type MatchTeamInfo
- func (*MatchTeamInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MatchTeamInfo) GetPlayers() []*MatchPlayerInfo
- func (x *MatchTeamInfo) GetTeamId() int32
- func (*MatchTeamInfo) ProtoMessage()
- func (x *MatchTeamInfo) ProtoReflect() protoreflect.Message
- func (x *MatchTeamInfo) Reset()
- func (x *MatchTeamInfo) String() string
 
- type NetProtocol
- func (NetProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x NetProtocol) Enum() *NetProtocol
- func (NetProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetProtocol) Number() protoreflect.EnumNumber
- func (x NetProtocol) String() string
- func (NetProtocol) Type() protoreflect.EnumType
 
- type PlayerInfo
- func (*PlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerInfo) GetGameMode() GameMode
- func (x *PlayerInfo) GetGlicko2Info() *Glicko2Info
- func (x *PlayerInfo) GetModeVersion() int64
- func (x *PlayerInfo) GetRank() int64
- func (x *PlayerInfo) GetStar() int64
- func (x *PlayerInfo) GetUid() string
- func (*PlayerInfo) ProtoMessage()
- func (x *PlayerInfo) ProtoReflect() protoreflect.Message
- func (x *PlayerInfo) Reset()
- func (x *PlayerInfo) String() string
 
- type PlayerOnlineState
- func (PlayerOnlineState) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerOnlineState) Enum() *PlayerOnlineState
- func (PlayerOnlineState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerOnlineState) Number() protoreflect.EnumNumber
- func (x PlayerOnlineState) String() string
- func (PlayerOnlineState) Type() protoreflect.EnumType
 
- type PlayerVoiceState
- func (PlayerVoiceState) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerVoiceState) Enum() *PlayerVoiceState
- func (PlayerVoiceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerVoiceState) Number() protoreflect.EnumNumber
- func (x PlayerVoiceState) String() string
- func (PlayerVoiceState) Type() protoreflect.EnumType
 
- type PushAcceptInvite
- func (*PushAcceptInvite) Descriptor() ([]byte, []int)deprecated
- func (x *PushAcceptInvite) GetInviteeName() string
- func (x *PushAcceptInvite) GetInviteeUid() string
- func (*PushAcceptInvite) ProtoMessage()
- func (x *PushAcceptInvite) ProtoReflect() protoreflect.Message
- func (x *PushAcceptInvite) Reset()
- func (x *PushAcceptInvite) String() string
 
- type PushCancelMatch
- type PushGroupDissolve
- type PushGroupInfo
- type PushGroupState
- type PushInviteMsg
- func (*PushInviteMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PushInviteMsg) GetGameMode() GameMode
- func (x *PushInviteMsg) GetInviteeUid() string
- func (x *PushInviteMsg) GetInviterName() string
- func (x *PushInviteMsg) GetInviterUid() string
- func (x *PushInviteMsg) GetModeVersion() int64
- func (x *PushInviteMsg) GetSource() EnterGroupSource
- func (*PushInviteMsg) ProtoMessage()
- func (x *PushInviteMsg) ProtoReflect() protoreflect.Message
- func (x *PushInviteMsg) Reset()
- func (x *PushInviteMsg) String() string
 
- type PushKick
- type PushMatchInfo
- type PushMsg
- type PushPlayerOnlineState
- func (*PushPlayerOnlineState) Descriptor() ([]byte, []int)deprecated
- func (x *PushPlayerOnlineState) GetOnlineState() PlayerOnlineState
- func (*PushPlayerOnlineState) ProtoMessage()
- func (x *PushPlayerOnlineState) ProtoReflect() protoreflect.Message
- func (x *PushPlayerOnlineState) Reset()
- func (x *PushPlayerOnlineState) String() string
 
- type PushPlayerVoiceState
- func (*PushPlayerVoiceState) Descriptor() ([]byte, []int)deprecated
- func (x *PushPlayerVoiceState) GetUid() string
- func (x *PushPlayerVoiceState) GetVoiceState() PlayerVoiceState
- func (*PushPlayerVoiceState) ProtoMessage()
- func (x *PushPlayerVoiceState) ProtoReflect() protoreflect.Message
- func (x *PushPlayerVoiceState) Reset()
- func (x *PushPlayerVoiceState) String() string
 
- type PushReady
- type PushRefuseInvite
- func (*PushRefuseInvite) Descriptor() ([]byte, []int)deprecated
- func (x *PushRefuseInvite) GetInviteeName() string
- func (x *PushRefuseInvite) GetInviteeUid() string
- func (x *PushRefuseInvite) GetRefuseMsg() string
- func (*PushRefuseInvite) ProtoMessage()
- func (x *PushRefuseInvite) ProtoReflect() protoreflect.Message
- func (x *PushRefuseInvite) Reset()
- func (x *PushRefuseInvite) String() string
 
- type PushType
- type PushUnready
- type ReadyReq
- type ReadyRsp
- type RefuseInviteReq
- func (*RefuseInviteReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefuseInviteReq) GetGroupId() int64
- func (x *RefuseInviteReq) GetInviteeUid() string
- func (x *RefuseInviteReq) GetInviterUid() string
- func (x *RefuseInviteReq) GetRefuseMsg() string
- func (*RefuseInviteReq) ProtoMessage()
- func (x *RefuseInviteReq) ProtoReflect() protoreflect.Message
- func (x *RefuseInviteReq) Reset()
- func (x *RefuseInviteReq) String() string
 
- type RefuseInviteRsp
- type ReqType
- type RspCode
- type SetNearbyJoinGroupReq
- func (*SetNearbyJoinGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetNearbyJoinGroupReq) GetAllow() bool
- func (x *SetNearbyJoinGroupReq) GetUid() string
- func (*SetNearbyJoinGroupReq) ProtoMessage()
- func (x *SetNearbyJoinGroupReq) ProtoReflect() protoreflect.Message
- func (x *SetNearbyJoinGroupReq) Reset()
- func (x *SetNearbyJoinGroupReq) String() string
 
- type SetNearbyJoinGroupRsp
- type SetRecentJoinGroupReq
- func (*SetRecentJoinGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetRecentJoinGroupReq) GetAllow() bool
- func (x *SetRecentJoinGroupReq) GetUid() string
- func (*SetRecentJoinGroupReq) ProtoMessage()
- func (x *SetRecentJoinGroupReq) ProtoReflect() protoreflect.Message
- func (x *SetRecentJoinGroupReq) Reset()
- func (x *SetRecentJoinGroupReq) String() string
 
- type SetRecentJoinGroupRsp
- type SetVoiceStateReq
- func (*SetVoiceStateReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetVoiceStateReq) GetState() PlayerVoiceState
- func (x *SetVoiceStateReq) GetUid() string
- func (*SetVoiceStateReq) ProtoMessage()
- func (x *SetVoiceStateReq) ProtoReflect() protoreflect.Message
- func (x *SetVoiceStateReq) Reset()
- func (x *SetVoiceStateReq) String() string
 
- type SetVoiceStateRsp
- type StartMatchReq
- type StartMatchRsp
- type UnreadyReq
- type UnreadyRsp
- type UploadPlayerAttrReq
- func (*UploadPlayerAttrReq) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPlayerAttrReq) GetAttr() *UserAttribute
- func (x *UploadPlayerAttrReq) GetGoatGameAttr() *GoatGameAttribute
- func (m *UploadPlayerAttrReq) GetType() isUploadPlayerAttrReq_Type
- func (x *UploadPlayerAttrReq) GetUid() string
- func (*UploadPlayerAttrReq) ProtoMessage()
- func (x *UploadPlayerAttrReq) ProtoReflect() protoreflect.Message
- func (x *UploadPlayerAttrReq) Reset()
- func (x *UploadPlayerAttrReq) String() string
 
- type UploadPlayerAttrReq_GoatGameAttr
- type UploadPlayerAttrRsp
- type UserAttribute
- func (*UserAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *UserAttribute) GetAvatar() string
- func (x *UserAttribute) GetNickname() string
- func (x *UserAttribute) GetStar() int64
- func (*UserAttribute) ProtoMessage()
- func (x *UserAttribute) ProtoReflect() protoreflect.Message
- func (x *UserAttribute) Reset()
- func (x *UserAttribute) String() string
 
Constants ¶
This section is empty.
Variables ¶
var ( ReqType_name = map[int32]string{ 0: "REQ_TYPE_BIND", 1: "REQ_TYPE_CREATE_GROUP", 2: "REQ_TYPE_ENTER_GROUP", 3: "REQ_TYPE_EXIT_GROUP", 4: "REQ_TYPE_DISSOLVE_GROUP", 5: "REQ_TYPE_INVITE", 6: "REQ_TYPE_ACCEPT_INVITE", 7: "REQ_TYPE_REFUSE_INVITE", 8: "REQ_TYPE_KICK_PLAYER", 9: "REQ_TYPE_CHANGE_ROLE", 10: "REQ_TYPE_SET_NEARBY_JOIN_GROUP", 11: "REQ_TYPE_SET_RECENT_JOIN_GROUP", 12: "REQ_TYPE_SET_VOICE_STATE", 13: "REQ_TYPE_READY", 14: "REQ_TYPE_UNREADY", 15: "REQ_TYPE_START_MATCH", 16: "REQ_TYPE_CANCEL_MATCH", 17: "REQ_TYPE_UPLOAD_PLAYER_ATTR", 18: "REQ_TYPE_EXIT_GAME", 999: "REQ_TYPE_MATCH_RESPONSE", } ReqType_value = map[string]int32{ "REQ_TYPE_BIND": 0, "REQ_TYPE_CREATE_GROUP": 1, "REQ_TYPE_ENTER_GROUP": 2, "REQ_TYPE_EXIT_GROUP": 3, "REQ_TYPE_DISSOLVE_GROUP": 4, "REQ_TYPE_INVITE": 5, "REQ_TYPE_ACCEPT_INVITE": 6, "REQ_TYPE_REFUSE_INVITE": 7, "REQ_TYPE_KICK_PLAYER": 8, "REQ_TYPE_CHANGE_ROLE": 9, "REQ_TYPE_SET_NEARBY_JOIN_GROUP": 10, "REQ_TYPE_SET_RECENT_JOIN_GROUP": 11, "REQ_TYPE_SET_VOICE_STATE": 12, "REQ_TYPE_READY": 13, "REQ_TYPE_UNREADY": 14, "REQ_TYPE_START_MATCH": 15, "REQ_TYPE_CANCEL_MATCH": 16, "REQ_TYPE_UPLOAD_PLAYER_ATTR": 17, "REQ_TYPE_EXIT_GAME": 18, "REQ_TYPE_MATCH_RESPONSE": 999, } )
Enum value maps for ReqType.
var ( RspCode_name = map[int32]string{ 0: "RSP_CODE_UNKNOWN", 200: "RSP_CODE_SUCCESS", 400: "RSP_CODE_BAD_REQUEST", 401: "RSP_CODE_UNAUTHORIZED", 403: "RSP_CODE_FORBIDDEN", 404: "RSP_CODE_NOT_FOUND", 500: "RSP_CODE_SERVER_ERROR", 4000: "RSP_CODE_USER_ERROR", } RspCode_value = map[string]int32{ "RSP_CODE_UNKNOWN": 0, "RSP_CODE_SUCCESS": 200, "RSP_CODE_BAD_REQUEST": 400, "RSP_CODE_UNAUTHORIZED": 401, "RSP_CODE_FORBIDDEN": 403, "RSP_CODE_NOT_FOUND": 404, "RSP_CODE_SERVER_ERROR": 500, "RSP_CODE_USER_ERROR": 4000, } )
Enum value maps for RspCode.
var ( PushType_name = map[int32]string{ 0: "PUSH_TYPE_UNDEFINED", 1: "PUSH_TYPE_PLAYER_ONLINE_STATE", 2: "PUSH_TYPE_GROUP_INFO", 3: "PUSH_TYPE_INVITE_MSG", 4: "PUSH_TYPE_ACCEPT_INVITE", 5: "PUSH_TYPE_REFUSE_INVITE", 6: "PUSH_TYPE_GROUP_DISSOLVE", 7: "PUSH_TYPE_GROUP_STATE", 8: "PUSH_TYPE_PLAYER_VOICE_STATE", 9: "PUSH_TYPE_KICK_MSG", 10: "PUSH_TYPE_MATCH_SUCCESS", 11: "PUSH_TYPE_CANCEL_MATCH", 12: "PUSH_TYPE_READY", 13: "PUSH_TYPE_UNREADY", } PushType_value = map[string]int32{ "PUSH_TYPE_UNDEFINED": 0, "PUSH_TYPE_PLAYER_ONLINE_STATE": 1, "PUSH_TYPE_GROUP_INFO": 2, "PUSH_TYPE_INVITE_MSG": 3, "PUSH_TYPE_ACCEPT_INVITE": 4, "PUSH_TYPE_REFUSE_INVITE": 5, "PUSH_TYPE_GROUP_DISSOLVE": 6, "PUSH_TYPE_GROUP_STATE": 7, "PUSH_TYPE_PLAYER_VOICE_STATE": 8, "PUSH_TYPE_KICK_MSG": 9, "PUSH_TYPE_MATCH_SUCCESS": 10, "PUSH_TYPE_CANCEL_MATCH": 11, "PUSH_TYPE_READY": 12, "PUSH_TYPE_UNREADY": 13, } )
Enum value maps for PushType.
var ( PlayerOnlineState_name = map[int32]string{ 0: "PLAYER_ONLINE_STATE_OFFLINE", 1: "PLAYER_ONLINE_STATE_ONLINE", 2: "PLAYER_ONLINE_STATE_IN_GROUP", 3: "PLAYER_ONLINE_STATE_IN_MATCH", 4: "PLAYER_ONLINE_STATE_IN_GAME", 5: "PLAYER_ONLINE_STATE_IN_SETTLE", } PlayerOnlineState_value = map[string]int32{ "PLAYER_ONLINE_STATE_OFFLINE": 0, "PLAYER_ONLINE_STATE_ONLINE": 1, "PLAYER_ONLINE_STATE_IN_GROUP": 2, "PLAYER_ONLINE_STATE_IN_MATCH": 3, "PLAYER_ONLINE_STATE_IN_GAME": 4, "PLAYER_ONLINE_STATE_IN_SETTLE": 5, } )
Enum value maps for PlayerOnlineState.
var ( GameMode_name = map[int32]string{ 0: "GAME_MODE_TEST", 905: "GAME_MODE_GOAT_GAME", } GameMode_value = map[string]int32{ "GAME_MODE_TEST": 0, "GAME_MODE_GOAT_GAME": 905, } )
Enum value maps for GameMode.
var ( PlayerVoiceState_name = map[int32]string{ 0: "PLAYER_VOICE_STATE_MUTE", 1: "PLAYER_VOICE_STATE_UNMUTE", } PlayerVoiceState_value = map[string]int32{ "PLAYER_VOICE_STATE_MUTE": 0, "PLAYER_VOICE_STATE_UNMUTE": 1, } )
Enum value maps for PlayerVoiceState.
var ( GroupState_name = map[int32]string{ 0: "GROUP_STATE_INVITE", 1: "GROUP_STATE_MATCH", 2: "GROUP_STATE_GAME", 3: "GROUP_STATE_DISSOLVED", } GroupState_value = map[string]int32{ "GROUP_STATE_INVITE": 0, "GROUP_STATE_MATCH": 1, "GROUP_STATE_GAME": 2, "GROUP_STATE_DISSOLVED": 3, } )
Enum value maps for GroupState.
var ( NetProtocol_name = map[int32]string{ 0: "NET_PROTOCOL_TCP", 1: "NET_PROTOCOL_UDP", 2: "NET_PROTOCOL_WS", 3: "NET_PROTOCOL_WSS", 4: "NET_PROTOCOL_KCP", 5: "NET_PROTOCOL_GRPC", 6: "NET_PROTOCOL_GRPCS", } NetProtocol_value = map[string]int32{ "NET_PROTOCOL_TCP": 0, "NET_PROTOCOL_UDP": 1, "NET_PROTOCOL_WS": 2, "NET_PROTOCOL_WSS": 3, "NET_PROTOCOL_KCP": 4, "NET_PROTOCOL_GRPC": 5, "NET_PROTOCOL_GRPCS": 6, } )
Enum value maps for NetProtocol.
var ( EnterGroupSource_name = map[int32]string{ 0: "ENTER_GROUP_SOURCE_INVITATION", 1: "ENTER_GROUP_SOURCE_NEARBY", 2: "ENTER_GROUP_SOURCE_RECENT", 3: "ENTER_GROUP_SOURCE_FRIEND", 4: "ENTER_GROUP_SOURCE_WORLD_CHANNEL", 5: "ENTER_GROUP_SOURCE_CLAN_CHANNEL", 6: "ENTER_GROUP_SOURCE_SHARE", } EnterGroupSource_value = map[string]int32{ "ENTER_GROUP_SOURCE_INVITATION": 0, "ENTER_GROUP_SOURCE_NEARBY": 1, "ENTER_GROUP_SOURCE_RECENT": 2, "ENTER_GROUP_SOURCE_FRIEND": 3, "ENTER_GROUP_SOURCE_WORLD_CHANNEL": 4, "ENTER_GROUP_SOURCE_CLAN_CHANNEL": 5, "ENTER_GROUP_SOURCE_SHARE": 6, } )
Enum value maps for EnterGroupSource.
var ( GroupRole_name = map[int32]string{ 0: "GROUP_ROLE_NORMAL", 1: "GROUP_ROLE_CAPTAIN", } GroupRole_value = map[string]int32{ "GROUP_ROLE_NORMAL": 0, "GROUP_ROLE_CAPTAIN": 1, } )
Enum value maps for GroupRole.
var File_protos_common_proto protoreflect.FileDescriptor
    var File_protos_match_proto protoreflect.FileDescriptor
    var File_protos_push_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type AcceptInviteReq ¶
type AcceptInviteReq struct {
	InviterUid  string      `protobuf:"bytes,1,opt,name=inviter_uid,json=inviterUid,proto3" json:"inviter_uid,omitempty"`
	InviteeInfo *PlayerInfo `protobuf:"bytes,2,opt,name=invitee_info,json=inviteeInfo,proto3" json:"invitee_info,omitempty"`
	GroupId     int64       `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] AcceptInvite
        
          
            func (*AcceptInviteReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AcceptInviteReq) Descriptor() ([]byte, []int)
Deprecated: Use AcceptInviteReq.ProtoReflect.Descriptor instead.
func (*AcceptInviteReq) GetGroupId ¶
func (x *AcceptInviteReq) GetGroupId() int64
func (*AcceptInviteReq) GetInviteeInfo ¶
func (x *AcceptInviteReq) GetInviteeInfo() *PlayerInfo
func (*AcceptInviteReq) GetInviterUid ¶
func (x *AcceptInviteReq) GetInviterUid() string
func (*AcceptInviteReq) ProtoMessage ¶
func (*AcceptInviteReq) ProtoMessage()
func (*AcceptInviteReq) ProtoReflect ¶
func (x *AcceptInviteReq) ProtoReflect() protoreflect.Message
func (*AcceptInviteReq) Reset ¶
func (x *AcceptInviteReq) Reset()
func (*AcceptInviteReq) String ¶
func (x *AcceptInviteReq) String() string
type AcceptInviteRsp ¶
type AcceptInviteRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*AcceptInviteRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AcceptInviteRsp) Descriptor() ([]byte, []int)
Deprecated: Use AcceptInviteRsp.ProtoReflect.Descriptor instead.
func (*AcceptInviteRsp) ProtoMessage ¶
func (*AcceptInviteRsp) ProtoMessage()
func (*AcceptInviteRsp) ProtoReflect ¶
func (x *AcceptInviteRsp) ProtoReflect() protoreflect.Message
func (*AcceptInviteRsp) Reset ¶
func (x *AcceptInviteRsp) Reset()
func (*AcceptInviteRsp) String ¶
func (x *AcceptInviteRsp) String() string
type BindReq ¶
type BindReq struct {
	Uid              string          `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Token            string          `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // get from auth service, should contains user basic infos
	ClientVersion    string          `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	HotfixVersion    string          `protobuf:"bytes,4,opt,name=hotfix_version,json=hotfixVersion,proto3" json:"hotfix_version,omitempty"`
	ClientExternalIp string          `protobuf:"bytes,5,opt,name=client_external_ip,json=clientExternalIp,proto3" json:"client_external_ip,omitempty"`
	ModeVersions     map[int32]int64 `` // key: game mode, value: mode version
	/* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}
    --->[START] Bind
        
          
            func (*BindReq) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*BindReq) GetClientExternalIp ¶
func (*BindReq) GetClientVersion ¶
func (*BindReq) GetHotfixVersion ¶
func (*BindReq) GetModeVersions ¶
func (*BindReq) ProtoMessage ¶
func (*BindReq) ProtoMessage()
func (*BindReq) ProtoReflect ¶
func (x *BindReq) ProtoReflect() protoreflect.Message
type BindRsp ¶
type BindRsp struct {
	OnlineState PlayerOnlineState `protobuf:"varint,1,opt,name=online_state,json=onlineState,proto3,enum=pb.PlayerOnlineState" json:"online_state,omitempty"`
	GroupInfo   *GroupInfo        `protobuf:"bytes,2,opt,name=group_info,json=groupInfo,proto3" json:"group_info,omitempty"` // if not nil, means player is in a group, client should recover it
	MatchInfo   *MatchInfo        `protobuf:"bytes,3,opt,name=match_info,json=matchInfo,proto3" json:"match_info,omitempty"` // if not nil, means player is in a game, client should recover it
	// contains filtered or unexported fields
}
    
        
          
            func (*BindRsp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*BindRsp) GetGroupInfo ¶
func (*BindRsp) GetMatchInfo ¶
func (*BindRsp) GetOnlineState ¶
func (x *BindRsp) GetOnlineState() PlayerOnlineState
func (*BindRsp) ProtoMessage ¶
func (*BindRsp) ProtoMessage()
func (*BindRsp) ProtoReflect ¶
func (x *BindRsp) ProtoReflect() protoreflect.Message
type CancelMatchReq ¶
type CancelMatchReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] CancelMatch
        
          
            func (*CancelMatchReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CancelMatchReq) Descriptor() ([]byte, []int)
Deprecated: Use CancelMatchReq.ProtoReflect.Descriptor instead.
func (*CancelMatchReq) GetUid ¶
func (x *CancelMatchReq) GetUid() string
func (*CancelMatchReq) ProtoMessage ¶
func (*CancelMatchReq) ProtoMessage()
func (*CancelMatchReq) ProtoReflect ¶
func (x *CancelMatchReq) ProtoReflect() protoreflect.Message
func (*CancelMatchReq) Reset ¶
func (x *CancelMatchReq) Reset()
func (*CancelMatchReq) String ¶
func (x *CancelMatchReq) String() string
type CancelMatchRsp ¶
type CancelMatchRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*CancelMatchRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CancelMatchRsp) Descriptor() ([]byte, []int)
Deprecated: Use CancelMatchRsp.ProtoReflect.Descriptor instead.
func (*CancelMatchRsp) ProtoMessage ¶
func (*CancelMatchRsp) ProtoMessage()
func (*CancelMatchRsp) ProtoReflect ¶
func (x *CancelMatchRsp) ProtoReflect() protoreflect.Message
func (*CancelMatchRsp) Reset ¶
func (x *CancelMatchRsp) Reset()
func (*CancelMatchRsp) String ¶
func (x *CancelMatchRsp) String() string
type ChangeRoleReq ¶
type ChangeRoleReq struct {
	CaptainUid string    `protobuf:"bytes,1,opt,name=captain_uid,json=captainUid,proto3" json:"captain_uid,omitempty"`
	TargetUid  string    `protobuf:"bytes,2,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"`
	Role       GroupRole `protobuf:"varint,3,opt,name=role,proto3,enum=pb.GroupRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] ChangeRole
        
          
            func (*ChangeRoleReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ChangeRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRoleReq.ProtoReflect.Descriptor instead.
func (*ChangeRoleReq) GetCaptainUid ¶
func (x *ChangeRoleReq) GetCaptainUid() string
func (*ChangeRoleReq) GetRole ¶
func (x *ChangeRoleReq) GetRole() GroupRole
func (*ChangeRoleReq) GetTargetUid ¶
func (x *ChangeRoleReq) GetTargetUid() string
func (*ChangeRoleReq) ProtoMessage ¶
func (*ChangeRoleReq) ProtoMessage()
func (*ChangeRoleReq) ProtoReflect ¶
func (x *ChangeRoleReq) ProtoReflect() protoreflect.Message
func (*ChangeRoleReq) Reset ¶
func (x *ChangeRoleReq) Reset()
func (*ChangeRoleReq) String ¶
func (x *ChangeRoleReq) String() string
type ChangeRoleRsp ¶
type ChangeRoleRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ChangeRoleRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ChangeRoleRsp) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRoleRsp.ProtoReflect.Descriptor instead.
func (*ChangeRoleRsp) ProtoMessage ¶
func (*ChangeRoleRsp) ProtoMessage()
func (*ChangeRoleRsp) ProtoReflect ¶
func (x *ChangeRoleRsp) ProtoReflect() protoreflect.Message
func (*ChangeRoleRsp) Reset ¶
func (x *ChangeRoleRsp) Reset()
func (*ChangeRoleRsp) String ¶
func (x *ChangeRoleRsp) String() string
type CommonRsp ¶
type CommonRsp struct {
	Code      RspCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.RspCode" json:"code,omitempty"`
	Message   string  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // error message
	ReqType   ReqType `protobuf:"varint,3,opt,name=req_type,json=reqType,proto3,enum=pb.ReqType" json:"req_type,omitempty"`
	RequestId string  `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	TraceId   string  `protobuf:"bytes,5,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	Data      []byte  `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // protobuf serialized data
	// contains filtered or unexported fields
}
    CommonRsp is a general-purpose response structure used in request-response scenarios. It provides a standardized way to return the status of a request along with optional serialized data and tracing information.
Fields:
- code: The response code indicating the result of the request. This can be an enum representing success, failure, or any specific error codes.
- message: A human-readable error message or informational message. Typically used when `code` indicates a failure.
- req_type: The type of the request that this response corresponds to. This can help in identifying the nature or category of the request, and can be an enum indicating different request types.
- request_id: The ID of the original request that this response corresponds to. This helps in tracking and correlating requests and responses, especially in asynchronous or distributed systems.
- trace_id: A unique identifier used for tracing the request across multiple services or processes. Useful for debugging and performance monitoring in complex systems.
- data: Serialized protobuf data that may include additional information relevant to the response.
        
          
            func (*CommonRsp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*CommonRsp) GetMessage ¶
func (*CommonRsp) GetReqType ¶
func (*CommonRsp) GetRequestId ¶
func (*CommonRsp) GetTraceId ¶
func (*CommonRsp) ProtoMessage ¶
func (*CommonRsp) ProtoMessage()
func (*CommonRsp) ProtoReflect ¶
func (x *CommonRsp) ProtoReflect() protoreflect.Message
type CreateGroupReq ¶
type CreateGroupReq struct {
	PlayerInfo *PlayerInfo `protobuf:"bytes,1,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] CreateGroup
        
          
            func (*CreateGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CreateGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
func (*CreateGroupReq) GetPlayerInfo ¶
func (x *CreateGroupReq) GetPlayerInfo() *PlayerInfo
func (*CreateGroupReq) ProtoMessage ¶
func (*CreateGroupReq) ProtoMessage()
func (*CreateGroupReq) ProtoReflect ¶
func (x *CreateGroupReq) ProtoReflect() protoreflect.Message
func (*CreateGroupReq) Reset ¶
func (x *CreateGroupReq) Reset()
func (*CreateGroupReq) String ¶
func (x *CreateGroupReq) String() string
type CreateGroupRsp ¶
type CreateGroupRsp struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CreateGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CreateGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRsp.ProtoReflect.Descriptor instead.
func (*CreateGroupRsp) GetGroupId ¶
func (x *CreateGroupRsp) GetGroupId() int64
func (*CreateGroupRsp) ProtoMessage ¶
func (*CreateGroupRsp) ProtoMessage()
func (*CreateGroupRsp) ProtoReflect ¶
func (x *CreateGroupRsp) ProtoReflect() protoreflect.Message
func (*CreateGroupRsp) Reset ¶
func (x *CreateGroupRsp) Reset()
func (*CreateGroupRsp) String ¶
func (x *CreateGroupRsp) String() string
type DissolveGroupReq ¶
type DissolveGroupReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] DissolveGroup
        
          
            func (*DissolveGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DissolveGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use DissolveGroupReq.ProtoReflect.Descriptor instead.
func (*DissolveGroupReq) GetUid ¶
func (x *DissolveGroupReq) GetUid() string
func (*DissolveGroupReq) ProtoMessage ¶
func (*DissolveGroupReq) ProtoMessage()
func (*DissolveGroupReq) ProtoReflect ¶
func (x *DissolveGroupReq) ProtoReflect() protoreflect.Message
func (*DissolveGroupReq) Reset ¶
func (x *DissolveGroupReq) Reset()
func (*DissolveGroupReq) String ¶
func (x *DissolveGroupReq) String() string
type DissolveGroupRsp ¶
type DissolveGroupRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*DissolveGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DissolveGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use DissolveGroupRsp.ProtoReflect.Descriptor instead.
func (*DissolveGroupRsp) ProtoMessage ¶
func (*DissolveGroupRsp) ProtoMessage()
func (*DissolveGroupRsp) ProtoReflect ¶
func (x *DissolveGroupRsp) ProtoReflect() protoreflect.Message
func (*DissolveGroupRsp) Reset ¶
func (x *DissolveGroupRsp) Reset()
func (*DissolveGroupRsp) String ¶
func (x *DissolveGroupRsp) String() string
type EnterGroupReq ¶
type EnterGroupReq struct {
	PlayerInfo *PlayerInfo      `protobuf:"bytes,1,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"`
	Source     EnterGroupSource `protobuf:"varint,2,opt,name=source,proto3,enum=pb.EnterGroupSource" json:"source,omitempty"`
	GroupId    int64            `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] EnterGroup
        
          
            func (*EnterGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*EnterGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use EnterGroupReq.ProtoReflect.Descriptor instead.
func (*EnterGroupReq) GetGroupId ¶
func (x *EnterGroupReq) GetGroupId() int64
func (*EnterGroupReq) GetPlayerInfo ¶
func (x *EnterGroupReq) GetPlayerInfo() *PlayerInfo
func (*EnterGroupReq) GetSource ¶
func (x *EnterGroupReq) GetSource() EnterGroupSource
func (*EnterGroupReq) ProtoMessage ¶
func (*EnterGroupReq) ProtoMessage()
func (*EnterGroupReq) ProtoReflect ¶
func (x *EnterGroupReq) ProtoReflect() protoreflect.Message
func (*EnterGroupReq) Reset ¶
func (x *EnterGroupReq) Reset()
func (*EnterGroupReq) String ¶
func (x *EnterGroupReq) String() string
type EnterGroupRsp ¶
type EnterGroupRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*EnterGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*EnterGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use EnterGroupRsp.ProtoReflect.Descriptor instead.
func (*EnterGroupRsp) ProtoMessage ¶
func (*EnterGroupRsp) ProtoMessage()
func (*EnterGroupRsp) ProtoReflect ¶
func (x *EnterGroupRsp) ProtoReflect() protoreflect.Message
func (*EnterGroupRsp) Reset ¶
func (x *EnterGroupRsp) Reset()
func (*EnterGroupRsp) String ¶
func (x *EnterGroupRsp) String() string
type EnterGroupSource ¶
type EnterGroupSource int32
const ( EnterGroupSource_ENTER_GROUP_SOURCE_INVITATION EnterGroupSource = 0 EnterGroupSource_ENTER_GROUP_SOURCE_NEARBY EnterGroupSource = 1 EnterGroupSource_ENTER_GROUP_SOURCE_RECENT EnterGroupSource = 2 EnterGroupSource_ENTER_GROUP_SOURCE_FRIEND EnterGroupSource = 3 EnterGroupSource_ENTER_GROUP_SOURCE_WORLD_CHANNEL EnterGroupSource = 4 EnterGroupSource_ENTER_GROUP_SOURCE_CLAN_CHANNEL EnterGroupSource = 5 EnterGroupSource_ENTER_GROUP_SOURCE_SHARE EnterGroupSource = 6 )
func (EnterGroupSource) Descriptor ¶
func (EnterGroupSource) Descriptor() protoreflect.EnumDescriptor
func (EnterGroupSource) Enum ¶
func (x EnterGroupSource) Enum() *EnterGroupSource
        
          
            func (EnterGroupSource) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (EnterGroupSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnterGroupSource.Descriptor instead.
func (EnterGroupSource) Number ¶
func (x EnterGroupSource) Number() protoreflect.EnumNumber
func (EnterGroupSource) String ¶
func (x EnterGroupSource) String() string
func (EnterGroupSource) Type ¶
func (EnterGroupSource) Type() protoreflect.EnumType
type ExitGameReq ¶
type ExitGameReq struct {
	Uid    string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	RoomId int64  `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	// contains filtered or unexported fields
}
    -->[START] ExitGame
        
          
            func (*ExitGameReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExitGameReq) Descriptor() ([]byte, []int)
Deprecated: Use ExitGameReq.ProtoReflect.Descriptor instead.
func (*ExitGameReq) GetRoomId ¶
func (x *ExitGameReq) GetRoomId() int64
func (*ExitGameReq) GetUid ¶
func (x *ExitGameReq) GetUid() string
func (*ExitGameReq) ProtoMessage ¶
func (*ExitGameReq) ProtoMessage()
func (*ExitGameReq) ProtoReflect ¶
func (x *ExitGameReq) ProtoReflect() protoreflect.Message
func (*ExitGameReq) Reset ¶
func (x *ExitGameReq) Reset()
func (*ExitGameReq) String ¶
func (x *ExitGameReq) String() string
type ExitGameRsp ¶
type ExitGameRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ExitGameRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExitGameRsp) Descriptor() ([]byte, []int)
Deprecated: Use ExitGameRsp.ProtoReflect.Descriptor instead.
func (*ExitGameRsp) ProtoMessage ¶
func (*ExitGameRsp) ProtoMessage()
func (*ExitGameRsp) ProtoReflect ¶
func (x *ExitGameRsp) ProtoReflect() protoreflect.Message
func (*ExitGameRsp) Reset ¶
func (x *ExitGameRsp) Reset()
func (*ExitGameRsp) String ¶
func (x *ExitGameRsp) String() string
type ExitGroupReq ¶
type ExitGroupReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] ExitGroup
        
          
            func (*ExitGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExitGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use ExitGroupReq.ProtoReflect.Descriptor instead.
func (*ExitGroupReq) GetUid ¶
func (x *ExitGroupReq) GetUid() string
func (*ExitGroupReq) ProtoMessage ¶
func (*ExitGroupReq) ProtoMessage()
func (*ExitGroupReq) ProtoReflect ¶
func (x *ExitGroupReq) ProtoReflect() protoreflect.Message
func (*ExitGroupReq) Reset ¶
func (x *ExitGroupReq) Reset()
func (*ExitGroupReq) String ¶
func (x *ExitGroupReq) String() string
type ExitGroupRsp ¶
type ExitGroupRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ExitGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExitGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use ExitGroupRsp.ProtoReflect.Descriptor instead.
func (*ExitGroupRsp) ProtoMessage ¶
func (*ExitGroupRsp) ProtoMessage()
func (*ExitGroupRsp) ProtoReflect ¶
func (x *ExitGroupRsp) ProtoReflect() protoreflect.Message
func (*ExitGroupRsp) Reset ¶
func (x *ExitGroupRsp) Reset()
func (*ExitGroupRsp) String ¶
func (x *ExitGroupRsp) String() string
type GameMode ¶
type GameMode int32
func (GameMode) Descriptor ¶
func (GameMode) Descriptor() protoreflect.EnumDescriptor
        
          
            func (GameMode) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (GameMode) Number ¶
func (x GameMode) Number() protoreflect.EnumNumber
func (GameMode) Type ¶
func (GameMode) Type() protoreflect.EnumType
type GameServerInfo ¶
type GameServerInfo struct {
	Host     string      `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port     int32       `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Protocol NetProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=pb.NetProtocol" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GameServerInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GameServerInfo) Descriptor() ([]byte, []int)
Deprecated: Use GameServerInfo.ProtoReflect.Descriptor instead.
func (*GameServerInfo) GetHost ¶
func (x *GameServerInfo) GetHost() string
func (*GameServerInfo) GetPort ¶
func (x *GameServerInfo) GetPort() int32
func (*GameServerInfo) GetProtocol ¶
func (x *GameServerInfo) GetProtocol() NetProtocol
func (*GameServerInfo) ProtoMessage ¶
func (*GameServerInfo) ProtoMessage()
func (*GameServerInfo) ProtoReflect ¶
func (x *GameServerInfo) ProtoReflect() protoreflect.Message
func (*GameServerInfo) Reset ¶
func (x *GameServerInfo) Reset()
func (*GameServerInfo) String ¶
func (x *GameServerInfo) String() string
type Glicko2Info ¶
type Glicko2Info struct {
	Mmr  float64 `protobuf:"fixed64,1,opt,name=mmr,proto3" json:"mmr,omitempty"`
	Star int64   `protobuf:"varint,2,opt,name=star,proto3" json:"star,omitempty"`
	Rank int64   `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Glicko2Info) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Glicko2Info) Descriptor() ([]byte, []int)
Deprecated: Use Glicko2Info.ProtoReflect.Descriptor instead.
func (*Glicko2Info) GetMmr ¶
func (x *Glicko2Info) GetMmr() float64
func (*Glicko2Info) GetRank ¶
func (x *Glicko2Info) GetRank() int64
func (*Glicko2Info) GetStar ¶
func (x *Glicko2Info) GetStar() int64
func (*Glicko2Info) ProtoMessage ¶
func (*Glicko2Info) ProtoMessage()
func (*Glicko2Info) ProtoReflect ¶
func (x *Glicko2Info) ProtoReflect() protoreflect.Message
func (*Glicko2Info) Reset ¶
func (x *Glicko2Info) Reset()
func (*Glicko2Info) String ¶
func (x *Glicko2Info) String() string
type GoatGameAttribute ¶
type GoatGameAttribute struct {
	Mmr float64 `protobuf:"fixed64,1,opt,name=mmr,proto3" json:"mmr,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GoatGameAttribute) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GoatGameAttribute) Descriptor() ([]byte, []int)
Deprecated: Use GoatGameAttribute.ProtoReflect.Descriptor instead.
func (*GoatGameAttribute) GetMmr ¶
func (x *GoatGameAttribute) GetMmr() float64
func (*GoatGameAttribute) ProtoMessage ¶
func (*GoatGameAttribute) ProtoMessage()
func (*GoatGameAttribute) ProtoReflect ¶
func (x *GoatGameAttribute) ProtoReflect() protoreflect.Message
func (*GoatGameAttribute) Reset ¶
func (x *GoatGameAttribute) Reset()
func (*GoatGameAttribute) String ¶
func (x *GoatGameAttribute) String() string
type GroupInfo ¶
type GroupInfo struct {
	GroupId     int64              `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Captain     string             `protobuf:"bytes,2,opt,name=captain,proto3" json:"captain,omitempty"`
	GameMode    GameMode           `protobuf:"varint,3,opt,name=game_mode,json=gameMode,proto3,enum=pb.GameMode" json:"game_mode,omitempty"`
	ModeVersion int64              `protobuf:"varint,4,opt,name=mode_version,json=modeVersion,proto3" json:"mode_version,omitempty"`
	Positions   []bool             `protobuf:"varint,5,rep,packed,name=positions,proto3" json:"positions,omitempty"`
	PlayerInfos []*GroupPlayerInfo `protobuf:"bytes,6,rep,name=player_infos,json=playerInfos,proto3" json:"player_infos,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GroupInfo) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*GroupInfo) GetCaptain ¶
func (*GroupInfo) GetGameMode ¶
func (*GroupInfo) GetGroupId ¶
func (*GroupInfo) GetModeVersion ¶
func (*GroupInfo) GetPlayerInfos ¶
func (x *GroupInfo) GetPlayerInfos() []*GroupPlayerInfo
func (*GroupInfo) GetPositions ¶
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
type GroupPlayerInfo ¶
type GroupPlayerInfo struct {
	Uid         string            `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Role        int32             `protobuf:"varint,2,opt,name=role,proto3" json:"role,omitempty"`
	OnlineState PlayerOnlineState `protobuf:"varint,3,opt,name=online_state,json=onlineState,proto3,enum=pb.PlayerOnlineState" json:"online_state,omitempty"`
	VoiceState  PlayerVoiceState  `protobuf:"varint,4,opt,name=voice_state,json=voiceState,proto3,enum=pb.PlayerVoiceState" json:"voice_state,omitempty"`
	Ready       bool              `protobuf:"varint,5,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GroupPlayerInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GroupPlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupPlayerInfo.ProtoReflect.Descriptor instead.
func (*GroupPlayerInfo) GetOnlineState ¶
func (x *GroupPlayerInfo) GetOnlineState() PlayerOnlineState
func (*GroupPlayerInfo) GetReady ¶
func (x *GroupPlayerInfo) GetReady() bool
func (*GroupPlayerInfo) GetRole ¶
func (x *GroupPlayerInfo) GetRole() int32
func (*GroupPlayerInfo) GetUid ¶
func (x *GroupPlayerInfo) GetUid() string
func (*GroupPlayerInfo) GetVoiceState ¶
func (x *GroupPlayerInfo) GetVoiceState() PlayerVoiceState
func (*GroupPlayerInfo) ProtoMessage ¶
func (*GroupPlayerInfo) ProtoMessage()
func (*GroupPlayerInfo) ProtoReflect ¶
func (x *GroupPlayerInfo) ProtoReflect() protoreflect.Message
func (*GroupPlayerInfo) Reset ¶
func (x *GroupPlayerInfo) Reset()
func (*GroupPlayerInfo) String ¶
func (x *GroupPlayerInfo) String() string
type GroupRole ¶
type GroupRole int32
func (GroupRole) Descriptor ¶
func (GroupRole) Descriptor() protoreflect.EnumDescriptor
        
          
            func (GroupRole) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (GroupRole) Number ¶
func (x GroupRole) Number() protoreflect.EnumNumber
func (GroupRole) Type ¶
func (GroupRole) Type() protoreflect.EnumType
type GroupState ¶
type GroupState int32
const ( GroupState_GROUP_STATE_INVITE GroupState = 0 GroupState_GROUP_STATE_MATCH GroupState = 1 GroupState_GROUP_STATE_GAME GroupState = 2 GroupState_GROUP_STATE_DISSOLVED GroupState = 3 )
func (GroupState) Descriptor ¶
func (GroupState) Descriptor() protoreflect.EnumDescriptor
func (GroupState) Enum ¶
func (x GroupState) Enum() *GroupState
        
          
            func (GroupState) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (GroupState) EnumDescriptor() ([]byte, []int)
Deprecated: Use GroupState.Descriptor instead.
func (GroupState) Number ¶
func (x GroupState) Number() protoreflect.EnumNumber
func (GroupState) String ¶
func (x GroupState) String() string
func (GroupState) Type ¶
func (GroupState) Type() protoreflect.EnumType
type InviteReq ¶
type InviteReq struct {
	InviterUid string `protobuf:"bytes,1,opt,name=inviter_uid,json=inviterUid,proto3" json:"inviter_uid,omitempty"`
	InviteeUid string `protobuf:"bytes,2,opt,name=invitee_uid,json=inviteeUid,proto3" json:"invitee_uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] Invite
        
          
            func (*InviteReq) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*InviteReq) GetInviteeUid ¶
func (*InviteReq) GetInviterUid ¶
func (*InviteReq) ProtoMessage ¶
func (*InviteReq) ProtoMessage()
func (*InviteReq) ProtoReflect ¶
func (x *InviteReq) ProtoReflect() protoreflect.Message
type InviteRsp ¶
type InviteRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*InviteRsp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*InviteRsp) ProtoMessage ¶
func (*InviteRsp) ProtoMessage()
func (*InviteRsp) ProtoReflect ¶
func (x *InviteRsp) ProtoReflect() protoreflect.Message
type KickPlayerReq ¶
type KickPlayerReq struct {
	CaptainUid string `protobuf:"bytes,1,opt,name=captain_uid,json=captainUid,proto3" json:"captain_uid,omitempty"`
	KickedUid  string `protobuf:"bytes,2,opt,name=kicked_uid,json=kickedUid,proto3" json:"kicked_uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] KickPlayer
        
          
            func (*KickPlayerReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*KickPlayerReq) Descriptor() ([]byte, []int)
Deprecated: Use KickPlayerReq.ProtoReflect.Descriptor instead.
func (*KickPlayerReq) GetCaptainUid ¶
func (x *KickPlayerReq) GetCaptainUid() string
func (*KickPlayerReq) GetKickedUid ¶
func (x *KickPlayerReq) GetKickedUid() string
func (*KickPlayerReq) ProtoMessage ¶
func (*KickPlayerReq) ProtoMessage()
func (*KickPlayerReq) ProtoReflect ¶
func (x *KickPlayerReq) ProtoReflect() protoreflect.Message
func (*KickPlayerReq) Reset ¶
func (x *KickPlayerReq) Reset()
func (*KickPlayerReq) String ¶
func (x *KickPlayerReq) String() string
type KickPlayerRsp ¶
type KickPlayerRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*KickPlayerRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*KickPlayerRsp) Descriptor() ([]byte, []int)
Deprecated: Use KickPlayerRsp.ProtoReflect.Descriptor instead.
func (*KickPlayerRsp) ProtoMessage ¶
func (*KickPlayerRsp) ProtoMessage()
func (*KickPlayerRsp) ProtoReflect ¶
func (x *KickPlayerRsp) ProtoReflect() protoreflect.Message
func (*KickPlayerRsp) Reset ¶
func (x *KickPlayerRsp) Reset()
func (*KickPlayerRsp) String ¶
func (x *KickPlayerRsp) String() string
type MatchInfo ¶
type MatchInfo struct {
	RoomId          int64            `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	GameMode        GameMode         `protobuf:"varint,2,opt,name=game_mode,json=gameMode,proto3,enum=pb.GameMode" json:"game_mode,omitempty"`
	ModeVersion     int64            `protobuf:"varint,3,opt,name=mode_version,json=modeVersion,proto3" json:"mode_version,omitempty"`
	MatchStrategy   int32            `protobuf:"varint,4,opt,name=match_strategy,json=matchStrategy,proto3" json:"match_strategy,omitempty"`
	MatchedTimeUnix int64            `protobuf:"varint,5,opt,name=matched_time_unix,json=matchedTimeUnix,proto3" json:"matched_time_unix,omitempty"`
	Teams           []*MatchTeamInfo `protobuf:"bytes,6,rep,name=teams,proto3" json:"teams,omitempty"`
	GameServerInfo  *GameServerInfo  `protobuf:"bytes,7,opt,name=game_server_info,json=gameServerInfo,proto3" json:"game_server_info,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*MatchInfo) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*MatchInfo) GetGameMode ¶
func (*MatchInfo) GetGameServerInfo ¶
func (x *MatchInfo) GetGameServerInfo() *GameServerInfo
func (*MatchInfo) GetMatchStrategy ¶
func (*MatchInfo) GetMatchedTimeUnix ¶
func (*MatchInfo) GetModeVersion ¶
func (*MatchInfo) GetTeams ¶
func (x *MatchInfo) GetTeams() []*MatchTeamInfo
func (*MatchInfo) ProtoMessage ¶
func (*MatchInfo) ProtoMessage()
func (*MatchInfo) ProtoReflect ¶
func (x *MatchInfo) ProtoReflect() protoreflect.Message
type MatchPlayerInfo ¶
type MatchPlayerInfo struct {
	Uid     string         `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	GroupId int64          `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Attr    *UserAttribute `protobuf:"bytes,3,opt,name=attr,proto3" json:"attr,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*MatchPlayerInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*MatchPlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use MatchPlayerInfo.ProtoReflect.Descriptor instead.
func (*MatchPlayerInfo) GetAttr ¶
func (x *MatchPlayerInfo) GetAttr() *UserAttribute
func (*MatchPlayerInfo) GetGroupId ¶
func (x *MatchPlayerInfo) GetGroupId() int64
func (*MatchPlayerInfo) GetUid ¶
func (x *MatchPlayerInfo) GetUid() string
func (*MatchPlayerInfo) ProtoMessage ¶
func (*MatchPlayerInfo) ProtoMessage()
func (*MatchPlayerInfo) ProtoReflect ¶
func (x *MatchPlayerInfo) ProtoReflect() protoreflect.Message
func (*MatchPlayerInfo) Reset ¶
func (x *MatchPlayerInfo) Reset()
func (*MatchPlayerInfo) String ¶
func (x *MatchPlayerInfo) String() string
type MatchTeamInfo ¶
type MatchTeamInfo struct {
	TeamId  int32              `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Players []*MatchPlayerInfo `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*MatchTeamInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*MatchTeamInfo) Descriptor() ([]byte, []int)
Deprecated: Use MatchTeamInfo.ProtoReflect.Descriptor instead.
func (*MatchTeamInfo) GetPlayers ¶
func (x *MatchTeamInfo) GetPlayers() []*MatchPlayerInfo
func (*MatchTeamInfo) GetTeamId ¶
func (x *MatchTeamInfo) GetTeamId() int32
func (*MatchTeamInfo) ProtoMessage ¶
func (*MatchTeamInfo) ProtoMessage()
func (*MatchTeamInfo) ProtoReflect ¶
func (x *MatchTeamInfo) ProtoReflect() protoreflect.Message
func (*MatchTeamInfo) Reset ¶
func (x *MatchTeamInfo) Reset()
func (*MatchTeamInfo) String ¶
func (x *MatchTeamInfo) String() string
type NetProtocol ¶
type NetProtocol int32
const ( NetProtocol_NET_PROTOCOL_TCP NetProtocol = 0 NetProtocol_NET_PROTOCOL_UDP NetProtocol = 1 NetProtocol_NET_PROTOCOL_WS NetProtocol = 2 NetProtocol_NET_PROTOCOL_WSS NetProtocol = 3 NetProtocol_NET_PROTOCOL_KCP NetProtocol = 4 NetProtocol_NET_PROTOCOL_GRPC NetProtocol = 5 NetProtocol_NET_PROTOCOL_GRPCS NetProtocol = 6 )
func (NetProtocol) Descriptor ¶
func (NetProtocol) Descriptor() protoreflect.EnumDescriptor
func (NetProtocol) Enum ¶
func (x NetProtocol) Enum() *NetProtocol
        
          
            func (NetProtocol) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (NetProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetProtocol.Descriptor instead.
func (NetProtocol) Number ¶
func (x NetProtocol) Number() protoreflect.EnumNumber
func (NetProtocol) String ¶
func (x NetProtocol) String() string
func (NetProtocol) Type ¶
func (NetProtocol) Type() protoreflect.EnumType
type PlayerInfo ¶
type PlayerInfo struct {
	Uid         string       `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	GameMode    GameMode     `protobuf:"varint,2,opt,name=game_mode,json=gameMode,proto3,enum=pb.GameMode" json:"game_mode,omitempty"`
	ModeVersion int64        `protobuf:"varint,3,opt,name=mode_version,json=modeVersion,proto3" json:"mode_version,omitempty"`
	Star        int64        `protobuf:"varint,4,opt,name=star,proto3" json:"star,omitempty"`
	Rank        int64        `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"`
	Glicko2Info *Glicko2Info `protobuf:"bytes,6,opt,name=glicko2_info,json=glicko2Info,proto3" json:"glicko2_info,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PlayerInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlayerInfo.ProtoReflect.Descriptor instead.
func (*PlayerInfo) GetGameMode ¶
func (x *PlayerInfo) GetGameMode() GameMode
func (*PlayerInfo) GetGlicko2Info ¶
func (x *PlayerInfo) GetGlicko2Info() *Glicko2Info
func (*PlayerInfo) GetModeVersion ¶
func (x *PlayerInfo) GetModeVersion() int64
func (*PlayerInfo) GetRank ¶
func (x *PlayerInfo) GetRank() int64
func (*PlayerInfo) GetStar ¶
func (x *PlayerInfo) GetStar() int64
func (*PlayerInfo) GetUid ¶
func (x *PlayerInfo) GetUid() string
func (*PlayerInfo) ProtoMessage ¶
func (*PlayerInfo) ProtoMessage()
func (*PlayerInfo) ProtoReflect ¶
func (x *PlayerInfo) ProtoReflect() protoreflect.Message
func (*PlayerInfo) Reset ¶
func (x *PlayerInfo) Reset()
func (*PlayerInfo) String ¶
func (x *PlayerInfo) String() string
type PlayerOnlineState ¶
type PlayerOnlineState int32
const ( PlayerOnlineState_PLAYER_ONLINE_STATE_OFFLINE PlayerOnlineState = 0 PlayerOnlineState_PLAYER_ONLINE_STATE_ONLINE PlayerOnlineState = 1 PlayerOnlineState_PLAYER_ONLINE_STATE_IN_GROUP PlayerOnlineState = 2 PlayerOnlineState_PLAYER_ONLINE_STATE_IN_MATCH PlayerOnlineState = 3 PlayerOnlineState_PLAYER_ONLINE_STATE_IN_GAME PlayerOnlineState = 4 PlayerOnlineState_PLAYER_ONLINE_STATE_IN_SETTLE PlayerOnlineState = 5 )
func (PlayerOnlineState) Descriptor ¶
func (PlayerOnlineState) Descriptor() protoreflect.EnumDescriptor
func (PlayerOnlineState) Enum ¶
func (x PlayerOnlineState) Enum() *PlayerOnlineState
        
          
            func (PlayerOnlineState) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (PlayerOnlineState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerOnlineState.Descriptor instead.
func (PlayerOnlineState) Number ¶
func (x PlayerOnlineState) Number() protoreflect.EnumNumber
func (PlayerOnlineState) String ¶
func (x PlayerOnlineState) String() string
func (PlayerOnlineState) Type ¶
func (PlayerOnlineState) Type() protoreflect.EnumType
type PlayerVoiceState ¶
type PlayerVoiceState int32
const ( PlayerVoiceState_PLAYER_VOICE_STATE_MUTE PlayerVoiceState = 0 PlayerVoiceState_PLAYER_VOICE_STATE_UNMUTE PlayerVoiceState = 1 )
func (PlayerVoiceState) Descriptor ¶
func (PlayerVoiceState) Descriptor() protoreflect.EnumDescriptor
func (PlayerVoiceState) Enum ¶
func (x PlayerVoiceState) Enum() *PlayerVoiceState
        
          
            func (PlayerVoiceState) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (PlayerVoiceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerVoiceState.Descriptor instead.
func (PlayerVoiceState) Number ¶
func (x PlayerVoiceState) Number() protoreflect.EnumNumber
func (PlayerVoiceState) String ¶
func (x PlayerVoiceState) String() string
func (PlayerVoiceState) Type ¶
func (PlayerVoiceState) Type() protoreflect.EnumType
type PushAcceptInvite ¶
type PushAcceptInvite struct {
	InviteeUid  string `protobuf:"bytes,1,opt,name=invitee_uid,json=inviteeUid,proto3" json:"invitee_uid,omitempty"`
	InviteeName string `protobuf:"bytes,2,opt,name=invitee_name,json=inviteeName,proto3" json:"invitee_name,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushAcceptInvite) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushAcceptInvite) Descriptor() ([]byte, []int)
Deprecated: Use PushAcceptInvite.ProtoReflect.Descriptor instead.
func (*PushAcceptInvite) GetInviteeName ¶
func (x *PushAcceptInvite) GetInviteeName() string
func (*PushAcceptInvite) GetInviteeUid ¶
func (x *PushAcceptInvite) GetInviteeUid() string
func (*PushAcceptInvite) ProtoMessage ¶
func (*PushAcceptInvite) ProtoMessage()
func (*PushAcceptInvite) ProtoReflect ¶
func (x *PushAcceptInvite) ProtoReflect() protoreflect.Message
func (*PushAcceptInvite) Reset ¶
func (x *PushAcceptInvite) Reset()
func (*PushAcceptInvite) String ¶
func (x *PushAcceptInvite) String() string
type PushCancelMatch ¶
type PushCancelMatch struct {
	CancelUid string `protobuf:"bytes,1,opt,name=cancel_uid,json=cancelUid,proto3" json:"cancel_uid,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushCancelMatch) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushCancelMatch) Descriptor() ([]byte, []int)
Deprecated: Use PushCancelMatch.ProtoReflect.Descriptor instead.
func (*PushCancelMatch) GetCancelUid ¶
func (x *PushCancelMatch) GetCancelUid() string
func (*PushCancelMatch) ProtoMessage ¶
func (*PushCancelMatch) ProtoMessage()
func (*PushCancelMatch) ProtoReflect ¶
func (x *PushCancelMatch) ProtoReflect() protoreflect.Message
func (*PushCancelMatch) Reset ¶
func (x *PushCancelMatch) Reset()
func (*PushCancelMatch) String ¶
func (x *PushCancelMatch) String() string
type PushGroupDissolve ¶
type PushGroupDissolve struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushGroupDissolve) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushGroupDissolve) Descriptor() ([]byte, []int)
Deprecated: Use PushGroupDissolve.ProtoReflect.Descriptor instead.
func (*PushGroupDissolve) GetGroupId ¶
func (x *PushGroupDissolve) GetGroupId() int64
func (*PushGroupDissolve) ProtoMessage ¶
func (*PushGroupDissolve) ProtoMessage()
func (*PushGroupDissolve) ProtoReflect ¶
func (x *PushGroupDissolve) ProtoReflect() protoreflect.Message
func (*PushGroupDissolve) Reset ¶
func (x *PushGroupDissolve) Reset()
func (*PushGroupDissolve) String ¶
func (x *PushGroupDissolve) String() string
type PushGroupInfo ¶
type PushGroupInfo struct {
	GroupInfo *GroupInfo `protobuf:"bytes,1,opt,name=group_info,json=groupInfo,proto3" json:"group_info,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushGroupInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushGroupInfo) Descriptor() ([]byte, []int)
Deprecated: Use PushGroupInfo.ProtoReflect.Descriptor instead.
func (*PushGroupInfo) GetGroupInfo ¶
func (x *PushGroupInfo) GetGroupInfo() *GroupInfo
func (*PushGroupInfo) ProtoMessage ¶
func (*PushGroupInfo) ProtoMessage()
func (*PushGroupInfo) ProtoReflect ¶
func (x *PushGroupInfo) ProtoReflect() protoreflect.Message
func (*PushGroupInfo) Reset ¶
func (x *PushGroupInfo) Reset()
func (*PushGroupInfo) String ¶
func (x *PushGroupInfo) String() string
type PushGroupState ¶
type PushGroupState struct {
	GroupState GroupState `protobuf:"varint,1,opt,name=group_state,json=groupState,proto3,enum=pb.GroupState" json:"group_state,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushGroupState) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushGroupState) Descriptor() ([]byte, []int)
Deprecated: Use PushGroupState.ProtoReflect.Descriptor instead.
func (*PushGroupState) GetGroupState ¶
func (x *PushGroupState) GetGroupState() GroupState
func (*PushGroupState) ProtoMessage ¶
func (*PushGroupState) ProtoMessage()
func (*PushGroupState) ProtoReflect ¶
func (x *PushGroupState) ProtoReflect() protoreflect.Message
func (*PushGroupState) Reset ¶
func (x *PushGroupState) Reset()
func (*PushGroupState) String ¶
func (x *PushGroupState) String() string
type PushInviteMsg ¶
type PushInviteMsg struct {
	InviterUid  string           `protobuf:"bytes,1,opt,name=inviter_uid,json=inviterUid,proto3" json:"inviter_uid,omitempty"`
	InviterName string           `protobuf:"bytes,2,opt,name=inviter_name,json=inviterName,proto3" json:"inviter_name,omitempty"`
	InviteeUid  string           `protobuf:"bytes,3,opt,name=invitee_uid,json=inviteeUid,proto3" json:"invitee_uid,omitempty"`
	Source      EnterGroupSource `protobuf:"varint,4,opt,name=source,proto3,enum=pb.EnterGroupSource" json:"source,omitempty"`
	GameMode    GameMode         `protobuf:"varint,5,opt,name=game_mode,json=gameMode,proto3,enum=pb.GameMode" json:"game_mode,omitempty"`
	ModeVersion int64            `protobuf:"varint,6,opt,name=mode_version,json=modeVersion,proto3" json:"mode_version,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushInviteMsg) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushInviteMsg) Descriptor() ([]byte, []int)
Deprecated: Use PushInviteMsg.ProtoReflect.Descriptor instead.
func (*PushInviteMsg) GetGameMode ¶
func (x *PushInviteMsg) GetGameMode() GameMode
func (*PushInviteMsg) GetInviteeUid ¶
func (x *PushInviteMsg) GetInviteeUid() string
func (*PushInviteMsg) GetInviterName ¶
func (x *PushInviteMsg) GetInviterName() string
func (*PushInviteMsg) GetInviterUid ¶
func (x *PushInviteMsg) GetInviterUid() string
func (*PushInviteMsg) GetModeVersion ¶
func (x *PushInviteMsg) GetModeVersion() int64
func (*PushInviteMsg) GetSource ¶
func (x *PushInviteMsg) GetSource() EnterGroupSource
func (*PushInviteMsg) ProtoMessage ¶
func (*PushInviteMsg) ProtoMessage()
func (*PushInviteMsg) ProtoReflect ¶
func (x *PushInviteMsg) ProtoReflect() protoreflect.Message
func (*PushInviteMsg) Reset ¶
func (x *PushInviteMsg) Reset()
func (*PushInviteMsg) String ¶
func (x *PushInviteMsg) String() string
type PushKick ¶
type PushKick struct {
	GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushKick) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*PushKick) GetGroupId ¶
func (*PushKick) ProtoMessage ¶
func (*PushKick) ProtoMessage()
func (*PushKick) ProtoReflect ¶
func (x *PushKick) ProtoReflect() protoreflect.Message
type PushMatchInfo ¶
type PushMatchInfo struct {
	MatchInfo *MatchInfo `protobuf:"bytes,1,opt,name=match_info,json=matchInfo,proto3" json:"match_info,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushMatchInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushMatchInfo) Descriptor() ([]byte, []int)
Deprecated: Use PushMatchInfo.ProtoReflect.Descriptor instead.
func (*PushMatchInfo) GetMatchInfo ¶
func (x *PushMatchInfo) GetMatchInfo() *MatchInfo
func (*PushMatchInfo) ProtoMessage ¶
func (*PushMatchInfo) ProtoMessage()
func (*PushMatchInfo) ProtoReflect ¶
func (x *PushMatchInfo) ProtoReflect() protoreflect.Message
func (*PushMatchInfo) Reset ¶
func (x *PushMatchInfo) Reset()
func (*PushMatchInfo) String ¶
func (x *PushMatchInfo) String() string
type PushMsg ¶
type PushMsg struct {
	PushType PushType `protobuf:"varint,1,opt,name=push_type,json=pushType,proto3,enum=pb.PushType" json:"push_type,omitempty"`
	Data     []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // protobuf serialized data
	// contains filtered or unexported fields
}
    PushMsg is the structure used for server-initiated messages sent to the client. These messages are typically used for events or updates that the server needs to notify the client about, without a prior request from the client.
Fields:
- push_type: Indicates the type of push notification being sent. This is determined by the PUSH_TYPE enum.
- data: Serialized protobuf data containing the content of the push message. This could include event details, state updates, or any relevant information the server needs to convey to the client.
        
          
            func (*PushMsg) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*PushMsg) GetPushType ¶
func (*PushMsg) ProtoMessage ¶
func (*PushMsg) ProtoMessage()
func (*PushMsg) ProtoReflect ¶
func (x *PushMsg) ProtoReflect() protoreflect.Message
type PushPlayerOnlineState ¶
type PushPlayerOnlineState struct {
	OnlineState PlayerOnlineState `protobuf:"varint,1,opt,name=online_state,json=onlineState,proto3,enum=pb.PlayerOnlineState" json:"online_state,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushPlayerOnlineState) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushPlayerOnlineState) Descriptor() ([]byte, []int)
Deprecated: Use PushPlayerOnlineState.ProtoReflect.Descriptor instead.
func (*PushPlayerOnlineState) GetOnlineState ¶
func (x *PushPlayerOnlineState) GetOnlineState() PlayerOnlineState
func (*PushPlayerOnlineState) ProtoMessage ¶
func (*PushPlayerOnlineState) ProtoMessage()
func (*PushPlayerOnlineState) ProtoReflect ¶
func (x *PushPlayerOnlineState) ProtoReflect() protoreflect.Message
func (*PushPlayerOnlineState) Reset ¶
func (x *PushPlayerOnlineState) Reset()
func (*PushPlayerOnlineState) String ¶
func (x *PushPlayerOnlineState) String() string
type PushPlayerVoiceState ¶
type PushPlayerVoiceState struct {
	Uid        string           `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	VoiceState PlayerVoiceState `protobuf:"varint,2,opt,name=voice_state,json=voiceState,proto3,enum=pb.PlayerVoiceState" json:"voice_state,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushPlayerVoiceState) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushPlayerVoiceState) Descriptor() ([]byte, []int)
Deprecated: Use PushPlayerVoiceState.ProtoReflect.Descriptor instead.
func (*PushPlayerVoiceState) GetUid ¶
func (x *PushPlayerVoiceState) GetUid() string
func (*PushPlayerVoiceState) GetVoiceState ¶
func (x *PushPlayerVoiceState) GetVoiceState() PlayerVoiceState
func (*PushPlayerVoiceState) ProtoMessage ¶
func (*PushPlayerVoiceState) ProtoMessage()
func (*PushPlayerVoiceState) ProtoReflect ¶
func (x *PushPlayerVoiceState) ProtoReflect() protoreflect.Message
func (*PushPlayerVoiceState) Reset ¶
func (x *PushPlayerVoiceState) Reset()
func (*PushPlayerVoiceState) String ¶
func (x *PushPlayerVoiceState) String() string
type PushReady ¶
type PushReady struct {
	ReadyUid string `protobuf:"bytes,1,opt,name=ready_uid,json=readyUid,proto3" json:"ready_uid,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushReady) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*PushReady) GetReadyUid ¶
func (*PushReady) ProtoMessage ¶
func (*PushReady) ProtoMessage()
func (*PushReady) ProtoReflect ¶
func (x *PushReady) ProtoReflect() protoreflect.Message
type PushRefuseInvite ¶
type PushRefuseInvite struct {
	InviteeUid  string `protobuf:"bytes,1,opt,name=invitee_uid,json=inviteeUid,proto3" json:"invitee_uid,omitempty"`
	InviteeName string `protobuf:"bytes,2,opt,name=invitee_name,json=inviteeName,proto3" json:"invitee_name,omitempty"`
	RefuseMsg   string `protobuf:"bytes,3,opt,name=refuse_msg,json=refuseMsg,proto3" json:"refuse_msg,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushRefuseInvite) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushRefuseInvite) Descriptor() ([]byte, []int)
Deprecated: Use PushRefuseInvite.ProtoReflect.Descriptor instead.
func (*PushRefuseInvite) GetInviteeName ¶
func (x *PushRefuseInvite) GetInviteeName() string
func (*PushRefuseInvite) GetInviteeUid ¶
func (x *PushRefuseInvite) GetInviteeUid() string
func (*PushRefuseInvite) GetRefuseMsg ¶
func (x *PushRefuseInvite) GetRefuseMsg() string
func (*PushRefuseInvite) ProtoMessage ¶
func (*PushRefuseInvite) ProtoMessage()
func (*PushRefuseInvite) ProtoReflect ¶
func (x *PushRefuseInvite) ProtoReflect() protoreflect.Message
func (*PushRefuseInvite) Reset ¶
func (x *PushRefuseInvite) Reset()
func (*PushRefuseInvite) String ¶
func (x *PushRefuseInvite) String() string
type PushType ¶
type PushType int32
const ( PushType_PUSH_TYPE_UNDEFINED PushType = 0 PushType_PUSH_TYPE_PLAYER_ONLINE_STATE PushType = 1 PushType_PUSH_TYPE_GROUP_INFO PushType = 2 PushType_PUSH_TYPE_INVITE_MSG PushType = 3 PushType_PUSH_TYPE_ACCEPT_INVITE PushType = 4 PushType_PUSH_TYPE_REFUSE_INVITE PushType = 5 PushType_PUSH_TYPE_GROUP_DISSOLVE PushType = 6 PushType_PUSH_TYPE_GROUP_STATE PushType = 7 PushType_PUSH_TYPE_PLAYER_VOICE_STATE PushType = 8 PushType_PUSH_TYPE_KICK_MSG PushType = 9 PushType_PUSH_TYPE_MATCH_SUCCESS PushType = 10 PushType_PUSH_TYPE_CANCEL_MATCH PushType = 11 PushType_PUSH_TYPE_READY PushType = 12 PushType_PUSH_TYPE_UNREADY PushType = 13 )
func (PushType) Descriptor ¶
func (PushType) Descriptor() protoreflect.EnumDescriptor
        
          
            func (PushType) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (PushType) Number ¶
func (x PushType) Number() protoreflect.EnumNumber
func (PushType) Type ¶
func (PushType) Type() protoreflect.EnumType
type PushUnready ¶
type PushUnready struct {
	UnreadyUid string `protobuf:"bytes,1,opt,name=unready_uid,json=unreadyUid,proto3" json:"unready_uid,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PushUnready) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PushUnready) Descriptor() ([]byte, []int)
Deprecated: Use PushUnready.ProtoReflect.Descriptor instead.
func (*PushUnready) GetUnreadyUid ¶
func (x *PushUnready) GetUnreadyUid() string
func (*PushUnready) ProtoMessage ¶
func (*PushUnready) ProtoMessage()
func (*PushUnready) ProtoReflect ¶
func (x *PushUnready) ProtoReflect() protoreflect.Message
func (*PushUnready) Reset ¶
func (x *PushUnready) Reset()
func (*PushUnready) String ¶
func (x *PushUnready) String() string
type ReadyReq ¶
type ReadyReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] Ready
        
          
            func (*ReadyReq) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*ReadyReq) ProtoMessage ¶
func (*ReadyReq) ProtoMessage()
func (*ReadyReq) ProtoReflect ¶
func (x *ReadyReq) ProtoReflect() protoreflect.Message
type ReadyRsp ¶
type ReadyRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ReadyRsp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*ReadyRsp) ProtoMessage ¶
func (*ReadyRsp) ProtoMessage()
func (*ReadyRsp) ProtoReflect ¶
func (x *ReadyRsp) ProtoReflect() protoreflect.Message
type RefuseInviteReq ¶
type RefuseInviteReq struct {
	InviterUid string `protobuf:"bytes,1,opt,name=inviter_uid,json=inviterUid,proto3" json:"inviter_uid,omitempty"`
	InviteeUid string `protobuf:"bytes,2,opt,name=invitee_uid,json=inviteeUid,proto3" json:"invitee_uid,omitempty"`
	GroupId    int64  `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	RefuseMsg  string `protobuf:"bytes,4,opt,name=refuse_msg,json=refuseMsg,proto3" json:"refuse_msg,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] RefuseInvite
        
          
            func (*RefuseInviteReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*RefuseInviteReq) Descriptor() ([]byte, []int)
Deprecated: Use RefuseInviteReq.ProtoReflect.Descriptor instead.
func (*RefuseInviteReq) GetGroupId ¶
func (x *RefuseInviteReq) GetGroupId() int64
func (*RefuseInviteReq) GetInviteeUid ¶
func (x *RefuseInviteReq) GetInviteeUid() string
func (*RefuseInviteReq) GetInviterUid ¶
func (x *RefuseInviteReq) GetInviterUid() string
func (*RefuseInviteReq) GetRefuseMsg ¶
func (x *RefuseInviteReq) GetRefuseMsg() string
func (*RefuseInviteReq) ProtoMessage ¶
func (*RefuseInviteReq) ProtoMessage()
func (*RefuseInviteReq) ProtoReflect ¶
func (x *RefuseInviteReq) ProtoReflect() protoreflect.Message
func (*RefuseInviteReq) Reset ¶
func (x *RefuseInviteReq) Reset()
func (*RefuseInviteReq) String ¶
func (x *RefuseInviteReq) String() string
type RefuseInviteRsp ¶
type RefuseInviteRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*RefuseInviteRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*RefuseInviteRsp) Descriptor() ([]byte, []int)
Deprecated: Use RefuseInviteRsp.ProtoReflect.Descriptor instead.
func (*RefuseInviteRsp) ProtoMessage ¶
func (*RefuseInviteRsp) ProtoMessage()
func (*RefuseInviteRsp) ProtoReflect ¶
func (x *RefuseInviteRsp) ProtoReflect() protoreflect.Message
func (*RefuseInviteRsp) Reset ¶
func (x *RefuseInviteRsp) Reset()
func (*RefuseInviteRsp) String ¶
func (x *RefuseInviteRsp) String() string
type ReqType ¶
type ReqType int32
a REQTYPE means one type of api call
const ( ReqType_REQ_TYPE_BIND ReqType = 0 ReqType_REQ_TYPE_CREATE_GROUP ReqType = 1 ReqType_REQ_TYPE_ENTER_GROUP ReqType = 2 ReqType_REQ_TYPE_EXIT_GROUP ReqType = 3 ReqType_REQ_TYPE_DISSOLVE_GROUP ReqType = 4 ReqType_REQ_TYPE_INVITE ReqType = 5 ReqType_REQ_TYPE_ACCEPT_INVITE ReqType = 6 ReqType_REQ_TYPE_REFUSE_INVITE ReqType = 7 ReqType_REQ_TYPE_KICK_PLAYER ReqType = 8 ReqType_REQ_TYPE_CHANGE_ROLE ReqType = 9 ReqType_REQ_TYPE_SET_NEARBY_JOIN_GROUP ReqType = 10 ReqType_REQ_TYPE_SET_RECENT_JOIN_GROUP ReqType = 11 ReqType_REQ_TYPE_SET_VOICE_STATE ReqType = 12 ReqType_REQ_TYPE_READY ReqType = 13 ReqType_REQ_TYPE_UNREADY ReqType = 14 ReqType_REQ_TYPE_START_MATCH ReqType = 15 ReqType_REQ_TYPE_CANCEL_MATCH ReqType = 16 ReqType_REQ_TYPE_UPLOAD_PLAYER_ATTR ReqType = 17 ReqType_REQ_TYPE_EXIT_GAME ReqType = 18 ReqType_REQ_TYPE_MATCH_RESPONSE ReqType = 999 )
func (ReqType) Descriptor ¶
func (ReqType) Descriptor() protoreflect.EnumDescriptor
        
          
            func (ReqType) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (ReqType) Number ¶
func (x ReqType) Number() protoreflect.EnumNumber
func (ReqType) Type ¶
func (ReqType) Type() protoreflect.EnumType
type RspCode ¶
type RspCode int32
const ( RspCode_RSP_CODE_UNKNOWN RspCode = 0 // unknown RspCode_RSP_CODE_SUCCESS RspCode = 200 // success RspCode_RSP_CODE_BAD_REQUEST RspCode = 400 // bad request (param error, etc...) RspCode_RSP_CODE_UNAUTHORIZED RspCode = 401 // no login RspCode_RSP_CODE_FORBIDDEN RspCode = 403 // no permission RspCode_RSP_CODE_NOT_FOUND RspCode = 404 // msg id not found RspCode_RSP_CODE_SERVER_ERROR RspCode = 500 // unified server error RspCode_RSP_CODE_USER_ERROR RspCode = 4000 // unified user error )
func (RspCode) Descriptor ¶
func (RspCode) Descriptor() protoreflect.EnumDescriptor
        
          
            func (RspCode) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (RspCode) Number ¶
func (x RspCode) Number() protoreflect.EnumNumber
func (RspCode) Type ¶
func (RspCode) Type() protoreflect.EnumType
type SetNearbyJoinGroupReq ¶
type SetNearbyJoinGroupReq struct {
	Uid   string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Allow bool   `protobuf:"varint,2,opt,name=allow,proto3" json:"allow,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] SetNearbyJoinGroup
        
          
            func (*SetNearbyJoinGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetNearbyJoinGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use SetNearbyJoinGroupReq.ProtoReflect.Descriptor instead.
func (*SetNearbyJoinGroupReq) GetAllow ¶
func (x *SetNearbyJoinGroupReq) GetAllow() bool
func (*SetNearbyJoinGroupReq) GetUid ¶
func (x *SetNearbyJoinGroupReq) GetUid() string
func (*SetNearbyJoinGroupReq) ProtoMessage ¶
func (*SetNearbyJoinGroupReq) ProtoMessage()
func (*SetNearbyJoinGroupReq) ProtoReflect ¶
func (x *SetNearbyJoinGroupReq) ProtoReflect() protoreflect.Message
func (*SetNearbyJoinGroupReq) Reset ¶
func (x *SetNearbyJoinGroupReq) Reset()
func (*SetNearbyJoinGroupReq) String ¶
func (x *SetNearbyJoinGroupReq) String() string
type SetNearbyJoinGroupRsp ¶
type SetNearbyJoinGroupRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SetNearbyJoinGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetNearbyJoinGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use SetNearbyJoinGroupRsp.ProtoReflect.Descriptor instead.
func (*SetNearbyJoinGroupRsp) ProtoMessage ¶
func (*SetNearbyJoinGroupRsp) ProtoMessage()
func (*SetNearbyJoinGroupRsp) ProtoReflect ¶
func (x *SetNearbyJoinGroupRsp) ProtoReflect() protoreflect.Message
func (*SetNearbyJoinGroupRsp) Reset ¶
func (x *SetNearbyJoinGroupRsp) Reset()
func (*SetNearbyJoinGroupRsp) String ¶
func (x *SetNearbyJoinGroupRsp) String() string
type SetRecentJoinGroupReq ¶
type SetRecentJoinGroupReq struct {
	Uid   string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Allow bool   `protobuf:"varint,2,opt,name=allow,proto3" json:"allow,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] SetRecentJoinGroup
        
          
            func (*SetRecentJoinGroupReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetRecentJoinGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use SetRecentJoinGroupReq.ProtoReflect.Descriptor instead.
func (*SetRecentJoinGroupReq) GetAllow ¶
func (x *SetRecentJoinGroupReq) GetAllow() bool
func (*SetRecentJoinGroupReq) GetUid ¶
func (x *SetRecentJoinGroupReq) GetUid() string
func (*SetRecentJoinGroupReq) ProtoMessage ¶
func (*SetRecentJoinGroupReq) ProtoMessage()
func (*SetRecentJoinGroupReq) ProtoReflect ¶
func (x *SetRecentJoinGroupReq) ProtoReflect() protoreflect.Message
func (*SetRecentJoinGroupReq) Reset ¶
func (x *SetRecentJoinGroupReq) Reset()
func (*SetRecentJoinGroupReq) String ¶
func (x *SetRecentJoinGroupReq) String() string
type SetRecentJoinGroupRsp ¶
type SetRecentJoinGroupRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SetRecentJoinGroupRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetRecentJoinGroupRsp) Descriptor() ([]byte, []int)
Deprecated: Use SetRecentJoinGroupRsp.ProtoReflect.Descriptor instead.
func (*SetRecentJoinGroupRsp) ProtoMessage ¶
func (*SetRecentJoinGroupRsp) ProtoMessage()
func (*SetRecentJoinGroupRsp) ProtoReflect ¶
func (x *SetRecentJoinGroupRsp) ProtoReflect() protoreflect.Message
func (*SetRecentJoinGroupRsp) Reset ¶
func (x *SetRecentJoinGroupRsp) Reset()
func (*SetRecentJoinGroupRsp) String ¶
func (x *SetRecentJoinGroupRsp) String() string
type SetVoiceStateReq ¶
type SetVoiceStateReq struct {
	Uid   string           `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	State PlayerVoiceState `protobuf:"varint,2,opt,name=state,proto3,enum=pb.PlayerVoiceState" json:"state,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] SetVoiceState
        
          
            func (*SetVoiceStateReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetVoiceStateReq) Descriptor() ([]byte, []int)
Deprecated: Use SetVoiceStateReq.ProtoReflect.Descriptor instead.
func (*SetVoiceStateReq) GetState ¶
func (x *SetVoiceStateReq) GetState() PlayerVoiceState
func (*SetVoiceStateReq) GetUid ¶
func (x *SetVoiceStateReq) GetUid() string
func (*SetVoiceStateReq) ProtoMessage ¶
func (*SetVoiceStateReq) ProtoMessage()
func (*SetVoiceStateReq) ProtoReflect ¶
func (x *SetVoiceStateReq) ProtoReflect() protoreflect.Message
func (*SetVoiceStateReq) Reset ¶
func (x *SetVoiceStateReq) Reset()
func (*SetVoiceStateReq) String ¶
func (x *SetVoiceStateReq) String() string
type SetVoiceStateRsp ¶
type SetVoiceStateRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SetVoiceStateRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SetVoiceStateRsp) Descriptor() ([]byte, []int)
Deprecated: Use SetVoiceStateRsp.ProtoReflect.Descriptor instead.
func (*SetVoiceStateRsp) ProtoMessage ¶
func (*SetVoiceStateRsp) ProtoMessage()
func (*SetVoiceStateRsp) ProtoReflect ¶
func (x *SetVoiceStateRsp) ProtoReflect() protoreflect.Message
func (*SetVoiceStateRsp) Reset ¶
func (x *SetVoiceStateRsp) Reset()
func (*SetVoiceStateRsp) String ¶
func (x *SetVoiceStateRsp) String() string
type StartMatchReq ¶
type StartMatchReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] StartMatch
        
          
            func (*StartMatchReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*StartMatchReq) Descriptor() ([]byte, []int)
Deprecated: Use StartMatchReq.ProtoReflect.Descriptor instead.
func (*StartMatchReq) GetUid ¶
func (x *StartMatchReq) GetUid() string
func (*StartMatchReq) ProtoMessage ¶
func (*StartMatchReq) ProtoMessage()
func (*StartMatchReq) ProtoReflect ¶
func (x *StartMatchReq) ProtoReflect() protoreflect.Message
func (*StartMatchReq) Reset ¶
func (x *StartMatchReq) Reset()
func (*StartMatchReq) String ¶
func (x *StartMatchReq) String() string
type StartMatchRsp ¶
type StartMatchRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*StartMatchRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*StartMatchRsp) Descriptor() ([]byte, []int)
Deprecated: Use StartMatchRsp.ProtoReflect.Descriptor instead.
func (*StartMatchRsp) ProtoMessage ¶
func (*StartMatchRsp) ProtoMessage()
func (*StartMatchRsp) ProtoReflect ¶
func (x *StartMatchRsp) ProtoReflect() protoreflect.Message
func (*StartMatchRsp) Reset ¶
func (x *StartMatchRsp) Reset()
func (*StartMatchRsp) String ¶
func (x *StartMatchRsp) String() string
type UnreadyReq ¶
type UnreadyReq struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}
    --->[START] Unready
        
          
            func (*UnreadyReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UnreadyReq) Descriptor() ([]byte, []int)
Deprecated: Use UnreadyReq.ProtoReflect.Descriptor instead.
func (*UnreadyReq) GetUid ¶
func (x *UnreadyReq) GetUid() string
func (*UnreadyReq) ProtoMessage ¶
func (*UnreadyReq) ProtoMessage()
func (*UnreadyReq) ProtoReflect ¶
func (x *UnreadyReq) ProtoReflect() protoreflect.Message
func (*UnreadyReq) Reset ¶
func (x *UnreadyReq) Reset()
func (*UnreadyReq) String ¶
func (x *UnreadyReq) String() string
type UnreadyRsp ¶
type UnreadyRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*UnreadyRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UnreadyRsp) Descriptor() ([]byte, []int)
Deprecated: Use UnreadyRsp.ProtoReflect.Descriptor instead.
func (*UnreadyRsp) ProtoMessage ¶
func (*UnreadyRsp) ProtoMessage()
func (*UnreadyRsp) ProtoReflect ¶
func (x *UnreadyRsp) ProtoReflect() protoreflect.Message
func (*UnreadyRsp) Reset ¶
func (x *UnreadyRsp) Reset()
func (*UnreadyRsp) String ¶
func (x *UnreadyRsp) String() string
type UploadPlayerAttrReq ¶
type UploadPlayerAttrReq struct {
	Uid  string         `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Attr *UserAttribute `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
	// Types that are assignable to Type:
	//
	//	*UploadPlayerAttrReq_GoatGameAttr
	Type isUploadPlayerAttrReq_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}
    --->[START] UploadPlayerAttr
        
          
            func (*UploadPlayerAttrReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UploadPlayerAttrReq) Descriptor() ([]byte, []int)
Deprecated: Use UploadPlayerAttrReq.ProtoReflect.Descriptor instead.
func (*UploadPlayerAttrReq) GetAttr ¶
func (x *UploadPlayerAttrReq) GetAttr() *UserAttribute
func (*UploadPlayerAttrReq) GetGoatGameAttr ¶
func (x *UploadPlayerAttrReq) GetGoatGameAttr() *GoatGameAttribute
func (*UploadPlayerAttrReq) GetType ¶
func (m *UploadPlayerAttrReq) GetType() isUploadPlayerAttrReq_Type
func (*UploadPlayerAttrReq) GetUid ¶
func (x *UploadPlayerAttrReq) GetUid() string
func (*UploadPlayerAttrReq) ProtoMessage ¶
func (*UploadPlayerAttrReq) ProtoMessage()
func (*UploadPlayerAttrReq) ProtoReflect ¶
func (x *UploadPlayerAttrReq) ProtoReflect() protoreflect.Message
func (*UploadPlayerAttrReq) Reset ¶
func (x *UploadPlayerAttrReq) Reset()
func (*UploadPlayerAttrReq) String ¶
func (x *UploadPlayerAttrReq) String() string
type UploadPlayerAttrReq_GoatGameAttr ¶
type UploadPlayerAttrReq_GoatGameAttr struct {
	GoatGameAttr *GoatGameAttribute `protobuf:"bytes,3,opt,name=goat_game_attr,json=goatGameAttr,proto3,oneof"`
}
    type UploadPlayerAttrRsp ¶
type UploadPlayerAttrRsp struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*UploadPlayerAttrRsp) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UploadPlayerAttrRsp) Descriptor() ([]byte, []int)
Deprecated: Use UploadPlayerAttrRsp.ProtoReflect.Descriptor instead.
func (*UploadPlayerAttrRsp) ProtoMessage ¶
func (*UploadPlayerAttrRsp) ProtoMessage()
func (*UploadPlayerAttrRsp) ProtoReflect ¶
func (x *UploadPlayerAttrRsp) ProtoReflect() protoreflect.Message
func (*UploadPlayerAttrRsp) Reset ¶
func (x *UploadPlayerAttrRsp) Reset()
func (*UploadPlayerAttrRsp) String ¶
func (x *UploadPlayerAttrRsp) String() string
type UserAttribute ¶
type UserAttribute struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Avatar   string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Star     int64  `protobuf:"varint,3,opt,name=star,proto3" json:"star,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*UserAttribute) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UserAttribute) Descriptor() ([]byte, []int)
Deprecated: Use UserAttribute.ProtoReflect.Descriptor instead.
func (*UserAttribute) GetAvatar ¶
func (x *UserAttribute) GetAvatar() string
func (*UserAttribute) GetNickname ¶
func (x *UserAttribute) GetNickname() string
func (*UserAttribute) GetStar ¶
func (x *UserAttribute) GetStar() int64
func (*UserAttribute) ProtoMessage ¶
func (*UserAttribute) ProtoMessage()
func (*UserAttribute) ProtoReflect ¶
func (x *UserAttribute) ProtoReflect() protoreflect.Message
func (*UserAttribute) Reset ¶
func (x *UserAttribute) Reset()
func (*UserAttribute) String ¶
func (x *UserAttribute) String() string