#include <CreateItemProcess.h>
Inheritance diagram for CreateItemProcess:
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 |
Definition at line 24 of file CreateItemProcess.h.
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.
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.
uint32 CreateItemProcess::extendedflags [protected] |
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] |
uint16 CreateItemProcess::mapnum [protected] |
uint16 CreateItemProcess::npcnum [protected] |
uint16 CreateItemProcess::quality [protected] |
uint32 CreateItemProcess::shape [protected] |
sint32 CreateItemProcess::x [protected] |
sint32 CreateItemProcess::y [protected] |
sint32 CreateItemProcess::z [protected] |