SubmarineInfo
Barotrauma.SubmarineInfo
Functions
AddOutpostNPCIdentifierOrTag(npc, idOrTag)
AddOutpostNPCIdentifierOrTag
Parameters
-
npc
Character
-
idOrTag
Identifier
AddTag(tag)
AddTag
Parameters
-
tag
SubmarineTag
CheckSubsLeftBehind(element)
CheckSubsLeftBehind
Parameters
-
element
Xml.Linq.XElement
CreatePreviewWindow(parent)
CreatePreviewWindow
Parameters
-
parent
GUIComponent
CreateSpecsWindow(parent, font, includeTitle, includeClass, includeDescription, includeCrushDepth)
CreateSpecsWindow
Parameters
-
parent
GUIListBox
-
font
GUIFont
-
includeTitle
bool
-
includeClass
bool
-
includeDescription
bool
-
includeCrushDepth
bool
Dispose()
Dispose
Equals(obj)
Equals
Parameters
-
obj
Object
Returns
-
bool
GetHashCode()
GetHashCode
Returns
-
number
GetPrice(location, characterList)
GetPrice
Parameters
-
location
Location
-
characterList
Collections.Immutable.ImmutableHashSet
Returns
-
number
GetType()
GetType
Returns
HasTag(tag)
HasTag
Parameters
-
tag
SubmarineTag
Returns
-
bool
IsCrushDepthDefinedInStructures(realWorldCrushDepth)
IsCrushDepthDefinedInStructures
Parameters
-
realWorldCrushDepth
Single&
Returns
-
bool
IsVanillaSubmarine()
IsVanillaSubmarine
Returns
-
bool
Reload()
Reload
RemoveTag(tag)
RemoveTag
Parameters
-
tag
SubmarineTag
SaveAs(filePath, previewImage)
SaveAs
Parameters
-
filePath
string
-
previewImage
IO.MemoryStream
StartHashDocTask(doc)
StartHashDocTask
Parameters
-
doc
Xml.Linq.XDocument
SubmarineInfo()
SubmarineInfo
SubmarineInfo(filePath, hash, element, tryLoad)
SubmarineInfo
Parameters
-
filePath
string
-
hash
string
-
element
Xml.Linq.XElement
-
tryLoad
bool
SubmarineInfo(sub)
SubmarineInfo
Parameters
-
sub
Submarine
SubmarineInfo(original)
SubmarineInfo
Parameters
-
original
SubmarineInfo
SubmarineInfo.AddToSavedSubs(subInfo)
AddToSavedSubs
Parameters
-
subInfo
SubmarineInfo
SubmarineInfo.GetDefaultTier(price)
GetDefaultTier
Parameters
-
price
number
Returns
-
number
SubmarineInfo.GetSubCrushDepth(subInfo, pendingSubInfo)
GetSubCrushDepth
Parameters
-
subInfo
SubmarineInfo
-
pendingSubInfo
PendingSubInfo&
Returns
-
number
SubmarineInfo.OpenFile(file)
OpenFile
Parameters
-
file
string
Returns
-
Xml.Linq.XDocument
SubmarineInfo.OpenFile(file, exception)
OpenFile
Parameters
-
file
string
-
exception
Exception&
Returns
-
Xml.Linq.XDocument
SubmarineInfo.RefreshSavedSub(filePath)
RefreshSavedSub
Parameters
-
filePath
string
SubmarineInfo.RefreshSavedSubs()
RefreshSavedSubs
SubmarineInfo.RemoveSavedSub(filePath)
RemoveSavedSub
Parameters
-
filePath
string
ToString()
ToString
Returns
Fields
AllowPreviewImage
AllowPreviewImage, field of type bool
-
AllowPreviewImage
BeaconStationInfo
BeaconStationInfo, field of type BeaconStationInfo
-
BeaconStationInfo
BlockedDockingPortIDs
BlockedDockingPortIDs, field of type table
-
BlockedDockingPortIDs
CalculatingHash
CalculatingHash, field of type bool
-
CalculatingHash
CargoCapacity
CargoCapacity, field of type number
-
CargoCapacity
Description
Description, field of type LocalizedString
-
Description
Dimensions
Dimensions, field of type Microsoft.Xna.Framework.Vector2
-
Dimensions
DisplayName
DisplayName, field of type LocalizedString
-
DisplayName
EnemySubmarineInfo
EnemySubmarineInfo, field of type EnemySubmarineInfo
-
EnemySubmarineInfo
EqualityCheckVal
EqualityCheckVal, field of type number
-
EqualityCheckVal
FilePath
FilePath, field of type string
-
FilePath
GameVersion
GameVersion, field of type Version
-
GameVersion
GetExtraSubmarineInfo
GetExtraSubmarineInfo, field of type ExtraSubmarineInfo
-
GetExtraSubmarineInfo
InitialSuppliesSpawned
InitialSuppliesSpawned, field of type bool
-
InitialSuppliesSpawned
IsBeacon
IsBeacon, field of type bool
-
IsBeacon
IsCampaignCompatible
IsCampaignCompatible, field of type bool
-
IsCampaignCompatible
IsCampaignCompatibleIgnoreClass
IsCampaignCompatibleIgnoreClass, field of type bool
-
IsCampaignCompatibleIgnoreClass
IsEnemySubmarine
IsEnemySubmarine, field of type bool
-
IsEnemySubmarine
IsFileCorrupted
IsFileCorrupted, field of type bool
-
IsFileCorrupted
IsManuallyOutfitted
IsManuallyOutfitted, field of type bool
-
IsManuallyOutfitted
IsOutpost
IsOutpost, field of type bool
-
IsOutpost
IsPlayer
IsPlayer, field of type bool
-
IsPlayer
IsRuin
IsRuin, field of type bool
-
IsRuin
IsWreck
IsWreck, field of type bool
-
IsWreck
LastModifiedTime
LastModifiedTime, field of type DateTime
-
LastModifiedTime
LayersHiddenByDefault
LayersHiddenByDefault, field of type HashSet
-
LayersHiddenByDefault
LeftBehindDockingPortIDs
LeftBehindDockingPortIDs, field of type table
-
LeftBehindDockingPortIDs
LeftBehindSubDockingPortOccupied
LeftBehindSubDockingPortOccupied, field of type bool
-
LeftBehindSubDockingPortOccupied
LowFuel
LowFuel, field of type bool
-
LowFuel
MD5Hash
MD5Hash, field of type Md5Hash
-
MD5Hash
Name
Name, field of type string
-
Name
NoItems
NoItems, field of type bool
-
NoItems
OutpostGenerationParams
OutpostGenerationParams, field of type OutpostGenerationParams
-
OutpostGenerationParams
OutpostModuleInfo
OutpostModuleInfo, field of type OutpostModuleInfo
-
OutpostModuleInfo
OutpostNPCs
OutpostNPCs, field of type table
-
OutpostNPCs
OutpostTags
OutpostTags, field of type Collections.Immutable.ImmutableHashSet
-
OutpostTags
PreviewImage
PreviewImage, field of type Sprite
-
PreviewImage
Price
Price, field of type number
-
Price
RecommendedCrewExperience
RecommendedCrewExperience, field of type CrewExperienceLevel
-
RecommendedCrewExperience
RecommendedCrewSizeMax
RecommendedCrewSizeMax, field of type number
-
RecommendedCrewSizeMax
RecommendedCrewSizeMin
RecommendedCrewSizeMin, field of type number
-
RecommendedCrewSizeMin
RequiredContentPackages
RequiredContentPackages, field of type HashSet
-
RequiredContentPackages
RequiredContentPackagesInstalled
RequiredContentPackagesInstalled, field of type bool
-
RequiredContentPackagesInstalled
ShouldBeRuin
ShouldBeRuin, field of type bool
-
ShouldBeRuin
SubmarineClass
SubmarineClass, field of type SubmarineClass
-
SubmarineClass
SubmarineElement
SubmarineElement, field of type Xml.Linq.XElement
-
SubmarineElement
SubmarineInfo.HighestTier
SubmarineInfo.HighestTier, field of type number
SubmarineInfo.SavedSubmarines
SubmarineInfo.SavedSubmarines, field of type IEnumerable
SubsLeftBehind
SubsLeftBehind, field of type bool
-
SubsLeftBehind
Tags
Tags, field of type SubmarineTag
-
Tags
Tier
Tier, field of type number
-
Tier
Type
Type, field of type SubmarineType
-
Type
WreckInfo
WreckInfo, field of type WreckInfo
-
WreckInfo