Property.h 682 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. struct MethodInfo;
  5. struct PropertyInfo;
  6. struct Il2CppClass;
  7. namespace il2cpp
  8. {
  9. namespace vm
  10. {
  11. class LIBIL2CPP_CODEGEN_API Property
  12. {
  13. public:
  14. // exported
  15. static uint32_t GetFlags(const PropertyInfo* prop);
  16. static const MethodInfo* GetGetMethod(const PropertyInfo* prop);
  17. static const MethodInfo* GetSetMethod(const PropertyInfo* prop);
  18. static const char* GetName(const PropertyInfo* prop);
  19. static Il2CppClass* GetParent(const PropertyInfo* prop);
  20. static uint32_t GetToken(const PropertyInfo* prop);
  21. };
  22. } /* namespace vm */
  23. } /* namespace il2cpp */