Add OP_PetCommandState for ghold/hold

This commit is contained in:
Michael Cook (mackal)
2017-05-04 00:27:42 -04:00
parent b3d8bcab4a
commit 9229ca4f79
5 changed files with 21 additions and 0 deletions
+9
View File
@@ -8935,3 +8935,12 @@ void Client::ProcessAggroMeter()
}
}
void Client::SetPetCommandState(int button, int state)
{
auto app = new EQApplicationPacket(OP_PetCommandState, sizeof(PetCommandState_Struct));
auto pcs = (PetCommandState_Struct *)app->pBuffer;
pcs->button_id = button;
pcs->state = state;
FastQueuePacket(&app);
}