284 lines
15 KiB
Lua
284 lines
15 KiB
Lua
--文件是自动生成,请勿手动修改.来自数据文件:new_sever_growup
|
|
local L_CompressMaxColumn = 3
|
|
local L_CompressData = {
|
|
27604583266264165,15638019672139,1587378131162324512,
|
|
--101,1,1,1,tex_zmcd4,第一天,75,129_1,[782b10]获得首充奖励[-],2580000,,3_1000,,
|
|
27604583266395238,15638632106084,1587378131159950512,
|
|
--102,1,1,2,tex_zmcd4,第一天,100,157_11_1,[782b10]累计购买{0}次问道之礼礼包[-],206000,,3_1000,,
|
|
27604583266526311,15639168981142,1587378131159950512,
|
|
--103,1,1,3,tex_zmcd4,第一天,150,157_14_1,[782b10]累计购买{0}次飞升之礼礼包[-],206000,,3_1000,,
|
|
27604583266657384,15639705856200,1587378131159950512,
|
|
--104,1,1,4,tex_zmcd4,第一天,200,157_15_1,[782b10]累计购买{0}次仙尊豪礼礼包[-],206000,,3_1000,,
|
|
27604583266788457,15639898726600,1587378131159949512,
|
|
--105,1,1,5,tex_zmcd4,第一天,200,95_4_1,[782b10]购买{0}次畅游月卡[-],205000,,3_1000,,
|
|
27604583266919530,15640167168500,1587378131159949512,
|
|
--106,1,1,6,tex_zmcd4,第一天,500,95_5_1,[782b10]购买{0}次至尊月卡[-],205000,,3_1000,,
|
|
27604583267050603,15640779606316,1587378131162295512,
|
|
--107,1,1,7,tex_zmcd4,第一天,300,121_1_50,[782b10]累计进行{0}次机缘寻宝[-],2551000,,3_1000,,
|
|
27604583266280569,15640974807115,1587378131159945512,
|
|
--121,1,3,1,tex_zmcd4,第一天,75,7_1,[782b10]累计登录达到{0}天[-],201000,,3_1000,,
|
|
27604583266411642,15641584918628,1587378131159948512,
|
|
--122,1,3,2,tex_zmcd4,第一天,100,92_2,[782b10]累计进行{0}次元宝悟道[-],204000,,3_1000,,
|
|
27604583266542715,15642121793636,1587378131159948512,
|
|
--123,1,3,3,tex_zmcd4,第一天,100,91_3,[782b10]累计进行{0}次经验悟道[-],204000,,3_1000,,
|
|
27604583266673788,4383401902180,1587378131160956512,
|
|
--124,1,3,4,tex_zmcd4,第一天,100,87_1_5,[782b10]累计击杀{0}个世界首领(二层及以上)[-],1212000,,3_1000,,
|
|
27604583266804861,15643195543652,1587378131160957512,
|
|
--125,1,3,5,tex_zmcd4,第一天,100,87_16_1,[782b10]累计击杀{0}个VIP首领[-],1213000,,3_1000,,
|
|
27604583266935934,15643732418660,1587378131160959512,
|
|
--126,1,3,6,tex_zmcd4,第一天,100,87_8_7,[782b10]累计击杀{0}个个人首领[-],1215000,,3_1000,,
|
|
27604583267067007,15644269293668,1587378131160975612,
|
|
--127,1,3,7,tex_zmcd4,第一天,100,35_25,[782b10]通关万妖卷{0}层[-],1231100,,3_1000,,
|
|
27604583266272367,15644508954724,1587378131159905612,
|
|
--111,1,2,1,tex_zmcd4,第一天,100,20_20,[782b10]全身强化等级总和达到{0}[-],161100,,3_1000,,
|
|
27604583266403440,15645074606155,1587378131159906512,
|
|
--112,1,2,2,tex_zmcd4,第一天,75,22_10,[782b10]全身宝石等级总和达到{0}[-],162000,,3_1000,,
|
|
27604583266534513,15645611481188,1587397509306839252,
|
|
--113,1,2,3,tex_zmcd4,第一天,100,217_8_1_1_1,[782b10]穿戴任意品质神品手镯[-],1241300,2310055,3_1000,,
|
|
27604583266665586,15646148356246,1587397511051669716,
|
|
--114,1,2,4,tex_zmcd4,第一天,150,217_9_1_1_1,[782b10]穿戴任意品质神品耳环[-],1241300,2310263,3_1000,,
|
|
27604583266796659,15646685231304,1587378131160956512,
|
|
--115,1,2,5,tex_zmcd4,第一天,200,55_6_7_5_1,[782b10]穿戴6阶及以上的红色5星装备1件[-],1212000,,3_1000,,
|
|
27604583266288771,15646853369906,1587378131159794512,
|
|
--131,1,4,1,tex_zmcd4,第一天,50,11_1,[782b10]创建或者加入{0}个仙盟[-],50000,,3_1000,,
|
|
27604583266419844,15647166113842,1587378131159744512,
|
|
--132,1,4,2,tex_zmcd4,第一天,50,136_1,[782b10]仙盟频道发言{0}次[-],0,,3_1000,,
|
|
27604583266550917,2493828802660,1587378131159800812,
|
|
--133,1,4,3,tex_zmcd4,第一天,100,148_1,[782b10]完成{0}次S级仙盟任务[-],56300,,3_1000,,
|
|
27604583266681990,15648027418674,1587378131159744512,
|
|
--134,1,4,4,tex_zmcd4,第一天,50,100_5,[782b10]累计在首领中发起{0}次仙盟求援[-],0,,3_1000,,
|
|
27604583266813063,15648564293682,1587378131159744512,
|
|
--135,1,4,5,tex_zmcd4,第一天,50,101_5,[782b10]累计完成{0}次仙盟支援[-],0,,3_1000,,
|
|
27604583266944136,15649101168740,1587378131159802512,
|
|
--136,1,4,6,tex_zmcd4,第一天,100,142_2,[782b10]累计参与{0}次仙盟BOSS[-],58000,,3_1000,,
|
|
27605133022095581,15641020035147,1587378131159945512,
|
|
--221,2,3,1,tex_zmcd4,第二天,75,7_2,[782b10]累计登录达到{0}天[-],201000,,3_1000,,
|
|
27605133022226654,15641584980068,1587378131159948512,
|
|
--222,2,3,2,tex_zmcd4,第二天,100,92_4,[782b10]累计进行{0}次元宝悟道[-],204000,,3_1000,,
|
|
27605133022357727,15642121853028,1587378131159948512,
|
|
--223,2,3,3,tex_zmcd4,第二天,100,91_8,[782b10]累计进行{0}次经验悟道[-],204000,,3_1000,,
|
|
27605133022488800,4383401959524,1587378131160956512,
|
|
--224,2,3,4,tex_zmcd4,第二天,100,87_1_10,[782b10]累计击杀{0}个世界首领(二层及以上)[-],1212000,,3_1000,,
|
|
27605133022619873,15643195598948,1587378131160957512,
|
|
--225,2,3,5,tex_zmcd4,第二天,100,87_16_3,[782b10]累计击杀{0}个VIP首领[-],1213000,,3_1000,,
|
|
27605133022750946,15643732471908,1587378131160959512,
|
|
--226,2,3,6,tex_zmcd4,第二天,100,87_8_9,[782b10]累计击杀{0}个个人首领[-],1215000,,3_1000,,
|
|
27605133022882019,15644240552036,1587378131160975612,
|
|
--227,2,3,7,tex_zmcd4,第二天,100,35_35,[782b10]通关万妖卷{0}层[-],1231100,,3_1000,,
|
|
27605133023013092,15650656589924,1587378131161084512,
|
|
--228,2,3,8,tex_zmcd4,第二天,100,150_40,[782b10]通关剑灵阁{0}层[-],1340000,,3_1000,,
|
|
27605133022087379,15644537782372,1587378131159905612,
|
|
--211,2,2,1,tex_zmcd4,第二天,100,20_40,[782b10]全身强化等级总和达到{0}[-],161100,,3_1000,,
|
|
27605133022218452,15645074655482,1587378131159906512,
|
|
--212,2,2,2,tex_zmcd4,第二天,250,22_30,[782b10]全身宝石等级总和达到{0}[-],162000,,3_1000,,
|
|
27605133022349525,15651785543980,1587378131160956512,
|
|
--213,2,2,3,tex_zmcd4,第二天,300,55_7_7_5_3,[782b10]穿戴7阶及以上的红色5星装备3件[-],1212000,,3_1000,,
|
|
27605133022480598,15652322418788,1587378131159966512,
|
|
--214,2,2,4,tex_zmcd4,第二天,100,131_150000,[782b10]圣装战力达到{0}[-],222000,,3_1000,,
|
|
27605133022611671,15652859293796,1587378131162745512,
|
|
--215,2,2,5,tex_zmcd4,第二天,100,217_10_1_1_1,[782b10]穿戴任意品质神品灵章[-],3001000,,3_1000,,
|
|
27605133022079177,15638632218774,1587378131159950512,
|
|
--201,2,1,1,tex_zmcd4,第二天,150,157_11_2,[782b10]累计购买{0}次问道之礼礼包[-],206000,,3_1000,,
|
|
27605133022210250,15639169091784,1587378131159950512,
|
|
--202,2,1,2,tex_zmcd4,第二天,200,157_14_2,[782b10]累计购买{0}次飞升之礼礼包[-],206000,,3_1000,,
|
|
27605133022341323,15639705964844,1587378131159950512,
|
|
--203,2,1,3,tex_zmcd4,第二天,300,157_15_2,[782b10]累计购买{0}次仙尊豪礼礼包[-],206000,,3_1000,,
|
|
27605133022472396,15653857382700,1587378131159947512,
|
|
--204,2,1,4,tex_zmcd4,第二天,300,130_27_1,[782b10]购买{0}次成长基金[-],203000,,3_1000,,
|
|
27605133022603469,15640779710964,1587378131162295512,
|
|
--205,2,1,5,tex_zmcd4,第二天,500,121_1_200,[782b10]累计进行{0}次机缘寻宝[-],2551000,,3_1000,,
|
|
27605133022103783,15654738356324,1587378131160964512,
|
|
--231,2,4,1,tex_zmcd4,第二天,100,87_9_8,[782b10]累计击杀{0}个仙盟福地BOSS[-],1220000,,3_1000,,
|
|
27605133022234856,15648011814962,1587378131159744512,
|
|
--232,2,4,2,tex_zmcd4,第二天,50,100_10,[782b10]累计在首领中发起{0}次仙盟求援[-],0,,3_1000,,
|
|
27605133022365929,15648564344882,1587378131159744512,
|
|
--233,2,4,3,tex_zmcd4,第二天,50,101_10,[782b10]累计完成{0}次仙盟支援[-],0,,3_1000,,
|
|
27605133022497002,15649101217892,1587378131159802512,
|
|
--234,2,4,4,tex_zmcd4,第二天,100,142_4,[782b10]累计参与{0}次仙盟BOSS[-],58000,,3_1000,,
|
|
27605682777910593,15641020057700,1587378131159945512,
|
|
--321,3,3,1,tex_zmcd4,第三天,100,7_3,[782b10]累计登录达到{0}天[-],201000,,3_1000,,
|
|
27605682778041666,15641585027222,1587378131159948512,
|
|
--322,3,3,2,tex_zmcd4,第三天,150,92_7,[782b10]累计进行{0}次元宝悟道[-],204000,,3_1000,,
|
|
27605682778172739,15642121900182,1587378131159948512,
|
|
--323,3,3,3,tex_zmcd4,第三天,150,91_16,[782b10]累计进行{0}次经验悟道[-],204000,,3_1000,,
|
|
27605682778303812,4383402006628,1587378131160956512,
|
|
--324,3,3,4,tex_zmcd4,第三天,100,87_1_20,[782b10]累计击杀{0}个世界首领(二层及以上)[-],1212000,,3_1000,,
|
|
27605682778434885,15643195646052,1587378131160957512,
|
|
--325,3,3,5,tex_zmcd4,第三天,100,87_16_15,[782b10]累计击杀{0}个VIP首领[-],1213000,,3_1000,,
|
|
27605682778565958,15643732519012,1587378131160959512,
|
|
--326,3,3,6,tex_zmcd4,第三天,100,87_8_11,[782b10]累计击杀{0}个个人首领[-],1215000,,3_1000,,
|
|
27605682778697031,15644269391972,1587378131160975612,
|
|
--327,3,3,7,tex_zmcd4,第三天,100,35_55,[782b10]通关万妖卷{0}层[-],1231100,,3_1000,,
|
|
27605133023014216,15650656612452,1587378131161084512,
|
|
--328,3,3,8,tex_zmcd4,第二天,100,150_80,[782b10]通关剑灵阁{0}层[-],1340000,,3_1000,,
|
|
27605682777902391,15644537829526,1587378131159905612,
|
|
--311,3,2,1,tex_zmcd4,第三天,150,20_60,[782b10]全身强化等级总和达到{0}[-],161100,,3_1000,,
|
|
27605682778033464,15645074702411,1587378131159906512,
|
|
--312,3,2,2,tex_zmcd4,第三天,75,22_50,[782b10]全身宝石等级总和达到{0}[-],162000,,3_1000,,
|
|
27605682778164537,15657959606672,1587378131160956512,
|
|
--313,3,2,3,tex_zmcd4,第三天,400,55_8_7_5_3,[782b10]穿戴8阶及以上的红色5星装备3件[-],1212000,,3_1000,,
|
|
27605682778295610,15658496481780,1587378131160956512,
|
|
--314,3,2,4,tex_zmcd4,第三天,500,55_8_7_5_6,[782b10]穿戴8阶及以上的红色5星装备6件[-],1212000,,3_1000,,
|
|
27605682778426683,15659033356488,1587378131159954512,
|
|
--315,3,2,5,tex_zmcd4,第三天,200,74_5_1,[782b10]神兽助战激活辰龙及以上[-],210000,,3_1000,,
|
|
27605682778557756,15652322474184,1587378131159966512,
|
|
--316,3,2,6,tex_zmcd4,第三天,200,131_300000,[782b10]圣装战力达到{0}[-],222000,,3_1000,,
|
|
27605682777894189,15638632268026,1587378131159950512,
|
|
--301,3,1,1,tex_zmcd4,第三天,250,157_11_3,[782b10]累计购买{0}次问道之礼礼包[-],206000,,3_1000,,
|
|
27605682778025262,15639169141036,1587378131159950512,
|
|
--302,3,1,2,tex_zmcd4,第三天,300,157_14_3,[782b10]累计购买{0}次飞升之礼礼包[-],206000,,3_1000,,
|
|
27605682778156335,15639706014096,1587378131159950512,
|
|
--303,3,1,3,tex_zmcd4,第三天,400,157_15_3,[782b10]累计购买{0}次仙尊豪礼礼包[-],206000,,3_1000,,
|
|
27605682778287408,15640779758568,1587378131162295512,
|
|
--304,3,1,4,tex_zmcd4,第三天,1000,121_1_500,[782b10]累计进行{0}次机缘寻宝[-],2551000,,3_1000,,
|
|
27605682777918795,15660557789384,1587378131159801512,
|
|
--331,3,4,1,tex_zmcd4,第三天,200,137_1,[782b10]参加{0}次仙盟战[-],57000,,3_1000,,
|
|
27605682778049868,15654738405476,1587378131160964512,
|
|
--332,3,4,2,tex_zmcd4,第三天,100,87_9_24,[782b10]累计击杀{0}个仙盟福地BOSS[-],1220000,,3_1000,,
|
|
27605682778180941,15648027521074,1587378131159744512,
|
|
--333,3,4,3,tex_zmcd4,第三天,50,100_15,[782b10]累计在首领中发起{0}次仙盟求援[-],0,,3_1000,,
|
|
27605682778312014,15648564394034,1587378131159744512,
|
|
--334,3,4,4,tex_zmcd4,第三天,50,101_15,[782b10]累计完成{0}次仙盟支援[-],0,,3_1000,,
|
|
27605682778443087,15649101267044,1587378131159802512,
|
|
--335,3,4,5,tex_zmcd4,第三天,100,142_10,[782b10]累计参与{0}次仙盟BOSS[-],58000,,3_1000,,
|
|
}
|
|
local L_MainKeyDic = {
|
|
[101]=1,[102]=2,[103]=3,[104]=4,[105]=5,[106]=6,[107]=7,[121]=8,[122]=9,[123]=10,[124]=11,[125]=12,[126]=13,[127]=14,[111]=15,
|
|
[112]=16,[113]=17,[114]=18,[115]=19,[131]=20,[132]=21,[133]=22,[134]=23,[135]=24,[136]=25,[221]=26,[222]=27,[223]=28,[224]=29,[225]=30,
|
|
[226]=31,[227]=32,[228]=33,[211]=34,[212]=35,[213]=36,[214]=37,[215]=38,[201]=39,[202]=40,[203]=41,[204]=42,[205]=43,[231]=44,[232]=45,
|
|
[233]=46,[234]=47,[321]=48,[322]=49,[323]=50,[324]=51,[325]=52,[326]=53,[327]=54,[328]=55,[311]=56,[312]=57,[313]=58,[314]=59,[315]=60,
|
|
[316]=61,[301]=62,[302]=63,[303]=64,[304]=65,[331]=66,[332]=67,[333]=68,[334]=69,[335]=70,}
|
|
local L_NamesByNum = {
|
|
Id = 1,
|
|
Day = 2,
|
|
SubId = 3,
|
|
Sort = 4,
|
|
Rate = 7,
|
|
RelationUI = 10,
|
|
RelationSubUI = 11,
|
|
}
|
|
local L_NamesByString = {
|
|
MenuTex = 5,
|
|
Name = 6,
|
|
Condition = 8,
|
|
Des = 9,
|
|
Reward = 12,
|
|
}
|
|
local L_ColNameIndexs = {
|
|
Id = 0,
|
|
Day = 1,
|
|
SubId = 2,
|
|
Sort = 3,
|
|
MenuTex = 4,
|
|
Name = 5,
|
|
Rate = 6,
|
|
Condition = 7,
|
|
Des = 8,
|
|
RelationUI = 9,
|
|
RelationSubUI = 10,
|
|
Reward = 11,
|
|
}
|
|
--local L_ColumnUseBitCount = {10,3,4,5,17,17,11,17,17,23,23,16,}
|
|
--local L_ColumnList = {1,1,1,1,1,1,2,2,2,3,3,3,}
|
|
--local L_ShiftDataList = {0,10,13,17,22,39,0,11,28,0,23,46,}
|
|
--local L_AndDataList = {511,3,7,15,65535,65535,1023,65535,65535,4194303,4194303,32767,}
|
|
local L_ColumnShiftAndList = {1,0,511,1,10,3,1,13,7,1,17,15,1,22,65535,1,39,65535,2,0,1023,2,11,65535,2,28,65535,3,0,4194303,3,23,4194303,3,46,32767,}
|
|
local L_ColNum = 12;
|
|
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 = 70
|
|
}
|
|
|
|
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
|