SC_Session_GetBalance()

Returns the session user's balance of game-specific currency.

Synopsis:

#include <scoreloop/sc_session.h>
 
SC_Money_h SC_Session_GetBalance(SC_Session_h self)

Arguments:

self

An opaque handle for the current session instance.

Library:

libscoreloopcore

Description:

This method returns the session user's balance of game-specific currency. The user should have a balance sufficient to play challenges. Note that, to get the updated balance, you must make a server request by calling SC_UserController_LoadUser().

Returns:

SC_Money_h The money object that specifies the user's balance of game-specific currency.

Last modified: 2013-12-23

comments powered by Disqus