Interface PersonAPI

All Superinterfaces:
HasMemory

public interface PersonAPI extends HasMemory
Author:
Alex Mosolov Copyright 2012 Fractal Softworks, LLC
  • Method Details

    • setPersonality

      void setPersonality(String personality)
    • getStats

    • getRank

      String getRank()
    • getRankArticle

      String getRankArticle()
    • getRankId

      String getRankId()
    • setRankId

      void setRankId(String rank)
    • getPost

      String getPost()
    • getPostArticle

      String getPostArticle()
    • setPostId

      void setPostId(String postId)
    • getPostId

      String getPostId()
    • getName

      FullName getName()
    • setName

      void setName(FullName name)
    • getPortraitSprite

      String getPortraitSprite()
    • setPortraitSprite

      void setPortraitSprite(String portraitSprite)
    • getGender

      FullName.Gender getGender()
    • isMale

      boolean isMale()
    • isFemale

      boolean isFemale()
    • getMemory

      MemoryAPI getMemory()
      Specified by:
      getMemory in interface HasMemory
    • getMemoryWithoutUpdate

      MemoryAPI getMemoryWithoutUpdate()
      Specified by:
      getMemoryWithoutUpdate in interface HasMemory
    • wantsToContactPlayer

      boolean wantsToContactPlayer()
    • incrWantsToContactReasons

      void incrWantsToContactReasons()
    • decrWantsToContactReasons

      void decrWantsToContactReasons()
    • getContactWeight

      float getContactWeight()
    • setContactWeight

      void setContactWeight(float contactWeight)
    • getFaction

      FactionAPI getFaction()
    • setFaction

      void setFaction(String factionId)
    • getRelToPlayer

      RelationshipAPI getRelToPlayer()
    • getId

      String getId()
    • hasTag

      boolean hasTag(String tag)
    • addTag

      void addTag(String tag)
    • removeTag

      void removeTag(String tag)
    • getTags

      Set<String> getTags()
    • clearTags

      void clearTags()
    • isPlayer

      boolean isPlayer()
    • isDefault

      boolean isDefault()
    • getPersonalityAPI

      PersonalityAPI getPersonalityAPI()
    • getAICoreId

      String getAICoreId()
    • setAICoreId

      void setAICoreId(String aiCoreId)
    • isAICore

      boolean isAICore()
    • getNameString

      String getNameString()
    • setGender

      void setGender(FullName.Gender gender)
    • getFleet

      CampaignFleetAPI getFleet()
      For officers, the fleet they're in.
      Returns:
    • setFleet

      void setFleet(CampaignFleetAPI fleet)
      For officers, the fleet they're in.
    • getFleetCommanderStats

      MutableCharacterStatsAPI getFleetCommanderStats()
    • setId

      void setId(String id)
    • getMarket

      MarketAPI getMarket()
    • setMarket

      void setMarket(MarketAPI market)
    • getImportance

      PersonImportance getImportance()
    • setImportance

      void setImportance(PersonImportance importance)
    • setImportanceAndVoice

      void setImportanceAndVoice(PersonImportance importance, Random random)
      The passed in random is used to set the "voice". These are paired since voice is based on importance.
      Parameters:
      importance -
      random -
    • getHisOrHer

      String getHisOrHer()
    • getHeOrShe

      String getHeOrShe()
    • getSortedContactTags

      List<ContactTagSpec> getSortedContactTags()
    • getSortedContactTagStrings

      List<String> getSortedContactTagStrings()
    • getHimOrHer

      String getHimOrHer()
    • getManOrWoman

      String getManOrWoman()
    • getVoice

      String getVoice()
    • setVoice

      void setVoice(String voice)
    • setStats

      void setStats(MutableCharacterStatsAPI stats)