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