This commit is contained in:
@@ -27,13 +27,13 @@ var Maincontroller = &Controller{} //注入service
|
||||
type Controller struct {
|
||||
UID uint32
|
||||
RPCClient *struct {
|
||||
Kick func(uint32) error
|
||||
Kick func(context.Context, uint32) error
|
||||
|
||||
RegisterLogic func(uint32, uint32) error
|
||||
RegisterLogic func(context.Context, uint32, uint32) error
|
||||
|
||||
MatchJoinOrUpdate func(rpc.PVPMatchJoinPayload) error
|
||||
MatchJoinOrUpdate func(context.Context, rpc.PVPMatchJoinPayload) error
|
||||
|
||||
MatchCancel func(uint32) error
|
||||
MatchCancel func(context.Context, uint32) error
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user