コード例 #1
0
 public bool IsHackSuccessful(int hackId, int playerId)
 {
     if (_iplayerContext.PassedDifficultyCheck(hackId, playerId))
     {
         _iplayerContext.ConsumeEnergy(hackId, playerId);
     }
     return(_iplayerContext.PassedDifficultyCheck(hackId, playerId));
 }