diff --git a/comm/imodule.go b/comm/imodule.go index d53e21c51..6573b11c4 100644 --- a/comm/imodule.go +++ b/comm/imodule.go @@ -132,7 +132,7 @@ type ( /// 查询章节ID GetUsermainLineData(uid string) (mainlineId int32) ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } //任务 ITask interface { @@ -149,7 +149,7 @@ type ( // 获取已完成的任务列表 GetTaskFinished(uid string, taskType TaskTag) []*pb.DBTask ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } // 随机任务 @@ -215,7 +215,7 @@ type ( ModifyPagodaFloor(session IUserSession, level int32) (code pb.ErrorCode) CheckUserBasePagodaInfo(uid string) (data *pb.DBPagodaRecord) // 查询玩家最佳通关记录 ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } IHeroFetter interface { @@ -244,14 +244,14 @@ type ( // 获取公会成员 MembersBySociatyId(sociatyId string) (list []*pb.SociatyMemberInfo) ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } //星座图 IHoroscope interface { //计算新作图属性 ComputeHeroNumeric(uid string, hero ...*pb.DBHero) ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } IPrivilege interface { // 创建一个新的特权卡 @@ -266,7 +266,7 @@ type ( //武馆 IMartialhall interface { ///红点 - IReddot + Reddot(session IUserSession, rid ...ReddotType) map[ReddotType]bool } // 世界任务 IWorldtask interface {