hxp
4 天以前 c3bbd3b0263fc6c2127cd9f072f497f46f98758b
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/CommFunc.py
@@ -69,7 +69,14 @@
    if space:
        hex_str = ' '.join(hex_str[i:i+2] for i in range(0, len(hex_str), 2))
    return hex_str
def GetPackHead(clientPack):
    if hasattr(clientPack, "Head"):
        headStr = "%02x%02x" % (clientPack.Head.Cmd, clientPack.Head.SubCmd)
    else:
        headStr = "%02x%02x" % (clientPack.Cmd, clientPack.SubCmd)
    return headStr.upper()
#获取异常信息#(try:...except:..GetExceptionInfo())
## 
#  @param 参数