218 lines
8.8 KiB
Lua
218 lines
8.8 KiB
Lua
|
--文件是自动生成,请勿手动修改.来自数据文件:task_littletalk
|
|||
|
local L_CompressMaxColumn = 2
|
|||
|
local L_CompressData = {
|
|||
|
27547027288891777,2861457134413984,
|
|||
|
--1,3,99010,-1,50107,160,-90,0,你们做的一切都是徒劳的,万妖卷终于要回到妖族手中了!,,1,5,,
|
|||
|
27547030938718594,2967010384898208,
|
|||
|
--2,3,990081,-1,50107,160,-90,0,众妖听令,拦住碍事的人,待我破封,便杀出玄天宗!,,4,5,,
|
|||
|
16506831034368387,2439244937783616,
|
|||
|
--3,3,99004,-1,30025,320,-90,0,小心,我感觉前方有潜伏的妖气。,,5,4,,
|
|||
|
27547071935264388,2861457537067168,
|
|||
|
--4,13,10999003,-1,50107,160,-90,0,这不可能,你怎么会有那么强大的力量……,,1,5,,
|
|||
|
412316860437,2861457671285056,
|
|||
|
--21,0,0,-1,0,320,-90,0,这里经验涨的好快啊,感觉可以很快升到75级,,1,5,,
|
|||
|
412316860438,2861457805502784,
|
|||
|
--22,0,0,-1,0,320,-90,0,仙盟支援?来试试看吧。。。,,1,5,,
|
|||
|
27510743040606231,2861457939720512,
|
|||
|
--23,0,10004,-1,50041,320,-90,0,这次我路过心情好,先帮你一把吧,,1,5,,
|
|||
|
27510743040606232,2861458073938240,
|
|||
|
--24,0,10004,-1,50041,320,-90,0,加入仙盟后去抢夺更强的首领时,一定要用支援,,1,5,,
|
|||
|
27549779724976540,2826273836067136,
|
|||
|
--28,3,991836,-1,50112,320,-90,0,前方有强烈的灵气波动,似乎发生了战斗。,,0,5,,
|
|||
|
27550325824491933,2826273970392384,
|
|||
|
--29,3,99185,-1,50113,320,-195,0,是援兵吗?不对,你们不是羽民族!,,0,5,,
|
|||
|
27550875580314014,2826274104610112,
|
|||
|
--30,3,99187,-1,50114,320,-195,0,水晶被破坏一定会引起年兽的警觉,小心。,,0,5,,
|
|||
|
27549776068702623,2826274238720320,
|
|||
|
--31,3,99191,-1,50112,320,-90,0,空间挪移的压迫变弱了,再击破一个水晶就能停下挪移。,,0,5,,
|
|||
|
27550875580338592,2826274407648576,
|
|||
|
--32,3,99193,-1,50114,320,-195,33,刚才阻击我们的是兽主的手下,若惊动兽主,我们难以应对。,,0,5,,
|
|||
|
27549776068710817,2826274507155776,
|
|||
|
--33,3,99193,-1,50112,320,-90,0,一股强大的神识正在锁定我们,我们去救你的族人,然后立即离开,,0,5,,
|
|||
|
27554174115258786,2826274641373504,
|
|||
|
--34,3,99202,-1,50120,320,-90,0,有人先我们一步闯入了这里,不是玄天宗的弟子!,,0,5,,
|
|||
|
27554723871076771,2826274775245120,
|
|||
|
--35,3,99203,-1,50121,320,264,0,留下痕迹的人修为极高,还有一种熟悉感。,,0,5,,
|
|||
|
27555273626902948,2826274909808960,
|
|||
|
--36,3,99206,-1,50122,320,-90,0,把他引到法阵里,我来解除“它”的操纵!,,0,5,,
|
|||
|
27569017522258341,2826275044190368,
|
|||
|
--37,3,99208,-1,50147,160,-250,0,你们以为能逃出我的掌控!!?,,0,5,,
|
|||
|
27569017522270630,2826275178408096,
|
|||
|
--38,3,99211,-1,50147,160,-250,0,不!!我是万灵之主,灵都是我的!,,0,5,,
|
|||
|
27562420452573607,2826275312397472,
|
|||
|
--39,3,99228,-1,50135,160,-27,0,这是什么?!你们自诩正道也用这种卑鄙手段么!,,0,5,,
|
|||
|
412722450856,2263325493258560,
|
|||
|
--40,3,99021,-1,0,320,-90,0,轩辕剑似是因为这道灵体而鸣响不止……,,0,4,,
|
|||
|
412722467241,2263325627476288,
|
|||
|
--41,3,99025,-1,0,320,-90,0,剑阵和灵体都被轩辕剑吸收,这是为何?,,0,4,,
|
|||
|
22006038440825260,2826275715115328,
|
|||
|
--44,3,99037,-1,40028,320,-90,0,那人让我把这个法宝交给带着轩辕剑的人,没想到一等就是百年。,,0,5,,
|
|||
|
27574515079782829,1700375942490432,
|
|||
|
--45,3,99058,-1,50157,320,-90,0,小倩,你怎么了!,,0,3,,
|
|||
|
22036275010814382,2826275982936384,
|
|||
|
--46,3,99092,-1,40083,320,2,0,是轩辕剑主!得赶快通知句芒大人。,,0,5,,
|
|||
|
22037924278260143,2826276117422400,
|
|||
|
--47,3,99093,-1,40086,320,264,0,大胆妖邪,侵犯不周天墟,当死!,,0,5,,
|
|||
|
22042322324804016,1700376396177728,
|
|||
|
--48,3,99101,-1,40094,320,264,49,万土归尘,镇!,,0,3,,
|
|||
|
22041222813176241,2826276386203968,
|
|||
|
--49,3,99101,-1,40092,320,-90,0,这莫非……是上古神灵的力量!,,0,5,,
|
|||
|
22044521348088242,2826276520421536,
|
|||
|
--50,3,99108,-1,40098,160,-90,0,明明没有走漏消息,为什么你又出来搅局!,,0,5,,
|
|||
|
22050568662077875,2826276654649664,
|
|||
|
--51,3,99117,-1,40109,320,-100,0,句芒大人说的没错,那只狐狸果然会带人回来!,,0,5,,
|
|||
|
22018133069062580,2826276788857152,
|
|||
|
--52,3,99118,-1,40050,320,-90,0,恐怕你们玄天宗内早有妖族内应,句芒率众离开竟没有触发封印!,,0,5,,
|
|||
|
22051668173713845,1700377072855360,
|
|||
|
--53,3,99119,-1,40111,320,-90,54,本座的目标,一直都是你啊!,,0,3,,
|
|||
|
22018133069066678,1700377208121664,
|
|||
|
--54,3,99119,-1,40050,320,-90,55,放开我!(被带走),,0,3,,
|
|||
|
22051668173713847,2826277191510336,
|
|||
|
--55,3,99119,-1,40111,320,-90,0,(远远传来声音)轩辕剑主,可惜本座不能亲手取你性命!,,0,5,,
|
|||
|
22057715487715768,2826277325865280,
|
|||
|
--56,3,99131,-1,40122,320,-224,0,你们来晚了,句芒大人他早已去了……那……(死亡),,0,5,,
|
|||
|
22064312557523385,1700377613920576,
|
|||
|
--57,3,99141,-1,40134,320,-90,58,如此强大,这便是魔的力量!,,0,3,,
|
|||
|
22063762801709498,2826277594363200,
|
|||
|
--58,3,99141,-1,40133,320,-285,0,能伤到本尊的力量,莫非你打开了蚩尤封印。,,0,5,,
|
|||
|
22064312557531579,2826277728381248,
|
|||
|
--59,3,99143,-1,40134,320,-90,0,本座乃妖族之主,没有人,可以,控制我,啊啊啊(遁走),,0,5,,
|
|||
|
}
|
|||
|
local L_MainKeyDic = {
|
|||
|
[1]=1,[2]=2,[3]=3,[4]=4,[21]=5,[22]=6,[23]=7,[24]=8,[28]=9,[29]=10,[30]=11,[31]=12,[32]=13,[33]=14,[34]=15,
|
|||
|
[35]=16,[36]=17,[37]=18,[38]=19,[39]=20,[40]=21,[41]=22,[44]=23,[45]=24,[46]=25,[47]=26,[48]=27,[49]=28,[50]=29,[51]=30,
|
|||
|
[52]=31,[53]=32,[54]=33,[55]=34,[56]=35,[57]=36,[58]=37,[59]=38,}
|
|||
|
local L_NamesByNum = {
|
|||
|
Id = 1,
|
|||
|
ConditionsValue = 2,
|
|||
|
ConditionsValueParam = 3,
|
|||
|
Repeat = 4,
|
|||
|
Model = 5,
|
|||
|
Size = 6,
|
|||
|
ModelYPos = 7,
|
|||
|
Nextid = 8,
|
|||
|
DelayTime = 11,
|
|||
|
ShowTime = 12,
|
|||
|
}
|
|||
|
local L_NamesByString = {
|
|||
|
Content = 9,
|
|||
|
Speech = 10,
|
|||
|
}
|
|||
|
local L_ColNameIndexs = {
|
|||
|
Id = 0,
|
|||
|
ConditionsValue = 1,
|
|||
|
ConditionsValueParam = 2,
|
|||
|
Repeat = 3,
|
|||
|
Model = 4,
|
|||
|
Size = 5,
|
|||
|
ModelYPos = 6,
|
|||
|
Nextid = 7,
|
|||
|
Content = 8,
|
|||
|
Speech = 9,
|
|||
|
DelayTime = 10,
|
|||
|
ShowTime = 11,
|
|||
|
}
|
|||
|
--local L_ColumnUseBitCount = {7,5,25,2,17,10,10,7,16,2,4,4,}
|
|||
|
--local L_ColumnList = {1,1,1,1,1,2,2,2,2,2,2,2,}
|
|||
|
--local L_ShiftDataList = {0,7,12,37,39,0,10,20,27,43,45,49,}
|
|||
|
--local L_AndDataList = {63,15,16777215,1,65535,511,511,63,32767,1,7,7,}
|
|||
|
local L_ColumnShiftAndList = {1,0,63,1,7,15,1,12,16777215,1,37,1,1,39,65535,2,0,511,2,10,511,2,20,63,2,27,32767,2,43,1,2,45,7,2,49,7,}
|
|||
|
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 = 38
|
|||
|
}
|
|||
|
|
|||
|
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
|