#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#---------------------------------------------------------------------
|
#
|
#---------------------------------------------------------------------
|
##@package PrintTitle
|
# @todo: ¸øÍæ¼Ò³ÆºÅ
|
#
|
# @author: Alee
|
# @date 2014-11-14 20:30
|
# @version 1.0
|
#
|
# @note: ´òÓ¡³ÆºÅ
|
#---------------------------------------------------------------------
|
"""Version = 2014-11-14 20:30"""
|
#---------------------------------------------------------------------
|
import GameWorld
|
#---------------------------------------------------------------------
|
#Â߼ʵÏÖ
|
## GMÃüÁîÖ´ÐÐÈë¿Ú
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param msgList ²ÎÊýÁбí
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(curPlayer, msgList):
|
allIDStr = ""
|
gradCnt = curPlayer.GetDienstgradManager().GetCount()
|
for i in xrange(gradCnt):
|
curGradID = curPlayer.GetDienstgradManager().AtGradID(i)
|
if curGradID == 0:
|
continue
|
allIDStr += "%s," % curGradID
|
if not allIDStr:
|
GameWorld.DebugAnswer(curPlayer, "Íæ¼ÒûÓгƺţ¡")
|
else:
|
GameWorld.DebugAnswer(curPlayer, "³ÆºÅ:%s" % (allIDStr))
|
return
|