Exemple #1
0
 public skillMgr(SkillDB db, ItemFactory itemFactory, TimerManager timerManager,
                 BoundServiceManager manager, Logger logger) : base(manager, null)
 {
     this.DB           = db;
     this.ItemFactory  = itemFactory;
     this.TimerManager = timerManager;
     this.Log          = logger.CreateLogChannel("SkillManager");
 }
Exemple #2
0
 protected jumpCloneSvc(ItemDB itemDB, MarketDB marketDB, ItemFactory itemFactory,
                        SystemManager systemManager, BoundServiceManager manager, WalletManager walletManager, Client client) : base(manager, client)
 {
     this.ItemDB        = itemDB;
     this.MarketDB      = marketDB;
     this.ItemFactory   = itemFactory;
     this.SystemManager = systemManager;
     this.WalletManager = walletManager;
 }
Exemple #3
0
        protected skillMgr(SkillDB db, ItemFactory itemFactory, TimerManager timerManager,
                           BoundServiceManager manager, Logger logger, Client client) : base(manager, client)
        {
            this.DB           = db;
            this.ItemFactory  = itemFactory;
            this.TimerManager = timerManager;
            this.Character    = this.ItemFactory.GetItem <Character>(client.EnsureCharacterIsSelected());
            this.Log          = logger.CreateLogChannel("SkillManager");

            this.InitializeCharacter();
        }
Exemple #4
0
        public ClusterConnection(NodeContainer container, SystemManager systemManager, ServiceManager serviceManager,
                                 ClientManager clientManager, BoundServiceManager boundServiceManager, Logger logger, Container dependencyInjector,
                                 AccountDB accountDB)
        {
            this.Log = logger.CreateLogChannel("ClusterConnection");
#if DEBUG
            this.CallLog   = logger.CreateLogChannel("CallDebug", true);
            this.ResultLog = logger.CreateLogChannel("ResultDebug", true);
#endif
            this.SystemManager       = systemManager;
            this.ServiceManager      = serviceManager;
            this.ClientManager       = clientManager;
            this.BoundServiceManager = boundServiceManager;
            this.DependencyInjector  = dependencyInjector;
            this.Container           = container;
            this.AccountDB           = accountDB;
            this.Socket = new EVEClientSocket(this.Log);
            this.Socket.SetReceiveCallback(ReceiveLowLevelVersionExchangeCallback);
            this.Socket.SetExceptionHandler(HandleException);
        }
Exemple #5
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;
        }
Exemple #6
0
 public reprocessingSvc(ReprocessingDB reprocessingDb, StandingDB standingDb, ItemFactory itemFactory, BoundServiceManager manager) : base(manager, null)
 {
     this.ReprocessingDB = reprocessingDb;
     this.StandingDB     = standingDb;
     this.ItemFactory    = itemFactory;
 }
Exemple #7
0
 protected reprocessingSvc(ReprocessingDB reprocessingDb, StandingDB standingDb, Corporation corporation, Station station, ItemInventory inventory, ItemFactory itemFactory, BoundServiceManager manager, Client client) : base(manager, client)
 {
     this.ReprocessingDB = reprocessingDb;
     this.StandingDB     = standingDb;
     this.mCorporation   = corporation;
     this.mStation       = station;
     this.mInventory     = inventory;
     this.ItemFactory    = itemFactory;
 }
Exemple #8
0
 public dogmaIM(ItemFactory itemFactory, BoundServiceManager manager) : base(manager, null)
 {
     this.ItemFactory = itemFactory;
 }
Exemple #9
0
 public invbroker(ItemDB itemDB, ItemManager itemManager, NodeContainer nodeContainer, SystemManager systemManager, BoundServiceManager manager) : base(manager)
 {
     this.ItemManager   = itemManager;
     this.ItemDB        = itemDB;
     this.NodeContainer = nodeContainer;
     this.SystemManager = systemManager;
 }
Exemple #10
0
 public BoundInventory(ItemDB itemDB, ItemInventory item, ItemFlags flag, ItemManager itemManager, NodeContainer nodeContainer, BoundServiceManager manager) : base(manager)
 {
     this.mInventory    = item;
     this.mFlag         = flag;
     this.ItemDB        = itemDB;
     this.ItemManager   = itemManager;
     this.NodeContainer = nodeContainer;
 }
Exemple #11
0
 public insuranceSvc(ItemFactory itemFactory, InsuranceDB db, MarketDB marketDB, WalletManager walletManager, MailManager mailManager, BoundServiceManager manager) : base(manager, null)
 {
     this.DB            = db;
     this.ItemFactory   = itemFactory;
     this.MarketDB      = marketDB;
     this.WalletManager = walletManager;
     this.MailManager   = mailManager;
 }
Exemple #12
0
 public jumpCloneSvc(ItemDB itemDB, MarketDB marketDB, ItemFactory itemFactory,
                     SystemManager systemManager, WalletManager walletManager, BoundServiceManager manager) : base(manager, null)
 {
     this.ItemDB        = itemDB;
     this.MarketDB      = marketDB;
     this.ItemFactory   = itemFactory;
     this.SystemManager = systemManager;
     this.WalletManager = walletManager;
 }
Exemple #13
0
 protected SparseRowsetDatabaseService(SparseRowsetHeader rowsetHeader, BoundServiceManager manager, Client client) : base(manager, client)
 {
     this.SparseRowset = rowsetHeader;
 }
Exemple #14
0
 public warRegistry(BoundServiceManager manager) : base(manager)
 {
 }
Exemple #15
0
 private warRegistry(BoundServiceManager manager, int objectID) : base(manager)
 {
     this.mObjectID = objectID;
 }
Exemple #16
0
 protected corpStationMgr(MarketDB marketDB, ItemFactory itemFactory, NodeContainer container, BoundServiceManager manager, WalletManager walletManager, Client client) : base(manager, client)
 {
     this.MarketDB      = marketDB;
     this.ItemFactory   = itemFactory;
     this.Container     = container;
     this.WalletManager = walletManager;
 }
Exemple #17
0
 public corpStationMgr(MarketDB marketDB, ItemFactory itemFactory, NodeContainer container, BoundServiceManager manager, WalletManager walletManager) : base(manager, null)
 {
     this.MarketDB      = marketDB;
     this.ItemFactory   = itemFactory;
     this.Container     = container;
     this.WalletManager = walletManager;
 }
Exemple #18
0
 public BoundInventory(ItemDB itemDB, ItemInventory item, Flags flag, ItemFactory itemFactory, NodeContainer nodeContainer, BoundServiceManager manager, Client client) : base(manager, client)
 {
     this.mInventory    = item;
     this.mFlag         = flag;
     this.ItemDB        = itemDB;
     this.ItemFactory   = itemFactory;
     this.NodeContainer = nodeContainer;
 }
Exemple #19
0
 public insuranceSvc(ItemManager itemManager, InsuranceDB db, MarketDB marketDB, SystemManager systemManager, BoundServiceManager manager) : base(manager)
 {
     this.DB            = db;
     this.ItemManager   = itemManager;
     this.MarketDB      = marketDB;
     this.SystemManager = systemManager;
 }
Exemple #20
0
 protected corpRegistry(CorporationDB db, ItemFactory itemFactory, Corporation corp, int isMaster, BoundServiceManager manager, Client client) : base(manager, client)
 {
     this.DB           = db;
     this.ItemFactory  = itemFactory;
     this.mCorporation = corp;
     this.mIsMaster    = isMaster;
 }
Exemple #21
0
 protected insuranceSvc(ItemManager itemManager, InsuranceDB db, MarketDB marketDB, SystemManager systemManager, BoundServiceManager manager, int stationID) : base(manager)
 {
     this.mStationID    = stationID;
     this.DB            = db;
     this.ItemManager   = itemManager;
     this.MarketDB      = marketDB;
     this.SystemManager = systemManager;
 }
Exemple #22
0
 public corpStationMgr(ItemDB itemDB, MarketDB marketDB, ItemManager itemManager, TypeManager typeManager, SystemManager systemManager, BoundServiceManager manager) : base(manager)
 {
     this.ItemDB        = itemDB;
     this.MarketDB      = marketDB;
     this.ItemManager   = itemManager;
     this.TypeManager   = typeManager;
     this.SystemManager = systemManager;
 }
Exemple #23
0
 public dogmaIM(ItemManager itemManager, AttributeManager attributeManager, SystemManager systemManager, BoundServiceManager manager) : base(manager)
 {
     this.ItemManager      = itemManager;
     this.AttributeManager = attributeManager;
     this.SystemManager    = systemManager;
 }
Exemple #24
0
 public corpRegistry(CorporationDB db, ItemFactory itemFactory, BoundServiceManager manager) : base(manager, null)
 {
     this.DB          = db;
     this.ItemFactory = itemFactory;
 }
Exemple #25
0
        public static PyDataType BindInventory(ItemDB itemDB, ItemInventory item, ItemFlags flag, ItemManager itemManager, NodeContainer nodeContainer, BoundServiceManager boundServiceManager)
        {
            BoundService instance = new BoundInventory(itemDB, item, flag, itemManager, nodeContainer, boundServiceManager);
            // bind the service
            int boundID = boundServiceManager.BoundService(instance);
            // build the bound service string
            string boundServiceStr = boundServiceManager.BuildBoundServiceString(boundID);

            // TODO: the expiration time is 1 day, might be better to properly support this?
            // TODO: investigate these a bit more closely in the future
            // TODO: i'm not so sure about the expiration time
            PyTuple boundServiceInformation = new PyTuple(new PyDataType[]
            {
                boundServiceStr, DateTime.UtcNow.Add(TimeSpan.FromDays(1)).ToFileTime()
            });

            // after the service is bound the call can be run (if required)
            return(new PySubStruct(new PySubStream(boundServiceInformation)));
        }
Exemple #26
0
        public OfficesSparseRowsetService(Corporation corporation, CorporationDB db, SparseRowsetHeader rowsetHeader, BoundServiceManager manager) : base(rowsetHeader, manager)
        {
            this.DB          = db;
            this.Corporation = corporation;

            // get all the indexes based on the key
            this.RowsIndex = this.DB.GetOffices(corporation.ID);
        }
Exemple #27
0
 protected insuranceSvc(ItemFactory itemFactory, InsuranceDB db, MarketDB marketDB, WalletManager walletManager, MailManager mailManager, BoundServiceManager manager, int stationID, Client client) : base(manager, client)
 {
     this.mStationID    = stationID;
     this.DB            = db;
     this.ItemFactory   = itemFactory;
     this.MarketDB      = marketDB;
     this.WalletManager = walletManager;
     this.MailManager   = mailManager;
 }
Exemple #28
0
 public jumpCloneSvc(ItemDB itemDB, MarketDB marketDB, ItemManager itemManager, TypeManager typeManager, SystemManager systemManager, BoundServiceManager manager) : base(manager)
 {
     this.ItemDB        = itemDB;
     this.MarketDB      = marketDB;
     this.ItemManager   = itemManager;
     this.TypeManager   = typeManager;
     this.SystemManager = systemManager;
 }
Exemple #29
0
 protected dogmaIM(ItemFactory itemFactory, BoundServiceManager manager, Client client) : base(manager, client)
 {
     this.ItemFactory = itemFactory;
 }
Exemple #30
0
 private invbroker(ItemDB itemDB, ItemManager itemManager, NodeContainer nodeContainer, SystemManager systemManager, BoundServiceManager manager, int objectID) : base(manager)
 {
     this.ItemManager   = itemManager;
     this.ItemDB        = itemDB;
     this.mObjectID     = objectID;
     this.NodeContainer = nodeContainer;
     this.SystemManager = systemManager;
 }