mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
Add tag and fix socials crashing
This commit is contained in:
parent
b686afed61
commit
a116a27f0a
5 changed files with 83 additions and 8 deletions
|
@ -18,6 +18,10 @@ namespace HISP.Game
|
|||
public static string AddBuddyOtherPendingFormat;
|
||||
public static string AddBuddyYourNowBuddiesFormat;
|
||||
|
||||
// Tag
|
||||
public static string TagYourItFormat;
|
||||
public static string TagOtherBuddiesOnlineFormat;
|
||||
|
||||
// Socials
|
||||
public static string SocialButton;
|
||||
public static string SocialMessageFormat;
|
||||
|
@ -1025,6 +1029,14 @@ namespace HISP.Game
|
|||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
public static string FormatTagTotalBuddies(int count)
|
||||
{
|
||||
return TagOtherBuddiesOnlineFormat.Replace("%TOTALBUDDIESON%", count.ToString("N0", CultureInfo.InvariantCulture));
|
||||
}
|
||||
public static string FormatTagYourIt(string taggedPlayer, string tagger)
|
||||
{
|
||||
return TagYourItFormat.Replace("%PLAYERNAME%", taggedPlayer).Replace("%USERNAME%", tagger);
|
||||
}
|
||||
public static string FormatAddBuddyConfirmed(string playername)
|
||||
{
|
||||
return AddBuddyYourNowBuddiesFormat.Replace("%PLAYERNAME%", playername);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue