mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Fix for Memory Buffer stuff, have yet to compile so not sure if that's enough. Partial work on RoF inventory bulk send
This commit is contained in:
@@ -815,6 +815,15 @@ void Client::OnDisconnect(bool hard_disconnect) {
|
||||
}
|
||||
|
||||
void Client::BulkSendInventoryItems() {
|
||||
EQEmu::MemoryBuffer items;
|
||||
if(!m_inventory.Serialize(items)) {
|
||||
return;
|
||||
}
|
||||
|
||||
EQApplicationPacket* outapp = new EQApplicationPacket(OP_CharInventory, items.Size());
|
||||
memcpy(outapp->pBuffer, items, items.Size());
|
||||
|
||||
|
||||
//int16 slot_id = 0;
|
||||
//
|
||||
//// LINKDEAD TRADE ITEMS
|
||||
|
||||
Reference in New Issue
Block a user