SC_Session_GetBalance()

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

Synopsis:

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

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current session instance.

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

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: 2014-06-24



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

comments powered by Disqus