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:
2023-03-22 17:07:16 -05:00
parent 5b2a8b838e
commit bb29a988b3
5 changed files with 83 additions and 7 deletions

View File

@@ -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