| | |
| | | {
|
| | | ParseConfig();
|
| | | SetDogzAndEquipPlaceRedKey();
|
| | | playerPack.RefreshPackAct += UpdateDogzEquipInfo;
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | |
| | |
|
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | | SetDogzEquipInfo(); |
| | | playerPack.RefreshItemCountAct += RefreshDogzEquipInfo;
|
| | | FuncOpen.Instance.OnFuncStateChangeEvent += UpdateDogzState;
|
| | | UpdateDogzAssistRed();
|
| | |
| | |
|
| | | public override void UnInit()
|
| | | {
|
| | |
|
| | | playerPack.RefreshPackAct -= UpdateDogzEquipInfo;
|
| | | }
|
| | |
|
| | | #region 配置
|
| | |
| | |
|
| | | #endregion
|
| | |
|
| | | private void UpdateDogzEquipInfo(PackType type)
|
| | | {
|
| | | if (type != PackType.rptDogzEquip) return;
|
| | |
|
| | | SetDogzEquipInfo();
|
| | | }
|
| | |
|
| | | public int GetAssistItemCnt()
|
| | | {
|
| | | if(!IsAddMaxAssist())
|