public void Initialize( IUIController uiController, IMsgRepo msgRepo, INetworkManager network, XiaoMiManager xiaoMiManager, IAnalyticManager analyticManager, ConfigHolder configHolder, IAnySDKManager anySdkManager, IosSDK ios, IWeChatManager weChatManager, IDataRepository dataRepository, LocalGameServer localGameServer) { _uiController = uiController; _ios = ios; _network = network; _msgRepo = msgRepo; _configHolder = configHolder; _xiaoMiManager = xiaoMiManager; _weChatManager = weChatManager; _analyticManager = analyticManager; _localGameServer = localGameServer; _anySdkManager = anySdkManager; _appState = dataRepository.GetContainer <AppState>(DataKey.AppState); _versionResult = dataRepository.GetContainer <VersionResult>(DataKey.VersionResult); _pLoginResult = dataRepository.GetContainer <PLoginResult>(DataKey.PLoginResult); _billboardRead = dataRepository.GetContainer <bool>(DataKey.BillboardRead); _currentGameMode = dataRepository.GetContainer <int>(DataKey.CurrentGameMode); _vipExchangeList = dataRepository.GetContainer <VipExchangeListResult>(DataKey.VipExchangeListResult); _treasureChestData = dataRepository.GetContainer <TreasureChestData>(DataKey.TreasureChestData); _hloginResult = dataRepository.GetContainer <HLoginResult>(DataKey.HLoginResult); _friendListResult = dataRepository.GetContainer <SFriendListResult>(DataKey.SFriendListResult); }
public void Inject( IAppController appController, INetworkManager network, IGameCanvas gameCanvas, ITaskManager taskManager, IDialogManager dialogManager, IPayManager payManager, IAnalyticManager analyticManager, ISystemMsgController systemMsgController, ISoundController soundController, IWeChatManager weChatManager, RemoteAPI remoteAPI, ConfigHolder configHolder, IosSDK iosSDK, IPIPLogic pipLogic, IClipboardManager clipboardManager, ISocketFactory socketFactory, IMessageRouter messageRouter, IMsgRepo msgRepo, XiaoMiManager xiaoMiManager, IResourceManager resourceManager, IDataRepository dataRepository) { _network = network; _taskManager = taskManager; _appController = appController; _gameCanvas = gameCanvas; _dialogManager = dialogManager; _payManager = payManager; _analyticManager = analyticManager; _systemMsgController = systemMsgController; _soundController = soundController; _weChatManager = weChatManager; _remoteAPI = remoteAPI; _configHolder = configHolder; _iosSDK = iosSDK; _socketFactory = socketFactory; _pipLogic = pipLogic; _messageRouter = messageRouter; _msgRepo = msgRepo; _xiaoMiManager = xiaoMiManager; _dataRepository = dataRepository; _clipboardManager = clipboardManager; _resourceManager = resourceManager; }