bool NFCSkillConsumeManagerModule::Execute() { for (NF_SHARE_PTR<NFISkillConsumeProcessModule> xModule = First(); xModule != nullptr; xModule = Next()) { xModule->Execute(); } return true; }
bool NFCComponentManager::Execute() { NF_SHARE_PTR<NFIComponent> pComponent = First(); while (pComponent.get() && pComponent->Enable()) { pComponent->Execute(); pComponent = Next(); } return true; }