接口补充 查询最近一起游戏的玩家信息

This commit is contained in:
meixiongfeng 2023-04-23 14:49:37 +08:00
parent a9bc2516c4
commit d5bd4f925f
3 changed files with 423 additions and 152 deletions

View File

@ -13,9 +13,7 @@ func (this *apiComp) GetRewardCheck(session comm.IUserSession, req *pb.ParkourGe
///积分领奖 ///积分领奖
func (this *apiComp) GetReward(session comm.IUserSession, req *pb.ParkourGetRewardReq) (code pb.ErrorCode, data *pb.ErrorData) { func (this *apiComp) GetReward(session comm.IUserSession, req *pb.ParkourGetRewardReq) (code pb.ErrorCode, data *pb.ErrorData) {
var ( var (
isopen bool
info *pb.DBParkour info *pb.DBParkour
recommend []*pb.DBRaceMember
err error err error
) )
if code = this.GetRewardCheck(session, req); code != pb.ErrorCode_Success { if code = this.GetRewardCheck(session, req); code != pb.ErrorCode_Success {
@ -39,6 +37,8 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.ParkourGetRewa
return return
} }
} }
session.SendMsg(string(this.module.GetType()), "info", &pb.ParkourInfoResp{Isopen: isopen, Info: info, Recommend: recommend}) session.SendMsg(string(this.module.GetType()), "getreward", &pb.ParkourGetRewardResp{
Info: info,
})
return return
} }

View File

@ -0,0 +1,42 @@
package parkour
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
//参数校验
func (this *apiComp) ViewPlayerCheck(session comm.IUserSession, req *pb.ParkourViewPlayerReq) (code pb.ErrorCode) {
return
}
///游戏
func (this *apiComp) ViewPlayer(session comm.IUserSession, req *pb.ParkourViewPlayerReq) (code pb.ErrorCode, data *pb.ErrorData) {
var (
resp *pb.ParkourViewPlayerResp
)
if code = this.ViewPlayerCheck(session, req); code != pb.ErrorCode_Success {
return
}
for _, uid := range req.Uid {
if u := this.module.ModuleUser.GetUser(uid); u != nil {
{
bOnline := false
if _, ok := this.module.GetUserSession(uid); ok {
bOnline = true
}
resp.Player = append(resp.Player, &pb.ParkourData{
Uid: uid,
Name: u.Name,
Avatar: u.Avatar,
Lv: u.Lv,
IsOnline: bOnline, // 检查是否在线
})
}
}
}
session.SendMsg(string(this.module.GetType()), "viewplayer", resp)
return
}

View File

@ -1451,6 +1451,180 @@ func (x *ParkourAvoidReq) GetDistance() int32 {
return 0 return 0
} }
// 观察其他玩家信息
type ParkourViewPlayerReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid []string `protobuf:"bytes,1,rep,name=uid,proto3" json:"uid"`
}
func (x *ParkourViewPlayerReq) Reset() {
*x = ParkourViewPlayerReq{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ParkourViewPlayerReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParkourViewPlayerReq) ProtoMessage() {}
func (x *ParkourViewPlayerReq) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ParkourViewPlayerReq.ProtoReflect.Descriptor instead.
func (*ParkourViewPlayerReq) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{30}
}
func (x *ParkourViewPlayerReq) GetUid() []string {
if x != nil {
return x.Uid
}
return nil
}
type ParkourData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar"` //用户头像
Lv int32 `protobuf:"varint,4,opt,name=lv,proto3" json:"lv"` //等级
IsOnline bool `protobuf:"varint,5,opt,name=isOnline,proto3" json:"isOnline"` // 是否在线
}
func (x *ParkourData) Reset() {
*x = ParkourData{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ParkourData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParkourData) ProtoMessage() {}
func (x *ParkourData) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ParkourData.ProtoReflect.Descriptor instead.
func (*ParkourData) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{31}
}
func (x *ParkourData) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *ParkourData) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ParkourData) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *ParkourData) GetLv() int32 {
if x != nil {
return x.Lv
}
return 0
}
func (x *ParkourData) GetIsOnline() bool {
if x != nil {
return x.IsOnline
}
return false
}
type ParkourViewPlayerResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Player []*ParkourData `protobuf:"bytes,1,rep,name=player,proto3" json:"player"`
}
func (x *ParkourViewPlayerResp) Reset() {
*x = ParkourViewPlayerResp{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ParkourViewPlayerResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParkourViewPlayerResp) ProtoMessage() {}
func (x *ParkourViewPlayerResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ParkourViewPlayerResp.ProtoReflect.Descriptor instead.
func (*ParkourViewPlayerResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{32}
}
func (x *ParkourViewPlayerResp) GetPlayer() []*ParkourData {
if x != nil {
return x.Player
}
return nil
}
//躲避障碍请求 回应 //躲避障碍请求 回应
type ParkourAvoidResp struct { type ParkourAvoidResp struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -1461,7 +1635,7 @@ type ParkourAvoidResp struct {
func (x *ParkourAvoidResp) Reset() { func (x *ParkourAvoidResp) Reset() {
*x = ParkourAvoidResp{} *x = ParkourAvoidResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[30] mi := &file_parkour_parkour_msg_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1474,7 +1648,7 @@ func (x *ParkourAvoidResp) String() string {
func (*ParkourAvoidResp) ProtoMessage() {} func (*ParkourAvoidResp) ProtoMessage() {}
func (x *ParkourAvoidResp) ProtoReflect() protoreflect.Message { func (x *ParkourAvoidResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[30] mi := &file_parkour_parkour_msg_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1487,7 +1661,7 @@ func (x *ParkourAvoidResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourAvoidResp.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourAvoidResp.ProtoReflect.Descriptor instead.
func (*ParkourAvoidResp) Descriptor() ([]byte, []int) { func (*ParkourAvoidResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{30} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{33}
} }
//全员冲刺 //全员冲刺
@ -1502,7 +1676,7 @@ type ParkourAllSprintsPush struct {
func (x *ParkourAllSprintsPush) Reset() { func (x *ParkourAllSprintsPush) Reset() {
*x = ParkourAllSprintsPush{} *x = ParkourAllSprintsPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[31] mi := &file_parkour_parkour_msg_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1515,7 +1689,7 @@ func (x *ParkourAllSprintsPush) String() string {
func (*ParkourAllSprintsPush) ProtoMessage() {} func (*ParkourAllSprintsPush) ProtoMessage() {}
func (x *ParkourAllSprintsPush) ProtoReflect() protoreflect.Message { func (x *ParkourAllSprintsPush) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[31] mi := &file_parkour_parkour_msg_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1528,7 +1702,7 @@ func (x *ParkourAllSprintsPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourAllSprintsPush.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourAllSprintsPush.ProtoReflect.Descriptor instead.
func (*ParkourAllSprintsPush) Descriptor() ([]byte, []int) { func (*ParkourAllSprintsPush) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{31} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{34}
} }
func (x *ParkourAllSprintsPush) GetLeft() int32 { func (x *ParkourAllSprintsPush) GetLeft() int32 {
@ -1549,7 +1723,7 @@ type ParkourInfoChangePush struct {
func (x *ParkourInfoChangePush) Reset() { func (x *ParkourInfoChangePush) Reset() {
*x = ParkourInfoChangePush{} *x = ParkourInfoChangePush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[32] mi := &file_parkour_parkour_msg_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1562,7 +1736,7 @@ func (x *ParkourInfoChangePush) String() string {
func (*ParkourInfoChangePush) ProtoMessage() {} func (*ParkourInfoChangePush) ProtoMessage() {}
func (x *ParkourInfoChangePush) ProtoReflect() protoreflect.Message { func (x *ParkourInfoChangePush) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[32] mi := &file_parkour_parkour_msg_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1575,7 +1749,7 @@ func (x *ParkourInfoChangePush) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourInfoChangePush.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourInfoChangePush.ProtoReflect.Descriptor instead.
func (*ParkourInfoChangePush) Descriptor() ([]byte, []int) { func (*ParkourInfoChangePush) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{32} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{35}
} }
func (x *ParkourInfoChangePush) GetInfo() *DBParkour { func (x *ParkourInfoChangePush) GetInfo() *DBParkour {
@ -1598,7 +1772,7 @@ type ParkourPlayerHPChanagePush struct {
func (x *ParkourPlayerHPChanagePush) Reset() { func (x *ParkourPlayerHPChanagePush) Reset() {
*x = ParkourPlayerHPChanagePush{} *x = ParkourPlayerHPChanagePush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[33] mi := &file_parkour_parkour_msg_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1611,7 +1785,7 @@ func (x *ParkourPlayerHPChanagePush) String() string {
func (*ParkourPlayerHPChanagePush) ProtoMessage() {} func (*ParkourPlayerHPChanagePush) ProtoMessage() {}
func (x *ParkourPlayerHPChanagePush) ProtoReflect() protoreflect.Message { func (x *ParkourPlayerHPChanagePush) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[33] mi := &file_parkour_parkour_msg_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1624,7 +1798,7 @@ func (x *ParkourPlayerHPChanagePush) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourPlayerHPChanagePush.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourPlayerHPChanagePush.ProtoReflect.Descriptor instead.
func (*ParkourPlayerHPChanagePush) Descriptor() ([]byte, []int) { func (*ParkourPlayerHPChanagePush) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{33} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{36}
} }
func (x *ParkourPlayerHPChanagePush) GetUid() string { func (x *ParkourPlayerHPChanagePush) GetUid() string {
@ -1656,7 +1830,7 @@ type ParkourScoreChanagePush struct {
func (x *ParkourScoreChanagePush) Reset() { func (x *ParkourScoreChanagePush) Reset() {
*x = ParkourScoreChanagePush{} *x = ParkourScoreChanagePush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[34] mi := &file_parkour_parkour_msg_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1669,7 +1843,7 @@ func (x *ParkourScoreChanagePush) String() string {
func (*ParkourScoreChanagePush) ProtoMessage() {} func (*ParkourScoreChanagePush) ProtoMessage() {}
func (x *ParkourScoreChanagePush) ProtoReflect() protoreflect.Message { func (x *ParkourScoreChanagePush) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[34] mi := &file_parkour_parkour_msg_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1682,7 +1856,7 @@ func (x *ParkourScoreChanagePush) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourScoreChanagePush.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourScoreChanagePush.ProtoReflect.Descriptor instead.
func (*ParkourScoreChanagePush) Descriptor() ([]byte, []int) { func (*ParkourScoreChanagePush) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{34} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{37}
} }
func (x *ParkourScoreChanagePush) GetRedscore() int32 { func (x *ParkourScoreChanagePush) GetRedscore() int32 {
@ -1725,7 +1899,7 @@ type ParkourRaceOverPush struct {
func (x *ParkourRaceOverPush) Reset() { func (x *ParkourRaceOverPush) Reset() {
*x = ParkourRaceOverPush{} *x = ParkourRaceOverPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[35] mi := &file_parkour_parkour_msg_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1738,7 +1912,7 @@ func (x *ParkourRaceOverPush) String() string {
func (*ParkourRaceOverPush) ProtoMessage() {} func (*ParkourRaceOverPush) ProtoMessage() {}
func (x *ParkourRaceOverPush) ProtoReflect() protoreflect.Message { func (x *ParkourRaceOverPush) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[35] mi := &file_parkour_parkour_msg_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1751,7 +1925,7 @@ func (x *ParkourRaceOverPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use ParkourRaceOverPush.ProtoReflect.Descriptor instead. // Deprecated: Use ParkourRaceOverPush.ProtoReflect.Descriptor instead.
func (*ParkourRaceOverPush) Descriptor() ([]byte, []int) { func (*ParkourRaceOverPush) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{35} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{38}
} }
func (x *ParkourRaceOverPush) GetWinside() int32 { func (x *ParkourRaceOverPush) GetWinside() int32 {
@ -1774,7 +1948,7 @@ type RPCParkourJoinMatchReq struct {
func (x *RPCParkourJoinMatchReq) Reset() { func (x *RPCParkourJoinMatchReq) Reset() {
*x = RPCParkourJoinMatchReq{} *x = RPCParkourJoinMatchReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[36] mi := &file_parkour_parkour_msg_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1787,7 +1961,7 @@ func (x *RPCParkourJoinMatchReq) String() string {
func (*RPCParkourJoinMatchReq) ProtoMessage() {} func (*RPCParkourJoinMatchReq) ProtoMessage() {}
func (x *RPCParkourJoinMatchReq) ProtoReflect() protoreflect.Message { func (x *RPCParkourJoinMatchReq) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[36] mi := &file_parkour_parkour_msg_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1800,7 +1974,7 @@ func (x *RPCParkourJoinMatchReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourJoinMatchReq.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourJoinMatchReq.ProtoReflect.Descriptor instead.
func (*RPCParkourJoinMatchReq) Descriptor() ([]byte, []int) { func (*RPCParkourJoinMatchReq) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{36} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{39}
} }
func (x *RPCParkourJoinMatchReq) GetCaptainid() string { func (x *RPCParkourJoinMatchReq) GetCaptainid() string {
@ -1827,7 +2001,7 @@ type RPCParkourJoinMatchResp struct {
func (x *RPCParkourJoinMatchResp) Reset() { func (x *RPCParkourJoinMatchResp) Reset() {
*x = RPCParkourJoinMatchResp{} *x = RPCParkourJoinMatchResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[37] mi := &file_parkour_parkour_msg_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1840,7 +2014,7 @@ func (x *RPCParkourJoinMatchResp) String() string {
func (*RPCParkourJoinMatchResp) ProtoMessage() {} func (*RPCParkourJoinMatchResp) ProtoMessage() {}
func (x *RPCParkourJoinMatchResp) ProtoReflect() protoreflect.Message { func (x *RPCParkourJoinMatchResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[37] mi := &file_parkour_parkour_msg_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1853,7 +2027,7 @@ func (x *RPCParkourJoinMatchResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourJoinMatchResp.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourJoinMatchResp.ProtoReflect.Descriptor instead.
func (*RPCParkourJoinMatchResp) Descriptor() ([]byte, []int) { func (*RPCParkourJoinMatchResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{37} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{40}
} }
//取消匹配 //取消匹配
@ -1868,7 +2042,7 @@ type RPCParkourCancelMatchReq struct {
func (x *RPCParkourCancelMatchReq) Reset() { func (x *RPCParkourCancelMatchReq) Reset() {
*x = RPCParkourCancelMatchReq{} *x = RPCParkourCancelMatchReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[38] mi := &file_parkour_parkour_msg_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1881,7 +2055,7 @@ func (x *RPCParkourCancelMatchReq) String() string {
func (*RPCParkourCancelMatchReq) ProtoMessage() {} func (*RPCParkourCancelMatchReq) ProtoMessage() {}
func (x *RPCParkourCancelMatchReq) ProtoReflect() protoreflect.Message { func (x *RPCParkourCancelMatchReq) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[38] mi := &file_parkour_parkour_msg_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1894,7 +2068,7 @@ func (x *RPCParkourCancelMatchReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourCancelMatchReq.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourCancelMatchReq.ProtoReflect.Descriptor instead.
func (*RPCParkourCancelMatchReq) Descriptor() ([]byte, []int) { func (*RPCParkourCancelMatchReq) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{38} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{41}
} }
func (x *RPCParkourCancelMatchReq) GetCaptainid() string { func (x *RPCParkourCancelMatchReq) GetCaptainid() string {
@ -1913,7 +2087,7 @@ type RPCParkourCancelMatchResp struct {
func (x *RPCParkourCancelMatchResp) Reset() { func (x *RPCParkourCancelMatchResp) Reset() {
*x = RPCParkourCancelMatchResp{} *x = RPCParkourCancelMatchResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[39] mi := &file_parkour_parkour_msg_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1926,7 +2100,7 @@ func (x *RPCParkourCancelMatchResp) String() string {
func (*RPCParkourCancelMatchResp) ProtoMessage() {} func (*RPCParkourCancelMatchResp) ProtoMessage() {}
func (x *RPCParkourCancelMatchResp) ProtoReflect() protoreflect.Message { func (x *RPCParkourCancelMatchResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[39] mi := &file_parkour_parkour_msg_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1939,7 +2113,7 @@ func (x *RPCParkourCancelMatchResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourCancelMatchResp.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourCancelMatchResp.ProtoReflect.Descriptor instead.
func (*RPCParkourCancelMatchResp) Descriptor() ([]byte, []int) { func (*RPCParkourCancelMatchResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{39} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{42}
} }
///匹配成功通知请求 ///匹配成功通知请求
@ -1955,7 +2129,7 @@ type RPCParkourMatchSuccReq struct {
func (x *RPCParkourMatchSuccReq) Reset() { func (x *RPCParkourMatchSuccReq) Reset() {
*x = RPCParkourMatchSuccReq{} *x = RPCParkourMatchSuccReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[40] mi := &file_parkour_parkour_msg_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1968,7 +2142,7 @@ func (x *RPCParkourMatchSuccReq) String() string {
func (*RPCParkourMatchSuccReq) ProtoMessage() {} func (*RPCParkourMatchSuccReq) ProtoMessage() {}
func (x *RPCParkourMatchSuccReq) ProtoReflect() protoreflect.Message { func (x *RPCParkourMatchSuccReq) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[40] mi := &file_parkour_parkour_msg_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1981,7 +2155,7 @@ func (x *RPCParkourMatchSuccReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourMatchSuccReq.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourMatchSuccReq.ProtoReflect.Descriptor instead.
func (*RPCParkourMatchSuccReq) Descriptor() ([]byte, []int) { func (*RPCParkourMatchSuccReq) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{40} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{43}
} }
func (x *RPCParkourMatchSuccReq) GetRed() []*DBRaceMember { func (x *RPCParkourMatchSuccReq) GetRed() []*DBRaceMember {
@ -2008,7 +2182,7 @@ type RPCParkourMatchSuccResp struct {
func (x *RPCParkourMatchSuccResp) Reset() { func (x *RPCParkourMatchSuccResp) Reset() {
*x = RPCParkourMatchSuccResp{} *x = RPCParkourMatchSuccResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[41] mi := &file_parkour_parkour_msg_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -2021,7 +2195,7 @@ func (x *RPCParkourMatchSuccResp) String() string {
func (*RPCParkourMatchSuccResp) ProtoMessage() {} func (*RPCParkourMatchSuccResp) ProtoMessage() {}
func (x *RPCParkourMatchSuccResp) ProtoReflect() protoreflect.Message { func (x *RPCParkourMatchSuccResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[41] mi := &file_parkour_parkour_msg_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -2034,7 +2208,7 @@ func (x *RPCParkourMatchSuccResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPCParkourMatchSuccResp.ProtoReflect.Descriptor instead. // Deprecated: Use RPCParkourMatchSuccResp.ProtoReflect.Descriptor instead.
func (*RPCParkourMatchSuccResp) Descriptor() ([]byte, []int) { func (*RPCParkourMatchSuccResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{41} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{44}
} }
//托管求情 //托管求情
@ -2050,7 +2224,7 @@ type RPC_ParkourTrusteeshipReq struct {
func (x *RPC_ParkourTrusteeshipReq) Reset() { func (x *RPC_ParkourTrusteeshipReq) Reset() {
*x = RPC_ParkourTrusteeshipReq{} *x = RPC_ParkourTrusteeshipReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[42] mi := &file_parkour_parkour_msg_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -2063,7 +2237,7 @@ func (x *RPC_ParkourTrusteeshipReq) String() string {
func (*RPC_ParkourTrusteeshipReq) ProtoMessage() {} func (*RPC_ParkourTrusteeshipReq) ProtoMessage() {}
func (x *RPC_ParkourTrusteeshipReq) ProtoReflect() protoreflect.Message { func (x *RPC_ParkourTrusteeshipReq) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[42] mi := &file_parkour_parkour_msg_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -2076,7 +2250,7 @@ func (x *RPC_ParkourTrusteeshipReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPC_ParkourTrusteeshipReq.ProtoReflect.Descriptor instead. // Deprecated: Use RPC_ParkourTrusteeshipReq.ProtoReflect.Descriptor instead.
func (*RPC_ParkourTrusteeshipReq) Descriptor() ([]byte, []int) { func (*RPC_ParkourTrusteeshipReq) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{42} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{45}
} }
func (x *RPC_ParkourTrusteeshipReq) GetBattleid() string { func (x *RPC_ParkourTrusteeshipReq) GetBattleid() string {
@ -2102,7 +2276,7 @@ type RPC_ParkourTrusteeshipResp struct {
func (x *RPC_ParkourTrusteeshipResp) Reset() { func (x *RPC_ParkourTrusteeshipResp) Reset() {
*x = RPC_ParkourTrusteeshipResp{} *x = RPC_ParkourTrusteeshipResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_msg_proto_msgTypes[43] mi := &file_parkour_parkour_msg_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -2115,7 +2289,7 @@ func (x *RPC_ParkourTrusteeshipResp) String() string {
func (*RPC_ParkourTrusteeshipResp) ProtoMessage() {} func (*RPC_ParkourTrusteeshipResp) ProtoMessage() {}
func (x *RPC_ParkourTrusteeshipResp) ProtoReflect() protoreflect.Message { func (x *RPC_ParkourTrusteeshipResp) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_msg_proto_msgTypes[43] mi := &file_parkour_parkour_msg_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -2128,7 +2302,7 @@ func (x *RPC_ParkourTrusteeshipResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPC_ParkourTrusteeshipResp.ProtoReflect.Descriptor instead. // Deprecated: Use RPC_ParkourTrusteeshipResp.ProtoReflect.Descriptor instead.
func (*RPC_ParkourTrusteeshipResp) Descriptor() ([]byte, []int) { func (*RPC_ParkourTrusteeshipResp) Descriptor() ([]byte, []int) {
return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{43} return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{46}
} }
var File_parkour_parkour_msg_proto protoreflect.FileDescriptor var File_parkour_parkour_msg_proto protoreflect.FileDescriptor
@ -2233,59 +2407,74 @@ var file_parkour_parkour_msg_proto_rawDesc = []byte{
0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x52, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x52,
0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x28,
0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x52, 0x65, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x56, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61,
0x73, 0x70, 0x22, 0x2b, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41, 0x6c, 0x6c, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x77, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x6b,
0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x22, 0x6f, 0x75, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
0x37, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61,
0x75, 0x72, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3e, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x6b, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x04, 0x20, 0x01, 0x28,
0x6f, 0x75, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x50, 0x43, 0x68, 0x61, 0x6e, 0x61, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x02, 0x65, 0x22, 0x3d, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x56, 0x69, 0x65, 0x77,
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x68, 0x70, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x50, 0x61, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x06, 0x70, 0x6c,
0x6b, 0x6f, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x61, 0x72,
0x50, 0x75, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x6b, 0x6f, 0x75, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x64, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64,
0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x52, 0x65, 0x73, 0x70, 0x22, 0x2b, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x41,
0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1c, 0x6c, 0x6c, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x12, 0x0a,
0x0a, 0x09, 0x62, 0x6c, 0x75, 0x65, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x65, 0x66,
0x05, 0x52, 0x09, 0x62, 0x6c, 0x75, 0x65, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x22, 0x37, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x49, 0x6e, 0x66, 0x6f,
0x62, 0x6c, 0x75, 0x65, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x04, 0x49, 0x6e,
0x52, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x2f, 0x0a, 0x13, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x72,
0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x50, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3e, 0x0a, 0x1a, 0x50, 0x61,
0x75, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x50, 0x43, 0x68, 0x61,
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x22, 0x5d, 0x0a, 0x6e, 0x61, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
0x16, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4a, 0x6f, 0x69, 0x6e, 0x4d, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70,
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x68, 0x70, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x50,
0x69, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x61,
0x61, 0x69, 0x6e, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x73, 0x63, 0x6f,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x64, 0x73, 0x63, 0x6f,
0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18,
0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4a, 0x6f, 0x69, 0x6e, 0x4d, 0x61, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79,
0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x22, 0x38, 0x0a, 0x18, 0x52, 0x50, 0x43, 0x50, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x75, 0x65, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20,
0x72, 0x6b, 0x6f, 0x75, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x75, 0x65, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1e,
0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x64, 0x0a, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x28, 0x05, 0x52, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x2f,
0x64, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x43, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65,
0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x22, 0x5c, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65,
0x0a, 0x16, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x22,
0x68, 0x53, 0x75, 0x63, 0x63, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x5d, 0x0a, 0x16, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4a, 0x6f, 0x69,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x70,
0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61,
0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65,
0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x19,
0x75, 0x63, 0x63, 0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x19, 0x52, 0x50, 0x43, 0x5f, 0x50, 0x0a, 0x17, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4a, 0x6f, 0x69, 0x6e,
0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x22, 0x38, 0x0a, 0x18, 0x52, 0x50, 0x43,
0x70, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e,
0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x61, 0x69,
0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x50, 0x43, 0x5f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x6e, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75,
0x72, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x22, 0x5c, 0x0a, 0x16, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61,
0x74, 0x63, 0x68, 0x53, 0x75, 0x63, 0x63, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x03, 0x72, 0x65,
0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x62,
0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61,
0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x22, 0x19,
0x0a, 0x17, 0x52, 0x50, 0x43, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63,
0x68, 0x53, 0x75, 0x63, 0x63, 0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x19, 0x52, 0x50, 0x43,
0x5f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73,
0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x75, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x50, 0x43, 0x5f, 0x50, 0x61, 0x72, 0x6b,
0x6f, 0x75, 0x72, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65,
0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
} }
var ( var (
@ -2300,7 +2489,7 @@ func file_parkour_parkour_msg_proto_rawDescGZIP() []byte {
return file_parkour_parkour_msg_proto_rawDescData return file_parkour_parkour_msg_proto_rawDescData
} }
var file_parkour_parkour_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 44) var file_parkour_parkour_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
var file_parkour_parkour_msg_proto_goTypes = []interface{}{ var file_parkour_parkour_msg_proto_goTypes = []interface{}{
(*ParkourInfoReq)(nil), // 0: ParkourInfoReq (*ParkourInfoReq)(nil), // 0: ParkourInfoReq
(*ParkourInfoResp)(nil), // 1: ParkourInfoResp (*ParkourInfoResp)(nil), // 1: ParkourInfoResp
@ -2332,45 +2521,49 @@ var file_parkour_parkour_msg_proto_goTypes = []interface{}{
(*ParkourGetRewardReq)(nil), // 27: ParkourGetRewardReq (*ParkourGetRewardReq)(nil), // 27: ParkourGetRewardReq
(*ParkourGetRewardResp)(nil), // 28: ParkourGetRewardResp (*ParkourGetRewardResp)(nil), // 28: ParkourGetRewardResp
(*ParkourAvoidReq)(nil), // 29: ParkourAvoidReq (*ParkourAvoidReq)(nil), // 29: ParkourAvoidReq
(*ParkourAvoidResp)(nil), // 30: ParkourAvoidResp (*ParkourViewPlayerReq)(nil), // 30: ParkourViewPlayerReq
(*ParkourAllSprintsPush)(nil), // 31: ParkourAllSprintsPush (*ParkourData)(nil), // 31: ParkourData
(*ParkourInfoChangePush)(nil), // 32: ParkourInfoChangePush (*ParkourViewPlayerResp)(nil), // 32: ParkourViewPlayerResp
(*ParkourPlayerHPChanagePush)(nil), // 33: ParkourPlayerHPChanagePush (*ParkourAvoidResp)(nil), // 33: ParkourAvoidResp
(*ParkourScoreChanagePush)(nil), // 34: ParkourScoreChanagePush (*ParkourAllSprintsPush)(nil), // 34: ParkourAllSprintsPush
(*ParkourRaceOverPush)(nil), // 35: ParkourRaceOverPush (*ParkourInfoChangePush)(nil), // 35: ParkourInfoChangePush
(*RPCParkourJoinMatchReq)(nil), // 36: RPCParkourJoinMatchReq (*ParkourPlayerHPChanagePush)(nil), // 36: ParkourPlayerHPChanagePush
(*RPCParkourJoinMatchResp)(nil), // 37: RPCParkourJoinMatchResp (*ParkourScoreChanagePush)(nil), // 37: ParkourScoreChanagePush
(*RPCParkourCancelMatchReq)(nil), // 38: RPCParkourCancelMatchReq (*ParkourRaceOverPush)(nil), // 38: ParkourRaceOverPush
(*RPCParkourCancelMatchResp)(nil), // 39: RPCParkourCancelMatchResp (*RPCParkourJoinMatchReq)(nil), // 39: RPCParkourJoinMatchReq
(*RPCParkourMatchSuccReq)(nil), // 40: RPCParkourMatchSuccReq (*RPCParkourJoinMatchResp)(nil), // 40: RPCParkourJoinMatchResp
(*RPCParkourMatchSuccResp)(nil), // 41: RPCParkourMatchSuccResp (*RPCParkourCancelMatchReq)(nil), // 41: RPCParkourCancelMatchReq
(*RPC_ParkourTrusteeshipReq)(nil), // 42: RPC_ParkourTrusteeshipReq (*RPCParkourCancelMatchResp)(nil), // 42: RPCParkourCancelMatchResp
(*RPC_ParkourTrusteeshipResp)(nil), // 43: RPC_ParkourTrusteeshipResp (*RPCParkourMatchSuccReq)(nil), // 43: RPCParkourMatchSuccReq
(*DBParkour)(nil), // 44: DBParkour (*RPCParkourMatchSuccResp)(nil), // 44: RPCParkourMatchSuccResp
(*DBRaceMember)(nil), // 45: DBRaceMember (*RPC_ParkourTrusteeshipReq)(nil), // 45: RPC_ParkourTrusteeshipReq
(*DBRace)(nil), // 46: DBRace (*RPC_ParkourTrusteeshipResp)(nil), // 46: RPC_ParkourTrusteeshipResp
(*DBParkour)(nil), // 47: DBParkour
(*DBRaceMember)(nil), // 48: DBRaceMember
(*DBRace)(nil), // 49: DBRace
} }
var file_parkour_parkour_msg_proto_depIdxs = []int32{ var file_parkour_parkour_msg_proto_depIdxs = []int32{
44, // 0: ParkourInfoResp.info:type_name -> DBParkour 47, // 0: ParkourInfoResp.info:type_name -> DBParkour
45, // 1: ParkourInfoResp.recommend:type_name -> DBRaceMember 48, // 1: ParkourInfoResp.recommend:type_name -> DBRaceMember
44, // 2: ParkourInviteResp.team:type_name -> DBParkour 47, // 2: ParkourInviteResp.team:type_name -> DBParkour
44, // 3: ParkourInviteNoticePush.team:type_name -> DBParkour 47, // 3: ParkourInviteNoticePush.team:type_name -> DBParkour
44, // 4: ParkourTeamChanagePush.team:type_name -> DBParkour 47, // 4: ParkourTeamChanagePush.team:type_name -> DBParkour
45, // 5: ParkourTeamJoinNoticePush.member:type_name -> DBRaceMember 48, // 5: ParkourTeamJoinNoticePush.member:type_name -> DBRaceMember
45, // 6: ParkourTeamQuitNoticePush.member:type_name -> DBRaceMember 48, // 6: ParkourTeamQuitNoticePush.member:type_name -> DBRaceMember
44, // 7: ParkourRaceMatchStartPush.team:type_name -> DBParkour 47, // 7: ParkourRaceMatchStartPush.team:type_name -> DBParkour
44, // 8: ParkourRaceMatchCancelPush.team:type_name -> DBParkour 47, // 8: ParkourRaceMatchCancelPush.team:type_name -> DBParkour
46, // 9: ParkourRaceMatchSuccPush.race:type_name -> DBRace 49, // 9: ParkourRaceMatchSuccPush.race:type_name -> DBRace
44, // 10: ParkourGetRewardResp.info:type_name -> DBParkour 47, // 10: ParkourGetRewardResp.info:type_name -> DBParkour
44, // 11: ParkourInfoChangePush.Info:type_name -> DBParkour 31, // 11: ParkourViewPlayerResp.player:type_name -> ParkourData
45, // 12: RPCParkourJoinMatchReq.member:type_name -> DBRaceMember 47, // 12: ParkourInfoChangePush.Info:type_name -> DBParkour
45, // 13: RPCParkourMatchSuccReq.red:type_name -> DBRaceMember 48, // 13: RPCParkourJoinMatchReq.member:type_name -> DBRaceMember
45, // 14: RPCParkourMatchSuccReq.bule:type_name -> DBRaceMember 48, // 14: RPCParkourMatchSuccReq.red:type_name -> DBRaceMember
15, // [15:15] is the sub-list for method output_type 48, // 15: RPCParkourMatchSuccReq.bule:type_name -> DBRaceMember
15, // [15:15] is the sub-list for method input_type 16, // [16:16] is the sub-list for method output_type
15, // [15:15] is the sub-list for extension type_name 16, // [16:16] is the sub-list for method input_type
15, // [15:15] is the sub-list for extension extendee 16, // [16:16] is the sub-list for extension type_name
0, // [0:15] is the sub-list for field type_name 16, // [16:16] is the sub-list for extension extendee
0, // [0:16] is the sub-list for field type_name
} }
func init() { file_parkour_parkour_msg_proto_init() } func init() { file_parkour_parkour_msg_proto_init() }
@ -2741,7 +2934,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourAvoidResp); i { switch v := v.(*ParkourViewPlayerReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2753,7 +2946,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourAllSprintsPush); i { switch v := v.(*ParkourData); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2765,7 +2958,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourInfoChangePush); i { switch v := v.(*ParkourViewPlayerResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2777,7 +2970,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourPlayerHPChanagePush); i { switch v := v.(*ParkourAvoidResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2789,7 +2982,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourScoreChanagePush); i { switch v := v.(*ParkourAllSprintsPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2801,7 +2994,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParkourRaceOverPush); i { switch v := v.(*ParkourInfoChangePush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2813,7 +3006,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourJoinMatchReq); i { switch v := v.(*ParkourPlayerHPChanagePush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2825,7 +3018,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourJoinMatchResp); i { switch v := v.(*ParkourScoreChanagePush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2837,7 +3030,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourCancelMatchReq); i { switch v := v.(*ParkourRaceOverPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2849,7 +3042,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourCancelMatchResp); i { switch v := v.(*RPCParkourJoinMatchReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2861,7 +3054,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourMatchSuccReq); i { switch v := v.(*RPCParkourJoinMatchResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2873,7 +3066,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourMatchSuccResp); i { switch v := v.(*RPCParkourCancelMatchReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2885,7 +3078,7 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_ParkourTrusteeshipReq); i { switch v := v.(*RPCParkourCancelMatchResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -2897,6 +3090,42 @@ func file_parkour_parkour_msg_proto_init() {
} }
} }
file_parkour_parkour_msg_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { file_parkour_parkour_msg_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourMatchSuccReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_msg_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPCParkourMatchSuccResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_msg_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_ParkourTrusteeshipReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_msg_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_ParkourTrusteeshipResp); i { switch v := v.(*RPC_ParkourTrusteeshipResp); i {
case 0: case 0:
return &v.state return &v.state
@ -2915,7 +3144,7 @@ func file_parkour_parkour_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_parkour_parkour_msg_proto_rawDesc, RawDescriptor: file_parkour_parkour_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 44, NumMessages: 47,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },