QDBiliBiliManager.cs 758 B

123456789101112131415161718192021222324
  1. namespace GFGGame
  2. {
  3. public class QDBiliBiliManager : SingletonBase<QDBiliBiliManager>
  4. {
  5. public void InitSDK()
  6. {
  7. string merchant_id = "1060";
  8. string app_id = "8192";
  9. string server_id = "7360";
  10. string app_key = "3a54f1fbe34940fba256954dc9d66e3e";
  11. string sandboxKey = "";//ios特有
  12. GSCSdkInterface.init(merchant_id, app_id, server_id, app_key, sandboxKey);
  13. //结果通过类GSCCallbackListerner中的回调触发
  14. }
  15. public void Login()
  16. {
  17. ViewManager.Show<ModalStatusView>("登录中...");
  18. GSCSdkInterface.login();
  19. //结果通过类GSCCallbackListerner中的回调触发
  20. }
  21. }
  22. }