#include <DestroyItemProcess.h>
Inheritance diagram for DestroyItemProcess:
Public Member Functions | |
DestroyItemProcess () | |
DestroyItemProcess (Item *item) | |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Definition at line 26 of file DestroyItemProcess.h.
DestroyItemProcess::DestroyItemProcess | ( | ) |
Definition at line 31 of file DestroyItemProcess.cpp.
DestroyItemProcess::DestroyItemProcess | ( | Item * | item | ) |
item | The item to destroy. If 0, use process result as ObjId. |
Definition at line 36 of file DestroyItemProcess.cpp.
References Object::getObjId(), Process::item_num, and Process::type.
DestroyItemProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool DestroyItemProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 83 of file DestroyItemProcess.cpp.
References Process::loadData().
bool DestroyItemProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 46 of file DestroyItemProcess.cpp.
References Item::FLG_GUMP_OPEN, getItem(), Process::item_num, Process::result, and Process::terminate().
void DestroyItemProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 78 of file DestroyItemProcess.cpp.
References Process::saveData().