Пример #1
0
        public static ForegroundType GetForegroundType(Foreground.Id id)
        {
            var package = ItemServices.GetPackageInternal((int)id);

            return(package?.ForegroundType ?? ForegroundType.Normal);
        }
Пример #2
0
 public bool HasBlock(int id)
 {
     return(this.HasPack(ItemServices.GetPackageInternal(id)));
 }