import ClientMessage from "../../protocol/ClientMessage" ; import { REQUEST_CATALOGUE_PURCHASE } from "../../protocol/OpCodes/ClientOpCodes" ; export default class RequestCataloguePurchase extends ClientMessage { constructor ( pageId , itemId ) { super ( REQUEST_CATALOGUE_PURCHASE ) ; this . appendInt ( pageId ) ; this . appendInt ( itemId ) ; } }