| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| ##@package GM.Commands.GMT_RefixWorldLV  | 
| #  | 
| # @todo:¾ÀÕýÊÀ½çµÈ¼¶  | 
| # @author hxp  | 
| # @date 2021-03-19  | 
| # @version 1.0  | 
| #  | 
| # ÏêϸÃèÊö: ¾ÀÕýÊÀ½çµÈ¼¶  | 
| #  | 
| #-------------------------------------------------------------------------------  | 
| #"""Version = 2021-03-19 17:00"""  | 
| #-------------------------------------------------------------------------------  | 
|   | 
| import GMCommon  | 
| import ShareDefine  | 
| import PlayerDBGSEvent  | 
| import GameWorldAverageLv  | 
|   | 
| ## Ö´ÐÐÂß¼  | 
| #  @param curPlayer µ±Ç°Íæ¼Ò  | 
| #  @param gmCmdDict: ÃüÁî×Öµä  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def OnExec(orderId, gmCmdDict):  | 
|       | 
|     beforeWorldLV = PlayerDBGSEvent.GetDBGSTrig_ByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)  | 
|       | 
|     # ÖØÖÃÈ»ºóÖ±½ÓÖØË¢  | 
|     PlayerDBGSEvent.SetDBGSTrig_ByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv, 0)      | 
|     GameWorldAverageLv.OpenWorldAverageLv()  | 
|       | 
|     afterWorldLV = PlayerDBGSEvent.GetDBGSTrig_ByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)  | 
|       | 
|     retMsg = {"beforeWorldLV":beforeWorldLV, "afterWorldLV":afterWorldLV}  | 
|     GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success, retMsg)  | 
|     return  | 
|       | 
|       | 
|       | 
|       | 
|      | 
|      | 
|      | 
|      | 
|      | 
|      | 
|      | 
|      | 
|       |