UserData.cs 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace LoyalSoftSDK
  5. {
  6. public class UserData
  7. {
  8. //用户ID
  9. private string userId;
  10. public string UserId
  11. {
  12. get
  13. {
  14. return userId;
  15. }
  16. }
  17. //用户账号
  18. private string account;
  19. public string Account
  20. {
  21. get
  22. {
  23. return account;
  24. }
  25. }
  26. //用户实名认证情况
  27. private bool authentication;
  28. public bool Authentication
  29. {
  30. get
  31. {
  32. return authentication;
  33. }
  34. set
  35. {
  36. authentication = value;
  37. }
  38. }
  39. public UserData(string _userId, string _account, bool _authentication)
  40. {
  41. this.userId = _userId;
  42. this.account = _account;
  43. this.authentication = _authentication;
  44. }
  45. }
  46. }