add ui for dead player handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
63
PlayerTags/Resources/Strings.Designer.cs
generated
63
PlayerTags/Resources/Strings.Designer.cs
generated
@@ -204,6 +204,69 @@ namespace PlayerTags.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Handling for dead players ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Gray out ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_GrayOut {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_GrayOut", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Gray out the nameplate of dead players and don't apply any tag for. ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_GrayOut_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_GrayOut_Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Ignore ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_Ignore {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_Ignore", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Don't process dead players and don't apply any tag for. ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_Ignore_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_Ignore_Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Include ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_Include {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_Include", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Handle dead players as they are alive. No difference between dead and alive players. ähnelt.
|
||||
/// </summary>
|
||||
public static string Loc_DeadPlayerHandling_Include_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Loc_DeadPlayerHandling_Include_Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Template ähnelt.
|
||||
/// </summary>
|
||||
|
||||
@@ -792,4 +792,25 @@ Use this if you want to to have every option under your control or just want to
|
||||
<data name="Loc_DefaultPluginDataTemplate_Simple_Description" xml:space="preserve">
|
||||
<value>Shows the job tag with color and the role icon by replacing the title.</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_GrayOut" xml:space="preserve">
|
||||
<value>Gray out</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_Ignore" xml:space="preserve">
|
||||
<value>Ignore</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_Include" xml:space="preserve">
|
||||
<value>Include</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling" xml:space="preserve">
|
||||
<value>Handling for dead players</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_GrayOut_Description" xml:space="preserve">
|
||||
<value>Gray out the nameplate of dead players and don't apply any tag for.</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_Ignore_Description" xml:space="preserve">
|
||||
<value>Don't process dead players and don't apply any tag for.</value>
|
||||
</data>
|
||||
<data name="Loc_DeadPlayerHandling_Include_Description" xml:space="preserve">
|
||||
<value>Handle dead players as they are alive. No difference between dead and alive players.</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user