private void MemoryModule_Update(object sender, object csgo) { if (!_memory.IsRunning) { _memory.Load(); return; } if (!offsetsLoaded) { LoadOffsets(); offsetsLoaded = true; return; } //Reading all data here try { LocalPlayer(); Entities(); } catch (Win32Exception e) { Logger.Error(e); } }
private void MemoryModule_Update(object sender, CSGOData csgo) { Logger.Info(FrameRate); if (!_memory.IsRunning) { _memory.Load(); return; } if (!offsetsLoaded) { LoadOffsets(); return; } //Reading all data here try { GetSignOnState(csgo); if (csgo.IsNotPlaying) { return; } LocalPlayer(csgo); Entities(csgo); } catch (Win32Exception e) { Logger.Error(e); } }
private void Module_Update(object sender, object csgo) { if (!_memory.IsRunning) { _memory.Load(); return; } if (CSGOData.IsNotPlaying) { return; } //Do all stuff here try { TriggerBot(); } catch (Exception e) { Logger.Error(e); } }