41 std::unordered_map<std::string, Node, string_hash, std::equal_to<>>
_allAni;
60 j_node[
"name"] = iter.first;
61 j_node[
"beg"] = node.
_beg;
62 j_node[
"skip"] = node.
_skip;
63 j_node[
"ftime"] = node.
_ftime;
64 j_node[
"dir"] = node.
_dir;
65 j_node[
"count"] = node.
_count;
66 j_ani.push_back(j_node);
82 for (
auto& iter : j_ani)
96 auto iter1 = info.
_allAni.find(name);
97 if (iter1 != info.
_allAni.end())
bool Get(const json &j, const std::string &name, T &t)
从json返回子元素值,不存在则返回false,打印日志
void from_json(const json &j, Array< T, N > &arr)
constexpr unsigned ANIMATION_FTIME
void to_json(json &j, const Array< T, N > &arr)
std::unordered_map< std::string, Node, string_hash, std::equal_to<> > _allAni