mirror of
https://github.com/roflmuffin/CounterStrikeSharp.git
synced 2025-12-08 08:56:34 -08:00
50 lines
1.6 KiB
C#
50 lines
1.6 KiB
C#
// <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 CPointHurt : CPointEntity
|
|
{
|
|
public CPointHurt (IntPtr pointer) : base(pointer) {}
|
|
|
|
// m_nDamage
|
|
[SchemaMember("CPointHurt", "m_nDamage")]
|
|
public ref Int32 Damage => ref Schema.GetRef<Int32>(this.Handle, "CPointHurt", "m_nDamage");
|
|
|
|
// m_bitsDamageType
|
|
[SchemaMember("CPointHurt", "m_bitsDamageType")]
|
|
public ref DamageTypes_t BitsDamageType => ref Schema.GetRef<DamageTypes_t>(this.Handle, "CPointHurt", "m_bitsDamageType");
|
|
|
|
// m_flRadius
|
|
[SchemaMember("CPointHurt", "m_flRadius")]
|
|
public ref float Radius => ref Schema.GetRef<float>(this.Handle, "CPointHurt", "m_flRadius");
|
|
|
|
// m_flDelay
|
|
[SchemaMember("CPointHurt", "m_flDelay")]
|
|
public ref float Delay => ref Schema.GetRef<float>(this.Handle, "CPointHurt", "m_flDelay");
|
|
|
|
// m_strTarget
|
|
[SchemaMember("CPointHurt", "m_strTarget")]
|
|
public string StrTarget
|
|
{
|
|
get { return Schema.GetUtf8String(this.Handle, "CPointHurt", "m_strTarget"); }
|
|
set { Schema.SetString(this.Handle, "CPointHurt", "m_strTarget", value); }
|
|
}
|
|
|
|
// m_pActivator
|
|
[SchemaMember("CPointHurt", "m_pActivator")]
|
|
public CHandle<CBaseEntity> Activator => Schema.GetDeclaredClass<CHandle<CBaseEntity>>(this.Handle, "CPointHurt", "m_pActivator");
|
|
|
|
}
|