1
This commit is contained in:
@@ -24,6 +24,7 @@ type PVPMatchJoinPayload struct {
|
||||
IsVip uint32 `json:"isVip"`
|
||||
IsDebug uint8 `json:"isDebug"`
|
||||
CatchTimes []uint32 `json:"catchTimes"`
|
||||
TianxuanPetIDs []uint32 `json:"tianxuanPetIds"`
|
||||
}
|
||||
|
||||
type pvpMatchQueueKey struct {
|
||||
@@ -63,6 +64,7 @@ func (m *pvpMatchCoordinator) JoinOrUpdate(payload PVPMatchJoinPayload) error {
|
||||
IsDebug: payload.IsDebug,
|
||||
JoinedAtUnix: now.Unix(),
|
||||
CatchTimes: append([]uint32(nil), payload.CatchTimes...),
|
||||
TianxuanPetIDs: append([]uint32(nil), payload.TianxuanPetIDs...),
|
||||
}
|
||||
|
||||
var match *pvpwire.MatchFoundPayload
|
||||
|
||||
Reference in New Issue
Block a user