-
Notifications
You must be signed in to change notification settings - Fork 13
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 #86 from PretendoNetwork/persistent-gatherings
- Loading branch information
Showing
2 changed files
with
39 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,24 @@ | ||
package constants | ||
|
||
// MatchmakeSystemType represents the method of matchmaking being used | ||
type MatchmakeSystemType uint32 | ||
|
||
const ( | ||
// MatchmakeSystemTypeInvalid indicates an invalid value | ||
MatchmakeSystemTypeInvalid MatchmakeSystemType = iota | ||
|
||
// MatchmakeSystemTypeAnybody indicates that anybody can join the MatchmakeSession | ||
MatchmakeSystemTypeAnybody | ||
|
||
// MatchmakeSystemTypeFriends indicates that only friends of the owner can join the MatchmakeSession | ||
MatchmakeSystemTypeFriends | ||
|
||
// MatchmakeSystemTypeFriendsInvite indicates that only friends of the owner with invitation can join the MatchmakeSession | ||
MatchmakeSystemTypeFriendsInvite | ||
|
||
// MatchmakeSystemTypeFriends indicates that anybody with an invitation can join the MatchmakeSession | ||
MatchmakeSystemTypeInvite | ||
|
||
// MatchmakeSystemTypeFriends indicates that the MatchmakeSession is part of a PersistentGathering | ||
MatchmakeSystemTypePersistentGathering | ||
) |
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,15 @@ | ||
package constants | ||
|
||
// PersistentGatheringType indicates the type of PersistentGathering | ||
type PersistentGatheringType uint32 | ||
|
||
const ( | ||
// PersistentGatheringTypeOpen indicates that the PersistentGathering is open to everyone | ||
PersistentGatheringTypeOpen PersistentGatheringType = iota | ||
|
||
// PersistentGatheringTypePasswordLocked indicates that the PersistentGathering requires a password | ||
PersistentGatheringTypePasswordLocked | ||
|
||
// PersistentGatheringTypeOfficial indicates that the PersistentGathering is official | ||
PersistentGatheringTypeOfficial | ||
) |