refactor: update dependencies

This commit is contained in:
Anna 2022-05-03 16:43:25 -04:00
parent b01e6b3bf4
commit e7b38855a1
2 changed files with 4 additions and 5 deletions

View File

@ -261,7 +261,7 @@ namespace SourceGenerator {
sb.Append(" pub static ref WORLDS: HashMap<u32, World> = maplit::hashmap! {\n"); sb.Append(" pub static ref WORLDS: HashMap<u32, World> = maplit::hashmap! {\n");
foreach (var world in this.Data[Language.English].GetExcelSheet<World>()!) { foreach (var world in this.Data[Language.English].GetExcelSheet<World>()!) {
if (world.RowId == 0 || !world.Unknown5 || world.Unknown4 == 0 || world.DataCenter.Row == 0) { if (world.RowId == 0 || !world.IsPublic || world.UserType == 0 || world.DataCenter.Row == 0) {
continue; continue;
} }
@ -406,7 +406,6 @@ namespace SourceGenerator {
sb.Append(builder); sb.Append(builder);
} }
} }
// TODO: do lookup
} else { } else {
var text = this.GetLocalisedStruct<Completion>(row.RowId, row => row.Text, 8); var text = this.GetLocalisedStruct<Completion>(row.RowId, row => row.Text, 8);
if (text != null) { if (text != null) {

View File

@ -7,9 +7,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Lumina" Version="3.5.0"/> <PackageReference Include="Lumina" Version="3.5.2"/>
<PackageReference Include="Lumina.Excel" Version="6.0.0"/> <PackageReference Include="Lumina.Excel" Version="6.1.1"/>
<PackageReference Include="Pidgin" Version="3.0.0"/> <PackageReference Include="Pidgin" Version="3.1.0"/>
</ItemGroup> </ItemGroup>
</Project> </Project>