Documentation ¶
Index ¶
- func CheckGatheringForParticipation(manager *common_globals.MatchmakingManager, gatheringID uint32, ...) *nex.Error
- func CreateMatchmakeSession(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, ...) *nex.Error
- func EndMatchmakeSessionsParticipation(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection)
- func FindMatchmakeSession(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, ...) (*match_making_types.MatchmakeSession, *nex.Error)
- func FindMatchmakeSessionBySearchCriteria(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, ...) ([]*match_making_types.MatchmakeSession, *nex.Error)
- func GetDetailedGatheringByID(manager *common_globals.MatchmakingManager, gatheringID uint32) (types.RVType, string, *nex.Error)
- func GetMatchmakeSessionByGathering(manager *common_globals.MatchmakingManager, endpoint *nex.PRUDPEndPoint, ...) (*match_making_types.MatchmakeSession, *nex.Error)
- func GetMatchmakeSessionByID(manager *common_globals.MatchmakingManager, endpoint *nex.PRUDPEndPoint, ...) (*match_making_types.MatchmakeSession, string, *nex.Error)
- func GetSimplePlayingSession(manager *common_globals.MatchmakingManager, listPID []*types.PID) ([]*match_making_types.SimplePlayingSession, *nex.Error)
- func UpdateApplicationBuffer(manager *common_globals.MatchmakingManager, gatheringID uint32, ...) *nex.Error
- func UpdateGameAttribute(manager *common_globals.MatchmakingManager, gatheringID uint32, ...) *nex.Error
- func UpdateParticipation(manager *common_globals.MatchmakingManager, gatheringID uint32, ...) *nex.Error
- func UpdateProgressScore(manager *common_globals.MatchmakingManager, gatheringID uint32, ...) *nex.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGatheringForParticipation ¶
func CheckGatheringForParticipation(manager *common_globals.MatchmakingManager, gatheringID uint32, participantsCheck []*types.PID) *nex.Error
CheckGatheringForParticipation checks that the given PIDs are participating on the gathering ID
func CreateMatchmakeSession ¶
func CreateMatchmakeSession(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, matchmakeSession *match_making_types.MatchmakeSession) *nex.Error
CreateMatchmakeSession creates a new MatchmakeSession on the database. No participants are added
func EndMatchmakeSessionsParticipation ¶
func EndMatchmakeSessionsParticipation(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection)
EndMatchmakeSessionsParticipation ends participation on all matchmake sessions
func FindMatchmakeSession ¶
func FindMatchmakeSession(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, searchMatchmakeSession *match_making_types.MatchmakeSession) (*match_making_types.MatchmakeSession, *nex.Error)
FindMatchmakeSession finds a matchmake session with the given search matchmake session
func FindMatchmakeSessionBySearchCriteria ¶
func FindMatchmakeSessionBySearchCriteria(manager *common_globals.MatchmakingManager, connection *nex.PRUDPConnection, searchCriterias []*match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange, sourceMatchmakeSession *match_making_types.MatchmakeSession) ([]*match_making_types.MatchmakeSession, *nex.Error)
FindMatchmakeSessionBySearchCriteria finds matchmake sessions with the given search criterias
func GetDetailedGatheringByID ¶
func GetDetailedGatheringByID(manager *common_globals.MatchmakingManager, gatheringID uint32) (types.RVType, string, *nex.Error)
GetDetailedGatheringByID returns a Gathering as an RVType by its gathering ID
func GetMatchmakeSessionByGathering ¶
func GetMatchmakeSessionByGathering(manager *common_globals.MatchmakingManager, endpoint *nex.PRUDPEndPoint, gathering *match_making_types.Gathering, participationCount uint32, startedTime *types.DateTime) (*match_making_types.MatchmakeSession, *nex.Error)
GetMatchmakeSessionByGathering gets a matchmake session with the given gathering data
func GetMatchmakeSessionByID ¶
func GetMatchmakeSessionByID(manager *common_globals.MatchmakingManager, endpoint *nex.PRUDPEndPoint, gatheringID uint32) (*match_making_types.MatchmakeSession, string, *nex.Error)
GetMatchmakeSessionByID gets a matchmake session with the given gathering ID and the system password
func GetSimplePlayingSession ¶
func GetSimplePlayingSession(manager *common_globals.MatchmakingManager, listPID []*types.PID) ([]*match_making_types.SimplePlayingSession, *nex.Error)
GetSimplePlayingSession returns the simple playing sessions of the given PIDs
func UpdateApplicationBuffer ¶
func UpdateApplicationBuffer(manager *common_globals.MatchmakingManager, gatheringID uint32, applicationBuffer *types.Buffer) *nex.Error
UpdateApplicationBuffer updates the application buffer of a matchmake session
func UpdateGameAttribute ¶
func UpdateGameAttribute(manager *common_globals.MatchmakingManager, gatheringID uint32, attributeIndex uint32, newValue uint32) *nex.Error
UpdateGameAttribute updates an attribute on a matchmake session
func UpdateParticipation ¶
func UpdateParticipation(manager *common_globals.MatchmakingManager, gatheringID uint32, participation bool) *nex.Error
UpdateParticipation updates the participation of a matchmake session
func UpdateProgressScore ¶
func UpdateProgressScore(manager *common_globals.MatchmakingManager, gatheringID uint32, progressScore uint8) *nex.Error
UpdateProgressScore updates the progress score on a matchmake session
Types ¶
This section is empty.
Source Files ¶
- check_gathering_for_participation.go
- create_matchmake_session.go
- end_matchmake_sessions_participation.go
- find_matchmake_session.go
- find_matchmake_session_by_search_criteria.go
- get_detailed_gathering_by_id.go
- get_matchmake_session_by_gathering.go
- get_matchmake_session_by_id.go
- get_simple_playing_session.go
- update_application_buffer.go
- update_game_attribute.go
- update_participation.go
- update_progress_score.go