2024-05-05 19:08:27 +08:00
|
|
|
#ifndef _INCLUDE_L4D2_OFFSETS_WIN32_
|
|
|
|
#define _INCLUDE_L4D2_OFFSETS_WIN32_
|
|
|
|
|
|
|
|
int sv_offs = 8; // IServer pointer (in IVEngineServer::CreateFakeClient)
|
|
|
|
int slots_offs = 96; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
|
2024-07-04 17:40:06 +08:00
|
|
|
int reserved_offs = 368; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest)
|
2024-05-05 19:08:27 +08:00
|
|
|
int reservation_idx = 61; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
|
|
|
|
int maxhuman_idx = 136; // CTerrorGameRules::GetMaxHumanPlayers vtable
|
|
|
|
|
|
|
|
#endif //_INCLUDE_L4D2_OFFSETS_WIN32_
|