Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 0 additions & 167 deletions CR2W2JSON.Core/AudioEventArrayParser.cs

This file was deleted.

7 changes: 0 additions & 7 deletions CR2W2JSON.Core/IParser.cs

This file was deleted.

80 changes: 0 additions & 80 deletions CR2W2JSON.Core/LocDataMapParser.cs

This file was deleted.

70 changes: 0 additions & 70 deletions CR2W2JSON.Core/OnScreenParser.cs

This file was deleted.

21 changes: 21 additions & 0 deletions CR2W2JSON.Core/Parser/AbstractParser.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System.Collections.Generic;
using System.Runtime.Serialization;
using WolvenKit.Common.Model.Cr2w;

namespace CR2W2JSON.Core.Parser
{
public abstract class AbstractParser
{
protected ICR2WExport Chunk;

protected AbstractParser(ICR2WExport chunk)
{
Chunk = chunk;
}

public abstract ISerializable GetData();

protected Dictionary<string, List<Dictionary<string, dynamic>>> GetEntriesDictionary(List<Dictionary<string, dynamic>> entryList) =>
new() {{"entries", entryList}};
}
}
Loading