Last change
on this file since 1170 was 1114, checked in by iritscen, 5 years ago |
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.
|
File size:
566 bytes
|
Line | |
---|
1 | namespace Oni
|
---|
2 | {
|
---|
3 | internal sealed class DatUnpacker : Exporter
|
---|
4 | {
|
---|
5 | public DatUnpacker(InstanceFileManager fileManager, string outputDirPath)
|
---|
6 | : base(fileManager, outputDirPath)
|
---|
7 | {
|
---|
8 | }
|
---|
9 |
|
---|
10 | protected override void ExportInstance(InstanceDescriptor descriptor)
|
---|
11 | {
|
---|
12 | var referencedDescriptors = descriptor.GetReferencedDescriptors();
|
---|
13 | var writer = InstanceFileWriter.CreateV32(referencedDescriptors);
|
---|
14 | writer.Write(CreateFileName(descriptor, ".oni"));
|
---|
15 | }
|
---|
16 | }
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.