Skip to content

Commit

Permalink
CBreakable:: hooks adjust * and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lozatto committed Aug 9, 2024
1 parent 913fdda commit 6a18daf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions regamedll/dlls/API/CAPI_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ typedef IHookChainRegistryClassImpl<void, CBasePlayer, BOOL> CReGameHookRegistry
typedef IHookChainClassImpl<void, CBreakable> CReGameHook_CBreakable_Spawn;
typedef IHookChainRegistryClassImpl<void, CBreakable> CReGameHookRegistry_CBreakable_Spawn;

// CBreakable::Spawn hook
// CBreakable::Restart hook
typedef IHookChainClassImpl<void, CBreakable> CReGameHook_CBreakable_Restart;
typedef IHookChainRegistryClassImpl<void, CBreakable> CReGameHookRegistry_CBreakable_Restart;

Expand Down Expand Up @@ -1107,13 +1107,13 @@ class CReGameHookchains: public IReGameHookchains {
virtual IReGameHookRegistry_CBasePlayer_Observer_Think *CBasePlayer_Observer_Think();
virtual IReGameHookRegistry_CBasePlayer_RemoveAllItems *CBasePlayer_RemoveAllItems();

virtual IReGameHookRegistry_CBreakable_Spawn* CBreakable_Spawn();
virtual IReGameHookRegistry_CBreakable_Restart* CBreakable_Restart();
virtual IReGameHookRegistry_CBreakable_TraceAttack* CBreakable_TraceAttack();
virtual IReGameHookRegistry_CBreakable_TakeDamage* CBreakable_TakeDamage();
virtual IReGameHookRegistry_CBreakable_Use* CBreakable_Use();
virtual IReGameHookRegistry_CBreakable_Die* CBreakable_Die();
virtual IReGameHookRegistry_CBreakable_BreakTouch* CBreakable_BreakTouch();
virtual IReGameHookRegistry_CBreakable_Spawn *CBreakable_Spawn();
virtual IReGameHookRegistry_CBreakable_Restart *CBreakable_Restart();
virtual IReGameHookRegistry_CBreakable_TraceAttack *CBreakable_TraceAttack();
virtual IReGameHookRegistry_CBreakable_TakeDamage *CBreakable_TakeDamage();
virtual IReGameHookRegistry_CBreakable_Use *CBreakable_Use();
virtual IReGameHookRegistry_CBreakable_Die *CBreakable_Die();
virtual IReGameHookRegistry_CBreakable_BreakTouch *CBreakable_BreakTouch();
};

extern CReGameHookchains g_ReGameHookchains;
Expand Down
14 changes: 7 additions & 7 deletions regamedll/public/regamedll/regamedll_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -819,13 +819,13 @@ class IReGameHookchains {
virtual IReGameHookRegistry_CBasePlayer_Observer_Think *CBasePlayer_Observer_Think() = 0;
virtual IReGameHookRegistry_CBasePlayer_RemoveAllItems *CBasePlayer_RemoveAllItems() = 0;

virtual IReGameHookRegistry_CBreakable_Spawn* CBreakable_Spawn() = 0;
virtual IReGameHookRegistry_CBreakable_Restart* CBreakable_Restart() = 0;
virtual IReGameHookRegistry_CBreakable_TraceAttack* CBreakable_TraceAttack() = 0;
virtual IReGameHookRegistry_CBreakable_TakeDamage* CBreakable_TakeDamage() = 0;
virtual IReGameHookRegistry_CBreakable_Use* CBreakable_Use() = 0;
virtual IReGameHookRegistry_CBreakable_Die* CBreakable_Die() = 0;
virtual IReGameHookRegistry_CBreakable_BreakTouch* CBreakable_BreakTouch() = 0;
virtual IReGameHookRegistry_CBreakable_Spawn *CBreakable_Spawn() = 0;
virtual IReGameHookRegistry_CBreakable_Restart *CBreakable_Restart() = 0;
virtual IReGameHookRegistry_CBreakable_TraceAttack *CBreakable_TraceAttack() = 0;
virtual IReGameHookRegistry_CBreakable_TakeDamage *CBreakable_TakeDamage() = 0;
virtual IReGameHookRegistry_CBreakable_Use *CBreakable_Use() = 0;
virtual IReGameHookRegistry_CBreakable_Die *CBreakable_Die() = 0;
virtual IReGameHookRegistry_CBreakable_BreakTouch *CBreakable_BreakTouch() = 0;
};

struct ReGameFuncs_t {
Expand Down

0 comments on commit 6a18daf

Please sign in to comment.