Client LuaCsForBarotrauma
ConcatLString.cs
1 #nullable enable
2 namespace Barotrauma
3 {
5  {
6  private readonly LocalizedString left;
7  private readonly LocalizedString right;
8 
10  {
11  left = l; right = r;
12  }
13 
14  // TODO: should this be && instead of ||?
15  public override bool Loaded => left.Loaded || right.Loaded;
16  public override void RetrieveValue()
17  {
18  cachedValue = (left.Value ?? string.Empty) + (right.Value ?? string.Empty);
20  }
21  }
22 }
override void RetrieveValue()
ConcatLString(LocalizedString l, LocalizedString r)
Definition: ConcatLString.cs:9