SCUI_Client_New()

Creates an instance of SCUI_Client.

Synopsis:

#include <scoreloop/scui_client.h>
 
SC_Error_t SCUI_Client_New(SCUI_Client_h *pSelf, SC_Client_h client)

Arguments:

pSelf

A pointer to the SCUI_Client struct.

client

An opaque handle for the current SC_Client instance used to regular communication with Scoreloop.

Library:

libscoreloopcore

Description:

This method creates the SCUI_Client instance and initializes it. The SCUI_Client is a wrapper class around regular SC_Client. It only allows displaying of the UI views and requires separate bps event forwarding.

Returns:

SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).