l4dtoolz_new/l4d2_offsets_linux.h

11 lines
485 B
C
Raw Permalink Normal View History

2024-05-05 19:08:27 +08:00
#ifndef _INCLUDE_L4D2_OFFSETS_LINUX_
#define _INCLUDE_L4D2_OFFSETS_LINUX_
const char* engine_dll = "engine_srv.so";
int slots_offs = 95; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
2024-05-08 03:55:15 +08:00
int reserved_offs = 364; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest)
2024-05-05 19:08:27 +08:00
int reservation_idx = 62; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
int maxhuman_idx = 137; // CTerrorGameRules::GetMaxHumanPlayers vtable
#endif //_INCLUDE_L4D2_OFFSETS_LINUX_