mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
Renamed struct EQEmu::ItemBase to EQEmu::ItemData and class ItemInst to EQEmu::ItemInstance
This commit is contained in:
1 parent
decaadfe7d
commit
8b5dd58e96
93 files changed
+1492
-1455
No files matched your search
+2
-2
@@ -161,7 +161,7 @@ void Client::DoTributeUpdate() {
|
||||
uint32 item_id = tier.tribute_item_id;
|
||||
|
||||
//summon the item for them
|
||||
const ItemInst* inst = database.CreateItem(item_id, 1);
|
||||
const EQEmu::ItemInstance* inst = database.CreateItem(item_id, 1);
|
||||
if(inst == nullptr)
|
||||
continue;
|
||||
|
||||
@@ -239,7 +239,7 @@ void Client::SendTributeDetails(uint32 client_id, uint32 tribute_id) {
|
||||
|
||||
//returns the number of points received from the tribute
|
||||
int32 Client::TributeItem(uint32 slot, uint32 quantity) {
|
||||
const ItemInst*inst = m_inv[slot];
|
||||
const EQEmu::ItemInstance*inst = m_inv[slot];
|
||||
|
||||
if(inst == nullptr)
|
||||
return(0);
|
||||
|
||||
Reference in new issue
Block a user