v0.80.65
This commit is contained in:
@@ -21,7 +21,7 @@ namespace AssetStudio
|
||||
Games.Add(index++, new Mr0k(GameType.BH3, BH3ExpansionKey, BH3SBox, BH3InitVector, BH3BlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.BH3_Pre, PackExpansionKey, blockKey: PackBlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.SR_CB2, Mr0kExpansionKey, initVector: Mr0kInitVector, blockKey: Mr0kBlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.SR_CB3, Mr0kExpansionKey, initVector: Mr0kInitVector, blockKey: Mr0kBlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.SR, Mr0kExpansionKey, initVector: Mr0kInitVector, blockKey: Mr0kBlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.ZZZ_CB1, Mr0kExpansionKey, initVector: Mr0kInitVector, blockKey: Mr0kBlockKey));
|
||||
Games.Add(index++, new Mr0k(GameType.TOT, Mr0kExpansionKey, initVector: Mr0kInitVector, blockKey: Mr0kBlockKey, postKey: ToTKey));
|
||||
Games.Add(index++, new Game(GameType.Naraka));
|
||||
@@ -124,7 +124,7 @@ namespace AssetStudio
|
||||
BH3_Pre,
|
||||
ZZZ_CB1,
|
||||
SR_CB2,
|
||||
SR_CB3,
|
||||
SR,
|
||||
TOT,
|
||||
Naraka,
|
||||
EnsembleStars,
|
||||
@@ -148,7 +148,7 @@ namespace AssetStudio
|
||||
public static bool IsBH3Pre(this GameType type) => type == GameType.BH3_Pre;
|
||||
public static bool IsZZZCB1(this GameType type) => type == GameType.ZZZ_CB1;
|
||||
public static bool IsSRCB2(this GameType type) => type == GameType.SR_CB2;
|
||||
public static bool IsSRCB3(this GameType type) => type == GameType.SR_CB3;
|
||||
public static bool IsSR(this GameType type) => type == GameType.SR;
|
||||
public static bool IsTOT(this GameType type) => type == GameType.TOT;
|
||||
public static bool IsNaraka(this GameType type) => type == GameType.Naraka;
|
||||
public static bool IsOPFP(this GameType type) => type == GameType.OPFP;
|
||||
@@ -172,19 +172,19 @@ namespace AssetStudio
|
||||
|
||||
public static bool IsSRGroup(this GameType type) => type switch
|
||||
{
|
||||
GameType.SR_CB2 or GameType.SR_CB3 => true,
|
||||
GameType.SR_CB2 or GameType.SR => true,
|
||||
_ => false,
|
||||
};
|
||||
|
||||
public static bool IsBlockFile(this GameType type) => type switch
|
||||
{
|
||||
GameType.BH3 or GameType.BH3_Pre or GameType.SR_CB3 or GameType.GI_Pack or GameType.TOT => true,
|
||||
GameType.BH3 or GameType.BH3_Pre or GameType.SR or GameType.GI_Pack or GameType.TOT => true,
|
||||
_ => false,
|
||||
};
|
||||
|
||||
public static bool IsMhyGroup(this GameType type) => type switch
|
||||
{
|
||||
GameType.GI or GameType.GI_Pack or GameType.GI_CB1 or GameType.GI_CB2 or GameType.GI_CB3 or GameType.GI_CB3Pre or GameType.BH3 or GameType.SR_CB2 or GameType.SR_CB3 or GameType.TOT => true,
|
||||
GameType.GI or GameType.GI_Pack or GameType.GI_CB1 or GameType.GI_CB2 or GameType.GI_CB3 or GameType.GI_CB3Pre or GameType.BH3 or GameType.SR_CB2 or GameType.SR or GameType.TOT => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user