add new options, but not use them yet

This commit is contained in:
2022-09-16 17:14:54 +02:00
parent 4eee0df1ff
commit a6c88be9dd
6 changed files with 133 additions and 17 deletions

View File

@@ -679,6 +679,18 @@ namespace PlayerTags.Configuration
{
DrawInheritable(selectedInheritable.Inheritable.Key, true, false, inheritableNameplateElement);
}
else if (selectedInheritable.Inheritable.Value is InheritableValue<NameplateFreeCompanyVisibility> inheritableFreeCompanyVisibility)
{
DrawInheritable(selectedInheritable.Inheritable.Key, true, false, inheritableFreeCompanyVisibility);
}
else if (selectedInheritable.Inheritable.Value is InheritableValue<NameplateTitleVisibility> inheritableNameplateTitleVisibility)
{
DrawInheritable(selectedInheritable.Inheritable.Key, true, false, inheritableNameplateTitleVisibility);
}
else if (selectedInheritable.Inheritable.Value is InheritableValue<NameplateTitlePosition> inheritableNameplateTitlePosition)
{
DrawInheritable(selectedInheritable.Inheritable.Key, true, false, inheritableNameplateTitlePosition);
}
else if (selectedInheritable.Inheritable.Value is InheritableReference<string> inheritableString)
{
DrawInheritable(selectedInheritable.Inheritable.Key, inheritableString);

View File

@@ -25,6 +25,7 @@ namespace PlayerTags.Data
IsSelected = true,
IsExpanded = true,
TagPositionInChat = TagPosition.Before,
InsertBehindNumberPrefixInChat = true,
TagPositionInNameplates = TagPosition.Replace,
TagTargetInNameplates = NameplateElement.Title,
IsTextItalic = true,
@@ -33,6 +34,10 @@ namespace PlayerTags.Data
IsVisibleInPveDuties = true,
IsVisibleInPvpDuties = true,
NameplateFreeCompanyVisibility = NameplateFreeCompanyVisibility.Never,
NameplateTitleVisibility = NameplateTitleVisibility.Always,
NameplateTitlePosition = NameplateTitlePosition.AlwaysAboveName,
IsVisibleForSelf = true,
IsVisibleForFriendPlayers = true,
IsVisibleForPartyPlayers = true,

View File

@@ -124,9 +124,18 @@ namespace PlayerTags.Data
[InheritableCategory("TextCategory")]
public InheritableValue<bool> IsTextColorAppliedToNameplateFreeCompany = new InheritableValue<bool>(false);
[InheritableCategory("NameplateCategory")]
public InheritableValue<NameplateFreeCompanyVisibility> NameplateFreeCompanyVisibility = new InheritableValue<NameplateFreeCompanyVisibility>(Data.NameplateFreeCompanyVisibility.Default);
[InheritableCategory("NameplateCategory")]
public InheritableValue<NameplateTitleVisibility> NameplateTitleVisibility = new InheritableValue<NameplateTitleVisibility>(Data.NameplateTitleVisibility.Default);
[InheritableCategory("NameplateCategory")]
public InheritableValue<NameplateTitlePosition> NameplateTitlePosition = new InheritableValue<NameplateTitlePosition>(Data.NameplateTitlePosition.Default);
[InheritableCategory("PositionCategory")]
public InheritableValue<TagPosition> TagPositionInChat = new InheritableValue<TagPosition>(TagPosition.Before);
[InheritableCategory("PositionCategory")]
public InheritableValue<bool> InsertBehindNumberPrefixInChat = new InheritableValue<bool>(true);
[InheritableCategory("PositionCategory")]
public InheritableValue<TagPosition> TagPositionInNameplates = new InheritableValue<TagPosition>(TagPosition.Before);
[InheritableCategory("PositionCategory")]
public InheritableValue<NameplateElement> TagTargetInNameplates = new InheritableValue<NameplateElement>(NameplateElement.Name);

View File

@@ -267,6 +267,24 @@ namespace PlayerTags.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Insert behind group number prefix in chat ähnelt.
/// </summary>
public static string Loc_InsertBehindNumberPrefixInChat {
get {
return ResourceManager.GetString("Loc_InsertBehindNumberPrefixInChat", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die If enabled, the Tag and Icon will get insert behind the Group/Alliance number prefix in Chat instead of before. ähnelt.
/// </summary>
public static string Loc_InsertBehindNumberPrefixInChat_Description {
get {
return ResourceManager.GetString("Loc_InsertBehindNumberPrefixInChat_Description", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Apply tags to all chat messages ähnelt.
/// </summary>
@@ -861,6 +879,15 @@ namespace PlayerTags.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Nameplate properties ähnelt.
/// </summary>
public static string Loc_NameplateCategory {
get {
return ResourceManager.GetString("Loc_NameplateCategory", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Free company ähnelt.
/// </summary>
@@ -942,6 +969,15 @@ namespace PlayerTags.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Defines whenever the free company element of the nameplate should be visible or not. ähnelt.
/// </summary>
public static string Loc_NameplateFreeCompanyVisibility_Description {
get {
return ResourceManager.GetString("Loc_NameplateFreeCompanyVisibility_Description", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Never visible ähnelt.
/// </summary>
@@ -1023,6 +1059,15 @@ namespace PlayerTags.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Defines the position for the title element of the nameplate. Should it be above or below the name? You can decide! ähnelt.
/// </summary>
public static string Loc_NameplateTitlePosition_Description {
get {
return ResourceManager.GetString("Loc_NameplateTitlePosition_Description", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Title visibility ähnelt.
/// </summary>
@@ -1068,6 +1113,15 @@ namespace PlayerTags.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Defines whenever the title element of the nameplate should be visible or not. ähnelt.
/// </summary>
public static string Loc_NameplateTitleVisibility_Description {
get {
return ResourceManager.GetString("Loc_NameplateTitleVisibility_Description", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Never visible ähnelt.
/// </summary>

View File

@@ -59,46 +59,46 @@
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
@@ -621,4 +621,22 @@
<data name="Loc_Static_OtherExperimental" xml:space="preserve">
<value>Andere (Experimentell)</value>
</data>
<data name="Loc_InsertBehindNumberPrefixInChat" xml:space="preserve">
<value>Nach der Gruppennummer im Chat hinzufügen</value>
</data>
<data name="Loc_InsertBehindNumberPrefixInChat_Description" xml:space="preserve">
<value>Wenn akiviert, dann wird der Tag und das Symbol hinter der Gruppen-/Allianznummer im Chat hinzugefügt, nicht davor.</value>
</data>
<data name="Loc_NameplateCategory" xml:space="preserve">
<value>Namensanzeige-Eigenschaften</value>
</data>
<data name="Loc_NameplateFreeCompanyVisibility_Description" xml:space="preserve">
<value>Definiert, wann auch immer das Element zum Anzeigen der Freien Gesellschaft in der Namensanzeige sicht ist oder nicht.</value>
</data>
<data name="Loc_NameplateTitlePosition_Description" xml:space="preserve">
<value>Definiert, wo das Element zum Anzeigen der Titels in der Namensanzeige angezeigt werden soll.</value>
</data>
<data name="Loc_NameplateTitleVisibility_Description" xml:space="preserve">
<value>Definiert, wann auch immer das Element zum Anzeigen der Titels in der Namensanzeige sicht ist oder nicht.</value>
</data>
</root>

View File

@@ -621,4 +621,22 @@
<data name="Loc_Static_OtherExperimental" xml:space="preserve">
<value>Other (Experimental)</value>
</data>
<data name="Loc_InsertBehindNumberPrefixInChat" xml:space="preserve">
<value>Insert behind group number prefix in chat</value>
</data>
<data name="Loc_InsertBehindNumberPrefixInChat_Description" xml:space="preserve">
<value>If enabled, the Tag and Icon will get insert behind the Group/Alliance number prefix in Chat instead of before. </value>
</data>
<data name="Loc_NameplateCategory" xml:space="preserve">
<value>Nameplate properties</value>
</data>
<data name="Loc_NameplateFreeCompanyVisibility_Description" xml:space="preserve">
<value>Defines whenever the free company element of the nameplate should be visible or not.</value>
</data>
<data name="Loc_NameplateTitlePosition_Description" xml:space="preserve">
<value>Defines the position for the title element of the nameplate. Should it be above or below the name? You can decide!</value>
</data>
<data name="Loc_NameplateTitleVisibility_Description" xml:space="preserve">
<value>Defines whenever the title element of the nameplate should be visible or not.</value>
</data>
</root>