#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
##@package GM.Commands.RealmLVUP
|
#
|
# @todo:¾³½çÌáÉý
|
# @author hxp
|
# @date 2017-11-16
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: ¾³½çÌáÉý
|
#
|
#-------------------------------------------------------------------------------
|
#"""Version = 2017-11-16 21:00"""
|
#-------------------------------------------------------------------------------
|
|
import GameWorld
|
import PlayerPrestigeSys
|
|
|
## Â߼ʵÏÖ
|
# @param curPlayer
|
# @param cmdList ²ÎÊýÁбí
|
# @return None
|
def OnExec(curPlayer, cmdList):
|
isOK = PlayerPrestigeSys.DoRealmLVUpLogic(curPlayer)
|
curRealmLV = curPlayer.GetOfficialRank()
|
if isOK:
|
GameWorld.DebugAnswer(curPlayer, "ÌáÉý¾³½ç³É¹¦£¡GetOfficialRank=%s" % curRealmLV)
|
else:
|
GameWorld.DebugAnswer(curPlayer, "ÌáÉý¾³½çʧ°Ü£¡GetOfficialRank=%s" % curRealmLV)
|
return
|