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

import com.td.boss.common.pojo.Result;
import com.td.boss.common.service.CommonService;
import com.td.boss.game.complayersattri.pojo.ComPlayersLucky;
import com.td.boss.game.complayersattri.vo.ComPlayersLuckyLandLevelUpVo;
import com.td.boss.game.complayersattri.vo.ComPlayersLuckyToolsVo;
import com.td.boss.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 levelId
     * @param landId
     * @return
     */
    Result<?> landLevelUp(String userId, Integer levelId, Integer landId);

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

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

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