#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
##@package GM.Commands.SetHorsePetPlayerCount
|
#
|
# @todo:ÉèÖÃÆï³èÕù¶á²ÎÓëÍæ¼ÒÊý
|
# @author hxp
|
# @date 2018-09-18
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: ÉèÖÃÆï³èÕù¶á²ÎÓëÍæ¼ÒÊý
|
#
|
#-------------------------------------------------------------------------------
|
#"""Version = 2018-09-18 16:30"""
|
#-------------------------------------------------------------------------------
|
|
import GameWorld
|
import ShareDefine
|
|
#-------------------------------------------------------------------------------
|
## Ö´ÐÐÂß¼
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param cmdList ²ÎÊý
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(curPlayer, cmdList):
|
|
if not cmdList:
|
GameWorld.DebugAnswer(curPlayer, "SetHorsePetPlayerCount ²ÎÓëÈËÊý")
|
return
|
|
playerCount = cmdList[0]
|
GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_HorsePetRobBossPlayerCount, playerCount)
|
GameWorld.DebugAnswer(curPlayer, "ÉèÖÃÆï³èÕù¶áÓÐЧ²ÎÓëÈËÊý: %s" % playerCount)
|
return
|
|
|
|