Ejemplo n.º 1
0
 public void Dispose()
 {
     if (_client != null)
     {
         _client.Dispose();
         _client = null;
     }
     Environment.Exit(0);
 }
Ejemplo n.º 2
0
 public CharStatsService(
     IStealthClient client,
     IGameObjectService gameObjectService,
     IObjectSearchService objectSearchService,
     IMoveItemService moveItemService)
     : base(client)
 {
     _gameObjectService   = gameObjectService;
     _objectSearchService = objectSearchService;
     _moveItemService     = moveItemService;
 }
Ejemplo n.º 3
0
 public LayerService(
     IStealthClient client,
     ICharStatsService charStatsService,
     IMoveItemService moveItemService,
     IObjectSearchService objectSearchService)
     : base(client)
 {
     _charStatsService    = charStatsService;
     _objectSearchService = objectSearchService;
     _moveItemService     = moveItemService;
 }
Ejemplo n.º 4
0
        public Stealth(IServiceProvider serviceProvider)
        {
            _serviceProvider = serviceProvider;
            _isStopped       = false;

            Trace.WriteLine("Create Stealth client", "Stealth.Main");
            _client = serviceProvider.GetRequiredService <IStealthClient>();

            _client.StartStopRecieve += _client_StartStopRecieve;
            _client.TerminateRecieve += _client_TerminateRecieve;
            _client.Connect();
            CheckSupportedVersion();
        }
Ejemplo n.º 5
0
 public ObjectSearchService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 6
0
 public PartyService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 7
0
 public GumpService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 8
0
 public SystemService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 9
0
 public AttackService(IStealthClient client, ICharStatsService charStatsService, IGameObjectService gameObjectService)
     : base(client)
 {
     _charStatsService  = charStatsService;
     _gameObjectService = gameObjectService;
 }
Ejemplo n.º 10
0
 public ViberService(IStealthClient client, IEventSystemService eventSystemService)
     : base(client, eventSystemService)
 {
 }
Ejemplo n.º 11
0
 public GlobalService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 12
0
 public EventSystemService(IStealthClient client)
     : base(client)
 {
     client.ServerEventRecieve += cln_ServerEventRecieve;
 }
Ejemplo n.º 13
0
 public ContextMenuService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 14
0
 public MenuService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 15
0
 public BaseService(IStealthClient client)
 {
     _client = client;
 }
Ejemplo n.º 16
0
        //private Task _monitor;
        //private CancellationTokenSource _cancel = new CancellationTokenSource();

        //private event EventHandler<string> _onNewLine;
        //public event EventHandler<string> OnNewLine
        //{
        //    add
        //    {
        //        if (_onNewLine == null)
        //        {
        //            _monitor = Monitor(_cancel.Token);
        //        }

        //        _onNewLine += value;
        //    }
        //    remove
        //    {
        //        _onNewLine -= value;

        //        if (_onNewLine == null)
        //        {
        //            _cancel.Cancel();
        //            _monitor.Wait();
        //        }
        //    }
        //}


        public JournalService(IStealthClient client)
            : base(client)
        {
        }
Ejemplo n.º 17
0
 public GestureService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 18
0
 public GameObjectService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 19
0
 public MoveService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 20
0
 public MarketService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 21
0
 public BaseMessanger(IStealthClient client, IEventSystemService eventSystemService)
     : base(client)
 {
     eventSystemService.MessangerIncomingText += EventService_MessangerIncomingText;
 }
Ejemplo n.º 22
0
 public TelegramService(IStealthClient client, IEventSystemService eventSystemService)
     : base(client, eventSystemService)
 {
 }
Ejemplo n.º 23
0
 public TargetService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 24
0
 public InfoWindowService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 25
0
 public TileService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 26
0
 public ConnectionService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 27
0
 public SkillSpellService(IStealthClient client, ITargetService targetService)
     : base(client)
 {
     _targetService = targetService;
 }
Ejemplo n.º 28
0
 public ClientService(IStealthClient client)
     : base(client)
 {
 }
Ejemplo n.º 29
0
 public ReagentService(IStealthClient client, IObjectSearchService objectSearchService)
     : base(client)
 {
     _objectSearchService = objectSearchService;
 }