UICustom.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. using UnityGameFramework.Runtime;
  6. using GameFramework;
  7. using GameFramework.DataTable;
  8. using GameFramework.Sound;
  9. using GameFramework.Download;
  10. using GameFramework.FileSystem;
  11. using GameFramework.ObjectPool;
  12. using GameFramework.Resource;
  13. using System;
  14. using DG.Tweening;
  15. namespace MetaClient
  16. {
  17. public class UICustom : UGuiForm
  18. {
  19. // Start is called before the first frame update
  20. [Header("初始界面")]
  21. public GameObject toolView;
  22. [Header("基础按钮界面")]
  23. public GameObject baseView;
  24. [Header("保存按钮")]
  25. public GameObject saveBtn;
  26. [Header("捏脸界面")]
  27. public GameObject nieLianView;
  28. [Header("身体界面")]
  29. public GameObject bodyView;
  30. [Header("自定义")]
  31. public GameObject ziDingYiBtn;
  32. [Header("衣服界面")]
  33. public GameObject clothView;
  34. [Header("左边界面")]
  35. public GameObject leftView;
  36. [Header("右边界面")]
  37. public GameObject rightView;
  38. //[Header("点击后生成的按钮列表")]
  39. //public GameObject buttonList;
  40. [Header("白底背景")]
  41. public GameObject whitebg;
  42. [Header("按钮预制体")]
  43. public GameObject buttonItem;
  44. [Header("滑块")]
  45. public Scrollbar scrollbar;
  46. // [Header("顺序")]
  47. private EButtonShunXu eButtonShunXu = EButtonShunXu.None;
  48. [Header("颜色演示预制体")]
  49. public GameObject colItem;
  50. public float tween_leftMax = 0;
  51. public float tween_leftMin = -250;
  52. public float tween_rightMin = 0;
  53. public float tween_rightMax = 223;
  54. private float tween_saveBtnMax = 119;
  55. private float tween_saveBtnMin = -108;
  56. //private float tweenTime = 10;
  57. //private float tweenLeastTime = 0;
  58. public bool isTween = false;
  59. [Header("选择界面分支")]
  60. [SerializeField]
  61. private ECustomStyple eCustomStyple = ECustomStyple.None;
  62. [Header("历史记录用于回退")]
  63. [SerializeField]
  64. private List<string> histroy;
  65. //用来判断是否是例如颜色框 滑块 调色板等额外的弹窗;
  66. private bool histroyextra;
  67. private int part = 0;
  68. //[Header("接受到的数据")]
  69. //[SerializeField]
  70. private IDataTable<DRCustomBody> _bodydata;
  71. protected override void OnOpen(object userData)
  72. {
  73. base.OnOpen(userData);
  74. IDataTable<DRCustomBody> _data = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  75. _bodydata = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  76. }
  77. protected override void OnClose(bool isShutdown, object userData)
  78. {
  79. base.OnClose(isShutdown, userData);
  80. }
  81. public void ClickBotton(ECustomStyple eCustomStyple,int id,bool ziDingYi)
  82. {
  83. if (isTween)
  84. {
  85. return;
  86. }
  87. isTween = true;
  88. leftView.transform.DOLocalMoveX(tween_leftMin, 2f).SetEase(Ease.InOutBack).OnComplete(()=> {
  89. //whitebg.SetActive(bg);
  90. ClickBtnFun(eCustomStyple,id,ziDingYi);
  91. leftView.transform.DOLocalMoveX(0, 2f).SetEase(Ease.InOutBack).OnComplete(() => {
  92. isTween = false;
  93. Debug.Log("222");
  94. });
  95. });
  96. Debug.Log("333");
  97. rightView.transform.DOLocalMoveX(tween_rightMax, 2f).SetEase(Ease.InOutBack).OnComplete(() => {
  98. rightView.transform.DOLocalMoveX(0, 2f).SetEase(Ease.InOutBack).OnComplete(() => {
  99. });
  100. });
  101. }
  102. /// <summary>
  103. /// 设置是否已在缓动
  104. /// </summary>
  105. public void SetTween(bool _bo) {
  106. isTween = _bo;
  107. }
  108. /// <summary>
  109. /// 获取是否缓动
  110. /// </summary>
  111. public bool GetTween()
  112. {
  113. return isTween;
  114. }
  115. public void HistoryAdd(string _str) {
  116. histroy.Add(_str);
  117. }
  118. /// <summary>
  119. /// 滑块改变
  120. /// </summary>
  121. public void ScrollValueChange()
  122. {
  123. Debug.Log(scrollbar.value);
  124. }
  125. public void BackBtnFun()
  126. {
  127. if (histroyextra)
  128. {
  129. BackExtraFun();
  130. histroyextra = false;
  131. return;
  132. }
  133. switch (this.histroy.Count)
  134. {
  135. case 0:
  136. Debug.Log("返回上一层");
  137. break;
  138. case 1:
  139. Debug.Log("返回选择捏脸/身体/服装");
  140. histroy.RemoveAt(histroy.Count - 1);
  141. Back_OneFun();
  142. break;
  143. case 2:
  144. Debug.Log("进入选择界面");
  145. histroy.RemoveAt(histroy.Count - 1);
  146. Back_TwoFun();
  147. break;
  148. default:
  149. Debug.Log("进入自定义或颜色");
  150. histroy.RemoveAt(histroy.Count - 1);
  151. Back_ThreeFun();
  152. break;
  153. }
  154. }
  155. void Back_OneFun() {
  156. ViewSetFalse();
  157. toolView.SetActive(true);
  158. //toolView.SetActive(true);
  159. //bodyView.SetActive(false);
  160. //nieLianView.SetActive(false);
  161. //clothView.SetActive(false);
  162. }
  163. void BackExtraFun()
  164. {
  165. rightView.SetActive(true);
  166. scrollbar.gameObject.SetActive(false);
  167. }
  168. void ViewSetFalse()
  169. {
  170. toolView.SetActive(false);
  171. bodyView.SetActive(false);
  172. nieLianView.SetActive(false);
  173. clothView.SetActive(false);
  174. }
  175. void BackView_Extra(GameObject _obj,bool _bo) {
  176. ViewSetFalse();
  177. _obj.SetActive(_bo);
  178. ViewSetChildTrue(_obj,_bo);
  179. }
  180. void ViewSetChildTrue(GameObject _obj,bool _bo)
  181. {
  182. _obj.transform.GetChild(0).gameObject.SetActive(_bo);
  183. _obj.transform.GetChild(0).gameObject.SetActive(_bo);
  184. _obj.transform.GetChild(2).gameObject.SetActive(!_bo);
  185. }
  186. void Back_TwoFun()
  187. {
  188. int _choose = int.Parse(histroy[1]);
  189. switch ((ECustomStyple)_choose)
  190. {
  191. case ECustomStyple.Body:
  192. BackView_Extra(bodyView, true);
  193. break;
  194. case ECustomStyple.Cloth:
  195. BackView_Extra(clothView, true);
  196. break;
  197. case ECustomStyple.None:
  198. break;
  199. case ECustomStyple.NieLian:
  200. BackView_Extra(nieLianView, true);
  201. break;
  202. }
  203. //toolView.SetActive(true);
  204. //bodyView.SetActive(false);
  205. //nieLianView.SetActive(false);
  206. //clothView.SetActive(false);
  207. }
  208. void Back_ThreeFun()
  209. {
  210. toolView.SetActive(true);
  211. bodyView.SetActive(false);
  212. nieLianView.SetActive(false);
  213. clothView.SetActive(false);
  214. }
  215. /// <summary>
  216. /// 修改滑块
  217. /// </summary>
  218. public void SetValue(int _part,ECustomStyple eCustomStyple)
  219. {
  220. //scrollbar.value = _value;
  221. part = _part;
  222. }
  223. /// <summary>
  224. /// 获得滑块值
  225. /// </summary>
  226. public float GetValue()
  227. {
  228. return scrollbar.value;
  229. }
  230. /// <summary>
  231. /// 按钮点击事件
  232. /// </summary>
  233. public void ClickBtnFun(ECustomStyple eCustomStyple,int id,bool zidingyi) {
  234. //if (isTween)
  235. //{
  236. // return;
  237. //}
  238. whitebg.SetActive(true);
  239. this.eCustomStyple = eCustomStyple;
  240. //ECustomStyple _eCustomStyple = (ECustomStyple)int.Parse(_objects[0].ToString());
  241. switch (eCustomStyple)
  242. {
  243. case ECustomStyple.None:
  244. break;
  245. case ECustomStyple.NieLian:
  246. GameObject _nieLianList = nieLianView.transform.GetChild(0).gameObject;
  247. _nieLianList.SetActive(false);
  248. GameObject _nieLianXX = nieLianView.transform.GetChild(2).gameObject;
  249. _nieLianXX.SetActive(true);
  250. //if (!zidingyi)
  251. //{
  252. // ZiDingYiNeiLian(eCustomStyple, id, _nieLianXX.transform.GetChild(0).gameObject);
  253. // return;
  254. //}
  255. CreateNieLianImg(id, zidingyi);
  256. break;
  257. case ECustomStyple.Body:
  258. GameObject _bodyList = bodyView.transform.GetChild(0).gameObject;
  259. _bodyList.SetActive(false);
  260. GameObject _bodyListXX =bodyView.transform.GetChild(2).gameObject;
  261. _bodyListXX.SetActive(true);
  262. //if (!zidingyi)
  263. //{
  264. // ZiDingYiBody(eCustomStyple, id, _bodyListXX.transform.GetChild(0).gameObject);
  265. // return;
  266. //}
  267. CreateBodyImg(id, zidingyi);
  268. break;
  269. case ECustomStyple.Cloth:
  270. GameObject _clothList = clothView.transform.GetChild(0).gameObject;
  271. _clothList.SetActive(false);
  272. GameObject _clothListXX = clothView.transform.GetChild(2).gameObject;
  273. _clothListXX.SetActive(true);
  274. //if (!zidingyi)
  275. //{
  276. // ZiDingYiCloth(eCustomStyple, id, _clothListXX.transform.GetChild(0).gameObject);
  277. // return;
  278. //}
  279. CreateClothImg(id, zidingyi);
  280. break;
  281. }
  282. }
  283. //public Action ActionFun() {
  284. // return null;
  285. //}
  286. private void RemoveAllChildren(GameObject parent)
  287. {
  288. Transform transform;
  289. for (int i = 0; i < parent.transform.childCount; i++)
  290. {
  291. transform = parent.transform.GetChild(i);
  292. GameObject.Destroy(transform.gameObject);
  293. }
  294. }
  295. //public void ZiDingYiNeiLian(ECustomStyple eCustomStyple, int id,GameObject _objPar) {
  296. // RemoveAllChildren(bodyView.transform.GetChild(2).GetChild(0).gameObject);
  297. // GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  298. // _obj.transform.SetParent(_objPar.transform);
  299. // UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  300. // _uICustomBtn.id = id;
  301. // _uICustomBtn.eCustomStyple = eCustomStyple;
  302. // _obj.SetActive(true);
  303. //}
  304. //public void ZiDingYiBody(ECustomStyple eCustomStyple, int id, GameObject _objPar)
  305. //{
  306. // RemoveAllChildren(bodyView.transform.GetChild(2).GetChild(0).gameObject);
  307. // GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  308. // _obj.transform.SetParent(_objPar.transform);
  309. // UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  310. // _uICustomBtn.id = id;
  311. // _uICustomBtn.eCustomStyple = eCustomStyple;
  312. // _obj.SetActive(true);
  313. //}
  314. //public void ZiDingYiCloth(ECustomStyple eCustomStyple, int id, GameObject _objPar)
  315. //{
  316. // RemoveAllChildren(bodyView.transform.GetChild(2).GetChild(0).gameObject);
  317. // GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  318. // _obj.transform.SetParent(_objPar.transform);
  319. // UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  320. // _uICustomBtn.id = id;
  321. // _uICustomBtn.eCustomStyple = eCustomStyple;
  322. // _obj.SetActive(true);
  323. //}
  324. public void CreateNieLianImg(int parentid, bool ziDingYi)
  325. {
  326. GameObject _objPar = bodyView.transform.GetChild(2).GetChild(0).gameObject;
  327. RemoveAllChildren(_objPar);
  328. //等有捏脸表时改为捏脸
  329. IDataTable<DRCustomBody> _data = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  330. _bodydata = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  331. int cengji = ziDingYi ?1:0;
  332. if (!ziDingYi)
  333. {
  334. CreateZDYFun(parentid, _objPar);
  335. //GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  336. //_obj.transform.SetParent(_objPar.transform);
  337. //UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  338. //ChangeUICustom(_uICustomBtn, parentid, eCustomStyple);
  339. //_uICustomBtn.id =parentid;
  340. //_uICustomBtn.eCustomStyple = eCustomStyple;
  341. //_obj.SetActive(true);
  342. }
  343. DRCustomBody[] dRCustomBodies = _bodydata.GetAllDataRows();
  344. for (int i = 0; i < dRCustomBodies.Length; i++)
  345. {
  346. Debug.Log(dRCustomBodies[i].Id);
  347. if (dRCustomBodies[i].ParentStyple == parentid&&dRCustomBodies[i].Cengji==cengji)
  348. {
  349. CreateButtonFun(dRCustomBodies[i].Icon, dRCustomBodies[i].Part, dRCustomBodies[i].Name, _objPar, dRCustomBodies[i].Id, dRCustomBodies[i].ButtonStyple, ECustomStyple.Body);
  350. }
  351. }
  352. // ChangeListBotton(_objPar);
  353. }
  354. public void CreateClothImg(int parentid,bool ziDingYi)
  355. {
  356. GameObject _objPar = bodyView.transform.GetChild(2).GetChild(0).gameObject;
  357. RemoveAllChildren(_objPar);
  358. //等有服装时改为服装
  359. IDataTable<DRCustomBody> _data = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  360. _bodydata = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  361. int cengji = ziDingYi ?1:0;
  362. if (!ziDingYi)
  363. {
  364. CreateZDYFun(parentid, _objPar);
  365. //GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  366. //_obj.transform.SetParent(_objPar.transform);
  367. //UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  368. //ChangeUICustom(_uICustomBtn, parentid, eCustomStyple);
  369. //_uICustomBtn.id = parentid;
  370. //_uICustomBtn.eCustomStyple = eCustomStyple;
  371. //_obj.SetActive(true);
  372. }
  373. DRCustomBody[] dRCustomBodies = _bodydata.GetAllDataRows();
  374. for (int i = 0; i < dRCustomBodies.Length; i++)
  375. {
  376. Debug.Log(dRCustomBodies[i].Id);
  377. if (dRCustomBodies[i].ParentStyple == parentid && dRCustomBodies[i].Cengji == cengji)
  378. {
  379. CreateButtonFun(dRCustomBodies[i].Icon, dRCustomBodies[i].Part, dRCustomBodies[i].Name, _objPar, dRCustomBodies[i].Id, dRCustomBodies[i].ButtonStyple, ECustomStyple.Body);
  380. }
  381. }
  382. // ChangeListBotton(_objPar);
  383. }
  384. private void CreateZDYFun(int parentid,GameObject _objPar)
  385. {
  386. GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  387. _obj.transform.SetParent(_objPar.transform);
  388. UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  389. ChangeUICustom(_uICustomBtn, parentid, eCustomStyple);
  390. }
  391. public void ChangeUICustom(UICustomBtn uICustomBtn,int id, ECustomStyple eCustomStyple)
  392. {
  393. uICustomBtn.id = id;
  394. uICustomBtn.eCustomStyple = eCustomStyple;
  395. uICustomBtn.gameObject.SetActive(true);
  396. }
  397. public void CreateBodyImg(int parentid,bool ziDingYi) {
  398. GameObject _objPar = bodyView.transform.GetChild(2).GetChild(0).gameObject;
  399. RemoveAllChildren(_objPar);
  400. IDataTable<DRCustomBody> _data = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  401. _bodydata = GameEntry.DataTable.GetDataTable<DRCustomBody>();
  402. int cengji = ziDingYi ?1:0;
  403. if (!ziDingYi)
  404. {
  405. CreateZDYFun(parentid, _objPar);
  406. //GameObject _obj = GameObject.Instantiate(ziDingYiBtn);
  407. //_obj.transform.SetParent(_objPar.transform);
  408. //UICustomBtn _uICustomBtn = _obj.GetComponent<UICustomBtn>();
  409. //ChangeUICustom(_uICustomBtn, parentid, eCustomStyple);
  410. //_uICustomBtn.id = parentid;
  411. //_uICustomBtn.eCustomStyple = eCustomStyple;
  412. //_obj.SetActive(true);
  413. }
  414. DRCustomBody[] dRCustomBodies = _bodydata.GetAllDataRows();
  415. for (int i = 0; i < dRCustomBodies.Length; i++)
  416. {
  417. Debug.Log(dRCustomBodies[i].Id);
  418. if (dRCustomBodies[i].ParentStyple == parentid && dRCustomBodies[i].Cengji == cengji)
  419. {
  420. CreateButtonFun(dRCustomBodies[i].Icon, dRCustomBodies[i].Part, dRCustomBodies[i].Name, _objPar, dRCustomBodies[i].Id, dRCustomBodies[i].ButtonStyple, ECustomStyple.Body);
  421. }
  422. }
  423. // ChangeListBotton(_objPar);
  424. }
  425. /// <summary>
  426. /// 改变列表长短
  427. /// </summary>
  428. public void ChangeListBotton(GameObject _obj) {
  429. //Debug.Log("改变列表"+ _obj.transform.childCount+"");
  430. float _x = _obj.GetComponent<RectTransform>().offsetMin.x;
  431. int _childNum = _obj.transform.childCount;
  432. float _y = _childNum > 8 ? -240 * (_childNum - 8) : 0;
  433. _obj.GetComponent<RectTransform>().offsetMin = new Vector2(_x, _y);
  434. }
  435. //private IEnumerator Tween(Action _action) {
  436. // for (int i = 0; i < 100; i++)
  437. // {
  438. // float _value = i / 100;
  439. // float _right=Mathf.Lerp(tween_rightMax, tween_rightMin, _value);
  440. // float _left= Mathf.Lerp(tween_leftMix, tween_rightMax, _value);
  441. // clothView.GetComponent<RectTransform>().SetPositionX(_right);
  442. // toolView.GetComponent<RectTransform>().SetPositionX(_right);
  443. // bodyView.GetComponent<RectTransform>().SetPositionX(_right);
  444. // nieLianView.GetComponent<RectTransform>().SetPositionX(_right);
  445. // baseView.GetComponent<RectTransform>().SetPositionX(_left);
  446. // }
  447. // yield return null;
  448. //}
  449. protected override void OnUpdate(float elapseSeconds, float realElapseSeconds)
  450. {
  451. base.OnUpdate(elapseSeconds, realElapseSeconds);
  452. }
  453. //private void CreateNieLianFun(object[] _objects) {
  454. // ENieLianStyple _eNieLianStyple = (ENieLianStyple)int.Parse(_objects[1].ToString());
  455. // switch (_eNieLianStyple)
  456. // {
  457. // case ENieLianStyple.faxing:
  458. // break;
  459. // case ENieLianStyple.lianxing:
  460. // break;
  461. // case ENieLianStyple.yankuang:
  462. // break;
  463. // case ENieLianStyple.tongkong:
  464. // break;
  465. // case ENieLianStyple.meimao:
  466. // break;
  467. // case ENieLianStyple.bizi:
  468. // break;
  469. // case ENieLianStyple.erduo:
  470. // break;
  471. // case ENieLianStyple.zuiba:
  472. // break;
  473. // case ENieLianStyple.fuse:
  474. // break;
  475. // }
  476. // //switch()
  477. //}
  478. private void CreateButtonFun(string path,int _part,string _name, GameObject _parent,int _id,int buttonstyple,ECustomStyple eCustomStyple) {
  479. //Debug.Log(path);
  480. // Debug.Log(_parent);
  481. path = "CustomRole/" + path;
  482. GameEntry.Resource.LoadAsset(AssetUtility.GetUISpriteAsset(path), new LoadAssetCallbacks(
  483. (assetName, asset, duration, userData) =>
  484. {
  485. // Debug.Log(path);
  486. // Debug.Log(_parent);
  487. Texture2D tex = (Texture2D)asset;
  488. var sprite = Sprite.Create(tex, new Rect(0, 0, tex.width, tex.height), Vector2.zero);
  489. GameObject _obj = GameObject.Instantiate(buttonItem);
  490. Image _objImg = _obj.transform.GetComponent<Image>();
  491. _obj.SetActive(true);
  492. _objImg.sprite = sprite;
  493. _obj.name = part+"";
  494. _obj.transform.SetParent(_parent.transform);
  495. UICustomBtn uICustomBtn = _obj.GetComponent<UICustomBtn>();
  496. uICustomBtn.id = _id;
  497. uICustomBtn.eButtonStyple = (EButtonStyple)buttonstyple;
  498. uICustomBtn.eCustomStyple = eCustomStyple;
  499. uICustomBtn.isCreate = false;
  500. uICustomBtn.part = _part;
  501. //GameObject
  502. //img.sprite = sprite;
  503. //if (nativeSize)
  504. //{
  505. // img.SetNativeSize();
  506. //}
  507. ChangeListBotton(_parent);
  508. }));
  509. }
  510. //public void NieLian() {
  511. //}
  512. public void ClickFaceChangeBtn()
  513. {
  514. GameEntry.Event.Fire(this, CustomRoleFaceEventArgs.Create(EditableFacePart.eye, new Vector3(1, 0, 0)));
  515. }
  516. }
  517. public enum ECustomStyple
  518. {
  519. None,
  520. NieLian,
  521. Body,
  522. Cloth
  523. }
  524. public enum EButtonStyple
  525. {
  526. Button,
  527. Scroll,
  528. TiaoSe,
  529. NorButton,
  530. Back
  531. }
  532. public enum ENieLianStyple {
  533. None,
  534. faxing,
  535. lianxing,
  536. yankuang,
  537. tongkong,
  538. meimao,
  539. bizi,
  540. erduo,
  541. zuiba,
  542. fuse
  543. }
  544. public enum EButtonShunXu {
  545. None,
  546. First,
  547. Second,
  548. Third
  549. }
  550. }