001 /* 002 * The FML Forge Mod Loader suite. 003 * Copyright (C) 2012 cpw 004 * 005 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or any later version. 007 * 008 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 009 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 010 * 011 * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 012 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 013 */ 014 015 package cpw.mods.fml.common; 016 017 import java.lang.annotation.ElementType; 018 import java.lang.annotation.Retention; 019 import java.lang.annotation.RetentionPolicy; 020 import java.lang.annotation.Target; 021 022 /** 023 * @author cpw 024 * 025 */ 026 @Retention(RetentionPolicy.RUNTIME) 027 @Target(ElementType.FIELD) 028 public @interface SidedProxy 029 { 030 /** 031 * The name of the client side class to load and populate 032 */ 033 String clientSide() default ""; 034 035 /** 036 * The name of the server side class to load and populate 037 */ 038 String serverSide() default ""; 039 040 /** 041 * The name of a special bukkit plugin class to load and populate 042 */ 043 String bukkitSide() default ""; 044 }