Steamworks

Inherits: Node < Object

Base singleton to interact with the Steamworks API.

Methods

HBSteamInput

get_input ( ) const

bool

init ( int app_id, bool run_callbacks_automatically=true )

bool

is_valid ( ) const

void

run_callbacks ( )


Method Descriptions

HBSteamInput get_input ( ) const

Returns the Steam Input interface.


bool init ( int app_id, bool run_callbacks_automatically=true )

Initializes Steamworks with the given App ID.

Initializes Steam Input, if run_callbacks_automatically is true then you don’t have to call run_callbacks manually.

Returns true if initialization was successful.


bool is_valid ( ) const

Returns true if Steamworks was initialized properly.


void run_callbacks ( )

Dispatches callbacks and call results to all of the connected signals.