5398 子 【开发】【1.4】跨服竞技场 / 【前端】【1.4】跨服竞技场开发
| | |
| | | WindowCenter.Instance.Open<CrossServerOneVsOneRoundWin>();
|
| | | }
|
| | | }
|
| | |
|
| | | if(mission.isStart == 1)
|
| | | DebugEx.LogFormat("副本帮助信息回合是否开始::{0}",mission.isStart);
|
| | | if (mission.isStart == 1)
|
| | | {
|
| | | if(WindowCenter.Instance.IsOpen<CrossServerOneVsOneRoundWin>())
|
| | | {
|
| | |
| | | return true;
|
| | | }
|
| | |
|
| | | var teamModel = ModelCenter.Instance.GetModel<TeamModel>();
|
| | | bool isTeamMatch = teamModel.isMatching;
|
| | | if(isTeamMatch)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("CrossMatching6");
|
| | | return true;
|
| | | }
|
| | |
|
| | | bool isDungeonPrepare = teamModel.teamPrepare.isPreparing;
|
| | | if(isDungeonPrepare)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("CrossMatching7");
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | |
|
| | | }
|
| | |
| | | public string DisplayWinningRate()
|
| | | {
|
| | | float rate = PKCount != 0 ? (float)WinCount / PKCount : 0;
|
| | | return StringUtility.Contact((float)Math.Round(rate,1)*100,"%");
|
| | | return StringUtility.Contact((float)Math.Round(rate*100,1),"%");
|
| | | }
|
| | |
|
| | | }
|