private static bool onFishingCastErrorMapper(NetworkErrorType errorType, ICastFishingRodErrorHandler handler) { if (errorType == NetworkErrorType.INPUT_BAD_REQUEST) { handler.onBadFishingState(); return(true); } return(false); }
public void CastFishingRod(ICastFishingRodErrorHandler errorHandler) { new CastFishingRodSequence(clubPenguinClient, errorHandler).CastFishingRod(); }
public CastFishingRodSequence(ClubPenguinClient client, ICastFishingRodErrorHandler errorHandler) { clubPenguinClient = client; this.errorHandler = errorHandler; }
public void CastFishingRod(ICastFishingRodErrorHandler errorHandler) { fishingResultFromCast = null; Service.Get <INetworkServicesManager>().MinigameService.CastFishingRod(errorHandler); }