mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-16 00:28:17 +03:00
API members for new CVars sv_enablebunnyhopping
and sv_autobunnyhopping
(#225)
* API members for `sv_autobunnyhopping` and `sv_enablebunnyhopping` * Added missing CSPlayer member from ReGameDLL
This commit is contained in:
parent
36d6311eaf
commit
c5fb2919b4
@ -4619,6 +4619,30 @@ enum CCSPlayer_Members
|
|||||||
* Set params: set_member(index, member, bool:value);
|
* Set params: set_member(index, member, bool:value);
|
||||||
*/
|
*/
|
||||||
m_bCanShootOverride,
|
m_bCanShootOverride,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Description: -
|
||||||
|
* Member type: bool
|
||||||
|
* Get params: get_member(index, member);
|
||||||
|
* Set params: set_member(index, member, bool:value);
|
||||||
|
*/
|
||||||
|
m_bGameForcingRespawn,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Description: -
|
||||||
|
* Member type: bool
|
||||||
|
* Get params: get_member(index, member);
|
||||||
|
* Set params: set_member(index, member, bool:value);
|
||||||
|
*/
|
||||||
|
m_bAutoBunnyHopping,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Description: -
|
||||||
|
* Member type: bool
|
||||||
|
* Get params: get_member(index, member);
|
||||||
|
* Set params: set_member(index, member, bool:value);
|
||||||
|
*/
|
||||||
|
m_bMegaBunnyJumping,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,10 @@ public:
|
|||||||
m_flSpawnProtectionEndTime(0),
|
m_flSpawnProtectionEndTime(0),
|
||||||
m_iWeaponInfiniteAmmo(0),
|
m_iWeaponInfiniteAmmo(0),
|
||||||
m_iWeaponInfiniteIds(0),
|
m_iWeaponInfiniteIds(0),
|
||||||
m_bCanShootOverride(false)
|
m_bCanShootOverride(false),
|
||||||
|
m_bGameForcingRespawn(false),
|
||||||
|
m_bAutoBunnyHopping(false),
|
||||||
|
m_bMegaBunnyJumping(false)
|
||||||
{
|
{
|
||||||
m_szModel[0] = '\0';
|
m_szModel[0] = '\0';
|
||||||
}
|
}
|
||||||
@ -125,6 +128,9 @@ public:
|
|||||||
int m_iWeaponInfiniteAmmo;
|
int m_iWeaponInfiniteAmmo;
|
||||||
int m_iWeaponInfiniteIds;
|
int m_iWeaponInfiniteIds;
|
||||||
bool m_bCanShootOverride;
|
bool m_bCanShootOverride;
|
||||||
|
bool m_bGameForcingRespawn;
|
||||||
|
bool m_bAutoBunnyHopping;
|
||||||
|
bool m_bMegaBunnyJumping;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Inlines
|
// Inlines
|
||||||
|
@ -757,6 +757,9 @@ member_t memberlist_csplayer[] = {
|
|||||||
CSPL_MEMBERS(m_iWeaponInfiniteAmmo),
|
CSPL_MEMBERS(m_iWeaponInfiniteAmmo),
|
||||||
CSPL_MEMBERS(m_iWeaponInfiniteIds),
|
CSPL_MEMBERS(m_iWeaponInfiniteIds),
|
||||||
CSPL_MEMBERS(m_bCanShootOverride),
|
CSPL_MEMBERS(m_bCanShootOverride),
|
||||||
|
CSPL_MEMBERS(m_bGameForcingRespawn),
|
||||||
|
CSPL_MEMBERS(m_bAutoBunnyHopping),
|
||||||
|
CSPL_MEMBERS(m_bMegaBunnyJumping),
|
||||||
};
|
};
|
||||||
|
|
||||||
member_t memberlist_baseitem[] = {
|
member_t memberlist_baseitem[] = {
|
||||||
|
@ -746,6 +746,9 @@ enum CSPlayer_Members
|
|||||||
m_iWeaponInfiniteAmmo,
|
m_iWeaponInfiniteAmmo,
|
||||||
m_iWeaponInfiniteIds,
|
m_iWeaponInfiniteIds,
|
||||||
m_bCanShootOverride,
|
m_bCanShootOverride,
|
||||||
|
m_bGameForcingRespawn,
|
||||||
|
m_bAutoBunnyHopping,
|
||||||
|
m_bMegaBunnyJumping,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CBasePlayerItem_Members
|
enum CBasePlayerItem_Members
|
||||||
|
Loading…
x
Reference in New Issue
Block a user