<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dragonfireclient.git/src/unittest/test_eventmanager.cpp, branch 2021.03</title>
<subtitle>luanti cheat client
</subtitle>
<id>https://git.vlhl.dev/lizzy/luanti/dragonfire/dragonfireclient.git/atom?h=2021.03</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/luanti/dragonfire/dragonfireclient.git/atom?h=2021.03'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/dragonfire/dragonfireclient.git/'/>
<updated>2018-03-30T16:32:52+00:00</updated>
<entry>
<title>Client eventmanager refactor (#7179)</title>
<updated>2018-03-30T16:32:52+00:00</updated>
<author>
<name>Loïc Blot</name>
<email>nerzhul@users.noreply.github.com</email>
</author>
<published>2018-03-30T16:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/dragonfire/dragonfireclient.git/commit/?id=ce873108aa91d19104f46c5acd3350385e7a4541'/>
<id>urn:sha1:ce873108aa91d19104f46c5acd3350385e7a4541</id>
<content type='text'>
* Drop EventManager from GameDef &amp; do some client cleanups

* EventManager is only used by Client. Don't expose it on Server &amp; GameDef for nothing
* Drop Client::event() in favor of direct calls to getEventManager
* Cleanup some event put from new + put to put(new)
* MtEvent: add Type(u8) enum
* This will enhance event performance &amp; ensure stricter type
* Drop MtEvent::checkIs (unused)

* clang-tidy reported fixes

* Code style

* Move event_manager.h to the client directory as it's only used by client

Add EventManager unittests + switch to unordered_map as order is not important here

Drop a unused function
</content>
</entry>
</feed>
