mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-04-10 03:30:03 +03:00
API: Implemented CBasePlayer::Observer_FindNextPlayer() (#1065)
This commit is contained in:
parent
312dc3eb84
commit
797c265db3
@ -412,6 +412,11 @@ EXT_FUNC void CCSPlayer::Observer_SetMode(int iMode)
|
||||
BasePlayer()->Observer_SetMode(iMode);
|
||||
}
|
||||
|
||||
EXT_FUNC void CCSPlayer::Observer_FindNextPlayer(bool bReverse, const char *name)
|
||||
{
|
||||
BasePlayer()->Observer_FindNextPlayer(bReverse, name);
|
||||
}
|
||||
|
||||
EXT_FUNC bool CCSPlayer::SelectSpawnSpot(const char *pEntClassName, CBaseEntity *&pSpot)
|
||||
{
|
||||
return BasePlayer()->SelectSpawnSpot(pEntClassName, pSpot);
|
||||
|
@ -117,6 +117,7 @@ public:
|
||||
virtual void Reset();
|
||||
virtual void OnSpawnEquip(bool addDefault = true, bool equipGame = true);
|
||||
virtual void SetScoreboardAttributes(CBasePlayer *destination = nullptr);
|
||||
virtual void Observer_FindNextPlayer(bool bReverse, const char *name = nullptr);
|
||||
|
||||
bool IsPlayerDominated(int iPlayerIndex) const;
|
||||
void SetPlayerDominated(CBasePlayer *pPlayer, bool bDominated);
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <API/CSInterfaces.h>
|
||||
|
||||
#define REGAMEDLL_API_VERSION_MAJOR 5
|
||||
#define REGAMEDLL_API_VERSION_MINOR 28
|
||||
#define REGAMEDLL_API_VERSION_MINOR 29
|
||||
|
||||
// CBasePlayer::Spawn hook
|
||||
typedef IHookChainClass<void, class CBasePlayer> IReGameHook_CBasePlayer_Spawn;
|
||||
|
@ -6,5 +6,5 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 28
|
||||
#define VERSION_MINOR 29
|
||||
#define VERSION_MAINTENANCE 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user