package com.qiwuai.garden.service.gardenerService; import com.qiwuai.garden.dto.base.CommonResponse; import com.qiwuai.garden.dto.request.OperationRequest; import com.qiwuai.garden.dto.response.PhraseResponse; public interface GardenerService { /** * 进入游戏。清除该玩家现有缓存 * @param * @param */ CommonResponse enterGame(OperationRequest operationReq); /** * 创建园丁 * @param * @param */ CommonResponse create(OperationRequest operationReq); /** * 更改园丁性别 * @param * @param */ CommonResponse changeGender(OperationRequest operationReq); /** * 更改玩家称呼 * @param * @param */ CommonResponse changeCallName(OperationRequest operationReq); /** * 用户初始化。玩家数据回到新建账号的状态,同时删除好友关系 * @param * @param */ CommonResponse resetPlayer(OperationRequest operationReq); /** * 查看园丁等级 * @param operationReq * @return CommonResponse */ CommonResponse gardenerLevelCheck(OperationRequest operationReq); /** * 园丁升级,查询园丁升级条件 * @param operationReq * @return CommonResponse */ CommonResponse gardenerUpgradeCheck(OperationRequest operationReq); /** * 确认园丁升级 * @param operationReq * @return CommonResponse */ CommonResponse gardenerUpgrade(OperationRequest operationReq); /** * 取消园丁升级 * @param operationReq * @return CommonResponse */ CommonResponse gardenerUpgradeCancel(OperationRequest operationReq); /** * 园丁直接升级指令 * @param operationReq * @return CommonResponse */ CommonResponse gardenerUpgradeDirect(OperationRequest operationReq); /** * 查看技能信息,查看当前等级可选择的所有技能信息,暂不使用 * @param operationReq * @return CommonResponse */ CommonResponse searchSkillInfo(OperationRequest operationReq); /** * 使用技能,根据技能名称查看技能信息 * @param operationReq * @return CommonResponse */ CommonResponse learnSkillCheck(OperationRequest operationReq); /** * 确认使用技能,园丁升级完之后,学习新技能 * @param operationReq * @return CommonResponse */ CommonResponse learnSkill(OperationRequest operationReq); /** * 取消使用技能 * @param operationReq * @return CommonResponse */ CommonResponse learnSkillCancel(OperationRequest operationReq); /** * 查询重置园丁技能的开销,重置园丁 * @param operationReq * @return CommonResponse */ CommonResponse resetSkillCheck(OperationRequest operationReq); /** * 重置园丁技能,确认重置 * @param operationReq * @return CommonResponse */ CommonResponse resetSkill(OperationRequest operationReq); /** * 取消重置技能 * @param operationReq * @return CommonResponse */ CommonResponse resetSkillCancel(OperationRequest operationReq); /** * 查看技能指令 * @param operationReq * @return CommonResponse */ CommonResponse skillCheck(OperationRequest operationReq); /** * 查看技能详情指令 * @param operationReq * @return CommonResponse */ CommonResponse skillInfoCheck(OperationRequest operationReq); /** * 查看下一页技能详情指令 * @param operationReq * @return CommonResponse */ CommonResponse skillInfoNextCheck(OperationRequest operationReq); /** * 查看上一页技能详情指令 * @param operationReq * @return CommonResponse */ CommonResponse skillInfoLastCheck(OperationRequest operationReq); /** * 更改园丁姓名 * @param operationReq * @return CommonResponse */ CommonResponse renameCheck(OperationRequest operationReq); /** * 确认更改园丁姓名 * @param operationReq * @return CommonResponse */ CommonResponse rename(OperationRequest operationReq); /** * 取消更改园丁姓名 * @param operationReq * @return CommonResponse */ CommonResponse renameCancel(OperationRequest operationReq); /** * 通过用户昵称获取玩家所有信息 * @param * @param */ PhraseResponse getPlayerInfo(String uname, String address); }