Go to the documentation of this file.
45 auto face = std::find_if(
m_assets.begin(),
m_assets.end(), [&
id] (
auto& face) {
46 return face.second->number == id;
48 return face ==
m_assets.end() ? NULL : face->second;
61 for (
size_t l = 0;
l < strlen(face->
name);
l++) {
Face * get(const std::string &name)
virtual void added(Face *face) override
Plugin animator file specs[Config] name
Face * asset_create(const std::string &name)
sstring add_string(const char *str)
void asset_destroy(Face *item)
virtual void replace(Face *existing, Face *update) override
void free_string(sstring str)
std::map< std::string, Face * > m_assets
const Face * findById(uint16_t id)