all files / node-csgo-parser/lib/ Collection.js

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                        39× 39× 39×      
'use strict';
/* jshint node: true */
 
 /**
 * @typedef Collection
 * @type Object
 * @property {String} name I18N name of the collection
 * @property {String} techName Technical name of the collection
 * @property {Array.<SkinPaint>} content skins List of skins for this Collection (Doe'nt contain knifes)
 */
 
/**
 * Standard return for a collection
 * @class Weapon
 */
class Collection {
	/**
	 * @constructor
	 */
	constructor(name, techName, defIndex, content){
		this.name = name;
		this.techName = techName;
		this.content = content;
	}
}
 
module.exports = Collection;