mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-29 08:05:36 +03:00
parent
2fb01f6a46
commit
ed5263627f
@ -1,3 +1,3 @@
|
|||||||
majorVersion=5
|
majorVersion=5
|
||||||
minorVersion=6
|
minorVersion=7
|
||||||
maintenanceVersion=0
|
maintenanceVersion=0
|
||||||
|
@ -4701,7 +4701,7 @@ enum CBasePlayerWeapon_Members
|
|||||||
* Get params: Float:get_member(index, member);
|
* Get params: Float:get_member(index, member);
|
||||||
* Set params: set_member(index, member, Float:value);
|
* Set params: set_member(index, member, Float:value);
|
||||||
*/
|
*/
|
||||||
m_Weapon_flLastFireTime
|
m_Weapon_flLastFireTime,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -5758,4 +5758,12 @@ enum CCSPlayerWeapon_Members
|
|||||||
* Set params: set_member(index, member, bool:value);
|
* Set params: set_member(index, member, bool:value);
|
||||||
*/
|
*/
|
||||||
m_Weapon_bHasSecondaryAttack = BEGIN_MEMBER_REGION(csplayerweapon),
|
m_Weapon_bHasSecondaryAttack = BEGIN_MEMBER_REGION(csplayerweapon),
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Description: Basic damage that weapon deals before any multiplier, such as hitgroup, armor, distance and bullet penetration
|
||||||
|
* Member type: float
|
||||||
|
* Get params: Float:get_member(index, member);
|
||||||
|
* Set params: set_member(index, member, Float:value);
|
||||||
|
*/
|
||||||
|
m_Weapon_flBaseDamage,
|
||||||
};
|
};
|
||||||
|
@ -41,6 +41,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
bool m_bHasSecondaryAttack;
|
bool m_bHasSecondaryAttack;
|
||||||
|
float m_flBaseDamage;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Inlines
|
// Inlines
|
||||||
|
@ -771,7 +771,7 @@ member_t memberlist_baseweapon[] = {
|
|||||||
BASEWPN_MEMBERS(usFireGlock18),
|
BASEWPN_MEMBERS(usFireGlock18),
|
||||||
BASEWPN_MEMBERS(usFireFamas),
|
BASEWPN_MEMBERS(usFireFamas),
|
||||||
BASEWPN_MEMBERS(flPrevPrimaryAttack),
|
BASEWPN_MEMBERS(flPrevPrimaryAttack),
|
||||||
BASEWPN_MEMBERS(flLastFireTime),
|
BASEWPN_MEMBERS(flLastFireTime)
|
||||||
};
|
};
|
||||||
|
|
||||||
member_t memberlist_weaponbox[] = {
|
member_t memberlist_weaponbox[] = {
|
||||||
@ -994,7 +994,8 @@ member_t memberlist_mapinfo[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
member_t memberlist_csplayerweapon[] = {
|
member_t memberlist_csplayerweapon[] = {
|
||||||
CSPLWPN_MEMBERS(bHasSecondaryAttack)
|
CSPLWPN_MEMBERS(bHasSecondaryAttack),
|
||||||
|
CSPLWPN_MEMBERS(flBaseDamage),
|
||||||
};
|
};
|
||||||
|
|
||||||
memberlist_t memberlist;
|
memberlist_t memberlist;
|
||||||
|
@ -781,7 +781,7 @@ enum CBasePlayerWeapon_Members
|
|||||||
m_Weapon_usFireGlock18,
|
m_Weapon_usFireGlock18,
|
||||||
m_Weapon_usFireFamas,
|
m_Weapon_usFireFamas,
|
||||||
m_Weapon_flPrevPrimaryAttack,
|
m_Weapon_flPrevPrimaryAttack,
|
||||||
m_Weapon_flLastFireTime
|
m_Weapon_flLastFireTime,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CWeaponBox_Members
|
enum CWeaponBox_Members
|
||||||
@ -1040,4 +1040,5 @@ enum MapInfo_Members
|
|||||||
enum CSPlayerWeapon_Members
|
enum CSPlayerWeapon_Members
|
||||||
{
|
{
|
||||||
m_Weapon_bHasSecondaryAttack = BEGIN_MEMBER_REGION(csplayerweapon),
|
m_Weapon_bHasSecondaryAttack = BEGIN_MEMBER_REGION(csplayerweapon),
|
||||||
|
m_Weapon_flBaseDamage,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user