1
This commit is contained in:
parent
975bc60598
commit
9bb20edbe0
@ -30,6 +30,7 @@ bool Global::IsTimeToReset(int time)
|
||||
int Global::g_nowtime = time(nullptr);
|
||||
int Global::g_time_zone = 8;
|
||||
bool Global::g_shutdown = false;
|
||||
ColliderComponent* Global::last_collider = nullptr;
|
||||
|
||||
bool IsValidSlotId(int slot_id)
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
extern int g_hint_flags;
|
||||
|
||||
class ColliderComponent;
|
||||
class Global : public a8::Singleton<Global>
|
||||
{
|
||||
private:
|
||||
@ -17,6 +18,7 @@ class Global : public a8::Singleton<Global>
|
||||
static int g_nowtime;
|
||||
static int g_time_zone; // 默认东八区
|
||||
static bool g_shutdown;
|
||||
static ColliderComponent* last_collider;
|
||||
};
|
||||
|
||||
bool IsValidSlotId(int slot_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user