This commit is contained in:
aozhiwei 2023-12-27 19:09:20 +08:00
parent 08bf0782d5
commit c4cae288f4

View File

@ -37,5 +37,9 @@ int MobaBattle::GetMemberNum()
void MobaBattle::TraverseMemberList(std::function<bool (MobaMember*)> func)
{
for (auto& pair : member_id_hash_) {
if (!func(pair.second.get())) {
break;
}
}
}