|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| StandardFormat (char symbol, byte precision=byte.MaxValue) | |
| override bool | Equals ([NotNullWhen(true)] object? obj) |
| override int | GetHashCode () |
| bool | Equals (StandardFormat other) |
| override string | ToString () |
| bool | Equals (T? other) |
Static Public Member Functions | |
| static implicit | operator StandardFormat (char symbol) |
| static StandardFormat | Parse (ReadOnlySpan< char > format) |
| static StandardFormat | Parse (string? format) |
| static bool | TryParse (ReadOnlySpan< char > format, out StandardFormat result) |
| static bool | operator== (StandardFormat left, StandardFormat right) |
| static bool | operator!= (StandardFormat left, StandardFormat right) |
Static Public Attributes | |
| const byte | NoPrecision = byte.MaxValue |
| const byte | MaxPrecision = 99 |
Package Functions | |
| int | Format (Span< char > destination) |
Properties | |
| char | Symbol [get] |
| byte | Precision [get] |
| bool | HasPrecision [get] |
| bool | IsDefault [get] |
Static Private Member Functions | |
| static bool | ParseHelper (ReadOnlySpan< char > format, out StandardFormat standardFormat, bool throws=false) |
Private Attributes | |
| readonly byte | _format |
| readonly byte | _precision |
Definition at line 5 of file StandardFormat.cs.