mark send as deprecated
This commit is contained in:
parent
d643bedbbe
commit
79b8050329
@ -118,6 +118,11 @@ export default class Session {
|
|||||||
SRServer.getInstance().handshake(HandshakeType.DISCONNECT, this.ctx);
|
SRServer.getInstance().handshake(HandshakeType.DISCONNECT, this.ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated The method should not be used
|
||||||
|
* use sendT instead
|
||||||
|
*/
|
||||||
public send(name: PacketName, body: {}) {
|
public send(name: PacketName, body: {}) {
|
||||||
this.c.verbL(body);
|
this.c.verbL(body);
|
||||||
const packet = Packet.encode(name, body);
|
const packet = Packet.encode(name, body);
|
||||||
|
Loading…
Reference in New Issue
Block a user