1
This commit is contained in:
parent
b554d706c9
commit
555d58716b
@ -7,6 +7,7 @@
|
|||||||
IMPL_TABLE(mt::InGameVoice)
|
IMPL_TABLE(mt::InGameVoice)
|
||||||
int mt::InGameVoice::play_interval = 0;
|
int mt::InGameVoice::play_interval = 0;
|
||||||
int mt::InGameVoice::series_kill_interval = 0;
|
int mt::InGameVoice::series_kill_interval = 0;
|
||||||
|
std::map<int, std::vector<const mt::InGameVoice*>> mt::InGameVoice::type_hash_;
|
||||||
|
|
||||||
namespace mt
|
namespace mt
|
||||||
{
|
{
|
||||||
@ -44,6 +45,14 @@ namespace mt
|
|||||||
A8_ABORT();
|
A8_ABORT();
|
||||||
}
|
}
|
||||||
_notify_object = ParseNotifyObject(notify_object());
|
_notify_object = ParseNotifyObject(notify_object());
|
||||||
|
{
|
||||||
|
auto itr = type_hash_.find(event_type());
|
||||||
|
if (itr != type_hash_.end()) {
|
||||||
|
itr->second.push_back(this);
|
||||||
|
} else {
|
||||||
|
type_hash_[event_type()] = std::vector<const mt::InGameVoice*>({this});
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void InGameVoice::Init2()
|
void InGameVoice::Init2()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user