2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-29 08:05:36 +03:00

Add m_M4A1_flBaseDamageSil, m_USP_flBaseDamageSil and m_Famas_flBaseDamageBurst members (#126)

* Add m_M4A1_flBaseDamageSil, m_USP_flBaseDamageSil and m_Famas_flBaseDamageBurst members
This commit is contained in:
fant1kua 2019-01-23 13:18:40 +02:00 committed by Dmitry Novikov
parent ed5263627f
commit bc1924baf3
5 changed files with 34 additions and 1 deletions

View File

@ -1,3 +1,3 @@
majorVersion=5 majorVersion=5
minorVersion=7 minorVersion=8
maintenanceVersion=0 maintenanceVersion=0

View File

@ -5334,6 +5334,14 @@ enum CFamas_Members
* Set params: set_member(index, member, value); * Set params: set_member(index, member, value);
*/ */
m_Famas_iShellOn, m_Famas_iShellOn,
/*
* Description: Basic damage that famas deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in burst mode
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Famas_flBaseDamageBurst,
}; };
/** /**
@ -5356,6 +5364,14 @@ enum CUSP_Members
* Set params: set_member(index, member, value); * Set params: set_member(index, member, value);
*/ */
m_USP_usFire, m_USP_usFire,
/*
* Description: Basic damage that usp deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_USP_flBaseDamageSil,
}; };
/** /**
@ -5514,6 +5530,14 @@ enum CM4A1_Members
* Set params: set_member(index, member, value); * Set params: set_member(index, member, value);
*/ */
m_M4A1_usFire, m_M4A1_usFire,
/*
* Description: Basic damage that m4a1 deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_M4A1_flBaseDamageSil,
}; };
/** /**

View File

@ -349,6 +349,7 @@ public:
public: public:
int m_iShell; int m_iShell;
unsigned short m_usFire; unsigned short m_usFire;
float m_flBaseDamageSil;
}; };
class CMP5N: public CBasePlayerWeapon { class CMP5N: public CBasePlayerWeapon {
@ -634,6 +635,7 @@ public:
int m_iShell; int m_iShell;
int m_iShellOn; int m_iShellOn;
unsigned short m_usFire; unsigned short m_usFire;
float m_flBaseDamageSil;
}; };
class CMAC10: public CBasePlayerWeapon { class CMAC10: public CBasePlayerWeapon {
@ -873,4 +875,5 @@ public:
public: public:
int m_iShell; int m_iShell;
int m_iShellOn; int m_iShellOn;
float m_flBaseDamageBurst;
}; };

View File

@ -890,11 +890,13 @@ member_t memberlist_galil[] = {
member_t memberlist_famas[] = { member_t memberlist_famas[] = {
FAMAS_MEMBERS(iShell), FAMAS_MEMBERS(iShell),
FAMAS_MEMBERS(iShellOn), FAMAS_MEMBERS(iShellOn),
FAMAS_MEMBERS(flBaseDamageBurst),
}; };
member_t memberlist_usp[] = { member_t memberlist_usp[] = {
USP_MEMBERS(iShell), USP_MEMBERS(iShell),
USP_MEMBERS(usFire), USP_MEMBERS(usFire),
USP_MEMBERS(flBaseDamageSil),
}; };
member_t memberlist_glock18[] = { member_t memberlist_glock18[] = {
@ -929,6 +931,7 @@ member_t memberlist_m4a1[] = {
M4A1_MEMBERS(iShell), M4A1_MEMBERS(iShell),
M4A1_MEMBERS(iShellOn), M4A1_MEMBERS(iShellOn),
M4A1_MEMBERS(usFire), M4A1_MEMBERS(usFire),
M4A1_MEMBERS(flBaseDamageSil),
}; };
member_t memberlist_tmp[] = { member_t memberlist_tmp[] = {

View File

@ -917,12 +917,14 @@ enum CFamas_Members
{ {
m_Famas_iShell = BEGIN_MEMBER_REGION(famas), m_Famas_iShell = BEGIN_MEMBER_REGION(famas),
m_Famas_iShellOn, m_Famas_iShellOn,
m_Famas_flBaseDamageBurst,
}; };
enum CUSP_Members enum CUSP_Members
{ {
m_USP_iShell = BEGIN_MEMBER_REGION(usp), m_USP_iShell = BEGIN_MEMBER_REGION(usp),
m_USP_usFire, m_USP_usFire,
m_USP_flBaseDamageSil,
}; };
enum CGLOCK18_Members enum CGLOCK18_Members
@ -963,6 +965,7 @@ enum CM4A1_Members
m_M4A1_iShell = BEGIN_MEMBER_REGION(m4a1), m_M4A1_iShell = BEGIN_MEMBER_REGION(m4a1),
m_M4A1_iShellOn, m_M4A1_iShellOn,
m_M4A1_usFire, m_M4A1_usFire,
m_M4A1_flBaseDamageSil,
}; };
enum CTMP_Members enum CTMP_Members