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

	// m_iszTargetEntity
	[SchemaMember("CLogicDistanceAutosave", "m_iszTargetEntity")]
	public string TargetEntity
	{
		get { return Schema.GetUtf8String(this.Handle, "CLogicDistanceAutosave", "m_iszTargetEntity"); }
		set { Schema.SetString(this.Handle, "CLogicDistanceAutosave", "m_iszTargetEntity", value); }
	}

	// m_flDistanceToPlayer
	[SchemaMember("CLogicDistanceAutosave", "m_flDistanceToPlayer")]
	public ref float DistanceToPlayer => ref Schema.GetRef<float>(this.Handle, "CLogicDistanceAutosave", "m_flDistanceToPlayer");

	// m_bForceNewLevelUnit
	[SchemaMember("CLogicDistanceAutosave", "m_bForceNewLevelUnit")]
	public ref bool ForceNewLevelUnit => ref Schema.GetRef<bool>(this.Handle, "CLogicDistanceAutosave", "m_bForceNewLevelUnit");

	// m_bCheckCough
	[SchemaMember("CLogicDistanceAutosave", "m_bCheckCough")]
	public ref bool CheckCough => ref Schema.GetRef<bool>(this.Handle, "CLogicDistanceAutosave", "m_bCheckCough");

	// m_bThinkDangerous
	[SchemaMember("CLogicDistanceAutosave", "m_bThinkDangerous")]
	public ref bool ThinkDangerous => ref Schema.GetRef<bool>(this.Handle, "CLogicDistanceAutosave", "m_bThinkDangerous");

	// m_flDangerousTime
	[SchemaMember("CLogicDistanceAutosave", "m_flDangerousTime")]
	public ref float DangerousTime => ref Schema.GetRef<float>(this.Handle, "CLogicDistanceAutosave", "m_flDangerousTime");

}
