mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
refactor getInventory -> getItemContainer
This commit is contained in:
parent
4b8783aeca
commit
7d712aa42e
2 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ bool Sapphire::Land::setPreset( uint32_t itemId )
|
||||||
return true;
|
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 );
|
auto container = m_landInventoryMap.find( inventoryType );
|
||||||
if( container == m_landInventoryMap.end() )
|
if( container == m_landInventoryMap.end() )
|
||||||
|
|
|
@ -61,7 +61,7 @@ namespace Sapphire
|
||||||
void setLandTag( uint8_t slot, uint8_t tag );
|
void setLandTag( uint8_t slot, uint8_t tag );
|
||||||
uint8_t getLandTag( uint8_t slot );
|
uint8_t getLandTag( uint8_t slot );
|
||||||
|
|
||||||
ItemContainerPtr getInventory( uint16_t inventoryType ) const;
|
ItemContainerPtr getItemContainer( uint16_t inventoryType ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint32_t convertItemIdToHousingItemId( uint32_t itemId );
|
uint32_t convertItemIdToHousingItemId( uint32_t itemId );
|
||||||
|
|
Loading…
Add table
Reference in a new issue