ISDKBase.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public interface ISDKBase
  5. {
  6. string GetSDKName();
  7. void Init();
  8. bool GetInited();
  9. void SetInited(bool value);
  10. int CheckInit();
  11. void Login();
  12. void Logout();
  13. void Pay(int goodsId, string goodsName, string goodsDesc,
  14. int count, float amount,
  15. string cpOrderId, string extrasParams);
  16. void EnterGame(string serverName, string serverId,
  17. string gameRoleName, long gameRoleId,
  18. int gameRoleBalance, int vipLevel,
  19. int roleLevel, int roleFightPower,
  20. long createRoleTime, int roleGender,
  21. int partyId, string partyName,
  22. int jobId, string jobName);
  23. void CreatRole(string serverName, string serverId,
  24. string gameRoleName, long gameRoleId,
  25. int gameRoleBalance, int vipLevel,
  26. int roleLevel, int roleFightPower,
  27. long createRoleTime, int roleGender,
  28. int partyId, string partyName,
  29. int jobId, string jobName);
  30. void UpdateRoleLevel(int roleLevel);
  31. void SwitchAccount();
  32. void Exit();
  33. }