#!/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
|
|