2019-02-03 19:38:04 +11:00
|
|
|
#ifndef SAPPHIRE_ACTIONMGR_H
|
|
|
|
#define SAPPHIRE_ACTIONMGR_H
|
|
|
|
|
|
|
|
#include "BaseManager.h"
|
2019-02-03 19:57:04 +11:00
|
|
|
#include "ForwardsZone.h"
|
2019-02-03 19:38:04 +11:00
|
|
|
|
2019-02-09 14:45:22 +11:00
|
|
|
namespace Sapphire::Data
|
|
|
|
{
|
|
|
|
class Action;
|
|
|
|
using ActionPtr = std::shared_ptr< Action >;
|
|
|
|
}
|
|
|
|
|
2019-02-03 19:38:04 +11:00
|
|
|
namespace Sapphire::World::Manager
|
|
|
|
{
|
|
|
|
class ActionMgr : public Manager::BaseManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit ActionMgr( FrameworkPtr pFw );
|
|
|
|
~ActionMgr() = default;
|
|
|
|
|
2019-02-09 14:45:22 +11:00
|
|
|
void handleTargetedPlayerAction( Entity::Player& player, uint8_t type, Data::ActionPtr action, uint64_t targetId );
|
|
|
|
void handleAoEPlayerAction( Entity::Player& player, uint8_t type, Data::ActionPtr action, Common::FFXIVARR_POSITION3 pos );
|
2019-02-03 19:38:04 +11:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //SAPPHIRE_ACTIONMGR_H
|