|
void | SetReputation (float newReputation) |
|
float | GetReputationChangeMultiplier (float reputationChange) |
|
void | AddReputation (float reputationChange, float maxReputationChangePerRound=float.MaxValue) |
|
| Reputation (CampaignMetadata metadata, Location location, Identifier identifier, int minReputation, int maxReputation, int initialReputation) |
|
| Reputation (CampaignMetadata metadata, Faction faction, int minReputation, int maxReputation, int initialReputation) |
|
LocalizedString | GetReputationName () |
|
LocalizedString | GetFormattedReputationText (bool addColorTags=false) |
|
Definition at line 7 of file Reputation.cs.
◆ Reputation() [1/2]
Barotrauma.Reputation.Reputation |
( |
CampaignMetadata |
metadata, |
|
|
Location |
location, |
|
|
Identifier |
identifier, |
|
|
int |
minReputation, |
|
|
int |
maxReputation, |
|
|
int |
initialReputation |
|
) |
| |
◆ Reputation() [2/2]
Barotrauma.Reputation.Reputation |
( |
CampaignMetadata |
metadata, |
|
|
Faction |
faction, |
|
|
int |
minReputation, |
|
|
int |
maxReputation, |
|
|
int |
initialReputation |
|
) |
| |
◆ AddReputation()
void Barotrauma.Reputation.AddReputation |
( |
float |
reputationChange, |
|
|
float |
maxReputationChangePerRound = float.MaxValue |
|
) |
| |
◆ GetFormattedReputationText() [1/2]
LocalizedString Barotrauma.Reputation.GetFormattedReputationText |
( |
bool |
addColorTags = false | ) |
|
◆ GetFormattedReputationText() [2/2]
static LocalizedString Barotrauma.Reputation.GetFormattedReputationText |
( |
float |
normalizedValue, |
|
|
float |
value, |
|
|
bool |
addColorTags = false |
|
) |
| |
|
static |
◆ GetReputationChangeMultiplier()
float Barotrauma.Reputation.GetReputationChangeMultiplier |
( |
float |
reputationChange | ) |
|
◆ GetReputationColor()
static Color Barotrauma.Reputation.GetReputationColor |
( |
float |
normalizedValue | ) |
|
|
static |
◆ GetReputationName() [1/2]
◆ GetReputationName() [2/2]
static LocalizedString Barotrauma.Reputation.GetReputationName |
( |
float |
normalizedValue | ) |
|
|
static |
◆ SetReputation()
void Barotrauma.Reputation.SetReputation |
( |
float |
newReputation | ) |
|
◆ Faction
readonly Faction Barotrauma.Reputation.Faction |
◆ HostileThreshold
const float Barotrauma.Reputation.HostileThreshold = 0.2f |
|
static |
◆ Location
readonly Location Barotrauma.Reputation.Location |
◆ MaxReputationLossFromNPCDamage
const float Barotrauma.Reputation.MaxReputationLossFromNPCDamage = 20.0f |
|
static |
Maximum amount of reputation loss you can get from damaging outpost NPCs per round
Definition at line 19 of file Reputation.cs.
◆ MaxReputationLossFromWallDamage
const float Barotrauma.Reputation.MaxReputationLossFromWallDamage = 10.0f |
|
static |
Maximum amount of reputation loss you can get from damaging outpost walls per round
Definition at line 23 of file Reputation.cs.
◆ MaxReputationLossPerStolenItem
const float Barotrauma.Reputation.MaxReputationLossPerStolenItem = 0.5f |
|
static |
◆ MinReputationLossPerStolenItem
const float Barotrauma.Reputation.MinReputationLossPerStolenItem = 0.025f |
|
static |
◆ OnAnyReputationValueChanged
readonly NamedEvent<Reputation> Barotrauma.Reputation.OnAnyReputationValueChanged = new NamedEvent<Reputation>() |
|
static |
◆ OnReputationValueChanged
readonly NamedEvent<Reputation> Barotrauma.Reputation.OnReputationValueChanged = new NamedEvent<Reputation>() |
◆ ReputationLossPerNPCDamage
const float Barotrauma.Reputation.ReputationLossPerNPCDamage = 0.025f |
|
static |
◆ ReputationLossPerStolenItemPrice
const float Barotrauma.Reputation.ReputationLossPerStolenItemPrice = 0.0025f |
|
static |
◆ ReputationLossPerWallDamage
const float Barotrauma.Reputation.ReputationLossPerWallDamage = 0.025f |
|
static |
◆ Identifier
◆ InitialReputation
int Barotrauma.Reputation.InitialReputation |
|
get |
◆ MaxReputation
int Barotrauma.Reputation.MaxReputation |
|
get |
◆ Metadata
CampaignMetadata Barotrauma.Reputation.Metadata |
|
get |
◆ MinReputation
int Barotrauma.Reputation.MinReputation |
|
get |
◆ NormalizedValue
float Barotrauma.Reputation.NormalizedValue |
|
get |
◆ ReputationAtRoundStart
float Barotrauma.Reputation.ReputationAtRoundStart |
|
getset |
◆ Value
float??????? Barotrauma.Reputation.Value |
|
get |