public static bool Prefix(CameraControl __instance, CameraControl.CameraState newState)
 {
     if (!SequenceHelper.SkipSequenceByTrace(new StackTrace()))
     {
         if (TotalCameraControl.GlobalSettings.debug)
         {
             Logger.Log("setState: Skipping!", false);
         }
         return(true);
     }
     else if (newState == CameraControl.CameraState.NotSet ||
              newState == CameraControl.CameraState.RestoringPlayer ||
              newState == CameraControl.CameraState.PlayerControlled)
     {
         return(false);
     }
     return(true);
 }
 public static bool Prefix(MultiSequence __instance, MethodBase __originalMethod, CameraSequence sequence, int messageIndex)
 {
     return(!SequenceHelper.SkipSequenceByTrace(new StackTrace()));
 }
 public static bool Prefix()
 {
     return(!SequenceHelper.SkipSequenceByTrace(new StackTrace()));
 }