Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.characters.PersonAPI Interface Reference
Inheritance diagram for com.fs.starfarer.api.characters.PersonAPI:
[legend]
Collaboration diagram for com.fs.starfarer.api.characters.PersonAPI:
[legend]

Public Member Functions

void setPersonality (String personality)
 
MutableCharacterStatsAPI getStats ()
 
String getRank ()
 
String getRankArticle ()
 
String getRankId ()
 
void setRankId (String rank)
 
String getPost ()
 
String getPostArticle ()
 
void setPostId (String postId)
 
String getPostId ()
 
FullName getName ()
 
void setName (FullName name)
 
String getPortraitSprite ()
 
void setPortraitSprite (String portraitSprite)
 
Gender getGender ()
 
boolean isMale ()
 
boolean isFemale ()
 
MemoryAPI getMemory ()
 
MemoryAPI getMemoryWithoutUpdate ()
 
boolean wantsToContactPlayer ()
 
void incrWantsToContactReasons ()
 
void decrWantsToContactReasons ()
 
float getContactWeight ()
 
void setContactWeight (float contactWeight)
 
FactionAPI getFaction ()
 
void setFaction (String factionId)
 
RelationshipAPI getRelToPlayer ()
 
String getId ()
 
boolean hasTag (String tag)
 
void addTag (String tag)
 
void removeTag (String tag)
 
Set< String > getTags ()
 
void clearTags ()
 
boolean isPlayer ()
 
boolean isDefault ()
 
PersonalityAPI getPersonalityAPI ()
 
String getAICoreId ()
 
void setAICoreId (String aiCoreId)
 
boolean isAICore ()
 
String getNameString ()
 
void setGender (Gender gender)
 
CampaignFleetAPI getFleet ()
 
void setFleet (CampaignFleetAPI fleet)
 
MutableCharacterStatsAPI getFleetCommanderStats ()
 
void setId (String id)
 
MarketAPI getMarket ()
 
void setMarket (MarketAPI market)
 
PersonImportance getImportance ()
 
void setImportance (PersonImportance importance)
 
void setImportanceAndVoice (PersonImportance importance, Random random)
 
String getHisOrHer ()
 
String getHeOrShe ()
 
List< ContactTagSpec > getSortedContactTags ()
 
List< String > getSortedContactTagStrings ()
 
String getHimOrHer ()
 
String getManOrWoman ()
 
String getVoice ()
 
void setVoice (String voice)
 
void setStats (MutableCharacterStatsAPI stats)
 

Detailed Description

Author
Alex Mosolov

Copyright 2012 Fractal Softworks, LLC

Definition at line 21 of file PersonAPI.java.

Member Function Documentation

◆ addTag()

void com.fs.starfarer.api.characters.PersonAPI.addTag ( String  tag)

◆ clearTags()

void com.fs.starfarer.api.characters.PersonAPI.clearTags ( )

◆ decrWantsToContactReasons()

void com.fs.starfarer.api.characters.PersonAPI.decrWantsToContactReasons ( )

◆ getAICoreId()

String com.fs.starfarer.api.characters.PersonAPI.getAICoreId ( )

◆ getContactWeight()

float com.fs.starfarer.api.characters.PersonAPI.getContactWeight ( )

◆ getFaction()

FactionAPI com.fs.starfarer.api.characters.PersonAPI.getFaction ( )

◆ getFleet()

CampaignFleetAPI com.fs.starfarer.api.characters.PersonAPI.getFleet ( )

For officers, the fleet they're in.

Returns

◆ getFleetCommanderStats()

MutableCharacterStatsAPI com.fs.starfarer.api.characters.PersonAPI.getFleetCommanderStats ( )

◆ getGender()

Gender com.fs.starfarer.api.characters.PersonAPI.getGender ( )

◆ getHeOrShe()

String com.fs.starfarer.api.characters.PersonAPI.getHeOrShe ( )

◆ getHimOrHer()

String com.fs.starfarer.api.characters.PersonAPI.getHimOrHer ( )

◆ getHisOrHer()

String com.fs.starfarer.api.characters.PersonAPI.getHisOrHer ( )

◆ getId()

String com.fs.starfarer.api.characters.PersonAPI.getId ( )

◆ getImportance()

PersonImportance com.fs.starfarer.api.characters.PersonAPI.getImportance ( )

◆ getManOrWoman()

String com.fs.starfarer.api.characters.PersonAPI.getManOrWoman ( )

◆ getMarket()

MarketAPI com.fs.starfarer.api.characters.PersonAPI.getMarket ( )

◆ getMemory()

MemoryAPI com.fs.starfarer.api.characters.PersonAPI.getMemory ( )

◆ getMemoryWithoutUpdate()

MemoryAPI com.fs.starfarer.api.characters.PersonAPI.getMemoryWithoutUpdate ( )

