mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 15:04:37 +01:00
remove dump invoker & add warn disable in generated
This commit is contained in:
@@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user