Assembly.h 988 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include <stdint.h>
  3. #include <vector>
  4. #include "il2cpp-config.h"
  5. struct Il2CppAssembly;
  6. struct Il2CppAssemblyName;
  7. struct Il2CppImage;
  8. struct Il2CppArray;
  9. namespace il2cpp
  10. {
  11. namespace vm
  12. {
  13. typedef std::vector<const Il2CppAssembly*> AssemblyVector;
  14. typedef std::vector<const Il2CppAssemblyName*> AssemblyNameVector;
  15. class LIBIL2CPP_CODEGEN_API Assembly
  16. {
  17. // exported
  18. public:
  19. static Il2CppImage* GetImage(const Il2CppAssembly* assembly);
  20. static void GetReferencedAssemblies(const Il2CppAssembly* assembly, AssemblyNameVector* target);
  21. public:
  22. static AssemblyVector* GetAllAssemblies();
  23. static const Il2CppAssembly* GetLoadedAssembly(const char* name);
  24. static const Il2CppAssembly* Load(const char* name);
  25. static void Register(const Il2CppAssembly* assembly);
  26. static void ClearAllAssemblies();
  27. static void Initialize();
  28. private:
  29. };
  30. } /* namespace vm */
  31. } /* namespace il2cpp */