Updated to Risa's changes

This commit is contained in:
2025-08-10 12:48:02 +03:00
parent 0a0ae4bee9
commit 9730de1ba4
59 changed files with 302 additions and 2810 deletions

View File

@@ -0,0 +1,14 @@
using Penumbra.GameData.Interop;
namespace CustomizePlus.GameData.Extensions;
public static unsafe class ActorExtensions
{
/// <summary>
/// Returns if this actor is currently being rendered by the game or only exists as invisible object table entry.
/// </summary>
public static bool IsRenderedByGame(this Actor actor)
{
return actor.AsCharacter->DrawObject != null && actor.Model.AsCharacterBase != null;
}
}