|
| delegate T | NotificationPayloadModifier< T > (T payload) |
|
| LobbyWebsocketApi (CoroutineRunner inCoroutineRunner, string inWebsocketUrl, IWebSocket inWebsocket, UserSession inSession, string inNamespace) |
|
void | OverrideWebsocket (IWebSocket inWebSocket, int inPingDelay=4000, int inBackoffDelay=1000, int inMaxDelay=30000, int inTotalTimeout=60000) |
|
void | SetLogger (IDebugger logger) |
|
void | Connect () |
| | Connect to lobby with current logged in user credentials. The token generator need to be set for connection with entitlement verification.
|
| void | SetRetryParameters (int inTotalTimeout=60000, int inBackoffDelay=1000, int inMaxDelay=30000) |
| | Change the delay parameters to maintain connection in the lobby before lobby connected.
|
| void | SetConnectionTokenGenerator (ITokenGenerator tokenGenerator) |
| | TokenGenerator is used for generate access token when connecting to lobby. If token generator is not specified, no token will be used when connecting to lobby. For entitlement token verification, use EntitlementTokenGenerator class on the parameter.
|
|
void | Disconnect () |
| | Disconnect from Lobby.
|
| void | HandleNotification< T > (string message, ResultCallback< T > handler, NotificationPayloadModifier< T > modifier=null) |
|
void | HandleUserStatusNotif (string message, ResultCallback< FriendsStatusNotif > handler) |
| void | DispatchNotification< T > (T notification, ResultCallback< T > handler) |
|
void | HandleResponse (long messageId, string message, ErrorCode errorCode) |
| void | ChangeUserRegion (string region, ResultCallback callback) |
| | Change user region.
|
| void | GetPartyInfo (ResultCallback< PartyInfo > callback) |
| | Get party information (leader, members, invitation token).
|
| void | CreateParty (ResultCallback< PartyInfo > callback) |
| | Create a party and become a party leader for the party. The newer function has different struct return callback and it has partyCode.
|
| void | CreateParty (ResultCallback< PartyCreateResponse > callback) |
| | Create a party and become a party leader for the party. PartyCode is also provided to the party creator through the callback?.
|
| void | LeaveParty (ResultCallback callback) |
| | Leave a party a current logged in user is in.
|
| void | InviteToParty (string userId, ResultCallback callback) |
| | Invite other user by userId. Only party leader (creator) can invite other user.
|
| void | InviteToPartyDetailedCallback (string userId, ResultCallback< PartyInviteResponse > callback) |
| | Invite other user by userId with detailed model in response callback?. Only party leader (creator) can invite other user.
|
| void | JoinParty (string partyID, string invitationToken, ResultCallback< PartyInfo > callback) |
| | Join a party by invitation from party leader.
|
| void | KickPartyMember (string userId, ResultCallback callback) |
| | Kick a member out of our party. Only a party leader can kick a party member.
|
| void | KickPartyMemberDetailedCallback (string userId, ResultCallback< KickResponse > callback) |
| | Kick a member out of our party with detailed model in response callback?. Only a party leader can kick a party member.
|
| void | RejectPartyInvitation (string partyId, string invitationToken, ResultCallback< PartyRejectResponse > callback) |
| | Reject a party invitation.
|
| void | GeneratePartyCode (ResultCallback< PartyGenerateCodeResponse > callback) |
| | Generate party code for invitation.
|
| void | GetPartyCode (ResultCallback< PartyGetCodeResponse > callback) |
| | Get party code.
|
| void | DeletePartyCode (ResultCallback callback) |
| | Remove party invite code.
|
| void | JoinPartyViaCode (string invitationPartyCode, ResultCallback< PartyInfo > callback) |
| | Join to a party via party code.
|
| void | PromotePartyLeader (string userId, ResultCallback< PartyPromoteLeaderResponse > callback) |
| | Promote member to be a party leader.
|
| void | SendNotificationToPartyMember (string topic, string payload, ResultCallback< PartySendNotifResponse > callback) |
| | Send notification to party member.
|
| void | SendPartyChat (string chatMessage, ResultCallback callback) |
| | Send chat to other party members.
|
| void | SendPersonalChat (string userId, string chatMessage, ResultCallback callback) |
| | Send personal chat to friend.
|
| void | JoinDefaultChatChannel (ResultCallback< ChatChannelSlug > callback) |
| | Send Join default global chat channel request.
|
| void | SendChannelChat (string chatMessage, ResultCallback callback) |
| | Send a Chat Message to a Global Chat Channel.
|
| void | SetUserStatus (UserStatus status, string activity, ResultCallback callback) |
| | Set current user status and activity.
|
| void | ListFriendsStatus (ResultCallback< FriendsStatus > callback) |
| | Get a list of friends status (availability, activity, last seen at).
|
| void | PullAsyncNotifications (ResultCallback callback) |
| | Ask lobby to send all pending notification to user. Listen to OnNotification.
|
| void | RequestFriend (string userId, ResultCallback callback) |
| | Send request friend request.
|
| void | RequestFriendByPublicId (string publicId, ResultCallback callback) |
| | Send request friend request using other profile's public id.
|
| void | Unfriend (string userId, ResultCallback callback) |
| | Send unfriend request.
|
| void | ListOutgoingFriends (ResultCallback< Friends > callback) |
| | Send list of outgoing friends request.
|
| void | ListOutgoingFriendsWithTime (ResultCallback< FriendsWithTimestamp > callback) |
| | Send list of outgoing friends request with additional timestamp.
|
| void | CancelFriendRequest (string userId, ResultCallback callback) |
| | Send cancel friend request.
|
| void | ListIncomingFriends (ResultCallback< Friends > callback) |
| | Send list of incoming friends request.
|
| void | ListIncomingFriendsWithTime (ResultCallback< FriendsWithTimestamp > callback) |
| | Send list of incoming friends request with additional timestamp.
|
| void | AcceptFriend (string userId, ResultCallback callback) |
| | Send accept friend request.
|
| void | RejectFriend (string userId, ResultCallback callback) |
| | Send reject friend request.
|
| void | LoadFriendsList (ResultCallback< Friends > callback) |
| | Send load friends list request.
|
| void | GetFriendshipStatus (string userId, ResultCallback< FriendshipStatus > callback) |
| | Send get friendship status request.
|
| void | StartMatchmaking (string gameMode, MatchmakingOptionalParam param, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | ConfirmReadyForMatch (string matchId, ResultCallback callback) |
| | Send a message to matchmaking service to indicate the user is ready for match.
|
| void | RejectMatch (string matchId, ResultCallback callback) |
| | Reject match that was found.
|
| void | CancelMatchmaking (string gameMode, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking cancel request.
|
| void | CancelMatchmaking (string gameMode, bool isTempParty, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking cancel request.
|
| void | RequestDS (CustomDsCreateRequest request) |
| | Request Dedicated Custom Server.
|
| void | BlockPlayer (string userId, ResultCallback< BlockPlayerResponse > callback) |
| | Block the specified player from doing some action against current user. The specified player will be removed from current user's friend list too.
|
| void | UnblockPlayer (string userId, ResultCallback< UnblockPlayerResponse > callback) |
| | Unblock the specified player and allow it to some action against current user again.
|
|
void | SetProfanityFilterLevel (ProfanityFilterLevel level, ResultCallback callback) |
|
void | SetSessionAttribute (string key, string value, ResultCallback callback) |
|
void | GetSessionAttribute (string key, ResultCallback< GetSessionAttributeResponse > callback) |
|
void | GetSessionAttributeAll (ResultCallback< GetSessionAttributeAllResponse > callback) |
| void | SendSignalingMessage (string userId, string message) |
| | Send a signaling message to another user.
|
|
void | RefreshToken (string newAccessToken, ResultCallback callback) |