diff --git a/Plugins/Android/AntiAddictionUI_1.2.0.aar b/Plugins/Android/AntiAddictionUI_1.2.0.aar
deleted file mode 100644
index f94d089..0000000
Binary files a/Plugins/Android/AntiAddictionUI_1.2.0.aar and /dev/null differ
diff --git a/Plugins/Android/AntiAddictionUI_3.7.1.aar b/Plugins/Android/AntiAddictionUI_3.7.1.aar
new file mode 100644
index 0000000..d1be854
Binary files /dev/null and b/Plugins/Android/AntiAddictionUI_3.7.1.aar differ
diff --git a/Plugins/Android/AntiAddictionUI_1.2.0.aar.meta b/Plugins/Android/AntiAddictionUI_3.7.1.aar.meta
similarity index 93%
rename from Plugins/Android/AntiAddictionUI_1.2.0.aar.meta
rename to Plugins/Android/AntiAddictionUI_3.7.1.aar.meta
index 5fdc293..4303e76 100644
--- a/Plugins/Android/AntiAddictionUI_1.2.0.aar.meta
+++ b/Plugins/Android/AntiAddictionUI_3.7.1.aar.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 15db45a0bd1b14a26bf2c055daf0782a
+guid: b194c6fbc4ae640a39d0c5e2daba29ed
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Plugins/Android/AntiAddiction_1.2.0.aar b/Plugins/Android/AntiAddiction_1.2.0.aar
deleted file mode 100644
index 2ca6b3f..0000000
Binary files a/Plugins/Android/AntiAddiction_1.2.0.aar and /dev/null differ
diff --git a/Plugins/Android/AntiAddiction_3.7.1.aar b/Plugins/Android/AntiAddiction_3.7.1.aar
new file mode 100644
index 0000000..3113277
Binary files /dev/null and b/Plugins/Android/AntiAddiction_3.7.1.aar differ
diff --git a/Plugins/Android/AntiAddiction_1.2.0.aar.meta b/Plugins/Android/AntiAddiction_3.7.1.aar.meta
similarity index 93%
rename from Plugins/Android/AntiAddiction_1.2.0.aar.meta
rename to Plugins/Android/AntiAddiction_3.7.1.aar.meta
index 8a48bd4..d6eaed0 100644
--- a/Plugins/Android/AntiAddiction_1.2.0.aar.meta
+++ b/Plugins/Android/AntiAddiction_3.7.1.aar.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d8f952e0c7425417c81903d1bc2bf841
+guid: 1be478b0568694f8a861d711238259c3
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Plugins/AntiAddiction.asmdef.meta b/Plugins/AntiAddiction.asmdef.meta
index c81c698..48b4803 100644
--- a/Plugins/AntiAddiction.asmdef.meta
+++ b/Plugins/AntiAddiction.asmdef.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: e6cb42e6f4a334051855d95021c7e0fd
+guid: 7b430a36dc40f416cbc65566155a0e56
AssemblyDefinitionImporter:
externalObjects: {}
userData:
diff --git a/Plugins/PluginBridge.cs b/Plugins/PluginBridge.cs
index 6c43775..2025699 100644
--- a/Plugins/PluginBridge.cs
+++ b/Plugins/PluginBridge.cs
@@ -69,7 +69,7 @@ public class SubmitPayResultParams
public static class AntiAddictionUIKit
{
// Game object is created to receive async messages
- private const string UNITY_SDK_VERSION = "1.2.0";
+ private const string UNITY_SDK_VERSION = "3.7.1";
private const string GAME_OBJECT_NAME = "PluginBridge";
private static GameObject gameObject;
diff --git a/Plugins/iOS/AntiAddictionService.framework/AntiAddictionService b/Plugins/iOS/AntiAddictionService.framework/AntiAddictionService
index fe45b0c..d5270b0 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/AntiAddictionService and b/Plugins/iOS/AntiAddictionService.framework/AntiAddictionService differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Headers/AntiAddictionService-Swift.h b/Plugins/iOS/AntiAddictionService.framework/Headers/AntiAddictionService-Swift.h
index 81ffa9d..d262b1b 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Headers/AntiAddictionService-Swift.h
+++ b/Plugins/iOS/AntiAddictionService.framework/Headers/AntiAddictionService-Swift.h
@@ -1,7 +1,7 @@
#if TARGET_OS_SIMULATOR
#if 0
-#elif defined(__arm64__) && __arm64__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+#elif defined(__x86_64__) && __x86_64__
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONSERVICE_SWIFT_H
#define ANTIADDICTIONSERVICE_SWIFT_H
#pragma clang diagnostic push
@@ -187,422 +187,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
-#if __has_feature(modules)
-#if __has_warning("-Watimport-in-framework-header")
-#pragma clang diagnostic ignored "-Watimport-in-framework-header"
-#endif
-@import Foundation;
-@import ObjectiveC;
-#endif
-
-#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
-#pragma clang diagnostic ignored "-Wduplicate-method-arg"
-#if __has_warning("-Wpragma-clang-attribute")
-# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
-#endif
-#pragma clang diagnostic ignored "-Wunknown-pragmas"
-#pragma clang diagnostic ignored "-Wnullability"
-
-#if __has_attribute(external_source_symbol)
-# pragma push_macro("any")
-# undef any
-# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AntiAddictionService",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
-# pragma pop_macro("any")
-#endif
-
-@class NSNumber;
-@class NSString;
-
-SWIFT_CLASS("_TtC20AntiAddictionService26AntiAddictionConfiguration")
-@interface AntiAddictionConfiguration : NSObject
-@property (nonatomic) BOOL enableLog;
-@property (nonatomic) BOOL needUploadUserAction;
-@property (nonatomic) BOOL isServerError;
-- (BOOL)getShouldStandAloneWithResultBlock:(void (^ _Nullable)(BOOL))resultBlock;
-/// 游戏标识,多端统一用
-@property (nonatomic, copy) NSString * _Nullable gameIdentifier;
-///
-@property (nonatomic, readonly, copy) NSString * _Nonnull bundleId;
-/// AAKit 在线时长限制开关,默认值为 true
-@property (nonatomic) BOOL useSdkOnlineTimeLimit;
-/// AAKit 支付限制开关,默认值为 true
-@property (nonatomic) BOOL useSdkPaymentLimit;
-/// AAKit 是否显示切换账号,默认值为true
-@property (nonatomic) BOOL showSwitchAccount;
-/// 未成年人非节假日每日总时长 单位秒
-@property (nonatomic) NSInteger minorCommonDayTotalTime;
-/// 未成年人节假日每日总时长 单位秒
-@property (nonatomic) NSInteger minorHolidayTotalTime;
-/// 游客每日总时长(无节假日区分)单位秒
-@property (nonatomic) NSInteger guestTotalTime;
-/// 第一次提醒剩余游戏时间时的剩余时长 单位秒
-@property (nonatomic) NSInteger firstAlertTipRemainTime;
-/// 展示倒计时浮窗时的剩余时长 单位秒
-@property (nonatomic) NSInteger countdownAlertTipRemainTime;
-/// 宵禁开始时间(整数,小时,24小时进制,默认22)
-@property (nonatomic) NSInteger curfewHourStart;
-/// 宵禁结束时间(整数,小时,24小时进制,默认8)
-@property (nonatomic) NSInteger curfewHourEnd;
-/// 宵禁开始时间(字符串,格式为小时:分钟
,24小时进制,默认22:00
)方便配置具体到分钟
-@property (nonatomic, copy) NSString * _Nonnull nightStrictStart;
-/// 宵禁结束时间(整数,格式为小时:分钟
,24小时进制,默认8)方便配置具体到分钟
-@property (nonatomic, copy) NSString * _Nonnull nightStrictEnd;
-/// 8-15岁单笔付费额度限制,单位分(默认5000分)
-@property (nonatomic) NSInteger singlePaymentAmountLimitJunior;
-/// 8-15岁每月总付费额度限制,单位分(默认20000分)
-@property (nonatomic) NSInteger mouthTotalPaymentAmountLimitJunior;
-/// 16-17岁单笔付费额度限制,单位分(默认10000分)
-@property (nonatomic) NSInteger singlePaymentAmountLimitSenior;
-/// 16-17岁每月总付费额度限制,单位分(默认40000分)
-@property (nonatomic) NSInteger mouthTotalPaymentAmountLimitSenior;
-@property (nonatomic, copy) NSArray * _Nonnull holiday;
-- (nonnull instancetype)init SWIFT_UNAVAILABLE;
-+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
-@end
-
-typedef SWIFT_ENUM(NSInteger, AntiAddictionRealNameAgeLimit, open) {
- AntiAddictionRealNameAgeLimitUnrealname = -1,
- AntiAddictionRealNameAgeLimitChild = 0,
- AntiAddictionRealNameAgeLimitTeen = 8,
- AntiAddictionRealNameAgeLimitYoung = 16,
- AntiAddictionRealNameAgeLimitAdult = 18,
-};
-
-typedef SWIFT_ENUM(NSInteger, AntiAddictionRealNameAuthState, open) {
- AntiAddictionRealNameAuthStateSuccess = 0,
- AntiAddictionRealNameAuthStateVerifying = 1,
- AntiAddictionRealNameAuthStateFail = 2,
-};
-
-@protocol AntiAddictionServiceCallback;
-
-SWIFT_CLASS_NAMED("AntiAddictionService")
-@interface AntiAddictionService : NSObject
-SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull LocalTokenString;)
-+ (NSString * _Nonnull)LocalTokenString SWIFT_WARN_UNUSED_RESULT;
-SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AntiAddictionConfiguration * _Nonnull configuration;)
-+ (AntiAddictionConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
-+ (void)setConfiguration:(AntiAddictionConfiguration * _Nonnull)value;
-+ (NSString * _Nonnull)getSDKVersion SWIFT_WARN_UNUSED_RESULT;
-+ (void)enableLogWithEnable:(BOOL)enable;
-/// AAKit 配置方法
-/// \param useSdkRealName 实名登记开关,默认值为 true
-///
-/// \param useSdkPaymentLimit 支付限制开关,默认值为 true
-///
-/// \param useSdkOnlineTimeLimit 在线时长限制开关,默认值为 true
-///
-+ (void)setFunctionConfig:(BOOL)useSdkPaymentLimit :(BOOL)useSdkOnlineTimeLimit;
-/// AAKit 配置方法
-/// \param useSdkPaymentLimit 支付限制开关,默认值为 true
-///
-/// \param useSdkOnlineTimeLimit 在线时长限制开关,默认值为 true
-///
-/// \param showSwitchAccount 是否显示切换账号按钮,
-///
-+ (void)setFunctionConfig:(BOOL)useSdkPaymentLimit :(BOOL)useSdkOnlineTimeLimit :(BOOL)showSwitchAccount;
-+ (void)getConfig:(NSString * _Nonnull)clinentId completionHandler:(void (^ _Nullable)(BOOL))completionHandler;
-/// 初始化 SDK
-/// \param delegate 接收回调代理
-///
-/// \param gameIdentifier 游戏唯一标识符
-///
-+ (void)init:(id _Nonnull)delegate gameIdentifier:(NSString * _Nullable)gameIdentifier SWIFT_METHOD_FAMILY(none);
-+ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull, NSString * _Nonnull, NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
-/// 登录用户
-/// \param userToken 用户唯一标识符,
-///
-/// \param accessToken 实名服务签算JwtToken
-///
-/// \param ageLimit 年龄限制
-///
-+ (void)loginWithUserToken:(NSString * _Nonnull)userToken accessToken:(NSString * _Nonnull)accessToken ageLimit:(enum AntiAddictionRealNameAgeLimit)ageLimit;
-/// 进入游戏
-+ (void)enterGame;
-/// 离开游戏
-+ (void)leaveGame;
-/// 退出用户登录
-+ (void)logout;
-/// 用户切换账号
-+ (void)switchAccount;
-/// 获取用户类型
-/// \param userId 用户 id
-///
-+ (NSInteger)getCurrentUserAgeLimite SWIFT_WARN_UNUSED_RESULT;
-/// 获取当前防沉迷Token
-/// \param userId 用户 id
-///
-+ (NSString * _Nonnull)currentToken SWIFT_WARN_UNUSED_RESULT;
-/// 获取用户剩余时长
-+ (NSInteger)currentUserRemainingTime SWIFT_WARN_UNUSED_RESULT;
-/// 是否是单机模式
-+ (BOOL)isStandAlone SWIFT_WARN_UNUSED_RESULT;
-+ (NSString * _Nonnull)getchildNightStrictRemainDesc SWIFT_WARN_UNUSED_RESULT;
-/// 查询能否支付,直接返回支付限制相关回调类型 raw value,特殊情况使用
-/// \param amount 支付金额,单位分
-///
-+ (NSInteger)checkCurrentPayLimit:(NSInteger)amount SWIFT_WARN_UNUSED_RESULT;
-/// 查询能否支付
-/// \param amount 支付金额,单位分
-///
-/// \param status true:可以付费 false:限制消费
-///
-/// \param title 限制消费时提示标题
-///
-/// \param description 限制消费提示国家法规内容
-///
-+ (void)checkPayLimit:(NSInteger)amount callBack:(void (^ _Nullable)(BOOL, NSString * _Nonnull, NSString * _Nonnull))callBack failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
-/// 上报消费结果
-/// \param amount 支付金额,单位分
-///
-+ (void)submitPayResult:(NSInteger)amount :(void (^ _Nullable)(BOOL))callBack :(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
-+ (BOOL)isHoliday SWIFT_WARN_UNUSED_RESULT;
-/// 生成身份证兑换码(有效期从生成起6个小时整以内)
-+ (NSString * _Nonnull)generateIDCode SWIFT_WARN_UNUSED_RESULT;
-+ (void)startTimeStaticWithIsLogin:(BOOL)isLogin;
-+ (void)stopTimeStatic;
-/// 实名认证
-/// \param userToken 用户唯一标识,如用户 ID
-///
-/// \param name 姓名
-///
-/// \param idCard 身份证
-///
-/// \param completion 结果回调
-///
-+ (void)realNameAuthWithClientId:(NSString * _Nonnull)clientId userId:(NSString * _Nonnull)userId code:(NSString * _Nonnull)code name:(NSString * _Nonnull)name idCard:(NSString * _Nonnull)idCard completion:(void (^ _Nonnull)(enum AntiAddictionRealNameAuthState, NSString * _Nonnull, enum AntiAddictionRealNameAgeLimit))completion failureHandler:(void (^ _Nonnull)(NSString * _Nonnull))failureHandler;
-/// 检查实名状态
-/// \param userToken 用户唯一标识,如用户 ID
-///
-/// \param completion 结果回调
-///
-+ (void)checkRealnameStateWithClientId:(NSString * _Nonnull)clientId userId:(NSString * _Nonnull)userId completion:(void (^ _Nonnull)(enum AntiAddictionRealNameAuthState, NSString * _Nonnull, enum AntiAddictionRealNameAgeLimit))completion failureHandler:(void (^ _Nonnull)(NSString * _Nonnull))failureHandler;
-/// 检查TapTap实名状态
-/// \param userToken 用户唯一标识,如用户 ID
-///
-/// \param completion 结果回调
-///
-+ (void)checkTapTapRealnameStateWithClientId:(NSString * _Nonnull)clientId userId:(NSString * _Nonnull)userId code:(NSString * _Nonnull)code completion:(void (^ _Nonnull)(enum AntiAddictionRealNameAuthState, NSString * _Nonnull, enum AntiAddictionRealNameAgeLimit))completion failureHandler:(void (^ _Nonnull)(NSString * _Nonnull))failureHandler;
-+ (NSString * _Nullable)checkPlayTimeResultWithHandler:(void (^ _Nonnull)(NSString * _Nullable))handler SWIFT_WARN_UNUSED_RESULT;
-- (nonnull instancetype)init SWIFT_UNAVAILABLE;
-+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
-@end
-
-
-
-SWIFT_PROTOCOL("_TtP20AntiAddictionService28AntiAddictionServiceCallback_")
-@protocol AntiAddictionServiceCallback
-/// 回调
-/// \param code 回调code
-///
-/// \param extra 回调信息
-///
-- (void)onCallbackWithCode:(NSInteger)code extra:(NSString * _Nullable)extra;
-@end
-
-typedef SWIFT_ENUM(NSInteger, AntiAddictionServiceResult, open) {
- AntiAddictionServiceResultLoginSuccess = 500,
- AntiAddictionServiceResultLogout = 1000,
- AntiAddictionServiceResultSwitchAccount = 1001,
- AntiAddictionServiceResultTimeLimit = 1030,
- AntiAddictionServiceResultOpenAlertTip = 1095,
- AntiAddictionServiceResultPayLimitNone = 1020,
- AntiAddictionServiceResultPayLimitReachLimit = 1025,
-};
-
-#if __has_attribute(external_source_symbol)
-# pragma clang attribute pop
-#endif
-#pragma clang diagnostic pop
-#endif
-
-#elif defined(__x86_64__) && __x86_64__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-#ifndef ANTIADDICTIONSERVICE_SWIFT_H
-#define ANTIADDICTIONSERVICE_SWIFT_H
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgcc-compat"
-
-#if !defined(__has_include)
-# define __has_include(x) 0
-#endif
-#if !defined(__has_attribute)
-# define __has_attribute(x) 0
-#endif
-#if !defined(__has_feature)
-# define __has_feature(x) 0
-#endif
-#if !defined(__has_warning)
-# define __has_warning(x) 0
-#endif
-
-#if __has_include()
-# include
-#endif
-
-#pragma clang diagnostic ignored "-Wauto-import"
-#include
-#include
-#include
-#include
-
-#if !defined(SWIFT_TYPEDEFS)
-# define SWIFT_TYPEDEFS 1
-# if __has_include()
-# include
-# elif !defined(__cplusplus)
-typedef uint_least16_t char16_t;
-typedef uint_least32_t char32_t;
-# endif
-typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
-typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
-typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
-typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
-typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
-typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
-typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
-typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
-typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
-typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
-typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
-typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
-#endif
-
-#if !defined(SWIFT_PASTE)
-# define SWIFT_PASTE_HELPER(x, y) x##y
-# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
-#endif
-#if !defined(SWIFT_METATYPE)
-# define SWIFT_METATYPE(X) Class
-#endif
-#if !defined(SWIFT_CLASS_PROPERTY)
-# if __has_feature(objc_class_property)
-# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
-# else
-# define SWIFT_CLASS_PROPERTY(...)
-# endif
-#endif
-
-#if __has_attribute(objc_runtime_name)
-# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
-#else
-# define SWIFT_RUNTIME_NAME(X)
-#endif
-#if __has_attribute(swift_name)
-# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
-#else
-# define SWIFT_COMPILE_NAME(X)
-#endif
-#if __has_attribute(objc_method_family)
-# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
-#else
-# define SWIFT_METHOD_FAMILY(X)
-#endif
-#if __has_attribute(noescape)
-# define SWIFT_NOESCAPE __attribute__((noescape))
-#else
-# define SWIFT_NOESCAPE
-#endif
-#if __has_attribute(ns_consumed)
-# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
-#else
-# define SWIFT_RELEASES_ARGUMENT
-#endif
-#if __has_attribute(warn_unused_result)
-# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
-#else
-# define SWIFT_WARN_UNUSED_RESULT
-#endif
-#if __has_attribute(noreturn)
-# define SWIFT_NORETURN __attribute__((noreturn))
-#else
-# define SWIFT_NORETURN
-#endif
-#if !defined(SWIFT_CLASS_EXTRA)
-# define SWIFT_CLASS_EXTRA
-#endif
-#if !defined(SWIFT_PROTOCOL_EXTRA)
-# define SWIFT_PROTOCOL_EXTRA
-#endif
-#if !defined(SWIFT_ENUM_EXTRA)
-# define SWIFT_ENUM_EXTRA
-#endif
-#if !defined(SWIFT_CLASS)
-# if __has_attribute(objc_subclassing_restricted)
-# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
-# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
# else
-# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
-# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_EXTERN extern
# endif
#endif
-#if !defined(SWIFT_RESILIENT_CLASS)
-# if __has_attribute(objc_class_stub)
-# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
-# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
-# else
-# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
-# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
-# endif
-#endif
-
-#if !defined(SWIFT_PROTOCOL)
-# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
-# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
-#endif
-
-#if !defined(SWIFT_EXTENSION)
-# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
-#endif
-
-#if !defined(OBJC_DESIGNATED_INITIALIZER)
-# if __has_attribute(objc_designated_initializer)
-# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
-# else
-# define OBJC_DESIGNATED_INITIALIZER
-# endif
-#endif
-#if !defined(SWIFT_ENUM_ATTR)
-# if defined(__has_attribute) && __has_attribute(enum_extensibility)
-# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
-# else
-# define SWIFT_ENUM_ATTR(_extensibility)
-# endif
-#endif
-#if !defined(SWIFT_ENUM)
-# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
-# if __has_feature(generalized_swift_name)
-# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
-# else
-# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
-# endif
-#endif
-#if !defined(SWIFT_UNAVAILABLE)
-# define SWIFT_UNAVAILABLE __attribute__((unavailable))
-#endif
-#if !defined(SWIFT_UNAVAILABLE_MSG)
-# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
-#endif
-#if !defined(SWIFT_AVAILABILITY)
-# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
-#endif
-#if !defined(SWIFT_WEAK_IMPORT)
-# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
-#endif
-#if !defined(SWIFT_DEPRECATED)
-# define SWIFT_DEPRECATED __attribute__((deprecated))
-#endif
-#if !defined(SWIFT_DEPRECATED_MSG)
-# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
-#endif
-#if __has_feature(attribute_diagnose_if_objc)
-# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
-#else
-# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
-#endif
-#if !defined(IBSegueAction)
-# define IBSegueAction
-#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -626,7 +217,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif
-@class NSNumber;
@class NSString;
SWIFT_CLASS("_TtC20AntiAddictionService26AntiAddictionConfiguration")
@@ -724,7 +314,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AntiAddictionConfigura
/// \param gameIdentifier 游戏唯一标识符
///
+ (void)init:(id _Nonnull)delegate gameIdentifier:(NSString * _Nullable)gameIdentifier SWIFT_METHOD_FAMILY(none);
-+ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull, NSString * _Nonnull, NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
++ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
/// 登录用户
/// \param userToken 用户唯一标识符,
///
@@ -833,7 +423,7 @@ typedef SWIFT_ENUM(NSInteger, AntiAddictionServiceResult, open) {
#endif
#elif defined(__i386__) && __i386__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONSERVICE_SWIFT_H
#define ANTIADDICTIONSERVICE_SWIFT_H
#pragma clang diagnostic push
@@ -1019,6 +609,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -1042,7 +639,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif
-@class NSNumber;
@class NSString;
SWIFT_CLASS("_TtC20AntiAddictionService26AntiAddictionConfiguration")
@@ -1140,7 +736,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AntiAddictionConfigura
/// \param gameIdentifier 游戏唯一标识符
///
+ (void)init:(id _Nonnull)delegate gameIdentifier:(NSString * _Nullable)gameIdentifier SWIFT_METHOD_FAMILY(none);
-+ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull, NSString * _Nonnull, NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
++ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
/// 登录用户
/// \param userToken 用户唯一标识符,
///
@@ -1252,7 +848,7 @@ typedef SWIFT_ENUM(NSInteger, AntiAddictionServiceResult, open) {
#else
#if 0
#elif defined(__arm64__) && __arm64__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONSERVICE_SWIFT_H
#define ANTIADDICTIONSERVICE_SWIFT_H
#pragma clang diagnostic push
@@ -1438,6 +1034,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -1461,7 +1064,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif
-@class NSNumber;
@class NSString;
SWIFT_CLASS("_TtC20AntiAddictionService26AntiAddictionConfiguration")
@@ -1559,7 +1161,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AntiAddictionConfigura
/// \param gameIdentifier 游戏唯一标识符
///
+ (void)init:(id _Nonnull)delegate gameIdentifier:(NSString * _Nullable)gameIdentifier SWIFT_METHOD_FAMILY(none);
-+ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull, NSString * _Nonnull, NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
++ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
/// 登录用户
/// \param userToken 用户唯一标识符,
///
@@ -1668,7 +1270,7 @@ typedef SWIFT_ENUM(NSInteger, AntiAddictionServiceResult, open) {
#endif
#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONSERVICE_SWIFT_H
#define ANTIADDICTIONSERVICE_SWIFT_H
#pragma clang diagnostic push
@@ -1854,6 +1456,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -1877,7 +1486,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif
-@class NSNumber;
@class NSString;
SWIFT_CLASS("_TtC20AntiAddictionService26AntiAddictionConfiguration")
@@ -1975,7 +1583,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AntiAddictionConfigura
/// \param gameIdentifier 游戏唯一标识符
///
+ (void)init:(id _Nonnull)delegate gameIdentifier:(NSString * _Nullable)gameIdentifier SWIFT_METHOD_FAMILY(none);
-+ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull, NSString * _Nonnull, NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
++ (void)tapTokenLoginWithKid:(NSString * _Nonnull)kid mackey:(NSString * _Nonnull)mackey clientID:(NSString * _Nonnull)clientID successHandler:(void (^ _Nullable)(NSString * _Nonnull))successHandler failureHandler:(void (^ _Nullable)(NSString * _Nonnull))failureHandler;
/// 登录用户
/// \param userToken 用户唯一标识符,
///
diff --git a/Plugins/iOS/AntiAddictionService.framework/Info.plist b/Plugins/iOS/AntiAddictionService.framework/Info.plist
index 33f7b8a..1048ddd 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Info.plist and b/Plugins/iOS/AntiAddictionService.framework/Info.plist differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo
deleted file mode 100644
index d3754c4..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo
deleted file mode 100644
index f44a6c0..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
index bfab0cf..10bb4c2 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo
deleted file mode 100644
index f44a6c0..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo.meta
deleted file mode 100644
index 935f08e..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fd1853a8fedc3464da73e8954ef586e3
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo
index d3754c4..e78447d 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo
deleted file mode 100644
index d3754c4..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo.meta
deleted file mode 100644
index 12d9026..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/armv7.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 7f9ab046b03b647cfa41290e32cebd28
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo
index 00089a8..e943df7 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo
deleted file mode 100644
index 00089a8..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo.meta
deleted file mode 100644
index a7dacce..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/i386.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9cab25029f16d4611836c3822b5ab372
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
index 5bf5eb6..70e1215 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo
deleted file mode 100644
index 5bf5eb6..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo.meta
deleted file mode 100644
index ee365a9..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/x86_64.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: e9f2e7e41ef8b466f8e7b300d9572d69
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc
deleted file mode 100644
index 3de0b67..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc.meta
deleted file mode 100644
index 9e6e12d..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 2062425a490e9425eae5ad32dc5144c7
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface
deleted file mode 100644
index 267b299..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface.meta
deleted file mode 100644
index d9ca7bf..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 66a6f9b4c4cf64484a15d639df21c107
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule
deleted file mode 100644
index 44cdeb1..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule.meta
deleted file mode 100644
index 4f54a8a..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 3dde810a4128e45f1b87860a31ee3a35
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc
deleted file mode 100644
index b92f5ef..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc.meta
deleted file mode 100644
index 6f24f87..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 7dbfb96ebf22f45b18c7d96ee051d297
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface
deleted file mode 100644
index 3beee66..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface.meta
deleted file mode 100644
index 4032721..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: f7ba1c59dd8e643d09281670e71ab3e3
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule
deleted file mode 100644
index b5bc25d..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule.meta
deleted file mode 100644
index 8372dd8..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios-simulator.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 004ce95e865724ea9a9ea5709978579d
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftdoc
index 8c825e7..35729b3 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftdoc and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftinterface
index 1e4cee2..5976706 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftinterface
+++ b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftinterface
@@ -1,15 +1,18 @@
// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
import AntiAddictionAsyncHttp
@_exported import AntiAddictionService
import CommonCrypto
import CoreTelephony
import Foundation
+import ObjectiveC
import Swift
import SystemConfiguration
+import TapCommonSDK
import UIKit
-extension Collection {
+import _Concurrency
+extension Swift.Collection {
public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
get
}
@@ -60,9 +63,9 @@ extension Collection {
@objc final public class func enableLog(enable: Swift.Bool)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
+ @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((_ suceess: Swift.Bool) -> Swift.Void)? = nil)
@objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((_ code: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
@objc final public class func enterGame()
@objc final public class func leaveGame()
@@ -74,16 +77,16 @@ extension Collection {
@objc final public class func isStandAlone() -> Swift.Bool
@objc final public class func getchildNightStrictRemainDesc() -> Swift.String
@objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((_ status: Swift.Bool, _ title: Swift.String, _ description: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((_ success: Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func isHoliday() -> Swift.Bool
@objc final public class func generateIDCode() -> Swift.String
@objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
@objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
+ @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkPlayTimeResult(handler: @escaping (_ result: Swift.String?) -> Swift.Void) -> Swift.String?
@objc deinit
}
public struct HashidsOptions {
@@ -186,20 +189,20 @@ public class SwiftTimer {
public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
}
-extension SwiftTimer {
+extension AntiAddictionService.SwiftTimer {
public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func cancelThrottlingTimer(identifier: Swift.String)
}
public class SwiftCountDownTimer {
final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
+ public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, _ costTimes: Swift.Int, _ leftTimes: Swift.Int) -> Swift.Void)
public func start()
public func suspend()
public func reCountDown()
@objc deinit
}
-extension DispatchTimeInterval {
+extension Dispatch.DispatchTimeInterval {
public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
}
public enum ReachabilityError : Swift.Error {
@@ -211,7 +214,7 @@ public enum ReachabilityError : Swift.Error {
}
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
+extension Foundation.NSNotification.Name {
public static let reachabilityChanged: Foundation.Notification.Name
}
public class Reachability {
@@ -264,7 +267,7 @@ public class Reachability {
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
@objc deinit
}
-extension Reachability {
+extension AntiAddictionService.Reachability {
public func startNotifier() throws
public func stopNotifier()
@available(*, deprecated, message: "Please use `connection != .none`")
@@ -300,7 +303,7 @@ final public class Defaults {
final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
@objc deinit
}
-extension Defaults {
+extension AntiAddictionService.Defaults {
final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftmodule
index cfd6855..de36066 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftmodule and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64-apple-ios.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc
deleted file mode 100644
index b92f5ef..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc.meta
deleted file mode 100644
index b11ab77..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: a1ee7f9c2db1948cfb465709278a2271
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface
deleted file mode 100644
index 3beee66..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface.meta
deleted file mode 100644
index 1f53820..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: f4b261a48354f48048ad2613eaa7d18e
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule
deleted file mode 100644
index b5bc25d..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule.meta
deleted file mode 100644
index 61d395b..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/arm64.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 1e8def8188dff4910931967d3a207a1a
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftdoc
index 3de0b67..0fe6974 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftdoc and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftinterface
index 267b299..99e941c 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftinterface
+++ b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftinterface
@@ -1,15 +1,18 @@
// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
import AntiAddictionAsyncHttp
@_exported import AntiAddictionService
import CommonCrypto
import CoreTelephony
import Foundation
+import ObjectiveC
import Swift
import SystemConfiguration
+import TapCommonSDK
import UIKit
-extension Collection {
+import _Concurrency
+extension Swift.Collection {
public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
get
}
@@ -60,9 +63,9 @@ extension Collection {
@objc final public class func enableLog(enable: Swift.Bool)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
+ @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((_ suceess: Swift.Bool) -> Swift.Void)? = nil)
@objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((_ code: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
@objc final public class func enterGame()
@objc final public class func leaveGame()
@@ -74,16 +77,16 @@ extension Collection {
@objc final public class func isStandAlone() -> Swift.Bool
@objc final public class func getchildNightStrictRemainDesc() -> Swift.String
@objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((_ status: Swift.Bool, _ title: Swift.String, _ description: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((_ success: Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func isHoliday() -> Swift.Bool
@objc final public class func generateIDCode() -> Swift.String
@objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
@objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
+ @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkPlayTimeResult(handler: @escaping (_ result: Swift.String?) -> Swift.Void) -> Swift.String?
@objc deinit
}
public struct HashidsOptions {
@@ -186,20 +189,20 @@ public class SwiftTimer {
public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
}
-extension SwiftTimer {
+extension AntiAddictionService.SwiftTimer {
public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func cancelThrottlingTimer(identifier: Swift.String)
}
public class SwiftCountDownTimer {
final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
+ public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, _ costTimes: Swift.Int, _ leftTimes: Swift.Int) -> Swift.Void)
public func start()
public func suspend()
public func reCountDown()
@objc deinit
}
-extension DispatchTimeInterval {
+extension Dispatch.DispatchTimeInterval {
public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
}
public enum ReachabilityError : Swift.Error {
@@ -211,7 +214,7 @@ public enum ReachabilityError : Swift.Error {
}
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
+extension Foundation.NSNotification.Name {
public static let reachabilityChanged: Foundation.Notification.Name
}
public class Reachability {
@@ -264,7 +267,7 @@ public class Reachability {
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
@objc deinit
}
-extension Reachability {
+extension AntiAddictionService.Reachability {
public func startNotifier() throws
public func stopNotifier()
@available(*, deprecated, message: "Please use `connection != .none`")
@@ -300,7 +303,7 @@ final public class Defaults {
final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
@objc deinit
}
-extension Defaults {
+extension AntiAddictionService.Defaults {
final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftmodule
index 44cdeb1..c65a98e 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftmodule and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7-apple-ios.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc
deleted file mode 100644
index 3de0b67..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc.meta
deleted file mode 100644
index f2be4c6..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: dcfc77d9c22824e80854ff296263ec1e
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface
deleted file mode 100644
index 267b299..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface.meta
deleted file mode 100644
index 3d01799..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 0c26c38759d9344cea64acbd9b8d0ad3
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule
deleted file mode 100644
index 44cdeb1..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule.meta
deleted file mode 100644
index bd62331..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/armv7.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: d384299a10b2e4d51893421c30a0339c
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftdoc
index 6d6536c..b17b1f7 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftdoc and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftinterface
index 5685712..7a3eee6 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftinterface
+++ b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftinterface
@@ -1,15 +1,18 @@
// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
import AntiAddictionAsyncHttp
@_exported import AntiAddictionService
import CommonCrypto
import CoreTelephony
import Foundation
+import ObjectiveC
import Swift
import SystemConfiguration
+import TapCommonSDK
import UIKit
-extension Collection {
+import _Concurrency
+extension Swift.Collection {
public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
get
}
@@ -60,9 +63,9 @@ extension Collection {
@objc final public class func enableLog(enable: Swift.Bool)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
+ @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((_ suceess: Swift.Bool) -> Swift.Void)? = nil)
@objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((_ code: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
@objc final public class func enterGame()
@objc final public class func leaveGame()
@@ -74,16 +77,16 @@ extension Collection {
@objc final public class func isStandAlone() -> Swift.Bool
@objc final public class func getchildNightStrictRemainDesc() -> Swift.String
@objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((_ status: Swift.Bool, _ title: Swift.String, _ description: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((_ success: Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func isHoliday() -> Swift.Bool
@objc final public class func generateIDCode() -> Swift.String
@objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
@objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
+ @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkPlayTimeResult(handler: @escaping (_ result: Swift.String?) -> Swift.Void) -> Swift.String?
@objc deinit
}
public struct HashidsOptions {
@@ -186,20 +189,20 @@ public class SwiftTimer {
public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
}
-extension SwiftTimer {
+extension AntiAddictionService.SwiftTimer {
public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func cancelThrottlingTimer(identifier: Swift.String)
}
public class SwiftCountDownTimer {
final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
+ public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, _ costTimes: Swift.Int, _ leftTimes: Swift.Int) -> Swift.Void)
public func start()
public func suspend()
public func reCountDown()
@objc deinit
}
-extension DispatchTimeInterval {
+extension Dispatch.DispatchTimeInterval {
public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
}
public enum ReachabilityError : Swift.Error {
@@ -211,7 +214,7 @@ public enum ReachabilityError : Swift.Error {
}
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
+extension Foundation.NSNotification.Name {
public static let reachabilityChanged: Foundation.Notification.Name
}
public class Reachability {
@@ -264,7 +267,7 @@ public class Reachability {
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
@objc deinit
}
-extension Reachability {
+extension AntiAddictionService.Reachability {
public func startNotifier() throws
public func stopNotifier()
@available(*, deprecated, message: "Please use `connection != .none`")
@@ -300,7 +303,7 @@ final public class Defaults {
final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
@objc deinit
}
-extension Defaults {
+extension AntiAddictionService.Defaults {
final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftmodule
index 3b6d0ec..08b464d 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftmodule and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386-apple-ios-simulator.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc
deleted file mode 100644
index 6d6536c..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc.meta
deleted file mode 100644
index 36a8bf6..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 93e813c4fcec14690b96712c3e39943c
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface
deleted file mode 100644
index 5685712..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface.meta
deleted file mode 100644
index 9b29ed8..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 31f84fca563574a5abe70eb3714cfe64
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule
deleted file mode 100644
index 3b6d0ec..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule.meta
deleted file mode 100644
index 97842de..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/i386.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 6552013bede09495b9e0ec8bcfb19d52
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
index 8d43768..46ee7a3 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
index f08d964..3c98b2e 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
+++ b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
@@ -1,15 +1,18 @@
// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
import AntiAddictionAsyncHttp
@_exported import AntiAddictionService
import CommonCrypto
import CoreTelephony
import Foundation
+import ObjectiveC
import Swift
import SystemConfiguration
+import TapCommonSDK
import UIKit
-extension Collection {
+import _Concurrency
+extension Swift.Collection {
public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
get
}
@@ -60,9 +63,9 @@ extension Collection {
@objc final public class func enableLog(enable: Swift.Bool)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
@objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
+ @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((_ suceess: Swift.Bool) -> Swift.Void)? = nil)
@objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((_ code: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
@objc final public class func enterGame()
@objc final public class func leaveGame()
@@ -74,16 +77,16 @@ extension Collection {
@objc final public class func isStandAlone() -> Swift.Bool
@objc final public class func getchildNightStrictRemainDesc() -> Swift.String
@objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((_ status: Swift.Bool, _ title: Swift.String, _ description: Swift.String) -> Swift.Void)? = nil, failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
+ @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((_ success: Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc final public class func isHoliday() -> Swift.Bool
@objc final public class func generateIDCode() -> Swift.String
@objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
@objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
+ @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (_ identifyState: AntiAddictionService.AntiAddictionRealNameAuthState, _ antiAddictionToken: Swift.String, _ ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (_ errorMessage: Swift.String) -> ())
+ @objc final public class func checkPlayTimeResult(handler: @escaping (_ result: Swift.String?) -> Swift.Void) -> Swift.String?
@objc deinit
}
public struct HashidsOptions {
@@ -186,20 +189,20 @@ public class SwiftTimer {
public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
}
-extension SwiftTimer {
+extension AntiAddictionService.SwiftTimer {
public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
public static func cancelThrottlingTimer(identifier: Swift.String)
}
public class SwiftCountDownTimer {
final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
+ public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, _ costTimes: Swift.Int, _ leftTimes: Swift.Int) -> Swift.Void)
public func start()
public func suspend()
public func reCountDown()
@objc deinit
}
-extension DispatchTimeInterval {
+extension Dispatch.DispatchTimeInterval {
public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
}
public enum ReachabilityError : Swift.Error {
@@ -211,7 +214,7 @@ public enum ReachabilityError : Swift.Error {
}
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
+extension Foundation.NSNotification.Name {
public static let reachabilityChanged: Foundation.Notification.Name
}
public class Reachability {
@@ -264,7 +267,7 @@ public class Reachability {
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
@objc deinit
}
-extension Reachability {
+extension AntiAddictionService.Reachability {
public func startNotifier() throws
public func stopNotifier()
@available(*, deprecated, message: "Please use `connection != .none`")
@@ -300,7 +303,7 @@ final public class Defaults {
final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
@objc deinit
}
-extension Defaults {
+extension AntiAddictionService.Defaults {
final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
index 8c5022f..741752d 100644
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftmodule and b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc
deleted file mode 100644
index 8d43768..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc.meta
deleted file mode 100644
index 7504be1..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: c55e087745da34a9b807356f627543c3
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface
deleted file mode 100644
index f08d964..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface
+++ /dev/null
@@ -1,325 +0,0 @@
-// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
-// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AntiAddictionService
-import AntiAddictionAsyncHttp
-@_exported import AntiAddictionService
-import CommonCrypto
-import CoreTelephony
-import Foundation
-import Swift
-import SystemConfiguration
-import UIKit
-extension Collection {
- public subscript(safe index: Self.Index) -> Self.Iterator.Element? {
- get
- }
-}
-@objc public enum AntiAddictionServiceResult : Swift.Int {
- case loginSuccess = 500
- case logout = 1000
- case switchAccount = 1001
- case timeLimit = 1030
- case openAlertTip = 1095
- case payLimitNone = 1020
- case payLimitReachLimit = 1025
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAuthState : Swift.Int, Swift.Codable {
- case success = 0
- case verifying = 1
- case fail = 2
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public enum AntiAddictionRealNameAgeLimit : Swift.Int, Swift.Codable {
- case unrealname = -1
- case child = 0
- case teen = 8
- case young = 16
- case adult = 18
- public init?(rawValue: Swift.Int)
- public typealias RawValue = Swift.Int
- public var rawValue: Swift.Int {
- get
- }
-}
-@objc public protocol AntiAddictionServiceCallback : ObjectiveC.NSObjectProtocol {
- @objc func onCallback(code: Swift.Int, extra: Swift.String?)
-}
-@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(AntiAddictionService) final public class AntiAddictionService : ObjectiveC.NSObject {
- @objc public static let LocalTokenString: Swift.String
- @objc public static var configuration: AntiAddictionService.AntiAddictionConfiguration
- @objc final public class func getSDKVersion() -> Swift.String
- @objc final public class func enableLog(enable: Swift.Bool)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true)
- @objc final public class func setFunctionConfig(_ useSdkPaymentLimit: Swift.Bool = true, _ useSdkOnlineTimeLimit: Swift.Bool = true, _ showSwitchAccount: Swift.Bool = true)
- @objc final public class func getConfig(_ clinentId: Swift.String, completionHandler: ((Swift.Bool) -> Swift.Void)? = nil)
- @objc final public class func `init`(_ delegate: AntiAddictionService.AntiAddictionServiceCallback, gameIdentifier: Swift.String? = nil)
- @objc final public class func tapTokenLogin(kid: Swift.String, mackey: Swift.String, clientID: Swift.String, successHandler: ((Swift.String, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func login(userToken: Swift.String, accessToken: Swift.String, ageLimit: AntiAddictionService.AntiAddictionRealNameAgeLimit)
- @objc final public class func enterGame()
- @objc final public class func leaveGame()
- @objc final public class func logout()
- @objc final public class func switchAccount()
- @objc final public class func getCurrentUserAgeLimite() -> Swift.Int
- @objc final public class func currentToken() -> Swift.String
- @objc final public class func currentUserRemainingTime() -> Swift.Int
- @objc final public class func isStandAlone() -> Swift.Bool
- @objc final public class func getchildNightStrictRemainDesc() -> Swift.String
- @objc final public class func checkCurrentPayLimit(_ amount: Swift.Int) -> Swift.Int
- @objc final public class func checkPayLimit(_ amount: Swift.Int, callBack: ((Swift.Bool, Swift.String, Swift.String) -> Swift.Void)? = nil, failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func submitPayResult(_ amount: Swift.Int, _ callBack: ((Swift.Bool) -> Swift.Void)? = nil, _ failureHandler: ((Swift.String) -> Swift.Void)? = nil)
- @objc final public class func isHoliday() -> Swift.Bool
- @objc final public class func generateIDCode() -> Swift.String
- @objc final public class func startTimeStatic(isLogin: Swift.Bool = false)
- @objc final public class func stopTimeStatic()
- @objc final public class func realNameAuth(clientId: Swift.String, userId: Swift.String, code: Swift.String, name: Swift.String, idCard: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkRealnameState(clientId: Swift.String, userId: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkTapTapRealnameState(clientId: Swift.String, userId: Swift.String, code: Swift.String, completion: @escaping (AntiAddictionService.AntiAddictionRealNameAuthState, Swift.String, AntiAddictionService.AntiAddictionRealNameAgeLimit) -> (), failureHandler: @escaping (Swift.String) -> ())
- @objc final public class func checkPlayTimeResult(handler: @escaping (Swift.String?) -> Swift.Void) -> Swift.String?
- @objc deinit
-}
-public struct HashidsOptions {
-}
-public protocol HashidsGenerator {
- associatedtype Char
- func encode(_ value: Swift.Int64...) -> Swift.String?
- func encode(_ values: [Swift.Int64]) -> Swift.String?
- func encode(_ value: Swift.Int...) -> Swift.String?
- func encode(_ values: [Swift.Int]) -> Swift.String?
- func decode(_ value: Swift.String!) -> [Swift.Int]
- func decode(_ value: [Self.Char]) -> [Swift.Int]
- func decode64(_ value: Swift.String) -> [Swift.Int64]
- func decode64(_ value: [Self.Char]) -> [Swift.Int64]
-}
-public typealias Hashids = AntiAddictionService.Hashids_
-open class Hashids_ : AntiAddictionService.HashidsGenerator where T : Swift.UnsignedInteger {
- public typealias Char = T
- public init(salt: Swift.String!, minHashLength: Swift.UInt = 0, alphabet: Swift.String? = nil)
- open func encode(_ value: Swift.Int64...) -> Swift.String?
- open func encode(_ values: [Swift.Int64]) -> Swift.String?
- open func encode(_ value: Swift.Int...) -> Swift.String?
- open func encode(_ values: [Swift.Int]) -> Swift.String?
- open func decode(_ value: Swift.String!) -> [Swift.Int]
- open func decode(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int]
- open func decode64(_ value: Swift.String) -> [Swift.Int64]
- open func decode64(_ value: [AntiAddictionService.Hashids_.Char]) -> [Swift.Int64]
- @objc deinit
-}
-public struct User : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers final public class AntiAddictionConfiguration : ObjectiveC.NSObject {
- @objc final public var enableLog: Swift.Bool
- @objc final public var needUploadUserAction: Swift.Bool
- final public var enableStandAloneAntiaddiction: Swift.Bool?
- @objc final public var isServerError: Swift.Bool
- @objc @discardableResult
- final public func getShouldStandAlone(resultBlock: ((Swift.Bool) -> ())? = nil) -> Swift.Bool
- @objc final public var gameIdentifier: Swift.String?
- @objc final public let bundleId: Swift.String
- @objc final public var useSdkOnlineTimeLimit: Swift.Bool
- @objc final public var useSdkPaymentLimit: Swift.Bool
- @objc final public var showSwitchAccount: Swift.Bool
- @objc final public var minorCommonDayTotalTime: Swift.Int
- @objc final public var minorHolidayTotalTime: Swift.Int
- @objc final public var guestTotalTime: Swift.Int
- @objc final public var firstAlertTipRemainTime: Swift.Int
- @objc final public var countdownAlertTipRemainTime: Swift.Int
- @objc final public var curfewHourStart: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var curfewHourEnd: Swift.Int {
- @objc get
- @objc set
- }
- @objc final public var nightStrictStart: Swift.String
- @objc final public var nightStrictEnd: Swift.String
- @objc final public var singlePaymentAmountLimitJunior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitJunior: Swift.Int
- @objc final public var singlePaymentAmountLimitSenior: Swift.Int
- @objc final public var mouthTotalPaymentAmountLimitSenior: Swift.Int
- @objc final public var holiday: [Swift.String]
- @objc deinit
-}
-public struct PlayTimeCheckResult : Swift.Codable {
- public func encode(to encoder: Swift.Encoder) throws
- public init(from decoder: Swift.Decoder) throws
-}
-public enum TipType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.TipType, b: AntiAddictionService.TipType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public enum AlertType {
- case timeLimitAlert
- case payLimitAlert
- public static func == (a: AntiAddictionService.AlertType, b: AntiAddictionService.AlertType) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
-}
-public class SwiftTimer {
- public var isRunning: Swift.Bool
- final public let repeats: Swift.Bool
- public typealias SwiftTimerHandler = (AntiAddictionService.SwiftTimer) -> Swift.Void
- public init(interval: Dispatch.DispatchTimeInterval, repeats: Swift.Bool = false, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
- public static func repeaticTimer(interval: Dispatch.DispatchTimeInterval, leeway: Dispatch.DispatchTimeInterval = .seconds(0), queue: Dispatch.DispatchQueue = .main, handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler) -> AntiAddictionService.SwiftTimer
- @objc deinit
- public func fire()
- public func start(fireOnceWhenStart: Swift.Bool = false)
- public func suspend()
- public func rescheduleRepeating(interval: Dispatch.DispatchTimeInterval)
- public func rescheduleHandler(handler: @escaping AntiAddictionService.SwiftTimer.SwiftTimerHandler)
-}
-extension SwiftTimer {
- public static func debounce(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func throttle(interval: Dispatch.DispatchTimeInterval, identifier: Swift.String, queue: Dispatch.DispatchQueue = .main, handler: @escaping () -> Swift.Void)
- public static func cancelThrottlingTimer(identifier: Swift.String)
-}
-public class SwiftCountDownTimer {
- final public let originalTimes: Swift.Int
- public init(interval: Dispatch.DispatchTimeInterval, times: Swift.Int, queue: Dispatch.DispatchQueue = .main, handler: @escaping (AntiAddictionService.SwiftCountDownTimer, Swift.Int, Swift.Int) -> Swift.Void)
- public func start()
- public func suspend()
- public func reCountDown()
- @objc deinit
-}
-extension DispatchTimeInterval {
- public static func fromSeconds(_ seconds: Swift.Double) -> Dispatch.DispatchTimeInterval
-}
-public enum ReachabilityError : Swift.Error {
- case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
- case failedToCreateWithHostname(Swift.String, Swift.Int32)
- case unableToSetCallback(Swift.Int32)
- case unableToSetDispatchQueue(Swift.Int32)
- case unableToGetFlags(Swift.Int32)
-}
-@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
-public let ReachabilityChangedNotification: Foundation.NSNotification.Name
-extension NSNotification.Name {
- public static let reachabilityChanged: Foundation.Notification.Name
-}
-public class Reachability {
- public typealias NetworkReachable = (AntiAddictionService.Reachability) -> ()
- public typealias NetworkUnreachable = (AntiAddictionService.Reachability) -> ()
- @available(*, unavailable, renamed: "Connection")
- public enum NetworkStatus : Swift.CustomStringConvertible {
- case notReachable, reachableViaWiFi, reachableViaWWAN
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.NetworkStatus, b: AntiAddictionService.Reachability.NetworkStatus) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public enum Connection : Swift.CustomStringConvertible {
- @available(*, deprecated, renamed: "unavailable")
- case none
- case unavailable, wifi, cellular
- public var description: Swift.String {
- get
- }
- public static func == (a: AntiAddictionService.Reachability.Connection, b: AntiAddictionService.Reachability.Connection) -> Swift.Bool
- public func hash(into hasher: inout Swift.Hasher)
- public var hashValue: Swift.Int {
- get
- }
- }
- public var whenReachable: AntiAddictionService.Reachability.NetworkReachable?
- public var whenUnreachable: AntiAddictionService.Reachability.NetworkUnreachable?
- @available(*, deprecated, renamed: "allowsCellularConnection")
- final public let reachableOnWWAN: Swift.Bool
- public var allowsCellularConnection: Swift.Bool
- public var notificationCenter: Foundation.NotificationCenter
- @available(*, deprecated, renamed: "connection.description")
- public var currentReachabilityString: Swift.String {
- get
- }
- @available(*, unavailable, renamed: "connection")
- public var currentReachabilityStatus: AntiAddictionService.Reachability.Connection {
- get
- }
- public var connection: AntiAddictionService.Reachability.Connection {
- get
- }
- required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
- convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
- @objc deinit
-}
-extension Reachability {
- public func startNotifier() throws
- public func stopNotifier()
- @available(*, deprecated, message: "Please use `connection != .none`")
- public var isReachable: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .cellular`")
- public var isReachableViaWWAN: Swift.Bool {
- get
- }
- @available(*, deprecated, message: "Please use `connection == .wifi`")
- public var isReachableViaWiFi: Swift.Bool {
- get
- }
- public var description: Swift.String {
- get
- }
-}
-@_hasMissingDesignatedInitializers public class DefaultsKey {
- @objc deinit
-}
-@_hasMissingDesignatedInitializers final public class Key : AntiAddictionService.DefaultsKey where ValueType : Swift.Decodable, ValueType : Swift.Encodable {
- public init(_ key: Swift.String)
- @objc deinit
-}
-final public class Defaults {
- public static let shared: AntiAddictionService.Defaults
- public init(userDefaults: Foundation.UserDefaults = UserDefaults.standard)
- final public func clear(_ key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func has(_ key: AntiAddictionService.Key) -> Swift.Bool where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable
- final public func removeAll(bundle: Foundation.Bundle = Bundle.main)
- @objc deinit
-}
-extension Defaults {
- final public func get(for key: AntiAddictionService.Key) -> ValueType? where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
- final public func set(_ value: ValueType, for key: AntiAddictionService.Key) where ValueType : Swift.Decodable, ValueType : Swift.Encodable, ValueType : Swift.RawRepresentable, ValueType.RawValue : Swift.Decodable, ValueType.RawValue : Swift.Encodable
-}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionServiceResult : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAuthState : Swift.RawRepresentable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Equatable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.Hashable {}
-extension AntiAddictionService.AntiAddictionRealNameAgeLimit : Swift.RawRepresentable {}
-extension AntiAddictionService.TipType : Swift.Equatable {}
-extension AntiAddictionService.TipType : Swift.Hashable {}
-extension AntiAddictionService.AlertType : Swift.Equatable {}
-extension AntiAddictionService.AlertType : Swift.Hashable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Equatable {}
-@available(*, unavailable, renamed: "Connection")
-extension AntiAddictionService.Reachability.NetworkStatus : Swift.Hashable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Equatable {}
-extension AntiAddictionService.Reachability.Connection : Swift.Hashable {}
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface.meta
deleted file mode 100644
index a96c9bb..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftinterface.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 856f10ef336c44208975979d23e4bc45
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule
deleted file mode 100644
index 8c5022f..0000000
Binary files a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule.meta b/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule.meta
deleted file mode 100644
index 410d0a4..0000000
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/x86_64.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 36f61737dc02b4857b4da2bb06679669
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/AntiAddictionUI b/Plugins/iOS/AntiAddictionUI.framework/AntiAddictionUI
index 270b7ed..31909ac 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/AntiAddictionUI and b/Plugins/iOS/AntiAddictionUI.framework/AntiAddictionUI differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Headers/AntiAddictionUI-Swift.h b/Plugins/iOS/AntiAddictionUI.framework/Headers/AntiAddictionUI-Swift.h
index c830e4a..0fff9f7 100644
--- a/Plugins/iOS/AntiAddictionUI.framework/Headers/AntiAddictionUI-Swift.h
+++ b/Plugins/iOS/AntiAddictionUI.framework/Headers/AntiAddictionUI-Swift.h
@@ -1,7 +1,7 @@
#if TARGET_OS_SIMULATOR
#if 0
#elif defined(__x86_64__) && __x86_64__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONUI_SWIFT_H
#define ANTIADDICTIONUI_SWIFT_H
#pragma clang diagnostic push
@@ -187,6 +187,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -215,7 +222,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#elif defined(__i386__) && __i386__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONUI_SWIFT_H
#define ANTIADDICTIONUI_SWIFT_H
#pragma clang diagnostic push
@@ -401,6 +408,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -432,7 +446,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
#if 0
#elif defined(__arm64__) && __arm64__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONUI_SWIFT_H
#define ANTIADDICTIONUI_SWIFT_H
#pragma clang diagnostic push
@@ -618,6 +632,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
@@ -646,7 +667,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
-// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
+// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef ANTIADDICTIONUI_SWIFT_H
#define ANTIADDICTIONUI_SWIFT_H
#pragma clang diagnostic push
@@ -832,6 +853,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Info.plist b/Plugins/iOS/AntiAddictionUI.framework/Info.plist
index 243dbb4..d85d69e 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Info.plist and b/Plugins/iOS/AntiAddictionUI.framework/Info.plist differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo
deleted file mode 100644
index eec93b4..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo.meta
deleted file mode 100644
index 016e3a5..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 2f004f824952e4fb4bf7418187f6e577
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
index b6dfa25..920e75a 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo
deleted file mode 100644
index b6dfa25..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo.meta
deleted file mode 100644
index ac07a69..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/arm64.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: baae5464493b44a4dbd08904e200450a
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo
index eec93b4..3a64aa2 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo
deleted file mode 100644
index eec93b4..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo.meta
deleted file mode 100644
index e1c686a..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/armv7.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 7a210b36ddd434346b8a9a95b5e003a7
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo
index 6496812..cab459a 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo
deleted file mode 100644
index 6496812..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo.meta
deleted file mode 100644
index 4f101cd..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/i386.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9880c4be5633245578716705cab5f59e
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
index 53ccc6d..dba80a6 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo
deleted file mode 100644
index 53ccc6d..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo.meta
deleted file mode 100644
index d3e7feb..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/Project/x86_64.swiftsourceinfo.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 67996d861328241c39f68186a33db377
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc
deleted file mode 100644
index bac9ba1..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc.meta
deleted file mode 100644
index e6d1014..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 256bf05a829bf4047bb891bb3987f4d7
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule
deleted file mode 100644
index c478303..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule.meta
deleted file mode 100644
index 97b13c2..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: ef63ff46270c644d99d70dbc3d2dc4a5
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftdoc
index e0c1dce..be7ccc9 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftdoc and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftmodule
index 0548dd3..1bccac5 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftmodule and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64-apple-ios.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc
deleted file mode 100644
index e0c1dce..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc.meta
deleted file mode 100644
index a0f6cc9..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 7f9f4f60414554e3c966aa34ae315356
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule
deleted file mode 100644
index 0548dd3..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule.meta
deleted file mode 100644
index 717709e..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/arm64.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 114c19c0e8a77471ab4cc1184b9e66d9
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftdoc
index bac9ba1..ea1da1d 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftdoc and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftmodule
index c478303..9afbb12 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftmodule and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7-apple-ios.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc
deleted file mode 100644
index bac9ba1..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc.meta
deleted file mode 100644
index 5368871..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5735689556d994f32a83c8371d7c71d7
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule
deleted file mode 100644
index c478303..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule.meta
deleted file mode 100644
index 1bf8708..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 4800ec7256ac64f66a88cf964097296e
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftdoc
index c3bab69..dd8a5bd 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftdoc and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftmodule
index 363b782..2be5c3b 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftmodule and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386-apple-ios-simulator.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc
deleted file mode 100644
index c3bab69..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc.meta
deleted file mode 100644
index a745de3..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 243f5b1b94dde46a3afa20b457f34208
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule
deleted file mode 100644
index 363b782..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule.meta
deleted file mode 100644
index e7e32c2..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/i386.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 999853e5788224d62bf386ef4db641cd
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
index b6d99b9..e5a12e8 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
index fd43709..df9cbac 100644
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule and b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc
deleted file mode 100644
index b6d99b9..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc.meta
deleted file mode 100644
index 3daf1da..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftdoc.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 4bc3a2c22cfd04ab7a7ff39f9e8a04b4
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule
deleted file mode 100644
index fd43709..0000000
Binary files a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule and /dev/null differ
diff --git a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule.meta b/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule.meta
deleted file mode 100644
index 5b91b17..0000000
--- a/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: a6dfcdf1136ab4cb89be77c9dddaa0d4
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Plugins/iOS/Editor/AntiAddiction.Editor.asmdef.meta b/Plugins/iOS/Editor/AntiAddiction.Editor.asmdef.meta
index 60fbe3b..9687300 100644
--- a/Plugins/iOS/Editor/AntiAddiction.Editor.asmdef.meta
+++ b/Plugins/iOS/Editor/AntiAddiction.Editor.asmdef.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 92a8d9cff18854df894ddee34d5870f1
+guid: 6f4ce56f361b04719a8d5146af5df8e5
AssemblyDefinitionImporter:
externalObjects: {}
userData:
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo.meta b/Plugins/iOS/Resource.meta
similarity index 67%
rename from Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo.meta
rename to Plugins/iOS/Resource.meta
index a31a756..89c949e 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo.meta
+++ b/Plugins/iOS/Resource.meta
@@ -1,5 +1,6 @@
fileFormatVersion: 2
-guid: a5e7587af6cf84e42b77331d76f7250e
+guid: 3b8feebc38bd64a909cdfd9b63ae9b6d
+folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Plugins/iOS/Resource/TDS-Info.plist b/Plugins/iOS/Resource/TDS-Info.plist
new file mode 100644
index 0000000..fe77066
--- /dev/null
+++ b/Plugins/iOS/Resource/TDS-Info.plist
@@ -0,0 +1,23 @@
+
+
+
+ taptap
+
+ client_id
+ uZ8Yy6cSXVOR6AMRPj
+
+
+ NSPhotoLibraryUsageDescription
+ App需要您的同意,才能访问相册
+ NSCameraUsageDescription
+ App需要您的同意,才能访问相机
+ NSMicrophoneUsageDescription
+ App需要您的同意,才能访问麦克风
+ NSUserTrackingUsageDescription
+ App需要追踪你的信息
+
+ isRND
+
+
+
+
diff --git a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo.meta b/Plugins/iOS/Resource/TDS-Info.plist.meta
similarity index 74%
rename from Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo.meta
rename to Plugins/iOS/Resource/TDS-Info.plist.meta
index b66cf89..5620259 100644
--- a/Plugins/iOS/AntiAddictionService.framework/Modules/AntiAddictionService.swiftmodule/Project/arm.swiftsourceinfo.meta
+++ b/Plugins/iOS/Resource/TDS-Info.plist.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c869110df889b49b49c0a94d03c25983
+guid: a2ca00fa561b049778b72a8e8a47de8e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/package.json b/package.json
index 9b40a31..c43a787 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "com.tapsdk.antiaddiction",
"displayName": "AntiAddiction",
"description": "AntiAddiction Service",
- "version": "1.2.0",
- "unity": "2018.3",
+ "version": "3.7.1",
+ "unity": "2019.4",
"license": "MIT"
}
diff --git a/package.json.meta b/package.json.meta
index 6f96979..5657b68 100644
--- a/package.json.meta
+++ b/package.json.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1197036f1a8f342c5a1e94fb35387114
+guid: e81cbf0b29c9940f391c1324ba667ba7
TextScriptImporter:
externalObjects: {}
userData: