forked from liza/Deliveroo
Include item link in chat output
This commit is contained in:
parent
e240ef568f
commit
b0888ba0cb
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<Version>2.21</Version>
|
||||
<Version>2.22</Version>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
|
@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
||||
using Deliveroo.GameData;
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using LLib.GameUI;
|
||||
@ -144,7 +146,9 @@ partial class DeliverooPlugin
|
||||
return false;
|
||||
}
|
||||
|
||||
_chatGui.Print($"Buying {toBuy}x {item.Name}...");
|
||||
_chatGui.Print(new SeString(new TextPayload($"Buying {toBuy}x "))
|
||||
.Append(SeString.CreateItemLink(item.ItemId))
|
||||
.Append(new TextPayload("...")));
|
||||
var selectReward = stackalloc AtkValue[]
|
||||
{
|
||||
new() { Type = ValueType.Int, Int = 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user