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
35
#!/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 GameWorldProcess
import PlayerDBGSEvent
import GameWorld
#---------------------------------------------------------------------
 
## Ö´ÐÐÂß¼­
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param cmdList ²ÎÊý
#  @return None
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnExec(curPlayer, cmdList):
    GameWorld.DebugAnswer(curPlayer, '¿ª·þÐÇÆÚ%s, ÌìÊý:%s ÊÇ·ñºÏ·þ:%s, ºÏ·þÌìÊý:%s'%\
                          (GameWorldProcess.GetOpenServerWeekday(), 
                           PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ServerDay) + 1,
                           PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_IsMixServer),
                           PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_MixServerDay) + 1))
    return