code formatting
This commit is contained in:
@@ -52,16 +52,13 @@ namespace PlayerTags.Features
|
||||
{
|
||||
if (m_Nameplate == null)
|
||||
{
|
||||
m_Nameplate = new Nameplate();
|
||||
m_Nameplate = new();
|
||||
|
||||
if (!m_Nameplate.IsValid)
|
||||
{
|
||||
m_Nameplate = null;
|
||||
}
|
||||
|
||||
if (m_Nameplate != null)
|
||||
{
|
||||
m_Nameplate.PlayerNameplateUpdated += Nameplate_PlayerNameplateUpdated;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,20 +85,14 @@ namespace PlayerTags.Features
|
||||
protected override bool IsIconVisible(Tag tag)
|
||||
{
|
||||
if (tag.IsRoleIconVisibleInNameplates.InheritedValue != null)
|
||||
{
|
||||
return tag.IsRoleIconVisibleInNameplates.InheritedValue.Value;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
protected override bool IsTextVisible(Tag tag)
|
||||
{
|
||||
if (tag.IsTextVisibleInNameplates.InheritedValue != null)
|
||||
{
|
||||
return tag.IsTextVisibleInNameplates.InheritedValue.Value;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,13 +23,13 @@ namespace PlayerTags
|
||||
private const string c_CommandArg_Off = "off";
|
||||
private const string c_CommandArg_toggle = "toggle";
|
||||
|
||||
private PluginConfiguration pluginConfiguration = null;
|
||||
private PluginData pluginData = null;
|
||||
private PluginConfigurationUI pluginConfigurationUI = null;
|
||||
private readonly PluginConfiguration pluginConfiguration = null;
|
||||
private readonly PluginData pluginData = null;
|
||||
private readonly PluginConfigurationUI pluginConfigurationUI = null;
|
||||
|
||||
private CustomTagsContextMenuFeature customTagsContextMenuFeature;
|
||||
private NameplateTagTargetFeature nameplatesTagTargetFeature;
|
||||
private ChatTagTargetFeature chatTagTargetFeature;
|
||||
private readonly CustomTagsContextMenuFeature customTagsContextMenuFeature;
|
||||
private readonly NameplateTagTargetFeature nameplatesTagTargetFeature;
|
||||
private readonly ChatTagTargetFeature chatTagTargetFeature;
|
||||
|
||||
public Plugin(DalamudPluginInterface pluginInterface)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user