-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to fix which object state we load
- Loading branch information
1 parent
265662f
commit 4e6596a
Showing
4 changed files
with
32 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace OpenTS2.Content.DBPF | ||
{ | ||
/// <summary> | ||
/// Called cEdithObjectModule in game. | ||
/// </summary> | ||
public class ObjectModuleAsset : AbstractAsset | ||
{ | ||
public ObjectModuleAsset(int version) | ||
public ObjectModuleAsset(int version, Dictionary<int, int> objectIdToSaveType) | ||
{ | ||
Version = version; | ||
ObjectIdToSaveType = objectIdToSaveType; | ||
} | ||
|
||
public int Version { get; } | ||
|
||
public Dictionary<int, int> ObjectIdToSaveType { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters