csgo-plugins/includes/CSound.inc
2020-03-25 20:09:12 +02:00

300 lines
4.3 KiB
SourcePawn

#if defined _class_cambient_
#endinput
#endif
#define _class_cambient_
#include "Basic"
methodmap CSound < Basic
{
public CSound()
{
Basic myclass = new Basic();
myclass.SetInt("iEntity", INVALID_ENT_REFERENCE);
myclass.SetInt("iPassClient", 0);
myclass.SetInt("iPassTickCount", 0);
myclass.SetFloat("fLength", 0.0);
myclass.SetFloat("fEndTime", 0.0);
myclass.SetBool("bIsMusic", false);
myclass.SetInt("iOriginX", 0);
myclass.SetInt("iOriginY", 0);
myclass.SetInt("iOriginZ", 0);
myclass.SetInt("iVolume", 0);
myclass.SetFloat("fDelay", 0.0);
myclass.SetInt("iSeq", 0);
myclass.SetInt("iChannel", 0);
myclass.SetInt("iPitch", 0);
myclass.SetInt("iFlags", 0);
myclass.SetInt("iSoundnum", 0);
myclass.SetInt("iSoundnumHandle", 0);
myclass.SetInt("iSpeakerEntity", INVALID_ENT_REFERENCE);
myclass.SetInt("iSoundLevel", 0);
myclass.SetBool("bIsSentence", false);
myclass.SetBool("bIsAmbient", false);
return view_as<CSound>(myclass);
}
property int iEntity
{
public get()
{
return this.GetInt("iEntity");
}
public set(int value)
{
this.SetInt("iEntity", value);
}
}
property int iPassClient
{
public get()
{
return this.GetInt("iPassClient");
}
public set(int value)
{
this.SetInt("iPassClient", value);
}
}
property int iPassTickCount
{
public get()
{
return this.GetInt("iPassTickCount");
}
public set(int value)
{
this.SetInt("iPassTickCount", value);
}
}
property float fLength
{
public get()
{
return this.GetFloat("fLength");
}
public set(float value)
{
this.SetFloat("fLength", value);
}
}
property float fEndTime
{
public get()
{
return this.GetFloat("fEndTime");
}
public set(float value)
{
this.SetFloat("fEndTime", value);
}
}
property bool bIsMusic
{
public get()
{
return this.GetBool("bIsMusic");
}
public set(bool value)
{
this.SetBool("bIsMusic", value);
}
}
property int iOriginX
{
public get()
{
return this.GetInt("iOriginX");
}
public set(int value)
{
this.SetInt("iOriginX", value);
}
}
property int iOriginY
{
public get()
{
return this.GetInt("iOriginY");
}
public set(int value)
{
this.SetInt("iOriginY", value);
}
}
property int iOriginZ
{
public get()
{
return this.GetInt("iOriginZ");
}
public set(int value)
{
this.SetInt("iOriginZ", value);
}
}
property int iVolume
{
public get()
{
return this.GetInt("iVolume");
}
public set(int value)
{
this.SetInt("iVolume", value);
}
}
property float fDelay
{
public get()
{
return this.GetFloat("fDelay");
}
public set(float value)
{
this.SetFloat("fDelay", value);
}
}
property int iSeq
{
public get()
{
return this.GetInt("iSeq");
}
public set(int value)
{
this.SetInt("iSeq", value);
}
}
property int iChannel
{
public get()
{
return this.GetInt("iChannel");
}
public set(int value)
{
this.SetInt("iChannel", value);
}
}
property int iPitch
{
public get()
{
return this.GetInt("iPitch");
}
public set(int value)
{
this.SetInt("iPitch", value);
}
}
property int iFlags
{
public get()
{
return this.GetInt("iFlags");
}
public set(int value)
{
this.SetInt("iFlags", value);
}
}
property int iSoundnum
{
public get()
{
return this.GetInt("iSoundnum");
}
public set(int value)
{
this.SetInt("iSoundnum", value);
}
}
property int iSoundnumHandle
{
public get()
{
return this.GetInt("iSoundnumHandle");
}
public set(int value)
{
this.SetInt("iSoundnumHandle", value);
}
}
property int iSpeakerEntity
{
public get()
{
return this.GetInt("iSpeakerEntity");
}
public set(int value)
{
this.SetInt("iSpeakerEntity", value);
}
}
property int iSoundLevel
{
public get()
{
return this.GetInt("iSoundLevel");
}
public set(int value)
{
this.SetInt("iSoundLevel", value);
}
}
property bool bIsSentence
{
public get()
{
return this.GetBool("bIsSentence");
}
public set(bool value)
{
this.SetBool("bIsSentence", value);
}
}
property bool bIsAmbient
{
public get()
{
return this.GetBool("bIsAmbient");
}
public set(bool value)
{
this.SetBool("bIsAmbient", value);
}
}
public void Dispose()
{
delete this;
}
}