コード例 #1
0
    private void Awake()
    {
        _uniqueInstance  = this;
        _currentLoadType = eLoadType.none;

        StartLoad();
    }
コード例 #2
0
        /// <summary>
        /// Returns the load data for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing steady state load case.</param>
        /// <param name="loadTypes">Either <see cref="eLoadType.Load" /> or <see cref="eLoadType.Accel" />, indicating the type of each load assigned to the load case.</param>
        /// <param name="loadNames">The name of each load assigned to the load case.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Load" />, this item is the name of a defined load pattern.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />, this item is U1, U2, U3, R1, R2 or R3, indicating the direction of the load.</param>
        /// <param name="functions">The name of the load function associated with each load.</param>
        /// <param name="scaleFactor">The scale factor of each load assigned to the load case. [L/s^2] for U1 U2 and U3; otherwise unitless.</param>
        /// <param name="timeFactor">The time scale factor of each load assigned to the load case.</param>
        /// <param name="arrivalTime">The arrival time of each load assigned to the load case.</param>
        /// <param name="coordinateSystems">This is an array that includes the name of the coordinate system associated with each load.
        /// If this item is a blank string, the Global coordinate system is assumed.
        /// This item applies only when <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />.</param>
        /// <param name="angles">This is an array that includes the angle between the acceleration local 1 axis and the +X-axis of the coordinate system specified by <paramref name="coordinateSystems" />.
        /// The rotation is about the Z-axis of the specified coordinate system. [deg].
        /// This item applies only when <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        public void GetLoads(string name,
                             out eLoadType[] loadTypes,
                             out string[] loadNames,
                             out string[] functions,
                             out double[] scaleFactor,
                             out double[] timeFactor,
                             out double[] arrivalTime,
                             out string[] coordinateSystems,
                             out double[] angles)
        {
            loadTypes         = new eLoadType[0];
            loadNames         = new string[0];
            functions         = new string[0];
            scaleFactor       = new double[0];
            timeFactor        = new double[0];
            arrivalTime       = new double[0];
            coordinateSystems = new string[0];
            angles            = new double[0];

            string[] csiLoadTypes = new string[0];

            _callCode = _sapModel.LoadCases.DirHistNonlinear.GetLoads(name, ref _numberOfItems, ref csiLoadTypes, ref loadNames, ref functions, ref scaleFactor, ref timeFactor, ref arrivalTime, ref coordinateSystems, ref angles);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            loadTypes = new eLoadType[_numberOfItems - 1];
            for (int i = 0; i < _numberOfItems; i++)
            {
                loadTypes[i] = EnumLibrary.ConvertStringToEnumByDescription <eLoadType>(csiLoadTypes[i]);
            }
        }
コード例 #3
0
    void StartLoad()
    {
        _currentLoadType = eLoadType.MyInfoStart;

        UIManager._instance.OpenWnd <LobbyUI>(UIManager.eKindWindow.LobbyUI);
        UIManager._instance.OpenWnd <MyInfoUI>(UIManager.eKindWindow.MyInfoUI);
        UIManager._instance.OpenWnd <ShopUI>(UIManager.eKindWindow.ShopUI);
        UIManager._instance.OpenWnd <CommunityUI>(UIManager.eKindWindow.CommunityUI);

        ClientManager._instance.RequestMyInfoData();
        _currentLoadType = eLoadType.MyInfoWait;
    }
コード例 #4
0
 public void SetLoadType(uint loadID, eLoadType type)
 {
     if (type == eLoadType.Dimmer)
     {
         _triList.BooleanInput[startindex_load_show_dimmer + (uint)loadID].BoolValue = true;
         _triList.BooleanInput[startindex_load_show_switch + (uint)loadID].BoolValue = false;
     }
     else if (type == eLoadType.Switch)
     {
         _triList.BooleanInput[startindex_load_show_switch + (uint)loadID].BoolValue = true;
         _triList.BooleanInput[startindex_load_show_dimmer + (uint)loadID].BoolValue = false;
     }
 }
コード例 #5
0
 public sLineLoad(string pattern, eLoadType type, bool IsGlobal, sXYZ forceVec = null, sXYZ momentVec = null, double loadScalar = 0.0)
 {
     this.loadPatternName = pattern;
     this.loadType        = type;
     this.AsGlobalCorSys  = IsGlobal;
     if (loadScalar > 0.0)
     {
         this.load_Scalar = loadScalar;
     }
     if (forceVec != null)
     {
         this.load_Force = forceVec;
     }
     if (momentVec != null)
     {
         this.load_Moment = momentVec;
     }
 }
コード例 #6
0
ファイル: AsSceneLoader.cs プロジェクト: ftcaicai/ArkClient
	public void Load( int iMapID, eLoadType type)
	{
		Debug.Log ("SceneLoad .Load " + iMapID);
		curLoadType = type;
		m_eOldGameState = AsGameMain.s_gameState;
		AsGameMain.s_gameState = GAME_STATE.STATE_LOADING;

		if(PlayerPrefs.HasKey( AsNpcStore.SaveKindKey))
			PlayerPrefs.DeleteKey( AsNpcStore.SaveKindKey);
		
		if( true == AssetbundleManager.Instance.useAssetbundle)
			AssetbundleManager.Instance.DownloadAssets_Group( _GetPatchGroup( iMapID));

		m_nMapID = iMapID;
		m_eType = type;

		StartCoroutine( "MapLoadCheck");
	}
コード例 #7
0
ファイル: StaticLinear.cs プロジェクト: uzbekdev1/MPT.Tools
        /// <summary>
        /// This function retrieves the load data for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing steady state load case.</param>
        /// <param name="loadTypes">Either <see cref="eLoadType.Load" /> or <see cref="eLoadType.Accel" />, indicating the type of each load assigned to the load case.</param>
        /// <param name="loadNames">The name of each load assigned to the load case.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Load" />, this item is the name of a defined load pattern.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />, this item is U1, U2, U3, R1, R2 or R3, indicating the direction of the load.</param>
        /// <param name="scaleFactor">The scale factor of each load assigned to the load case. [L/s^2] for U1 U2 and U3; otherwise unitless.</param>
        /// <exception cref="CSiException"></exception>
        public void GetLoads(string name,
                             ref eLoadType[] loadTypes,
                             ref string[] loadNames,
                             ref double[] scaleFactor)
        {
            string[] csiLoadTypes = new string[0];

            _callCode = _sapModel.LoadCases.StaticLinear.GetLoads(name, ref _numberOfItems, ref csiLoadTypes, ref loadNames, ref scaleFactor);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            loadTypes = new eLoadType[_numberOfItems - 1];
            for (int i = 0; i < _numberOfItems; i++)
            {
                loadTypes[i] = EnumLibrary.ConvertStringToEnumByDescription <eLoadType>(csiLoadTypes[i]);
            }
        }
コード例 #8
0
    public void LoadFinish()
    {
        switch (_currentLoadType)
        {
        case eLoadType.MyInfoWait:

            _currentLoadType = eLoadType.MyInfoEnd;
            UIManager._instance.Close(UIManager.eKindWindow.MyInfoUI);
            _currentLoadType = eLoadType.LobbyInfoStart;
            ClientManager._instance.GetRoomList();
            _currentLoadType = eLoadType.LobbyInfoWait;

            break;

        case eLoadType.LobbyInfoWait:

            _currentLoadType = eLoadType.LobbyInfoEnd;
            _currentLoadType = eLoadType.ShopInfoStart;
            ClientManager._instance.GetShopInfo();
            _currentLoadType = eLoadType.ShopInfoWait;

            break;

        case eLoadType.ShopInfoWait:

            _currentLoadType = eLoadType.ShopInfoEnd;
            UIManager._instance.Close(UIManager.eKindWindow.ShopUI);
            _currentLoadType = eLoadType.FriendInfoStart;
            ClientManager._instance.RequestFriendList();
            _currentLoadType = eLoadType.FriendInfoWait;

            break;

        case eLoadType.FriendInfoWait:

            _currentLoadType = eLoadType.FriendInfoEnd;
            UIManager._instance.Close(UIManager.eKindWindow.CommunityUI);
            _currentLoadType = eLoadType.LoadEnd;

            break;
        }
    }
コード例 #9
0
    private void BundleDebugLog(eLoadType type, string path, int size)
    {
#if BUNDLE_DEBUG_ENABLE
        var str = path.Replace(replace, "");
        str = str.Replace("\\", "/");
        str = str + Environment.NewLine;
//         switch (type)
//         {
//             case eLoadType.Scene:
//                 sceneBundle.Add(str);
//                 break;
//             case eLoadType.AsyncLoad:
//                 asyncBundle.Add(str);
//                 break;
//             case eLoadType.SyncLoad:
//                 syncBundle.Add(str);
//                 break;
//         }

        allBundle.Add(str);
#endif
    }
コード例 #10
0
        /// <summary>
        /// This function retrieves the load data for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing power spectral density load case.</param>
        /// <param name="loadTypes">Either <see cref="eLoadType.Load" /> or <see cref="eLoadType.Accel" />, indicating the type of each load assigned to the load case.</param>
        /// <param name="loadNames">The name of each load assigned to the load case.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Load" />, this item is the name of a defined load pattern.
        /// If <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />, this item is U1, U2, U3, R1, R2 or R3, indicating the direction of the load.</param>
        /// <param name="functions">The name of the power spectral density function associated with each load.</param>
        /// <param name="scaleFactor">The scale factor of each load assigned to the load case. [L/s^2] for U1 U2 and U3; otherwise unitless.</param>
        /// <param name="phaseAngle">The phase angle for each load. [deg].</param>
        /// <param name="coordinateSystems">This is an array that includes the name of the coordinate system associated with each load.
        /// If this item is a blank string, the Global coordinate system is assumed.
        /// This item applies only when <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />.</param>
        /// <param name="angles">This is an array that includes the angle between the acceleration local 1 axis and the +X-axis of the coordinate system specified by <paramref name="coordinateSystems" />.
        /// The rotation is about the Z-axis of the specified coordinate system. [deg].
        /// This item applies only when <paramref name="loadTypes" /> = <see cref="eLoadType.Accel" />.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetLoads(string name,
                             ref eLoadType[] loadTypes,
                             ref string[] loadNames,
                             ref string[] functions,
                             ref double[] scaleFactor,
                             ref double[] phaseAngle,
                             ref string[] coordinateSystems,
                             ref double[] angles)
        {
            string[] csiLoadTypes = new string[0];

            _callCode = _sapModel.LoadCases.PSD.GetLoads(name, ref _numberOfItems, ref csiLoadTypes, ref loadNames, ref functions, ref scaleFactor, ref phaseAngle, ref coordinateSystems, ref angles);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            loadTypes = new eLoadType[_numberOfItems - 1];
            for (int i = 0; i < _numberOfItems; i++)
            {
                loadTypes[i] = EnumLibrary.ConvertStringToEnumByDescription <eLoadType>(csiLoadTypes[i]);
            }
        }
コード例 #11
0
        private TiledMapBuilder _getByLoadType(eLoadType loadType)
        {
            TiledMapBuilder tiledMapBuilder = null;

            switch (loadType)
            {
            case eLoadType.RawJson:
                tiledMapBuilder = new JsonTiledMapBuilder(LoadPath);
                break;

            case eLoadType.Tmx:
            case eLoadType.ContentPipelin:
                break;

            default:
                break;
            }
            if (tiledMapBuilder == null)
            {
                throw new NotImplementedException($"Load Type: {loadType} is not implemented.");
            }
            return(tiledMapBuilder);
        }
コード例 #12
0
    private void BundleDebugLog(eLoadType type, string path, int size)
    {
#if BUNDLE_DEBUG_ENABLE
        var str = path.Replace(replace, "");
        // var str = string.Format("{0},{1},{2}", path, size, Environment.NewLine);
        str = str.Replace("\\", "/");
        str = str + Environment.NewLine;
        switch (type)
        {
        case eLoadType.Scene:
            sceneBundle.Add(str);
            break;

        case eLoadType.AsyncLoad:
            asyncBundle.Add(str);
            break;

        case eLoadType.SyncLoad:
            syncBundle.Add(str);
            break;
        }
#endif
    }
コード例 #13
0
 public TiledMapLoader(eLoadType loadType, string loadPath)
 {
     LoadType        = loadType;
     LoadPath        = loadPath;
     tiledMapBuilder = _getByLoadType(loadType);
 }
コード例 #14
0
 public TiledMapLoader(eLoadType loadType)
 {
     LoadType        = loadType;
     tiledMapBuilder = _getByLoadType(loadType);
 }
コード例 #15
0
ファイル: AsSceneLoader.cs プロジェクト: ftcaicai/ArkClient
	//$yde
	
	public void LoadSameMap( int iMapID, eLoadType type)
	{
		ActivateLoadInfo( true);
		
		AsEntityManager.Instance.RemoveAllMonster();
		AsEntityManager.Instance.RemoveAllNpc();
		AsEntityManager.Instance.RemoveAllOtherUser();
		
		AsEntityManager.Instance.UserEntity.SetRePosition(AsUserInfo.Instance.GetCurrentUserCharacterPosition());
		AsEntityManager.Instance.UserEntity.HandleMessage( new Msg_MoveStopIndication());
		AsEntityManager.Instance.UserEntity.HandleMessage( new Msg_ZoneWarpEnd());
		
		if( null != ItemMgr.DropItemManagement )
			ItemMgr.DropItemManagement.Clear();
		
		switch( type)
		{
		case eLoadType.ENTER_WORLD:
			{
				AS_CG_ENTER_WORLD_END enterWorld = new AS_CG_ENTER_WORLD_END();
				byte[] data = enterWorld.ClassToPacketBytes();
				AsNetworkMessageHandler.Instance.Send( data);
				
				AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			}
			break;
		case eLoadType.WARP:
			AsCommonSender.SendWarpEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.WARPXZ:
			AsCommonSender.SendWarpXZEnd( iMapID, AsUserInfo.Instance.GetCurrentUserCharacterPosition());
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.PARTY_WARPXZ:
			AsPartySender.SendWarpXZEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;	
		case eLoadType.GOTO_TOWN:
			AsCommonSender.SendGotoTownEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			#region -GameGuide_Death
			AsGameGuideManager.Instance.CheckUp( eGameGuideType.Death, AsUserInfo.Instance.SavedCharStat.level_);
			#endregion
			break;
		case eLoadType.INSTANCE_DUNGEON_ENTER:
			AsInstanceDungeonManager.Instance.Send_InDun_Enter_End();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.ARENA_ENTER:
			AsInstanceDungeonManager.Instance.Send_InDun_Enter_End();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			AsInputManager.Instance.m_Activate = false;
			break;
		case eLoadType.INSTANCE_DUNGEON_EXIT:
			AsInstanceDungeonManager.Instance.Send_InDun_Exit_End();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		}
		
		ActivateLoadInfo( false);
		
		if( eLoadType.ARENA_ENTER != type)
			AsInputManager.Instance.m_Activate = true;
		
		AsIntoMapTriggerManager.instance.UpdateIntoMapTrigger(iMapID);
		AsUseItemInMapMarkManager.instance.UpdateUseItemInMapMark( iMapID);
		
		AsEntityManager.Instance.MessageToPlayer( new Msg_PetPositionRefresh());
		AsEmotionManager.Instance.ReleaseBlock();//$yde
		
		System.GC.Collect();
		Resources.UnloadUnusedAssets();
	}
コード例 #16
0
ファイル: AsSceneLoader.cs プロジェクト: ftcaicai/ArkClient
	IEnumerator MapLoad( int iMapID, eLoadType type)
	{
		AsGameMain.SetBackGroundProc( true);
		
		ActivateLoadInfo( true);
		loadInfo.Init( iMapID);
		ItemMgr.HadItemManagement.Inven.ResetInvenSlotMoveLock();	// kij
		
		yield return null;
		
		AsNotify.Instance.Hidden();
		AsHUDController.SetActiveRecursively( false);
		ObjSteppingMgr.Instance.Clear();
		AsEntityManager.Instance.RemoveAllEntitiesAsync();
		while(true)
		{
			if(AsEntityManager.Instance.RemoveAllEntitiesAsyncFinished == true)
			{
				Debug.Log("AsSceneLoader::MapLoad: << RemoveAllEntitiesAsync process ends >> ");
				break;
			}
			
			yield return null;
		}
		AsEntityManager.Instance.RemoveAllEntities();
		ItemMgr.DropItemManagement.Clear();
		
		yield return null;
		
		if( true == AssetbundleManager.Instance.useAssetbundle)
			AssetbundleManager.Instance.ClearAssetbundle();
		
		Map map = TerrainMgr.Instance.GetMap( iMapID);
		Debug.Assert( null != map);
		AsHUDController.Instance.SetMapFogColor( map.MapData.RimLightColor);
		if( true == AssetbundleManager.Instance.useAssetbundle)
		{
			WWW downloadCache = AssetbundleManager.Instance.SceneAssetbundleLoadCache( map.MapData.GetPath());
			yield return downloadCache;
		}

		AsyncOperation async = Application.LoadLevelAsync( map.MapData.GetPath());
		yield return async;
		
		TerrainMgr.Instance.LoadMap( iMapID);
		
		yield return null;

		//$yde
		AsUserEntity userChar = AsEntityManager.Instance.CreateUserEntity( "PlayerChar", AsUserInfo.Instance.SavedCharStat, true, true);
		userChar.SetRePosition( AsUserInfo.Instance.GetCurrentUserCharacterPosition());
		userChar.HandleMessage( new Msg_BuffRefresh( PlayerBuffMgr.Instance.CharBuffDataList));

		if( true == AsUserInfo.Instance.isProductionProgress)
			userChar.HandleMessage( new Msg_PRODUCT( true));
		
		userChar.gameObject.AddComponent<AudioListener>();
		
		AsUserInfo.Instance.ApplyPlayerStat();
		AsPetManager.Instance.PlayerEnterWorld();
		//~$yde
		
		yield return null;
		
		TerrainMgr.Instance.Initialize( iMapID);
		
		yield return null;

		bool ret = CameraMgr.Instance.AttachPlayerCamera( userChar.transform, map.MapData.GetMapNameShowTime());
		Debug.Assert( false != ret);
		
		while( eModelLoadingState.Finished != userChar.CheckModelLoadingState())
			yield return null;

		#region -AccountGender
		userChar.UserGender = AsUserInfo.Instance.accountGender;
		#region -GMMark
		userChar.IsGM = AsUserInfo.Instance.isGM;
		#endregion
#if NEW_DELEGATE_IMAGE
		if( null != userChar.namePanel)
		{
			DelegateImageData DelegateImageData = AsDelegateImageManager.Instance.GetSelectDelegateImage();
			if( null == DelegateImageData)
			{
				DelegateImageData = AsDelegateImageManager.Instance.GetAssignedDelegateImage();
				if( null != DelegateImageData)
					userChar.nUserDelegateImageIndex = DelegateImageData.id;
			}
			else
				userChar.nUserDelegateImageIndex = DelegateImageData.id;

			userChar.namePanel.SetDelegateImage( AsPanel_Name.eNamePanelType.eNamePanelType_User, userChar);
		}
#else
		if( null != userChar.namePanel)
			userChar.namePanel.SetGenderMark( AsPanel_Name.eNamePanelType.eNamePanelType_User, userChar);
#endif
		#endregion
		
		AsCommonSender.ResetSendCheck();
		AsGameMain.SetBackGroundProc( false);
		switch( type)
		{
		case eLoadType.ENTER_WORLD:
			{
				AS_CG_ENTER_WORLD_END enterWorld = new AS_CG_ENTER_WORLD_END();
				byte[] data = enterWorld.ClassToPacketBytes();
				ArkQuestmanager.instance.CheckVisibleTimeUI();
				AsNetworkMessageHandler.Instance.Send( data);
				AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			
				if( null != AsEntityManager.Instance && null != AsEntityManager.Instance.GetPlayerCharFsm() &&
					null != AsChatManager.Instance)
				{
					Tbl_GlobalWeight_Record levelrecord = AsTableManager.Instance.GetTbl_GlobalWeight_Record( 69);
					if( null != levelrecord)
					{
						int iCurLevel = AsEntityManager.Instance.GetPlayerCharFsm().UserEntity.GetProperty<int>( eComponentProperty.LEVEL);
						if( iCurLevel >= (int)levelrecord.Value)
							AsChatManager.Instance.InsertSystemChat( AsTableManager.Instance.GetTbl_String(4083), eCHATTYPE.eCHATTYPE_SYSTEM);
					}
				}

                ArkQuestmanager.instance.ShowProgressInQuestMsgBox();
			
				AsCommonSender.SendWayPoint();
			}
			break;
		case eLoadType.WARP:
			AsCommonSender.SendWarpEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.WARPXZ:
			AsCommonSender.SendWarpXZEnd( iMapID, AsUserInfo.Instance.GetCurrentUserCharacterPosition());
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.PARTY_WARPXZ:
			AsPartySender.SendWarpXZEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;		
		case eLoadType.GOTO_TOWN:
			AsCommonSender.SendGotoTownEnd();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			#region -GameGuide_Death
			AsGameGuideManager.Instance.CheckUp( eGameGuideType.Death, AsUserInfo.Instance.SavedCharStat.level_);
			#endregion
			break;
		case eLoadType.INSTANCE_DUNGEON_ENTER:
			AsInstanceDungeonManager.Instance.Send_InDun_Enter_End();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		case eLoadType.ARENA_ENTER:
			AsInstanceDungeonManager.Instance.Send_InDun_Enter_End();
			AsPvpManager.Instance.EnterArena();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			AsInputManager.Instance.m_Activate = false;
			break;
		case eLoadType.INSTANCE_DUNGEON_EXIT:
			AsInstanceDungeonManager.Instance.Send_InDun_Exit_End();
			AsGameMain.s_gameState = GAME_STATE.STATE_INGAME;
			break;
		}
		
		//$yde
		if( eLoadType.ARENA_ENTER != type)
			AsInputManager.Instance.m_Activate = true;
		CoolTimeGroupMgr.Instance.CheckLoadMap();
		
		yield return null;
		
		AsIntoMapTriggerManager.instance.UpdateIntoMapTrigger( iMapID);
		AsUseItemInMapMarkManager.instance.UpdateUseItemInMapMark( iMapID);
		ArkQuestmanager.instance.CheckVisibleTimeUI();
		AsHudDlgMgr.Instance.UpdateQuestBookBtn();
		QuestHolderManager.instance.UpdateQuestHolder();
		AsInGameEventManager.instance.ForcedUpdate();

		if( AsHudDlgMgr.Instance != null)
		{
			AsHudDlgMgr.Instance.cashShopBtn.GetComponent<CashShopBtnController>().SetMiracleTxt(AsUserInfo.Instance.nMiracle);
			AsHudDlgMgr.Instance.SetCashStoreBtnFreeMark(AsUserInfo.Instance.FreeGachaPoint == 1);
			AsHudDlgMgr.Instance.partyAndQuestToggleMgr.Initilize();
			AsHudDlgMgr.Instance.CheckNewMenuImg();
		}
		
		yield return null;
		
		AsCharacterTextureManager.Instance.Clear();
		
		System.GC.Collect();
		Resources.UnloadUnusedAssets();
		
		ActivateLoadInfo( false);
		
		if( true == IsInvoking( "ConditionAlarm"))
			CancelInvoke( "ConditionAlarm");
		
		InvokeRepeating( "ConditionAlarm", 0.0f, 1800.0f);
		
		#region -GameGuide_Map
		AsGameGuideManager.Instance.CheckUp( eGameGuideType.Map, iMapID);
		#endregion
		TerrainMgr.Instance.ShowMapNameShow(iMapID);

		#region -AccountGender
#if !NEW_DELEGATE_IMAGE
		PromptGenderDialog();
#endif
		#endregion
		
		BonusManager.Instance.SceneLoaded();//$yde
		AsEmotionManager.Instance.ReleaseBlock();//$yde
		

		AsUseItemToMonTriggerManager.instance.CreateAllTrigger();
		AsUseItemToMonTriggerManager.instance.RepoisitionTrigger();
		ArkQuestmanager.instance.UpdateSortQuestList();
		AsHudDlgMgr.Instance.UpdateQuestMiniView();
		AsPromotionManager.Instance.SceneLoaded();
		AutoCombatManager.Instance.ZoneWarpFinished();
		
		Debug.LogWarning("map Load end");
	}