2012-01-13 04:05:39 +00:00
// This file is automatically generated. Do not edit.
cah . $ = { } ;
cah . $ . AjaxOperation = function ( ) {
// pass
} ;
cah . $ . AjaxOperation . prototype . dummy = undefined ;
2012-01-23 23:06:20 +00:00
cah . $ . AjaxOperation . START _GAME = "start_game" ;
2012-01-13 04:05:39 +00:00
cah . $ . AjaxOperation . FIRST _LOAD = "firstload" ;
cah . $ . AjaxOperation . LOG _OUT = "logout" ;
2012-01-18 01:48:21 +00:00
cah . $ . AjaxOperation . GAME _LIST = "games" ;
2012-01-19 00:42:18 +00:00
cah . $ . AjaxOperation . JOIN _GAME = "join_game" ;
2012-01-24 07:02:59 +00:00
cah . $ . AjaxOperation . GET _HAND = "get_hand" ;
2012-01-23 07:58:36 +00:00
cah . $ . AjaxOperation . GET _GAME _INFO = "get_game_info" ;
2012-01-13 04:05:39 +00:00
cah . $ . AjaxOperation . REGISTER = "register" ;
2012-01-18 05:58:09 +00:00
cah . $ . AjaxOperation . CREATE _GAME = "create_game" ;
2012-01-13 04:05:39 +00:00
cah . $ . AjaxOperation . CHAT = "chat" ;
cah . $ . AjaxOperation . NAMES = "names" ;
2012-01-23 21:20:15 +00:00
cah . $ . AjaxOperation . LEAVE _GAME = "leave_game" ;
2012-01-13 04:05:39 +00:00
2012-01-13 05:36:31 +00:00
cah . $ . AjaxRequest = function ( ) {
// pass
} ;
cah . $ . AjaxRequest . prototype . dummy = undefined ;
2012-01-17 00:28:21 +00:00
cah . $ . AjaxRequest . MESSAGE = "message" ;
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 ( ) {
// pass
} ;
cah . $ . AjaxResponse . prototype . dummy = undefined ;
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" ;
cah . $ . AjaxResponse . IN _PROGRESS = "in_progress" ;
cah . $ . AjaxResponse . GAMES = "games" ;
cah . $ . AjaxResponse . NICKNAME = "nickname" ;
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-13 04:05:39 +00:00
cah . $ . DisconnectReason = function ( ) {
// pass
} ;
cah . $ . DisconnectReason . prototype . dummy = undefined ;
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 ( ) {
// pass
} ;
cah . $ . ErrorCode . prototype . dummy = undefined ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode . TOO _MANY _GAMES = "too_many_games" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode . INVALID _NICK = "invalid_nick" ;
2012-01-23 23:06:20 +00:00
cah . $ . ErrorCode . NOT _GAME _HOST = "not_game_host" ;
2012-01-13 05:36:31 +00:00
cah . $ . ErrorCode . BAD _REQUEST = "bad_req" ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode . CANNOT _JOIN _ANOTHER _GAME = "cannot_join_another_game" ;
cah . $ . ErrorCode . NO _GAME _SPECIFIED = "no_game_spec" ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode . SESSION _EXPIRED = "session_expired" ;
cah . $ . ErrorCode . MESSAGE _TOO _LONG = "msg_too_long" ;
cah . $ . ErrorCode . BAD _OP = "bad_op" ;
cah . $ . ErrorCode . NO _SESSION = "no_session" ;
cah . $ . ErrorCode . NOT _REGISTERED = "not_registered" ;
2012-01-23 23:06:20 +00:00
cah . $ . ErrorCode . NOT _ENOUGH _PLAYERS = "not_enough_players" ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode . INVALID _GAME = "invalid_game" ;
2012-01-13 05:36:31 +00:00
cah . $ . ErrorCode . OP _NOT _SPECIFIED = "op_not_spec" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode . NO _MSG _SPECIFIED = "no_msg_spec" ;
cah . $ . ErrorCode . NICK _IN _USE = "nick_in_use" ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode . GAME _FULL = "game_full" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode . NO _NICK _SPECIFIED = "no_nick_spec" ;
cah . $ . ErrorCode _msg = { } ;
cah . $ . ErrorCode _msg [ 'bad_op' ] = "Invalid operation." ;
cah . $ . ErrorCode _msg [ 'not_registered' ] = "Not registered. Refresh the page." ;
cah . $ . ErrorCode _msg [ 'msg_too_long' ] = "Messages cannot be longer than 200 characters." ;
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." ;
cah . $ . ErrorCode _msg [ 'no_game_spec' ] = "No game specified." ;
cah . $ . ErrorCode _msg [ 'game_full' ] = "That game is full. Join another." ;
2012-01-16 22:33:58 +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-19 00:42:18 +00:00
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-16 22:33:58 +00:00
cah . $ . ErrorCode _msg [ 'no_nick_spec' ] = "No nickname specified." ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'no_session' ] = "Session not detected. Make sure you have cookies enabled." ;
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-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'bad_req' ] = "Bad request." ;
2012-01-19 00:42:18 +00:00
cah . $ . ErrorCode _msg [ 'cannot_join_another_game' ] = "You cannot join another game." ;
2012-01-18 05:58:09 +00:00
cah . $ . ErrorCode _msg [ 'op_not_spec' ] = "Operation not specified." ;
cah . $ . ErrorCode _msg [ 'no_msg_spec' ] = "No message specified." ;
2012-01-13 05:36:31 +00:00
2012-01-18 01:48:21 +00:00
cah . $ . GameInfo = function ( ) {
// pass
} ;
cah . $ . GameInfo . prototype . dummy = undefined ;
cah . $ . GameInfo . HOST = "host" ;
cah . $ . GameInfo . STATE = "state" ;
cah . $ . GameInfo . PLAYERS = "players" ;
cah . $ . GameInfo . ID = "id" ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerInfo = function ( ) {
// pass
} ;
cah . $ . GamePlayerInfo . prototype . dummy = undefined ;
cah . $ . GamePlayerInfo . NAME = "name" ;
cah . $ . GamePlayerInfo . SCORE = "score" ;
cah . $ . GamePlayerInfo . STATUS = "status" ;
cah . $ . GamePlayerStatus = function ( ) {
// pass
} ;
cah . $ . GamePlayerStatus . prototype . dummy = undefined ;
2012-01-23 21:20:15 +00:00
cah . $ . GamePlayerStatus . HOST = "host" ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerStatus . IDLE = "idle" ;
cah . $ . GamePlayerStatus . PLAYING = "playing" ;
cah . $ . GamePlayerStatus . JUDGE = "judge" ;
cah . $ . GamePlayerStatus . JUDGING = "judging" ;
cah . $ . GamePlayerStatus _msg = { } ;
cah . $ . GamePlayerStatus _msg [ 'playing' ] = "Playing" ;
cah . $ . GamePlayerStatus _msg [ 'idle' ] = "" ;
cah . $ . GamePlayerStatus _msg [ 'judging' ] = "Judging" ;
2012-01-23 21:20:15 +00:00
cah . $ . GamePlayerStatus _msg [ 'host' ] = "Host" ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerStatus _msg [ 'judge' ] = "Judge" ;
2012-01-18 01:48:21 +00:00
cah . $ . GameState = function ( ) {
// pass
} ;
cah . $ . GameState . prototype . dummy = undefined ;
2012-01-23 23:06:20 +00:00
cah . $ . GameState . PLAYING = "playing" ;
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-18 04:37:09 +00:00
cah . $ . GameState _msg [ 'lobby' ] = "Joinable (Not Started)" ;
cah . $ . GameState _msg [ 'dealing' ] = "Dealing" ;
2012-01-18 01:48:21 +00:00
2012-01-13 05:36:31 +00:00
cah . $ . LongPollEvent = function ( ) {
// pass
} ;
cah . $ . LongPollEvent . prototype . dummy = undefined ;
cah . $ . LongPollEvent . NOOP = "noop" ;
2012-01-18 05:58:09 +00:00
cah . $ . LongPollEvent . GAME _REFRESH = "game_refresh" ;
2012-01-23 21:20:15 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _LEAVE = "game_player_leave" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollEvent . NEW _PLAYER = "new_player" ;
cah . $ . LongPollEvent . PLAYER _LEAVE = "player_leave" ;
2012-01-23 21:20:15 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _JOIN = "game_player_join" ;
2012-01-23 23:06:20 +00:00
cah . $ . LongPollEvent . HAND _DEAL = "hand_deal" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollEvent . CHAT = "chat" ;
cah . $ . LongPollResponse = function ( ) {
// pass
} ;
cah . $ . LongPollResponse . prototype . dummy = undefined ;
cah . $ . LongPollResponse . MESSAGE = "message" ;
cah . $ . LongPollResponse . REASON = "reason" ;
cah . $ . LongPollResponse . GAME _ID = "game_id" ;
2012-01-23 23:06:20 +00:00
cah . $ . LongPollResponse . HAND = "hand" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollResponse . FROM = "from" ;
cah . $ . LongPollResponse . EVENT = "event" ;
2012-01-17 00:28:21 +00:00
cah . $ . LongPollResponse . ERROR = "error" ;
cah . $ . LongPollResponse . ERROR _CODE = "error_code" ;
2012-01-13 05:36:31 +00:00
cah . $ . LongPollResponse . TIMESTAMP = "timestamp" ;
cah . $ . LongPollResponse . NICKNAME = "nickname" ;
2012-01-23 07:58:36 +00:00
cah . $ . ReconnectNextAction = function ( ) {
// pass
} ;
cah . $ . ReconnectNextAction . prototype . dummy = undefined ;
cah . $ . ReconnectNextAction . GAME = "game" ;
cah . $ . ReconnectNextAction . NONE = "none" ;
2012-01-23 23:06:20 +00:00
cah . $ . WhiteCardData = function ( ) {
// pass
} ;
cah . $ . WhiteCardData . prototype . dummy = undefined ;
cah . $ . WhiteCardData . TEXT = "text" ;
cah . $ . WhiteCardData . ID = "id" ;