mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
25 lines
582 B
C++
25 lines
582 B
C++
|
|
#ifndef GAME_UI_CGCOOLDOWN_HPP
|
||
|
|
#define GAME_UI_CGCOOLDOWN_HPP
|
||
|
|
|
||
|
|
#include "ui/CSimpleFrame.hpp"
|
||
|
|
#include "ui/CSimpleTop.hpp"
|
||
|
|
|
||
|
|
class CGCooldown : public CSimpleFrame {
|
||
|
|
public:
|
||
|
|
// Static variables
|
||
|
|
static int32_t s_metatable;
|
||
|
|
|
||
|
|
// Static functions
|
||
|
|
static CSimpleFrame* Create(CSimpleFrame* parent);
|
||
|
|
static void CreateScriptMetaTable();
|
||
|
|
static void RegisterScriptMethods(lua_State* L);
|
||
|
|
|
||
|
|
// Virtual member functions
|
||
|
|
virtual int32_t GetScriptMetaTable();
|
||
|
|
|
||
|
|
// Member functions
|
||
|
|
CGCooldown(CSimpleFrame* parent);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // GAME_UI_CGCOOLDOWN_HPP
|