Add OP_PetCommandState for ghold/hold

This commit is contained in:
Michael Cook (mackal) committed 2017-05-04 00:27:42 -04:00
1 parent b3d8bcab4a
commit 9229ca4f79
5 files changed
+21

No files matched your search

+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);
}