#!/usr/bin/python
|
# -*- coding: GBK -*-
|
|
##@package GetPlayerDetail
|
# »ñÈ¡ËùÓÐÍæ¼ÒÏêϸÐÅÏ¢
|
#
|
# @author Administrator
|
# @date 2010-3-31
|
# @version 1.0
|
#
|
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
# VER = "2010-05-14 9:30" zhengyang Ìí¼Ó×¢ÊÍ
|
#
|
# Ä£¿éÏêϸ˵
|
#×÷ÕߣºAdministrator
|
import LogUI
|
import Lang
|
import IPY_GameServer
|
import GameWorld
|
|
#
|
#2008-10-13 ÏÂÎç02:20:21
|
## Ö´ÐÐÂß¼
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param playerList []
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(curPlayer,playerList):
|
GameWorld.DebugAnswer(curPlayer, '->ÕʺÅ\tÈËÃû\tµÈ¼¶')
|
for i in range(0, GameWorld.GetPlayerManager().GetPlayerCount()):
|
curTagPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(i)
|
if curTagPlayer.GetPlayerID() == 0:
|
continue
|
GameWorld.DebugAnswer(curPlayer, '->%s\t%s\t%s'%(
|
curTagPlayer.GetAccID(), curTagPlayer.GetName(), curTagPlayer.GetLV()))
|
|
GameWorld.DebugAnswer(curPlayer, '->Over')
|
return
|