上传代码
This commit is contained in:
parent
f1e7ea36ef
commit
fe8aaf9170
@ -14,6 +14,10 @@ type (
|
||||
ITaskComplete interface {
|
||||
TaskComplete(session IUserSession, taskid int32)
|
||||
}
|
||||
//功能开启通知
|
||||
IOpenCmdNotice interface {
|
||||
OpenCmdNotice(session IUserSession, key string)
|
||||
}
|
||||
)
|
||||
|
||||
/*
|
||||
@ -439,6 +443,7 @@ type (
|
||||
//练功房
|
||||
IPractice interface {
|
||||
ITaskComplete
|
||||
IOpenCmdNotice
|
||||
//添加武馆资源
|
||||
AddItems(session IUserSession, items map[string]int32, bPush bool) (code pb.ErrorCode)
|
||||
//pvp切磋结果通知
|
||||
|
@ -55,6 +55,7 @@ func (this *Practice) Init(service core.IService, module core.IModule, options c
|
||||
this.service = service.(base.IRPCXService)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *Practice) Start() (err error) {
|
||||
err = this.ModuleBase.Start()
|
||||
var module core.IModule
|
||||
@ -189,6 +190,10 @@ func (this *Practice) TaskComplete(session comm.IUserSession, taskid int32) {
|
||||
}
|
||||
}
|
||||
|
||||
func (this *Practice) OpenCmdNotice(session comm.IUserSession, key string) {
|
||||
|
||||
}
|
||||
|
||||
func (this *Practice) ChallengeResults(bid, red, bule string, winSide int32) {
|
||||
this.Debug("ChallengeResults",
|
||||
log.Field{Key: "bid", Value: bid},
|
||||
|
Loading…
Reference in New Issue
Block a user