上传战斗事件同步
This commit is contained in:
parent
4877424946
commit
65502bbe67
@ -56,17 +56,17 @@ func (this *modelBattleComp) createeve(session comm.IUserSession, conn *db.DBCon
|
|||||||
Tasks: conf.BattleEvents,
|
Tasks: conf.BattleEvents,
|
||||||
}
|
}
|
||||||
var (
|
var (
|
||||||
battletas *cfg.GameBattletasktestingData
|
// battletas *cfg.GameBattletasktestingData
|
||||||
captain int32
|
captain int32
|
||||||
masters []*pb.BattleRole
|
masters []*pb.BattleRole
|
||||||
user *pb.DBUserExpand
|
user *pb.DBUserExpand
|
||||||
err error
|
err error
|
||||||
// buff *cfg.GamePandamasBuffData
|
// buff *cfg.GamePandamasBuffData
|
||||||
)
|
)
|
||||||
// buff, _ = this.getGlobalBuff(session.GetUserId())
|
// buff, _ = this.getGlobalBuff(session.GetUserId())
|
||||||
if battletas, _ = this.module.configure.GetBattleTask(int32(req.Ptype)); battletas != nil {
|
// if battletas, _ = this.module.configure.GetBattleTask(int32(req.Ptype)); battletas != nil {
|
||||||
record.Tasks = battletas.BattletaskTestingId
|
// record.Tasks = battletas.BattletaskTestingId
|
||||||
}
|
// }
|
||||||
if user, err = this.module.ModuleUser.GetUserExpand(session.GetUserId()); err != nil {
|
if user, err = this.module.ModuleUser.GetUserExpand(session.GetUserId()); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Loading…
Reference in New Issue
Block a user