Core/InstanceSaveMgr: Statically define ResetTimeDelay as class member instead of redefining it in different functions
--HG-- branch : trunk
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __InstanceSaveMgr_H
|
||||
#define __InstanceSaveMgr_H
|
||||
#ifndef _INSTANCESAVEMGR_H
|
||||
#define _INSTANCESAVEMGR_H
|
||||
|
||||
#include "Define.h"
|
||||
#include <ace/Singleton.h>
|
||||
@@ -176,6 +176,9 @@ class InstanceSaveManager
|
||||
uint32 GetNumBoundPlayersTotal();
|
||||
uint32 GetNumBoundGroupsTotal();
|
||||
|
||||
protected:
|
||||
static uint16 ResetTimeDelay[];
|
||||
|
||||
private:
|
||||
|
||||
void _ResetOrWarnAll(uint32 mapid, Difficulty difficulty, bool warn, uint32 timeleft);
|
||||
|
||||
Reference in New Issue
Block a user