eluna-scripts-ornfelt/lua/WowEmulationScriptPack/C++/vendor_multi.cpp
2024-09-23 07:59:23 +02:00

20 lines
No EOL
471 B
C++

#include "ScriptPCH.h"
#include <cstring>
class vendor_general : public CreatureScript
{
public:
vendor_general()
: CreatureScript("vendor_general")
{
}
bool OnGossipHello(Player* player, Creature* creature)
{
player->currentVendorEntry = -1;
player->GetSession()->SendListInventory(creature->GetGUID());
return true;
}
};
void AddSC_vendor_general()
{
new vendor_general();
}