Lobby utilities. More...
Public Member Functions | |
| 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 | GetPartyStorage (string partyId, ResultCallback< PartyDataUpdateNotif > callback) |
| Get party storage by party ID. | |
| void | GetPartyDataByUserId (string userId, ResultCallback< PartyDataUpdateNotif > callback) |
| Get active party info by user Id. | |
| void | GetSessionAttribute (string userId, string key, ResultCallback< ServerGetSessionAttributeResponse > callback) |
| Get a user's session attribute by key. | |
| void | GetSessionAttributeAll (string userId, ResultCallback< GetSessionAttributeAllResponse > callback) |
| Get all of user's session attribute. | |
| void | SetSessionAttribute (string userId, Dictionary< string, string > attributes, ResultCallback callback) |
| set a user's session attributes | |
| void | SetSessionAttribute (string userId, string key, string value, ResultCallback callback) |
| Set a user's session attribute. | |
Additional Inherited Members | |
| Properties inherited from AccelByte.Core.WrapperBase | |
| Utils.AccelByteIdValidator | IdValidator [get] |
Lobby utilities.
|
inline |
Get active party info by user Id.
| userId | The user ID to be searched |
| callback | Returns PartyDataUpdateNotif via callback when party is found |
|
inline |
Get party storage by party ID.
| partyId | Targeted party ID. |
| callback | Returns a Result via callback when completed. |
|
inline |
Get a user's session attribute by key.
| userId | the user ID to be searched |
| key | The user's session attribute key |
| callback | Returns ServerGetSessionAttributeResponse via callback when found" |
|
inline |
Get all of user's session attribute.
| userId | the user ID to be searched |
| callback | Returns GetSessionAttributeAllResponse via callback when found" |
|
inline |
set a user's session attributes
| userId | user Id to be set |
| attributes | the attributes dictionary to set |
| callback | Returns result via callback when operation is done |
|
inline |
Set a user's session attribute.
| userId | user Id to be set |
| key | the attribute's key |
| value | the attribute's value |
| callback | Returns result via callback when operation is done |
|
inline |
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.
| partyId | Targeted party ID. |
| callback | Returns a Result via callback when completed. |
| payloadModifier | Function to modify the latest party data with your customized modifier. |
| retryAttempt | the number of retry to do when there is an error in writing to party storage (likely due to write conflicts) |