C# Class Aura.Mabi.Const.PocketExtensions

Extensions for Pocket enum.
Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode Description
IsBag ( this pocket ) : bool

Returns true if pocket is between min and max bag.

IsEquip ( this pocket ) : bool

Returns true if pocket is an equipment pocket (incl Face and Hair).

IsMainArmor ( this pocket ) : bool

Returns true if pocket is a main armor pocket (no style, hair, face, or weapons).

IsMainEquip ( this pocket, WeaponSet set ) : bool

Returns true if pocket is a main equipment pocket (no style, hair, face, or second weapon set).

Method Details

IsBag() public static méthode

Returns true if pocket is between min and max bag.
public static IsBag ( this pocket ) : bool
pocket this
Résultat bool

IsEquip() public static méthode

Returns true if pocket is an equipment pocket (incl Face and Hair).
public static IsEquip ( this pocket ) : bool
pocket this
Résultat bool

IsMainArmor() public static méthode

Returns true if pocket is a main armor pocket (no style, hair, face, or weapons).
public static IsMainArmor ( this pocket ) : bool
pocket this
Résultat bool

IsMainEquip() public static méthode

Returns true if pocket is a main equipment pocket (no style, hair, face, or second weapon set).
public static IsMainEquip ( this pocket, WeaponSet set ) : bool
pocket this
set WeaponSet
Résultat bool