2022-10-22 02:05:24 +00:00
|
|
|
#ifndef _PSM_WORKITEM_H
|
|
|
|
#define _PSM_WORKITEM_H
|
|
|
|
|
|
|
|
#include "PSM/EventBase.h"
|
|
|
|
#include "PSM/ObjBase.h"
|
2023-12-15 04:58:39 +00:00
|
|
|
#include "PSM/EventLink.h"
|
2022-10-22 02:05:24 +00:00
|
|
|
|
2022-12-30 09:29:26 +00:00
|
|
|
namespace Game {
|
|
|
|
struct BaseItem;
|
|
|
|
} // namespace Game
|
|
|
|
|
2022-10-22 02:05:24 +00:00
|
|
|
namespace PSM {
|
|
|
|
struct WorkItem : public EventBase {
|
2022-12-30 09:29:26 +00:00
|
|
|
WorkItem(Game::BaseItem*);
|
2022-10-22 02:05:24 +00:00
|
|
|
// vtable 2
|
|
|
|
/**
|
|
|
|
* @reifiedAddress{804637A0}
|
|
|
|
* @reifiedFile{utilityU/PSMainSide_ObjSound.cpp}
|
|
|
|
*/
|
|
|
|
virtual ~WorkItem() {}; // _04 (thunks at _00 of vtable 2 and _00 of vtable 3)
|
|
|
|
/**
|
|
|
|
* @reifiedAddress{804638E8}
|
|
|
|
* @reifiedFile{utilityU/PSMainSide_ObjSound.cpp}
|
|
|
|
*/
|
|
|
|
virtual CreatureCastType getCastType() { return CCT_WorkItem; }; // _0C
|
|
|
|
|
|
|
|
// vtable 3
|
|
|
|
virtual void eventStart(); // _40
|
|
|
|
virtual void eventRestart(); // _44
|
|
|
|
virtual void eventStop(); // _48
|
|
|
|
virtual void eventFinish(); // _4C
|
|
|
|
|
2023-12-15 04:58:39 +00:00
|
|
|
EventLink mLink; // _70
|
2022-10-22 02:05:24 +00:00
|
|
|
};
|
|
|
|
} // namespace PSM
|
|
|
|
|
|
|
|
#endif
|