GP003Status.cs 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using System;
  2. using UnityEngine;
  3. using wf.Serialization;
  4. namespace PlayerStatus
  5. {
  6. public class GP003Status : AJsonSerializationVersionControl
  7. {
  8. public override int FixVersion
  9. {
  10. get
  11. {
  12. return 1000;
  13. }
  14. }
  15. public int mind
  16. {
  17. get
  18. {
  19. return this.mind_;
  20. }
  21. set
  22. {
  23. this.mind_ = Mathf.Clamp(value, 0, 9999);
  24. }
  25. }
  26. public int academic
  27. {
  28. get
  29. {
  30. return this.academic_;
  31. }
  32. set
  33. {
  34. this.academic_ = Mathf.Clamp(value, 0, 9999);
  35. }
  36. }
  37. public int physical
  38. {
  39. get
  40. {
  41. return this.physical;
  42. }
  43. set
  44. {
  45. this.physical = Mathf.Clamp(value, 0, 9999);
  46. }
  47. }
  48. public int libido
  49. {
  50. get
  51. {
  52. return this.libido;
  53. }
  54. set
  55. {
  56. this.libido = Mathf.Clamp(value, 0, 300);
  57. }
  58. }
  59. [SerializeField]
  60. private int mind_;
  61. [SerializeField]
  62. private int academic_;
  63. [SerializeField]
  64. private int physical_;
  65. [SerializeField]
  66. private int libido_;
  67. }
  68. }