public StrengthReturnData(ViewType viewType, StrengthSubType type, object data, int targetIndex) { this.viewType = viewType; this.type = type; this.data = data; this.targetIndex = targetIndex; }
public override void SetType(ViewType _viewType, StrengthSubType _type, List <int> _selectedMatList, int _targetIndex) { curViewType = _viewType; curType = _type; targetIndex = _targetIndex; if (curType == StrengthSubType.Target) { maxSelectCount = 1; title.text = "대상 선택"; prevSelectMatList = _selectedMatList; } else if (curType == StrengthSubType.Material) { maxSelectCount = (int)StrengthSubType.SelectMax; prevSelectMatList = _selectedMatList; title.text = "재료 선택"; selectMatList = new List <int>(prevSelectMatList); } }
public abstract void SetType(ViewType _viewType, StrengthSubType _type, List <int> _selectedMatList, int _targetIndex);