-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Constants.InsideStudio and use it
- Loading branch information
1 parent
e0c8a40
commit d9eab99
Showing
7 changed files
with
15 additions
and
16 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
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
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,36 +1,44 @@ | ||
namespace BepisPlugins | ||
using UnityEngine; | ||
|
||
namespace BepisPlugins | ||
{ | ||
internal static class Constants | ||
{ | ||
#if AI | ||
internal static bool InsideStudio => Application.productName == StudioProcessName; | ||
internal const string StudioProcessName = "StudioNEOV2"; | ||
internal const string GameProcessName = "AI-Syoujyo"; | ||
#elif EC | ||
internal const string GameProcessName = "EmotionCreators"; | ||
#elif HS | ||
internal static bool InsideStudio => Application.productName == StudioProcessName || Application.productName == StudioProcessName32bit; | ||
internal const string StudioProcessName = "StudioNEO_64"; | ||
internal const string StudioProcessName32bit = "StudioNEO_32"; | ||
internal const string GameProcessName = "HoneySelect_64"; | ||
internal const string GameProcessName32bit = "HoneySelect_32"; | ||
internal const string BattleArenaProcessName = "BattleArena_64"; | ||
internal const string BattleArenaProcessName32bit = "BattleArena_32"; | ||
#elif HS2 | ||
internal static bool InsideStudio => Application.productName == StudioProcessName; | ||
internal const string StudioProcessName = "StudioNEOV2"; | ||
internal const string GameProcessName = "HoneySelect2"; | ||
internal const string VRProcessName = "HoneySelect2VR"; | ||
#elif KK | ||
internal static bool InsideStudio => Application.productName == StudioProcessName; | ||
internal const string StudioProcessName = "CharaStudio"; | ||
internal const string GameProcessName = "Koikatu"; | ||
internal const string GameProcessNameSteam = "Koikatsu Party"; | ||
internal const string VRProcessName = "KoikatuVR"; | ||
internal const string VRProcessNameSteam = "Koikatsu Party VR"; | ||
#elif PH | ||
internal static bool InsideStudio => Application.productName == StudioProcessName || Application.productName == StudioProcessName32bit; | ||
internal const string GameProcessName = "PlayHome64bit"; | ||
internal const string GameProcessName32bit = "PlayHome32bit"; | ||
internal const string StudioProcessName = "PlayHomeStudio64bit"; | ||
internal const string StudioProcessName32bit = "PlayHomeStudio32bit"; | ||
#elif KKS | ||
internal const string GameProcessName = "KoikatsuSunshineTrial"; //todo | ||
#elif KKS //todo change on full release | ||
internal static bool InsideStudio => false; | ||
internal const string GameProcessName = "KoikatsuSunshineTrial"; | ||
#endif | ||
} | ||
} |