mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Comment unused code
This commit is contained in:
parent
779179a0cf
commit
965d1c7681
1 changed files with 19 additions and 21 deletions
|
|
@ -160,27 +160,25 @@ namespace Dalamud.Game.Network
|
||||||
return this.processZonePacketUpHook.Original(a1, dataPtr, a3, a4);
|
return this.processZonePacketUpHook.Original(a1, dataPtr, a3, a4);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEBUG
|
// private void InjectZoneProtoPacket(byte[] data)
|
||||||
private void InjectZoneProtoPacket(byte[] data)
|
// {
|
||||||
{
|
// this.zoneInjectQueue.Enqueue(data);
|
||||||
this.zoneInjectQueue.Enqueue(data);
|
// }
|
||||||
}
|
|
||||||
|
|
||||||
private void InjectActorControl(short cat, int param1)
|
// private void InjectActorControl(short cat, int param1)
|
||||||
{
|
// {
|
||||||
var packetData = new byte[]
|
// var packetData = new byte[]
|
||||||
{
|
// {
|
||||||
0x14, 0x00, 0x8D, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x17, 0x7C, 0xC5, 0x5D, 0x00, 0x00, 0x00, 0x00,
|
// 0x14, 0x00, 0x8D, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x17, 0x7C, 0xC5, 0x5D, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x05, 0x00, 0x48, 0xB2, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
// 0x05, 0x00, 0x48, 0xB2, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x43, 0x7F, 0x00, 0x00,
|
// 0x00, 0x00, 0x00, 0x00, 0x43, 0x7F, 0x00, 0x00,
|
||||||
};
|
// };
|
||||||
|
//
|
||||||
BitConverter.GetBytes((short)cat).CopyTo(packetData, 0x10);
|
// BitConverter.GetBytes((short)cat).CopyTo(packetData, 0x10);
|
||||||
|
//
|
||||||
BitConverter.GetBytes((uint)param1).CopyTo(packetData, 0x14);
|
// BitConverter.GetBytes((uint)param1).CopyTo(packetData, 0x14);
|
||||||
|
//
|
||||||
this.InjectZoneProtoPacket(packetData);
|
// this.InjectZoneProtoPacket(packetData);
|
||||||
}
|
// }
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue