diff --git a/match-making/constants/matchmake_system_type.go b/match-making/constants/matchmake_system_type.go new file mode 100644 index 00000000..7e9c476f --- /dev/null +++ b/match-making/constants/matchmake_system_type.go @@ -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 +) diff --git a/match-making/constants/persistent_gathering_type.go b/match-making/constants/persistent_gathering_type.go new file mode 100644 index 00000000..59f43c45 --- /dev/null +++ b/match-making/constants/persistent_gathering_type.go @@ -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 +)