Instances of SC_Money are used to represent an amount of game-specific currency.

Game-specific currencies are represented using a 3-character code. Scoreloop generates the code when the game is registered at 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:
  1. Optional: Use the session object's SC_Session_GetBalance() to check if the user has enough balance to create a challenge.

  2. Use the SC_Client instance to create an SC_Money object by calling SC_Client_CreateMoney().

  3. Use this SC_Money object as the stake to create a challenge by calling SC_Client_CreateChallenge()

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus