Skip to main content
Version: 13.x (API 13) [Legacy]

Class DalamudUri

A Dalamud Uri, in the format:

dalamud://{NAMESPACE}/{ARBITRARY}
Assembly: Dalamud.dll
View Source
Declaration
public record DalamudUri : IEquatable<DalamudUri>

Implements:
System.IEquatable<Dalamud.Networking.Pipes.DalamudUri>

Properties

Namespace

Gets the namespace that this URI should be routed to. Generally a high level component like "PluginInstaller".

View Source
Declaration
public string Namespace { get; }

Data

Gets the raw (untargeted) path and query params for this URI.

View Source
Declaration
public string Data { get; }

Path

Gets the raw (untargeted) path for this URI.

View Source
Declaration
public string Path { get; }

Segments

Gets a list of segments based on the provided Data element.

View Source
Declaration
public string[] Segments { get; }

Query

Gets the raw query parameters for this URI, if any.

View Source
Declaration
public string Query { get; }

QueryParams

Gets the query params (as a parsed NameValueCollection) in this URI.

View Source
Declaration
public NameValueCollection QueryParams { get; }

Fragment

Gets the fragment (if one is specified) in this URI.

View Source
Declaration
public string Fragment { get; }

Methods

ToString()

Returns a string that represents the current object.

View Source
Declaration
public override string ToString()
Returns

System.String: A string that represents the current object.

FromUri(Uri)

Build a DalamudURI from a given URI.

View Source
Declaration
public static DalamudUri FromUri(Uri uri)
Returns

Dalamud.Networking.Pipes.DalamudUri: Returns a DalamudUri.

Parameters
TypeNameDescription
System.UriuriThe URI to convert to a Dalamud URI.

FromUri(string)

Build a DalamudURI from a URI in string format.

View Source
Declaration
public static DalamudUri FromUri(string uri)
Returns

Dalamud.Networking.Pipes.DalamudUri: Returns a DalamudUri.

Parameters
TypeNameDescription
System.StringuriThe URI to convert to a Dalamud URI.

Implements

  • System.IEquatable<Dalamud.Networking.Pipes.DalamudUri>