// Token: 0x06008BF1 RID: 35825 RVA: 0x0028DA80 File Offset: 0x0028BC80 public void MovePath(List <int> path, Action onMoveEnd) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_MovePathList ` 1Action_hotfix != null) { this.m_MovePathList ` 1Action_hotfix.call(new object[] { this, path, onMoveEnd }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_movePath.Clear(); foreach (int waypointId in path) { ClientWorldWaypoint waypoint = this.m_clientWorld.GetWaypoint(waypointId); if (waypoint != null) { this.m_movePath.Add(waypoint); } } if (this.m_movePath.Count > 0) { this.m_onMoveEnd = onMoveEnd; this.PlayAnimation("run", true); this.m_clientWorld.WorldCamera.StartFollow(); this.m_clientWorld.WorldCamera.SetFollowPosition(this.m_position); } else if (onMoveEnd != null) { onMoveEnd(); } }
// Token: 0x0600F9AE RID: 63918 RVA: 0x0041BC14 File Offset: 0x00419E14 public void LoadRes(List <string> assetList, Action onComplete) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_LoadResList ` 1Action_hotfix != null) { this.m_LoadResList ` 1Action_hotfix.call(new object[] { this, assetList, onComplete }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; HashSet <string> pathList = base.CalculateDynamicResReallyNeedLoad(assetList); ResourceManager.Instance.StartLoadAssetsCorutine(pathList, this.m_dynamicResCacheDict, onComplete, false); }