Planeshift
|
The psInventoryCacheServer class implements the inventory cache on the server. More...
#include <psinventorycachesvr.h>
Public Member Functions | |
bool | ClearAllSlots (void) |
Clears all slot modified flags. More... | |
bool | ClearSlot (INVENTORY_SLOT_NUMBER slot) |
Clears flag that bulk slot has modified. More... | |
bool | HasSlotModified (INVENTORY_SLOT_NUMBER slot) |
Checks if a bulk slot's contents has changed. More... | |
psInventoryCacheServer () | |
bool | SetSlotModified (INVENTORY_SLOT_NUMBER slot) |
Flags that a bulk slot's contents has changed. More... | |
~psInventoryCacheServer () | |
Public Member Functions inherited from psCache | |
CACHE_STATUS | GetCacheStatus (void) |
Return cache status. More... | |
psCache () | |
void | SetCacheStatus (CACHE_STATUS newStatus) |
Set cache status. More... | |
~psCache () | |
Additional Inherited Members | |
Public Types inherited from psCache | |
enum | CACHE_STATUS { INVALID, VALID } |
Protected Attributes inherited from psCache | |
CACHE_STATUS | cacheStatus |
The psInventoryCacheServer class implements the inventory cache on the server.
Definition at line 43 of file psinventorycachesvr.h.
psInventoryCacheServer::psInventoryCacheServer | ( | ) |
psInventoryCacheServer::~psInventoryCacheServer | ( | ) |
bool psInventoryCacheServer::ClearAllSlots | ( | void | ) |
Clears all slot modified flags.
bool psInventoryCacheServer::ClearSlot | ( | INVENTORY_SLOT_NUMBER | slot | ) |
Clears flag that bulk slot has modified.
slot | slot number |
bool psInventoryCacheServer::HasSlotModified | ( | INVENTORY_SLOT_NUMBER | slot | ) |
Checks if a bulk slot's contents has changed.
slot | slot number |
bool psInventoryCacheServer::SetSlotModified | ( | INVENTORY_SLOT_NUMBER | slot | ) |
Flags that a bulk slot's contents has changed.
slot | slot number |