-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from DaniElectra/matchmaking-constants
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package constants | ||
|
||
// JoinMatchmakeSessionBehavior is used to indicate the behavior that joining a matchmake session will have | ||
type JoinMatchmakeSessionBehavior uint8 | ||
|
||
const ( | ||
// JoinMatchmakeSessionBehaviorJoinMyself indicates that the caller wants to join the session | ||
JoinMatchmakeSessionBehaviorJoinMyself JoinMatchmakeSessionBehavior = iota | ||
|
||
// JoinMatchmakeSessionBehaviorImAlreadyJoined indicates that the caller is already joined into the session | ||
JoinMatchmakeSessionBehaviorImAlreadyJoined | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package constants | ||
|
||
// SelectionMethod is used to indicate the selection method used when selecting a gathering | ||
type SelectionMethod uint32 | ||
|
||
const ( | ||
// SelectionMethodRandom indicates a random selection | ||
SelectionMethodRandom SelectionMethod = iota | ||
|
||
// SelectionMethodNearestNeighbor indicates a selection based on proximity to an attribute | ||
SelectionMethodNearestNeighbor | ||
|
||
// SelectionMethodBroadenRange indicates a ranked selection | ||
SelectionMethodBroadenRange | ||
|
||
// SelectionMethodProgressScore indicates a selection based on the progress score | ||
SelectionMethodProgressScore | ||
|
||
// SelectionMethodBroadenRange indicates a ranked selection based on the progress score | ||
SelectionMethodBroadenRangeWithProgressScore | ||
|
||
// SelectionMethodScoreBased indicates an unknown selection | ||
SelectionMethodScoreBased | ||
) |