1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00
Files
IW4M-Admin/Plugins/Welcome/WelcomeConfiguration.cs
Ayymoss 7fc2a600c6 Refactor Welcome plugin and update project settings
The commit simplifies the WelcomeConfiguration class, removing unnecessary methods and interfaces. It also changes how the Welcome plugin registers dependencies and processes in-game announcements. Additionally, it enables nullable reference type checks in the project settings. These changes generally improve the code structure, readability, and maintainability, while preserving the overall functionality of the plugin.
2024-07-16 23:42:02 +01:00

17 lines
595 B
C#

using SharedLibraryCore;
namespace IW4MAdmin.Plugins.Welcome
{
public class WelcomeConfiguration
{
public string UserAnnouncementMessage { get; set; } =
Utilities.CurrentLocalization.LocalizationIndex["PLUGINS_WELCOME_USERANNOUNCE_V2"];
public string UserWelcomeMessage { get; set; } =
Utilities.CurrentLocalization.LocalizationIndex["PLUGINS_WELCOME_USERWELCOME_V2"];
public string PrivilegedAnnouncementMessage { get; set; } =
Utilities.CurrentLocalization.LocalizationIndex["PLUGINS_WELCOME_PRIVANNOUNCE_V2"];
}
}