| | |
| | |
|
| | | protected override void OnPreOpen()
|
| | | {
|
| | | model.cabinetRefresh += UpdateCabinetLv;
|
| | | model.cabinetRefresh += UpdateCabinetInfo;
|
| | | FashionDecomposeModel.Instance.UpdateDecomposeExpEvent += UpdateGetExp;
|
| | | SetDisplay();
|
| | | }
|
| | |
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | model.cabinetRefresh += UpdateCabinetLv;
|
| | | model.cabinetRefresh -= UpdateCabinetInfo;
|
| | | FashionDecomposeModel.Instance.UpdateDecomposeExpEvent -= UpdateGetExp;
|
| | | }
|
| | | protected override void OnAfterClose()
|
| | |
| | | UpdateCabinetLv();
|
| | | }
|
| | |
|
| | | private void UpdateCabinetInfo()
|
| | | {
|
| | | FashionDecomposeModel.Instance.GetDecomposeItem();
|
| | | UpdateCabinetLv();
|
| | | lineCtrl.m_Scorller.RefreshActiveCellViews();
|
| | | }
|
| | |
|
| | | private void CreateLineCell()
|
| | | {
|
| | | int line = initGrid / 5;
|