mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-25 06:01:49 +01:00
Merge d776498360 into 5da79a7dba
This commit is contained in:
commit
585c7a8a31
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ public readonly unsafe struct AtkValuePtr(nint address) : IEquatable<AtkValuePtr
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <c>true</c> if the value was successfully extracted and matched <typeparamref name="T"/>; otherwise, <c>false</c>.
|
/// <c>true</c> if the value was successfully extracted and matched <typeparamref name="T"/>; otherwise, <c>false</c>.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public unsafe bool TryGet<T>([NotNullWhen(true)] out T? result) where T : struct
|
public unsafe bool TryGet<T>(out T result) where T : struct
|
||||||
{
|
{
|
||||||
var value = this.GetValue();
|
var value = this.GetValue();
|
||||||
if (value is T typed)
|
if (value is T typed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue