|
void | EmptyInventory (void) |
| Empty entire inventory. More...
|
|
bool | EmptyInventoryItem (int slot, int container) |
| Set empty slot. More...
|
|
csHash< CachedItemDescription * >::GlobalIterator | GetHashIterator () |
| Return iterator to all cache items. More...
|
|
bool | GetInventory (void) |
| Requests inventory from server. More...
|
|
CachedItemDescription * | GetInventoryItem (int slot) |
| Get item from container slot. More...
|
|
uint32 | GetInventoryVersion () const |
| inline uint32 GetInventoryVersion() const Info: Returns the cache version (PS#2691) More...
|
|
csArray< CachedItemDescription * >::Iterator | GetSortedIterator () |
| Return iterator to all cache item sorted by slot. More...
|
|
bool | MoveItem (int from_containerID, int from_slot, int to_containerID, int to_slot, int stackCount) |
| Move items from one slot to another. More...
|
|
| psInventoryCache () |
|
bool | SetInventoryItem (int slot, int containerID, csString name, csString meshName, csString materialName, float weight, float size, int stackCount, csString iconImage, int purifyStatus) |
| Store an item in the inventory. More...
|
|
void | SetInventoryVersion (uint32 ver) |
| inline void SetInventoryVersion(uint32 ver) Info: Sets the cache version (PS#2691) More...
|
|
| ~psInventoryCache () |
|
CACHE_STATUS | GetCacheStatus (void) |
| Return cache status. More...
|
|
| psCache () |
|
void | SetCacheStatus (CACHE_STATUS newStatus) |
| Set cache status. More...
|
|
| ~psCache () |
|
psinventorycache.h
Copyright (C) 2006 Atomic Blue (info@.nosp@m.plan.nosp@m.eshif.nosp@m.t.it, http://www.atomicblue.org)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (version 2 of the License) This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Inventory cache for the client. The psInventoryCache class implements the inventory cache on the client.
Definition at line 27 of file psinventorycache.h.