UIStartFightRoomComponent.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. using UnityEngine.UI;
  4. namespace ET.Client
  5. {
  6. [ComponentOf(typeof(UI))]
  7. public class UIStartFightRoomPlayerCom
  8. {
  9. public GameObject playerObj;
  10. public Image playerIcon;
  11. public GameObject readyImage;
  12. public Text playName;
  13. public GameObject fightCardNode;
  14. public GameObject disCardsNode;
  15. }
  16. [ComponentOf(typeof(UI))]
  17. public class UIFightCardItemComponent
  18. {
  19. public GameObject node;
  20. public GameObject sourceItem;
  21. }
  22. [ComponentOf(typeof(UI))]
  23. public class UIStartFightRoomComponent : Entity, IAwake, IDestroy
  24. {
  25. public GameObject houseIcon;
  26. public GameObject houseIdTxt;
  27. public GameObject gameNumTxt;
  28. public GameObject curResidueTxt;
  29. public GameObject wifiImage;
  30. public GameObject powerImage;
  31. public Text timeTxt;
  32. public GameObject menuBtn;
  33. public GameObject faceBtn;
  34. public GameObject videoBtn;
  35. public GameObject menuPanel;
  36. public GameObject maskBtn;
  37. public GameObject menuBackBtn;
  38. public GameObject menuQuitBtn;
  39. public GameObject menuSettingBtn;
  40. public GameObject facePanel;
  41. public GameObject fastToggleBtn;
  42. public GameObject faceToggleBtn;
  43. public GameObject listFastGridBg;
  44. public GameObject listFastContent;
  45. public GameObject gridFastItem;
  46. public GameObject listFaceGridBg;
  47. public GameObject listFaceContent;
  48. public GameObject gridFaceItem;
  49. public List<UIStartFightRoomPlayerCom> uIStartFightRoomPlayerComs = new List<UIStartFightRoomPlayerCom>();
  50. public GameObject fightCardItem; //上下
  51. public GameObject fightCardItem1; //左右
  52. public GameObject readyBtn;
  53. public GameObject inviteBtn;
  54. public GameObject faceAndVideoObj;
  55. public GameObject facePanelCloseBtn;
  56. //战斗聊天弹框
  57. public List<GameObject> playChatObjList = new List<GameObject>();
  58. public Image shakeDiceImage;
  59. public Text timeCountTxt;
  60. public Text dongTxt;
  61. public Text nanTxt;
  62. public Text xiTxt;
  63. public Text beiTxt;
  64. //操作
  65. public GameObject operatorObj;
  66. public List<GameObject> operatorObj_btn = new List<GameObject>();
  67. public long RepeatedTimer;
  68. public long startTimer;
  69. public long startTimeCount = 0; //用于开始倒计时,以及每个回合倒计时
  70. public int curCardVal = -1;
  71. public string[] orientationList = new string[4] { "东","南","西","北"};
  72. }
  73. }