Client LuaCsForBarotrauma
UpperLString.cs
1
#nullable enable
2
namespace
Barotrauma
3
{
4
public
class
UpperLString
:
LocalizedString
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();
17
UpdateLanguage
();
18
}
19
20
public
override
LocalizedString
ToUpper
()
21
{
22
return
this
;
23
}
24
}
25
}
Barotrauma.LocalizedString
Definition:
LocalizedString.cs:8
Barotrauma.LocalizedString.cachedValue
string cachedValue
Definition:
LocalizedString.cs:19
Barotrauma.LocalizedString.UpdateLanguage
void UpdateLanguage()
Definition:
LocalizedString.cs:33
Barotrauma.UpperLString
Definition:
UpperLString.cs:5
Barotrauma.UpperLString.Loaded
override bool Loaded
Definition:
UpperLString.cs:13
Barotrauma.UpperLString.UpperLString
UpperLString(LocalizedString nestedStr)
Definition:
UpperLString.cs:8
Barotrauma.UpperLString.ToUpper
override LocalizedString ToUpper()
Definition:
UpperLString.cs:20
Barotrauma.UpperLString.RetrieveValue
override void RetrieveValue()
Definition:
UpperLString.cs:14
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaShared
SharedSource
Text
LocalizedString
UpperLString.cs
Generated by
1.9.1