Files
CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Schema/Classes/CAISound.g.cs
2024-05-25 18:50:09 +10:00

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 CAISound : CPointEntity
{
public CAISound (IntPtr pointer) : base(pointer) {}
// m_iSoundType
[SchemaMember("CAISound", "m_iSoundType")]
public ref SoundTypes_t SoundType => ref Schema.GetRef<SoundTypes_t>(this.Handle, "CAISound", "m_iSoundType");
// m_iSoundFlags
[SchemaMember("CAISound", "m_iSoundFlags")]
public ref SoundFlags_t SoundFlags => ref Schema.GetRef<SoundFlags_t>(this.Handle, "CAISound", "m_iSoundFlags");
// m_iVolume
[SchemaMember("CAISound", "m_iVolume")]
public ref Int32 Volume => ref Schema.GetRef<Int32>(this.Handle, "CAISound", "m_iVolume");
// m_iSoundIndex
[SchemaMember("CAISound", "m_iSoundIndex")]
public ref Int32 SoundIndex => ref Schema.GetRef<Int32>(this.Handle, "CAISound", "m_iSoundIndex");
// m_flDuration
[SchemaMember("CAISound", "m_flDuration")]
public ref float Duration => ref Schema.GetRef<float>(this.Handle, "CAISound", "m_flDuration");
// m_iszProxyEntityName
[SchemaMember("CAISound", "m_iszProxyEntityName")]
public string ProxyEntityName
{
get { return Schema.GetUtf8String(this.Handle, "CAISound", "m_iszProxyEntityName"); }
set { Schema.SetString(this.Handle, "CAISound", "m_iszProxyEntityName", value); }
}
}