Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | case InstalledAsset.IngoreDownLoad:
|
| | | progressBuf = progress;
|
| | | timer = 0f;
|
| | | duration = 50f;
|
| | | duration = 30f;
|
| | |
|
| | | if (!SDKUtility.Instance.AssetCopyFinished)
|
| | | {
|
| | |
| | | while (!SDKUtility.Instance.AssetCopyFinished)
|
| | | {
|
| | | timer += Time.deltaTime;
|
| | | progress = Mathf.Clamp(progressBuf + timer / duration * 0.6f, progressBuf, progressBuf + 0.6f);
|
| | | progress = Mathf.Clamp(progressBuf + timer / duration * 0.7f, progressBuf, progressBuf + 0.7f);
|
| | | yield return null;
|
| | | }
|
| | | }
|
| | |
| | | var decompressProgress = AssetDeCompressTask.DecompressAync(ResourcesPath.Instance.ExternalStorePath);
|
| | | while (!decompressProgress.done)
|
| | | {
|
| | | progress = progressBuf + decompressProgress.progress * 0.3f;
|
| | | progress = progressBuf + decompressProgress.progress * 0.2f;
|
| | | yield return null;
|
| | | }
|
| | |
|
| | |
| | |
|
| | | public void RequestAutoMatchTeam(TeamMission _mission)
|
| | | {
|
| | | if (CrossServerUtility.IsCrossServer())
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("CrossMatching3");
|
| | | return;
|
| | | }
|
| | |
|
| | | if (myTeam.inTeam && !myTeam.iamCaptainer)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("DungeonGroupAutoOnlyLeader");
|
| | |
| | |
|
| | | public void OnTeamClear(H0905_tagTeamClear _serverInfo)
|
| | | {
|
| | | if (_serverInfo.socketType==GameNetSystem.SocketType.CrossSever)
|
| | | if (_serverInfo.socketType == GameNetSystem.SocketType.CrossSever)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | |
|
| | | public void OnTeammateLeave(H0906_tagPlayerLeaveTeamMsg _leaveTeam)
|
| | | {
|
| | | if (_leaveTeam.socketType==GameNetSystem.SocketType.CrossSever)
|
| | | if (_leaveTeam.socketType == GameNetSystem.SocketType.CrossSever)
|
| | | {
|
| | | return;
|
| | | }
|