VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::DemoSkip Struct Reference

#include <EventTypes.hpp>

Static Public Member Functions

static DemoSkip From (IGameEvent &e)
 

Public Attributes

int PlaybackTick = 0
 current playback tick
 
int SkiptoTick = 0
 tick we're going to
 

Static Public Attributes

static constexpr std::string_view EventName = "demo_skip"
 

Detailed Description

Definition at line 441 of file EventTypes.hpp.

Member Function Documentation

◆ From()

DemoSkip VoltMod::DemoSkip::From ( IGameEvent &  e)
static

Definition at line 423 of file EventTypes.cpp.

References PlaybackTick, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::DemoSkip::EventName = "demo_skip"
staticconstexpr

Definition at line 443 of file EventTypes.hpp.

◆ PlaybackTick

int VoltMod::DemoSkip::PlaybackTick = 0

current playback tick

Definition at line 444 of file EventTypes.hpp.

Referenced by From().

◆ SkiptoTick

int VoltMod::DemoSkip::SkiptoTick = 0

tick we're going to

Definition at line 445 of file EventTypes.hpp.


The documentation for this struct was generated from the following files: