Merge http://192.168.0.87:10010/r/snxxz_scripts into GrowthFund
| | |
| | | Debug.LogError(ex);
|
| | | }
|
| | |
|
| | | if (vNetData.LV == 1)
|
| | | {
|
| | | OperationLogCollect.Instance.RecordEvent(8);
|
| | | }
|
| | |
|
| | | PlayerDatas.Instance.InitPlayerData(vNetData);
|
| | |
|
| | | SDKUtility.Instance.RoleLogin(vNetData.PlayerID.ToString(),
|
| | |
| | | break;
|
| | | case GameNetSystem.SocketType.CrossSever:
|
| | | StageManager.Instance.isCrossServerPreparing = true;
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.ActorInfo.recordServerDie = PlayerDatas.Instance.hero.ActorInfo.serverDie;
|
| | | }
|
| | | break;
|
| | | }
|
| | |
|
| | |
| | | return; |
| | | } |
| | | |
| | | OperationLogCollect.Instance.RecordEvent(8); |
| | | |
| | | isCreateRole = true; |
| | | } |
| | | } |
| | |
| | | |
| | | public class DTCA112_tagMCDBPlayer : DtcBasic |
| | | { |
| | | |
| | | public static event Action playerInitEvent; |
| | | public override void Done(GameNetPackBasic vNetPack) |
| | | { |
| | | base.Done(vNetPack); |
| | |
| | | PlayerDatas.Instance.UpdatePlayerData(package); |
| | | |
| | | var hero = PlayerDatas.Instance.hero; |
| | | if (hero != null && !hero.ActorInfo.serverDie) |
| | | if (hero != null) |
| | | { |
| | | var playerId = PlayerDatas.Instance.baseData.PlayerID; |
| | | hero.ActorInfo.serverDie = PlayerDatas.Instance.hero.ActorInfo.recordServerDie; |
| | | hero.RequestName(); |
| | | hero.SwitchRedName(StatusMgr.Instance.IsExist(playerId, StatusMgr.Instance.redNameBuffID)); |
| | | hero.IdleImmediate(); |
| | | hero.State = E_ActorState.Idle; |
| | | if (!hero.ActorInfo.serverDie) |
| | | { |
| | | hero.IdleImmediate(); |
| | | hero.State = E_ActorState.Idle; |
| | | } |
| | | } |
| | | |
| | | if (playerInitEvent != null)
|
| | | {
|
| | | playerInitEvent();
|
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | StageManager.Instance.onStageLoadFinish += OnStageLoadFinish; |
| | | DTC0102_tagCDBPlayer.afterPlayerDataInitializeEvent += AfterPlayerDataInitializeEvent; |
| | | DTCA112_tagMCDBPlayer.playerInitEvent += PlayerInitEvent; |
| | | } |
| | | |
| | | IsPlayerDie = false; |
| | |
| | | deadModel.AllPlayerDieEvent -= AllPlayerDieEvent; |
| | | deadModel.AllPlayerRebornEvent -= AllPlayerRebornEvent; |
| | | DTC0429_tagObjResetPos.ResetPlayerPosEvent -= ResetPlayerPosEvent;
|
| | | DTC0102_tagCDBPlayer.afterPlayerDataInitializeEvent -= AfterPlayerDataInitializeEvent; |
| | | DTC0102_tagCDBPlayer.afterPlayerDataInitializeEvent -= AfterPlayerDataInitializeEvent;
|
| | | DTCA112_tagMCDBPlayer.playerInitEvent -= PlayerInitEvent; |
| | | if (IsHeroControl) |
| | | { |
| | | StageManager.Instance.onStageLoadFinish -= OnStageLoadFinish; |
| | |
| | | SnxxzGame.Instance.StartCoroutine(Co_RecheckPlayLifeState());
|
| | | }
|
| | |
|
| | | public void PlayerInitEvent()
|
| | | {
|
| | | CheckResetGuardState();
|
| | | }
|
| | |
|
| | | IEnumerator Co_RecheckPlayLifeState()
|
| | | {
|
| | | yield return null;
|
| | | CheckResetGuardState();
|
| | | }
|
| | |
|
| | | void CheckResetGuardState()
|
| | | {
|
| | | if (guardState == GuardState.Inter)
|
| | | {
|
| | | var hero = PlayerDatas.Instance.hero;
|
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 是否服务端死亡 |
| | | /// 是否本服务端死亡 |
| | | /// </summary> |
| | | public bool serverDie = false; |
| | | public bool recordServerDie = false; |
| | | public float moveSpeed; |
| | | public float atkSpeed = 1; |
| | | public float rotateSpeed; |
| | |
| | | {
|
| | | return;
|
| | | }
|
| | | if (dungeonModel.mission.roundNum == 1 && DateTime.Now >= dungeonEndTime)
|
| | | {
|
| | | m_CountdownText.text = "60";
|
| | | return;
|
| | | }
|
| | | if (DateTime.Now >= dungeonEndTime)
|
| | | {
|
| | | m_CountdownText.text = "0";
|
| | |
| | | {
|
| | | secondaryResId = clothes + 2900;
|
| | | }
|
| | | else
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | var item = Config.Instance.Get<ItemConfig>(secondaryId);
|
| | | secondaryResId = item == null ? jobConfig.BaseEquip[2] : item.ChangeOrd;
|
| | | if (item != null)
|
| | | {
|
| | | secondaryResId = item.ChangeOrd;
|
| | | }
|
| | | }
|
| | | if (secondaryResId == 0)
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | | PutOnSecondary(secondaryResId);
|
| | |
|
| | |
| | | if (realmConfig != null)
|
| | | {
|
| | | m_RealmIcon.SetSprite(realmConfig.Img);
|
| | | m_RealmIcon.SetNativeSize();
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | itemTipsModel.TryGetFightPowerByItemId(itemTipsModel.curAttrData.itemId, out fightPower);
|
| | | infoDes = infoDes.Replace("{FightPower}", fightPower.ToString());
|
| | | }
|
| | | if(infoDes.Contains("{ShareNum}"))
|
| | | {
|
| | | string shareNumDes = itemTipsModel.GetShareNumItemDes(itemTipsModel.curAttrData.itemId);
|
| | | infoDes = infoDes.Replace("{ShareNum}",shareNumDes);
|
| | | }
|
| | |
|
| | | itemDesText.text = infoDes;
|
| | | operateBtn.SetActive(false);
|
| | |
| | | itemTipsModel.TryGetFightPowerByItemId(itemTipsModel.curAttrData.itemId, out fightPower);
|
| | | infoDes = infoDes.Replace("{FightPower}", fightPower.ToString());
|
| | | }
|
| | | if (infoDes.Contains("{ShareNum}"))
|
| | | {
|
| | | string shareNumDes = itemTipsModel.GetShareNumItemDes(itemTipsModel.curAttrData.itemId);
|
| | | infoDes = infoDes.Replace("{ShareNum}", shareNumDes);
|
| | | }
|
| | |
|
| | | itemDesText.text = infoDes;
|
| | | operateBtn.SetActive(false);
|
| | |
| | | return 0;
|
| | | }
|
| | | #endregion
|
| | |
|
| | | #region 共享开启次数
|
| | | public string GetShareNumItemDes(int itemId)
|
| | | {
|
| | | string shareNumDes = string.Empty;
|
| | | List<int> idlist = null;
|
| | | bool isShare = playerPack.TryGetShareNumItem(itemId,out idlist);
|
| | | if(isShare)
|
| | | {
|
| | | foreach (var id in idlist)
|
| | | {
|
| | | if (itemId != id)
|
| | | {
|
| | | ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(id);
|
| | | TextColType colType = itemConfig.ItemColor < 2 ? TextColType.White : (TextColType)itemConfig.ItemColor;
|
| | | string des = UIHelper.AppendStringColor(colType, itemConfig.ItemName);
|
| | | if (shareNumDes.Length > 0)
|
| | | {
|
| | | shareNumDes = StringUtility.Contact(shareNumDes, "</r>", des);
|
| | | }
|
| | | else
|
| | | {
|
| | | shareNumDes = des;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | return shareNumDes;
|
| | | }
|
| | | #endregion
|
| | | }
|
| | |
|
| | | public class ItemAttrData
|
| | |
| | | public int InitDepotGridCnt { get; private set; }
|
| | | BlastFurnaceModel FurnaceModel { get { return ModelCenter.Instance.GetModel<BlastFurnaceModel>(); } }
|
| | | public List<int> LocalSavePlaceArray { get; private set; }
|
| | | public Dictionary<int, List<int>> ShareUseCntItemDict { get; private set;}
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | | ParseConfig();
|
| | |
| | | FuncConfigConfig equipDecompose = Config.Instance.Get<FuncConfigConfig>("EquipDevourCount");
|
| | | minDecomposeNum = int.Parse(equipDecompose.Numerical1);
|
| | | defaultUnSelectlist = ConfigParse.GetMultipleStr<int>(equipDecompose.Numerical2);
|
| | |
|
| | | FuncConfigConfig ShareUseCntItem = Config.Instance.Get<FuncConfigConfig>("ShareUseCntItem");
|
| | | ShareUseCntItemDict = new Dictionary<int, List<int>>();
|
| | | JsonData shareUseJson = JsonMapper.ToObject(ShareUseCntItem.Numerical1);
|
| | | if(shareUseJson.IsArray)
|
| | | {
|
| | | for(int i = 0; i < shareUseJson.Count;i++)
|
| | | {
|
| | | var idListJson = shareUseJson[i];
|
| | | var idlist = new List<int>();
|
| | | ShareUseCntItemDict.Add(i,idlist);
|
| | | foreach(var id in idListJson)
|
| | | {
|
| | | idlist.Add(int.Parse(id.ToString()));
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | InitDepotGridCnt = int.Parse(Config.Instance.Get<FuncConfigConfig>("InitDepotCellCount").Numerical1);
|
| | | InitBagGridCnt = int.Parse(Config.Instance.Get<FuncConfigConfig>("InitBagCellCount").Numerical1);
|
| | |
| | | return count;
|
| | | }
|
| | |
|
| | | public bool TryGetShareNumItem(int itemId,out List<int> idlist)
|
| | | {
|
| | | idlist = new List<int>();
|
| | | foreach(var list in ShareUseCntItemDict.Values)
|
| | | {
|
| | | if(list.Contains(itemId))
|
| | | {
|
| | | idlist = list;
|
| | | return true;
|
| | | }
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 得到物品今日使用次数
|
| | | /// </summary>
|
| | |
| | | public int GetDayUseCntByID(int itemId)
|
| | | {
|
| | | int useCnt = 0;
|
| | | itemDayUseCntDict.TryGetValue(itemId, out useCnt);
|
| | | List<int> shareIdlist = null;
|
| | | bool isShare = TryGetShareNumItem(itemId,out shareIdlist);
|
| | | if(isShare)
|
| | | {
|
| | | foreach(var id in shareIdlist)
|
| | | {
|
| | | int singleUseCnt = 0;
|
| | | itemDayUseCntDict.TryGetValue(id, out singleUseCnt);
|
| | | useCnt += singleUseCnt;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | itemDayUseCntDict.TryGetValue(itemId, out useCnt);
|
| | | }
|
| | | return useCnt;
|
| | | }
|
| | |
|
| | |
| | | public int GetSumUseCntByID(int itemId)
|
| | | {
|
| | | int useCnt = 0;
|
| | | itemSumUseCntDict.TryGetValue(itemId, out useCnt);
|
| | | List<int> shareIdlist = null;
|
| | | bool isShare = TryGetShareNumItem(itemId, out shareIdlist);
|
| | | if (isShare)
|
| | | {
|
| | | foreach (var id in shareIdlist)
|
| | | {
|
| | | int singleUseCnt = 0;
|
| | | itemDayUseCntDict.TryGetValue(id, out singleUseCnt);
|
| | | useCnt += singleUseCnt;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | itemSumUseCntDict.TryGetValue(itemId, out useCnt);
|
| | | }
|
| | | return useCnt;
|
| | | }
|
| | |
|
| | |
| | | if (_realmCfg != null) |
| | | { |
| | | m_CompareImg.SetSprite(_realmCfg.Img); |
| | | m_CompareImg.SetNativeSize(); |
| | | } |
| | | break;
|
| | | case PlayerRankData.RankType.OpenServerRecharge: |
| | |
| | | {
|
| | | var _realmConfig = Config.Instance.Get<RealmConfig>(_playerData.value);
|
| | | m_TargetImg.SetSprite(_realmConfig == null ? string.Empty : _realmConfig.Img);
|
| | | m_TargetImg.SetNativeSize();
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | realmImg.gameObject.SetActive(data.type != (int)PlayerRankData.RankType.Realm);
|
| | | m_CompareImg.gameObject.SetActive(data.type == (int)PlayerRankData.RankType.Realm);
|
| | | realmImg.SetSprite(presentCfg.Img);
|
| | | realmImg.SetNativeSize();
|
| | | m_CompareImg.SetSprite(presentCfg.Img);
|
| | | m_CompareImg.SetNativeSize();
|
| | | }
|
| | |
|
| | | bool isSelf = data.ID == PlayerDatas.Instance.PlayerId;
|
| | |
| | | {
|
| | | secondaryResId = clothesId + 2900;
|
| | | }
|
| | | else
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | var item = Config.Instance.Get<ItemConfig>(secondaryId);
|
| | | secondaryResId = item == null ? jobConfig.BaseEquip[2] : item.ChangeOrd;
|
| | | if (item != null)
|
| | | {
|
| | | secondaryResId = item.ChangeOrd;
|
| | | }
|
| | | }
|
| | | if (secondaryResId == 0)
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | | PutOnSecondary(job, secondaryResId);
|
| | |
|
| | |
| | | m_SelectRealmProperty.Display(m_SelectRealm, false);
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(m_SelectRealm);
|
| | | m_SelectRealmIcon.SetSprite(_realmCfg.Img);
|
| | | m_SelectRealmIcon.SetNativeSize();
|
| | | }
|
| | |
|
| | | private void OnRefreshCell(ScrollerDataType type, CellView cell)
|
| | |
| | | public static bool IsGodWeaponEffectOn(uint value, int type, out int level)
|
| | | {
|
| | | level = 0;
|
| | | if (value == 7)
|
| | | {
|
| | | return false;
|
| | | }
|
| | | for (int i = 0; i < GODWEAPON_EFFECT_STAGE; i++)
|
| | | {
|
| | | var stage = i + 1;
|
| | |
| | | for (int i = 0; i < model.godWeaponTypes.Count; i++)
|
| | | {
|
| | | var type = model.godWeaponTypes[i];
|
| | | if (!model.godWeaponEffectTypes.Contains(type))
|
| | | {
|
| | | continue;
|
| | | }
|
| | | var godWeaponInfo = model.GetGodWeaponInfo(type);
|
| | | var equipedLevel = 0;
|
| | | if (type == selectGodWeaponType)
|
| | |
| | | return m_TitleModel ?? (m_TitleModel = ModelCenter.Instance.GetModel<TitleModel>());
|
| | | }
|
| | | }
|
| | |
|
| | | PlayerPackModel packModel
|
| | | {
|
| | | get { return ModelCenter.Instance.GetModel<PlayerPackModel>(); }
|
| | | }
|
| | |
|
| | | private void OnRefreshTitle()
|
| | | {
|
| | | TitleData titleData = titleModel.GetTitleEquip();
|
| | |
| | | OnUpdateSpecialAttr();
|
| | | OnUpdateLvExp();
|
| | | m_PlayerFightPower.text = PlayerDatas.Instance.baseData.FightPoint.ToString();
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_PlayerShowModel, PlayerDatas.Instance.baseData.Job);
|
| | | DisplayModel();
|
| | | OnRefreshRealm();
|
| | | OnRefreshWorldLv();
|
| | | }
|
| | |
|
| | | void DisplayModel()
|
| | | {
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_PlayerShowModel, PlayerDatas.Instance.baseData.Job);
|
| | | }
|
| | |
|
| | | void OnUpdateLvExp()
|
| | |
| | | titleModel.OnRefreshGainTitle += OnRefreshTitle;
|
| | | PlayerDatas.Instance.OnRoleAttrRefresh += OnRefreshWorldLv;
|
| | | PlayerDatas.Instance.RefreshPlayerInfoEvent += RefreshPlayerInfoEvent;
|
| | | packModel.RefreshItemCountAct += RefreshItemCountAct;
|
| | | }
|
| | |
|
| | | protected override void OnActived()
|
| | |
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent -= OnRefreshPlayerInfo;
|
| | | titleModel.OnRefreshGainTitle -= OnRefreshTitle;
|
| | | PlayerDatas.Instance.OnRoleAttrRefresh -= OnRefreshWorldLv;
|
| | | packModel.RefreshItemCountAct -= RefreshItemCountAct;
|
| | | if (!WindowJumpMgr.Instance.IsJumpState)
|
| | | {
|
| | | WindowCenter.Instance.Open<MainInterfaceWin>();
|
| | |
| | | CloseChild();
|
| | | }
|
| | |
|
| | | private void RefreshItemCountAct(PackType packType, int index, int arg3)
|
| | | {
|
| | | if (packType == PackType.rptEquip)
|
| | | {
|
| | | DisplayModel();
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnRefreshWorldLv()
|
| | | {
|
| | | int limit = Config.Instance.Get<FuncOpenLVConfig>((int)FuncOpenEnum.WorldLv).LimitLV;
|
| | |
| | | {
|
| | | RealmConfig _tagRealmModel = Config.Instance.Get<RealmConfig>(realmLv);
|
| | | if (_tagRealmModel != null)
|
| | | {
|
| | | realmImg.SetSprite(_tagRealmModel.Img);
|
| | | }
|
| | | }
|
| | | playerTxt.text = StringUtility.Contact(viewPlayerData.rolePropData.Name, "Lv. ", viewPlayerData.rolePropData.LV);
|
| | | fightPowerTxt.text = StringUtility.Contact(Language.Get("RoleParticularWin_2"), viewPlayerData.rolePropData.FightPower);
|
| | |
| | | {
|
| | | CheckUselimit();
|
| | | }
|
| | | |
| | | itemDesText.text = itemTipsModel.curAttrData.itemConfig.Description;
|
| | | string infoDes = itemTipsModel.curAttrData.GetAllInfoDes();
|
| | | if (infoDes.Contains("{Exp}"))
|
| | | {
|
| | | ulong expValue = itemTipsModel.GetAddExpValue(itemTipsModel.curAttrData.itemConfig.EffectValueA1, itemTipsModel.curAttrData.itemConfig.EffectValueB1);
|
| | | infoDes = infoDes.Replace("{Exp}", UIHelper.ReplaceLargeNum(expValue));
|
| | | }
|
| | | if (infoDes.Contains("{FightPower}"))
|
| | | {
|
| | | int fightPower = 0;
|
| | | itemTipsModel.TryGetFightPowerByItemId(itemTipsModel.curAttrData.itemId, out fightPower);
|
| | | infoDes = infoDes.Replace("{FightPower}", fightPower.ToString());
|
| | | }
|
| | | if (infoDes.Contains("{ShareNum}"))
|
| | | {
|
| | | string shareNumDes = itemTipsModel.GetShareNumItemDes(itemTipsModel.curAttrData.itemId);
|
| | | infoDes = infoDes.Replace("{ShareNum}", shareNumDes);
|
| | | }
|
| | |
|
| | | itemDesText.text = infoDes;
|
| | |
|
| | | if (itemTipsModel.curAttrData.itemConfig.ExpireTime > 0)
|
| | | {
|
| | |
| | | itemTipsModel.TryGetFightPowerByItemId(itemTipsModel.curAttrData.itemId, out fightPower);
|
| | | infoDes = infoDes.Replace("{FightPower}", fightPower.ToString());
|
| | | }
|
| | | if (infoDes.Contains("{ShareNum}"))
|
| | | {
|
| | | string shareNumDes = itemTipsModel.GetShareNumItemDes(itemTipsModel.curAttrData.itemId);
|
| | | infoDes = infoDes.Replace("{ShareNum}", shareNumDes);
|
| | | }
|
| | | itemDesText.text = infoDes;
|
| | |
|
| | | if (itemTipsModel.curAttrData.itemConfig.ExpireTime > 0)
|
| | |
| | | using System;
|
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using TableConfig;
|
| | | using UnityEngine; |
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | |
|
| | | namespace Snxxz.UI
|
| | |
| | | itemTipsModel.TryGetFightPowerByItemId(itemTipsModel.curAttrData.itemId, out fightPower);
|
| | | infoDes = infoDes.Replace("{FightPower}", fightPower.ToString());
|
| | | }
|
| | | if (infoDes.Contains("{ShareNum}"))
|
| | | {
|
| | | string shareNumDes = itemTipsModel.GetShareNumItemDes(itemTipsModel.curAttrData.itemId);
|
| | | infoDes = infoDes.Replace("{ShareNum}", shareNumDes);
|
| | | }
|
| | |
|
| | | m_Description.text = infoDes;
|
| | |
|
| | |
| | | if (realmConfig != null)
|
| | | {
|
| | | m_ConditionValue1.SetSprite(realmConfig.Img);
|
| | | m_ConditionValue1.SetNativeSize();
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | KnapSackEventMgr.Instance.HideItemPopWin();
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | }
|
| | |
|
| | |
| | | var flashSecondary = playerPack.GetItemModelByIndex(PackType.rptEquip, (int)RoleEquipType.retFashionWeapon2);
|
| | | var secondary = playerPack.GetItemModelByIndex(PackType.rptEquip, (int)RoleEquipType.retWeapon2);
|
| | | secondaryId = secondary == null ? 0 : (int)secondary.itemInfo.ItemID;
|
| | | flashSecondaryId = secondary == null ? 0 : flashSecondary.itemInfo.ItemID;
|
| | | flashSecondaryId = flashSecondary == null ? 0 : flashSecondary.itemInfo.ItemID;
|
| | | }
|
| | |
|
| | | var suitLevel = 0;
|
| | |
| | | {
|
| | | secondaryResId = this.clothesId + 2900;
|
| | | }
|
| | | else
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | var item = Config.Instance.Get<ItemConfig>(secondaryId);
|
| | | secondaryResId = item == null ? jobConfig.BaseEquip[2] : item.ChangeOrd;
|
| | | if (item != null)
|
| | | {
|
| | | secondaryResId = item.ChangeOrd;
|
| | | }
|
| | | }
|
| | |
|
| | | if (secondaryResId == 0)
|
| | | {
|
| | | secondaryResId = jobConfig.BaseEquip[2];
|
| | | }
|
| | |
|
| | | PutOnSecondary(job, secondaryResId);
|