MCPcopy Create free account
hub / github.com/Alex-Rachel/TGameServer / InstanceController

Function InstanceController

app/tserver/controller.go:56–58  ·  view source on GitHub ↗
(name string, code GameProto.RequestCode)

Source from the content-addressed store, hash-verified

54}
55
56func InstanceController(name string, code GameProto.RequestCode) Controller {
57 return Controller{ControllerName: name, RequestCode: code}
58}
59
60func RegisterController(code GameProto.RequestCode, ctr Controller) error {
61 if controllerMap == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected