| | |
| | | //发进入战斗包 |
| | | private float lastTime = 0f; |
| | | private float turnCoolDown = 0.5f; // 冷却时间 |
| | | public void SendTurnFight(uint mapID, uint funcLineID = 0, byte tagType = 0, uint tagID = 0, uint[] valueList = null) |
| | | public void SendTurnFight(uint mapID, uint funcLineID = 0, byte tagType = 0, uint tagID = 0, uint[] valueList = null, bool showLoading = true) |
| | | { |
| | | // 连续频繁发包,触发提示 |
| | | float currentTime = Time.time; |
| | |
| | | } |
| | | GameNetSystem.Instance.SendInfo(pack); |
| | | Debug.Log("战斗时序 发起 " + Time.time); |
| | | if (mapID != 1) |
| | | if (mapID != 1 && showLoading) |
| | | { |
| | | UIManager.Instance.OpenWindow<MapLoadingWin>(); |
| | | } |