| 103 | } |
| 104 | |
| 105 | bool AFCEntity::IsSave(const std::string& name) const |
| 106 | { |
| 107 | ARK_ASSERT_RET_VAL(class_meta_ != nullptr, false); |
| 108 | |
| 109 | auto index = class_meta_->GetIndex(name); |
| 110 | ARK_ASSERT_RET_VAL(index > 0, false); |
| 111 | |
| 112 | return IsSave(index); |
| 113 | } |
| 114 | |
| 115 | bool AFCEntity::IsSave(const uint32_t index) const |
| 116 | { |