from Server.Game.json_helper import GetCardListJSON
from Server.Game.Requests.pick_card_request_wrapper import PickCardRequestWrapper


class PickUpToNCostRequestWrapper(PickCardRequestWrapper):
    """ A Wrapper for a Pick Up To N Cost Request that handles its conversion to JSON """

    def toJSON(self, includeActions=False):
        """ Return the request as a JSON Dictionary """
        json = PickCardRequestWrapper.toCoreJSON(self, includeActions=
            includeActions)
        json['type'] = 'PICK_UP_TO_N_COST'
        json['cost'] = self.request.cost
        return json

42a5f9b79999f6eaba88e8af395e0ead7320ecbf
<mask token>


class PickUpToNCostRequestWrapper(PickCardRequestWrapper):
    <mask token>
    <mask token>

<mask token>


class PickUpToNCostRequestWrapper(PickCardRequestWrapper):
    <mask token>

    def toJSON(self, includeActions=False):
        """ Return the request as a JSON Dictionary """
        json = PickCardRequestWrapper.toCoreJSON(self, includeActions=
            includeActions)
        json['type'] = 'PICK_UP_TO_N_COST'
        json['cost'] = self.request.cost
        return json

<mask token>


class PickUpToNCostRequestWrapper(PickCardRequestWrapper):
    """ A Wrapper for a Pick Up To N Cost Request that handles its conversion to JSON """

    def toJSON(self, includeActions=False):
        """ Return the request as a JSON Dictionary """
        json = PickCardRequestWrapper.toCoreJSON(self, includeActions=
            includeActions)
        json['type'] = 'PICK_UP_TO_N_COST'
        json['cost'] = self.request.cost
        return json

from Server.Game.json_helper import GetCardListJSON
from Server.Game.Requests.pick_card_request_wrapper import PickCardRequestWrapper


class PickUpToNCostRequestWrapper(PickCardRequestWrapper):
    """ A Wrapper for a Pick Up To N Cost Request that handles its conversion to JSON """

    def toJSON(self, includeActions=False):
        """ Return the request as a JSON Dictionary """
        json = PickCardRequestWrapper.toCoreJSON(self, includeActions=
            includeActions)
        json['type'] = 'PICK_UP_TO_N_COST'
        json['cost'] = self.request.cost
        return json
