SC_Client_CreateMoney()
Creates an instance of SC_Money.
Synopsis:
#include <scoreloop/sc_client.h>
SC_Error_t SC_Client_CreateMoney(SC_Client_h self, SC_Money_h *pMoney, unsigned int amount)
Arguments:
- self
-
Opaque handle for the current client instance.
- pMoney
-
Opaque handle for the SC_Money object that will be created.
- amount
-
The amount of currency that the object will have. This must be in cents.
Library:
libscoreloopcoreDescription:
Method to create a new Money object with a given amount of the game specific currency. The amount must be given in cents.
Returns:
SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).