mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +00:00
Switch Inspect Buffs to use the OP code
Client 6.2 is SOL until someone find the op for that client
This commit is contained in:
@@ -1309,6 +1309,20 @@ namespace RoF
|
||||
FINISH_ENCODE();
|
||||
}*/
|
||||
|
||||
ENCODE(OP_InspectBuffs)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(InspectBuffs_Struct);
|
||||
SETUP_DIRECT_ENCODE(InspectBuffs_Struct, structs::InspectBuffs_Struct);
|
||||
|
||||
// we go over the internal 25 instead of the packet's since no entry is 0, which it will be already
|
||||
for (int i = 0; i < BUFF_COUNT; i++) {
|
||||
OUT(spell_id[i]);
|
||||
OUT(tics_remaining[i]);
|
||||
}
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_InspectRequest)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(Inspect_Struct);
|
||||
|
||||
Reference in New Issue
Block a user