package com.td.WaDa.game.complayersattri.service;

import com.td.WaDa.common.pojo.Result;
import com.td.WaDa.common.service.CommonService;
import com.td.WaDa.game.complayersattri.pojo.ComPlayersLucky;
import com.td.WaDa.game.complayersattri.vo.ComPlayersLuckyLandLevelUpVo;
import com.td.WaDa.game.complayersattri.vo.ComPlayersLuckyToolsVo;
import com.td.WaDa.game.complayersattri.vo.ComPlayersLuckyVo;
import java.util.List;

public interface ComPlayersLuckyService extends CommonService<ComPlayersLuckyVo, ComPlayersLucky, Integer> {

    /**
     * 使用某个工具 获得幸运值
     *
     * @param userId
     * @param id
     * @param landId
     * @return
     */
    Result useLuckyTools(String userId, Integer id, Integer landId);

    /**
     * 土地升级
     *
     * @param userId
     * @param configLandId
     * @return
     */
    Result<?> landLevelUp(String userId , Integer configLandId);

    /**
     * 兑换snb
     *
     * @param userId
     * @param luckNum
     * @return
     */
    Result<?> toSNB(String userId, Integer luckNum);

    /**
     * 获取所有工具列表，方便用户选择使用哪种工具来获取幸运值
     *
     * @return
     */
    List<ComPlayersLuckyToolsVo> getLandTools(String userId);

    /**
     * 获取土地升级列表
     *
     * @return
     */
    List<ComPlayersLuckyLandLevelUpVo> getLandLevelUp();
}
