2019-02-03 19:38:04 +11:00
|
|
|
#include "ActionMgr.h"
|
|
|
|
|
2019-02-09 14:45:22 +11:00
|
|
|
#include "Action/Action.h"
|
|
|
|
#include "Script/ScriptMgr.h"
|
|
|
|
|
|
|
|
#include "Actor/Player.h"
|
|
|
|
|
|
|
|
#include <Exd/ExdDataGenerated.h>
|
|
|
|
|
2019-02-03 19:38:04 +11:00
|
|
|
using namespace Sapphire;
|
|
|
|
|
|
|
|
World::Manager::ActionMgr::ActionMgr( Sapphire::FrameworkPtr pFw ) :
|
|
|
|
BaseManager( pFw )
|
|
|
|
{
|
|
|
|
|
2019-02-03 19:57:04 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
void World::Manager::ActionMgr::handleAoEPlayerAction( Entity::Player& player, uint8_t type,
|
2019-02-09 14:45:22 +11:00
|
|
|
Data::ActionPtr action, Common::FFXIVARR_POSITION3 pos )
|
2019-02-03 19:57:04 +11:00
|
|
|
{
|
2019-02-09 14:45:22 +11:00
|
|
|
player.sendDebug( "got aoe act: {0}", action->name );
|
2019-02-03 19:57:04 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
void World::Manager::ActionMgr::handleTargetedPlayerAction( Entity::Player& player, uint8_t type,
|
2019-02-09 14:45:22 +11:00
|
|
|
Data::ActionPtr action, uint64_t targetId )
|
2019-02-03 19:57:04 +11:00
|
|
|
{
|
2019-02-09 14:45:22 +11:00
|
|
|
player.sendDebug( "got act: {0}", action->name );
|
2019-02-03 19:38:04 +11:00
|
|
|
}
|