CreateItemProcess Class Reference

#include <CreateItemProcess.h>

Inheritance diagram for CreateItemProcess:

Process List of all members.

Public Member Functions

 ENABLE_RUNTIME_CLASSTYPE ()
 CreateItemProcess ()
 CreateItemProcess (uint32 shape, uint32 frame, uint16 quality, uint16 flags, uint16 npcnum, uint16 mapnum, uint32 extendedflags, sint32 x, sint32 y, sint32 z)
virtual ~CreateItemProcess (void)
virtual bool run (const uint32 framenum)
bool loadData (IDataSource *ids, uint32 version)

Protected Member Functions

virtual void saveData (ODataSource *ods)

Protected Attributes

uint32 shape
uint32 frame
uint16 quality
uint16 flags
uint16 npcnum
uint16 mapnum
uint32 extendedflags
sint32 x
sint32 y
sint32 z

Detailed Description

Definition at line 24 of file CreateItemProcess.h.


Constructor & Destructor Documentation

CreateItemProcess::CreateItemProcess (  ) 

Definition at line 30 of file CreateItemProcess.cpp.

CreateItemProcess::CreateItemProcess ( uint32  shape,
uint32  frame,
uint16  quality,
uint16  flags,
uint16  npcnum,
uint16  mapnum,
uint32  extendedflags,
sint32  x,
sint32  y,
sint32  z 
)

Definition at line 36 of file CreateItemProcess.cpp.

CreateItemProcess::~CreateItemProcess ( void   )  [virtual]

Definition at line 48 of file CreateItemProcess.cpp.


Member Function Documentation

CreateItemProcess::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from Process.

bool CreateItemProcess::loadData ( IDataSource ids,
uint32  version 
)

load Process data

Reimplemented from Process.

Definition at line 82 of file CreateItemProcess.cpp.

References extendedflags, flags, frame, Process::loadData(), mapnum, npcnum, quality, shape, x, y, and z.

bool CreateItemProcess::run ( const uint32  framenum  )  [virtual]

Implements Process.

Definition at line 53 of file CreateItemProcess.cpp.

References ItemFactory::createItem(), extendedflags, flags, frame, Object::getObjId(), mapnum, Item::move(), npcnum, quality, Process::result, shape, Process::terminate(), x, y, and z.

void CreateItemProcess::saveData ( ODataSource ods  )  [protected, virtual]

save the Process data

Reimplemented from Process.

Definition at line 66 of file CreateItemProcess.cpp.

References extendedflags, flags, frame, mapnum, npcnum, quality, Process::saveData(), shape, ODataSource::write2(), ODataSource::write4(), x, y, and z.


Member Data Documentation

uint32 CreateItemProcess::extendedflags [protected]

Definition at line 48 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint16 CreateItemProcess::flags [protected]

Reimplemented from Process.

Definition at line 45 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint32 CreateItemProcess::frame [protected]

Definition at line 43 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint16 CreateItemProcess::mapnum [protected]

Definition at line 47 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint16 CreateItemProcess::npcnum [protected]

Definition at line 46 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint16 CreateItemProcess::quality [protected]

Definition at line 44 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

uint32 CreateItemProcess::shape [protected]

Definition at line 42 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 CreateItemProcess::x [protected]

Definition at line 49 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 CreateItemProcess::y [protected]

Definition at line 49 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 CreateItemProcess::z [protected]

Definition at line 49 of file CreateItemProcess.h.

Referenced by loadData(), run(), and saveData().


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