forked from PGR/ascnet
1
0
Fork 0

remove dump invoker & add warn disable in generated

This commit is contained in:
rfi 2023-10-18 21:55:15 +07:00
parent dfaca9d238
commit e3789bd59a
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,8 @@ namespace AscNet.Table
string file = $@"// <auto-generated/>
namespace AscNet.Table{ns}
{{
#nullable enable
#nullable enable
#pragma warning disable CS8618, CS8602 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public class {Path.GetFileName(table.Path).Split('.').First()}Table
{{
{string.Join("\r\n\t\t", properties.Values)}

View File

@ -18,7 +18,6 @@ namespace AscNet
PacketFactory.LoadPacketHandlers();
Task.Run(Server.Instance.Start);
SDKServer.SDKServer.Main(args);
Common.Common.DumpTables();
}
}
}