mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Add some small map helpers (#1756)
* feat: Add new `.GetMapCoordinates` extension method - Used to easily resolve player-friendly map coordinates for any GameObject. * feat: Add MapID to ClientState - Provides easy access to the player's current map ID
This commit is contained in:
parent
99d5e44c23
commit
de6dcb8b53
3 changed files with 54 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ public interface IClientState
|
|||
/// Gets the current Territory the player resides in.
|
||||
/// </summary>
|
||||
public ushort TerritoryType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current Map the player resides in.
|
||||
/// </summary>
|
||||
public uint MapId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the local player character, if one is present.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue