Unverified Commit 8647cd08 authored by shel's avatar shel Committed by GitHub

push (#168)

Co-authored-by: default avatarshel <2@shelru.ru>
parent 6d40db5c
majorVersion=5
minorVersion=14
minorVersion=15
maintenanceVersion=0
......@@ -5843,6 +5843,46 @@ enum CKnife_Members
* Set params: set_member(index, member, value);
*/
m_Knife_usKnife,
/*
* Description: -
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Knife_flStabBaseDamage,
/*
* Description: -
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Knife_flSwingBaseDamage,
/*
* Description: -
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Knife_flSwingBaseDamage_Fast,
/*
* Description: -
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Knife_flStabDistance,
/*
* Description: -
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Knife_flSwingDistance,
};
/**
......
......@@ -39,7 +39,7 @@
#include <API/CSInterfaces.h>
#define REGAMEDLL_API_VERSION_MAJOR 5
#define REGAMEDLL_API_VERSION_MINOR 17
#define REGAMEDLL_API_VERSION_MINOR 18
// CBasePlayer::Spawn hook
typedef IHookChainClass<void, class CBasePlayer> IReGameHook_CBasePlayer_Spawn;
......
......@@ -580,6 +580,11 @@ public:
public:
TraceResult m_trHit;
unsigned short m_usKnife;
float m_flStabBaseDamage;
float m_flSwingBaseDamage;
float m_flSwingBaseDamage_Fast;
float m_flStabDistance;
float m_flSwingDistance;
};
class CM249: public CBasePlayerWeapon {
......
......@@ -984,6 +984,11 @@ member_t memberlist_ak47[] = {
member_t memberlist_knife[] = {
KNIFE_MEMBERS(trHit),
KNIFE_MEMBERS(usKnife),
KNIFE_MEMBERS(flStabBaseDamage),
KNIFE_MEMBERS(flSwingBaseDamage),
KNIFE_MEMBERS(flSwingBaseDamage_Fast),
KNIFE_MEMBERS(flStabDistance),
KNIFE_MEMBERS(flSwingDistance),
};
member_t memberlist_p90[] = {
......
......@@ -1014,6 +1014,11 @@ enum CKnife_Members
{
m_Knife_trHit = BEGIN_MEMBER_REGION(knife),
m_Knife_usKnife,
m_Knife_flStabBaseDamage,
m_Knife_flSwingBaseDamage,
m_Knife_flSwingBaseDamage_Fast,
m_Knife_flStabDistance,
m_Knife_flSwingDistance,
};
enum CP90_Members
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment