Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | |
|
| | | public void Display(DateTime time, string playerName)
|
| | | {
|
| | | m_KillTime.text = time.ToString("hh:mm:ss");
|
| | | m_KillTime.text = time.ToString("HH:mm:ss");
|
| | | m_PlayerName.text = UIHelper.ServerStringTrim(playerName);
|
| | | }
|
| | | }
|
| | |
| | | if (!alive)
|
| | | {
|
| | | var killRecords = findPreciousModel.GetBossKillRecords(model.selectBossId);
|
| | | if (killRecords != null)
|
| | | {
|
| | | killRecords.Sort(KillRecordSort);
|
| | | }
|
| | | m_ContainerExistRecord.gameObject.SetActive(killRecords != null && killRecords.Count > 0);
|
| | | m_ContainerNoneRecord.gameObject.SetActive(killRecords == null || killRecords.Count == 0);
|
| | | if (killRecords != null && killRecords.Count > 0)
|
| | |
| | | model.DisplayErrorTip(error);
|
| | | }
|
| | | }
|
| | |
|
| | | private int KillRecordSort(FindPreciousModel.BossKillRecord lhs, FindPreciousModel.BossKillRecord rhs)
|
| | | {
|
| | | return -lhs.killTime.CompareTo(rhs.killTime);
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | }
|
| | | break;
|
| | | case PlayerDetails.OpenType.Fairy:
|
| | | if (IsCrossServerPlayer)
|
| | | {
|
| | | return;
|
| | | }
|
| | | break;
|
| | | }
|
| | |
|