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

Classes

struct  Map
 

Public Types

typedef string MapData
 
typedef std::vector< Ptr< Map > > MapList
 
typedef std::vector< stringMapTagList
 
typedef http::Uri MapUri
 
typedef function< void(const Ptr< MapList > &mutable_map_list)> OnMapListDownloaded
 
typedef function< void(const bool &error, const bool &is_map_changed, const Ptr< const MapList > &map_list)> OnMapLoadCompleted
 

Static Public Member Functions

static const Ptr< const MapFindMapByMd5 (const string &map_md5)
 
static const Ptr< const MapList > FindMapByTag (const string &map_tag)
 
static const Ptr< const MapList > GetMapList ()
 
static void LoadAsync (const OnMapListDownloaded &on_map_list_downloaded, const OnMapLoadCompleted &on_map_load_completed)