コード例 #1
0
ファイル: WorldUtils.cs プロジェクト: notcarksss/BotBits
        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)));
 }
コード例 #3
0
 public bool HasAuraShape(AuraShape auraShape)
 {
     return(this.HasPack(ItemServices.GetPackage(auraShape)));
 }
コード例 #4
0
 public bool HasAuraColor(AuraColor auraColor)
 {
     return(this.HasPack(ItemServices.GetPackage(auraColor)));
 }
コード例 #5
0
 public bool HasSmiley(Smiley smiley)
 {
     return(this.HasPack(ItemServices.GetPackage(smiley)));
 }
コード例 #6
0
ファイル: PlayerData.cs プロジェクト: jkloop45/BotBits
 internal bool HasBlockInternal(Background.Id id)
 {
     return(this.HasPack(ItemServices.GetPackage(id)));
 }