AutoBoss.CommandExtensions.AddCheck C# (CSharp) Метод

AddCheck() публичный статический Метод

public static AddCheck ( this list, int type ) : void
list this
type int
Результат void
        public static void AddCheck(this List<int> list, int type)
        {
            //Lowest npc id -> highest npc id
            if (type < -65 || type > Main.maxNPCTypes)
                return;

            list.Add(type);
        }
CommandExtensions