// Token: 0x06015527 RID: 87335 RVA: 0x00569710 File Offset: 0x00567910 public void SetStatus(WayPointStatus status) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetStatusWayPointStatus_hotfix != null) { this.m_SetStatusWayPointStatus_hotfix.call(new object[] { this, status }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (this.m_waypointInfo == null) { return; } if (this.m_nameText != null) { bool flag = status == WayPointStatus.Close || status == WayPointStatus.Open; this.m_nameText.gameObject.SetActive(!flag); this.m_nameBackgroundImage.gameObject.SetActive(!flag); } this.m_testText.gameObject.SetActive(LocalConfig.Instance.Data.IsDeveloper); this.m_testText.text = this.m_waypointInfo.ID + " " + status; }
// Token: 0x06004BDF RID: 19423 RVA: 0x001776C4 File Offset: 0x001758C4 public void AddCanMoveWayPointId(int wayPointId, WayPointStatus eventStatus) { if (!this.CanMoveWayPointIds.ContainsKey(wayPointId)) { this.CanMoveWayPointIds.Add(wayPointId, WayPointStatus.Public | eventStatus); } }
// Token: 0x06008D22 RID: 36130 RVA: 0x002930F0 File Offset: 0x002912F0 public bool CanMoveToWaypoint(int id) { WayPointStatus waypointStatus = this.m_clientWorld.PlayerContext.GetWaypointStatus(id); if (this.m_isCheckWaypointStatus) { return(waypointStatus == WayPointStatus.Arrived || waypointStatus == WayPointStatus.Public); } return(waypointStatus == WayPointStatus.Arrived || waypointStatus == WayPointStatus.Public || waypointStatus == WayPointStatus.Open); }
// Token: 0x06008C71 RID: 35953 RVA: 0x0028FEC4 File Offset: 0x0028E0C4 public void SetStatus(WayPointStatus status) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetStatusWayPointStatus_hotfix != null) { this.m_SetStatusWayPointStatus_hotfix.call(new object[] { this, status }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_status = status; Colori color; if (status == WayPointStatus.Close || status == WayPointStatus.Open) { color = new Colori(150, 150, 150, byte.MaxValue); } else { color = new Colori(byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue); } bool flag = status != WayPointStatus.Close; if (this.m_graphic != null) { this.m_graphic.SetVisible(flag); this.m_graphic.SetColor(color); } if (this.m_uiController != null) { this.m_uiController.gameObject.SetActive(flag); this.m_uiController.SetStatus(status); } }
// Token: 0x06004BDC RID: 19420 RVA: 0x00177688 File Offset: 0x00175888 public void SetWayPointStatus(int wayPointId, WayPointStatus status) { this.CanMoveWayPointIds[wayPointId] = status; }