1
This commit is contained in:
parent
e30f9e2274
commit
07d3d11127
@ -71,9 +71,12 @@ namespace mt
|
|||||||
return _notify_object;
|
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()) {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ namespace mt
|
|||||||
void Init2();
|
void Init2();
|
||||||
InGameVoiceNotifyObject_e GetNotifyObject() const;
|
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:
|
private:
|
||||||
InGameVoiceNotifyObject_e _notify_object;
|
InGameVoiceNotifyObject_e _notify_object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user