The SDK also provides the functionality to reset the players data, or just specifically the players Wallet and Inventory. In order to reset the Wallet data use the following code: In order to reset the Inventory data use the following code: In order to reset.Implementation Step 1) Default values If there is no network connection, then the SDK will use the latest known defaults. In exceptional cases, people will open the app for the first time and dont have an Internet connection.The Items and Bundles objects provided by the SDK can also contain images that can be displayed inside your game. In order to download and display these images use the following information.Promotions this list contains all the promotions that would be associated with the Shop and configured in the SLOT interface; each Promotion contains a Bundle id which would point to the received Bundles, an amount value which would represent how many amounts of the bundle.E.g. the user has 100 coins in his wallet. A wallet can contain multiple currencies, e.g. coins and diamonds. In-game shop A user can buy items or bundles (a pack of multiple items) with his virtual currency.Lets say a user can buy a sword with 100 coins. Inventory When a user bought an item in the in-game shop it will be added to his personal inventory. Important note: We created a full example game using all these features.Shop this object contains a configuration of the shop as defined in SLOT interface; the object contains a list of Tabs that the define the shop layout; each Tab contains a name, a position and a list of Entries; each Entry in the list has.These classes are instantiated on Awake in the file and automatically retrieve the data from the Spil SDK, so you can start using the methods immediately. See below code snippets to use the wallet, in-game shop and inventory features: Reseting data.Here is an example of a simple example file: Add a file named defaultPlayerData. json in the assets/streaming assets folder of your project. Here is an example of a simple example file: Step 2) Default values The Spil Unity classes and contain all methods for.This page describes how the Spil SDK handles a users wallet an in-game shop and the users inventory. Wallet The wallet feature is holding a users virtual balance of a particular currency.For this specific case we need to add two defaults JSON files in the assets/streaming assets folder of the project: Add a file named defaultGameData. json in the assets/streaming assets folder of your project.Spil Player Data Spil Game Data The Spil Game Data contains the information about the game. Like which currencies, Items, Bundles, Shop and Shop Promotions a game might have. See below the details: Currencies this list contains all the currencies present in the game and.Please see: m/spilgames/tappy_plane_unity Background information Before talking about the actual calls for these features its good to know the structure of the objects that the Spil SDK uses to manage these features: Spil Game Data.Spil Player Data A Player Data contains the information related to what the user owns, the users Wallet and Inventory. See below the details: Wallet this object contains the information regarding the users balance; the Wallet contains a list of Currencies that match the Currencies.