var gamehall_Data = gamehall_Data||{};
ConstVal.isGameHall = true;
/*
gamehall_Data.GameList = [
	{gamename:"友乐牛牛",gamedir:"niuniu",zipsize:"6.08 M",isDownload:0,gamezip:"",gameimage:"",
	gameid:"8x4l0rGjf026f60c48h0mbUAhK5vV16f",imgres:"",res_frame:"",webtype:1,game_server_http:"",
	othergametype:1,othergameurlurl:"",inAgent:null},
	{gamename:"友乐二七王",gamedir:"erqiwang",zipsize:"4.86 M",isDownload:0,gamezip:"",gameimage:"",gameid:"mWvu02tcL0dj6w0aBgD41CRYvBmxsmMa",imgres:"",res_frame:""},
	{gamename:"海南三公",gamedir:"hainansangong",zipsize:"5.01 M",isDownload:0,gamezip:"",gameimage:"",gameid:"n3d10m9rB0a85r0f9225AMj4t1dxUs31",imgres:"",res_frame:""},
	{gamename:"休闲德州",gamedir:"xxdz",zipsize:"5.61 M",isDownload:0,gamezip:"",gameimage:"",gameid:"xyyv0D9Su02ie90ga5B2bz3wmxUjateB",imgres:"",res_frame:""},
	{gamename:"扎金花",gamedir:"zhajinhua",zipsize:"5.61 M",isDownload:0,gamezip:"",gameimage:"",gameid:"bMhx0dj560ySdm0j0291zwfq0wrv8qyc",imgres:"",res_frame:""}
];
*/
gamehall_Data.GameList = [];
/*
	{
		gamename:游戏名,
		gamedir:游戏路径,
		zipsize:游戏包大小
		isDownload:是否下载,
		res_frame:[imgResList中的第几张图,第几帧] 
		imgres:单张图片资源
		gameid:游戏id
		gameimage:单张图片路径
		gameversion:游戏版本 
		category:分类
		othergameurlurl:是否为其他游戏(非黑狐开发的网页游戏) 
		inAgent:代理区域设置 
	}
*/
gamehall_Data.isSwitch = true;
gamehall_Data.isCreateGameList = false;
gamehall_Data.isSliderGameList = false;
gamehall_Data.gameIdx = 0;

gamehall_Data.gameImgList=[];
gamehall_Data.gameHallImgList = [];
//分类一 全部 
gamehall_Data.categoryOne ={
	isCreate:false,
	createLength:0,
	gameList:[],
	pageCount:0,//总共多少页
	pageTag:0,//当前页码
	isSlide:false,
	gameIdx:0,
};
//分类二 已下载
gamehall_Data.categoryTwo ={
	isCreate:false,
	createLength:0,
	gameList:[],
	pageCount:0,//总共多少页
	pageTag:0,//当前页码
	isSlide:false,
	gameIdx:0,
};
gamehall_Data.categoryThree ={
	isCreate:false,
	createLength:0,
	gameList:[],
	pageCount:0,//总共多少页
	pageTag:0,//当前页码
	isSlide:false,
	gameIdx:0,
};
gamehall_Data.categoryFour ={
	isCreate:false,
	createLength:0,
	gameList:[],
	pageCount:0,//总共多少页
	pageTag:0,//当前页码
	isSlide:false,
	gameIdx:0,
};
gamehall_Data.categoryFive ={
	isCreate:false,
	createLength:0,
	gameList:[],
	pageCount:0,//总共多少页
	pageTag:0,//当前页码
	isSlide:false,
	gameIdx:0,
};
gamehall_Data.categoryPage = 0;
//gamehall_Data.pageOneNumberLength=0;
//gamehall_Data.pageOneNumberList = [];

//gamehall_Data.pageTwoNumberLength=0;
//gamehall_Data.pageTwoNumberList = [];



gamehall_Data.pageNumberLength=0;
gamehall_Data.pageNumberList = [];


gamehall_Data.gameHallConfig = {
	topImgUrl:"",
	agentConfig:null,
	/*{
		name:"全国",
		agentCode:'A0',
		inviteCode:'A01111',
		region:[[60,70],[140,2]],
		list:[
			{
				name:"江西",
				agentCode:'B0',
				inviteCode:'B01111',
				region:[[110,30],[120,25]],
				list:[
					{
						name:"南昌",
						agentCode:'B0C0',
						inviteCode:'B0C01111',
						region:[[115,29],[116,26]],
						list:[
							{
								name:"进贤",
								agentCode:'B0C0D0',
								inviteCode:'B0C0D01111',
								region:[[115.5,28],[115.9,27]]
							},
							{
								name:"新建",
								agentCode:'B0C0D1',
								inviteCode:'B0C0D11111',
								region:[[115.1,28.8],[115.4,28.3]]
							}
						]
					}
				]
			},
			{
				name:"湖南",
				agentCode:'D1',
				inviteCode:'D11111',
				region:[[106,30],[113,25]],
				list:[
					{
						name:"长沙",
						agentCode:'D1C0',
						inviteCode:'D1C01111',
						region:[[107,29],[110,26]],
						list:[
							{
								name:"浏阳",
								agentCode:'D1C0D0',
								inviteCode:'D1C0D01111',
								region:[[109.5,28],[109.9,27]]
							},
							{
								name:"宁乡",
								agentCode:'D1C0D1',
								inviteCode:'D1C0D11111',
								region:[[107.1,28.8],[109.4,28.3]]
							}
						]
					}
				]
			}
		
		]
	}
	*/ 
	autoGame:"",//自动进入的游戏id 
}
gamehall_Data.downX = 0;
gamehall_Data.deltaX = 0;

gamehall_Data.gameidHistory = "";
gamehall_Data.hallCreateLength = 0;

gamehall_Data.isLogin = false;
gamehall_Data.gameInfo = null;

gamehall_Data.agentConfig = null;

gamehall_Data.isLocation = false;

gamehall_Data.agentConfigTemp = null;

gamehall_Data.agentListLength = 0;
gamehall_Data.agentList = [];

gamehall_Data.selectAgentSlide = false;
gamehall_Data.selectItemTagList = [];//列表 
gamehall_Data.selectItemSpList = [];//精灵列表
gamehall_Data.selectTag = 0; 
gamehall_Data.selectedAgent = null;

gamehall_Data.isAutoGame = false;

