Advertisement
Guest User

Untitled

a guest
Dec 14th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.80 KB | None | 0 0
  1. //Klasa główna:
  2. if (!UniversalConfig.GameProcess.LoadCsGo())
  3.             {
  4.                 Console.WriteLine("Failed to load csgo process!");
  5.                 Environment.Exit(0);
  6.             }
  7.  
  8. //uzyta klasa:
  9.     public static class UniversalConfig
  10.     {
  11.         public static GameProcess GameProcess = new GameProcess();
  12.         public static Offsets.Offsets Offsets = new Offsets.Offsets();
  13.         public static NetVarManager NetVarManager = new NetVarManager();
  14.         public static MemoryAllocator MemoryAllocator = new MemoryAllocator();
  15.     }
  16.  
  17. //wywołanie w Offsets, które jest wewnątrz Universalconfig:
  18. //odkomentowanie powoduje błąd podczas wykonania
  19.  
  20.         public Offsets()
  21.         {
  22.             //var _clientModule = UniversalConfig.GameProcess.CsGoModules["client"];
  23.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement