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

#include <EventTypes.hpp>

Static Public Member Functions

static DroneCargoDetached From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Cargo = 0
 
bool Delivered = false
 

Static Public Attributes

static constexpr std::string_view EventName = "drone_cargo_detached"
 

Detailed Description

Definition at line 531 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 503 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Cargo

int VoltMod::DroneCargoDetached::Cargo = 0

Definition at line 535 of file EventTypes.hpp.

◆ Delivered

bool VoltMod::DroneCargoDetached::Delivered = false

Definition at line 536 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::DroneCargoDetached::EventName = "drone_cargo_detached"
staticconstexpr

Definition at line 533 of file EventTypes.hpp.

◆ Slot

int VoltMod::DroneCargoDetached::Slot = -1

Definition at line 534 of file EventTypes.hpp.

Referenced by From().


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