Skip to Content

Data

The Data Module provides functionality for storing and retrieving game data in the cloud.

Overview

The Data Module allows you to:

  • Store game data
  • Retrieve game data
  • Implement offline support

Methods

SetInt

Use this method to set an integer value to Pixidus SDK

//Set integer data to Pixidus SDK PixidusSDK.Data.SetInt(key, value, (success) => {});

GetInt

Use this method to get an integer value from Pixidus SDK

//Get integer data from Pixidus SDK PixidusSDK.Data.GetInt(key, defaultValue, (data) => {});

SetFloat

Use this method to set an float value to Pixidus SDK

//Set float data to Pixidus SDK PixidusSDK.Data.SetFloat(key, value, (success) => {});

GetFloat

Use this method to get an integer value from Pixidus SDK

//Get float data from Pixidus SDK PixidusSDK.Data.GetFloat(key, defaultValue, (data) => {});

SetString

Use this method to set an string value to Pixidus SDK

//Set string data to Pixidus SDK PixidusSDK.Data.SetString(key, value, (success) => {});

GetString

Use this method to get an string value from Pixidus SDK

//Get string data from Pixidus SDK PixidusSDK.Data.GetString(key, defaultValue, (data) => {});

RemoveItem

Use this method to remove an value from Pixidus SDK

//Remove data from Pixidus SDK PixidusSDK.Data.RemoveItem(key, (success) => {});

ClearData

Use this method to clear data from Pixidus SDK

//Clear data from Pixidus SDK PixidusSDK.Data.ClearData((success) => {});

Support

Need help? Our support team is here for you:

Last updated on