skynet.forward

This commit is contained in:
云风
2012-09-11 12:59:02 +08:00
parent 908b10ef88
commit 481dfb85bb
2 changed files with 11 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ function skynet.send(addr, typename, ...)
end
skynet.genid = assert(c.genid)
skynet.forward = assert(c.forward)
skynet.redirect = function(dest,source,typename,...)
return c.redirect(dest, source, proto[typename].id, ...)