Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.OutpostModuleInfo Class Reference
Inheritance diagram for Barotrauma.OutpostModuleInfo:
Barotrauma.ISerializableEntity

Public Types

enum  GapPosition {
  None = 0 , Right = 1 , Left = 2 , Top = 4 ,
  Bottom = 8
}
 

Public Member Functions

 OutpostModuleInfo (SubmarineInfo submarineInfo, XElement element)
 
 OutpostModuleInfo (SubmarineInfo submarineInfo)
 
 OutpostModuleInfo (OutpostModuleInfo original)
 
void SetFlags (IEnumerable< Identifier > newFlags)
 
void SetAllowAttachTo (IEnumerable< Identifier > allowAttachTo)
 
void SetAllowedLocationTypes (IEnumerable< Identifier > allowedLocationTypes)
 
bool IsAllowedInAnyLocationType ()
 
bool IsAllowedInLocationType (LocationType locationType)
 
void DetermineGapPositions (Submarine sub)
 
void Save (XElement element)
 

Properties

IEnumerable< Identifier > ModuleFlags [get]
 
IEnumerable< Identifier > AllowAttachToModules [get]
 
IEnumerable< Identifier > AllowedLocationTypes [get]
 
int MaxCount [get, set]
 
float Commonness [get, set]
 
GapPosition GapPositions [get, set]
 
GapPosition CanAttachToPrevious [get, set]
 
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
- Properties inherited from Barotrauma.ISerializableEntity

Member Enumeration Documentation

◆ GapPosition

Enumerator
None 
Right 
Left 
Top 
Bottom 

Constructor & Destructor Documentation

◆ OutpostModuleInfo() [1/3]

Barotrauma.OutpostModuleInfo.OutpostModuleInfo ( SubmarineInfo submarineInfo,
XElement element )

◆ OutpostModuleInfo() [2/3]

Barotrauma.OutpostModuleInfo.OutpostModuleInfo ( SubmarineInfo submarineInfo)

◆ OutpostModuleInfo() [3/3]

Barotrauma.OutpostModuleInfo.OutpostModuleInfo ( OutpostModuleInfo original)

Member Function Documentation

◆ DetermineGapPositions()

void Barotrauma.OutpostModuleInfo.DetermineGapPositions ( Submarine sub)

◆ IsAllowedInAnyLocationType()

bool Barotrauma.OutpostModuleInfo.IsAllowedInAnyLocationType ( )

◆ IsAllowedInLocationType()

bool Barotrauma.OutpostModuleInfo.IsAllowedInLocationType ( LocationType locationType)

◆ Save()

void Barotrauma.OutpostModuleInfo.Save ( XElement element)

◆ SetAllowAttachTo()

void Barotrauma.OutpostModuleInfo.SetAllowAttachTo ( IEnumerable< Identifier > allowAttachTo)

◆ SetAllowedLocationTypes()

void Barotrauma.OutpostModuleInfo.SetAllowedLocationTypes ( IEnumerable< Identifier > allowedLocationTypes)

◆ SetFlags()

void Barotrauma.OutpostModuleInfo.SetFlags ( IEnumerable< Identifier > newFlags)

Property Documentation

◆ AllowAttachToModules

IEnumerable<Identifier> Barotrauma.OutpostModuleInfo.AllowAttachToModules
get

◆ AllowedLocationTypes

IEnumerable<Identifier> Barotrauma.OutpostModuleInfo.AllowedLocationTypes
get

◆ CanAttachToPrevious

GapPosition Barotrauma.OutpostModuleInfo.CanAttachToPrevious
getset

◆ Commonness

float Barotrauma.OutpostModuleInfo.Commonness
getset

◆ GapPositions

GapPosition Barotrauma.OutpostModuleInfo.GapPositions
getset

◆ MaxCount

int Barotrauma.OutpostModuleInfo.MaxCount
getset

◆ ModuleFlags

IEnumerable<Identifier> Barotrauma.OutpostModuleInfo.ModuleFlags
get

◆ Name

string Barotrauma.OutpostModuleInfo.Name
get

◆ SerializableProperties

Dictionary<Identifier, SerializableProperty> Barotrauma.OutpostModuleInfo.SerializableProperties
get

The documentation for this class was generated from the following file: