SC_Client_GetGame()

Get SC_Game object instance associated with the client.

Synopsis:

#include <scoreloop/sc_client.h>
 
SC_Game_h SC_Client_GetGame(SC_Client_h self)

Arguments:

self

An opaque handle for the current client instance.

Library:

libscoreloopcore

Description:

This method provides access to the current game instance. There will be only one SC_Game instance throughout the SC_Client lifecycle.

Returns:

SC_Game_h An opaque handle for the current game instance. There is no need to retain the handle returned.

Last modified: 2013-12-23

comments powered by Disqus