mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 14:27:45 +01:00
Merge remote-tracking branch 'origin/master' into api14-rollup
This commit is contained in:
commit
6f8e33a39c
33 changed files with 1057 additions and 496 deletions
|
|
@ -79,7 +79,7 @@ public interface IPlayerState : IDalamudService
|
|||
bool IsLevelSynced { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the effective level of the local character.
|
||||
/// Gets the effective level of the local character, taking level sync into account.
|
||||
/// </summary>
|
||||
short EffectiveLevel { get; }
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
|
@ -6,6 +6,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.ImGuiSeStringRenderer;
|
||||
using Dalamud.Interface.Internal.Windows.Data.Widgets;
|
||||
using Dalamud.Interface.Textures;
|
||||
using Dalamud.Interface.Textures.TextureWraps;
|
||||
|
|
@ -186,6 +187,17 @@ public interface ITextureProvider : IDalamudService
|
|||
string? debugName = null,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>Creates a texture by drawing a SeString onto it.</summary>
|
||||
/// <param name="text">SeString to render.</param>
|
||||
/// <param name="drawParams">Parameters for drawing.</param>
|
||||
/// <param name="debugName">Name for debug display purposes.</param>
|
||||
/// <returns>The new texture.</returns>
|
||||
/// <remarks>Can be only be used from the main thread.</remarks>
|
||||
public IDalamudTextureWrap CreateTextureFromSeString(
|
||||
ReadOnlySpan<byte> text,
|
||||
scoped in SeStringDrawParams drawParams = default,
|
||||
string? debugName = null);
|
||||
|
||||
/// <summary>Gets the supported bitmap decoders.</summary>
|
||||
/// <returns>The supported bitmap decoders.</returns>
|
||||
/// <remarks>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue