mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
make more efficent location (and more accurate to pinto) update packets
This commit is contained in:
parent
831523da45
commit
e8e445a751
4 changed files with 192 additions and 27 deletions
|
@ -1519,7 +1519,10 @@ namespace HISP.Game
|
|||
}
|
||||
public static string FormatPlayerHereMenu(int playerIcon, string playerName, string button)
|
||||
{
|
||||
return PlayerHereMenuFormat.Replace("%PLAYERICON%", playerIcon.ToString()).Replace("%PLAYERNAME%", playerName).Replace("%BUTTONS%", button);
|
||||
string vstr = "^I" + playerIcon.ToString();
|
||||
if (playerIcon == -1)
|
||||
vstr = "";
|
||||
return PlayerHereMenuFormat.Replace("%PLAYERICON%", vstr).Replace("%PLAYERNAME%", playerName).Replace("%BUTTONS%", button);
|
||||
}
|
||||
|
||||
// Auctions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue