This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/playerresource.h
2017-12-02 17:47:47 +03:00

29 lines
499 B
C++

/*
* playerresource.h
*
* Created on: Nov 13, 2016
* Author: nullifiedcat
*/
#ifndef PLAYERRESOURCE_H_
#define PLAYERRESOURCE_H_
class CachedEntity;
class TFPlayerResource
{
public:
void Update();
int GetMaxHealth(CachedEntity *player);
int GetMaxBuffedHealth(CachedEntity *player);
int GetClass(CachedEntity *player);
int GetTeam(int idx);
int GetScore(int idx);
int entity;
};
extern TFPlayerResource *g_pPlayerResource;
#endif /* PLAYERRESOURCE_H_ */