Use nav beacon locations for announcements (#26437)

* use nav beacon locations for announcements

* :thumbs_up:
This commit is contained in:
Nemanja
2024-03-28 01:53:18 -04:00
committed by GitHub
parent b064985f24
commit 766192f4b5
15 changed files with 231 additions and 98 deletions

View File

@@ -119,6 +119,14 @@ namespace Content.Shared.Localizations
};
}
/// <summary>
/// Formats a direction struct as a human-readable string.
/// </summary>
public static string FormatDirection(Direction dir)
{
return Loc.GetString($"zzzz-fmt-direction-{dir.ToString()}");
}
private static ILocValue FormatLoc(LocArgs args)
{
var id = ((LocValueString) args.Args[0]).Value;