Barotrauma Client Doc
Barotrauma.Faction Class Reference

Public Member Functions

 Faction (CampaignMetadata? metadata, FactionPrefab prefab)
 
override string ToString ()
 

Static Public Member Functions

static FactionAffiliation GetPlayerAffiliationStatus (Faction faction)
 Get what kind of affiliation this faction has towards the player depending on who they chose to side with via talents More...
 

Properties

Reputation Reputation [get]
 
FactionPrefab Prefab [get]
 

Detailed Description

Definition at line 15 of file Factions.cs.

Constructor & Destructor Documentation

◆ Faction()

Barotrauma.Faction.Faction ( CampaignMetadata?  metadata,
FactionPrefab  prefab 
)

Definition at line 20 of file Factions.cs.

Member Function Documentation

◆ GetPlayerAffiliationStatus()

static FactionAffiliation Barotrauma.Faction.GetPlayerAffiliationStatus ( Faction  faction)
static

Get what kind of affiliation this faction has towards the player depending on who they chose to side with via talents

Returns

Definition at line 30 of file Factions.cs.

◆ ToString()

override string Barotrauma.Faction.ToString ( )

Definition at line 46 of file Factions.cs.

Property Documentation

◆ Prefab

FactionPrefab Barotrauma.Faction.Prefab
get

Definition at line 18 of file Factions.cs.

◆ Reputation

Reputation Barotrauma.Faction.Reputation
get

Definition at line 17 of file Factions.cs.