|
| 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.
|
| |
| 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!
|
| |
| 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] |
| |
| HashSet< Identifier > | LayersHiddenByDefault = new HashSet<Identifier>() [get] |
| | Names of layers that get automatically hidden when loading the sub.
|
| |
◆ CrewExperienceLevel
| Enumerator |
|---|
| Unknown | |
| CrewExperienceLow | |
| CrewExperienceMid | |
| CrewExperienceHigh | |
◆ 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
| readonly Dictionary<Identifier, List<Character> > Barotrauma.SubmarineInfo.OutpostNPCs = new Dictionary<Identifier, List<Character>>() |
◆ RecommendedCrewExperience
◆ RecommendedCrewSizeMax
| int Barotrauma.SubmarineInfo.RecommendedCrewSizeMax = 2 |
◆ 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.
◆ 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 |
◆ LayersHiddenByDefault
| HashSet<Identifier> Barotrauma.SubmarineInfo.LayersHiddenByDefault = new HashSet<Identifier>() |
|
get |
Names of layers that get automatically hidden when loading the sub.
◆ 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!
◆ 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
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/SubmarineInfo.cs