Add WaterBallonGame class

This commit is contained in:
SilicaAndPina 2021-04-28 17:08:31 +12:00
parent bbc5d3c899
commit e95140d708
5 changed files with 167 additions and 9 deletions

View file

@ -69,6 +69,12 @@ namespace HISP.Game
public static string SocialTypeFormat;
public static string SocialPlayerNoLongerNearby;
// Events : Water Balloon Game
public static string EventStartWaterBallonGame;
public static string EventWonWaterBallonGame;
public static string EventEndWaterBalloonGame;
public static string EventWinnerWaterBalloonGameFormat;
// Events : Real Time Quiz
public static string EventMetaRealTimeQuizFormat;
public static string EventStartRealTimeQuiz;
@ -1152,6 +1158,12 @@ namespace HISP.Game
return itemFormat.Replace("%USERNAME%", username);
}
// Event : Water Ballon Game
public static string FormatWaterBalloonGameWinner(string username, int timesHit)
{
return EventWinnerWaterBalloonGameFormat.Replace("%USERNAME%", username).Replace("%AMOUNT%", timesHit.ToString("N0", CultureInfo.InvariantCulture));
}
// Event : Real Time Quiz
public static string FormatEventRealTimeQuizMeta(int questionNo, int totalMistakes, string category, string question)
{