diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 12 | ||||
-rw-r--r-- | src/resources/notifications.h | 12 | ||||
-rw-r--r-- | src/resources/notifytypes.h | 3 |
3 files changed, 27 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index 90f39d89c..083ec9497 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -425,6 +425,18 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const NotifyManager::notify(NotifyTypes::PARTY_INVITE_PARTY_FULL, nick); break; + case 4: + NotifyManager::notify(NotifyTypes::PARTY_INVITE_PARTY_SAME_ACCOUNT, + nick); + break; + case 5: + NotifyManager::notify(NotifyTypes::PARTY_INVITE_PARTY_BLOCKED_INVITE, + nick); + break; + case 7: + NotifyManager::notify(NotifyTypes::PARTY_INVITE_PARTY_NOT_ONLINE, + nick); + break; default: NotifyManager::notify(NotifyTypes::PARTY_INVITE_ERROR, nick); break; diff --git a/src/resources/notifications.h b/src/resources/notifications.h index 11ce65359..063235af7 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -310,6 +310,18 @@ namespace NotifyManager // TRANSLATORS: notification message N_("unknown pvp"), NotifyFlags::SPEECH}, + {"party user char from account in party", + // TRANSLATORS: notification message + N_("Char from account %s is already in your party!"), + NotifyFlags::PARTY_STRING}, + {"party user blocked invite", + // TRANSLATORS: notification message + N_("%s blocked invite!"), + NotifyFlags::PARTY_STRING}, + {"party user not online", + // TRANSLATORS: notification message + N_("Char is not online!"), + NotifyFlags::PARTY_STRING}, }; } // namespace NotifyManager #endif // RESOURCES_NOTIFICATIONS_H diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h index 25f4b5680..56f612a08 100644 --- a/src/resources/notifytypes.h +++ b/src/resources/notifytypes.h @@ -97,6 +97,9 @@ namespace NotifyTypes GVG_ON, PVP_ON_GVG_ON, PVP_UNKNOWN, + PARTY_INVITE_PARTY_SAME_ACCOUNT, + PARTY_INVITE_PARTY_BLOCKED_INVITE, + PARTY_INVITE_PARTY_NOT_ONLINE, TYPE_END }; |