Code commit

This commit is contained in:
RisaDev
2024-01-06 01:21:41 +03:00
parent a7d7297c59
commit a486dd2c96
90 changed files with 11576 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using CustomizePlus.Game.Services.GPose;
using CustomizePlus.Game.Services.GPose.ExternalTools;
namespace CustomizePlus.Game.Services;
public class GameStateService
{
private readonly GPoseService _gposeService;
private readonly PosingModeDetectService _posingModeDetectService;
public GameStateService(GPoseService gposeService, PosingModeDetectService posingModeDetectService)
{
_gposeService = gposeService;
_posingModeDetectService = posingModeDetectService;
}
public bool GameInPosingMode()
{
return _gposeService.GPoseState == GPoseState.Inside || _posingModeDetectService.IsInPosingMode;
}
}