Client LuaCsForBarotrauma
CircuitBoxLabel.cs
1
#nullable enable
2
3
using
Microsoft.Xna.Framework;
4
5
namespace
Barotrauma
6
{
7
internal
readonly
struct
CircuitBoxLabel
8
{
9
public
LocalizedString Value {
get
; }
10
11
public
Vector2 Size {
get
; }
12
13
public
GUIFont Font {
get
; }
14
15
public
CircuitBoxLabel(LocalizedString value, GUIFont font)
16
{
17
Value = value;
18
Font = font;
19
Size = font.MeasureString(font.ForceUpperCase ? value.Value.ToUpperInvariant() : value.Value);
20
}
21
}
22
}
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaClient
ClientSource
CircuitBox
CircuitBoxLabel.cs
Generated by
1.9.1