1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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