From 4158990bee18ff1855054814d9496aa18906d003 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sat, 23 Dec 2017 09:38:19 -0700 Subject: [PATCH] Turn off XML comment warnings for permissions --- TShockAPI/Permissions.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TShockAPI/Permissions.cs b/TShockAPI/Permissions.cs index 2ba96a32..418cfae5 100644 --- a/TShockAPI/Permissions.cs +++ b/TShockAPI/Permissions.cs @@ -23,8 +23,12 @@ using System.IO; using System.Linq; using System.Text; +// Since the permission nodes have annotations that say what they are, we don't need XML comments. +#pragma warning disable 1591 + namespace TShockAPI { + /// Contains the permission nodes used in TShock. public static class Permissions { // tshock.account nodes @@ -400,6 +404,7 @@ namespace TShockAPI [Description("Player can see advanced information about any user account.")] public static readonly string advaccountinfo = "tshock.accountinfo.details"; + /// /// Lists all commands associated with a given permission ///