|
|
@ -60,6 +60,10 @@
|
|
|
|
{"SetActorFatigueCurrent", ActorFunctions::SetActorFatigueCurrent},\
|
|
|
|
{"SetActorFatigueCurrent", ActorFunctions::SetActorFatigueCurrent},\
|
|
|
|
{"SetActorFatigueModified", ActorFunctions::SetActorFatigueModified},\
|
|
|
|
{"SetActorFatigueModified", ActorFunctions::SetActorFatigueModified},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
|
|
|
|
{"SetActorAIAction", ActorFunctions::SetActorAIAction},\
|
|
|
|
|
|
|
|
{"SetActorAITargetToPlayer", ActorFunctions::SetActorAITargetToPlayer},\
|
|
|
|
|
|
|
|
{"SetActorAITargetToActor", ActorFunctions::SetActorAITargetToActor},\
|
|
|
|
|
|
|
|
\
|
|
|
|
{"EquipActorItem", ActorFunctions::EquipActorItem},\
|
|
|
|
{"EquipActorItem", ActorFunctions::EquipActorItem},\
|
|
|
|
{"UnequipActorItem", ActorFunctions::UnequipActorItem},\
|
|
|
|
{"UnequipActorItem", ActorFunctions::UnequipActorItem},\
|
|
|
|
\
|
|
|
|
\
|
|
|
@ -70,9 +74,10 @@
|
|
|
|
{"SendActorPosition", ActorFunctions::SendActorPosition},\
|
|
|
|
{"SendActorPosition", ActorFunctions::SendActorPosition},\
|
|
|
|
{"SendActorStatsDynamic", ActorFunctions::SendActorStatsDynamic},\
|
|
|
|
{"SendActorStatsDynamic", ActorFunctions::SendActorStatsDynamic},\
|
|
|
|
{"SendActorEquipment", ActorFunctions::SendActorEquipment},\
|
|
|
|
{"SendActorEquipment", ActorFunctions::SendActorEquipment},\
|
|
|
|
|
|
|
|
{"SendActorAI", ActorFunctions::SendActorAI},\
|
|
|
|
{"SendActorCellChange", ActorFunctions::SendActorCellChange}
|
|
|
|
{"SendActorCellChange", ActorFunctions::SendActorCellChange}
|
|
|
|
|
|
|
|
|
|
|
|
class ActorFunctions
|
|
|
|
class ActorFunctions
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
@ -481,6 +486,31 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SetActorFatigueModified(double value) noexcept;
|
|
|
|
static void SetActorFatigueModified(double value) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set the AI action of the temporary actor stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param action The new action.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetActorAIAction(unsigned int action) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set a player as the AI target of the temporary actor stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param pid The player ID.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetActorAITargetToPlayer(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Set another actor as the AI target of the temporary actor stored on the server.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \param refNumIndex The refNumIndex of the target actor.
|
|
|
|
|
|
|
|
* \param mpNum The mpNum of the target actor.
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SetActorAITargetToActor(int refNumIndex, int mpNum) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Equip an item in a certain slot of the equipment of the temporary actor stored
|
|
|
|
* \brief Equip an item in a certain slot of the equipment of the temporary actor stored
|
|
|
|
* on the server.
|
|
|
|
* on the server.
|
|
|
@ -561,6 +591,15 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void SendActorEquipment() noexcept;
|
|
|
|
static void SendActorEquipment() noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* \brief Send an ActorAI packet.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* It is sent only to the player for whom the current actor list was initialized.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* \return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void SendActorAI() noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Send an ActorCellChange packet.
|
|
|
|
* \brief Send an ActorCellChange packet.
|
|
|
|
*
|
|
|
|
*
|
|
|
|