示例#1
0
        protected void MessageNeedPerms(Player p, string action, int num = 1)
        {
            int perm = CommandOtherPerms.GetPerm(this, num);

            MessageNeedMinPerm(p, action, perm);
        }
示例#2
0
 protected bool CheckAdditionalPerm(Player p, int num = 1)
 {
     return(p == null || (int)p.group.Permission >= CommandOtherPerms.GetPerm(this, num));
 }