|
| void | OverrideWebsocket (IWebSocket inWebSocket, int inPingDelay=4000, int inBackoffDelay=1000, int inMaxDelay=30000, int inTotalTimeout=60000) |
| | Override current websocket instance, and set new retry parameters.
|
|
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 | ChangeUserRegion (string region, ResultCallback callback) |
| | Change user region.
|
| void | GetNotifications (ResultCallback< GetUserNotificationsResponse > callback, DateTime startTime=default, DateTime endTime=default, int offset=0, int limit=25) |
| | Get list of notifications from user from specified time.
|
| 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 | SetPartySizeLimit (string partyId, int limit, ResultCallback callback) |
| | Set party member size limit.
|
| 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 | BulkRequestFriend (string[] userIds, ResultCallback callback) |
| | Add other users as friends automatically, other users don't need to accept it. This is used for syncing other platform friends to AccelByte friend.
|
| 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 added 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 added 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 | BulkGetUserPresence (string[] userIds, ResultCallback< BulkUserStatusNotif > callback, bool countOnly=false) |
| | Send request get user presence in bulk.
|
| void | SyncThirdPartyFriends (SyncThirdPartyFriendsRequest request, ResultCallback< SyncThirdPartyFriendsResponse[]> callback) |
| | Sync platform specific friend list to AccelByte friend list. This will automatically add platform specific friend list to AccelByte friend list if the friends already linked their account to AccelByte service.
|
| void | StartMatchmaking (string gameMode, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, string clientVersion, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string clientVersion, Dictionary< string, int > latencies, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string clientVersion, Dictionary< string, int > latencies, Dictionary< string, object > partyAttributes, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string clientVersion, Dictionary< string, int > latencies, Dictionary< string, object > partyAttributes, string[] tempPartyUserIds, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string clientVersion, Dictionary< string, int > latencies, Dictionary< string, object > partyAttributes, string[] tempPartyUserIds, string[] extraAttributes, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, string clientVersion, Dictionary< string, object > partyAttributes, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, string clientVersion, Dictionary< string, object > partyAttributes, string[] tempPartyUserIds, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, string clientVersion, Dictionary< string, object > partyAttributes, string[] tempPartyUserIds, string[] extraAttributes, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start request.
|
| void | StartMatchmaking (string gameMode, string serverName, string clientVersion, Dictionary< string, int > latencies, Dictionary< string, object > partyAttributes, string[] tempPartyUserIds, string[] extraAttributes, ResultCallback< MatchmakingCode > callback) |
| | Send matchmaking start 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 | GetPartyStorage (string partyId, ResultCallback< PartyDataUpdateNotif > callback) |
| | Get party storage by party ID.
|
| void | WritePartyStorage (string partyId, ResultCallback< PartyDataUpdateNotif > callback, Func< Dictionary< string, object >, Dictionary< string, object > > payloadModifier, int retryAttempt=1) |
| | Write party storage data to the targeted party ID. Beware: Object will not be write immediately, please take care of the original object until it written.
|
| 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 | GetListOfBlockedUser (ResultCallback< BlockedList > callback) |
| | get current logged in user's blocked list.
|
| void | GetListOfBlocker (ResultCallback< BlockerList > callback) |
| | Get users that currently blocking the user logged in.
|
| void | SetProfanityFilterLevel (ProfanityFilterLevel level, ResultCallback callback) |
| | Set chat profanity filter level.
|
| void | SetSessionAttribute (string key, string value, ResultCallback callback) |
| | Set user's lobby session attributes.
|
| void | GetSessionAttribute (string key, ResultCallback< GetSessionAttributeResponse > callback) |
| | Get user's lobby session attributes.
|
| void | GetSessionAttributeAll (ResultCallback< GetSessionAttributeAllResponse > callback) |
| | Get all of the user's lobby session attributes.
|
| void | SendSignalingMessage (string userId, string message) |
| | Send a signaling message to another user.
|
|
|
Action | Connected |
| | Raised when lobby is connected.
|
|
ResultCallback< DisconnectNotif > | Disconnecting |
| | Raised when lobby got message from server that it will disconnect.
|
|
Action< WsCloseCode > | Disconnected |
| | Raised when lobby is disconnected.
|
|
Action | Reconnecting |
| | Raised when lobby is attempting to reconnect.
|
|
ResultCallback< PartyInvitation > | InvitedToParty |
| | Raised when a user is invited to party.
|
|
ResultCallback< JoinNotification > | JoinedParty |
| | Raised when some user joined our party.
|
|
ResultCallback< KickNotification > | KickedFromParty |
| | Raised when the user is kicked from party.
|
|
ResultCallback< LeaveNotification > | LeaveFromParty |
| | Raised when the user leave from party.
|
|
ResultCallback< PartyRejectNotif > | RejectedPartyInvitation |
| | Raised when a user reject party invitation.
|
|
ResultCallback< SessionV2PartySessionUpdatedNotification > | SessionV2PartyUpdated |
| | SessionV2 - Raised when a party session is updated.
|
|
ResultCallback< SessionV2PartyInvitationNotification > | SessionV2InvitedUserToParty |
| | SessionV2 - Raised when a user is being invited to a party.
|
|
ResultCallback< SessionV2PartyJoinedNotification > | SessionV2UserJoinedParty |
| | SessionV2 - Raised when a user joined a party.
|
|
ResultCallback< SessionV2PartyMembersChangedNotification > | SessionV2PartyMemberChanged |
| | SessionV2 - Raised when a party's members changed.
|
|
ResultCallback< SessionV2PartyInvitationRejectedNotification > | SessionV2UserRejectedPartyInvitation |
| | SessionV2 - Raised when a user rejected party invitation.
|
|
ResultCallback< SessionV2PartyInvitationCancelledNotification > | SessionV2PartyInvitationCancelled |
| | SessionV2 - Raised when a leader is canceling an invitation.
|
|
ResultCallback< SessionV2PartyUserKickedNotification > | SessionV2UserKickedFromParty |
| | SessionV2 - Raised when a user is kicked from party.
|
|
ResultCallback< SessionV2GameInvitationNotification > | SessionV2InvitedUserToGameSession |
| | SessionV2 - Raised when a user is being invited to a game session.
|
|
ResultCallback< SessionV2GameJoinedNotification > | SessionV2UserJoinedGameSession |
| | SessionV2 - Raised when a user joined a game session.
|
|
ResultCallback< SessionV2GameMembersChangedNotification > | SessionV2GameSessionMemberChanged |
| | SessionV2 - Raised when a game session's members changed.
|
|
ResultCallback< SessionV2GameUserKickedNotification > | SessionV2UserKickedFromGameSession |
| | SessionV2 - Raised when a user is kicked from game session.
|
|
ResultCallback< SessionV2GameInvitationRejectedNotification > | SessionV2UserRejectedGameSessionInvitation |
| | SessionV2 - Raised when a user rejected game session invitation.
|
|
ResultCallback< SessionV2GameSessionUpdatedNotification > | SessionV2GameSessionUpdated |
| | SessionV2 - Raised when a game session is updated.
|
|
ResultCallback< SessionV2GameSessionEndedNotification > | SessionV2GameSessionEnded |
| | SessionV2 - Raised when a game session is ended by the DS.
|
|
ResultCallback< SessionV2DsStatusUpdatedNotification > | SessionV2DsStatusChanged |
| | SessionV2 - Raised when status of DS changed.
|
|
ResultCallback< SessionStorageChangedNotification > | SessionV2StorageChanged |
| | SessionV2 - Raised when session storage changed.
|
|
ResultCallback< SessionV2JoinedSecret > | SessionV2JoinedSecret |
| | SessionV2 - Raised when received Joined change.
|
|
ResultCallback< MatchmakingV2MatchFoundNotification > | MatchmakingV2MatchFound |
| | MatchmakingV2 - Raised when match is found.
|
|
ResultCallback< MatchmakingV2MatchmakingStartedNotification > | MatchmakingV2MatchmakingStarted |
| | MatchmakingV2 - Raised when matchmaking started.
|
|
ResultCallback< MatchmakingV2MatchmakingCanceledNotification > | MatchmakingV2MatchmakingCanceled |
| | MatchmakingV2 - Raised when matchmaking is canceled.
|
|
ResultCallback< MatchmakingV2TicketExpiredNotification > | MatchmakingV2TicketExpired |
| | MatchmakingV2 - Raised when matchmaking ticket expired.
|
|
ResultCallback< ChatMessage > | PersonalChatReceived |
| | Raised when personal chat message received.
|
|
ResultCallback< ChatMessage > | PartyChatReceived |
| | Raised when party chat message received.
|
|
ResultCallback< PartyCreatedNotification > | PartyCreatedNotification |
| | Triggered when party successfully created.
|
|
ResultCallback< Notification > | OnNotification |
| | Raised when a notification (usually from the system or admin) is received.
|
|
ResultCallback< FriendsStatusNotif > | FriendsStatusChanged |
| | Raised when friends status changed.
|
|
ResultCallback< Friend > | FriendRequestAccepted |
| | Raised when friend request accepted.
|
|
ResultCallback< RequestFriend > | OnIncomingFriendRequest |
| | Raised when there is an incoming friend request.
|
|
ResultCallback< Friend > | OnUnfriend |
| | Raised when friend remove user from friendlist.
|
|
ResultCallback< Acquaintance > | FriendRequestCanceled |
| | Raised when friend request canceled.
|
|
ResultCallback< Acquaintance > | FriendRequestRejected |
| | Raised when friend request rejected.
|
|
ResultCallback< DsNotif > | DSUpdated |
| | Raised when DS process is updated.
|
|
ResultCallback< PartyDataUpdateNotif > | PartyDataUpdateNotif |
| | Raised when there's an update in the party's storage.
|
|
ResultCallback< PartyNotif > | PartyNotif |
| | Raised when other party member send party notification.
|
|
ResultCallback< ChannelChatMessage > | ChannelChatReceived |
| | Raised when channel chat message received.
|
|
ResultCallback< PlayerBlockedNotif > | PlayerBlockedNotif |
| | Raised when player is blocked.
|
|
ResultCallback< PlayerUnblockedNotif > | PlayerUnblockedNotif |
| | Raised when player is unblocked.
|
|
ResultCallback< UserBannedNotification > | UserBannedNotification |
| | Raised when player is banned.
|
|
ResultCallback< UserBannedNotification > | UserUnbannedNotification |
| | Raised when player is unbanned.
|
|
ResultCallback< SignalingP2P > | SignalingP2PNotification |
| | Raised when there is an incoming signaling notification.
|
|
ResultCallback | ErrorNotification |
| | Raised when a general error notification is sent from lobby.
|
|
Action | TokenRefreshed |
| | Raised when lobby access token succesfully updated.
|
|
EventHandler | OnRetryAttemptFailed [add, remove] |
| | Event triggered each time a websocket reconnection attempt failed.
|