// <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 CTakeDamageResult : NativeObject
{
    public CTakeDamageResult (IntPtr pointer) : base(pointer) {}

	// m_pOriginatingInfo
	[SchemaMember("CTakeDamageResult", "m_pOriginatingInfo")]
	public CTakeDamageInfo? OriginatingInfo => Schema.GetPointer<CTakeDamageInfo>(this.Handle, "CTakeDamageResult", "m_pOriginatingInfo");

	// m_nHealthLost
	[SchemaMember("CTakeDamageResult", "m_nHealthLost")]
	public ref Int32 HealthLost => ref Schema.GetRef<Int32>(this.Handle, "CTakeDamageResult", "m_nHealthLost");

	// m_nHealthBefore
	[SchemaMember("CTakeDamageResult", "m_nHealthBefore")]
	public ref Int32 HealthBefore => ref Schema.GetRef<Int32>(this.Handle, "CTakeDamageResult", "m_nHealthBefore");

	// m_nDamageDealt
	[SchemaMember("CTakeDamageResult", "m_nDamageDealt")]
	public ref Int32 DamageDealt => ref Schema.GetRef<Int32>(this.Handle, "CTakeDamageResult", "m_nDamageDealt");

	// m_flPreModifiedDamage
	[SchemaMember("CTakeDamageResult", "m_flPreModifiedDamage")]
	public ref float PreModifiedDamage => ref Schema.GetRef<float>(this.Handle, "CTakeDamageResult", "m_flPreModifiedDamage");

	// m_nTotalledHealthLost
	[SchemaMember("CTakeDamageResult", "m_nTotalledHealthLost")]
	public ref Int32 TotalledHealthLost => ref Schema.GetRef<Int32>(this.Handle, "CTakeDamageResult", "m_nTotalledHealthLost");

	// m_nTotalledDamageDealt
	[SchemaMember("CTakeDamageResult", "m_nTotalledDamageDealt")]
	public ref Int32 TotalledDamageDealt => ref Schema.GetRef<Int32>(this.Handle, "CTakeDamageResult", "m_nTotalledDamageDealt");

	// m_bWasDamageSuppressed
	[SchemaMember("CTakeDamageResult", "m_bWasDamageSuppressed")]
	public ref bool WasDamageSuppressed => ref Schema.GetRef<bool>(this.Handle, "CTakeDamageResult", "m_bWasDamageSuppressed");

}
