~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/net/inventoryhandler.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-07-11 10:09:41 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130711100941-f0rwuvcwgl8ulqo8
Tags: 1.3.7.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "item.h"
27
27
 
 
28
#include "inventory.h"
 
29
 
28
30
#include <iosfwd>
29
31
 
30
32
namespace Net
36
38
        virtual ~InventoryHandler()
37
39
        { }
38
40
 
 
41
        virtual void clear() = 0;
 
42
 
39
43
        virtual void equipItem(const Item *const item) const = 0;
40
44
 
41
45
        virtual void unequipItem(const Item *const item) const = 0;
63
67
 
64
68
        virtual size_t getSize(const int type) const A_WARN_UNUSED = 0;
65
69
 
 
70
        virtual Inventory *getStorage() const = 0;
 
71
 
66
72
        virtual int convertFromServerSlot(const int eAthenaSlot) const = 0;
67
73
};
68
74