using CounterStrikeSharp.API.Modules.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CounterStrikeSharp.API.Modules.Utils
{
    public class ResourceManifest : NativeObject
    {
        // private Action<nint, string> _AddResource;
        public ResourceManifest(nint pointer) : base(pointer)
        {
            // _AddResource = VirtualFunction.CreateVoid<nint, string>(Handle, GameData.GetOffset("CEntityResourceManifest_AddResource"));
        }

        // public void AddResource(string resourcePath) => _AddResource(Handle, resourcePath);

        public void AddResource(string resourcePath) => NativeAPI.AddResource(resourcePath);
    }
}
