src/serializers/proto/packets.proto.js
function PacketEvent(properties) {
			this.groups = [];
			if (properties)
				for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
					if (properties[keys[i]] != null)
						this[keys[i]] = properties[keys[i]];
		}
function PacketEvent(properties) {
			this.groups = [];
			if (properties)
				for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
					if (properties[keys[i]] != null)
						this[keys[i]] = properties[keys[i]];
		}
function PacketEvent ( properties ) { this . groups = [ ] ; if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a PacketEvent.
@memberof packets
@interface IPacketEvent
@property {string} ver PacketEvent ver
@property {string} sender PacketEvent sender
@property {string} event PacketEvent event
@property {string|null} [data] PacketEvent data
@property {Array.<string>|null} [groups] PacketEvent groups
@property {boolean} broadcast PacketEvent broadcast
 
Constructs a new PacketEvent.
@memberof packets
@classdesc Represents a PacketEvent.
@implements IPacketEvent
@constructor
@param {packets.IPacketEvent=} [properties] Properties to set
Properties of a PacketEvent .