Checks if the GameLocation (Origin) you are in has a buildings list and determines if those buildings conversely have any warps that would have you end up in the Origin, and returning a list of (any) paired points of the warp.
Building interiors must have been instantiated for their warp points to be built. This should be the case in all properly created circumstances.
Uses NameOrUniqueName as instanced buildings/locations can have UUIDs appended. Multiple barns, as an example.
Original: https://github.com/agilbert1412/StardewArchipelago/pull/45
Add GetBuildingWarps to GameLocationExtensions.
Checks if the GameLocation (Origin) you are in has a buildings list and determines if those buildings conversely have any warps that would have you end up in the Origin, and returning a list of (any) paired points of the warp.
Building interiors must have been instantiated for their warp points to be built. This should be the case in all properly created circumstances.
Uses NameOrUniqueName as instanced buildings/locations can have UUIDs appended. Multiple barns, as an example.