mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-26 03:27:44 +00:00
this is what's really going on about that get item sound thing.
This commit is contained in:
commit
72ea61393d
2 changed files with 9 additions and 11 deletions
|
@ -171,11 +171,11 @@ namespace Sapphire::Network::Packets
|
|||
|
||||
ItemInfo = 0x00F2, // updated 5.18
|
||||
ContainerInfo = 0x01F2, // updated 5.18
|
||||
InventoryTransactionFinish = 0x01AB, // updated 5.1
|
||||
InventoryTransaction = 0x023E, // updated 5.1
|
||||
InventoryTransactionFinish = 0x00D2, // updated 5.18
|
||||
InventoryTransaction = 0x0233, // updated 5.18
|
||||
CurrencyCrystalInfo = 0x02BF, // updated 5.18
|
||||
|
||||
InventoryActionAck = 0x0084, // updated 5.1
|
||||
InventoryActionAck = 0x02FA, // updated 5.18
|
||||
UpdateInventorySlot = 0x0370, // updated 5.18
|
||||
|
||||
HuntingLogEntry = 0x01B3, // updated 5.0
|
||||
|
@ -267,8 +267,6 @@ namespace Sapphire::Network::Packets
|
|||
DailyQuests = 0x02D8, // updated 5.18
|
||||
DailyQuestRepeatFlags = 0x03A3, // updated 5.18
|
||||
|
||||
InventoryUnknown = 0x02FA, // 5.18, inventory related
|
||||
|
||||
/// Doman Mahjong //////////////////////////////////////
|
||||
MahjongOpenGui = 0x02A4, // only available in mahjong instance
|
||||
MahjongNextRound = 0x02BD, // initial hands(baipai), # of riichi(wat), winds, honba, score and stuff
|
||||
|
|
|
@ -607,9 +607,9 @@ Sapphire::ItemPtr Sapphire::Entity::Player::addItem( uint32_t catalogId, uint32_
|
|||
{
|
||||
queuePacket( makeActorControlSelf( getId(), ItemObtainIcon, catalogId, originalQuantity ) );
|
||||
|
||||
auto soundEffectPacket = makeZonePacket< FFXIVIpcInventoryUnknown >( getId() );
|
||||
soundEffectPacket->data().unk1 = 0xFFFFFFFF;
|
||||
soundEffectPacket->data().unk2 = 6; // this seems to have to be 6 in order to make that sound (tried 5 or 7 no sound at all)
|
||||
auto soundEffectPacket = makeZonePacket< FFXIVIpcInventoryActionAck >( getId() );
|
||||
soundEffectPacket->data().sequence = 0xFFFFFFFF;
|
||||
soundEffectPacket->data().type = 6;
|
||||
queuePacket( soundEffectPacket );
|
||||
|
||||
return item;
|
||||
|
@ -644,9 +644,9 @@ Sapphire::ItemPtr Sapphire::Entity::Player::addItem( uint32_t catalogId, uint32_
|
|||
|
||||
queuePacket( makeActorControlSelf( getId(), ItemObtainIcon, catalogId, originalQuantity ) );
|
||||
|
||||
auto soundEffectPacket = makeZonePacket< FFXIVIpcInventoryUnknown >( getId() );
|
||||
soundEffectPacket->data().unk1 = 0xFFFFFFFF;
|
||||
soundEffectPacket->data().unk2 = 6; // this seems to have to be 6 in order to make that sound (tried 5 or 7 no sound at all)
|
||||
auto soundEffectPacket = makeZonePacket< FFXIVIpcInventoryActionAck >( getId() );
|
||||
soundEffectPacket->data().sequence = 0xFFFFFFFF;
|
||||
soundEffectPacket->data().type = 6;
|
||||
queuePacket( soundEffectPacket );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue