    001/*
    002 * Forge Mod Loader
    003 * Copyright (c) 2012-2013 cpw.
    004 * All rights reserved. This program and the accompanying materials
    005 * are made available under the terms of the GNU Lesser Public License v2.1
    006 * which accompanies this distribution, and is available at
    007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    008 *
    009 * Contributors:
    010 *     cpw - implementation
    011 */
    012
    013package cpw.mods.fml.common.network;
    014
    015import net.minecraft.network.packet.*;
    016
    017public interface IChatListener
    018{
    019    /**
    020     * Called when there is a chat message received on the server
    021     * @param handler
    022     * @param message
    023     */
    024    public Packet3Chat serverChat(NetHandler handler, Packet3Chat message);
    025
    026    /**
    027     * Called when there is a chat message recived on the client
    028     *
    029     * @param handler
    030     * @param message
    031     */
    032    public Packet3Chat clientChat(NetHandler handler, Packet3Chat message);
    033}