26 lines
525 B
Plaintext
26 lines
525 B
Plaintext
|
#import "SdkBridge.h"
|
||
|
#import "SdkHub.h"
|
||
|
|
||
|
char* GetChannelNative() {
|
||
|
return [[SdkHub sharedInstance] GetChannel];
|
||
|
}
|
||
|
|
||
|
void LoginNative(bool isAuto){
|
||
|
[[SdkHub sharedInstance] Login:isAuto];
|
||
|
}
|
||
|
|
||
|
void LogoutNative() {
|
||
|
[[SdkHub sharedInstance] Logout];
|
||
|
}
|
||
|
|
||
|
void SwitchAccountNative() {
|
||
|
[[SdkHub sharedInstance] SwitchAccount];
|
||
|
}
|
||
|
|
||
|
void PaymentNative(char* payString) {
|
||
|
[[SdkHub sharedInstance] Payment:payString];
|
||
|
}
|
||
|
|
||
|
void SubmitRoleNative(char* roleString) {
|
||
|
[[SdkHub sharedInstance] SubmitRole:roleString];
|
||
|
}
|