summaryrefslogtreecommitdiff
path: root/src/notifications.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 02:10:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 14:39:29 +0300
commit29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (patch)
treee944129f98e652f2bd9adbcf5cd273a8bbb9e528 /src/notifications.h
parent0aca242db52695fa0804ac180fc7961b281b422a (diff)
downloadmanaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.gz
manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.bz2
manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.xz
manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.zip
Add new notifications to guildhandler, guildmanager, inventoryhandler and partyhandler.
Diffstat (limited to 'src/notifications.h')
-rw-r--r--src/notifications.h75
1 files changed, 73 insertions, 2 deletions
diff --git a/src/notifications.h b/src/notifications.h
index b5c622c76..26d9ef745 100644
--- a/src/notifications.h
+++ b/src/notifications.h
@@ -35,13 +35,51 @@ namespace NotifyManager
SELL_TRADE_FAILED,
SELL_UNSELLABLE_FAILED,
ONLINE_USERS,
+ GUILD_CREATED,
+ GUILD_ALREADY,
+ GUILD_EMPERIUM_CHECK_FAILED,
+ GUILD_ERROR,
+ GUILD_LEFT,
+ GUILD_INVITE_FAILED,
+ GUILD_INVITE_REJECTED,
+ GUILD_INVITE_JOINED,
+ GUILD_INVITE_FULL,
+ GUILD_INVITE_ERROR,
+ GUILD_USER_LEFT,
+ GUILD_KICKED,
+ GUILD_USER_KICKED,
+ USE_FAILED,
+ EQUIP_FAILED,
+ PARTY_CREATE_FAILED,
+ PARTY_CREATED,
+ PARTY_LEFT,
+ PARTY_USER_JOINED,
+ PARTY_INVITE_ALREADY_MEMBER,
+ PARTY_INVITE_REFUSED,
+ PARTY_INVITE_DONE,
+ PARTY_INVITE_PARTY_FULL,
+ PARTY_INVITE_ERROR,
+ PARTY_EXP_SHARE_ON,
+ PARTY_EXP_SHARE_OFF,
+ PARTY_EXP_SHARE_ERROR,
+ PARTY_ITEM_SHARE_ON,
+ PARTY_ITEM_SHARE_OFF,
+ PARTY_ITEM_SHARE_ERROR,
+ PARTY_USER_LEFT,
+ PARTY_UNKNOWN_USER_MSG,
+ PARTY_USER_NOT_IN_PARTY,
+
TYPE_END
};
enum NotifyFlags
{
EMPTY,
- INT
+ INT,
+ GUILD,
+ GUILD_STRING,
+ PARTY,
+ PARTY_STRING
};
struct NotificationInfo
@@ -59,7 +97,40 @@ namespace NotifyManager
{N_("Unable to sell."), EMPTY},
{N_("Unable to sell while trading."), EMPTY},
{N_("Unable to sell unsellable item."), EMPTY},
- {N_("Online users: %d"), INT}
+ {N_("Online users: %d"), INT},
+ {N_("Guild created."), EMPTY},
+ {N_("You are already in guild."), EMPTY},
+ {N_("Emperium check failed."), EMPTY},
+ {N_("Unknown server response."), EMPTY},
+ {N_("You have left the guild."), EMPTY},
+ {N_("Could not invite user to guild."), GUILD},
+ {N_("User rejected guild invite."), GUILD},
+ {N_("User is now part of your guild."), GUILD},
+ {N_("Your guild is full."), GUILD},
+ {N_("Unknown guild invite response."), GUILD},
+ {N_("%s has left your guild."), GUILD_STRING},
+ {N_("You were kicked from guild."), EMPTY},
+ {N_("%s has kicked from your guild."), GUILD_STRING},
+ {N_("Failed to use item."), EMPTY},
+ {N_("Unable to equip."), EMPTY},
+ {N_("Could not create party."), EMPTY},
+ {N_("Party successfully created."), EMPTY},
+ {N_("You have left the party."), EMPTY},
+ {N_("%s has joined your party."), PARTY_STRING},
+ {N_("%s is already a member of a party."), PARTY_STRING},
+ {N_("%s refused your invitation."), PARTY_STRING},
+ {N_("%s is now a member of your party."), PARTY_STRING},
+ {N_("%s can't join your party because party is full."), PARTY_STRING},
+ {N_("QQQ Unknown invite response for %s."), PARTY_STRING},
+ {N_("Experience sharing enabled."), PARTY},
+ {N_("Experience sharing disabled."), PARTY},
+ {N_("Experience sharing not possible."), PARTY},
+ {N_("Item sharing enabled."), PARTY},
+ {N_("Item sharing disabled."), PARTY},
+ {N_("Item sharing not possible."), PARTY},
+ {N_("%s has left your party."), PARTY_STRING},
+ {N_("An unknown member tried to say: %s"), PARTY_STRING},
+ {N_("%s is not in your party!"), PARTY_STRING},
};
}
#endif