2012-01-13 04:05:39 +00:00
// This file is automatically generated. Do not edit.
cah . $ = { } ;
cah . $ . AjaxOperation = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 04:05:39 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . AjaxOperation . prototype . dummyForAutocomplete = undefined ;
2012-01-27 02:07:39 +00:00
cah . $ . AjaxOperation . START _GAME = "start_game" ;
2012-01-27 23:41:57 +00:00
cah . $ . AjaxOperation . FIRST _LOAD = "firstload" ;
cah . $ . AjaxOperation . JUDGE _SELECT = "judge_select" ;
2012-01-13 04:05:39 +00:00
cah . $ . AjaxOperation . LOG _OUT = "logout" ;
2012-03-13 03:18:24 +00:00
cah . $ . AjaxOperation . GAME _LIST = "game_list" ;
2012-01-23 07:58:36 +00:00
cah . $ . AjaxOperation . GET _GAME _INFO = "get_game_info" ;
2012-01-27 02:07:39 +00:00
cah . $ . AjaxOperation . PLAY _CARD = "play_card" ;
2012-01-18 05:58:09 +00:00
cah . $ . AjaxOperation . CREATE _GAME = "create_game" ;
2012-01-30 01:14:17 +00:00
cah . $ . AjaxOperation . ADMIN _SET _VERBOSE _LOG = "set_verbose_log" ;
2012-01-27 02:07:39 +00:00
cah . $ . AjaxOperation . GET _CARDS = "get_cards" ;
cah . $ . AjaxOperation . JOIN _GAME = "join_game" ;
cah . $ . AjaxOperation . REGISTER = "register" ;
2012-01-13 04:05:39 +00:00
cah . $ . AjaxOperation . CHAT = "chat" ;
2012-01-23 21:20:15 +00:00
cah . $ . AjaxOperation . LEAVE _GAME = "leave_game" ;
2012-03-13 03:18:24 +00:00
cah . $ . AjaxOperation . NAMES = "get_names" ;
2012-01-13 04:05:39 +00:00
2012-01-13 05:36:31 +00:00
cah . $ . AjaxRequest = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 05:36:31 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . AjaxRequest . prototype . dummyForAutocomplete = undefined ;
2012-01-17 00:28:21 +00:00
cah . $ . AjaxRequest . MESSAGE = "message" ;
2012-01-27 02:07:39 +00:00
cah . $ . AjaxRequest . CARD _ID = "card_id" ;
2012-01-19 00:42:18 +00:00
cah . $ . AjaxRequest . GAME _ID = "game_id" ;
2012-01-13 05:36:31 +00:00
cah . $ . AjaxRequest . SERIAL = "serial" ;
2012-01-17 00:28:21 +00:00
cah . $ . AjaxRequest . OP = "op" ;
cah . $ . AjaxRequest . NICKNAME = "nickname" ;
2012-01-13 05:36:31 +00:00
cah . $ . AjaxResponse = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 05:36:31 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . AjaxResponse . prototype . dummyForAutocomplete = undefined ;
2012-01-27 03:25:40 +00:00
cah . $ . AjaxResponse . WHITE _CARDS = "white_cards" ;
2012-01-18 05:58:09 +00:00
cah . $ . AjaxResponse . GAME _ID = "game_id" ;
2012-01-24 07:02:59 +00:00
cah . $ . AjaxResponse . HAND = "hand" ;
cah . $ . AjaxResponse . PLAYER _INFO = "player_info" ;
2012-01-25 00:20:43 +00:00
cah . $ . AjaxResponse . BLACK _CARD = "black_card" ;
2012-01-24 07:02:59 +00:00
cah . $ . AjaxResponse . IN _PROGRESS = "in_progress" ;
cah . $ . AjaxResponse . GAMES = "games" ;
cah . $ . AjaxResponse . NICKNAME = "nickname" ;
2012-01-27 02:07:39 +00:00
cah . $ . AjaxResponse . CARD _ID = "card_id" ;
2012-01-24 07:02:59 +00:00
cah . $ . AjaxResponse . NEXT = "next" ;
2012-01-23 07:58:36 +00:00
cah . $ . AjaxResponse . GAME _INFO = "game_info" ;
2012-01-13 05:36:31 +00:00
cah . $ . AjaxResponse . ERROR = "error" ;
cah . $ . AjaxResponse . ERROR _CODE = "error_code" ;
cah . $ . AjaxResponse . SERIAL = "serial" ;
2012-01-18 01:48:21 +00:00
cah . $ . AjaxResponse . MAX _GAMES = "max_games" ;
2012-01-13 05:36:31 +00:00
cah . $ . AjaxResponse . NAMES = "names" ;
2012-01-25 00:20:43 +00:00
cah . $ . BlackCardData = function ( ) {
// Dummy constructor to make Eclipse auto-complete.
} ;
cah . $ . BlackCardData . prototype . dummyForAutocomplete = undefined ;
cah . $ . BlackCardData . TEXT = "text" ;
cah . $ . BlackCardData . PICK = "pick" ;
2012-03-13 03:18:24 +00:00
cah . $ . BlackCardData . ID = "card_id" ;
2012-01-25 00:20:43 +00:00
cah . $ . BlackCardData . DRAW = "draw" ;
2012-01-13 04:05:39 +00:00
cah . $ . DisconnectReason = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 04:05:39 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . DisconnectReason . prototype . dummyForAutocomplete = undefined ;
2012-01-13 04:05:39 +00:00
cah . $ . DisconnectReason . PING _TIMEOUT = "ping_timeout" ;
cah . $ . DisconnectReason . KICKED = "kicked" ;
cah . $ . DisconnectReason . MANUAL = "manual" ;
2012-01-13 05:36:31 +00:00
cah . $ . ErrorCode = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 05:36:31 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . ErrorCode . prototype . dummyForAutocomplete = undefined ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode . TOO _MANY _GAMES = "too_many_games" ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode . NO _CARD _SPECIFIED = "no_card_spec" ;
2012-01-30 01:14:17 +00:00
cah . $ . ErrorCode . ACCESS _DENIED = "access_denied" ;
2012-01-23 23:06:20 +00:00
cah . $ . ErrorCode . NOT _GAME _HOST = "not_game_host" ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode . CANNOT _JOIN _ANOTHER _GAME = "cannot_join_another_game" ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode . INVALID _CARD = "invalid_card" ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode . NO _GAME _SPECIFIED = "no_game_spec" ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode . SESSION _EXPIRED = "session_expired" ;
cah . $ . ErrorCode . BAD _OP = "bad_op" ;
cah . $ . ErrorCode . NO _SESSION = "no_session" ;
cah . $ . ErrorCode . NOT _REGISTERED = "not_registered" ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode . NOT _JUDGE = "not_judge" ;
2012-01-13 05:36:31 +00:00
cah . $ . ErrorCode . OP _NOT _SPECIFIED = "op_not_spec" ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode . NOT _IN _THAT _GAME = "not_in_that_game" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode . NICK _IN _USE = "nick_in_use" ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode . SERVER _ERROR = "server_error" ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode . GAME _FULL = "game_full" ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode . NO _NICK _SPECIFIED = "no_nick_spec" ;
cah . $ . ErrorCode . NOT _YOUR _TURN = "not_your_turn" ;
cah . $ . ErrorCode . INVALID _NICK = "invalid_nick" ;
cah . $ . ErrorCode . ALREADY _STARTED = "already_started" ;
cah . $ . ErrorCode . BAD _REQUEST = "bad_req" ;
cah . $ . ErrorCode . DO _NOT _HAVE _CARD = "do_not_have_card" ;
cah . $ . ErrorCode . MESSAGE _TOO _LONG = "msg_too_long" ;
cah . $ . ErrorCode . NOT _ENOUGH _PLAYERS = "not_enough_players" ;
cah . $ . ErrorCode . INVALID _GAME = "invalid_game" ;
cah . $ . ErrorCode . NO _MSG _SPECIFIED = "no_msg_spec" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode _msg = { } ;
cah . $ . ErrorCode _msg [ 'bad_op' ] = "Invalid operation." ;
cah . $ . ErrorCode _msg [ 'not_registered' ] = "Not registered. Refresh the page." ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode _msg [ 'server_error' ] = "An error occured on the server." ;
2012-01-23 23:06:20 +00:00
cah . $ . ErrorCode _msg [ 'not_enough_players' ] = "There are not enough players to start the game." ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode _msg [ 'session_expired' ] = "Your session has expired. Refresh the page." ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode _msg [ 'invalid_game' ] = "Invalid game specified." ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode _msg [ 'not_judge' ] = "You aren't the judge." ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode _msg [ 'no_card_spec' ] = "No card specified." ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode _msg [ 'game_full' ] = "That game is full. Join another." ;
cah . $ . ErrorCode _msg [ 'too_many_games' ] = "There are too many games already in progress. Either join an existing game, or wait for one to become available." ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'no_session' ] = "Session not detected. Make sure you have cookies enabled." ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode _msg [ 'not_your_turn' ] = "It is not your turn to play a card." ;
cah . $ . ErrorCode _msg [ 'bad_req' ] = "Bad request." ;
cah . $ . ErrorCode _msg [ 'cannot_join_another_game' ] = "You cannot join another game." ;
cah . $ . ErrorCode _msg [ 'no_msg_spec' ] = "No message specified." ;
cah . $ . ErrorCode _msg [ 'not_in_that_game' ] = "You are not in that game." ;
cah . $ . ErrorCode _msg [ 'msg_too_long' ] = "Messages cannot be longer than 200 characters." ;
cah . $ . ErrorCode _msg [ 'do_not_have_card' ] = "You don't have that card." ;
cah . $ . ErrorCode _msg [ 'no_game_spec' ] = "No game specified." ;
2012-01-30 01:14:17 +00:00
cah . $ . ErrorCode _msg [ 'access_denied' ] = "Access denied." ;
2012-01-27 23:41:57 +00:00
cah . $ . ErrorCode _msg [ 'invalid_nick' ] = "Nickname must contain only upper and lower case letters, numbers, or underscores, must be 3 to 30 characters long, and must not start with a number." ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode _msg [ 'no_nick_spec' ] = "No nickname specified." ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'nick_in_use' ] = "Nickname is already in use." ;
2012-01-23 23:06:20 +00:00
cah . $ . ErrorCode _msg [ 'not_game_host' ] = "Only the game host can do that." ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode _msg [ 'invalid_card' ] = "Invalid card specified." ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'op_not_spec' ] = "Operation not specified." ;
2012-01-27 02:07:39 +00:00
cah . $ . ErrorCode _msg [ 'already_started' ] = "The game has already started." ;
2012-01-13 05:36:31 +00:00
2012-01-18 01:48:21 +00:00
cah . $ . GameInfo = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-18 01:48:21 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . GameInfo . prototype . dummyForAutocomplete = undefined ;
2012-01-18 01:48:21 +00:00
cah . $ . GameInfo . HOST = "host" ;
cah . $ . GameInfo . STATE = "state" ;
cah . $ . GameInfo . PLAYERS = "players" ;
2012-03-13 03:18:24 +00:00
cah . $ . GameInfo . ID = "game_id" ;
2012-01-18 01:48:21 +00:00
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerInfo = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-23 07:58:36 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . GamePlayerInfo . prototype . dummyForAutocomplete = undefined ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerInfo . NAME = "name" ;
cah . $ . GamePlayerInfo . SCORE = "score" ;
cah . $ . GamePlayerInfo . STATUS = "status" ;
cah . $ . GamePlayerStatus = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-23 07:58:36 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . GamePlayerStatus . prototype . dummyForAutocomplete = undefined ;
2012-03-13 03:18:24 +00:00
cah . $ . GamePlayerStatus . HOST = "status_host" ;
cah . $ . GamePlayerStatus . IDLE = "status_idle" ;
cah . $ . GamePlayerStatus . WINNER = "status_winner" ;
cah . $ . GamePlayerStatus . PLAYING = "status_playing" ;
cah . $ . GamePlayerStatus . JUDGE = "status_judge" ;
cah . $ . GamePlayerStatus . JUDGING = "status_judging" ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerStatus _msg = { } ;
2012-03-13 03:18:24 +00:00
cah . $ . GamePlayerStatus _msg [ 'status_playing' ] = "Playing" ;
cah . $ . GamePlayerStatus _msg [ 'status_judge' ] = "Card Czar" ;
cah . $ . GamePlayerStatus _msg [ 'status_judging' ] = "Selecting" ;
cah . $ . GamePlayerStatus _msg [ 'status_host' ] = "Host" ;
cah . $ . GamePlayerStatus _msg [ 'status_idle' ] = "" ;
cah . $ . GamePlayerStatus _msg [ 'status_winner' ] = "Winner!" ;
2012-01-25 00:20:43 +00:00
cah . $ . GamePlayerStatus _msg _2 = { } ;
2012-03-13 03:18:24 +00:00
cah . $ . GamePlayerStatus _msg _2 [ 'status_playing' ] = "Select a card to play." ;
cah . $ . GamePlayerStatus _msg _2 [ 'status_judge' ] = "You are the Card Czar." ;
cah . $ . GamePlayerStatus _msg _2 [ 'status_judging' ] = "Select a winning card." ;
cah . $ . GamePlayerStatus _msg _2 [ 'status_host' ] = "Wait for players then click Start Game." ;
cah . $ . GamePlayerStatus _msg _2 [ 'status_idle' ] = "Waiting for players..." ;
cah . $ . GamePlayerStatus _msg _2 [ 'status_winner' ] = "You have won!" ;
2012-01-23 07:58:36 +00:00
2012-01-18 01:48:21 +00:00
cah . $ . GameState = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-18 01:48:21 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . GameState . prototype . dummyForAutocomplete = undefined ;
2012-01-23 23:06:20 +00:00
cah . $ . GameState . PLAYING = "playing" ;
2012-01-27 23:41:57 +00:00
cah . $ . GameState . ROUND _OVER = "round_over" ;
2012-01-18 01:48:21 +00:00
cah . $ . GameState . LOBBY = "lobby" ;
2012-01-23 23:06:20 +00:00
cah . $ . GameState . JUDGING = "judging" ;
2012-01-18 01:48:21 +00:00
cah . $ . GameState . DEALING = "dealing" ;
2012-01-18 04:37:09 +00:00
cah . $ . GameState _msg = { } ;
2012-01-23 23:06:20 +00:00
cah . $ . GameState _msg [ 'playing' ] = "In Progress" ;
cah . $ . GameState _msg [ 'judging' ] = "In Progress" ;
2012-01-31 00:35:06 +00:00
cah . $ . GameState _msg [ 'lobby' ] = "Not Started" ;
2012-01-27 06:17:36 +00:00
cah . $ . GameState _msg [ 'dealing' ] = "In Progress" ;
2012-01-27 23:41:57 +00:00
cah . $ . GameState _msg [ 'round_over' ] = "In Progress" ;
2012-01-18 01:48:21 +00:00
2012-01-13 05:36:31 +00:00
cah . $ . LongPollEvent = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 05:36:31 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollEvent . prototype . dummyForAutocomplete = undefined ;
2012-01-31 07:52:45 +00:00
cah . $ . LongPollEvent . KICKED = "kicked" ;
2012-01-31 00:35:06 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _LEAVE = "game_player_leave" ;
cah . $ . LongPollEvent . NEW _PLAYER = "new_player" ;
cah . $ . LongPollEvent . GAME _PLAYER _JOIN = "game_player_join" ;
cah . $ . LongPollEvent . GAME _LIST _REFRESH = "game_list_refresh" ;
2012-01-27 23:41:57 +00:00
cah . $ . LongPollEvent . GAME _ROUND _COMPLETE = "game_round_complete" ;
2012-01-31 00:35:06 +00:00
cah . $ . LongPollEvent . NOOP = "noop" ;
2012-01-31 07:52:45 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _INFO _CHANGE = "game_player_info_change" ;
2012-01-31 00:35:06 +00:00
cah . $ . LongPollEvent . GAME _BLACK _RESHUFFLE = "game_black_reshuffle" ;
cah . $ . LongPollEvent . GAME _WHITE _RESHUFFLE = "game_white_reshuffle" ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollEvent . GAME _STATE _CHANGE = "game_state_change" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollEvent . PLAYER _LEAVE = "player_leave" ;
cah . $ . LongPollEvent . CHAT = "chat" ;
2012-01-31 00:35:06 +00:00
cah . $ . LongPollEvent . HAND _DEAL = "hand_deal" ;
cah . $ . LongPollEvent . GAME _JUDGE _LEFT = "game_judge_left" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollResponse = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-13 05:36:31 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollResponse . prototype . dummyForAutocomplete = undefined ;
2012-01-27 06:17:36 +00:00
cah . $ . LongPollResponse . WHITE _CARDS = "white_cards" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollResponse . GAME _ID = "game_id" ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollResponse . REASON = "reason" ;
2012-01-23 23:06:20 +00:00
cah . $ . LongPollResponse . HAND = "hand" ;
2012-01-27 23:41:57 +00:00
cah . $ . LongPollResponse . INTERMISSION = "intermission" ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollResponse . PLAYER _INFO = "player_info" ;
cah . $ . LongPollResponse . BLACK _CARD = "black_card" ;
2012-01-27 23:41:57 +00:00
cah . $ . LongPollResponse . WINNING _CARD = "winning_card" ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollResponse . GAME _STATE = "game_state" ;
cah . $ . LongPollResponse . NICKNAME = "nickname" ;
cah . $ . LongPollResponse . MESSAGE = "message" ;
2012-01-17 00:28:21 +00:00
cah . $ . LongPollResponse . ERROR = "error" ;
2012-01-25 00:20:43 +00:00
cah . $ . LongPollResponse . EVENT = "event" ;
cah . $ . LongPollResponse . FROM = "from" ;
2012-01-17 00:28:21 +00:00
cah . $ . LongPollResponse . ERROR _CODE = "error_code" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollResponse . TIMESTAMP = "timestamp" ;
2012-01-27 23:41:57 +00:00
cah . $ . LongPollResponse . ROUND _WINNER = "round_winner" ;
2012-01-13 05:36:31 +00:00
2012-01-23 07:58:36 +00:00
cah . $ . ReconnectNextAction = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-23 07:58:36 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . ReconnectNextAction . prototype . dummyForAutocomplete = undefined ;
2012-01-23 07:58:36 +00:00
cah . $ . ReconnectNextAction . GAME = "game" ;
cah . $ . ReconnectNextAction . NONE = "none" ;
2012-01-23 23:06:20 +00:00
cah . $ . WhiteCardData = function ( ) {
2012-01-25 00:20:43 +00:00
// Dummy constructor to make Eclipse auto-complete.
2012-01-23 23:06:20 +00:00
} ;
2012-01-25 00:20:43 +00:00
cah . $ . WhiteCardData . prototype . dummyForAutocomplete = undefined ;
2012-01-23 23:06:20 +00:00
cah . $ . WhiteCardData . TEXT = "text" ;
2012-03-13 03:18:24 +00:00
cah . $ . WhiteCardData . ID = "card_id" ;
2012-01-23 23:06:20 +00:00