Planeshift
psinventorycachesvr.h
Go to the documentation of this file.
1 
19 #ifndef PS_INVENTORY_CACHE_SERVER
20 #define PS_INVENTORY_CACHE_SERVER
21 
22 //=============================================================================
23 // Crystal Space Includes
24 //=============================================================================
25 
26 //=============================================================================
27 // Project Includes
28 //=============================================================================
29 #include "util/psconst.h"
30 #include "util/pscache.h"
31 
32 //=============================================================================
33 // Local Includes
34 //=============================================================================
35 
44 {
45 
46 public:
49 
57 
65 
73 
79  bool ClearAllSlots(void);
80 
81 private:
82  bool SlotModified[PSCHARACTER_SLOT_BULK_END];
83 };
84 
87 #endif
88 
INVENTORY_SLOT_NUMBER
Holds a list of the possible socket identifiers that items can be attached to.
Definition: slots.h:32
The psInventoryCacheServer class implements the inventory cache on the server.
bool ClearSlot(INVENTORY_SLOT_NUMBER slot)
Clears flag that bulk slot has modified.
bool SetSlotModified(INVENTORY_SLOT_NUMBER slot)
Flags that a bulk slot's contents has changed.
bool HasSlotModified(INVENTORY_SLOT_NUMBER slot)
Checks if a bulk slot's contents has changed.
bool ClearAllSlots(void)
Clears all slot modified flags.
psCache
Definition: pscache.h:33