Skip to main content

API Reference

The SDK is used to communicate between your game and the IndiePass client, which means that to function, the client must be started on your machine. You can use it for your game to use the features of the IndiePass platform.


Installation

Download

Download the SDK from the links provided in the downloads section and follow the instructions below to integrate it into your project.

Integration into your project

To use the SDK in your project, follow these steps:

  1. Download the version that corresponds to your project.
  2. Unzip the class and files into your project.
  3. Use IndiePassSDK to call methods.

Compatibility

  • Supported operating systems: Windows 64bit
  • Supported languages: C#, Java

Functions

FunctionBehaviorParametersBehavior in simul mode
unlockAchievementUnlocks an achievement for the player and record it.string achievementUnlocks an achievement but does not record it.
deleteAchievementDeletes an achievement for the player.string achievement
setSimulActivate simul mode.
You have to disable this in production
bool isSimul
verifyCertificateChecks if the player has the right to play (active subscription)
- If the game is not launched from the client, returns false
- If the game is launched from the client and the user does not have an active subscription: returns false
- If the game is launched from the client and the user has an active subscription: returns true
int idGame, string publicKeyChecks if the player has the right to play (active subscription or game developer)
-Returns true if the player has the right to play and if the client is running.
-Returns false if the player does not have permission to play or if the client is not running.