// <auto-generated />
#nullable enable
#pragma warning disable CS1591

using System;
using System.Diagnostics;
using System.Drawing;
using CounterStrikeSharp;
using CounterStrikeSharp.API.Modules.Events;
using CounterStrikeSharp.API.Modules.Entities;
using CounterStrikeSharp.API.Modules.Memory;
using CounterStrikeSharp.API.Modules.Utils;
using CounterStrikeSharp.API.Core.Attributes;

namespace CounterStrikeSharp.API.Core;

public partial class SellbackPurchaseEntry_t : NativeObject
{
    public SellbackPurchaseEntry_t (IntPtr pointer) : base(pointer) {}

	// m_unDefIdx
	[SchemaMember("SellbackPurchaseEntry_t", "m_unDefIdx")]
	public ref UInt16 DefIdx => ref Schema.GetRef<UInt16>(this.Handle, "SellbackPurchaseEntry_t", "m_unDefIdx");

	// m_nCost
	[SchemaMember("SellbackPurchaseEntry_t", "m_nCost")]
	public ref Int32 Cost => ref Schema.GetRef<Int32>(this.Handle, "SellbackPurchaseEntry_t", "m_nCost");

	// m_nPrevArmor
	[SchemaMember("SellbackPurchaseEntry_t", "m_nPrevArmor")]
	public ref Int32 PrevArmor => ref Schema.GetRef<Int32>(this.Handle, "SellbackPurchaseEntry_t", "m_nPrevArmor");

	// m_bPrevHelmet
	[SchemaMember("SellbackPurchaseEntry_t", "m_bPrevHelmet")]
	public ref bool PrevHelmet => ref Schema.GetRef<bool>(this.Handle, "SellbackPurchaseEntry_t", "m_bPrevHelmet");

	// m_hItem
	[SchemaMember("SellbackPurchaseEntry_t", "m_hItem")]
	public CHandle<CEntityInstance> Item => Schema.GetDeclaredClass<CHandle<CEntityInstance>>(this.Handle, "SellbackPurchaseEntry_t", "m_hItem");

}
