mirror of
https://github.com/CPunch/gopenfusion.git
synced 2025-10-05 01:00:41 +00:00
landwalker achieved!
- the shard's ip sent to the client via the login server is currently hardcoded in config/config.go - no packets other than P_CL2FE_REQ_PC_ENTER and P_CL2FE_REQ_PC_LOADING_COMPLETE are supported via the shard server
This commit is contained in:
@@ -87,6 +87,10 @@ func (peer *CNPeer) Send(typeID uint32, data ...interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (peer *CNPeer) SetActiveKey(whichKey int) {
|
||||
peer.whichKey = whichKey
|
||||
}
|
||||
|
||||
func (peer *CNPeer) Kill() {
|
||||
if !peer.alive {
|
||||
return
|
||||
|
Reference in New Issue
Block a user