1 /* $Id$ */ 2 /*************************************************************************** 3 * (C) Copyright 2003-2011 - Stendhal * 4 *************************************************************************** 5 *************************************************************************** 6 * * 7 * This program is free software; you can redistribute it and/or modify * 8 * it under the terms of the GNU General Public License as published by * 9 * the Free Software Foundation; either version 2 of the License, or * 10 * (at your option) any later version. * 11 * * 12 ***************************************************************************/ 13 package games.stendhal.common.constants; 14 15 /** 16 * Constants for events 17 */ 18 public final class Events { 19 20 /** private text events, including private chat and status messages */ 21 public static final String PRIVATE_TEXT = "private_text"; 22 23 /** public chat */ 24 public static final String PUBLIC_TEXT = "text"; 25 26 /** a sound event */ 27 public static final String SOUND = "sound_event"; 28 29 /** a player on the buddy list logged on */ 30 public static final String PLAYER_LOGGED_ON = "player_logged_on"; 31 32 /** a player on the buddy list logged off */ 33 public static final String PLAYER_LOGGED_OUT = "player_logged_out"; 34 35 /** attack event during a fight */ 36 public static final String ATTACK = "attack"; 37 38 /** player to player trade state change event */ 39 public static final String TRADE_STATE_CHANGE = "trade_state_change_event"; 40 41 /** moves the view point to another area (orbs) */ 42 public static final String VIEW_CHANGE = "view_change"; 43 44 /** changes within the current group */ 45 public static final String GROUP_CHANGE = "group_change_event"; 46 47 /** an invitation to join a group */ 48 public static final String GROUP_INVITE = "group_invite_event"; 49 50 /** progress log */ 51 public static final String PROGRESS_STATUS_CHANGE = "progress_status_event"; 52 53 /** achievement notiviation */ 54 public static final String REACHED_ACHIEVEMENT = "reached_achievement"; 55 56 /** Event for graphical effects. */ 57 public static final String IMAGE = "image_event"; 58 59 /** Event for visual effects affecting the entire game screen. */ 60 public static final String GLOBAL_VISUAL = "global_visual_effect"; 61 62 public static final String BESTIARY = Actions.BESTIARY; 63 64 public static final String OUTFIT_LIST = "show_outfit_list"; 65 } 66