mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
refactor getInventory -> getItemContainer
This commit is contained in:
parent
60e372b232
commit
703049e14f
2 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ bool Sapphire::Land::setPreset( uint32_t itemId )
|
|||
return true;
|
||||
}
|
||||
|
||||
Sapphire::ItemContainerPtr Sapphire::Land::getInventory( uint16_t inventoryType ) const
|
||||
Sapphire::ItemContainerPtr Sapphire::Land::getItemContainer( uint16_t inventoryType ) const
|
||||
{
|
||||
auto container = m_landInventoryMap.find( inventoryType );
|
||||
if( container == m_landInventoryMap.end() )
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace Sapphire
|
|||
void setLandTag( uint8_t slot, uint8_t tag );
|
||||
uint8_t getLandTag( uint8_t slot );
|
||||
|
||||
ItemContainerPtr getInventory( uint16_t inventoryType ) const;
|
||||
ItemContainerPtr getItemContainer( uint16_t inventoryType ) const;
|
||||
|
||||
private:
|
||||
uint32_t convertItemIdToHousingItemId( uint32_t itemId );
|
||||
|
|
Loading…
Add table
Reference in a new issue