mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge branch 'master' into console-func-refactor
Conflicts: Engine/source/app/net/net.cpp Engine/source/console/astNodes.cpp Engine/source/console/compiledEval.cpp Engine/source/console/console.h Engine/source/console/consoleInternal.h Engine/source/console/engineAPI.h
This commit is contained in:
commit
b507dc9555
6487 changed files with 315149 additions and 609761 deletions
|
|
@ -58,6 +58,9 @@ class EventManagerListener : public Dispatcher::IMessageListener
|
|||
SimpleHashTable< Vector<Subscriber> > mSubscribers;
|
||||
|
||||
public:
|
||||
// Ensure that the subscriber map doesn't use case-sensitive string comparisons.
|
||||
EventManagerListener(): mSubscribers(64, false) {}
|
||||
|
||||
/// Called by the EventManager queue when an event is triggered. Calls all listeners subscribed to the triggered event.
|
||||
virtual bool onMessageReceived( StringTableEntry queue, const char* event, const char* data );
|
||||
virtual bool onMessageObjectReceived( StringTableEntry queue, Message *msg ) { return true; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue