iFun Engine API  1.0.0-b6053
Great Technology for Great Games
Static Public Member Functions | List of all members
fun::AppInfo Class Reference

Holds the currently running app ID, authentication info and client version info. More...

#include <app_info.h>

Inheritance diagram for fun::AppInfo:

Static Public Member Functions

static const stringapp_authentication_key ()
 
static const stringapp_id ()
 
static const stringapp_password ()
 
static const stringauthentication_service_provider ()
 
static const stringclient_update_info ()
 
static const stringclient_update_uri ()
 
static const stringcurrent_version ()
 
static const std::set< string > & GetCompatibleVersions ()
 
static bool IsCompatibleVersion (const string &version)
 
static void SetCompatibleVersions (const std::set< string > &versions)
 Sets compatible versions.
 

Detailed Description

Member Function Documentation

◆ app_authentication_key()

static const string& fun::AppInfo::app_authentication_key ( )
static
Returns
App authentication key.

◆ app_id()

static const string& fun::AppInfo::app_id ( )
static
Returns
App ID.

◆ app_password()

static const string& fun::AppInfo::app_password ( )
static
Returns
App password.

◆ authentication_service_provider()

static const string& fun::AppInfo::authentication_service_provider ( )
static
Returns
App authentication service provider.

◆ client_update_info()

static const string& fun::AppInfo::client_update_info ( )
static
Returns
Client update information.

◆ client_update_uri()

static const string& fun::AppInfo::client_update_uri ( )
static
Returns
URI where to get the current version.

◆ current_version()

static const string& fun::AppInfo::current_version ( )
static
Returns
current version of client matching this game server.

◆ GetCompatibleVersions()

static const std::set<string>& fun::AppInfo::GetCompatibleVersions ( )
static
Returns
compatible client versions.

◆ IsCompatibleVersion()

static bool fun::AppInfo::IsCompatibleVersion ( const string version)
static
Returns
true if the given version is compatible with the current version.