Repository navigation
3.1.0
[3.1.0] - 2023-11-23
Changed
- The existing
CloudSaveService.Instance.Data.Player.DeleteAsynchas been marked as Obsolete, with a new version added that accepts options of typeCloudSave.Models.Data.Player.DeleteOptionsinstead ofCloudSave.DeleteOptions.
This enables the addition of new options to support Access Classes (see below in Added).
Added
-
Support for Access Classes when interacting with Player Data, via the addition of optional
optionsobjects to existing methods in theCloudSaveService.Instance.Data.PlayerAPI.
For more information on Access Classes, please refer to the documentation.- Allows players to save data to the Public Access Class in addition to the existing Default, which allows saved data to be visible to other players.
- Allows players to read data from Public and Protected Access Classes in addition to the existing Default, where Protected Player Data can only be set by a server authoritative source (e.g. Cloud Code)
- Allows players to read other players' Public Player Data, by providing their Player ID as part of the new
optionsobject.
-
Support for Querying in both Public Player Data and Default Custom Data, via the new
QueryAsyncmethod.
For more information on Querying, please refer to the documentation.- Any data for which an index is configured can be queried by specifying filters on the indexed data (e.g. clanMemberCount < 20)
- Any data stored for the returned entities (whether indexed or not) can be retrieved as part of the query response by specifying
ReturnKeysin theQueryobject.