This commit is contained in:
Haselnussbomber 2026-02-16 22:29:16 +01:00 committed by GitHub
commit 585c7a8a31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)