订阅本站

SyntaxHighlighter

管理员 发表于 2011-9-9 分类 嘀咕 | 发表评论
		PlayerMcInfo playerMcInfo=gamePlayer.getPlayerMcInfo();
		if(playerMcInfo==null)playerMcInfo=new PlayerMcInfo();
		Map frendERcordMap=playerMcInfo.getFriendERecordMap();
		if(frendERcordMap==null) {
			frendERcordMap=getFrendERcordMap(gamePlayer,playerMcInfo);
			if(frendERcordMap==null){
				frendERcordMap=new HashMap();
			}
			frendERcordMap.put(key, value);
			playerMcInfo.setFriendERecordMap(frendERcordMap);
			playerMcInfo.update();
		}else{
			frendERcordMap.put(key, value);
			playerMcInfo.setFriendERecordMap(frendERcordMap);
			playerMcInfo.update();
		}

[使用Ctrl+回车快速提交]