|
| static IEnumerable< SubmarineInfo > | SavedSubmarines [get] |
| |
| SubmarineTag | Tags [get] |
| |
| int | Tier [get, set] |
| |
| int | EqualityCheckVal [get] |
| | A random int that gets assigned when saving the sub. Used in mp campaign to verify that sub files match More...
|
| |
| string | Name [get, set] |
| |
| LocalizedString | DisplayName [get, set] |
| |
| LocalizedString | Description [get, set] |
| |
| int | Price [get, set] |
| |
| bool | InitialSuppliesSpawned [get, set] |
| |
| bool | NoItems [get, set] |
| |
| bool | LowFuel [get, set] |
| | Note: Refreshed for loaded submarines when they are saved, when they are loaded, and on round end. If you need to refresh it, please use Submarine.CheckFuel() method! More...
|
| |
| Version | GameVersion [get, set] |
| |
| SubmarineType | Type [get, set] |
| |
| bool | IsManuallyOutfitted [get, set] |
| |
| OutpostModuleInfo | OutpostModuleInfo [get, set] |
| |
| BeaconStationInfo | BeaconStationInfo [get, set] |
| |
| WreckInfo | WreckInfo [get, set] |
| |
| ExtraSubmarineInfo | GetExtraSubmarineInfo [get] |
| |
| bool | IsOutpost [get] |
| |
| bool | IsWreck [get] |
| |
| bool | IsBeacon [get] |
| |
| bool | IsPlayer [get] |
| |
| bool | IsRuin [get] |
| |
| bool | IsCampaignCompatible [get] |
| |
| bool | IsCampaignCompatibleIgnoreClass [get] |
| |
| bool | AllowPreviewImage [get] |
| |
| Md5Hash | MD5Hash [get] |
| |
| bool | CalculatingHash [get] |
| |
| Vector2 | Dimensions [get] |
| |
| int | CargoCapacity [get] |
| |
| string | FilePath [get, set] |
| |
| XElement | SubmarineElement [get] |
| |
| bool | IsFileCorrupted [get] |
| |
| bool | RequiredContentPackagesInstalled [get, set] |
| |
| bool | SubsLeftBehind [get] |
| |
| bool | LeftBehindSubDockingPortOccupied [get] |
| |
Definition at line 30 of file SubmarineInfo.cs.
◆ CrewExperienceLevel
| Enumerator |
|---|
| Unknown | |
| CrewExperienceLow | |
| CrewExperienceMid | |
| CrewExperienceHigh | |
Definition at line 44 of file SubmarineInfo.cs.
◆ SubmarineInfo() [1/4]
| Barotrauma.SubmarineInfo.SubmarineInfo |
( |
| ) |
|
◆ SubmarineInfo() [2/4]
| Barotrauma.SubmarineInfo.SubmarineInfo |
( |
string |
filePath, |
|
|
string |
hash = "", |
|
|
XElement |
element = null, |
|
|
bool |
tryLoad = true |
|
) |
| |
◆ SubmarineInfo() [3/4]
| Barotrauma.SubmarineInfo.SubmarineInfo |
( |
Submarine |
sub | ) |
|
◆ SubmarineInfo() [4/4]
◆ AddOutpostNPCIdentifierOrTag()
| void Barotrauma.SubmarineInfo.AddOutpostNPCIdentifierOrTag |
( |
Character |
npc, |
|
|
Identifier |
idOrTag |
|
) |
| |
◆ AddTag()
◆ AddToSavedSubs()
| static void Barotrauma.SubmarineInfo.AddToSavedSubs |
( |
SubmarineInfo |
subInfo | ) |
|
|
static |
◆ CheckSubsLeftBehind()
| void Barotrauma.SubmarineInfo.CheckSubsLeftBehind |
( |
XElement |
element = null | ) |
|
◆ Dispose()
| void Barotrauma.SubmarineInfo.Dispose |
( |
| ) |
|
◆ GetDefaultTier()
| static int Barotrauma.SubmarineInfo.GetDefaultTier |
( |
int |
price | ) |
|
|
static |
◆ GetPrice()
| int Barotrauma.SubmarineInfo.GetPrice |
( |
Location |
location = null, |
|
|
ImmutableHashSet< Character > |
characterList = null |
|
) |
| |
◆ HasTag()
◆ IsCrushDepthDefinedInStructures()
| bool Barotrauma.SubmarineInfo.IsCrushDepthDefinedInStructures |
( |
out float |
realWorldCrushDepth | ) |
|
◆ IsVanillaSubmarine()
| bool Barotrauma.SubmarineInfo.IsVanillaSubmarine |
( |
| ) |
|
◆ OpenFile() [1/2]
| static XDocument Barotrauma.SubmarineInfo.OpenFile |
( |
string |
file | ) |
|
|
static |
◆ OpenFile() [2/2]
| static XDocument Barotrauma.SubmarineInfo.OpenFile |
( |
string |
file, |
|
|
out Exception |
exception |
|
) |
| |
|
static |
◆ RefreshSavedSub()
| static void Barotrauma.SubmarineInfo.RefreshSavedSub |
( |
string |
filePath | ) |
|
|
static |
◆ RefreshSavedSubs()
| static void Barotrauma.SubmarineInfo.RefreshSavedSubs |
( |
| ) |
|
|
static |
◆ Reload()
| void Barotrauma.SubmarineInfo.Reload |
( |
| ) |
|
◆ RemoveSavedSub()
| static void Barotrauma.SubmarineInfo.RemoveSavedSub |
( |
string |
filePath | ) |
|
|
static |
◆ RemoveTag()
◆ SaveAs()
| void Barotrauma.SubmarineInfo.SaveAs |
( |
string |
filePath, |
|
|
System.IO.MemoryStream |
previewImage = null |
|
) |
| |
◆ StartHashDocTask()
| void Barotrauma.SubmarineInfo.StartHashDocTask |
( |
XDocument |
doc | ) |
|
◆ ToString()
| override string Barotrauma.SubmarineInfo.ToString |
( |
| ) |
|
◆ BlockedDockingPortIDs
| readonly List<ushort> Barotrauma.SubmarineInfo.BlockedDockingPortIDs = new List<ushort>() |
◆ HighestTier
| const int Barotrauma.SubmarineInfo.HighestTier = 3 |
|
static |
◆ LastModifiedTime
| readonly DateTime Barotrauma.SubmarineInfo.LastModifiedTime |
◆ LeftBehindDockingPortIDs
| readonly List<ushort> Barotrauma.SubmarineInfo.LeftBehindDockingPortIDs = new List<ushort>() |
◆ OutpostGenerationParams
◆ OutpostNPCs
◆ RecommendedCrewExperience
◆ RecommendedCrewSizeMin
| int Barotrauma.SubmarineInfo.RecommendedCrewSizeMin = 1 |
◆ RequiredContentPackages
| HashSet<string> Barotrauma.SubmarineInfo.RequiredContentPackages = new HashSet<string>() |
◆ SubmarineClass
◆ AllowPreviewImage
| bool Barotrauma.SubmarineInfo.AllowPreviewImage |
|
get |
◆ BeaconStationInfo
◆ CalculatingHash
| bool Barotrauma.SubmarineInfo.CalculatingHash |
|
get |
◆ CargoCapacity
| int Barotrauma.SubmarineInfo.CargoCapacity |
|
get |
◆ Description
◆ Dimensions
| Vector2 Barotrauma.SubmarineInfo.Dimensions |
|
get |
◆ DisplayName
◆ EqualityCheckVal
| int Barotrauma.SubmarineInfo.EqualityCheckVal |
|
get |
A random int that gets assigned when saving the sub. Used in mp campaign to verify that sub files match
Definition at line 62 of file SubmarineInfo.cs.
◆ FilePath
| string Barotrauma.SubmarineInfo.FilePath |
|
getset |
◆ GameVersion
| Version Barotrauma.SubmarineInfo.GameVersion |
|
getset |
◆ GetExtraSubmarineInfo
◆ InitialSuppliesSpawned
| bool Barotrauma.SubmarineInfo.InitialSuppliesSpawned |
|
getset |
◆ IsBeacon
| bool Barotrauma.SubmarineInfo.IsBeacon |
|
get |
◆ IsCampaignCompatible
| bool Barotrauma.SubmarineInfo.IsCampaignCompatible |
|
get |
◆ IsCampaignCompatibleIgnoreClass
| bool Barotrauma.SubmarineInfo.IsCampaignCompatibleIgnoreClass |
|
get |
◆ IsFileCorrupted
| bool Barotrauma.SubmarineInfo.IsFileCorrupted |
|
get |
◆ IsManuallyOutfitted
| bool Barotrauma.SubmarineInfo.IsManuallyOutfitted |
|
getset |
◆ IsOutpost
| bool Barotrauma.SubmarineInfo.IsOutpost |
|
get |
◆ IsPlayer
| bool Barotrauma.SubmarineInfo.IsPlayer |
|
get |
◆ IsRuin
| bool Barotrauma.SubmarineInfo.IsRuin |
|
get |
◆ IsWreck
| bool Barotrauma.SubmarineInfo.IsWreck |
|
get |
◆ LeftBehindSubDockingPortOccupied
| bool Barotrauma.SubmarineInfo.LeftBehindSubDockingPortOccupied |
|
get |
◆ LowFuel
| bool Barotrauma.SubmarineInfo.LowFuel |
|
getset |
Note: Refreshed for loaded submarines when they are saved, when they are loaded, and on round end. If you need to refresh it, please use Submarine.CheckFuel() method!
Definition at line 105 of file SubmarineInfo.cs.
◆ MD5Hash
| Md5Hash Barotrauma.SubmarineInfo.MD5Hash |
|
get |
◆ Name
| string Barotrauma.SubmarineInfo.Name |
|
getset |
◆ NoItems
| bool Barotrauma.SubmarineInfo.NoItems |
|
getset |
◆ OutpostModuleInfo
◆ Price
| int Barotrauma.SubmarineInfo.Price |
|
getset |
◆ RequiredContentPackagesInstalled
| bool Barotrauma.SubmarineInfo.RequiredContentPackagesInstalled |
|
getset |
◆ SavedSubmarines
| IEnumerable<SubmarineInfo> Barotrauma.SubmarineInfo.SavedSubmarines |
|
staticget |
◆ SubmarineElement
| XElement Barotrauma.SubmarineInfo.SubmarineElement |
|
get |
◆ SubsLeftBehind
| bool Barotrauma.SubmarineInfo.SubsLeftBehind |
|
get |
◆ Tags
◆ Tier
| int Barotrauma.SubmarineInfo.Tier |
|
getset |
◆ Type
◆ WreckInfo