有关数据保存在data_zh_CN_v_568[1].xml
<environment>
<postUrl_qz url="http://farm.qzone.qq.com/cgi-bin/" />
<postUrl_xy_pengyou url="http://farm.xiaoyou.pengyou.com/cgi-bin/" />
<postUrl_xy_qq url="http://farm.xiaoyou.qq.com/cgi-bin/" /> <fbRequest url="http://pay.qzone.qq.com/cgi-bin/cgi_app_buy?" />
<cftRequest url="http://pay.qzone.qq.com/cgi-bin/cgi_app_bank_buy" />
<vipIntroduce url="http://vip.qzone.com/priv_all" />
<defaultPhoto url="http://imgcache.qq.com/qzone_v4/client/userinfo_icon/5001.gif" />
<speedReport url="http://isdspeed.qq.com/cgi-bin/r.cgi" />
<items maxid="90012" />
</environment>
<secondList type="json">
<![CDATA[
{"secondList" : [{"id":"RequestErrorBG", "src":"http://appimg.qq.com/happyfarm/module/ui/main/RequestError_2.swf", "className":"RequestErrorBG"},
{"id":"redUpBanner", "src":"http://appimg.qq.com/happyfarm/module/ui/main/redUpBannerNew_v_5.swf", "className":"redUpBanner"},
{"id":"redup", "src":"http://appimg.qq.com/happyfarm/module/ui/main/RedUp.swf", "className":"Red"},
{"id":"help", "src":"http://appimg.qq.com/happyfarm/module/ui/main/outswf/help.swf"},
{"id":"fresherTask", "src":"http://appimg.qq.com/happyfarm/module/task_v_3.swf", "className":"taskAwokeButton"},
{"id":"98088", "src":"http://appimg.qq.com/happyfarm/module/ui/farm/diy/98088.jpg"},
{"id":"98088b", "src":"http://appimg.qq.com/happyfarm/module/ui/farm/diy/98088b.jpg"},
{"id":"guide", "src":"http://appimg.qq.com/happyfarm/guide_v_1.swf"}
]}
]]>
</secondList>
public function getSecondUrl(_arg1:String):String{
var _local3:*;
if (this.m_configDataModel == null){
return ("");
};
var _local2:Array = (this.m_configDataModel.getData("secondList") as Array);
if ((((_local2 == null)) || ((_local2.length == 0)))){
return ("");
};
for each (_local3 in _local2) {
if (_local3["id"] == _arg1){
return (this.replaceAppImg(_local3["src"]));
};
};
return ("");
}
public function getCropByID(_arg1:String):Object{
var _local3:*;
if (this.m_configDataModel == null){
return (null);
};
var _local2:Array = (this.m_configDataModel.getData("crops") as Array);
if (_local2 == null){
return (null);
};
for each (_local3 in _local2) {
if (_local3["id"] == _arg1){
return (_local3);
};
};
return (null);
}
{"crops": [
{"asset_id": {"m": "2252", "m1": "5478", "m2": "5479", "m3": "5480", "s": "2253"}, "cropGrow": "14400,28800,46800,64800,86400,2000000000", "eo": 24, "gossip": "", "harvestNum": 2, "id": 1, "insect": "0,0,0,0,0,0|50,10,65,-30,110,-2|50,10,65,-30,110,-2|0,0,0,0,0,0", "lv": 10, "name": "草莓", "nextText": "种子,发芽,小叶子,大叶子,开花,成熟", "offsetX": 0, "offsetY": 0, "qd": 0, "sr": 51, "tip": "小贴士:草莓(英文:strawberry)外观呈浆果状圆体或心形,鲜美红嫩,果肉多汁,酸甜可口,香味浓郁,被称为水果皇后。", "type": 1, "vipDesc": ""},
{"asset_id": {"m": "2254", "m1": "5481", "m2": "5482", "m3": "5483", "s": "2255"}, "cropGrow": "7200,14400,25200,36000,36000,2000000000", "eo": 16, "gossip": "", "harvestNum": 1, "id": 2, "insect": "0,0,0,0,0,0|74,8,92,2,109,33|74,8,92,2,109,33|0,0,0,0,0,0", "isRestaurant": 1, "lv": 0, "name": "白萝卜", "nextText": "种子,发芽,小叶子,大叶子,成熟,成熟", "offsetX": 0, "offsetY": 0, "qd": 0, "sr": 63, "tip": "小贴士:白萝卜(英文:radish)是一种非常常见的蔬菜,生食熟食均可,其味略带辛辣味。白萝卜不能与人参、西洋参一起吃。", "type": 1, "vipDesc": ""},
{"item_info": [
{"FBPrice": 0, "YFBPrice": 0, "asset_id": {"b": "947", "m": "945", "s": "946"}, "desc": "默认的", "exp": 0, "id": 1, "isNew": 0, "level": 0, "name": "田园风光背景", "price": 0, "tips": "", "type": 1, "valid": 0},
{"FBPrice": 0, "YFBPrice": 0, "asset_id": {"b": "950", "m": "948", "s": "949"}, "desc": "默认的", "exp": 0, "id": 2, "level": 0, "name": "茅草屋", "price": 0, "type": 2, "valid": 0},