Class Object


Constants

const TICRATE = 35

Public Member Variables

Public Functions

native static uint MSTime()

native static double MSTimeF()

native static vararg void ThrowAbortException(
String fmt,
​.​.​.
)

native virtualscope void Destroy()

virtual virtualscope void OnDestroy()

native static String G​_SkillName()

native static int G​_SkillPropertyInt(
int p
)


🛇deprecated since 3.8.0: Use Level.PickDeathMatchStart() instead

static Vector3, int G​_PickPlayerStart(
int pnum,
int flags = 0
)
🛇deprecated since 3.8.0: Use Level.PickPlayerStart() instead

native static void S​_Sound(
Sound sound​_id,
int channel,
float volume = 1,
float attenuation = ATTN​_NORM,
float pitch = 0​.0,
float startTime = 0​.0
)
🛇deprecated since 4.3.0: Use S_StartSound() instead

native static void S​_StartSound(
Sound sound​_id,
int channel,
int flags = 0,
float volume = 1,
float attenuation = ATTN​_NORM,
float pitch = 0​.0,
float startTime = 0​.0
)

native static void S​_PauseSound(
bool notmusic,
bool notsfx
)

native static void S​_ResumeSound(
bool notsfx
)

native static bool S​_ChangeMusic(
String music​_name,
int order = 0,
bool looping = true,
bool force = false
)

native static float S​_GetLength(
Sound sound​_id
)

native static void MarkSound(Sound snd)

native static uint BAM(double angle)

native static void SetMusicVolume(
float vol
)

static int GameType()
🛇deprecated since 2.4.0: Use gameinfo.gametype instead

static void C​_MidPrint(
String fontname,
String textlabel,
bool bold = false
)
🛇deprecated since 2.4.0: Use Console.MidPrint() instead