Add muted player functions

This commit is contained in:
SilicaAndPina 2021-03-23 17:36:55 +13:00
parent 61383e8b9f
commit b15e6996fe
10 changed files with 272 additions and 20 deletions

View file

@ -22,6 +22,21 @@ namespace HISP.Game
public static string AddBuddyYourNowBuddiesFormat;
public static string AddBuddyDeleteBuddyFormat;
// Mute Command
public static string PlayerIgnoringYourPrivateMessagesFormat;
public static string PlayerIgnoringYourBuddyRequests;
public static string PlayerIgnoringYourSocials;
public static string PlayerIgnoringAllPrivateMessagesFormat;
public static string PlayerIgnoringAllBuddyRequests;
public static string PlayerIgnoringAllSocials;
public static string CantSendInMutedChannel;
public static string CantSendPrivateMessageWhileMuted;
public static string CantSendBuddyRequestWhileMuted;
public static string CantSendPrivateMessagePlayerMutedFormat;
// Auto Sell
public static string AutoSellNotStandingInSamePlace;
public static string AutoSellSuccessFormat;
@ -1077,6 +1092,21 @@ namespace HISP.Game
// Click
public static string NothingInterestingHere;
// Mute Command
public static string FormatCantSendYourIgnoringPlayer(string username)
{
return CantSendPrivateMessagePlayerMutedFormat.Replace("%USERNAME%", username);
}
public static string FormatPlayerIgnoringAllPms(string username)
{
return PlayerIgnoringAllPrivateMessagesFormat.Replace("%USERNAME%", username);
}
public static string FormatPlayerIgnoringYourPms(string username)
{
return PlayerIgnoringYourPrivateMessagesFormat.Replace("%USERNAME%", username);
}
// AUTO SELL
public static string FormatAutoSellSoldOffline(string horseName, int price, string toUsername)