This commit is contained in:
aozhiwei 2024-03-29 16:44:27 +08:00
parent e30f9e2274
commit 07d3d11127
2 changed files with 5 additions and 2 deletions

View File

@ -71,9 +71,12 @@ namespace mt
return _notify_object;
}
void InGameVoice::Traverse(std::function<bool (const InGameVoice*)> cb)
void InGameVoice::Traverse(int event_type, std::function<bool (const InGameVoice*)> cb)
{
auto itr = s_type_hash_.find(event_type);
if (itr != s_type_hash_.end()) {
}
}
}

View File

@ -44,7 +44,7 @@ namespace mt
void Init2();
InGameVoiceNotifyObject_e GetNotifyObject() const;
static void Traverse(std::function<bool (const InGameVoice*)> cb);
static void Traverse(int event_type, std::function<bool (const InGameVoice*)> cb);
private:
InGameVoiceNotifyObject_e _notify_object;