summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
AgeCommit message (Collapse)AuthorFilesLines
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-5/+9
This also fixes some minor bugs and centralizes some logic.
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer1-1/+3
Since we'll have three "InventoryHandler" classes, etc. this shows an example of how we can compile with all of them at the same time using namespaces. We'll have: Net::InventoryHandler - the interface EAthena::InventoryHandler - the eAthena implementation TmwServ::InventoryHandler - the tmwserv implementation Maybe we'll find a better way later, but for now this works. I'm not convinced yet that using namespaces is better than just using longer class names like EAthenaInventoryHandler.
2009-04-02Some cleanup and renamingBjørn Lindeijer1-10/+15
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
2009-04-01Make eAthena's inventory handlerJared Adams1-1/+17
Also cleanup some related #ifdefs in LocalPlayer.
2009-03-31Make network handler functions virtualJared Adams1-1/+1
2009-03-27Include statement cleanup for net/ea/ directory.Bjørn Lindeijer1-4/+4
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+35
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!