remove dump invoker & add warn disable in generated
This commit is contained in:
parent
dfaca9d238
commit
e3789bd59a
|
@ -79,7 +79,8 @@ namespace AscNet.Table
|
||||||
string file = $@"// <auto-generated/>
|
string file = $@"// <auto-generated/>
|
||||||
namespace AscNet.Table{ns}
|
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
|
public class {Path.GetFileName(table.Path).Split('.').First()}Table
|
||||||
{{
|
{{
|
||||||
{string.Join("\r\n\t\t", properties.Values)}
|
{string.Join("\r\n\t\t", properties.Values)}
|
||||||
|
|
|
@ -18,7 +18,6 @@ namespace AscNet
|
||||||
PacketFactory.LoadPacketHandlers();
|
PacketFactory.LoadPacketHandlers();
|
||||||
Task.Run(Server.Instance.Start);
|
Task.Run(Server.Instance.Start);
|
||||||
SDKServer.SDKServer.Main(args);
|
SDKServer.SDKServer.Main(args);
|
||||||
Common.Common.DumpTables();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue