mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
fix: explain when null in CreateMapLink doc
This commit is contained in:
parent
c8566fc9b2
commit
5efe65a655
1 changed files with 2 additions and 1 deletions
|
|
@ -232,6 +232,7 @@ namespace Dalamud.Game.Text.SeStringHandling
|
|||
|
||||
/// <summary>
|
||||
/// Creates an SeString representing an entire Payload chain that can be used to link a map position in the chat log, matching a specified zone name.
|
||||
/// Returns null if no corresponding PlaceName was found.
|
||||
/// </summary>
|
||||
/// <param name="placeName">The name of the location for this link. This should be exactly the name as seen in a displayed map link in-game for the same zone.</param>
|
||||
/// <param name="xCoord">The human-readable x-coordinate for this link.</param>
|
||||
|
|
@ -266,7 +267,7 @@ namespace Dalamud.Game.Text.SeStringHandling
|
|||
/// </summary>
|
||||
/// <param name="json">A serialized SeString produced by ToJson() <see cref="ToJson"/>.</param>
|
||||
/// <returns>A SeString initialized with values from the json.</returns>
|
||||
public static SeString FromJson(string json)
|
||||
public static SeString? FromJson(string json)
|
||||
{
|
||||
var s = JsonConvert.DeserializeObject<SeString>(json, new JsonSerializerSettings
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue