    001    package cpw.mods.fml.common.network;
    002
    003    import net.minecraft.src.NetHandler;
    004    import net.minecraft.src.NetServerHandler;
    005    import net.minecraft.src.Packet3Chat;
    006
    007    public interface IChatListener
    008    {
    009        /**
    010         * Called when there is a chat message received on the server
    011         * @param handler
    012         * @param message
    013         */
    014        public Packet3Chat serverChat(NetHandler handler, Packet3Chat message);
    015
    016        /**
    017         * Called when there is a chat message recived on the client
    018         *
    019         * @param handler
    020         * @param message
    021         */
    022        public Packet3Chat clientChat(NetHandler handler, Packet3Chat message);
    023    }