csgo-items-parser
Version:
Extract Items/Skins/... from raw VDF data files
31 lines (25 loc) • 765 B
JavaScript
/* jshint node: true */
/**
* @typedef Prefab
* @type Object
* @property {String} name I18N name of the prefab object
* @property {String} techName Technical name of the prefab object
* @property {String} defIndex Index/Key of the prefab
* @property {String} type Type of the prefab object
*/
/**
* Standard return for a Prefab.
* @class
*/
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Prefab =
/** @constructor */
function Prefab(name, techName, defIndex, type) {
_classCallCheck(this, Prefab);
this.name = name;
this.techName = techName;
this.defIndex = defIndex;
this.type = type;
};
module.exports = Prefab;
;