summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index efcdc6d0c..44a8a7d4b 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -23,6 +23,8 @@
#include "notifymanager.h"
#include "shopitem.h"
+#include "being/being.h"
+
#include "net/ea/eaprotocol.h"
#include "net/eathena/messageout.h"
@@ -157,4 +159,12 @@ void BuyingStoreHandler::close() const
createOutPacket(CMSG_BUYINGSTORE_CLOSE);
}
+void BuyingStoreHandler::open(const Being *const being) const
+{
+ if (!being)
+ return;
+ createOutPacket(SMSG_BUYINGSTORE_OPEN);
+ outMsg.writeInt32(being->getId(), "account id");
+}
+
} // namespace EAthena