mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Implement Auto Sell
This commit is contained in:
parent
770f078992
commit
61383e8b9f
5 changed files with 118 additions and 4 deletions
|
@ -22,6 +22,14 @@ namespace HISP.Game
|
|||
public static string AddBuddyYourNowBuddiesFormat;
|
||||
public static string AddBuddyDeleteBuddyFormat;
|
||||
|
||||
// Auto Sell
|
||||
public static string AutoSellNotStandingInSamePlace;
|
||||
public static string AutoSellSuccessFormat;
|
||||
public static string AutoSellInsufficentFunds;
|
||||
public static string AutoSellTooManyHorses;
|
||||
public static string AutoSellYouSoldHorseFormat;
|
||||
public static string AutoSellYouSoldHorseOfflineFormat;
|
||||
|
||||
// Tag
|
||||
public static string TagYourItFormat;
|
||||
public static string TagOtherBuddiesOnlineFormat;
|
||||
|
@ -1069,6 +1077,23 @@ namespace HISP.Game
|
|||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
// AUTO SELL
|
||||
|
||||
public static string FormatAutoSellSoldOffline(string horseName, int price, string toUsername)
|
||||
{
|
||||
return AutoSellYouSoldHorseOfflineFormat.Replace("%HORSE%", horseName).Replace("%PRICE%", price.ToString("N0", CultureInfo.InvariantCulture)).Replace("%USERNAME%", toUsername);
|
||||
}
|
||||
|
||||
public static string FormatAutoSellSold(string horseName, int price, string toUsername)
|
||||
{
|
||||
return AutoSellYouSoldHorseFormat.Replace("%HORSE%", horseName).Replace("%PRICE%", price.ToString("N0", CultureInfo.InvariantCulture)).Replace("%USERNAME%", toUsername);
|
||||
}
|
||||
|
||||
public static string FormatAutoSellSuccess(string horseName)
|
||||
{
|
||||
return AutoSellSuccessFormat.Replace("%HORSENAME%", horseName);
|
||||
}
|
||||
|
||||
// MULTIHORSES
|
||||
public static string FormatMultiHorses(int placing, string horseName, string horseBreed, string swf)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue