| | |
| | | return true;
|
| | | }
|
| | |
|
| | | bool isCanPut = true;
|
| | | bool wearable = true;
|
| | | for (int i = 0; i < uselimits.Length; i++)
|
| | | {
|
| | | switch (uselimits[i])
|
| | |
| | | var level = PlayerDatas.Instance.baseData.LV;
|
| | | if (level < config.UseLV)
|
| | | {
|
| | | isCanPut = false;
|
| | | wearable = false;
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
|
| | | Language.Get("EquipWinLevelLimit", config.UseLV, config.UseLV - level));
|
| | | }
|
| | | break;
|
| | | case 1:
|
| | | isCanPut = CheckPutOnRealm(config);
|
| | | wearable = CheckPutOnRealm(config);
|
| | | break;
|
| | | case 2:
|
| | | isCanPut = CheckPutOnNeed();
|
| | | wearable = CheckPutOnNeed();
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | if (isCanPut)
|
| | | if (wearable)
|
| | | {
|
| | | CheckPutOnPlace();
|
| | | }
|
| | |
|
| | | return isCanPut;
|
| | | return wearable;
|
| | | }
|
| | |
|
| | | /// <summary>
|