|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | MoreInfo |
| struct | Offset |
| class | UriInfo |
Public Member Functions | |
| Uri (string uriString) | |
| Uri (string uriString, bool dontEscape) | |
| Uri (Uri baseUri, string? relativeUri, bool dontEscape) | |
| Uri (string uriString, UriKind uriKind) | |
| Uri (string uriString, in UriCreationOptions creationOptions) | |
| Uri (Uri baseUri, string? relativeUri) | |
| Uri (Uri baseUri, Uri relativeUri) | |
| string | GetLeftPart (UriPartial part) |
| override int | GetHashCode () |
| override string | ToString () |
| override bool | Equals ([NotNullWhen(true)] object? comparand) |
| Uri | MakeRelativeUri (Uri uri) |
| string | MakeRelative (Uri toUri) |
| string | GetComponents (UriComponents components, UriFormat format) |
| bool | IsWellFormedOriginalString () |
| bool | IsBaseOf (Uri uri) |
Static Public Attributes | |
| static readonly string | UriSchemeFile = UriParser.FileUri.SchemeName |
| static readonly string | UriSchemeFtp = UriParser.FtpUri.SchemeName |
| static readonly string | UriSchemeSftp = "sftp" |
| static readonly string | UriSchemeFtps = "ftps" |
| static readonly string | UriSchemeGopher = UriParser.GopherUri.SchemeName |
| static readonly string | UriSchemeHttp = UriParser.HttpUri.SchemeName |
| static readonly string | UriSchemeHttps = UriParser.HttpsUri.SchemeName |
| static readonly string | UriSchemeWs = UriParser.WsUri.SchemeName |
| static readonly string | UriSchemeWss = UriParser.WssUri.SchemeName |
| static readonly string | UriSchemeMailto = UriParser.MailToUri.SchemeName |
| static readonly string | UriSchemeNews = UriParser.NewsUri.SchemeName |
| static readonly string | UriSchemeNntp = UriParser.NntpUri.SchemeName |
| static readonly string | UriSchemeSsh = "ssh" |
| static readonly string | UriSchemeTelnet = UriParser.TelnetUri.SchemeName |
| static readonly string | UriSchemeNetTcp = UriParser.NetTcpUri.SchemeName |
| static readonly string | UriSchemeNetPipe = UriParser.NetPipeUri.SchemeName |
| static readonly string | SchemeDelimiter = "://" |
Protected Member Functions | |
| Uri (SerializationInfo serializationInfo, StreamingContext streamingContext) | |
| void | GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext) |
| virtual void | Canonicalize () |
| virtual void | Parse () |
| virtual void | Escape () |
| virtual string | Unescape (string path) |
| virtual void | CheckSecurity () |
| virtual bool | IsReservedCharacter (char character) |
| virtual bool | IsBadFileSystemCharacter (char character) |
Static Protected Member Functions | |
| static string | EscapeString (string? str) |
| static bool | IsExcludedCharacter (char character) |
Package Types | |
| enum | Flags : ulong { Zero = 0uL , SchemeNotCanonical = 1uL , UserNotCanonical = 2uL , HostNotCanonical = 4uL , PortNotCanonical = 8uL , PathNotCanonical = 0x10uL , QueryNotCanonical = 0x20uL , FragmentNotCanonical = 0x40uL , CannotDisplayCanonical = 0x7FuL , E_UserNotCanonical = 0x80uL , E_HostNotCanonical = 0x100uL , E_PortNotCanonical = 0x200uL , E_PathNotCanonical = 0x400uL , E_QueryNotCanonical = 0x800uL , E_FragmentNotCanonical = 0x1000uL , E_CannotDisplayCanonical = 0x1F80uL , ShouldBeCompressed = 0x2000uL , FirstSlashAbsent = 0x4000uL , BackslashInPath = 0x8000uL , IndexMask = 0xFFFFuL , HostTypeMask = 0x70000uL , HostNotParsed = 0uL , IPv6HostType = 0x10000uL , IPv4HostType = 0x20000uL , DnsHostType = 0x30000uL , UncHostType = 0x40000uL , BasicHostType = 0x50000uL , UnusedHostType = 0x60000uL , UnknownHostType = 0x70000uL , UserEscaped = 0x80000uL , AuthorityFound = 0x100000uL , HasUserInfo = 0x200000uL , LoopbackHost = 0x400000uL , NotDefaultPort = 0x800000uL , UserDrivenParsing = 0x1000000uL , CanonicalDnsHost = 0x2000000uL , ErrorOrParsingRecursion = 0x4000000uL , DosPath = 0x8000000uL , UncPath = 0x10000000uL , ImplicitFile = 0x20000000uL , MinimalUriInfoSet = 0x40000000uL , AllUriInfoSet = 0x80000000uL , IdnHost = 0x100000000uL , HasUnicode = 0x200000000uL , HostUnicodeNormalized = 0x400000000uL , RestUnicodeNormalized = 0x800000000uL , UnicodeHost = 0x1000000000uL , IntranetUri = 0x2000000000uL , UserIriCanonical = 0x8000000000uL , PathIriCanonical = 0x10000000000uL , QueryIriCanonical = 0x20000000000uL , FragmentIriCanonical = 0x40000000000uL , IriCanonical = 0x78000000000uL , UnixPath = 0x100000000000uL , DisablePathAndQueryCanonicalization = 0x200000000000uL , CustomParser_ParseMinimalAlreadyCalled = 0x4000000000000000uL , Debug_LeftConstructor = 9223372036854775808uL } |
Package Functions | |
| UriFormatException | ParseMinimal () |
| string | GetParts (UriComponents uriParts, UriFormat formatAs) |
| unsafe bool | InternalIsWellFormedOriginalString () |
| unsafe string | EscapeUnescapeIri (string input, int start, int end, UriComponents component) |
| string | GetComponentsHelper (UriComponents uriComponents, UriFormat uriFormat) |
| unsafe bool | IsBaseOfHelper (Uri uriLink) |
Static Package Functions | |
| static bool | IriParsingStatic (UriParser syntax) |
| static string | InternalEscapeString (string rawString) |
| static Uri | CreateHelper (string uriString, bool dontEscape, UriKind uriKind, ref UriFormatException e, in UriCreationOptions creationOptions=default(UriCreationOptions)) |
| static Uri | ResolveHelper (Uri baseUri, Uri relativeUri, ref string newUriString, ref bool userEscaped) |
Package Attributes | |
| UriParser | _syntax |
| Flags | _flags |
Properties | |
| bool | IsImplicitFile [get] |
| bool | IsUncOrDosPath [get] |
| bool | IsDosPath [get] |
| bool | IsUncPath [get] |
| Flags | HostType [get] |
| UriParser | Syntax [get] |
| bool | IsNotAbsoluteUri [get] |
| bool | IriParsing [get] |
| bool | DisablePathAndQueryCanonicalization [get] |
| bool | UserDrivenParsing [get] |
| int | SecuredPathIndex [get] |
| string | AbsolutePath [get] |
| string | PrivateAbsolutePath [get] |
| string | AbsoluteUri [get] |
| string | LocalPath [get] |
| string | Authority [get] |
| UriHostNameType | HostNameType [get] |
| bool | IsDefaultPort [get] |
| bool | IsFile [get] |
| bool | IsLoopback [get] |
| string | PathAndQuery [get] |
| string[] | Segments [get] |
| bool | IsUnc [get] |
| string | Host [get] |
| int | Port [get] |
| string | Query [get] |
| string | Fragment [get] |
| string | Scheme [get] |
| string | OriginalString [get] |
| string | DnsSafeHost [get] |
| string | IdnHost [get] |
| bool | IsAbsoluteUri [get] |
| bool | UserEscaped [get] |
| string | UserInfo [get] |
Private Types | |
| enum | Check { None = 0 , EscapedCanonical = 1 , DisplayCanonical = 2 , DotSlashAttn = 4 , DotSlashEscaped = 0x80 , BackslashInPath = 0x10 , ReservedFound = 0x20 , NotIriCanonical = 0x40 , FoundNonAscii = 8 } |
Private Attributes | |
| string | _string |
| string | _originalUnicodeString |
| UriInfo | _info |
Static Private Attributes | |
| static readonly char[] | s_pathDelims = new char[5] { ':', '\\', '/', '?', '#' } |