Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.campaign.RepLevel Enum Reference

Public Member Functions

String getDisplayName ()
 
RepLevel getOneBetter ()
 
RepLevel getOneWorse ()
 
float getMin ()
 
float getMax ()
 
boolean isAtWorst (RepLevel level)
 
boolean isAtBest (RepLevel level)
 
boolean isNeutral ()
 
boolean isPositive ()
 
boolean isNegative ()
 

Static Public Member Functions

static RepLevel getLevelFor (float r)
 
static int getRepInt (float f)
 
static float getT1 ()
 
static float getT2 ()
 
static float getT3 ()
 
static float getT4 ()
 

Public Attributes

 VENGEFUL =("Vengeful", getT4(), 1f)
 
 HOSTILE =("Hostile", getT3(), getT4())
 
 INHOSPITABLE =("Inhospitable", getT2(), getT3())
 
 SUSPICIOUS =("Suspicious", getT1(), getT2())
 
 NEUTRAL =("Neutral", 0, getT1())
 
 FAVORABLE =("Favorable", getT1(), getT2())
 
 WELCOMING =("Welcoming", getT2(), getT3())
 
 FRIENDLY =("Friendly", getT3(), getT4())
 
 COOPERATIVE =("Cooperative", getT4(), 1f)
 

Detailed Description

Definition at line 3 of file RepLevel.java.

Member Function Documentation

◆ getDisplayName()

String com.fs.starfarer.api.campaign.RepLevel.getDisplayName ( )

Definition at line 24 of file RepLevel.java.

◆ getLevelFor()

static RepLevel com.fs.starfarer.api.campaign.RepLevel.getLevelFor ( float  r)
static

Definition at line 95 of file RepLevel.java.

◆ getMax()

float com.fs.starfarer.api.campaign.RepLevel.getMax ( )

Inclusive.

Returns

Definition at line 65 of file RepLevel.java.

◆ getMin()

float com.fs.starfarer.api.campaign.RepLevel.getMin ( )

Not inclusive.

Returns

Definition at line 58 of file RepLevel.java.

◆ getOneBetter()

RepLevel com.fs.starfarer.api.campaign.RepLevel.getOneBetter ( )

Definition at line 28 of file RepLevel.java.

◆ getOneWorse()

RepLevel com.fs.starfarer.api.campaign.RepLevel.getOneWorse ( )

Definition at line 41 of file RepLevel.java.

◆ getRepInt()

static int com.fs.starfarer.api.campaign.RepLevel.getRepInt ( float  f)
static

Definition at line 114 of file RepLevel.java.

◆ getT1()

static float com.fs.starfarer.api.campaign.RepLevel.getT1 ( )
static

Definition at line 118 of file RepLevel.java.

◆ getT2()

static float com.fs.starfarer.api.campaign.RepLevel.getT2 ( )
static

Definition at line 121 of file RepLevel.java.

◆ getT3()

static float com.fs.starfarer.api.campaign.RepLevel.getT3 ( )
static

Definition at line 124 of file RepLevel.java.

◆ getT4()

static float com.fs.starfarer.api.campaign.RepLevel.getT4 ( )
static

Definition at line 127 of file RepLevel.java.

◆ isAtBest()

boolean com.fs.starfarer.api.campaign.RepLevel.isAtBest ( RepLevel  level)

Definition at line 71 of file RepLevel.java.

◆ isAtWorst()

boolean com.fs.starfarer.api.campaign.RepLevel.isAtWorst ( RepLevel  level)

Definition at line 68 of file RepLevel.java.

◆ isNegative()

boolean com.fs.starfarer.api.campaign.RepLevel.isNegative ( )

Definition at line 83 of file RepLevel.java.

◆ isNeutral()

boolean com.fs.starfarer.api.campaign.RepLevel.isNeutral ( )

Definition at line 75 of file RepLevel.java.

◆ isPositive()

boolean com.fs.starfarer.api.campaign.RepLevel.isPositive ( )

Definition at line 79 of file RepLevel.java.

Member Data Documentation

◆ COOPERATIVE

com.fs.starfarer.api.campaign.RepLevel.COOPERATIVE =("Cooperative", getT4(), 1f)

Definition at line 13 of file RepLevel.java.

◆ FAVORABLE

com.fs.starfarer.api.campaign.RepLevel.FAVORABLE =("Favorable", getT1(), getT2())

Definition at line 10 of file RepLevel.java.

◆ FRIENDLY

com.fs.starfarer.api.campaign.RepLevel.FRIENDLY =("Friendly", getT3(), getT4())

Definition at line 12 of file RepLevel.java.

◆ HOSTILE

com.fs.starfarer.api.campaign.RepLevel.HOSTILE =("Hostile", getT3(), getT4())

Definition at line 6 of file RepLevel.java.

◆ INHOSPITABLE

com.fs.starfarer.api.campaign.RepLevel.INHOSPITABLE =("Inhospitable", getT2(), getT3())

Definition at line 7 of file RepLevel.java.

◆ NEUTRAL

com.fs.starfarer.api.campaign.RepLevel.NEUTRAL =("Neutral", 0, getT1())

Definition at line 9 of file RepLevel.java.

◆ SUSPICIOUS

com.fs.starfarer.api.campaign.RepLevel.SUSPICIOUS =("Suspicious", getT1(), getT2())

Definition at line 8 of file RepLevel.java.

◆ VENGEFUL

com.fs.starfarer.api.campaign.RepLevel.VENGEFUL =("Vengeful", getT4(), 1f)

Definition at line 5 of file RepLevel.java.

◆ WELCOMING

com.fs.starfarer.api.campaign.RepLevel.WELCOMING =("Welcoming", getT2(), getT3())

Definition at line 11 of file RepLevel.java.


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