src/net/packets.js
function SendCmpctPacket(mode, version) {
  if (!(this instanceof SendCmpctPacket))
    return new SendCmpctPacket(mode, version);

  Packet.call(this);

  this.mode = mode || 0;
  this.version = version || 1;
}
function SendCmpctPacket(mode, version) {
  if (!(this instanceof SendCmpctPacket))
    return new SendCmpctPacket(mode, version);

  Packet.call(this);

  this.mode = mode || 0;
  this.version = version || 1;
}
function SendCmpctPacket ( mode , version ) { if ( ! ( this instanceof SendCmpctPacket ) ) return new SendCmpctPacket ( mode , version ) ; Packet . call ( this ) ; this . mode = mode || 0 ; this . version = version || 1 ; }
Represents a `sendcmpct` packet.
@constructor
@param {Number|null} mode
@param {Number|null} version
@property {Number} mode
@property {Number} version
Represents a sendcmpct packet .