var TrophyService=function() {
TrophyService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TrophyService.prototype={
GetTrophy:function(TrophyID,succeededCallback, failedCallback, userContext) {
return this._invoke(TrophyService.get_path(), 'GetTrophy',false,{TrophyID:TrophyID},succeededCallback,failedCallback,userContext); },
GetAvatar:function(SportID,UserID,succeededCallback, failedCallback, userContext) {
return this._invoke(TrophyService.get_path(), 'GetAvatar',false,{SportID:SportID,UserID:UserID},succeededCallback,failedCallback,userContext); }}
TrophyService.registerClass('TrophyService',Sys.Net.WebServiceProxy);
TrophyService._staticInstance = new TrophyService();
TrophyService.set_path = function(value) { TrophyService._staticInstance._path = value; }
TrophyService.get_path = function() { return TrophyService._staticInstance._path; }
TrophyService.set_timeout = function(value) { TrophyService._staticInstance._timeout = value; }
TrophyService.get_timeout = function() { return TrophyService._staticInstance._timeout; }
TrophyService.set_defaultUserContext = function(value) { TrophyService._staticInstance._userContext = value; }
TrophyService.get_defaultUserContext = function() { return TrophyService._staticInstance._userContext; }
TrophyService.set_defaultSucceededCallback = function(value) { TrophyService._staticInstance._succeeded = value; }
TrophyService.get_defaultSucceededCallback = function() { return TrophyService._staticInstance._succeeded; }
TrophyService.set_defaultFailedCallback = function(value) { TrophyService._staticInstance._failed = value; }
TrophyService.get_defaultFailedCallback = function() { return TrophyService._staticInstance._failed; }
TrophyService.set_path("/DesktopModules/TrophyCase/TrophyService.asmx");
TrophyService.GetTrophy= function(TrophyID,onSuccess,onFailed,userContext) {TrophyService._staticInstance.GetTrophy(TrophyID,onSuccess,onFailed,userContext); }
TrophyService.GetAvatar= function(SportID,UserID,onSuccess,onFailed,userContext) {TrophyService._staticInstance.GetAvatar(SportID,UserID,onSuccess,onFailed,userContext); }
