Type.registerNamespace('GamePortal.WebServices');
GamePortal.WebServices.GamesAsynchCalls=function() {
GamePortal.WebServices.GamesAsynchCalls.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GamePortal.WebServices.GamesAsynchCalls.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_path();},
GetWeekHeroesInfos:function(gameID,type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWeekHeroesInfos',false,{gameID:gameID,type:type},succeededCallback,failedCallback,userContext); }}
GamePortal.WebServices.GamesAsynchCalls.registerClass('GamePortal.WebServices.GamesAsynchCalls',Sys.Net.WebServiceProxy);
GamePortal.WebServices.GamesAsynchCalls._staticInstance = new GamePortal.WebServices.GamesAsynchCalls();
GamePortal.WebServices.GamesAsynchCalls.set_path = function(value) { GamePortal.WebServices.GamesAsynchCalls._staticInstance.set_path(value); }
GamePortal.WebServices.GamesAsynchCalls.get_path = function() { return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_path(); }
GamePortal.WebServices.GamesAsynchCalls.set_timeout = function(value) { GamePortal.WebServices.GamesAsynchCalls._staticInstance.set_timeout(value); }
GamePortal.WebServices.GamesAsynchCalls.get_timeout = function() { return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_timeout(); }
GamePortal.WebServices.GamesAsynchCalls.set_defaultUserContext = function(value) { GamePortal.WebServices.GamesAsynchCalls._staticInstance.set_defaultUserContext(value); }
GamePortal.WebServices.GamesAsynchCalls.get_defaultUserContext = function() { return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_defaultUserContext(); }
GamePortal.WebServices.GamesAsynchCalls.set_defaultSucceededCallback = function(value) { GamePortal.WebServices.GamesAsynchCalls._staticInstance.set_defaultSucceededCallback(value); }
GamePortal.WebServices.GamesAsynchCalls.get_defaultSucceededCallback = function() { return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_defaultSucceededCallback(); }
GamePortal.WebServices.GamesAsynchCalls.set_defaultFailedCallback = function(value) { GamePortal.WebServices.GamesAsynchCalls._staticInstance.set_defaultFailedCallback(value); }
GamePortal.WebServices.GamesAsynchCalls.get_defaultFailedCallback = function() { return GamePortal.WebServices.GamesAsynchCalls._staticInstance.get_defaultFailedCallback(); }
GamePortal.WebServices.GamesAsynchCalls.set_path("/WebServices/GamesAsynchCalls.asmx");
GamePortal.WebServices.GamesAsynchCalls.GetWeekHeroesInfos= function(gameID,type,onSuccess,onFailed,userContext) {GamePortal.WebServices.GamesAsynchCalls._staticInstance.GetWeekHeroesInfos(gameID,type,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('PortalServices.ServiceEntities');
if (typeof(PortalServices.ServiceEntities.WeekHeroesInfos) === 'undefined') {
PortalServices.ServiceEntities.WeekHeroesInfos=gtc("PortalServices.ServiceEntities.WeekHeroesInfos");
PortalServices.ServiceEntities.WeekHeroesInfos.registerClass('PortalServices.ServiceEntities.WeekHeroesInfos');
}
