首次提交

This commit is contained in:
2026-07-13 18:14:23 +08:00
commit 20d09e4ebb
5293 changed files with 621708 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
extern "C" {
#import "Twist.h"
#import "UnityAppController.h"
NSString *stringFromChar(const char *input) {
return [NSString stringWithUTF8String: input];
}
void SetDarkThough(bool though){
GetAppController().can_through =though;
if(though) [GetAppController().twistLib enable];
}
void openWebview(bool though){
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
GetAppController().twistLib = [[Twist alloc] init];
[GetAppController().twistLib i:GetAppController().rootView];
[GetAppController().twistLib set:version];
[GetAppController().twistLib getData];
[GetAppController().twistLib get5ac];
}
}