fix: Fixes compiling with .NET 7 SDK (#1176)
This commit is contained in:
parent
060edaa76a
commit
cd5541ec74
27 changed files with 106 additions and 1 deletions
|
|
@ -39,7 +39,11 @@ public class GumpImageTiled : GumpEntry
|
|||
|
||||
public int GumpID { get; set; }
|
||||
|
||||
#if NET7_SDK
|
||||
public override void AppendTo(ref SpanWriter writer, OrderedHashSet<string> strings, scoped ref int entries, scoped ref int switches)
|
||||
#else
|
||||
public override void AppendTo(ref SpanWriter writer, OrderedHashSet<string> strings, ref int entries, ref int switches)
|
||||
#endif
|
||||
{
|
||||
writer.WriteAscii($"{{ gumppictiled {X} {Y} {Width} {Height} {GumpID} }}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue