示例#1
0
 public NotificationManager(ClusterConnection clusterConnection, NodeContainer container, ClientManager clientManager, CharacterManager characterManager)
 {
     this.ClusterConnection = clusterConnection;
     this.Container         = container;
     this.ClientManager     = clientManager;
     this.CharacterManager  = characterManager;
 }
示例#2
0
 public Client(NodeContainer container, ClusterConnection clusterConnection, ServiceManager serviceManager,
               TimerManager timerManager, ItemFactory itemFactory, CharacterManager characterManager,
               SystemManager systemManager, NotificationManager notificationManager, MachoNet machoNet)
 {
     this.Container           = container;
     this.ClusterConnection   = clusterConnection;
     this.ServiceManager      = serviceManager;
     this.TimerManager        = timerManager;
     this.ItemFactory         = itemFactory;
     this.CharacterManager    = characterManager;
     this.SystemManager       = systemManager;
     this.NotificationManager = notificationManager;
     this.PendingMultiEvents  = new PyList <PyTuple>();
     this.MachoNet            = machoNet;
 }
示例#3
0
        public MachoNet(ClusterConnection clusterConnection, NodeContainer container, SystemManager systemManager,
                        ClientManager clientManager, BoundServiceManager boundServiceManager, ItemFactory itemFactory,
                        Logger logger, AccountDB accountDB, General configuration, CharacterManager characterManager,
                        NotificationManager notificationManager, TimerManager timerManager, Container dependencyInjection)
        {
            this.Log = logger.CreateLogChannel("MachoNet");
#if DEBUG
            this.CallLog   = logger.CreateLogChannel("CallDebug", true);
            this.ResultLog = logger.CreateLogChannel("ResultDebug", true);
#endif
            this.ClusterConnection   = clusterConnection;
            this.SystemManager       = systemManager;
            this.ClientManager       = clientManager;
            this.BoundServiceManager = boundServiceManager;
            this.ItemFactory         = itemFactory;
            this.Container           = container;
            this.AccountDB           = accountDB;
            this.Configuration       = configuration;
            this.CharacterManager    = characterManager;
            this.NotificationManager = notificationManager;
            this.TimerManager        = timerManager;
            this.DependencyInjection = dependencyInjection;
        }