Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
WarningHeaderValue (int code, string agent, string text) | |
WarningHeaderValue (int code, string agent, string text, DateTimeOffset date) | |
override string | ToString () |
override bool | Equals ([NotNullWhen(true)] object? obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static WarningHeaderValue | Parse (string? input) |
static bool | TryParse ([NotNullWhen(true)] string? input, [NotNullWhen(true)] out WarningHeaderValue? parsedValue) |
Static Package Functions | |
static int | GetWarningLength (string input, int startIndex, out object parsedValue) |
Properties | |
int | Code [get] |
string | Agent [get] |
string | Text [get] |
DateTimeOffset? | Date [get] |
Private Member Functions | |
WarningHeaderValue (WarningHeaderValue source) | |
object ICloneable. | Clone () |
Static Private Member Functions | |
static bool | TryReadAgent (string input, int startIndex, ref int current, [NotNullWhen(true)] out string agent) |
static bool | TryReadCode (string input, ref int current, out int code) |
static bool | TryReadDate (string input, ref int current, out DateTimeOffset? date) |
static void | CheckCode (int code) |
static void | CheckAgent (string agent) |
Private Attributes | |
readonly int | _code |
readonly string | _agent |
readonly string | _text |
readonly? DateTimeOffset | _date |
Definition at line 7 of file WarningHeaderValue.cs.