GameSessionService

Protocols

Protocol IDName
42GameSessionProtocol

GameSessionProtocol

Method IDSignature
1
func CreateSession(gameSession: [[GameSession]]((gamesession))) -> (gameSessionKey: [[GameSessionKey]]((gamesessionkey)))
2
func UpdateSession(gameSessionUpdate: [[GameSessionUpdate]]((gamesessionupdate))) -> ()
3
func DeleteSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> ()
4
func MigrateSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> (gameSessionKeyMigrated: [[GameSessionKey]]((gamesessionkey)))
5
func LeaveSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> ()
6
func GetSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> (searchResult: [[GameSessionSearchResult]]((gamesessionsearchresult)))
7
func SearchSessions(gameSessionQuery: [[GameSessionQuery]]((gamesessionquery))) -> (searchResults: qlist<[[GameSessionSearchResult]]((gamesessionsearchresult))>)
8
func AddParticipants(gameSessionKey: [[GameSessionKey]]((gamesessionkey)), publicParticipantIDs: qlist<uint32>, privateParticipantIDs: qlist<uint32>) -> ()
9
func RemoveParticipants(gameSessionKey: [[GameSessionKey]]((gamesessionkey)), participantIDs: qlist<uint32>) -> ()
10
func GetParticipantCount(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> (count: uint32)
11
func GetParticipants(gameSessionKey: [[GameSessionKey]]((gamesessionkey)), resultRange: [[ResultRange]]((resultrange))) -> (participants: qlist<[[GameSessionParticipant]]((gamesessionparticipant))>)
12
func SendInvitation(invitation: [[GameSessionInvitation]]((gamesessioninvitation))) -> ()
13
func GetInvitationReceivedCount(gameSessionTypeID: uint32) -> (count: uint32)
14
func GetInvitationsReceived(gameSessionTypeID: uint32, resultRange: [[ResultRange]]((resultrange))) -> (invitations: qlist<[[GameSessionInvitationReceived]]((gamesessioninvitationreceived))>)
15
func GetInvitationSentCount(gameSessionTypeID: uint32) -> (count: uint32)
16
func GetInvitationsSent(gameSessionTypeID: uint32, resultRange: [[ResultRange]]((resultrange))) -> (invitations: qlist<[[GameSessionInvitationSent]]((gamesessioninvitationsent))>)
17
func AcceptInvitation(gameSessionInvitation: [[GameSessionInvitationReceived]]((gamesessioninvitationreceived))) -> ()
18
func DeclineInvitation(gameSessionInvitation: [[GameSessionInvitationReceived]]((gamesessioninvitationreceived))) -> ()
19
func CancelInvitation(gameSessionInvitation: [[GameSessionInvitationSent]]((gamesessioninvitationsent))) -> ()
20
func SendTextMessage(gameSessionMessage: [[GameSessionMessage]]((gamesessionmessage))) -> ()
21
func RegisterURLs(stationURLs: qlist<stationurl>) -> ()
22
func JoinSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> ()
23
func AbandonSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> ()
24
func SearchSessionsWithParticipants(gameSessionTypeID: uint32, participantIDs: qlist<uint32>) -> (searchResults: qlist<[[GameSessionSearchWithParticipantsResult]]((gamesessionsearchwithparticipantsresult))>)
25
func GetSessions(gameSessionKeys: qlist<[[GameSessionKey]]((gamesessionkey))>) -> (searchResults: qlist<[[GameSessionSearchResult]]((gamesessionsearchresult))>)
26
func GetParticipantsURLs(gameSessionKey: [[GameSessionKey]]((gamesessionkey)), participantIDs: qlist<uint32>) -> (participants: qlist<[[GameSessionParticipant]]((gamesessionparticipant))>)
27
func MigrateSessionHost(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> ()
28
func SplitSession(gameSessionKey: [[GameSessionKey]]((gamesessionkey))) -> (gameSessionKeyMigrated: [[GameSessionKey]]((gamesessionkey)))
29
func SearchSocialSessions(gameSessionSocialQuery: [[GameSessionSocialQuery]]((gamesessionsocialquery))) -> (searchResults: qlist<[[GameSessionSearchWithParticipantsResult]]((gamesessionsearchwithparticipantsresult))>)
30
func ReportUnsuccessfulJoinSessions(unsuccessfulJoinSessions: qlist<[[GameSessionUnsuccessfulJoinSession]]((gamesessionunsuccessfuljoinsession))>) -> ()