Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | default:
|
| | | return;
|
| | | }
|
| | | OperationLogCollect.Instance.ChatReport(content, channelName, toPlayer);
|
| | | OperationLogCollect.Instance.ChatReport(content, channelName, chatType == ChatInfoType.Friend ? toPlayer : string.Empty);
|
| | | }
|
| | | catch (Exception e)
|
| | | {
|
| | |
| | | if (m_IsPlayUIEffect)
|
| | | {
|
| | | m_UIEffect.Play();
|
| | | m_IsPlayUIEffect = false;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | |
|
| | | Treasure treasure;
|
| | | model.TryGetTreasure(displayTreasureId, out treasure);
|
| | | var progress = 1f;
|
| | | if (treasure != null && config.PreferredStage != 0)
|
| | | var progress = 0f;
|
| | | try
|
| | | {
|
| | | progress = (float)treasure.stage / config.PreferredStage;
|
| | | progress = treasure.progress / (float)treasure.achievements.Count;
|
| | | }
|
| | | catch (System.Exception ex)
|
| | | {
|
| | | Debug.Log(ex);
|
| | | }
|
| | |
|
| | | switch (displayState)
|