| 73 | } |
| 74 | |
| 75 | bool AFCEntity::IsPublic(const std::string& name) const |
| 76 | { |
| 77 | ARK_ASSERT_RET_VAL(class_meta_ != nullptr, false); |
| 78 | |
| 79 | auto index = class_meta_->GetIndex(name); |
| 80 | ARK_ASSERT_RET_VAL(index > 0, false); |
| 81 | |
| 82 | return IsPublic(index); |
| 83 | } |
| 84 | |
| 85 | bool AFCEntity::IsPublic(const uint32_t index) const |
| 86 | { |