-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin cmd fix, new mail types, const cleanup
- Loading branch information
Showing
8 changed files
with
92 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
namespace Content.Server.Mail | ||
{ | ||
/// <summary> | ||
/// A set of localized strings related to mail entities | ||
/// </summary> | ||
public struct MailEntityStrings | ||
{ | ||
public string NameAddressed; | ||
public string DescClose; | ||
public string DescFar; | ||
} | ||
|
||
/// <summary> | ||
/// Constants related to mail. | ||
/// </summary> | ||
public sealed class MailConstants : EntitySystem | ||
{ | ||
/// <summary> | ||
/// Locale strings related to small parcels. | ||
/// <summary> | ||
public static readonly MailEntityStrings Mail = new() | ||
{ | ||
NameAddressed = "mail-item-name-addressed", | ||
DescClose = "mail-desc-close", | ||
DescFar = "mail-desc-far" | ||
}; | ||
|
||
/// <summary> | ||
/// Locale strings related to large packages. | ||
/// <summary> | ||
public static readonly MailEntityStrings MailLarge = new() | ||
{ | ||
NameAddressed = "mail-large-item-name-addressed", | ||
DescClose = "mail-large-desc-close", | ||
DescFar = "mail-large-desc-far" | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters