Release 1.9.7.0 - Summer Update 2025
This commit is contained in:
@@ -23,6 +23,12 @@ namespace Barotrauma
|
||||
get { return allowedLocationTypes; }
|
||||
}
|
||||
|
||||
private readonly HashSet<Identifier> allowedGameModeIdentifiers = new HashSet<Identifier>();
|
||||
|
||||
public IEnumerable<Identifier> AllowedGameModeIdentifiers
|
||||
{
|
||||
get { return allowedGameModeIdentifiers; }
|
||||
}
|
||||
|
||||
[Serialize(-1, IsPropertySaveable.Yes, description: "Should this type of outpost be forced to the locations at the end of the campaign map? 0 = first end level, 1 = second end level, and so on."), Editable(MinValueInt = -1, MaxValueInt = 10)]
|
||||
public int ForceToEndLocationIndex
|
||||
@@ -279,6 +285,7 @@ namespace Barotrauma
|
||||
{
|
||||
Name = element.GetAttributeString("name", Identifier.Value);
|
||||
allowedLocationTypes = element.GetAttributeIdentifierArray("allowedlocationtypes", Array.Empty<Identifier>()).ToHashSet();
|
||||
allowedGameModeIdentifiers = element.GetAttributeIdentifierArray("allowedgamemodes", Array.Empty<Identifier>()).ToHashSet();
|
||||
SerializableProperties = SerializableProperty.DeserializeProperties(this, element);
|
||||
|
||||
if (element.GetAttribute("leveltype") != null)
|
||||
|
||||
Reference in New Issue
Block a user