Exemplo n.º 1
0
        private static void PackLogData(ChatlogResult result)
        {
            if (!_scanned)
            {
                RunMemoryTask();
                _scanned = true;
            }

            IpcClient.SendData(new PackedResult(PackedResultType.Chatlog, result));
        }
Exemplo n.º 2
0
 private static void RunMemoryTask()
 {
     Log.Debug("Memory Task");
     lock (Lock)
     {
         IpcClient.SendData(new PackedResult(PackedResultType.Status, _gmm.GetStatus()));
         IpcClient.SendData(new PackedResult(PackedResultType.Inventory, _gmm.GetInventory()));
         IpcClient.SendData(new PackedResult(PackedResultType.Artisan, _gmm.GetArtisan()));
     }
 }