Planeshift
Public Member Functions

psInventoryCacheServer Class Reference

The psInventoryCacheServer class implements the inventory cache on the server. More...

#include <psinventorycachesvr.h>

List of all members.

Public Member Functions

bool ClearAllSlots (void)
 Clears all slot modified flags.
bool ClearSlot (INVENTORY_SLOT_NUMBER slot)
 Clears flag that bulk slot has modified.
bool HasSlotModified (INVENTORY_SLOT_NUMBER slot)
 Checks if a bulk slot's contents has changed.
 psInventoryCacheServer ()
bool SetSlotModified (INVENTORY_SLOT_NUMBER slot)
 Flags that a bulk slot's contents has changed.
 ~psInventoryCacheServer ()

Detailed Description

The psInventoryCacheServer class implements the inventory cache on the server.

Definition at line 43 of file psinventorycachesvr.h.


Constructor & Destructor Documentation

psInventoryCacheServer::psInventoryCacheServer ( )
psInventoryCacheServer::~psInventoryCacheServer ( )

Member Function Documentation

bool psInventoryCacheServer::ClearAllSlots ( void  )

Clears all slot modified flags.

Returns:
bool Success flag.
bool psInventoryCacheServer::ClearSlot ( INVENTORY_SLOT_NUMBER  slot)

Clears flag that bulk slot has modified.

Parameters:
slotslot number
Returns:
bool Slot has been flagged successfully.
bool psInventoryCacheServer::HasSlotModified ( INVENTORY_SLOT_NUMBER  slot)

Checks if a bulk slot's contents has changed.

Parameters:
slot,:slot number
Returns:
bool bulk slot status.
bool psInventoryCacheServer::SetSlotModified ( INVENTORY_SLOT_NUMBER  slot)

Flags that a bulk slot's contents has changed.

Parameters:
slot,:slot number
Returns:
bool Slot has been flagged successfully.

The documentation for this class was generated from the following file: