summaryrefslogtreecommitdiff
path: root/src/net/generalhandler.h
AgeCommit message (Collapse)AuthorFilesLines
2025-03-07Fixed GeneralHandler deletion when switching server typesThorbjørn Lindeijer1-2/+0
When switching between tmwAthena and Manaserv the GeneralHandler was not getting deleted, resulting in crashes later on when the still around instance (or one of its child handlers) would try to respond to events it was listening to.
2025-01-21Replaced include guards with #pragma onceThorbjørn Lindeijer1-4/+1
Thanks to https://github.com/cgmb/guardonce and a follow-up replace to remove duplicated newlines at end of file: find src -type f -name '*.h' -exec \ sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Source: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof Fixes compile on macOS, which appears to have been due to the EVENT_H include guard.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2010-12-06Removed superfluous #includes taken from checkheaders list.Yohann Ferreira1-3/+0
Resolves: Mana-Mantis #265. Trivial fix.
2010-07-18Replace some state-related netcode methods with eventsJared Adams1-6/+0
Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller
2010-04-12Add support for map-server switching under eAthenaJared Adams1-1/+4
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-02-21Do some more copyright header cleanupsJared Adams1-1/+1
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw1-0/+2
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2009-11-03Remove two unneeded methods of Net::GeneralHandlerJared Adams1-4/+0
2009-10-03Do some more post-merge cleanupJared Adams1-0/+2
Fixes a few more bugs
2009-09-30Merge login state machines for both clientsJared Adams1-0/+4
Also do some cleanup and refactoring of related code.
2009-04-20Removed the unused itemshortcutwindow.{h,cpp}Bjørn Lindeijer1-1/+3
2009-04-11Remove more support #ifdefsJared Adams1-0/+4
2009-04-07Make GeneralHandlers for both networksJared Adams1-3/+7
Also make Net::LogoutHandler
2009-03-31Make network handler functions virtualJared Adams1-7/+9
2009-03-31Add first draft of net handlersJared Adams1-0/+35
eAthena NPC handler has been implemented and is being used for NPC interraction.