/*
Copyright (C) 2005 David Green <green@couchpotato.net>
All Rights Reserved.

This file is part of Aelfengard.

Aelfengard is proprietary software. You may not redistribute it without
prior written permission from the copyright holder.
*/

package common.clientevent;

public class ImageUploadClientEvent extends ClientEvent {

    private static final long serialVersionUID = 1L;
    
    private final int npcId;
    private final String filename;
    private final byte[] uploadData;
    
    public ImageUploadClientEvent(int npcId, String filename, byte[] uploadData) {
        super(ClientEventType.IMAGE_UPLOAD);
        this.npcId = npcId;
        this.filename = filename;
        this.uploadData = uploadData;
    }

    public int getNPCId() {
        return npcId;
    }
    
    public String getFilename() {
        return filename;
    }
    
    public byte[] getUploadData() {
        return uploadData;
    }
    
}