Skip to content

Matchmake Referee Protocol (Eagle)

Yannik Marchand edited this page Apr 30, 2021 · 4 revisions

Games that use libeagle use a customized matchmake referee protocol. This page describes the customized protocol.

Method ID Method Name
1 StartRound
2 GetStartRoundParam
3 EndRound
4 EndRoundWithPartialReport
5 EndRoundWithoutReport
6 GetRoundParticipants
7 GetNotSummarizedRound
8 GetRound
9 GetStatsPrimary
10 GetStatsPrimaries
11 GetStatsAll
12 CreateStats
13 GetOrCreateStats
14 ResetStats
15 GetEventPoint
16 ResetEventPoint

(1) StartRound

Request

Type Name
MatchmakeRefereeStartRoundParam param

Response

Type Name
Uint64 roundId

(2) GetStartRoundParam

Request

Type Name
Uint64 roundId

Response

Type Name
MatchmakeRefereeStartRoundParam param

(3) EndRound

Request

Type Name
MatchmakeRefereeEndRoundParam endRoundParam

Response

This method does not return anything.

(4) EndRoundWithPartialReport

Request

Type Description
MatchmakeRefereeEndRoundParam End round param

Response

This method does not return anything.

(5) EndRoundWithoutReport

Request

Type Name
Uint64 roundId

Response

This method does not return anything.

(6) GetRoundParticipants

Request

Type Name
Uint64 roundId

Response

Type Name
List<Uint64> pids

(7) GetNotSummarizedRound

Request

This method does not take any parameters.

Response

Type Name
List<MatchmakeRefereeRound> rounds

(8) GetRound

Request

Type Name
Uint64 roundId

Response

Type Name
MatchmakeRefereeRound round

(9) GetStatsPrimary

Request

Type Name
MatchmakeRefereeStatsTarget target

Response

Type Name
MatchmakeRefereeStats stats

(10) GetStatsPrimaries

Request

Type Name
List<MatchmakeRefereeStatsTarget> targets

Response

Type Name
List<MatchmakeRefereeStats> stats
List<Result> results

(11) GetStatsAll

Request

Type Name
MatchmakeRefereeStatsTarget target

Response

Type Name
List<MatchmakeRefereeStats> stats

(12) CreateStats

Request

Type Name
MatchmakeRefereeStatsInitParam param

Response

This method does not return anything.

(13) GetOrCreateStats

Request

Type Name
MatchmakeRefereeStatsInitParam param

Response

Type Name
MatchmakeRefereeStats stats

(14) ResetStats

Request

This method does not take any parameters.

Response

This method does not return anything.

Types

MatchmakeRefereeEndRoundParam (Structure)

Type Name
Uint64 roundId
List<MatchmakeRefereePersonalRoundResult> personalRoundResults

MatchmakeRefereeRound (Structure)

Type Name
Uint64 roundId
Uint32 gid
Uint32 state
Uint32 personalDataCategory
List<MatchmakeRefereePersonalRoundResult> normalizedPersonalRoundResults

MatchmakeRefereeStats (Structure)

Type Name
Uint64 uniqueId
Uint32 category
PID pid
Uint32 recentDisconnection
Uint32 recentViolation
Uint32 recentMismatch
Uint32 recentWin
Uint32 recentLoss
Uint32 recentDraw
Uint32 totalDisconnect
Uint32 totalViolation
Uint32 totalMismatch
Uint32 totalWin
Uint32 totalLoss
Uint32 totalDraw
Uint32 ratingValue

MatchmakeRefereeStartRoundParam (Structure)

Type Name
Uint32 personalDataCategory
Uint32 gid
List<PID> pids
Uint8 reportSummaryMode
Uint32 eventId

MatchmakeRefereeStatsTarget (Structure)

Type Name
PID pid
Uint32 category

MatchmakeRefereeStatsInitParam (Structure)

Type Name
Uint32 category
Uint32 initialRatingValue

MatchmakeRefereePersonalRoundResult (Structure)

Type Name
PID pid
Uint32 personalRoundResultFlag
Uint32 roundWinLoss
Sint32 ratingValueChange
qBuffer buffer
Uint8 reportSummaryMode
Uint32 eventId
Clone this wiki locally