zworld-em/Plugins/sentry-unreal/Source/ThirdParty/Mac/include/Sentry/SentrySerializable.h

22 lines
526 B
C
Raw Permalink Normal View History

2025-05-11 22:07:21 +08:00
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif
NS_ASSUME_NONNULL_BEGIN
@protocol SentrySerializable <NSObject>
SENTRY_NO_INIT
/**
* Serialize the contents of the object into an NSDictionary. Make to copy all properties of the
* original object so modifications to it don't have an impact on the serialized NSDictionary.
*/
- (NSDictionary<NSString *, id> *)serialize;
@end
NS_ASSUME_NONNULL_END