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:
768 bytes
|
Line | |
---|
1 | namespace Oni
|
---|
2 | {
|
---|
3 | internal abstract class ImporterDescriptor
|
---|
4 | {
|
---|
5 | private readonly ImporterFile file;
|
---|
6 | private readonly TemplateTag tag;
|
---|
7 | private readonly int index;
|
---|
8 | private readonly string name;
|
---|
9 |
|
---|
10 | protected ImporterDescriptor(ImporterFile file, TemplateTag tag, int index, string name)
|
---|
11 | {
|
---|
12 | this.file = file;
|
---|
13 | this.tag = tag;
|
---|
14 | this.index = index;
|
---|
15 | this.name = name;
|
---|
16 | }
|
---|
17 |
|
---|
18 | public ImporterFile File => file;
|
---|
19 | public TemplateTag Tag => tag;
|
---|
20 | public int Index => index;
|
---|
21 | public string Name => name;
|
---|
22 |
|
---|
23 | public abstract BinaryWriter OpenWrite();
|
---|
24 | public abstract BinaryWriter OpenWrite(int offset);
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.