hxp
2025-06-12 edc3910a9d090e5df4deb2dbc37709a740375938
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
36
37
#!/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