新增部分 Equipment类 文件解析 逻辑
This commit is contained in:
parent
5427dc3f57
commit
50bea6ba37
|
|
@ -147,7 +147,7 @@ class _AssetManager_ {
|
||||||
while (!Data.Eof()) {
|
while (!Data.Eof()) {
|
||||||
local Pack = Data.Get();
|
local Pack = Data.Get();
|
||||||
//名称 grade 套装Id
|
//名称 grade 套装Id
|
||||||
if (Pack == "[name]" || Pack == "[part set index]" || Pack == "[grade]") {
|
if (Pack == "[name]" || Pack == "[part set index]" || Pack == "[grade]" || Pack == "[minimum level]") {
|
||||||
local RealKey = Pack.slice(1, -1);
|
local RealKey = Pack.slice(1, -1);
|
||||||
DataTable[RealKey] <- Data.Get();
|
DataTable[RealKey] <- Data.Get();
|
||||||
}
|
}
|
||||||
|
|
@ -179,13 +179,14 @@ class _AssetManager_ {
|
||||||
//Ani
|
//Ani
|
||||||
else if (Pack == "[animation job]") {
|
else if (Pack == "[animation job]") {
|
||||||
local Job = Data.Get().slice(1, -1);
|
local Job = Data.Get().slice(1, -1);
|
||||||
DataTable["Ani_" + Job] <- {};
|
if (!(DataTable.rawin("Ani"))) DataTable["Ani"] <- {};
|
||||||
|
DataTable["Ani"]["Ani_" + Job] <- {};
|
||||||
Data.Get();
|
Data.Get();
|
||||||
|
|
||||||
local Index1 = Data.Get();
|
local Index1 = Data.Get();
|
||||||
local Index2 = Data.Get();
|
local Index2 = Data.Get();
|
||||||
DataTable["Ani_" + Job].variation <- [Index1, Index2];
|
DataTable["Ani"]["Ani_" + Job].variation <- [Index1, Index2];
|
||||||
DataTable["Ani_" + Job].layer_variation <- [];
|
DataTable["Ani"]["Ani_" + Job].layer_variation <- [];
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
local Ret = Data.Get();
|
local Ret = Data.Get();
|
||||||
|
|
@ -196,7 +197,7 @@ class _AssetManager_ {
|
||||||
local InfoBuf = {};
|
local InfoBuf = {};
|
||||||
InfoBuf.Zorder <- Data.Get();
|
InfoBuf.Zorder <- Data.Get();
|
||||||
InfoBuf.Path <- Data.Get();
|
InfoBuf.Path <- Data.Get();
|
||||||
DataTable["Ani_" + Job].layer_variation.append(InfoBuf);
|
DataTable["Ani"]["Ani_" + Job].layer_variation.append(InfoBuf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue