Skip to content

Commit

Permalink
Resolve nullable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Luzifix committed Jul 9, 2024
1 parent e6b2c8b commit ff4d083
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Warcraft.NET/Files/BLP/BLP.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using System;
using System.Collections.Generic;
using System.IO;

using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System;
using System.Collections.Generic;
using System.IO;
using Warcraft.NET.Compression.Squish;
using Warcraft.NET.Extensions;

#nullable enable
namespace Warcraft.NET.Files.BLP
{
/// <summary>
Expand Down Expand Up @@ -1173,3 +1173,4 @@ public BLP Resize(int imageWidth, int imageHeight)
}
}
}
#nullable disable
2 changes: 2 additions & 0 deletions Warcraft.NET/Files/WDL/Legion/WorldDataLod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Warcraft.NET.Extensions;
using Warcraft.NET.Files.WDL.Chunks;

#nullable enable
namespace Warcraft.NET.Files.WDL.Legion
{
public class WorldDataLod : WorldDataLodBase
Expand Down Expand Up @@ -188,3 +189,4 @@ public static explicit operator WorldDataLod(Wotlk.WorldDataLod wdlWotlk)
}
}
}
#nullable disable
3 changes: 2 additions & 1 deletion Warcraft.NET/Files/WDL/WorldDataLodBase.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Warcraft.NET.Attribute;
using Warcraft.NET.Files.WDL.Chunks;
using Warcraft.NET.Types;

#nullable enable
namespace Warcraft.NET.Files.WDL
{
public abstract class WorldDataLodBase : ChunkedFile
Expand Down Expand Up @@ -92,3 +92,4 @@ public MARE GetEntry(int x, int y)
public abstract byte[] Serialize();
}
}
#nullable disable

0 comments on commit ff4d083

Please sign in to comment.