-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2236046
commit 6ba40e5
Showing
6 changed files
with
199 additions
and
29 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace HipHopFile | ||
{ | ||
public class AssetSerializer | ||
{ | ||
public AssetType assetType; | ||
public AHDRFlags flags; | ||
public int ADBG_alignment; | ||
public string ADBG_assetName; | ||
public string ADBG_assetFileName; | ||
public int checksum; | ||
} | ||
|
||
public class LayerSerializer | ||
{ | ||
public LayerType layerType; | ||
public int LHDR_LDBG_value; | ||
public Dictionary<uint, AssetSerializer> assets; | ||
} | ||
|
||
public class HipSerializer | ||
{ | ||
public Game currentGame; | ||
|
||
public int PACK_PVER_subVersion; | ||
public int PACK_PVER_clientVersion; | ||
public int PACK_PVER_compatible; | ||
|
||
public int PACK_PFLG_flags; | ||
|
||
public int PACK_PCRT_fileDate; | ||
public string PACK_PCRT_dateString; | ||
|
||
public string PACK_PLAT_TargetPlatform; | ||
public string PACK_PLAT_RegionFormat; | ||
public string PACK_PLAT_Language; | ||
public string PACK_PLAT_TargetGame; | ||
public string PACK_PLAT_TargetPlatformName; | ||
|
||
public int DICT_ATOC_AINF_value; | ||
public int DICT_LTOC_LINF_value; | ||
public List<LayerSerializer> layers; | ||
|
||
public int SRTM_DHDR_value; | ||
public int SRTM_DPAK_firstPadding; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net40" /> | ||
</packages> |
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