Enable net analyzers and add stylecop

This commit is contained in:
js6pak committed 2022-10-09 16:09:02 +02:00
1 parent 81eea3eee2
commit ed05e563f0
27 files changed
+298 -48

No files matched your search

+1 -9
View File
@@ -11,15 +11,7 @@ public class ExampleRpc : PlayerCustomRpc<ExamplePlugin, ExampleRpc.Data>
{
}
public readonly struct Data
{
public readonly string Message;
public Data(string message)
{
Message = message;
}
}
public readonly record struct Data(string Message);
public override RpcLocalHandling LocalHandling => RpcLocalHandling.None;