SC_Money
Instances of SC_Money are used to represent an amount of game-specific currency.
Game-specific currencies are represented using a 3-character code. The code is generated by Scoreloop when the game is registered at https://developer.scoreloop.com along with the game ID and game secret.
The amount of currency represented by the SC_Money instance must be given in cents.
Basic Use:
-
Optional: Use the session object's SC_Session_GetBalance() to check if the user has enough balance to create a challenge.
-
Use the SC_Client instance to create an SC_Money object by calling SC_Client_CreateMoney() .
-
Use this SC_Money object as the stake to create a challenge by calling SC_Client_CreateChallenge()