初步修复
This commit is contained in:
parent
8fc4357cc6
commit
e4714f3f0e
46705 changed files with 12004901 additions and 0 deletions
22
Server/ServerCommon/CloseSystem.h
Normal file
22
Server/ServerCommon/CloseSystem.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
class CCloseSystem
|
||||
{
|
||||
public:
|
||||
CCloseSystem();
|
||||
~CCloseSystem();
|
||||
|
||||
bool AddClose(__time64_t _tOderedTime, __time64_t _tCloseTime);
|
||||
bool CancelClose();
|
||||
|
||||
bool IsClosing(__time64_t &_tOderedTime, __time64_t &_tCloseTime);
|
||||
|
||||
private:
|
||||
CSyncLock m_Sync;
|
||||
|
||||
__time64_t m_tOderedTime;
|
||||
__time64_t m_tCloseTime;
|
||||
};
|
||||
|
||||
extern CCloseSystem * g_pCloseSystem;
|
||||
Loading…
Add table
Add a link
Reference in a new issue