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
38
39
40
41
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package Script.GM.GMTExec.ChampionshipErrorDo
#
# @todo:¿ç·þÅÅλÈü״̬´íÎó´¦Àí
# @author hxp
# @date 2022-09-26
# @version 1.0
#
# ÏêϸÃèÊö: ¿ç·þÅÅλÈü״̬´íÎó´¦Àí
#
#-------------------------------------------------------------------------------
#"""Version = 2022-09-26 19:00"""
#-------------------------------------------------------------------------------
 
def runMyCMD(exec_locals):
    ''' ÔËÐÐÃüÁÊý
    @param exec_locals: GMT_Execfile Ä£¿éÖеĠDoLogic º¯Êý locals()
    
    import ÆäËûÄ£¿éÐèҪдÔڴ˺¯ÊýÀ²»È»ÎÞ·¨ÒýÓõ½
    '''
    import GameWorld
    import CrossChampionship
    
    orderId = exec_locals["orderId"]
    cmdInfo = exec_locals["cmdInfo"]
    resultDict = exec_locals["resultDict"] # ½¨Òé¶¼½øÐиüнá¹û×Öµä¼Ç¼Ïêϸ´¦ÀíÐÅÏ¢£¬GMT_Execfile Ä£¿é»áͳһдÈëÁ÷Ïò
    
    # ÒÔÏÂΪÏêϸ´¦ÀíÂß¼­
    GameWorld.Log("This is GameServer GMT_Execfile run %s. orderId=%s" % (cmdInfo, orderId))
    
    ret = CrossChampionship.ChampionshipErrorDo()
    resultDict.update({"ret":ret})
    return
 
exec_locals = locals()
if exec_locals.get("cmdInfo"):
    runMyCMD(exec_locals)