| | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | public void ClearPetAndMountRedpoint(StoreConfig storeConfig)
|
| | | {
|
| | | ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(storeConfig.ItemID);
|
| | |
| | | }
|
| | | break;
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | public void ClearAllPetAndMountRedpoint(StoreFunc storeFunc)
|
| | | {
|
| | | if (storeFuncType == StoreFunc.BindStore && storeFunc != StoreFunc.BindStore)
|
| | | {
|
| | | foreach(var key in shopRedDict.Keys)
|
| | | {
|
| | | if(shopRedDict[key].state != RedPointState.None)
|
| | | {
|
| | | string record = StringUtility.Contact(PlayerDatas.Instance.baseData.PlayerID, "ShopId",key);
|
| | | shopRedDict[key].state = RedPointState.None;
|
| | | LocalSave.SetBool(record, false);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | #endregion
|
| | |
|