#!/usr/bin/python
|
# -*- coding: GBK -*-
|
|
##@package ParseItemUserData
|
# C++ÓÃ, ½Å±¾²»ÓÃ
|
#
|
# @author ÎÞ
|
# @date 2010-4-30
|
# @version 1.0
|
#
|
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
# VER = "2010-05-12 18:30" zhengyang Ìí¼Ó×¢ÊÍ
|
#
|
# Ä£¿éÏêϸ˵Ã÷
|
|
#µ¼Èë
|
import GameWorld
|
#---------------------------------------------------------------------
|
#È«¾Ö±äÁ¿
|
#---------------------------------------------------------------------
|
|
#---------------------------------------------------------------------
|
#Â߼ʵÏÖ
|
## ½âÎöÊý¾Ý
|
# @param PackData
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def ParseItemUserData( PackData ):
|
if not PackData:
|
GameWorld.Log( '###ParseItemUserData err = %s'%( PackData ) )
|
return {}
|
|
return eval( PackData )
|