Client LuaCsForBarotrauma
UpperLString.cs
1 #nullable enable
2 namespace Barotrauma
3 {
5  {
6  private readonly LocalizedString nestedStr;
7 
8  public UpperLString(LocalizedString nestedStr)
9  {
10  this.nestedStr = nestedStr;
11  }
12 
13  public override bool Loaded => nestedStr.Loaded;
14  public override void RetrieveValue()
15  {
16  cachedValue = nestedStr.Value.ToUpperInvariant();
18  }
19 
20  public override LocalizedString ToUpper()
21  {
22  return this;
23  }
24  }
25 }
override bool Loaded
Definition: UpperLString.cs:13
UpperLString(LocalizedString nestedStr)
Definition: UpperLString.cs:8
override LocalizedString ToUpper()
Definition: UpperLString.cs:20
override void RetrieveValue()
Definition: UpperLString.cs:14