refactor: seal ContextMenu, DTR

This commit is contained in:
goaaats 2022-01-29 17:21:44 +01:00
parent 440ec7433c
commit 30d4c8a93d
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
10 changed files with 11 additions and 11 deletions

View file

@ -17,7 +17,7 @@ namespace Dalamud.Game.Gui.Dtr
/// </summary>
[PluginInterface]
[InterfaceVersion("1.0")]
public unsafe class DtrBar : IDisposable
public sealed unsafe class DtrBar : IDisposable
{
/// <summary>
/// The amount of padding between Server Info UI elements.
@ -30,7 +30,7 @@ namespace Dalamud.Game.Gui.Dtr
/// <summary>
/// Initializes a new instance of the <see cref="DtrBar"/> class.
/// </summary>
public DtrBar()
internal DtrBar()
{
Service<Framework>.Get().Update += this.Update;
var configuration = Service<DalamudConfiguration>.Get();

View file

@ -8,7 +8,7 @@ namespace Dalamud.Game.Gui.Dtr
/// <summary>
/// Class representing an entry in the server info bar.
/// </summary>
public unsafe class DtrBarEntry : IDisposable
public sealed unsafe class DtrBarEntry : IDisposable
{
private bool shownBacking = true;
private SeString? textBacking = null;