OnaholeOnedari.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class OnaholeOnedari : MonoBehaviour
  5. {
  6. private OnaholeCharaManager owner;
  7. private OnaholeOnedari.MODE mode;
  8. public bool onedariPermit;
  9. public bool specialSkillPermit;
  10. private int risei = 100;
  11. private const int riseiMax = 100;
  12. private const int riseiDamage = 35;
  13. private float triggerTime = 1f;
  14. private float triggetResetTime = 2f;
  15. private const float triggerTimeMax = 1f;
  16. private const float triggerResetTimeMax = 2f;
  17. private float decidionTime;
  18. private float requestDpethSpeedHold;
  19. private List<OnaholeOnedari.Data> dataList = new List<OnaholeOnedari.Data>();
  20. private OnaholeOnedari.Data nowPlayData;
  21. private float depthSpeedCheckInterval;
  22. private List<float> pistonSpeedList = new List<float>();
  23. private List<float> insertDepthList = new List<float>();
  24. private string debugString = string.Empty;
  25. public enum ONEDARI
  26. {
  27. タッチ,
  28. 射精,
  29. 深度速度,
  30. MAX,
  31. NON
  32. }
  33. public enum MODE
  34. {
  35. WAIT,
  36. DECIDION,
  37. END
  38. }
  39. private enum DECIDION
  40. {
  41. 達成,
  42. 無関係行動,
  43. 不達成,
  44. 判定継続
  45. }
  46. private enum DEPTHSPEED_COND
  47. {
  48. 要求と一致,
  49. 開始状態と一致,
  50. 無関係
  51. }
  52. public class Data
  53. {
  54. public OnaholeOnedari.ONEDARI onedari = OnaholeOnedari.ONEDARI.NON;
  55. public List<string> voice = new List<string>();
  56. public string message = string.Empty;
  57. public string key = "おねだり_";
  58. public OnaholeFeelings.PISTON_SPEED condSpeed = OnaholeFeelings.PISTON_SPEED.NO_DATA;
  59. public OnaholeFeelings.PISTON_DEPTH condDepth = OnaholeFeelings.PISTON_DEPTH.NO_DATA;
  60. public OnaholeMotion.ANIM_TYPE requestFinish;
  61. public MaidTouch.POINT requestTouch;
  62. public OnaholeFeelings.PISTON_DEPTH requestDepth = OnaholeFeelings.PISTON_DEPTH.NO_DATA;
  63. public OnaholeFeelings.PISTON_SPEED requestSpeed = OnaholeFeelings.PISTON_SPEED.NO_DATA;
  64. }
  65. }