#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#
|
#
|
##@package GetOpenServerDay.py
|
#
|
# @todo:»ñÈ¡¿ª·þÌìÊý
|
#
|
# @author jiang
|
# @date 2012-05-07
|
# @version 1.1
|
# @note:
|
# @change: "2014-12-01 12:30" hxp Ôö¼ÓºÏ·þ״̬¼°ÌìÊý
|
#
|
#------------------------------------------------------------------------------
|
"""Version = 2014-12-01 12:30"""
|
#------------------------------------------------------------------------------
|
import PlayerDBGSEvent
|
import GameWorld
|
#---------------------------------------------------------------------
|
|
## Ö´ÐÐÂß¼
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param cmdList ²ÎÊý
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(curPlayer, cmdList):
|
|
day = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ServerDay) + 1
|
isMixServer = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_IsMixServer)
|
mixServerDay = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_MixServerDay) + 1
|
GameWorld.DebugAnswer(curPlayer, 'µ±Ç°¿ª·þÌìÊý:%s, ÊÇ·ñºÏ·þ:%s, µ±Ç°ºÏ·þÌìÊý:%s' % (day, isMixServer, mixServerDay))
|
return
|
|