refactor IServerSocket
This commit is contained in:
@@ -17,5 +17,9 @@ void IServerSocket::OnReceivePeer(PeerID a_PeerId, const protocol::PacketBase& a
|
||||
OnReceive(m_Ids.GetPlayerId(a_PeerId), a_Packet);
|
||||
}
|
||||
|
||||
void IServerSocket::Send(PlayerID a_PlayerId, const protocol::PacketBase& a_Packet) {
|
||||
SendPeer(m_Ids.GetPeerId(a_PlayerId), a_Packet);
|
||||
}
|
||||
|
||||
} // namespace server
|
||||
} // namespace td
|
||||
|
||||
Reference in New Issue
Block a user