Barotrauma Client
|
Classes | |
class | AbilityLocation |
class | StoreInfo |
class | TakenItem |
Public Member Functions | |||
void | SelectMission (Mission mission) | ||
void | DeselectMission (Mission mission) | ||
List< int > | GetSelectedMissionIndices () | ||
void | SetSelectedMissionIndices (IEnumerable< int > missionIndices) | ||
override string | ToString () | ||
Location (Vector2 mapPosition, int? zone, Random rand, bool requireOutpost=false, LocationType forceLocationType=null, IEnumerable< Location > existingLocations=null) | |||
Location (CampaignMode campaign, XElement element) | |||
Create a location from save data. | |||
void | LoadLocationTypeChange (XElement locationElement) | ||
void | LoadMissions (XElement locationElement) | ||
void | ChangeType (CampaignMode campaign, LocationType newType, bool createStores=true) | ||
void | TryAssignFactionBasedOnLocationType (CampaignMode campaign) | ||
void | UnlockInitialMissions (Rand.RandSync randSync=Rand.RandSync.ServerAndClient) | ||
void | UnlockMission (MissionPrefab missionPrefab, LocationConnection connection) | ||
void | UnlockMission (MissionPrefab missionPrefab) | ||
Mission | UnlockMissionByIdentifier (Identifier identifier, ContentPackage invokingContentPackage=null) | ||
Mission | UnlockMissionByTag (Identifier tag, Random random=null, ContentPackage invokingContentPackage=null) | ||
void | InstantiateLoadedMissions (Map map) | ||
void | ClearMissions () | ||
Removes all unlocked missions from the location. | |||
bool | HasOutpost () | ||
bool | IsCriticallyRadiated () | ||
LocationType | GetLocationType () | ||
IEnumerable< Mission > | GetMissionsInConnection (LocationConnection connection) | ||
void | RemoveHireableCharacter (CharacterInfo character) | ||
IEnumerable< CharacterInfo > | GetHireableCharacters () | ||
void | ForceHireableCharacters (IEnumerable< CharacterInfo > hireableCharacters) | ||
void | ForceName (Identifier nameId) | ||
void | LoadStores (XElement locationElement) | ||
bool | IsRadiated () | ||
void | RegisterTakenItems (IEnumerable< Item > items) | ||
Mark the items that have been taken from the outpost to prevent them from spawning when re-entering the outpost. | |||
void | RegisterKilledCharacters (IEnumerable< Character > characters) | ||
Mark the characters who have been killed to prevent them from spawning when re-entering the outpost. | |||
void | RemoveTakenItems () | ||
int | GetAdjustedMechanicalCost (int cost) | ||
int | GetAdjustedHealCost (int cost) | ||
StoreInfo | GetStore (Identifier identifier) | ||
void | CreateStores (bool force=false) | ||
| |||
void | UpdateStores () | ||
void | UpdateSpecials () | ||
void | AddStock (Dictionary< Identifier, List< SoldItem > > items) | ||
void | RemoveStock (Dictionary< Identifier, List< PurchasedItem > > items) | ||
bool | CanHaveSubsForSale () | ||
int | HighestSubmarineTierAvailable (SubmarineClass submarineClass=SubmarineClass.Undefined) | ||
bool | IsSubmarineAvailable (SubmarineInfo info) | ||
void | Reset (CampaignMode campaign) | ||
XElement | Save (Map map, XElement parentElement) | ||
void | Remove () | ||
void | RemoveProjSpecific () | ||
Static Public Member Functions | |
static Location | CreateRandom (Vector2 position, int? zone, Random rand, bool requireOutpost, LocationType forceLocationType=null, IEnumerable< Location > existingLocations=null) |
static int | GetExtraSpecialSalesCount () |
Public Attributes | |
readonly List< LocationConnection > | Connections = new List<LocationConnection>() |
readonly Dictionary< LocationTypeChange.Requirement, int > | ProximityTimer = new Dictionary<LocationTypeChange.Requirement, int>() |
LocationTypeChange | typeChange |
LocationTypeChange int | delay |
LocationTypeChange int MissionPrefab? parentMission | PendingLocationTypeChange |
int | LocationTypeChangeCooldown |
bool | DisallowLocationTypeChanges |
string | LastTypeChangeMessage |
int | TimeSinceLastTypeChange |
bool | IsGateBetweenBiomes |
HireManager | HireManager |
Properties | |
LocalizedString | DisplayName [get] |
Identifier | NameIdentifier [get] |
bool | Discovered [get] |
bool | Visited [get] |
bool | LocationTypeChangesBlocked [get] |
Is some mission blocking this location from changing its type, or have location type changes been forcibly disabled on the location? | |
Biome | Biome [get, set] |
Vector2 | MapPosition [get] |
LocationType | Type [get] |
LocationType | OriginalType [get] |
LevelData | LevelData [get, set] |
int | PortraitId [get] |
Faction | Faction [get, set] |
Faction | SecondaryFaction [get, set] |
Reputation | Reputation [get] |
bool | IsFactionHostile [get] |
int | TurnsInRadiation [get, set] |
Dictionary< Identifier, StoreInfo > | Stores [get, set] |
int | StoreInitialBalance [get] |
int | DailySpecialsCount [get] |
int | RequestedGoodsCount [get] |
HashSet< Identifier > | StoreIdentifiers = new HashSet<Identifier>() [get] |
IEnumerable< TakenItem > | TakenItems [get] |
IEnumerable< int > | KilledCharacterIdentifiers [get] |
IEnumerable< Mission > | AvailableMissions [get] |
IEnumerable< Mission > | SelectedMissions [get] |
float | PriceMultiplier [get, set] |
float | MechanicalPriceMultiplier [get, set] |
Barotrauma.Location.Location | ( | Vector2 | mapPosition, |
int? | zone, | ||
Random | rand, | ||
bool | requireOutpost = false, | ||
LocationType | forceLocationType = null, | ||
IEnumerable< Location > | existingLocations = null ) |
Barotrauma.Location.Location | ( | CampaignMode | campaign, |
XElement | element ) |
Create a location from save data.
void Barotrauma.Location.AddStock | ( | Dictionary< Identifier, List< SoldItem > > | items | ) |
bool Barotrauma.Location.CanHaveSubsForSale | ( | ) |
void Barotrauma.Location.ChangeType | ( | CampaignMode | campaign, |
LocationType | newType, | ||
bool | createStores = true ) |
void Barotrauma.Location.ClearMissions | ( | ) |
Removes all unlocked missions from the location.
|
static |
void Barotrauma.Location.CreateStores | ( | bool | force = false | ) |
force | If true, the stores will be recreated if they already exists. |
void Barotrauma.Location.DeselectMission | ( | Mission | mission | ) |
void Barotrauma.Location.ForceHireableCharacters | ( | IEnumerable< CharacterInfo > | hireableCharacters | ) |
void Barotrauma.Location.ForceName | ( | Identifier | nameId | ) |
int Barotrauma.Location.GetAdjustedHealCost | ( | int | cost | ) |
int Barotrauma.Location.GetAdjustedMechanicalCost | ( | int | cost | ) |
|
static |
IEnumerable< CharacterInfo > Barotrauma.Location.GetHireableCharacters | ( | ) |
LocationType Barotrauma.Location.GetLocationType | ( | ) |
IEnumerable< Mission > Barotrauma.Location.GetMissionsInConnection | ( | LocationConnection | connection | ) |
List< int > Barotrauma.Location.GetSelectedMissionIndices | ( | ) |
StoreInfo Barotrauma.Location.GetStore | ( | Identifier | identifier | ) |
bool Barotrauma.Location.HasOutpost | ( | ) |
int Barotrauma.Location.HighestSubmarineTierAvailable | ( | SubmarineClass | submarineClass = SubmarineClass::Undefined | ) |
void Barotrauma.Location.InstantiateLoadedMissions | ( | Map | map | ) |
bool Barotrauma.Location.IsCriticallyRadiated | ( | ) |
bool Barotrauma.Location.IsRadiated | ( | ) |
bool Barotrauma.Location.IsSubmarineAvailable | ( | SubmarineInfo | info | ) |
void Barotrauma.Location.LoadLocationTypeChange | ( | XElement | locationElement | ) |
void Barotrauma.Location.LoadMissions | ( | XElement | locationElement | ) |
void Barotrauma.Location.LoadStores | ( | XElement | locationElement | ) |
void Barotrauma.Location.RegisterKilledCharacters | ( | IEnumerable< Character > | characters | ) |
Mark the characters who have been killed to prevent them from spawning when re-entering the outpost.
void Barotrauma.Location.RegisterTakenItems | ( | IEnumerable< Item > | items | ) |
Mark the items that have been taken from the outpost to prevent them from spawning when re-entering the outpost.
void Barotrauma.Location.Remove | ( | ) |
void Barotrauma.Location.RemoveHireableCharacter | ( | CharacterInfo | character | ) |
void Barotrauma.Location.RemoveProjSpecific | ( | ) |
void Barotrauma.Location.RemoveStock | ( | Dictionary< Identifier, List< PurchasedItem > > | items | ) |
void Barotrauma.Location.RemoveTakenItems | ( | ) |
void Barotrauma.Location.Reset | ( | CampaignMode | campaign | ) |
XElement Barotrauma.Location.Save | ( | Map | map, |
XElement | parentElement ) |
void Barotrauma.Location.SelectMission | ( | Mission | mission | ) |
void Barotrauma.Location.SetSelectedMissionIndices | ( | IEnumerable< int > | missionIndices | ) |
override string Barotrauma.Location.ToString | ( | ) |
void Barotrauma.Location.TryAssignFactionBasedOnLocationType | ( | CampaignMode | campaign | ) |
void Barotrauma.Location.UnlockInitialMissions | ( | Rand.RandSync | randSync = Rand::RandSync::ServerAndClient | ) |
void Barotrauma.Location.UnlockMission | ( | MissionPrefab | missionPrefab | ) |
void Barotrauma.Location.UnlockMission | ( | MissionPrefab | missionPrefab, |
LocationConnection | connection ) |
Mission Barotrauma.Location.UnlockMissionByIdentifier | ( | Identifier | identifier, |
ContentPackage | invokingContentPackage = null ) |
Mission Barotrauma.Location.UnlockMissionByTag | ( | Identifier | tag, |
Random | random = null, | ||
ContentPackage | invokingContentPackage = null ) |
void Barotrauma.Location.UpdateSpecials | ( | ) |
void Barotrauma.Location.UpdateStores | ( | ) |
readonly List<LocationConnection> Barotrauma.Location.Connections = new List<LocationConnection>() |
LocationTypeChange int Barotrauma.Location.delay |
bool Barotrauma.Location.DisallowLocationTypeChanges |
HireManager Barotrauma.Location.HireManager |
bool Barotrauma.Location.IsGateBetweenBiomes |
string Barotrauma.Location.LastTypeChangeMessage |
int Barotrauma.Location.LocationTypeChangeCooldown |
LocationTypeChange int MissionPrefab? parentMission Barotrauma.Location.PendingLocationTypeChange |
readonly Dictionary<LocationTypeChange.Requirement, int> Barotrauma.Location.ProximityTimer = new Dictionary<LocationTypeChange.Requirement, int>() |
int Barotrauma.Location.TimeSinceLastTypeChange |
LocationTypeChange Barotrauma.Location.typeChange |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
getset |
|
get |
Is some mission blocking this location from changing its type, or have location type changes been forcibly disabled on the location?
|
get |
|
getset |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
getset |
|
get |
|
get |