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-03-13 04:06:35 +00:00
cah . $ . AjaxOperation . START _GAME = "sg" ;
cah . $ . AjaxOperation . FIRST _LOAD = "fl" ;
cah . $ . AjaxOperation . JUDGE _SELECT = "js" ;
cah . $ . AjaxOperation . LOG _OUT = "lo" ;
cah . $ . AjaxOperation . GAME _LIST = "ggl" ;
2012-03-16 03:06:23 +00:00
cah . $ . AjaxOperation . CHANGE _GAME _OPTIONS = "cgo" ;
2012-03-13 04:06:35 +00:00
cah . $ . AjaxOperation . GET _GAME _INFO = "ggi" ;
cah . $ . AjaxOperation . PLAY _CARD = "pc" ;
cah . $ . AjaxOperation . CREATE _GAME = "cg" ;
cah . $ . AjaxOperation . ADMIN _SET _VERBOSE _LOG = "svl" ;
cah . $ . AjaxOperation . GET _CARDS = "gc" ;
cah . $ . AjaxOperation . JOIN _GAME = "jg" ;
cah . $ . AjaxOperation . REGISTER = "r" ;
cah . $ . AjaxOperation . CHAT = "c" ;
cah . $ . AjaxOperation . LEAVE _GAME = "lg" ;
cah . $ . AjaxOperation . NAMES = "gn" ;
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-03-13 04:06:35 +00:00
cah . $ . AjaxRequest . MESSAGE = "m" ;
cah . $ . AjaxRequest . CARD _ID = "cid" ;
cah . $ . AjaxRequest . GAME _ID = "gid" ;
2012-03-16 03:06:23 +00:00
cah . $ . AjaxRequest . CARD _SET = "cs" ;
2012-03-13 04:06:35 +00:00
cah . $ . AjaxRequest . SERIAL = "s" ;
2012-03-16 03:06:23 +00:00
cah . $ . AjaxRequest . PLAYER _LIMIT = "pL" ;
2012-03-13 04:06:35 +00:00
cah . $ . AjaxRequest . OP = "o" ;
2012-03-16 03:06:23 +00:00
cah . $ . AjaxRequest . SCORE _LIMIT = "sl" ;
2012-03-13 04:06:35 +00:00
cah . $ . AjaxRequest . NICKNAME = "n" ;
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-03-13 04:06:35 +00:00
cah . $ . AjaxResponse . WHITE _CARDS = "wc" ;
cah . $ . AjaxResponse . GAME _ID = "gid" ;
cah . $ . AjaxResponse . HAND = "h" ;
cah . $ . AjaxResponse . PLAYER _INFO = "pi" ;
cah . $ . AjaxResponse . BLACK _CARD = "bc" ;
cah . $ . AjaxResponse . IN _PROGRESS = "ip" ;
cah . $ . AjaxResponse . GAMES = "gl" ;
cah . $ . AjaxResponse . NICKNAME = "n" ;
cah . $ . AjaxResponse . CARD _ID = "cid" ;
2012-01-24 07:02:59 +00:00
cah . $ . AjaxResponse . NEXT = "next" ;
2012-03-13 04:06:35 +00:00
cah . $ . AjaxResponse . GAME _INFO = "gi" ;
cah . $ . AjaxResponse . ERROR = "e" ;
cah . $ . AjaxResponse . ERROR _CODE = "ec" ;
cah . $ . AjaxResponse . SERIAL = "s" ;
cah . $ . AjaxResponse . MAX _GAMES = "mg" ;
cah . $ . AjaxResponse . NAMES = "nl" ;
2012-01-13 05:36:31 +00:00
2012-01-25 00:20:43 +00:00
cah . $ . BlackCardData = function ( ) {
// Dummy constructor to make Eclipse auto-complete.
} ;
cah . $ . BlackCardData . prototype . dummyForAutocomplete = undefined ;
2012-03-13 04:06:35 +00:00
cah . $ . BlackCardData . TEXT = "T" ;
cah . $ . BlackCardData . PICK = "PK" ;
cah . $ . BlackCardData . ID = "cid" ;
cah . $ . BlackCardData . DRAW = "D" ;
2012-01-25 00:20:43 +00:00
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-03-13 04:06:35 +00:00
cah . $ . DisconnectReason . PING _TIMEOUT = "pt" ;
cah . $ . DisconnectReason . KICKED = "k" ;
cah . $ . DisconnectReason . MANUAL = "man" ;
2012-01-13 04:05:39 +00:00
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-03-13 04:06:35 +00:00
cah . $ . ErrorCode . TOO _MANY _GAMES = "tmg" ;
cah . $ . ErrorCode . NO _CARD _SPECIFIED = "ncs" ;
cah . $ . ErrorCode . ACCESS _DENIED = "ad" ;
cah . $ . ErrorCode . NOT _GAME _HOST = "ngh" ;
cah . $ . ErrorCode . CANNOT _JOIN _ANOTHER _GAME = "cjag" ;
cah . $ . ErrorCode . INVALID _CARD = "ic" ;
cah . $ . ErrorCode . NO _GAME _SPECIFIED = "ngs" ;
cah . $ . ErrorCode . SESSION _EXPIRED = "se" ;
cah . $ . ErrorCode . BAD _OP = "bo" ;
cah . $ . ErrorCode . NO _SESSION = "ns" ;
cah . $ . ErrorCode . NOT _REGISTERED = "nr" ;
cah . $ . ErrorCode . NOT _JUDGE = "nj" ;
cah . $ . ErrorCode . OP _NOT _SPECIFIED = "ons" ;
cah . $ . ErrorCode . NOT _IN _THAT _GAME = "nitg" ;
cah . $ . ErrorCode . NICK _IN _USE = "niu" ;
cah . $ . ErrorCode . SERVER _ERROR = "serr" ;
cah . $ . ErrorCode . GAME _FULL = "gf" ;
cah . $ . ErrorCode . NO _NICK _SPECIFIED = "nns" ;
cah . $ . ErrorCode . NOT _YOUR _TURN = "nyt" ;
cah . $ . ErrorCode . INVALID _NICK = "in" ;
cah . $ . ErrorCode . ALREADY _STARTED = "as" ;
cah . $ . ErrorCode . BAD _REQUEST = "br" ;
cah . $ . ErrorCode . DO _NOT _HAVE _CARD = "dnhc" ;
cah . $ . ErrorCode . MESSAGE _TOO _LONG = "mtl" ;
cah . $ . ErrorCode . NOT _ENOUGH _PLAYERS = "nep" ;
cah . $ . ErrorCode . INVALID _GAME = "ig" ;
cah . $ . ErrorCode . NO _MSG _SPECIFIED = "nms" ;
2012-01-16 22:33:58 +00:00
cah . $ . ErrorCode _msg = { } ;
2012-03-13 04:06:35 +00:00
cah . $ . ErrorCode _msg [ 'tmg' ] = "There are too many games already in progress. Either join an existing game, or wait for one to become available." ;
cah . $ . ErrorCode _msg [ 'ncs' ] = "No card specified." ;
cah . $ . ErrorCode _msg [ 'ns' ] = "Session not detected. Make sure you have cookies enabled." ;
cah . $ . ErrorCode _msg [ 'nr' ] = "Not registered. Refresh the page." ;
cah . $ . ErrorCode _msg [ 'nitg' ] = "You are not in that game." ;
cah . $ . ErrorCode _msg [ 'nep' ] = "There are not enough players to start the game." ;
cah . $ . ErrorCode _msg [ 'nyt' ] = "It is not your turn to play a card." ;
cah . $ . ErrorCode _msg [ 'mtl' ] = "Messages cannot be longer than 200 characters." ;
cah . $ . ErrorCode _msg [ 'gf' ] = "That game is full. Join another." ;
cah . $ . ErrorCode _msg [ 'br' ] = "Bad request." ;
cah . $ . ErrorCode _msg [ 'ngs' ] = "No game specified." ;
cah . $ . ErrorCode _msg [ 'ic' ] = "Invalid card specified." ;
cah . $ . ErrorCode _msg [ 'bo' ] = "Invalid operation." ;
cah . $ . ErrorCode _msg [ 'dnhc' ] = "You don't have that card." ;
cah . $ . ErrorCode _msg [ 'cjag' ] = "You cannot join another game." ;
cah . $ . ErrorCode _msg [ 'ons' ] = "Operation not specified." ;
cah . $ . ErrorCode _msg [ 'ig' ] = "Invalid game specified." ;
cah . $ . ErrorCode _msg [ 'nns' ] = "No nickname specified." ;
cah . $ . ErrorCode _msg [ 'ngh' ] = "Only the game host can do that." ;
cah . $ . ErrorCode _msg [ 'serr' ] = "An error occured on the server." ;
cah . $ . ErrorCode _msg [ 'as' ] = "The game has already started." ;
cah . $ . ErrorCode _msg [ 'se' ] = "Your session has expired. Refresh the page." ;
cah . $ . ErrorCode _msg [ 'in' ] = "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." ;
cah . $ . ErrorCode _msg [ 'nms' ] = "No message specified." ;
cah . $ . ErrorCode _msg [ 'niu' ] = "Nickname is already in use." ;
cah . $ . ErrorCode _msg [ 'ad' ] = "Access denied." ;
cah . $ . ErrorCode _msg [ 'nj' ] = "You aren't the judge." ;
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-03-13 04:06:35 +00:00
cah . $ . GameInfo . HOST = "H" ;
cah . $ . GameInfo . STATE = "S" ;
cah . $ . GameInfo . PLAYERS = "P" ;
2012-03-16 03:06:23 +00:00
cah . $ . GameInfo . CARD _SET = "cs" ;
2012-03-13 04:06:35 +00:00
cah . $ . GameInfo . ID = "gid" ;
2012-03-16 03:06:23 +00:00
cah . $ . GameInfo . PLAYER _LIMIT = "pL" ;
cah . $ . GameInfo . SCORE _LIMIT = "sl" ;
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-03-13 04:06:35 +00:00
cah . $ . GamePlayerInfo . NAME = "N" ;
cah . $ . GamePlayerInfo . SCORE = "sc" ;
cah . $ . GamePlayerInfo . STATUS = "st" ;
2012-01-23 07:58:36 +00:00
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 04:06:35 +00:00
cah . $ . GamePlayerStatus . HOST = "sh" ;
cah . $ . GamePlayerStatus . IDLE = "si" ;
cah . $ . GamePlayerStatus . WINNER = "sw" ;
cah . $ . GamePlayerStatus . PLAYING = "sp" ;
cah . $ . GamePlayerStatus . JUDGE = "sj" ;
cah . $ . GamePlayerStatus . JUDGING = "sjj" ;
2012-01-23 07:58:36 +00:00
cah . $ . GamePlayerStatus _msg = { } ;
2012-03-13 04:06:35 +00:00
cah . $ . GamePlayerStatus _msg [ 'sp' ] = "Playing" ;
cah . $ . GamePlayerStatus _msg [ 'sh' ] = "Host" ;
cah . $ . GamePlayerStatus _msg [ 'sw' ] = "Winner!" ;
cah . $ . GamePlayerStatus _msg [ 'sj' ] = "Card Czar" ;
cah . $ . GamePlayerStatus _msg [ 'sjj' ] = "Selecting" ;
cah . $ . GamePlayerStatus _msg [ 'si' ] = "" ;
2012-01-25 00:20:43 +00:00
cah . $ . GamePlayerStatus _msg _2 = { } ;
2012-03-13 04:06:35 +00:00
cah . $ . GamePlayerStatus _msg _2 [ 'sp' ] = "Select a card to play." ;
cah . $ . GamePlayerStatus _msg _2 [ 'sh' ] = "Wait for players then click Start Game." ;
cah . $ . GamePlayerStatus _msg _2 [ 'sw' ] = "You have won!" ;
cah . $ . GamePlayerStatus _msg _2 [ 'sj' ] = "You are the Card Czar." ;
cah . $ . GamePlayerStatus _msg _2 [ 'sjj' ] = "Select a winning card." ;
cah . $ . GamePlayerStatus _msg _2 [ 'si' ] = "Waiting for players..." ;
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-03-13 04:06:35 +00:00
cah . $ . GameState . PLAYING = "p" ;
cah . $ . GameState . ROUND _OVER = "ro" ;
cah . $ . GameState . LOBBY = "l" ;
cah . $ . GameState . JUDGING = "j" ;
cah . $ . GameState . DEALING = "d" ;
2012-01-18 04:37:09 +00:00
cah . $ . GameState _msg = { } ;
2012-03-13 04:06:35 +00:00
cah . $ . GameState _msg [ 'ro' ] = "In Progress" ;
cah . $ . GameState _msg [ 'd' ] = "In Progress" ;
cah . $ . GameState _msg [ 'p' ] = "In Progress" ;
cah . $ . GameState _msg [ 'l' ] = "Not Started" ;
cah . $ . GameState _msg [ 'j' ] = "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-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . KICKED = "k" ;
2012-03-16 23:59:50 +00:00
cah . $ . LongPollEvent . HURRY _UP = "hu" ;
cah . $ . LongPollEvent . KICKED _FROM _GAME _IDLE = "kfgi" ;
cah . $ . LongPollEvent . GAME _JUDGE _SKIPPED = "gjs" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _LEAVE = "gpl" ;
cah . $ . LongPollEvent . NEW _PLAYER = "np" ;
cah . $ . LongPollEvent . GAME _PLAYER _JOIN = "gpj" ;
cah . $ . LongPollEvent . GAME _LIST _REFRESH = "glr" ;
cah . $ . LongPollEvent . GAME _ROUND _COMPLETE = "grc" ;
2012-03-13 07:42:07 +00:00
cah . $ . LongPollEvent . NOOP = "_" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _INFO _CHANGE = "gpic" ;
2012-03-16 23:59:50 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _KICKED _IDLE = "gpki" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . GAME _BLACK _RESHUFFLE = "gbr" ;
cah . $ . LongPollEvent . GAME _WHITE _RESHUFFLE = "gwr" ;
cah . $ . LongPollEvent . GAME _STATE _CHANGE = "gsc" ;
2012-03-16 03:06:23 +00:00
cah . $ . LongPollEvent . GAME _OPTIONS _CHANGED = "goc" ;
2012-03-16 23:59:50 +00:00
cah . $ . LongPollEvent . GAME _PLAYER _SKIPPED = "gps" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . PLAYER _LEAVE = "pl" ;
cah . $ . LongPollEvent . HAND _DEAL = "hd" ;
2012-03-16 23:59:50 +00:00
cah . $ . LongPollEvent . CHAT = "c" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollEvent . GAME _JUDGE _LEFT = "gjl" ;
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-03-13 04:06:35 +00:00
cah . $ . LongPollResponse . WHITE _CARDS = "wc" ;
cah . $ . LongPollResponse . REASON = "qr" ;
2012-03-16 23:59:50 +00:00
cah . $ . LongPollResponse . GAME _ID = "gid" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollResponse . HAND = "h" ;
cah . $ . LongPollResponse . INTERMISSION = "i" ;
cah . $ . LongPollResponse . PLAYER _INFO = "pi" ;
cah . $ . LongPollResponse . BLACK _CARD = "bc" ;
cah . $ . LongPollResponse . WINNING _CARD = "WC" ;
cah . $ . LongPollResponse . GAME _STATE = "gs" ;
cah . $ . LongPollResponse . NICKNAME = "n" ;
2012-03-17 00:05:27 +00:00
cah . $ . LongPollResponse . PLAY _TIMER = "Pt" ;
2012-03-13 04:06:35 +00:00
cah . $ . LongPollResponse . MESSAGE = "m" ;
cah . $ . LongPollResponse . ERROR = "e" ;
cah . $ . LongPollResponse . EVENT = "E" ;
cah . $ . LongPollResponse . FROM = "f" ;
cah . $ . LongPollResponse . ERROR _CODE = "ec" ;
cah . $ . LongPollResponse . TIMESTAMP = "ts" ;
cah . $ . LongPollResponse . ROUND _WINNER = "rw" ;
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-03-13 04:06:35 +00:00
cah . $ . WhiteCardData . TEXT = "T" ;
cah . $ . WhiteCardData . ID = "cid" ;
2012-01-23 23:06:20 +00:00