Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Klasa główna:
- if (!UniversalConfig.GameProcess.LoadCsGo())
- {
- Console.WriteLine("Failed to load csgo process!");
- Environment.Exit(0);
- }
- //uzyta klasa:
- public static class UniversalConfig
- {
- public static GameProcess GameProcess = new GameProcess();
- public static Offsets.Offsets Offsets = new Offsets.Offsets();
- public static NetVarManager NetVarManager = new NetVarManager();
- public static MemoryAllocator MemoryAllocator = new MemoryAllocator();
- }
- //wywołanie w Offsets, które jest wewnątrz Universalconfig:
- //odkomentowanie powoduje błąd podczas wykonania
- public Offsets()
- {
- //var _clientModule = UniversalConfig.GameProcess.CsGoModules["client"];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement