예제 #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)));
 }