using System.Collections.Generic; namespace tysdk { // TYSdkFacade 的登录/链接/ATT 等方法要依赖这些 POCO。 public enum EAccoutType { hwGoogle, hwFacebook, hwGuest, hwVkid, Apple, none } public class LoginInfo { public bool isSuccess; public int userId; public string StrUserId => userId.ToString(); public string msg; public int code; } public class LinkResult { // 0: success, 1: fail, -1 exists public int code; // when success and fail userId is current user // when exists userId is 0 public int userId; // not none when exists public Dictionary bindInfo; } public class ChangeLinkResult { public int code; public int userId; public string msg; } public class LinkCheckInfo { public int code; } public class ATTInfo { public bool isAccepted; } }