l4dtoolz_new/l4d1_offsets_linux.h

11 lines
481 B
C
Raw Normal View History

2024-05-05 19:08:27 +08:00
#ifndef _INCLUDE_L4D1_OFFSETS_LINUX_
#define _INCLUDE_L4D1_OFFSETS_LINUX_
const char* engine_dll = "engine.so";
int slots_offs = 94; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
2024-05-08 03:55:15 +08:00
int reserved_offs = 360; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest)
2024-05-06 14:38:45 +08:00
int reservation_idx = 60; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
2024-05-05 19:08:27 +08:00
int maxhuman_idx = 132; // CTerrorGameRules::GetMaxHumanPlayers vtable
#endif //_INCLUDE_L4D1_OFFSETS_LINUX_