Unstable 0.17.0.0
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#nullable enable
|
||||
namespace Barotrauma
|
||||
{
|
||||
public class UpperLString : LocalizedString
|
||||
{
|
||||
private readonly LocalizedString nestedStr;
|
||||
|
||||
public UpperLString(LocalizedString nestedStr)
|
||||
{
|
||||
this.nestedStr = nestedStr;
|
||||
}
|
||||
|
||||
public override bool Loaded => nestedStr.Loaded;
|
||||
public override void RetrieveValue()
|
||||
{
|
||||
cachedValue = nestedStr.Value.ToUpper();
|
||||
UpdateLanguage();
|
||||
}
|
||||
|
||||
public override LocalizedString ToUpper()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user