238 lines
20 KiB
Lua
238 lines
20 KiB
Lua
--文件是自动生成,请勿手动修改.来自数据文件:bossnew_HorseBoss
|
|
local L_CompressMaxColumn = 3
|
|
local L_CompressData = {
|
|
1762419765343209,5805787705,2823043051897072,
|
|
--1001,雪狼,1,1,745,200,19001,1,3,90,1,0,0_8000051;0_8000275;0_8000499;0_8000723;0_8000035;0_8000259;1_8000051;1_8000275;1_8000499;1_8000723;1_8000035;1_8000259;;2_8000051;2_8000275;2_8000499;2_8000723;2_8000035;2_8000259;3_8000051;3_8000275;3_8000499;3_8000723;3_8000035;3_8000259;,61003,1,55_19,60,,,1_60_60,,1,0,,
|
|
882836232938474,5805787706,2823043051897072,
|
|
--1002,天狗,1,1,751,100,19002,1,3,90,1,0,0_8000051;0_8000275;0_8000499;0_8000723;0_8000035;0_8000259;1_8000051;1_8000275;1_8000499;1_8000723;1_8000035;1_8000259;;2_8000051;2_8000275;2_8000499;2_8000723;2_8000035;2_8000259;3_8000051;3_8000275;3_8000499;3_8000723;3_8000035;3_8000259;,61003,1,55_19,60,,,1_60_60,,1,0,,
|
|
2641857268888555,5805787707,2823043051897072,
|
|
--1003,骨蛛,1,1,705,300,19003,1,3,90,1,0,0_8000051;0_8000275;0_8000499;0_8000723;0_8000035;0_8000259;1_8000051;1_8000275;1_8000499;1_8000723;1_8000035;1_8000259;;2_8000051;2_8000275;2_8000499;2_8000723;2_8000035;2_8000259;3_8000051;3_8000275;3_8000499;3_8000723;3_8000035;3_8000259;,61003,1,55_19,60,,,1_60_60,,1,0,,
|
|
2202056912749548,1425797509368380,2823043051897077,
|
|
--1004,幽犬,1,1,706,250,19004,1,4,90,1,20748,0_8000100;0_8000324;0_8000548;0_8000772;0_8000052;0_8000276;1_8000100;1_8000324;1_8000548;1_8000772;1_8000052;1_8000276;;2_8000100;2_8000324;2_8000548;2_8000772;2_8000052;2_8000276;3_8000100;3_8000324;3_8000548;3_8000772;3_8000052;3_8000276;,61003,1,55_19,180,,,1_180_180,,1,0,,
|
|
487102241268717,1961809427909181,2823043051897077,
|
|
--1005,三首凤,1,1,772,55,19005,1,4,90,1,28548,0_8000100;0_8000324;0_8000548;0_8000772;0_8000052;0_8000276;1_8000100;1_8000324;1_8000548;1_8000772;1_8000052;1_8000276;;2_8000100;2_8000324;2_8000548;2_8000772;2_8000052;2_8000276;3_8000100;3_8000324;3_8000548;3_8000772;3_8000052;3_8000276;,61003,1,55_19,180,,,1_180_180,,1,0,,
|
|
619030723298286,2648385719978558,2823043051897077,
|
|
--1006,焚天,1,1,769,70,19006,1,4,90,1,38539,0_8000100;0_8000324;0_8000548;0_8000772;0_8000052;0_8000276;1_8000100;1_8000324;1_8000548;1_8000772;1_8000052;1_8000276;;2_8000100;2_8000324;2_8000548;2_8000772;2_8000052;2_8000276;3_8000100;3_8000324;3_8000548;3_8000772;3_8000052;3_8000276;,61003,1,55_19,180,,,1_180_180,,1,0,,
|
|
882943607141359,3363961631492671,2823043051897080,
|
|
--1007,霸下,1,1,776,100,19007,1,5,90,1,48952,0_8000101;0_8000325;0_8000549;0_8000773;0_8000053;0_8000277;1_8000101;1_8000325;1_8000549;1_8000773;1_8000053;1_8000277;;2_8000101;2_8000325;2_8000549;2_8000773;2_8000053;2_8000277;3_8000101;3_8000325;3_8000549;3_8000773;3_8000053;3_8000277;,61003,1,55_19,300,,,1_300_300,,1,0,,
|
|
1322537804862448,4793670344985152,2823043051897080,
|
|
--1008,屠戮,1,1,727,150,19008,1,5,90,1,69757,0_8000101;0_8000325;0_8000549;0_8000773;0_8000053;0_8000277;1_8000101;1_8000325;1_8000549;1_8000773;1_8000053;1_8000277;;2_8000101;2_8000325;2_8000549;2_8000773;2_8000053;2_8000277;3_8000101;3_8000325;3_8000549;3_8000773;3_8000053;3_8000277;,61003,1,55_19,300,,,1_300_300,,1,0,,
|
|
1058891237401585,6324327969802817,2823043051897080,
|
|
--1009,凶皇,1,1,782,120,19009,1,5,90,1,92031,0_8000101;0_8000325;0_8000549;0_8000773;0_8000053;0_8000277;1_8000101;1_8000325;1_8000549;1_8000773;1_8000053;1_8000277;;2_8000101;2_8000325;2_8000549;2_8000773;2_8000053;2_8000277;3_8000101;3_8000325;3_8000549;3_8000773;3_8000053;3_8000277;,61003,1,55_19,300,,,1_300_300,,1,0,,
|
|
882819053106162,7945562160187970,2823043051897084,
|
|
--1010,机雀,1,1,747,100,19010,1,6,90,2,115623,0_8000102;0_8000326;0_8000550;0_8000774;0_8000054;0_8000278;1_8000102;1_8000326;1_8000550;1_8000774;1_8000054;1_8000278;;2_8000102;2_8000326;2_8000550;2_8000774;2_8000054;2_8000278;3_8000102;3_8000326;3_8000550;3_8000774;3_8000054;3_8000278;,61003,1,55_19,420,,,1_420_420,,1,0,,
|
|
1322627999192051,9709728566954563,2823043051897084,
|
|
--1011,号啕,1,1,748,150,19011,1,6,90,2,141295,0_8000102;0_8000326;0_8000550;0_8000774;0_8000054;0_8000278;1_8000102;1_8000326;1_8000550;1_8000774;1_8000054;1_8000278;;2_8000102;2_8000326;2_8000550;2_8000774;2_8000054;2_8000278;3_8000102;3_8000326;3_8000550;3_8000774;3_8000054;3_8000278;,61003,1,55_19,420,,,1_420_420,,1,0,,
|
|
1762295211353076,11830274180074052,2823043051897084,
|
|
--1012,雪鹰,1,1,716,200,19012,1,6,90,2,172153,0_8000102;0_8000326;0_8000550;0_8000774;0_8000054;0_8000278;1_8000102;1_8000326;1_8000550;1_8000774;1_8000054;1_8000278;;2_8000102;2_8000326;2_8000550;2_8000774;2_8000054;2_8000278;3_8000102;3_8000326;3_8000550;3_8000774;3_8000054;3_8000278;,61003,1,55_19,420,,,1_420_420,,1,0,,
|
|
882952197108725,14687767461972549,2823043051897088,
|
|
--1013,媚毒,1,1,778,100,19013,1,7,90,2,213735,0_8000103;0_8000327;0_8000551;0_8000775;0_8000055;0_8000279;1_8000103;1_8000327;1_8000551;1_8000775;1_8000055;1_8000279;;2_8000103;2_8000327;2_8000551;2_8000775;2_8000055;2_8000279;3_8000103;3_8000327;3_8000551;3_8000775;3_8000055;3_8000279;,61003,1,55_19,540,,,1_540_540,,1,0,,
|
|
1058891237401590,18628760733305414,2823043051897088,
|
|
--1014,凶皇,1,1,782,120,19014,1,7,90,2,271084,0_8000103;0_8000327;0_8000551;0_8000775;0_8000055;0_8000279;1_8000103;1_8000327;1_8000551;1_8000775;1_8000055;1_8000279;;2_8000103;2_8000327;2_8000551;2_8000775;2_8000055;2_8000279;3_8000103;3_8000327;3_8000551;3_8000775;3_8000055;3_8000279;,61003,1,55_19,540,,,1_540_540,,1,0,,
|
|
882977966920695,22688363821484615,2823043051897088,
|
|
--1015,蛟龙,1,1,784,100,19015,1,7,90,2,330159,0_8000103;0_8000327;0_8000551;0_8000775;0_8000055;0_8000279;1_8000103;1_8000327;1_8000551;1_8000775;1_8000055;1_8000279;;2_8000103;2_8000327;2_8000551;2_8000775;2_8000055;2_8000279;3_8000103;3_8000327;3_8000551;3_8000775;3_8000055;3_8000279;,61003,1,55_19,540,,,1_540_540,,1,0,,
|
|
1058882634404856,25366774147009096,2823043051897090,
|
|
--1016,暴怒,1,1,780,120,19016,1,8,90,2,369135,0_8000104;0_8000328;0_8000552;0_8000776;0_8000056;0_8000280;1_8000104;1_8000328;1_8000552;1_8000776;1_8000056;1_8000280;;2_8000104;2_8000328;2_8000552;2_8000776;2_8000056;2_8000280;3_8000104;3_8000328;3_8000552;3_8000776;3_8000056;3_8000280;,61003,1,55_19,660,,,1_660_660,,1,0,,
|
|
706991653520377,29845153726417481,2823043051897090,
|
|
--1017,焚天,1,1,769,80,19017,1,8,90,2,434304,0_8000104;0_8000328;0_8000552;0_8000776;0_8000056;0_8000280;1_8000104;1_8000328;1_8000552;1_8000776;1_8000056;1_8000280;;2_8000104;2_8000328;2_8000552;2_8000776;2_8000056;2_8000280;3_8000104;3_8000328;3_8000552;3_8000776;3_8000056;3_8000280;,61003,1,55_19,660,,,1_660_660,,1,0,,
|
|
1586673998640122,33822362161990218,2823043051897090,
|
|
--1018,裂天兕,1,1,786,180,19018,1,8,90,2,492180,0_8000104;0_8000328;0_8000552;0_8000776;0_8000056;0_8000280;1_8000104;1_8000328;1_8000552;1_8000776;1_8000056;1_8000280;;2_8000104;2_8000328;2_8000552;2_8000776;2_8000056;2_8000280;3_8000104;3_8000328;3_8000552;3_8000776;3_8000056;3_8000280;,61003,1,55_19,660,,,1_660_660,,1,0,,
|
|
2641857268888571,36829118442326603,2823043051897092,
|
|
--1019,骨蛛,1,1,705,300,19019,1,9,90,3,535934,0_8000105;0_8000329;0_8000553;0_8000777;0_8000057;0_8000281;1_8000105;1_8000329;1_8000553;1_8000777;1_8000057;1_8000281;;2_8000105;2_8000329;2_8000553;2_8000777;2_8000057;2_8000281;3_8000105;3_8000329;3_8000553;3_8000777;3_8000057;3_8000281;,61003,1,55_19,780,,,1_780_780,,1,0,,
|
|
1762252261639164,38875240862141004,2823043051897092,
|
|
--1020,幽犬,1,1,706,200,19020,1,9,90,3,565709,0_8000105;0_8000329;0_8000553;0_8000777;0_8000057;0_8000281;1_8000105;1_8000329;1_8000553;1_8000777;1_8000057;1_8000281;;2_8000105;2_8000329;2_8000553;2_8000777;2_8000057;2_8000281;3_8000105;3_8000329;3_8000553;3_8000777;3_8000057;3_8000281;,61003,1,55_19,780,,,1_780_780,,1,0,,
|
|
882836232938493,40921294562478669,2823043051897092,
|
|
--1021,天狗,1,1,751,100,19021,1,9,90,3,595483,0_8000105;0_8000329;0_8000553;0_8000777;0_8000057;0_8000281;1_8000105;1_8000329;1_8000553;1_8000777;1_8000057;1_8000281;;2_8000105;2_8000329;2_8000553;2_8000777;2_8000057;2_8000281;3_8000105;3_8000329;3_8000553;3_8000777;3_8000057;3_8000281;,61003,1,55_19,780,,,1_780_780,,1,0,,
|
|
970685494088702,46409850450168398,2823043051897094,
|
|
--1022,狱蝎,1,1,725,110,19022,1,10,90,3,675352,0_8000106;0_8000330;0_8000554;0_8000778;0_8000058;0_8000282;1_8000106;1_8000330;1_8000554;1_8000778;1_8000058;1_8000282;;2_8000106;2_8000330;2_8000554;2_8000778;2_8000058;2_8000282;3_8000106;3_8000330;3_8000554;3_8000778;3_8000058;3_8000282;,61003,1,55_19,900,,,1_900_900,,1,0,,
|
|
1762295211353087,48988136497826383,2823043051897094,
|
|
--1023,雪鹰,1,1,716,200,19023,1,10,90,3,712871,0_8000106;0_8000330;0_8000554;0_8000778;0_8000058;0_8000282;1_8000106;1_8000330;1_8000554;1_8000778;1_8000058;1_8000282;;2_8000106;2_8000330;2_8000554;2_8000778;2_8000058;2_8000282;3_8000106;3_8000330;3_8000554;3_8000778;3_8000058;3_8000282;,61003,1,55_19,900,,,1_900_900,,1,0,,
|
|
487102241268736,51566491264961104,2823043051897094,
|
|
--1024,三首凤,1,1,772,55,19024,1,10,90,3,750391,0_8000106;0_8000330;0_8000554;0_8000778;0_8000058;0_8000282;1_8000106;1_8000330;1_8000554;1_8000778;1_8000058;1_8000282;;2_8000106;2_8000330;2_8000554;2_8000778;2_8000058;2_8000282;3_8000106;3_8000330;3_8000554;3_8000778;3_8000058;3_8000282;,61003,1,55_19,900,,,1_900_900,,1,0,,
|
|
882943607141377,62741240255171153,2823043051897095,
|
|
--1025,霸下,1,1,776,100,19025,1,11,90,3,913005,0_8000107;0_8000331;0_8000555;0_8000779;0_8000059;0_8000283;1_8000107;1_8000331;1_8000555;1_8000779;1_8000059;1_8000283;;2_8000107;2_8000331;2_8000555;2_8000779;2_8000059;2_8000283;3_8000107;3_8000331;3_8000555;3_8000779;3_8000059;3_8000283;,61003,1,55_19,1020,,,1_1020_1020,,1,0,,
|
|
882977966920706,75289485426641490,2823043051897095,
|
|
--1026,蛟龙,1,1,784,100,19026,1,11,90,3,1095606,0_8000107;0_8000331;0_8000555;0_8000779;0_8000059;0_8000283;1_8000107;1_8000331;1_8000555;1_8000779;1_8000059;1_8000283;;2_8000107;2_8000331;2_8000555;2_8000779;2_8000059;2_8000283;3_8000107;3_8000331;3_8000555;3_8000779;3_8000059;3_8000283;,61003,1,55_19,1020,,,1_1020_1020,,1,0,,
|
|
1190862697563139,87837730598111827,2823043051897095,
|
|
--1027,白虎,1,1,789,135,19027,1,11,90,3,1278207,0_8000107;0_8000331;0_8000555;0_8000779;0_8000059;0_8000283;1_8000107;1_8000331;1_8000555;1_8000779;1_8000059;1_8000283;;2_8000107;2_8000331;2_8000555;2_8000779;2_8000059;2_8000283;3_8000107;3_8000331;3_8000555;3_8000779;3_8000059;3_8000283;,61003,1,55_19,1020,,,1_1020_1020,,1,0,,
|
|
882819053106180,119164470436121172,2823043051897097,
|
|
--1028,机雀,1,1,747,100,19028,1,12,90,4,1734071,0_8000108;0_8000332;0_8000556;0_8000780;0_8000060;0_8000284;1_8000108;1_8000332;1_8000556;1_8000780;1_8000060;1_8000284;;2_8000108;2_8000332;2_8000556;2_8000780;2_8000060;2_8000284;3_8000108;3_8000332;3_8000556;3_8000780;3_8000060;3_8000284;,61003,1,55_19,1140,,,1_1140_1140,,1,0,,
|
|
1322627999192069,134059966774463061,2823043051897097,
|
|
--1029,号啕,1,1,748,150,19029,1,12,90,4,1950829,0_8000108;0_8000332;0_8000556;0_8000780;0_8000060;0_8000284;1_8000108;1_8000332;1_8000556;1_8000780;1_8000060;1_8000284;;2_8000108;2_8000332;2_8000556;2_8000780;2_8000060;2_8000284;3_8000108;3_8000332;3_8000556;3_8000780;3_8000060;3_8000284;,61003,1,55_19,1140,,,1_1140_1140,,1,0,,
|
|
1762295211353094,148955531832281686,2823043051897097,
|
|
--1030,雪鹰,1,1,716,200,19030,1,12,90,4,2167588,0_8000108;0_8000332;0_8000556;0_8000780;0_8000060;0_8000284;1_8000108;1_8000332;1_8000556;1_8000780;1_8000060;1_8000284;;2_8000108;2_8000332;2_8000556;2_8000780;2_8000060;2_8000284;3_8000108;3_8000332;3_8000556;3_8000780;3_8000060;3_8000284;,61003,1,55_19,1140,,,1_1140_1140,,1,0,,
|
|
882952197108743,168496396078762583,2823043051897098,
|
|
--1031,媚毒,1,1,778,100,19031,1,13,90,4,2451945,0_8000109;0_8000333;0_8000557;0_8000781;0_8000061;0_8000285;1_8000109;1_8000333;1_8000557;1_8000781;1_8000061;1_8000285;;2_8000109;2_8000333;2_8000557;2_8000781;2_8000061;2_8000285;3_8000109;3_8000333;3_8000557;3_8000781;3_8000061;3_8000285;,61003,1,55_19,1260,,,1_1260_1260,,1,0,,
|
|
1058891237401608,189558434662009432,2823043051897098,
|
|
--1032,凶皇,1,1,782,120,19032,1,13,90,4,2758438,0_8000109;0_8000333;0_8000557;0_8000781;0_8000061;0_8000285;1_8000109;1_8000333;1_8000557;1_8000781;1_8000061;1_8000285;;2_8000109;2_8000333;2_8000557;2_8000781;2_8000061;2_8000285;3_8000109;3_8000333;3_8000557;3_8000781;3_8000061;3_8000285;,61003,1,55_19,1260,,,1_1260_1260,,1,0,,
|
|
882977966920713,214832908449696345,2823043051897098,
|
|
--1033,蛟龙,1,1,784,100,19033,1,13,90,4,3126230,0_8000109;0_8000333;0_8000557;0_8000781;0_8000061;0_8000285;1_8000109;1_8000333;1_8000557;1_8000781;1_8000061;1_8000285;;2_8000109;2_8000333;2_8000557;2_8000781;2_8000061;2_8000285;3_8000109;3_8000333;3_8000557;3_8000781;3_8000061;3_8000285;,61003,1,55_19,1260,,,1_1260_1260,,1,0,,
|
|
1058882634404874,249761987682716250,2823043051897099,
|
|
--1034,暴怒,1,1,780,120,19034,1,14,90,4,3634515,0_8000110;0_8000334;0_8000558;0_8000782;0_8000062;0_8000286;1_8000110;1_8000334;1_8000558;1_8000782;1_8000062;1_8000286;;2_8000110;2_8000334;2_8000558;2_8000782;2_8000062;2_8000286;3_8000110;3_8000334;3_8000558;3_8000782;3_8000062;3_8000286;,61003,1,55_19,1380,,,1_1380_1380,,1,0,,
|
|
706991653520395,290420896885721691,2823043051897099,
|
|
--1035,焚天,1,1,769,80,19035,1,14,90,4,4226180,0_8000110;0_8000334;0_8000558;0_8000782;0_8000062;0_8000286;1_8000110;1_8000334;1_8000558;1_8000782;1_8000062;1_8000286;;2_8000110;2_8000334;2_8000558;2_8000782;2_8000062;2_8000286;3_8000110;3_8000334;3_8000558;3_8000782;3_8000062;3_8000286;,61003,1,55_19,1380,,,1_1380_1380,,1,0,,
|
|
1586673998640140,348505072524151388,2823043051897099,
|
|
--1036,裂天兕,1,1,786,180,19036,1,14,90,4,5071416,0_8000110;0_8000334;0_8000558;0_8000782;0_8000062;0_8000286;1_8000110;1_8000334;1_8000558;1_8000782;1_8000062;1_8000286;;2_8000110;2_8000334;2_8000558;2_8000782;2_8000062;2_8000286;3_8000110;3_8000334;3_8000558;3_8000782;3_8000062;3_8000286;,61003,1,55_19,1380,,,1_1380_1380,,1,0,,
|
|
1762252261639181,410634012139014749,2823043051897100,
|
|
--1037,幽犬,1,1,706,200,19037,1,15,90,5,5975511,0_8000111;0_8000335;0_8000559;0_8000783;0_8000063;0_8000287;1_8000111;1_8000335;1_8000559;1_8000783;1_8000063;1_8000287;;2_8000111;2_8000335;2_8000559;2_8000783;2_8000063;2_8000287;3_8000111;3_8000335;3_8000559;3_8000783;3_8000063;3_8000287;,61003,1,55_19,1500,,,1_1500_1500,,1,0,,
|
|
706991653520398,481028388681501278,2823043051897100,
|
|
--1038,焚天,1,1,769,80,19038,1,15,90,5,6999884,0_8000111;0_8000335;0_8000559;0_8000783;0_8000063;0_8000287;1_8000111;1_8000335;1_8000559;1_8000783;1_8000063;1_8000287;;2_8000111;2_8000335;2_8000559;2_8000783;2_8000063;2_8000287;3_8000111;3_8000335;3_8000559;3_8000783;3_8000063;3_8000287;,61003,1,55_19,1500,,,1_1500_1500,,1,0,,
|
|
882952197108751,557289003355556447,2823043051897100,
|
|
--1039,媚毒,1,1,778,100,19039,1,15,90,5,8109622,0_8000111;0_8000335;0_8000559;0_8000783;0_8000063;0_8000287;1_8000111;1_8000335;1_8000559;1_8000783;1_8000063;1_8000287;;2_8000111;2_8000335;2_8000559;2_8000783;2_8000063;2_8000287;3_8000111;3_8000335;3_8000559;3_8000783;3_8000063;3_8000287;,61003,1,55_19,1500,,,1_1500_1500,,1,0,,
|
|
1058891237401616,650154580071500384,2823043051897101,
|
|
--1040,凶皇,1,1,782,120,19040,1,16,90,5,9460994,0_8000112;0_8000336;0_8000560;0_8000784;0_8000064;0_8000288;1_8000112;1_8000336;1_8000560;1_8000784;1_8000064;1_8000288;;2_8000112;2_8000336;2_8000560;2_8000784;2_8000064;2_8000288;3_8000112;3_8000336;3_8000560;3_8000784;3_8000064;3_8000288;,61003,1,55_19,1620,,,1_1620_1620,,1,0,,
|
|
882977966920721,745510550624094817,2823043051897101,
|
|
--1041,蛟龙,1,1,784,100,19041,1,16,90,5,10848606,0_8000112;0_8000336;0_8000560;0_8000784;0_8000064;0_8000288;1_8000112;1_8000336;1_8000560;1_8000784;1_8000064;1_8000288;;2_8000112;2_8000336;2_8000560;2_8000784;2_8000064;2_8000288;3_8000112;3_8000336;3_8000560;3_8000784;3_8000064;3_8000288;,61003,1,55_19,1620,,,1_1620_1620,,1,0,,
|
|
487102241268754,866872788672137826,2823043051897101,
|
|
--1042,三首凤,1,1,772,55,19042,1,16,90,5,12614659,0_8000112;0_8000336;0_8000560;0_8000784;0_8000064;0_8000288;1_8000112;1_8000336;1_8000560;1_8000784;1_8000064;1_8000288;;2_8000112;2_8000336;2_8000560;2_8000784;2_8000064;2_8000288;3_8000112;3_8000336;3_8000560;3_8000784;3_8000064;3_8000288;,61003,1,55_19,1620,,,1_1620_1620,,1,0,,
|
|
}
|
|
local L_MainKeyDic = {
|
|
[1001]=1,[1002]=2,[1003]=3,[1004]=4,[1005]=5,[1006]=6,[1007]=7,[1008]=8,[1009]=9,[1010]=10,[1011]=11,[1012]=12,[1013]=13,[1014]=14,[1015]=15,
|
|
[1016]=16,[1017]=17,[1018]=18,[1019]=19,[1020]=20,[1021]=21,[1022]=22,[1023]=23,[1024]=24,[1025]=25,[1026]=26,[1027]=27,[1028]=28,[1029]=29,[1030]=30,
|
|
[1031]=31,[1032]=32,[1033]=33,[1034]=34,[1035]=35,[1036]=36,[1037]=37,[1038]=38,[1039]=39,[1040]=40,[1041]=41,[1042]=42,}
|
|
local L_NamesByNum = {
|
|
ID = 1,
|
|
CanShow = 3,
|
|
CrossSever = 4,
|
|
HeadIcon = 5,
|
|
Size = 6,
|
|
Monsterid = 7,
|
|
EnterLevel = 8,
|
|
DropEquipShow = 9,
|
|
Score = 10,
|
|
Layer = 11,
|
|
Power = 12,
|
|
Cloneid = 14,
|
|
Num = 15,
|
|
IfRaward = 17,
|
|
GiftNum = 18,
|
|
}
|
|
local L_NamesByString = {
|
|
MonsterName = 2,
|
|
Drop = 13,
|
|
Pos = 16,
|
|
}
|
|
local L_ColNameIndexs = {
|
|
ID = 0,
|
|
MonsterName = 1,
|
|
CanShow = 2,
|
|
CrossSever = 3,
|
|
HeadIcon = 4,
|
|
Size = 5,
|
|
Monsterid = 6,
|
|
EnterLevel = 7,
|
|
DropEquipShow = 8,
|
|
Score = 9,
|
|
Layer = 10,
|
|
Power = 11,
|
|
Drop = 12,
|
|
Cloneid = 13,
|
|
Num = 14,
|
|
Pos = 15,
|
|
IfRaward = 16,
|
|
GiftNum = 17,
|
|
}
|
|
--local L_ColumnUseBitCount = {12,16,2,2,11,10,16,2,6,8,4,25,16,17,2,16,2,2,}
|
|
--local L_ColumnList = {1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,}
|
|
--local L_ShiftDataList = {0,12,28,30,32,43,0,16,18,24,32,36,0,16,33,35,51,53,}
|
|
--local L_AndDataList = {2047,32767,1,1,1023,511,32767,1,31,127,7,16777215,32767,65535,1,32767,1,1,}
|
|
local L_ColumnShiftAndList = {1,0,2047,1,12,32767,1,28,1,1,30,1,1,32,1023,1,43,511,2,0,32767,2,16,1,2,18,31,2,24,127,2,32,7,2,36,16777215,3,0,32767,3,16,65535,3,33,1,3,35,32767,3,51,1,3,53,1,}
|
|
local L_ColNum = 18;
|
|
local L_UseDataK = setmetatable({ },{ __mode = 'k'});
|
|
local L_UseDataV = setmetatable({ },{ __mode = 'v'});
|
|
local L_UseDataRow = setmetatable({ },{ __mode = 'v'});
|
|
local L_IsCache = false;
|
|
local mt = {}
|
|
local function GetData(row, column)
|
|
local startIndex = (column - 1) * 3
|
|
local _compressData = L_CompressData[(row - 1)*L_CompressMaxColumn+L_ColumnShiftAndList[startIndex + 1]]
|
|
local _tempData = _compressData >> L_ColumnShiftAndList[startIndex + 2]
|
|
local _data = _tempData & L_ColumnShiftAndList[startIndex + 3]
|
|
local _andSign = L_ColumnShiftAndList[startIndex + 3] + 1
|
|
local _isMinus = (_andSign & _tempData) == _andSign
|
|
return _isMinus and -_data or _data;
|
|
end
|
|
|
|
mt.__index = function (t,key)
|
|
local _key = L_UseDataK[t];
|
|
local _row = L_MainKeyDic[_key];
|
|
local _column = L_NamesByNum[key];
|
|
if _column ~= nil then
|
|
if L_IsCache then
|
|
local _data = L_UseDataRow[_row * L_ColNum + _column]
|
|
if not _data then
|
|
_data = GetData(_row, _column)
|
|
L_UseDataRow[_row * L_ColNum + _column] = _data
|
|
end
|
|
return _data
|
|
else
|
|
return GetData(_row, _column)
|
|
end
|
|
end
|
|
_column = L_NamesByString[key]
|
|
if _column ~= nil then
|
|
return StringDefines[GetData(_row, _column)]
|
|
end
|
|
if string.find(key, '_') then
|
|
local _newKey = string.gsub(key, '_', '')
|
|
_column = L_NamesByString[_newKey]
|
|
if _column ~= nil then
|
|
return GetData(_row, _column)
|
|
end
|
|
end
|
|
if key ~= '_OnCopyAfter_' then
|
|
return
|
|
end
|
|
end
|
|
|
|
local M = {
|
|
_CompressData_ = L_CompressData,
|
|
_ColumnShiftAndList_ = L_ColumnShiftAndList,
|
|
_CompressMaxColumn_ = L_CompressMaxColumn,
|
|
_ColumnNameIndexs_ = L_ColNameIndexs,
|
|
Count = 42
|
|
}
|
|
|
|
function M:Foreach(func)
|
|
for i=1,M.Count do
|
|
local _key = GetData(i, 1)
|
|
func(_key, M[_key])
|
|
end
|
|
end
|
|
|
|
function M:ForeachCanBreak(func)
|
|
for i = 1,M.Count do
|
|
local _key = GetData(i, 1)
|
|
if func(_key, M[_key]) then
|
|
break
|
|
end
|
|
end
|
|
end
|
|
|
|
function M:GetByIndex(index)
|
|
return M[GetData(index, 1)];
|
|
end
|
|
|
|
function M:IsContainKey(key)
|
|
return not(not L_MainKeyDic[key]);
|
|
end
|
|
|
|
function M:SetIsCache(isCh)
|
|
L_IsCache = isCh;
|
|
end
|
|
|
|
setmetatable(M, {__index = function(t, key)
|
|
if not L_MainKeyDic[key] then
|
|
return;
|
|
end
|
|
local _t = L_UseDataV[key];
|
|
if not _t then
|
|
_t = setmetatable({}, mt);
|
|
L_UseDataV[key] = _t;
|
|
L_UseDataK[_t] = key;
|
|
end
|
|
return _t
|
|
end})
|
|
|
|
return M
|