diff --git a/PlayerTags/Configuration/PluginConfigurationUI.cs b/PlayerTags/Configuration/PluginConfigurationUI.cs index 7dfa20a..a0577e6 100644 --- a/PlayerTags/Configuration/PluginConfigurationUI.cs +++ b/PlayerTags/Configuration/PluginConfigurationUI.cs @@ -87,6 +87,7 @@ namespace PlayerTags.Configuration DrawComboBox(true, true, false, ref propertyProxy.NameplateFreeCompanyVisibility, () => SaveSettings(true)); DrawComboBox(true, true, false, ref propertyProxy.NameplateTitleVisibility, () => SaveSettings(true)); DrawComboBox(true, true, false, ref propertyProxy.NameplateTitlePosition, () => SaveSettings(true)); + DrawComboBox(true, true, false, ref propertyProxy.NameplateDeadPlayerHandling, () => SaveSettings(true)); ImGui.Spacing(); ImGui.Spacing(); @@ -1367,6 +1368,7 @@ namespace PlayerTags.Configuration public NameplateFreeCompanyVisibility NameplateFreeCompanyVisibility; public NameplateTitleVisibility NameplateTitleVisibility; public NameplateTitlePosition NameplateTitlePosition; + public DeadPlayerHandling NameplateDeadPlayerHandling; public bool IsApplyTagsToAllChatMessagesEnabled; public PropertyProxy(PluginConfiguration config) @@ -1381,6 +1383,7 @@ namespace PlayerTags.Configuration NameplateFreeCompanyVisibility = pluginConfig.GeneralOptions[currentActivityContext].NameplateFreeCompanyVisibility; NameplateTitleVisibility = pluginConfig.GeneralOptions[currentActivityContext].NameplateTitleVisibility; NameplateTitlePosition = pluginConfig.GeneralOptions[currentActivityContext].NameplateTitlePosition; + NameplateDeadPlayerHandling = pluginConfig.GeneralOptions[currentActivityContext].NameplateDeadPlayerHandling; IsApplyTagsToAllChatMessagesEnabled = pluginConfig.GeneralOptions[currentActivityContext].IsApplyTagsToAllChatMessagesEnabled; } @@ -1403,6 +1406,7 @@ namespace PlayerTags.Configuration pluginConfig.GeneralOptions[key].NameplateFreeCompanyVisibility = NameplateFreeCompanyVisibility; pluginConfig.GeneralOptions[key].NameplateTitleVisibility = NameplateTitleVisibility; pluginConfig.GeneralOptions[key].NameplateTitlePosition = NameplateTitlePosition; + pluginConfig.GeneralOptions[key].NameplateDeadPlayerHandling = NameplateDeadPlayerHandling; pluginConfig.GeneralOptions[key].IsApplyTagsToAllChatMessagesEnabled = IsApplyTagsToAllChatMessagesEnabled; } } diff --git a/PlayerTags/Resources/Strings.Designer.cs b/PlayerTags/Resources/Strings.Designer.cs index b2f08bf..9d24be5 100644 --- a/PlayerTags/Resources/Strings.Designer.cs +++ b/PlayerTags/Resources/Strings.Designer.cs @@ -204,6 +204,69 @@ namespace PlayerTags.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die Handling for dead players ähnelt. + /// + public static string Loc_DeadPlayerHandling { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Gray out ähnelt. + /// + public static string Loc_DeadPlayerHandling_GrayOut { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_GrayOut", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Gray out the nameplate of dead players and don't apply any tag for. ähnelt. + /// + public static string Loc_DeadPlayerHandling_GrayOut_Description { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_GrayOut_Description", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Ignore ähnelt. + /// + public static string Loc_DeadPlayerHandling_Ignore { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_Ignore", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Don't process dead players and don't apply any tag for. ähnelt. + /// + public static string Loc_DeadPlayerHandling_Ignore_Description { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_Ignore_Description", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Include ähnelt. + /// + public static string Loc_DeadPlayerHandling_Include { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_Include", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Handle dead players as they are alive. No difference between dead and alive players. ähnelt. + /// + public static string Loc_DeadPlayerHandling_Include_Description { + get { + return ResourceManager.GetString("Loc_DeadPlayerHandling_Include_Description", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Template ähnelt. /// diff --git a/PlayerTags/Resources/Strings.resx b/PlayerTags/Resources/Strings.resx index 6629cd8..5763f92 100644 --- a/PlayerTags/Resources/Strings.resx +++ b/PlayerTags/Resources/Strings.resx @@ -792,4 +792,25 @@ Use this if you want to to have every option under your control or just want to Shows the job tag with color and the role icon by replacing the title. + + Gray out + + + Ignore + + + Include + + + Handling for dead players + + + Gray out the nameplate of dead players and don't apply any tag for. + + + Don't process dead players and don't apply any tag for. + + + Handle dead players as they are alive. No difference between dead and alive players. + \ No newline at end of file