Check for violations on horse profile, ranch info, and player profile

This commit is contained in:
SilicaAndPina 2021-07-07 00:03:56 +12:00
parent 03c2b8e5a1
commit 8e483708b0
4 changed files with 64 additions and 13 deletions

View file

@ -607,10 +607,9 @@ namespace HISP.Game
public static string ProfileSavedMessage;
public static string ProfileTooLongMessage;
public static string ProfileSaveBlockedFormat;
public static string ProfileViolationFormat;
public static string ProfileViolationPersonalInfo;
public static string ProfileViolationProfanity;
// Hay Pile
public static string HasPitchforkMeta;
@ -1103,6 +1102,8 @@ namespace HISP.Game
public static string PlayerListIconFormat;
public static string PlayerListIconInformation;
// Meta
public static string IsleFormat;
public static string TownFormat;
@ -1206,8 +1207,19 @@ namespace HISP.Game
// Click
public static string NothingInterestingHere;
// Violations
public static string FormatProfileSavedBlocked(string reasons)
{
return ProfileViolationFormat.Replace("%REASON%", reasons);
}
public static string FormatRanchDesriptionBlocked(string reasons)
{
return RanchSavedDescrptionViolationsErrorFormat.Replace("%REASON%", reasons);
}
public static string FormatHorseProfileBlocked(string reasons)
{
return HorseProfileMessageProfileError.Replace("%REASON%", reasons);
}
// Throwables
public static string FormatModSplatterBallAwardedOther(string username)