Skip to content

LocationRef

public readonly struct LocationRef : IEquatable<LocationRef>

Namespace MapExpansions

A stable reference to a named place: expansion id plus location name.

public readonly string ExpansionId
public readonly string Name
public LocationRef(string expansionId, string name)
public static bool TryParse(string text, out LocationRef value)

Parses “expansion:name”.

public bool Equals(LocationRef other)
public override bool Equals(object obj)
public override int GetHashCode()
public override string ToString()