iFun Engine API  1.0.0-b2601
Great Technology for Great Games
 All Classes Files Functions Variables Typedefs Macros
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 string & app_authentication_key ()
 
static const string & app_id ()
 
static const string & app_password ()
 
static const string & authentication_service_provider ()
 
static const string & client_update_info ()
 
static const string & client_update_uri ()
 
static const string & current_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

static const string& fun::AppInfo::app_authentication_key ( )
static
Returns
App authentication key.
static const string& fun::AppInfo::app_id ( )
static
Returns
App ID.
static const string& fun::AppInfo::app_password ( )
static
Returns
App password.
static const string& fun::AppInfo::authentication_service_provider ( )
static
Returns
App authentication service provider.
static const string& fun::AppInfo::client_update_info ( )
static
Returns
Client update information.
static const string& fun::AppInfo::client_update_uri ( )
static
Returns
URI where to get the current version.
static const string& fun::AppInfo::current_version ( )
static
Returns
current version of client matching this game server.
static const std::set<string>& fun::AppInfo::GetCompatibleVersions ( )
static
Returns
compatible client versions.
static bool fun::AppInfo::IsCompatibleVersion ( const string &  version)
static
Returns
true if the given version is compatible with the current version.