diff options
author | David Athay <ko2fan@gmail.com> | 2008-11-06 16:02:12 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-11-06 16:02:12 +0000 |
commit | 2e7a4d66bd9ce5077b7a0062aff856d669e05b97 (patch) | |
tree | fbe2623101ca6fa849d9a7f739f73b40f34d1abb /src/net/gameserver/player.cpp | |
parent | 222db257d7de12f1077eb43d448d6b357d4642e7 (diff) | |
download | mana-2e7a4d66bd9ce5077b7a0062aff856d669e05b97.tar.gz mana-2e7a4d66bd9ce5077b7a0062aff856d669e05b97.tar.bz2 mana-2e7a4d66bd9ce5077b7a0062aff856d669e05b97.tar.xz mana-2e7a4d66bd9ce5077b7a0062aff856d669e05b97.zip |
Added interface for sending post.
Diffstat (limited to 'src/net/gameserver/player.cpp')
-rw-r--r-- | src/net/gameserver/player.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net/gameserver/player.cpp b/src/net/gameserver/player.cpp index 79ada480..cd85447c 100644 --- a/src/net/gameserver/player.cpp +++ b/src/net/gameserver/player.cpp @@ -170,18 +170,12 @@ void Net::GameServer::Player::tradeWithNPC(int item, int amount) void Net::GameServer::Player::sendLetter(const std::string &player, const std::string &text) { - MessageOut msg(PGMSG_SEND_POST); + MessageOut msg(PGMSG_NPC_POST_SEND); msg.writeString(player); msg.writeString(text); Net::GameServer::connection->send(msg); } -void Net::GameServer::Player::getLetters() -{ - MessageOut msg(PGMSG_GET_POST); - Net::GameServer::connection->send(msg); -} - void Net::GameServer::Player::raiseAttribute(int attribute) { MessageOut msg(PGMSG_RAISE_ATTRIBUTE); |