Interface GameStore<E extends org.screamingsandals.lib.utils.Wrapper,T extends org.screamingsandals.lib.utils.Wrapper,L extends org.screamingsandals.lib.utils.Wrapper>


@NonExtendable public interface GameStore<E extends org.screamingsandals.lib.utils.Wrapper,T extends org.screamingsandals.lib.utils.Wrapper,L extends org.screamingsandals.lib.utils.Wrapper>
  • Method Details

    • getEntity

      E getEntity()
      Returns:
      shop entity
    • getEntityType

      T getEntityType()
      Returns:
      entity type used for the shop
    • getStoreLocation

      L getStoreLocation()
      Returns:
      location of this store
    • getShopFile

      String getShopFile()
      Returns:
      shop file
    • getShopCustomName

      String getShopCustomName()
      Returns:
      shopkeeper's name
    • isUseParent

      boolean isUseParent()
      Returns:
      true if shop file should be merged with custom shop file
    • isEnabledCustomName

      boolean isEnabledCustomName()
      Returns:
      true if shopkeeper has name
    • isBaby

      boolean isBaby()
      Returns:
      true if shopkeeper is baby
    • getSkinName

      String getSkinName()
      Returns:
      if type is PLAYER, than returns skin, otherwise null