Pol  Revision:cb584c9
getitem.cpp File Reference
#include "getitem.h"
#include <cstdio>
#include "../clib/clib_endian.h"
#include "../clib/rawtypes.h"
#include "containr.h"
#include "item/item.h"
#include "mobile/charactr.h"
#include "network/client.h"
#include "pktdef.h"
#include "pktin.h"
#include "reftypes.h"
#include "statmsg.h"
#include "ufunc.h"
#include "uobject.h"
#include "uworld.h"

Go to the source code of this file.




void Pol::Core::get_item (Network::Client *client, PKTIN_07 *msg)
void Pol::Core::undo_get_item (Mobile::Character *chr, Items::Item *item)

Detailed Description

  • 2005/12/05 MuadDib: Added set_decay_after(60) when item is approved to be "gotten" by line 19x for a dirty fix for instant decay on items dropped in current decay zone being processed.
  • 2006/03/01 MuadDib: Added check for != 1 on item-> amount to set_decay_after to help with bug of changing the initial stack's decay timer.
  • 2008/12/17 MuadDub: unequipping item now resets item->layer to 0
  • 2009/08/06 MuadDib: Added gotten_by code for items.
  • 2009/08/16 MuadDib: Added Slot support to undo_get_item()
  • 2009/09/03 MuadDib: Changes for account related source file relocation Changes for multi related source file relocation

Definition in file getitem.cpp.