public void Initialize(
     IosSDK ios,
     ConfigHolder configHolder,
     AndroidSDK android)
 {
     _configHolder = configHolder;
 }
Esempio n. 2
0
 public void Initialize(
     AndroidSDK android,
     IosSDK ios)
 {
     _android = android;
     _ios     = ios;
 }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public void Initialize(
     IDataRepository dataRepository,
     AndroidSDK android,
     IosSDK ios,
     ConfigHolder config)
 {
     _android = android;
     _ios     = ios;
     _config  = config;
     _myUser  = dataRepository.GetContainer <User>(DataKey.MyUser);
 }
Esempio n. 5
0
 public void Initialize(
     ConfigHolder configHolder,
     AndroidSDK android,
     IosSDK ios,
     IDialogManager dialogManager,
     RemoteAPI remoteAPI)
 {
     _configHolder  = configHolder;
     _android       = android;
     _ios           = ios;
     _remoteAPI     = remoteAPI;
     _dialogManager = dialogManager;
 }
Esempio n. 6
0
 public void Initialize(
     IDialogManager dialogManager,
     IosSDK ios,
     RemoteAPI remoteAPI,
     IDataRepository dataRepository,
     RoomBtn.Factory itemFactory)
 {
     _dialogManager  = dialogManager;
     _ios            = ios;
     _remoteAPI      = remoteAPI;
     _itemFactory    = itemFactory;
     _roomList       = dataRepository.GetContainer <List <Room> >(DataKey.RoomList);
     _roomInOut      = dataRepository.GetContainer <Queue <BRoomInOut> >(DataKey.BRoomInOut);
     _currenGameMode = dataRepository.GetContainer <int>(DataKey.CurrentGameMode);
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 public void Initialize(
     IDataRepository dataRepository,
     ConfigHolder configHolder,
     AndroidSDK android,
     IosSDK ios,
     IDialogManager dialogManager,
     ITaskManager taskManager,
     IFilePicManager filePicManager,
     IAnalyticManager analyticManager,
     RemoteAPI remoteAPI)
 {
     _configHolder        = configHolder;
     _android             = android;
     _ios                 = ios;
     _remoteAPI           = remoteAPI;
     _dialogManager       = dialogManager;
     _taskManager         = taskManager;
     _filePicManager      = filePicManager;
     _analyticManager     = analyticManager;
     _notifyDoShareResult = dataRepository.GetContainer <NotifyDoShareResult>(DataKey.NotifyDoShareResult);
     _inGameConfig        = dataRepository.GetContainer <InGameConfig>(DataKey.InGameConfig);
 }