(c249eaee6) Add a filter callback in the GetLinkedEntities method.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:46:13 +03:00
parent ce02152130
commit 10d219f935
11 changed files with 173 additions and 262 deletions
@@ -81,6 +81,27 @@ namespace Barotrauma
public readonly List<Gap> ConnectedGaps = new List<Gap>();
public readonly List<Gap> ConnectedGaps = new List<Gap>();
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName