ManaPlus
|
#include <itemsoundmanager.h>
Static Public Member Functions | |
static void | playSfx (const int item, const ItemSoundEvent::Type sound) |
static void | playSfx (const Item *const item, const ItemSoundEvent::Type sound) |
static void | playSfx (const FloorItem *const item, const ItemSoundEvent::Type sound) |
static void | playSfx (const ItemInfo &info, const ItemSoundEvent::Type sound) |
static void | playSfx (const Being *const being, const int itemId, const ItemSoundEvent::Type sound) |
static std::string | getSoundEffect (const Being *const being, const ItemInfo &info, const ItemSoundEvent::Type sound) |
Definition at line 36 of file itemsoundmanager.h.
|
static |
Definition at line 57 of file itemsoundmanager.cpp.
References ItemDB::get(), ItemInfo::getSound(), Being::getSubType(), Actions::info(), SoundInfo::sound, and toInt.
Referenced by playSfx().
|
static |
Definition at line 83 of file itemsoundmanager.cpp.
References ItemDB::get(), getSoundEffect(), Being::getTileX(), Being::getTileY(), SoundManager::playSfx(), and soundManager.
|
static |
Definition at line 49 of file itemsoundmanager.cpp.
References ItemDB::get(), FloorItem::getItemId(), and playSfx().
|
static |
Definition at line 43 of file itemsoundmanager.cpp.
References ItemDB::get().
Referenced by DragDrop::dragItem(), PlayerInfo::dropItem(), PlayerInfo::equipItem(), PlayerInfo::pickUpItem(), playSfx(), EAthena::InventoryRecv::processPlayerInventoryUse(), PlayerInfo::unequipItem(), PlayerInfo::useEquipItem(), PlayerInfo::useEquipItem2(), and PlayerInfo::useItem().
|
static |
|
static |
Definition at line 75 of file itemsoundmanager.cpp.
References getSoundEffect(), Actions::info(), localPlayer, SoundManager::playSfx(), and soundManager.