DestroyItemProcess Class Reference

#include <DestroyItemProcess.h>

Inheritance diagram for DestroyItemProcess:

Process List of all members.

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)

Detailed Description

Definition at line 26 of file DestroyItemProcess.h.


Constructor & Destructor Documentation

DestroyItemProcess::DestroyItemProcess (  ) 

Definition at line 31 of file DestroyItemProcess.cpp.

DestroyItemProcess::DestroyItemProcess ( Item item  ) 

DestroyItemProcess

Parameters:
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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:08 2007 for pentagram by  doxygen 1.4.7