Loading server/match_handler.go +4 −0 Original line number Diff line number Diff line Loading @@ -234,6 +234,10 @@ func (mh *MatchHandler) HandlerName() string { return mh.Core.HandlerName() } func (mh *MatchHandler) CreateTime() int64 { return mh.Core.CreateTime() } func (mh *MatchHandler) queueCall(f func(*MatchHandler)) bool { if mh.stopped.Load() { return false Loading server/runtime.go +1 −0 Original line number Diff line number Diff line Loading @@ -260,6 +260,7 @@ type RuntimeMatchCore interface { Label() string TickRate() int HandlerName() string CreateTime() int64 Cancel() } Loading server/runtime_go_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,10 @@ func (r *RuntimeGoMatchCore) HandlerName() string { return r.module } func (r *RuntimeGoMatchCore) CreateTime() int64 { return r.createTime } func (r *RuntimeGoMatchCore) Cancel() { r.ctxCancelFn() } Loading server/runtime_javascript_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -446,6 +446,10 @@ func (rm *RuntimeJavaScriptMatchCore) HandlerName() string { return rm.module } func (rm *RuntimeJavaScriptMatchCore) CreateTime() int64 { return rm.createTime } func (rm *RuntimeJavaScriptMatchCore) Cancel() { // TODO: implement cancel } Loading server/runtime_lua_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -566,6 +566,10 @@ func (r *RuntimeLuaMatchCore) HandlerName() string { return r.module } func (r *RuntimeLuaMatchCore) CreateTime() int64 { return r.createTime } func (r *RuntimeLuaMatchCore) Cancel() { r.ctxCancelFn() r.vm.Close() Loading Loading
server/match_handler.go +4 −0 Original line number Diff line number Diff line Loading @@ -234,6 +234,10 @@ func (mh *MatchHandler) HandlerName() string { return mh.Core.HandlerName() } func (mh *MatchHandler) CreateTime() int64 { return mh.Core.CreateTime() } func (mh *MatchHandler) queueCall(f func(*MatchHandler)) bool { if mh.stopped.Load() { return false Loading
server/runtime.go +1 −0 Original line number Diff line number Diff line Loading @@ -260,6 +260,7 @@ type RuntimeMatchCore interface { Label() string TickRate() int HandlerName() string CreateTime() int64 Cancel() } Loading
server/runtime_go_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,10 @@ func (r *RuntimeGoMatchCore) HandlerName() string { return r.module } func (r *RuntimeGoMatchCore) CreateTime() int64 { return r.createTime } func (r *RuntimeGoMatchCore) Cancel() { r.ctxCancelFn() } Loading
server/runtime_javascript_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -446,6 +446,10 @@ func (rm *RuntimeJavaScriptMatchCore) HandlerName() string { return rm.module } func (rm *RuntimeJavaScriptMatchCore) CreateTime() int64 { return rm.createTime } func (rm *RuntimeJavaScriptMatchCore) Cancel() { // TODO: implement cancel } Loading
server/runtime_lua_match_core.go +4 −0 Original line number Diff line number Diff line Loading @@ -566,6 +566,10 @@ func (r *RuntimeLuaMatchCore) HandlerName() string { return r.module } func (r *RuntimeLuaMatchCore) CreateTime() int64 { return r.createTime } func (r *RuntimeLuaMatchCore) Cancel() { r.ctxCancelFn() r.vm.Close() Loading