Type.registerNamespace('GamePortal.WebServices');
GamePortal.WebServices.CafeBreakGamesAsynchCalls=function() {
GamePortal.WebServices.CafeBreakGamesAsynchCalls.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GamePortal.WebServices.CafeBreakGamesAsynchCalls.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_path();},
LeaveGameRoom:function(gameRoomID,gameID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LeaveGameRoom',false,{gameRoomID:gameRoomID,gameID:gameID},succeededCallback,failedCallback,userContext); },
AddToFavorites:function(gameID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToFavorites',false,{gameID:gameID},succeededCallback,failedCallback,userContext); },
ManageCallFromCafeBreakGame:function(game,currentHash,args,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ManageCallFromCafeBreakGame',false,{game:game,currentHash:currentHash,args:args},succeededCallback,failedCallback,userContext); }}
GamePortal.WebServices.CafeBreakGamesAsynchCalls.registerClass('GamePortal.WebServices.CafeBreakGamesAsynchCalls',Sys.Net.WebServiceProxy);
GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance = new GamePortal.WebServices.CafeBreakGamesAsynchCalls();
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_path = function(value) { GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.set_path(value); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.get_path = function() { return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_path(); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_timeout = function(value) { GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.set_timeout(value); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.get_timeout = function() { return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_timeout(); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_defaultUserContext = function(value) { GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.set_defaultUserContext(value); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.get_defaultUserContext = function() { return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_defaultUserContext(); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_defaultSucceededCallback = function(value) { GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.set_defaultSucceededCallback(value); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.get_defaultSucceededCallback = function() { return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_defaultSucceededCallback(); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_defaultFailedCallback = function(value) { GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.set_defaultFailedCallback(value); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.get_defaultFailedCallback = function() { return GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.get_defaultFailedCallback(); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.set_path("/WebServices/CafeBreakGamesAsynchCalls.asmx");
GamePortal.WebServices.CafeBreakGamesAsynchCalls.LeaveGameRoom= function(gameRoomID,gameID,onSuccess,onFailed,userContext) {GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.LeaveGameRoom(gameRoomID,gameID,onSuccess,onFailed,userContext); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.AddToFavorites= function(gameID,onSuccess,onFailed,userContext) {GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.AddToFavorites(gameID,onSuccess,onFailed,userContext); }
GamePortal.WebServices.CafeBreakGamesAsynchCalls.ManageCallFromCafeBreakGame= function(game,currentHash,args,onSuccess,onFailed,userContext) {GamePortal.WebServices.CafeBreakGamesAsynchCalls._staticInstance.ManageCallFromCafeBreakGame(game,currentHash,args,onSuccess,onFailed,userContext); }
