MCPcopy Create free account
hub / github.com/PCGen/pcgen / hasConsolidatedProfName

Method hasConsolidatedProfName

code/src/java/pcgen/core/Equipment.java:3711–3726  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3709 }
3710
3711 private boolean hasConsolidatedProfName()
3712 {
3713 if (isWeapon())
3714 {
3715 return get(ObjectKey.WEAPON_PROF) != null;
3716 }
3717 else if (isArmor())
3718 {
3719 return get(ObjectKey.ARMOR_PROF) != null;
3720 }
3721 else if (isShield())
3722 {
3723 return get(ObjectKey.SHIELD_PROF) != null;
3724 }
3725 return false;
3726 }
3727
3728 /**
3729 * Gets the acceptsTypes attribute of the Equipment object

Callers 1

setBaseMethod · 0.95

Calls 4

isWeaponMethod · 0.95
isArmorMethod · 0.95
isShieldMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected