Assembly.h 964 B

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