mark send as deprecated

This commit is contained in:
TheLostTree 2022-08-02 22:57:38 -07:00
parent d643bedbbe
commit 79b8050329

View File

@ -118,6 +118,11 @@ export default class Session {
SRServer.getInstance().handshake(HandshakeType.DISCONNECT, this.ctx);
}
/**
* @deprecated The method should not be used
* use sendT instead
*/
public send(name: PacketName, body: {}) {
this.c.verbL(body);
const packet = Packet.encode(name, body);