--文件是自动生成,请勿手动修改.来自数据文件:Occ_Skill local L_CompressMaxColumn = 2 local L_CompressData = { 6330678716237472,131073, --100000,1,0,0,0,0,100_101_102_103,,,,0,, 5624208169208456,184248, --101000,1,0,1,0,0,104,,60022_1,,0,, 5624279036168841,4274966456, --101001,1,0,1,0,1,1041,,60022_1,60034_1,5000,, 5624349903129226,4274966456, --101002,1,0,1,0,2,1042,,60022_1,60034_1,10000,, 5624455129827979,4274966456, --101003,1,0,1,0,3,1043,,60022_1,60034_1,15000,, 5624525996788364,184248, --101004,1,0,1,0,4,1044,,60022_1,,20000,, 6330748006140652,131073, --101100,1,0,1,1,0,1140,,,,6000,, 6330784513362669,4274913281, --101101,1,0,1,1,1,1141,,,60034_1,11000,, 6330821020584686,4274913281, --101102,1,0,1,1,2,1142,,,60034_1,16000,, 6330857527806703,4274913281, --101103,1,0,1,1,3,1143,,,60034_1,21000,, 6330894035028720,131073, --101104,1,0,1,1,4,1144,,,,26000,, 5624689239101040,184254, --102000,1,0,2,0,0,105,,60023_1,,0,, 5624760106061425,4274966462, --102001,1,0,2,0,1,1051,,60023_1,60034_1,5000,, 5624830973021810,4274966462, --102002,1,0,2,0,2,1052,,60023_1,60034_1,10000,, 5624901839982195,4274966462, --102003,1,0,2,0,3,1053,,60023_1,60034_1,15000,, 5624972706942580,184254, --102004,1,0,2,0,4,1054,,60023_1,,20000,, 5627679073210068,131073, --102100,1,0,2,1,0,1150,,,,13500,, 5627715580432085,4274913281, --102101,1,0,2,1,1,1151,,,60034_1,18500,, 5627752087654102,4274913281, --102102,1,0,2,1,2,1152,,,60034_1,23500,, 5627788594876119,4274913281, --102103,1,0,2,1,3,1153,,,60034_1,28500,, 5627825102098136,131073, --102104,1,0,2,1,4,1154,,,,33500,, 5625101589516888,184255, --103000,1,0,3,0,0,106,,60024_1,,0,, 5625138096738905,4274966463, --103001,1,0,3,0,1,1061,,60024_1,60034_1,5000,, 5625208963699290,4274966463, --103002,1,0,3,0,2,1062,,60024_1,60034_1,10000,, 5625279830659675,4274966463, --103003,1,0,3,0,3,1063,,60024_1,60034_1,15000,, 5625350697620060,184255, --103004,1,0,3,0,4,1064,,60024_1,,20000,, 5626854473044668,131073, --103100,1,0,3,1,0,1160,,,,5000,, 5626925340005053,4274913281, --103101,1,0,3,1,1,1161,,,60034_1,10000,, 5626961847227070,4274913281, --103102,1,0,3,1,2,1162,,,60034_1,15000,, 5626998354449087,4274913281, --103103,1,0,3,1,3,1163,,,60034_1,20000,, 5627034861671104,131073, --103104,1,0,3,1,4,1164,,,,25000,, 5625479580194368,184256, --104000,1,0,4,0,0,107,,60025_1,,0,, 5625550447154753,4274966464, --104001,1,0,4,0,1,1071,,60025_1,60034_1,5000,, 5625621314115138,4274966464, --104002,1,0,4,0,2,1072,,60025_1,60034_1,10000,, 5625692181075523,4274966464, --104003,1,0,4,0,3,1073,,60025_1,60034_1,15000,, 5625763048035908,184256, --104004,1,0,4,0,4,1074,,60025_1,,20000,, 6331022984713892,131073, --104100,1,0,4,1,0,1170,,,,5000,, 6331059491935909,4274913281, --104101,1,0,4,1,1,1171,,,60034_1,10000,, 6331095999157926,4274913281, --104102,1,0,4,1,2,1172,,,60034_1,15000,, 6331132506379943,4274913281, --104103,1,0,4,1,3,1173,,,60034_1,20000,, 6331169013601960,131073, --104104,1,0,4,1,4,1174,,,,25000,, 6331194113461568,131073, --200000,2,0,0,0,0,2000_2010_2020,,,,0,, 6331228506755368,184264, --201000,2,0,1,0,0,2040,,60026_1,,0,, 6331299373715753,6972297160, --201001,2,0,1,0,1,2041,,60026_1,60035_1,5000,, 6331370240676138,6972297160, --201002,2,0,1,0,2,2042,,60026_1,60035_1,10000,, 6331406747898155,6972297160, --201003,2,0,1,0,3,2043,,60026_1,60035_1,15000,, 6331443255120172,184264, --201004,2,0,1,0,4,2044,,60026_1,,20000,, 6331469561794956,131073, --201100,2,0,1,1,0,2140,,,,13500,, 6331506069016973,6972243969, --201101,2,0,1,1,1,2141,,,60035_1,18500,, 6331542576238990,6972243969, --201102,2,0,1,1,2,2142,,,60035_1,23500,, 6331579083461007,6972243969, --201103,2,0,1,1,3,2143,,,60035_1,28500,, 6331615590683024,131073, --201104,2,0,1,1,4,2144,,,,33500,, 5625891831092496,184275, --202000,2,0,2,0,0,2050,,60027_1,,0,, 5625928338314513,6972297171, --202001,2,0,2,0,1,2051,,60027_1,60035_1,5000,, 5625964845536530,6972297171, --202002,2,0,2,0,2,2052,,60027_1,60035_1,10000,, 5626001352758547,6972297171, --202003,2,0,2,0,3,2053,,60027_1,60035_1,15000,, 5626072219718932,184275, --202004,2,0,2,0,4,2054,,60027_1,,20000,, 5626407764039028,131073, --202100,2,0,2,1,0,2150,,,,18000,, 5626478630999413,6972243969, --202101,2,0,2,1,1,2151,,,60035_1,23000,, 5626515138221430,6972243969, --202102,2,0,2,1,2,2152,,,60035_1,28000,, 5626551645443447,6972243969, --202103,2,0,2,1,3,2153,,,60035_1,33000,, 5626588152665464,131073, --202104,2,0,2,1,4,2154,,,,38000,, 6331675250465016,184277, --203000,2,0,3,0,0,2060,,60028_1,,0,, 6331746117425401,6972297173, --203001,2,0,3,0,1,2061,,60028_1,60035_1,5000,, 6331782624647418,6972297173, --203002,2,0,3,0,2,2062,,60028_1,60035_1,10000,, 6331819131869435,6972297173, --203003,2,0,3,0,3,2063,,60028_1,60035_1,15000,, 6331855639091452,184277, --203004,2,0,3,0,4,2064,,60028_1,,20000,, 6331881945766236,131073, --203100,2,0,3,1,0,2160,,,,10000,, 6331918452988253,6972243969, --203101,2,0,3,1,1,2161,,,60035_1,15000,, 6331954960210270,6972243969, --203102,2,0,3,1,2,2162,,,60035_1,20000,, 6331991467432287,6972243969, --203103,2,0,3,1,3,2163,,,60035_1,25000,, 6332027974654304,131073, --203104,2,0,3,1,4,2164,,,,30000,, 6332053241142496,184288, --204000,2,0,4,0,0,2070,,60029_1,,0,, 6332124108102881,6972297184, --204001,2,0,4,0,1,2071,,60029_1,60035_1,5000,, 6332160615324898,6972297184, --204002,2,0,4,0,2,2072,,60029_1,60035_1,10000,, 6332197122546915,6972297184, --204003,2,0,4,0,3,2073,,60029_1,60035_1,15000,, 6332233629768932,184288, --204004,2,0,4,0,4,2074,,60029_1,,20000,, 6332259936443716,131073, --204100,2,0,4,1,0,2170,,,,10000,, 6332296443665733,6972243969, --204101,2,0,4,1,1,2171,,,60035_1,15000,, 6332332950887750,6972243969, --204102,2,0,4,1,2,2172,,,60035_1,20000,, 6332369458109767,6972243969, --204103,2,0,4,1,3,2173,,,60035_1,25000,, 6332405965331784,131073, --204104,2,0,4,1,4,2174,,,,30000,, 6332431065191392,131073, --300000,3,0,0,0,0,3000_3010_3020,,,,0,, 5627060029790152,184299, --301000,3,0,1,0,0,3040,,60030_1,,0,, 5627096537012169,6976753643, --301001,3,0,1,0,1,3041,,60030_1,60036_1,5000,, 5627133044234186,6976753643, --301002,3,0,1,0,2,3042,,60030_1,60036_1,10000,, 5627169551456203,6976753643, --301003,3,0,1,0,3,3043,,60030_1,60036_1,15000,, 5627206058678220,184299, --301004,3,0,1,0,4,3044,,60030_1,,20000,, 5627266725091372,131073, --301100,3,0,1,1,0,3140,,,,25000,, 5627303232313389,6976700417, --301101,3,0,1,1,1,3141,,,60036_1,30000,, 5627339739535406,6976700417, --301102,3,0,1,1,2,3142,,,60036_1,35000,, 5627376246757423,6976700417, --301103,3,0,1,1,3,3143,,,60036_1,40000,, 5627412753979440,131073, --301104,3,0,1,1,4,3144,,,,45000,, 5627472380206000,184301, --302000,3,0,2,0,0,3050,,60031_1,,0,, 5627508887428017,6976753645, --302001,3,0,2,0,1,3051,,60031_1,60036_1,5000,, 5627545394650034,6976753645, --302002,3,0,2,0,2,3052,,60031_1,60036_1,10000,, 5627581901872051,6976753645, --302003,3,0,2,0,3,3053,,60031_1,60036_1,15000,, 5627618409094068,184301, --302004,3,0,2,0,4,3054,,60031_1,,20000,, 5627885233937428,131073, --302100,3,0,2,1,0,3150,,,,35000,, 5627921741159445,6976700417, --302101,3,0,2,1,1,3151,,,60036_1,40000,, 5627958248381462,6976700417, --302102,3,0,2,1,2,3152,,,60036_1,45000,, 5627994755603479,6976700417, --302103,3,0,2,1,3,3153,,,60036_1,50000,, 5628031262825496,131073, --302104,3,0,2,1,4,3154,,,,55000,, 6332568604811160,184303, --303000,3,0,3,0,0,3060,,60032_1,,0,, 6332639471771545,6976753647, --303001,3,0,3,0,1,3061,,60032_1,60036_1,5000,, 6332675978993562,6976753647, --303002,3,0,3,0,2,3062,,60032_1,60036_1,10000,, 6332712486215579,6976753647, --303003,3,0,3,0,3,3063,,60032_1,60036_1,15000,, 6332748993437596,184303, --303004,3,0,3,0,4,3064,,60032_1,,20000,, 6332775300112380,131073, --303100,3,0,3,1,0,3160,,,,15000,, 6332811807334397,6976700417, --303101,3,0,3,1,1,3161,,,60036_1,20000,, 6332848314556414,6976700417, --303102,3,0,3,1,2,3162,,,60036_1,25000,, 6332884821778431,6976700417, --303103,3,0,3,1,3,3163,,,60036_1,30000,, 6332921329000448,131073, --303104,3,0,3,1,4,3164,,,,35000,, 6332946595488640,184314, --304000,3,0,4,0,0,3070,,60033_1,,0,, 6333017462449025,6976753658, --304001,3,0,4,0,1,3071,,60033_1,60036_1,5000,, 6333053969671042,6976753658, --304002,3,0,4,0,2,3072,,60033_1,60036_1,10000,, 6333090476893059,6976753658, --304003,3,0,4,0,3,3073,,60033_1,60036_1,15000,, 6333126984115076,184314, --304004,3,0,4,0,4,3074,,60033_1,,20000,, 6333153290789860,131073, --304100,3,0,4,1,0,3170,,,,15000,, 6333189798011877,6976700417, --304101,3,0,4,1,1,3171,,,60036_1,20000,, 6333226305233894,6976700417, --304102,3,0,4,1,2,3172,,,60036_1,25000,, 6333262812455911,6976700417, --304103,3,0,4,1,3,3173,,,60036_1,30000,, 6333299319677928,131073, --304104,3,0,4,1,4,3174,,,,35000,, 6333324424490416,131073, --110000,1,1,0,0,0,200_201_202_203,,,,0,, 5628949821501848,184325, --111000,1,1,1,0,0,205,,60037_1,,0,, 5628986328723865,6980161541, --111001,1,1,1,0,1,6031,,60037_1,60049_1,5000,, 5629022835945882,6980161541, --111002,1,1,1,0,2,6032,,60037_1,60049_1,10000,, 5629059343167899,6980161541, --111003,1,1,1,0,3,6033,,60037_1,60049_1,15000,, 5629095850389916,184325, --111004,1,1,1,0,4,6034,,60037_1,,20000,, 5630565266076156,131073, --111100,1,1,1,1,0,6130,,,,6000,, 5630601773298173,6980108289, --111101,1,1,1,1,1,6131,,,60049_1,11000,, 5630638280520190,6980108289, --111102,1,1,1,1,2,6132,,,60049_1,16000,, 5630674787742207,6980108289, --111103,1,1,1,1,3,6133,,,60049_1,21000,, 5630711294964224,131073, --111104,1,1,1,1,4,6134,,,,26000,, 5629156013487488,184327, --112000,1,1,2,0,0,208,,60038_1,,0,, 5629192520709505,6980161543, --112001,1,1,2,0,1,6041,,60038_1,60049_1,5000,, 5629229027931522,6980161543, --112002,1,1,2,0,2,6042,,60038_1,60049_1,10000,, 5629265535153539,6980161543, --112003,1,1,2,0,3,6043,,60038_1,60049_1,15000,, 5629302042375556,184327, --112004,1,1,2,0,4,6044,,60038_1,,20000,, 5631596091782628,131073, --112100,1,1,2,1,0,6140,,,,13500,, 5631632599004645,6980108289, --112101,1,1,2,1,1,6141,,,60049_1,18500,, 5631669106226662,6980108289, --112102,1,1,2,1,2,6142,,,60049_1,23500,, 5631705613448679,6980108289, --112103,1,1,2,1,3,6143,,,60049_1,28500,, 5631742120670696,131073, --112104,1,1,2,1,4,6144,,,,33500,, 5629362205473128,184328, --113000,1,1,3,0,0,210,,60039_1,,0,, 5629398712695145,6980161544, --113001,1,1,3,0,1,6051,,60039_1,60049_1,5000,, 5629435219917162,6980161544, --113002,1,1,3,0,2,6052,,60039_1,60049_1,10000,, 5629471727139179,6980161544, --113003,1,1,3,0,3,6053,,60039_1,60049_1,15000,, 5629508234361196,184328, --113004,1,1,3,0,4,6054,,60039_1,,20000,, 6333496860719564,131073, --113100,1,1,3,1,0,6150,,,,5000,, 6333533367941581,6980108289, --113101,1,1,3,1,1,6151,,,60049_1,10000,, 6333569875163598,6980108289, --113102,1,1,3,1,2,6152,,,60049_1,15000,, 6333606382385615,6980108289, --113103,1,1,3,1,3,6153,,,60049_1,20000,, 6333642889607632,131073, --113104,1,1,3,1,4,6154,,,,25000,, 5359363414932816,184334, --114000,1,1,4,0,0,211,,60040_1,,0,, 5629570544942417,6980161550, --114001,1,1,4,0,1,6061,,60040_1,60049_1,5000,, 5629607052164434,6980161550, --114002,1,1,4,0,2,6062,,60040_1,60049_1,10000,, 5629643559386451,6980161550, --114003,1,1,4,0,3,6063,,60040_1,60049_1,15000,, 5629680066608468,184334, --114004,1,1,4,0,4,6064,,60040_1,,20000,, 6333703052705204,131073, --114100,1,1,4,1,0,6160,,,,5000,, 6333739559927221,6980108289, --114101,1,1,4,1,1,6161,,,60049_1,10000,, 6333776067149238,6980108289, --114102,1,1,4,1,2,6162,,,60049_1,15000,, 6333812574371255,6980108289, --114103,1,1,4,1,3,6163,,,60049_1,20000,, 6333849081593272,131073, --114104,1,1,4,1,4,6164,,,,25000,, 6333874181452880,131073, --210000,2,1,0,0,0,7000_7010_7020,,,,0,, 5630770888783928,184341, --211000,2,1,1,0,0,7030,,60041_1,,0,, 5630807396005945,6982258709, --211001,2,1,1,0,1,7031,,60041_1,60050_1,5000,, 5630843903227962,6982258709, --211002,2,1,1,0,2,7032,,60041_1,60050_1,10000,, 5630880410449979,6982258709, --211003,2,1,1,0,3,7033,,60041_1,60050_1,15000,, 5630916917671996,184341, --211004,2,1,1,0,4,7034,,60041_1,,20000,, 6333977831094428,131073, --211100,2,1,1,1,0,7130,,,,13500,, 6334014338316445,6982205441, --211101,2,1,1,1,1,7131,,,60050_1,18500,, 6334050845538462,6982205441, --211102,2,1,1,1,2,7132,,,60050_1,23500,, 6334087352760479,6982205441, --211103,2,1,1,1,3,7133,,,60050_1,28500,, 6334123859982496,131073, --211104,2,1,1,1,4,7134,,,,33500,, 5631389397629984,184348, --212000,2,1,2,0,0,7040,,60042_1,,0,, 5631425904852001,6982258716, --212001,2,1,2,0,1,7041,,60042_1,60050_1,5000,, 5631462412074018,6982258716, --212002,2,1,2,0,2,7042,,60042_1,60050_1,10000,, 5631498919296035,6982258716, --212003,2,1,2,0,3,7043,,60042_1,60050_1,15000,, 5631535426518052,184348, --212004,2,1,2,0,4,7044,,60042_1,,20000,, 6334184023080068,131073, --212100,2,1,2,1,0,7140,,,,18000,, 6334220530302085,6982205441, --212101,2,1,2,1,1,7141,,,60050_1,23000,, 6334257037524102,6982205441, --212102,2,1,2,1,2,7142,,,60050_1,28000,, 6334293544746119,6982205441, --212103,2,1,2,1,3,7143,,,60050_1,33000,, 6334330051968136,131073, --212104,2,1,2,1,4,7144,,,,38000,, 5631183272755208,184354, --213000,2,1,3,0,0,7050,,60043_1,,0,, 5631219779977225,6982258722, --213001,2,1,3,0,1,7051,,60043_1,60050_1,5000,, 5631256287199242,6982258722, --213002,2,1,3,0,2,7052,,60043_1,60050_1,10000,, 5631292794421259,6982258722, --213003,2,1,3,0,3,7053,,60043_1,60050_1,15000,, 5631329301643276,184354, --213004,2,1,3,0,4,7054,,60043_1,,20000,, 6334390215065708,131073, --213100,2,1,3,1,0,7150,,,,10000,, 6334426722287725,6982205441, --213101,2,1,3,1,1,7151,,,60050_1,15000,, 6334463229509742,6982205441, --213102,2,1,3,1,2,7152,,,60050_1,20000,, 6334499736731759,6982205441, --213103,2,1,3,1,3,7153,,,60050_1,25000,, 6334536243953776,131073, --213104,2,1,3,1,4,7154,,,,30000,, 5630977147880432,184360, --214000,2,1,4,0,0,7060,,60044_1,,0,, 5631013655102449,6982258728, --214001,2,1,4,0,1,7061,,60044_1,60050_1,5000,, 5631050162324466,6982258728, --214002,2,1,4,0,2,7062,,60044_1,60050_1,10000,, 5631086669546483,6982258728, --214003,2,1,4,0,3,7063,,60044_1,60050_1,15000,, 5631123176768500,184360, --214004,2,1,4,0,4,7064,,60044_1,,20000,, 6334596407051348,131073, --214100,2,1,4,1,0,7160,,,,10000,, 6334632914273365,6982205441, --214101,2,1,4,1,1,7161,,,60050_1,15000,, 6334669421495382,6982205441, --214102,2,1,4,1,2,7162,,,60050_1,20000,, 6334705928717399,6982205441, --214103,2,1,4,1,3,7163,,,60050_1,25000,, 6334742435939416,131073, --214104,2,1,4,1,4,7164,,,,30000,, 6334767535799024,131073, --310000,3,1,0,0,0,8000_8010_8020,,,,0,, 6334801929092824,184368, --311000,3,1,1,0,0,8030,,60045_1,,0,, 6334872796053209,6985928752, --311001,3,1,1,0,1,8031,,60045_1,60051_1,5000,, 6334943663013594,6985928752, --311002,3,1,1,0,2,8032,,60045_1,60051_1,10000,, 6334980170235611,6985928752, --311003,3,1,1,0,3,8033,,60045_1,60051_1,15000,, 6335016677457628,184368, --311004,3,1,1,0,4,8034,,60045_1,,20000,, 6335042984132412,131073, --311100,3,1,1,1,0,8130,,,,25000,, 6335079491354429,6985875457, --311101,3,1,1,1,1,8131,,,60051_1,30000,, 6335115998576446,6985875457, --311102,3,1,1,1,2,8132,,,60051_1,35000,, 6335152505798463,6985875457, --311103,3,1,1,1,3,8133,,,60051_1,40000,, 6335189013020480,131073, --311104,3,1,1,1,4,8134,,,,45000,, 5630152448197312,184379, --312000,3,1,2,0,0,8040,,60046_1,,0,, 5630188955419329,6985928763, --312001,3,1,2,0,1,8041,,60046_1,60051_1,5000,, 5630225462641346,6985928763, --312002,3,1,2,0,2,8042,,60046_1,60051_1,10000,, 5630261969863363,6985928763, --312003,3,1,2,0,3,8043,,60046_1,60051_1,15000,, 5630298477085380,184379, --312004,3,1,2,0,4,8044,,60046_1,,20000,, 6335249176118052,131073, --312100,3,1,2,1,0,8140,,,,35000,, 6335285683340069,6985875457, --312101,3,1,2,1,1,8141,,,60051_1,40000,, 6335322190562086,6985875457, --312102,3,1,2,1,2,8142,,,60051_1,45000,, 6335358697784103,6985875457, --312103,3,1,2,1,3,8143,,,60051_1,50000,, 6335395205006120,131073, --312104,3,1,2,1,4,8144,,,,55000,, 5630358640182952,184385, --313000,3,1,3,0,0,8050,,60047_1,,0,, 5630395147404969,6985928769, --313001,3,1,3,0,1,8051,,60047_1,60051_1,5000,, 5630431654626986,6985928769, --313002,3,1,3,0,2,8052,,60047_1,60051_1,10000,, 5630468161849003,6985928769, --313003,3,1,3,0,3,8053,,60047_1,60051_1,15000,, 5630504669071020,184385, --313004,3,1,3,0,4,8054,,60047_1,,20000,, 6335455368103692,131073, --313100,3,1,3,1,0,8150,,,,15000,, 6335491875325709,6985875457, --313101,3,1,3,1,1,8151,,,60051_1,20000,, 6335528382547726,6985875457, --313102,3,1,3,1,2,8152,,,60051_1,25000,, 6335564889769743,6985875457, --313103,3,1,3,1,3,8153,,,60051_1,30000,, 6335601396991760,131073, --313104,3,1,3,1,4,8154,,,,35000,, 5629740198447760,184391, --314000,3,1,4,0,0,8060,,60048_1,,0,, 5629776705669777,6985928775, --314001,3,1,4,0,1,8061,,60048_1,60051_1,5000,, 5629813212891794,6985928775, --314002,3,1,4,0,2,8062,,60048_1,60051_1,10000,, 5629849720113811,6985928775, --314003,3,1,4,0,3,8063,,60048_1,60051_1,15000,, 5629886227335828,184391, --314004,3,1,4,0,4,8064,,60048_1,,20000,, 6335661560089332,131073, --314100,3,1,4,1,0,8160,,,,15000,, 6335698067311349,6985875457, --314101,3,1,4,1,1,8161,,,60051_1,20000,, 6335734574533366,6985875457, --314102,3,1,4,1,2,8162,,,60051_1,25000,, 6335771081755383,6985875457, --314103,3,1,4,1,3,8163,,,60051_1,30000,, 6335807588977400,131073, --314104,3,1,4,1,4,8164,,,,35000,, } local L_MainKeyDic = { [100000]=1,[101000]=2,[101001]=3,[101002]=4,[101003]=5,[101004]=6,[101100]=7,[101101]=8,[101102]=9,[101103]=10,[101104]=11,[102000]=12,[102001]=13,[102002]=14,[102003]=15, [102004]=16,[102100]=17,[102101]=18,[102102]=19,[102103]=20,[102104]=21,[103000]=22,[103001]=23,[103002]=24,[103003]=25,[103004]=26,[103100]=27,[103101]=28,[103102]=29,[103103]=30, [103104]=31,[104000]=32,[104001]=33,[104002]=34,[104003]=35,[104004]=36,[104100]=37,[104101]=38,[104102]=39,[104103]=40,[104104]=41,[200000]=42,[201000]=43,[201001]=44,[201002]=45, [201003]=46,[201004]=47,[201100]=48,[201101]=49,[201102]=50,[201103]=51,[201104]=52,[202000]=53,[202001]=54,[202002]=55,[202003]=56,[202004]=57,[202100]=58,[202101]=59,[202102]=60, [202103]=61,[202104]=62,[203000]=63,[203001]=64,[203002]=65,[203003]=66,[203004]=67,[203100]=68,[203101]=69,[203102]=70,[203103]=71,[203104]=72,[204000]=73,[204001]=74,[204002]=75, [204003]=76,[204004]=77,[204100]=78,[204101]=79,[204102]=80,[204103]=81,[204104]=82,[300000]=83,[301000]=84,[301001]=85,[301002]=86,[301003]=87,[301004]=88,[301100]=89,[301101]=90, [301102]=91,[301103]=92,[301104]=93,[302000]=94,[302001]=95,[302002]=96,[302003]=97,[302004]=98,[302100]=99,[302101]=100,[302102]=101,[302103]=102,[302104]=103,[303000]=104,[303001]=105, [303002]=106,[303003]=107,[303004]=108,[303100]=109,[303101]=110,[303102]=111,[303103]=112,[303104]=113,[304000]=114,[304001]=115,[304002]=116,[304003]=117,[304004]=118,[304100]=119,[304101]=120, [304102]=121,[304103]=122,[304104]=123,[110000]=124,[111000]=125,[111001]=126,[111002]=127,[111003]=128,[111004]=129,[111100]=130,[111101]=131,[111102]=132,[111103]=133,[111104]=134,[112000]=135, [112001]=136,[112002]=137,[112003]=138,[112004]=139,[112100]=140,[112101]=141,[112102]=142,[112103]=143,[112104]=144,[113000]=145,[113001]=146,[113002]=147,[113003]=148,[113004]=149,[113100]=150, [113101]=151,[113102]=152,[113103]=153,[113104]=154,[114000]=155,[114001]=156,[114002]=157,[114003]=158,[114004]=159,[114100]=160,[114101]=161,[114102]=162,[114103]=163,[114104]=164,[210000]=165, [211000]=166,[211001]=167,[211002]=168,[211003]=169,[211004]=170,[211100]=171,[211101]=172,[211102]=173,[211103]=174,[211104]=175,[212000]=176,[212001]=177,[212002]=178,[212003]=179,[212004]=180, [212100]=181,[212101]=182,[212102]=183,[212103]=184,[212104]=185,[213000]=186,[213001]=187,[213002]=188,[213003]=189,[213004]=190,[213100]=191,[213101]=192,[213102]=193,[213103]=194,[213104]=195, [214000]=196,[214001]=197,[214002]=198,[214003]=199,[214004]=200,[214100]=201,[214101]=202,[214102]=203,[214103]=204,[214104]=205,[310000]=206,[311000]=207,[311001]=208,[311002]=209,[311003]=210, [311004]=211,[311100]=212,[311101]=213,[311102]=214,[311103]=215,[311104]=216,[312000]=217,[312001]=218,[312002]=219,[312003]=220,[312004]=221,[312100]=222,[312101]=223,[312102]=224,[312103]=225, [312104]=226,[313000]=227,[313001]=228,[313002]=229,[313003]=230,[313004]=231,[313100]=232,[313101]=233,[313102]=234,[313103]=235,[313104]=236,[314000]=237,[314001]=238,[314002]=239,[314003]=240, [314004]=241,[314100]=242,[314101]=243,[314102]=244,[314103]=245,[314104]=246,} local L_NamesByNum = { ID = 1, MentalID = 2, Occ = 3, Position = 4, IfTuibian = 5, PassiveLevel = 6, } local L_NamesByString = { SkillId = 7, PassiveSkillId = 8, TuibianItem = 9, LevelItem = 10, } local L_ColNameIndexs = { ID = 0, MentalID = 1, Occ = 2, Position = 3, IfTuibian = 4, PassiveLevel = 5, SkillId = 6, PassiveSkillId = 7, TuibianItem = 8, LevelItem = 9, } --local L_ColumnUseBitCount = {20,3,2,4,2,4,17,2,17,17,} --local L_ColumnList = {1,1,1,1,1,1,1,1,2,2,} --local L_ShiftDataList = {0,20,23,25,29,31,35,52,0,17,} --local L_AndDataList = {524287,3,1,7,1,7,65535,1,65535,65535,} local L_ColumnShiftAndList = {1,0,524287,1,20,3,1,23,1,1,25,7,1,29,1,1,31,7,1,35,65535,1,52,1,2,0,65535,2,17,65535,} local L_ColNum = 10; 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 = 246 } 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