C# Class Aura.Mabi.Const.PocketExtensions

Extensions for Pocket enum.
Exibir arquivo Open project: aura-project/aura

Public Methods

Method 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 method

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

IsEquip() public static method

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

IsMainArmor() public static method

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

IsMainEquip() public static method

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
return bool