1
This commit is contained in:
parent
08bf0782d5
commit
c4cae288f4
@ -37,5 +37,9 @@ int MobaBattle::GetMemberNum()
|
|||||||
|
|
||||||
void MobaBattle::TraverseMemberList(std::function<bool (MobaMember*)> func)
|
void MobaBattle::TraverseMemberList(std::function<bool (MobaMember*)> func)
|
||||||
{
|
{
|
||||||
|
for (auto& pair : member_id_hash_) {
|
||||||
|
if (!func(pair.second.get())) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user