mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 08:52:52 +08:00
Particles resource packing improvement
This commit is contained in:
parent
cdbe4f59b9
commit
21645a3297
@ -3130,6 +3130,7 @@ namespace CodeWalker.GameFiles
|
|||||||
blk.Name = item.Name;
|
blk.Name = item.Name;
|
||||||
blist.Add(blk);
|
blist.Add(blk);
|
||||||
}
|
}
|
||||||
|
blist.Sort((a, b) => a.Name.Hash.CompareTo(b.Name.Hash));
|
||||||
Unknown_28h.data_items = blist.ToArray();
|
Unknown_28h.data_items = blist.ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3250,13 +3251,6 @@ namespace CodeWalker.GameFiles
|
|||||||
writer.Write(this.ItemPointer);
|
writer.Write(this.ItemPointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IResourceBlock[] GetReferences()
|
|
||||||
{
|
|
||||||
var list = new List<IResourceBlock>();
|
|
||||||
if (Item != null) list.Add(Item);
|
|
||||||
return list.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return Name.ToString();
|
return Name.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user