415 lines
12 KiB
ActionScript
415 lines
12 KiB
ActionScript
package com.control
|
|
{
|
|
import com.control.activity.ActivityService;
|
|
import com.control.assistant.AssistantService;
|
|
import com.control.battle.BattleService;
|
|
import com.control.castle.CastleService;
|
|
import com.control.chat.ChatService;
|
|
import com.control.combat.CombatService;
|
|
import com.control.farm.UserFarmService;
|
|
import com.control.fish.FishService;
|
|
import com.control.friend.FriendService;
|
|
import com.control.guild.GuildService;
|
|
import com.control.guild.GuildTransService;
|
|
import com.control.help.HelpService;
|
|
import com.control.hero.HeroService;
|
|
import com.control.home.HomeService;
|
|
import com.control.iron.IronService;
|
|
import com.control.item.ItemsService;
|
|
import com.control.login.LoginService;
|
|
import com.control.map.MapService;
|
|
import com.control.message.MessageService;
|
|
import com.control.mission.MissionService;
|
|
import com.control.pack.PackService;
|
|
import com.control.play.BabelService;
|
|
import com.control.play.HexagramService;
|
|
import com.control.play.LeagueService;
|
|
import com.control.play.PlayService;
|
|
import com.control.province.ProvinceService;
|
|
import com.control.risk.RiskService;
|
|
import com.control.shop.ShopService;
|
|
import com.control.tech.TechService;
|
|
import com.control.tower.SingleBabelService;
|
|
import com.control.user.UserService;
|
|
import flash.display.Sprite;
|
|
|
|
public class ConnectService extends Sprite
|
|
{
|
|
|
|
private static var instance:ConnectService;
|
|
|
|
private var _loginService:LoginService;
|
|
|
|
private var _castleService:CastleService;
|
|
|
|
private var _farmService:UserFarmService;
|
|
|
|
private var _heroService:HeroService;
|
|
|
|
private var _techService:TechService;
|
|
|
|
private var _itemsService:ItemsService;
|
|
|
|
private var _shopService:ShopService;
|
|
|
|
private var _packService:PackService;
|
|
|
|
private var _ironService:IronService;
|
|
|
|
private var _userService:UserService;
|
|
|
|
private var _battleService:BattleService;
|
|
|
|
private var _mapService:MapService;
|
|
|
|
private var _playService:PlayService;
|
|
|
|
private var _chatService:ChatService;
|
|
|
|
private var _guildService:GuildService;
|
|
|
|
private var _guildTransService:GuildTransService;
|
|
|
|
private var _babelService:BabelService;
|
|
|
|
private var _leagueService:LeagueService;
|
|
|
|
private var _hexagramService:HexagramService;
|
|
|
|
private var _combatService:CombatService;
|
|
|
|
private var _friendService:FriendService;
|
|
|
|
private var _messageService:MessageService;
|
|
|
|
private var _provinceService:ProvinceService;
|
|
|
|
private var _missionService:MissionService;
|
|
|
|
private var _assistantService:AssistantService;
|
|
|
|
private var _fishService:FishService;
|
|
|
|
private var _helpService:HelpService;
|
|
|
|
private var _activityService:ActivityService;
|
|
|
|
private var _riskService:RiskService;
|
|
|
|
private var _homeService:HomeService;
|
|
|
|
private var _singleBabelService:SingleBabelService;
|
|
|
|
public function ConnectService()
|
|
{
|
|
super();
|
|
this._loginService = new LoginService();
|
|
this._castleService = new CastleService();
|
|
this._farmService = new UserFarmService();
|
|
this._heroService = new HeroService();
|
|
this._techService = new TechService();
|
|
this._itemsService = new ItemsService();
|
|
this._shopService = new ShopService();
|
|
this._packService = new PackService();
|
|
this._ironService = new IronService();
|
|
this._userService = new UserService();
|
|
this._battleService = new BattleService();
|
|
this._mapService = new MapService();
|
|
this._playService = new PlayService();
|
|
this._chatService = new ChatService();
|
|
this._guildService = new GuildService();
|
|
this._guildTransService = new GuildTransService();
|
|
this._babelService = new BabelService();
|
|
this._leagueService = new LeagueService();
|
|
this._hexagramService = new HexagramService();
|
|
this._combatService = new CombatService();
|
|
this._friendService = new FriendService();
|
|
this._messageService = new MessageService();
|
|
this._provinceService = new ProvinceService();
|
|
this._missionService = new MissionService();
|
|
this._assistantService = new AssistantService();
|
|
this._fishService = new FishService();
|
|
this._helpService = new HelpService();
|
|
this._activityService = new ActivityService();
|
|
this._riskService = new RiskService();
|
|
this._homeService = new HomeService();
|
|
this._singleBabelService = new SingleBabelService();
|
|
}
|
|
|
|
public static function getInstance() : ConnectService
|
|
{
|
|
if(instance == null)
|
|
{
|
|
return instance = new ConnectService();
|
|
}
|
|
return instance;
|
|
}
|
|
|
|
public function get loginService() : LoginService
|
|
{
|
|
return this._loginService;
|
|
}
|
|
|
|
public function get castleService() : CastleService
|
|
{
|
|
return this._castleService;
|
|
}
|
|
|
|
public function get farmService() : UserFarmService
|
|
{
|
|
return this._farmService;
|
|
}
|
|
|
|
public function get heroService() : HeroService
|
|
{
|
|
return this._heroService;
|
|
}
|
|
|
|
public function get techService() : TechService
|
|
{
|
|
return this._techService;
|
|
}
|
|
|
|
public function set techService(param1:TechService) : void
|
|
{
|
|
this._techService = param1;
|
|
}
|
|
|
|
public function get itemsService() : ItemsService
|
|
{
|
|
return this._itemsService;
|
|
}
|
|
|
|
public function set itemsService(param1:ItemsService) : void
|
|
{
|
|
this._itemsService = param1;
|
|
}
|
|
|
|
public function get shopService() : ShopService
|
|
{
|
|
return this._shopService;
|
|
}
|
|
|
|
public function set shopService(param1:ShopService) : void
|
|
{
|
|
this._shopService = param1;
|
|
}
|
|
|
|
public function get packService() : PackService
|
|
{
|
|
return this._packService;
|
|
}
|
|
|
|
public function set packService(param1:PackService) : void
|
|
{
|
|
this._packService = param1;
|
|
}
|
|
|
|
public function get ironService() : IronService
|
|
{
|
|
return this._ironService;
|
|
}
|
|
|
|
public function set ironService(param1:IronService) : void
|
|
{
|
|
this._ironService = param1;
|
|
}
|
|
|
|
public function get userService() : UserService
|
|
{
|
|
return this._userService;
|
|
}
|
|
|
|
public function set userService(param1:UserService) : void
|
|
{
|
|
this._userService = param1;
|
|
}
|
|
|
|
public function get battleService() : BattleService
|
|
{
|
|
return this._battleService;
|
|
}
|
|
|
|
public function set battleService(param1:BattleService) : void
|
|
{
|
|
this._battleService = param1;
|
|
}
|
|
|
|
public function get mapService() : MapService
|
|
{
|
|
return this._mapService;
|
|
}
|
|
|
|
public function set mapService(param1:MapService) : void
|
|
{
|
|
this._mapService = param1;
|
|
}
|
|
|
|
public function get playService() : PlayService
|
|
{
|
|
return this._playService;
|
|
}
|
|
|
|
public function set playService(param1:PlayService) : void
|
|
{
|
|
this._playService = param1;
|
|
}
|
|
|
|
public function get chatService() : ChatService
|
|
{
|
|
return this._chatService;
|
|
}
|
|
|
|
public function set chatService(param1:ChatService) : void
|
|
{
|
|
this._chatService = param1;
|
|
}
|
|
|
|
public function get guildService() : GuildService
|
|
{
|
|
return this._guildService;
|
|
}
|
|
|
|
public function set guildService(param1:GuildService) : void
|
|
{
|
|
this._guildService = param1;
|
|
}
|
|
|
|
public function get guildTransService() : GuildTransService
|
|
{
|
|
return this._guildTransService;
|
|
}
|
|
|
|
public function set guildTransService(param1:GuildTransService) : void
|
|
{
|
|
this._guildTransService = param1;
|
|
}
|
|
|
|
public function get babelService() : BabelService
|
|
{
|
|
return this._babelService;
|
|
}
|
|
|
|
public function set babelService(param1:BabelService) : void
|
|
{
|
|
this._babelService = param1;
|
|
}
|
|
|
|
public function get leagueService() : LeagueService
|
|
{
|
|
return this._leagueService;
|
|
}
|
|
|
|
public function set leagueService(param1:LeagueService) : void
|
|
{
|
|
this._leagueService = param1;
|
|
}
|
|
|
|
public function get hexagramService() : HexagramService
|
|
{
|
|
return this._hexagramService;
|
|
}
|
|
|
|
public function set hexagramService(param1:HexagramService) : void
|
|
{
|
|
this._hexagramService = param1;
|
|
}
|
|
|
|
public function get combatService() : CombatService
|
|
{
|
|
return this._combatService;
|
|
}
|
|
|
|
public function set combatService(param1:CombatService) : void
|
|
{
|
|
this._combatService = param1;
|
|
}
|
|
|
|
public function get friendService() : FriendService
|
|
{
|
|
return this._friendService;
|
|
}
|
|
|
|
public function set friendService(param1:FriendService) : void
|
|
{
|
|
this._friendService = param1;
|
|
}
|
|
|
|
public function get messageService() : MessageService
|
|
{
|
|
return this._messageService;
|
|
}
|
|
|
|
public function set messageService(param1:MessageService) : void
|
|
{
|
|
this._messageService = param1;
|
|
}
|
|
|
|
public function get provinceService() : ProvinceService
|
|
{
|
|
return this._provinceService;
|
|
}
|
|
|
|
public function set provinceService(param1:ProvinceService) : void
|
|
{
|
|
this._provinceService = param1;
|
|
}
|
|
|
|
public function get missionService() : MissionService
|
|
{
|
|
return this._missionService;
|
|
}
|
|
|
|
public function set missionService(param1:MissionService) : void
|
|
{
|
|
this._missionService = param1;
|
|
}
|
|
|
|
public function get assistantService() : AssistantService
|
|
{
|
|
return this._assistantService;
|
|
}
|
|
|
|
public function set assistantService(param1:AssistantService) : void
|
|
{
|
|
this._assistantService = param1;
|
|
}
|
|
|
|
public function get fishService() : FishService
|
|
{
|
|
return this._fishService;
|
|
}
|
|
|
|
public function set fishService(param1:FishService) : void
|
|
{
|
|
this._fishService = param1;
|
|
}
|
|
|
|
public function get helpService() : HelpService
|
|
{
|
|
return this._helpService;
|
|
}
|
|
|
|
public function get activityService() : ActivityService
|
|
{
|
|
return this._activityService;
|
|
}
|
|
|
|
public function get riskService() : RiskService
|
|
{
|
|
return this._riskService;
|
|
}
|
|
|
|
public function get homeService() : HomeService
|
|
{
|
|
return this._homeService;
|
|
}
|
|
|
|
public function get singleBabelService() : SingleBabelService
|
|
{
|
|
return this._singleBabelService;
|
|
}
|
|
}
|
|
}
|
|
|