◆ getName()

FullName com.fs.starfarer.api.characters.PersonAPI.getName ( )

◆ getNameString()

String com.fs.starfarer.api.characters.PersonAPI.getNameString ( )

◆ getPersonalityAPI()

PersonalityAPI com.fs.starfarer.api.characters.PersonAPI.getPersonalityAPI ( )

◆ getPortraitSprite()

String com.fs.starfarer.api.characters.PersonAPI.getPortraitSprite ( )

◆ getPost()

String com.fs.starfarer.api.characters.PersonAPI.getPost ( )

◆ getPostArticle()

String com.fs.starfarer.api.characters.PersonAPI.getPostArticle ( )

◆ getPostId()

String com.fs.starfarer.api.characters.PersonAPI.getPostId ( )

◆ getRank()

String com.fs.starfarer.api.characters.PersonAPI.getRank ( )

◆ getRankArticle()

String com.fs.starfarer.api.characters.PersonAPI.getRankArticle ( )

◆ getRankId()

String com.fs.starfarer.api.characters.PersonAPI.getRankId ( )

◆ getRelToPlayer()

RelationshipAPI com.fs.starfarer.api.characters.PersonAPI.getRelToPlayer ( )

◆ getSortedContactTags()

List< ContactTagSpec > com.fs.starfarer.api.characters.PersonAPI.getSortedContactTags ( )

◆ getSortedContactTagStrings()

List< String > com.fs.starfarer.api.characters.PersonAPI.getSortedContactTagStrings ( )

◆ getStats()

MutableCharacterStatsAPI com.fs.starfarer.api.characters.PersonAPI.getStats ( )

◆ getTags()

Set< String > com.fs.starfarer.api.characters.PersonAPI.getTags ( )

◆ getVoice()

String com.fs.starfarer.api.characters.PersonAPI.getVoice ( )

◆ hasTag()

boolean com.fs.starfarer.api.characters.PersonAPI.hasTag ( String  tag)

◆ incrWantsToContactReasons()

void com.fs.starfarer.api.characters.PersonAPI.incrWantsToContactReasons ( )

◆ isAICore()

boolean com.fs.starfarer.api.characters.PersonAPI.isAICore ( )

◆ isDefault()

boolean com.fs.starfarer.api.characters.PersonAPI.isDefault ( )

◆ isFemale()

boolean com.fs.starfarer.api.characters.PersonAPI.isFemale ( )

◆ isMale()

boolean com.fs.starfarer.api.characters.PersonAPI.isMale ( )

◆ isPlayer()

boolean com.fs.starfarer.api.characters.PersonAPI.isPlayer ( )

◆ removeTag()

void com.fs.starfarer.api.characters.PersonAPI.removeTag ( String  tag)

◆ setAICoreId()

void com.fs.starfarer.api.characters.PersonAPI.setAICoreId ( String  aiCoreId)

◆ setContactWeight()

void com.fs.starfarer.api.characters.PersonAPI.setContactWeight ( float  contactWeight)

◆ setFaction()

void com.fs.starfarer.api.characters.PersonAPI.setFaction ( String  factionId)

◆ setFleet()

void com.fs.starfarer.api.characters.PersonAPI.setFleet ( CampaignFleetAPI  fleet)

For officers, the fleet they're in.

◆ setGender()

void com.fs.starfarer.api.characters.PersonAPI.setGender ( Gender  gender)

◆ setId()

void com.fs.starfarer.api.characters.PersonAPI.setId ( String  id)

◆ setImportance()

void com.fs.starfarer.api.characters.PersonAPI.setImportance ( PersonImportance  importance)

◆ setImportanceAndVoice()

void com.fs.starfarer.api.characters.PersonAPI.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

◆ setMarket()

void com.fs.starfarer.api.characters.PersonAPI.setMarket ( MarketAPI  market)

◆ setName()

void com.fs.starfarer.api.characters.PersonAPI.setName ( FullName  name)

◆ setPersonality()

void com.fs.starfarer.api.characters.PersonAPI.setPersonality ( String  personality)

◆ setPortraitSprite()

void com.fs.starfarer.api.characters.PersonAPI.setPortraitSprite ( String  portraitSprite)

◆ setPostId()

void com.fs.starfarer.api.characters.PersonAPI.setPostId ( String  postId)

◆ setRankId()

void com.fs.starfarer.api.characters.PersonAPI.setRankId ( String  rank)

◆ setStats()

void com.fs.starfarer.api.characters.PersonAPI.setStats ( MutableCharacterStatsAPI  stats)

◆ setVoice()

void com.fs.starfarer.api.characters.PersonAPI.setVoice ( String  voice)

◆ wantsToContactPlayer()

boolean com.fs.starfarer.api.characters.PersonAPI.wantsToContactPlayer ( )

The documentation for this interface was generated from the following file: