mirror of
https://github.com/PretendoNetwork/splatoon.git
synced 2026-04-25 23:37:20 -05:00
feat(secure): Add stubbed Splatoon Ranking protocol
Fixes freezes related to Splatfest results upload
This commit is contained in:
parent
cd4e3159ca
commit
c160d1e9bc
|
|
@ -15,10 +15,12 @@ import (
|
||||||
commonmatchmaking "github.com/PretendoNetwork/nex-protocols-common-go/v2/match-making"
|
commonmatchmaking "github.com/PretendoNetwork/nex-protocols-common-go/v2/match-making"
|
||||||
commonmatchmakingext "github.com/PretendoNetwork/nex-protocols-common-go/v2/match-making-ext"
|
commonmatchmakingext "github.com/PretendoNetwork/nex-protocols-common-go/v2/match-making-ext"
|
||||||
commonmatchmakeextension "github.com/PretendoNetwork/nex-protocols-common-go/v2/matchmake-extension"
|
commonmatchmakeextension "github.com/PretendoNetwork/nex-protocols-common-go/v2/matchmake-extension"
|
||||||
|
commonranking "github.com/PretendoNetwork/nex-protocols-common-go/v2/ranking"
|
||||||
matchmaking "github.com/PretendoNetwork/nex-protocols-go/v2/match-making"
|
matchmaking "github.com/PretendoNetwork/nex-protocols-go/v2/match-making"
|
||||||
matchmakingext "github.com/PretendoNetwork/nex-protocols-go/v2/match-making-ext"
|
matchmakingext "github.com/PretendoNetwork/nex-protocols-go/v2/match-making-ext"
|
||||||
matchmakingtypes "github.com/PretendoNetwork/nex-protocols-go/v2/match-making/types"
|
matchmakingtypes "github.com/PretendoNetwork/nex-protocols-go/v2/match-making/types"
|
||||||
matchmakeextension "github.com/PretendoNetwork/nex-protocols-go/v2/matchmake-extension"
|
matchmakeextension "github.com/PretendoNetwork/nex-protocols-go/v2/matchmake-extension"
|
||||||
|
ranking "github.com/PretendoNetwork/nex-protocols-go/v2/ranking/splatoon"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CreateReportDBRecord(_ *types.PID, _ *types.PrimitiveU32, _ *types.QBuffer) error {
|
func CreateReportDBRecord(_ *types.PID, _ *types.PrimitiveU32, _ *types.QBuffer) error {
|
||||||
|
|
@ -142,4 +144,8 @@ func registerCommonSecureServerProtocols() {
|
||||||
matchmakeExtensionProtocol.SetHandlerGetPlayingSession(stubGetPlayingSession)
|
matchmakeExtensionProtocol.SetHandlerGetPlayingSession(stubGetPlayingSession)
|
||||||
commonMatchmakeExtensionProtocol.GameSpecificMatchmakeSessionSearchCriteriaChecks = gameSpecificMatchmakeSessionSearchCriteriaChecksHandler
|
commonMatchmakeExtensionProtocol.GameSpecificMatchmakeSessionSearchCriteriaChecks = gameSpecificMatchmakeSessionSearchCriteriaChecksHandler
|
||||||
commonMatchmakeExtensionProtocol.OnAfterAutoMatchmakeWithParamPostpone = onAfterAutoMatchmakeWithParamPostpone
|
commonMatchmakeExtensionProtocol.OnAfterAutoMatchmakeWithParamPostpone = onAfterAutoMatchmakeWithParamPostpone
|
||||||
|
|
||||||
|
rankingProtocol := ranking.NewProtocol(globals.SecureEndpoint)
|
||||||
|
globals.SecureEndpoint.RegisterServiceProtocol(rankingProtocol)
|
||||||
|
commonranking.NewCommonProtocol(rankingProtocol)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user