update ContentLoader part 1
This commit is contained in:
@@ -9,11 +9,13 @@ struct EntityDef {
|
||||
/// @brief Entity string id (with prefix included)
|
||||
std::string const name;
|
||||
|
||||
std::string scriptName = name.substr(name.find(':')+1);
|
||||
|
||||
struct {
|
||||
entityid_t id;
|
||||
} rt;
|
||||
|
||||
EntityDef(const std::string& name);
|
||||
EntityDef(const std::string& name) : name(name) {}
|
||||
EntityDef(const EntityDef&) = delete;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user