deadem
Version:
JavaScript (Node.js & Browsers) parser for Deadlock (Valve Source 2 Engine) demo/replay files
30 lines (26 loc) • 485 B
JavaScript
class EntityMutation {
/**
* @constructor
* @param {FieldPath} fieldPath
* @param {*} value
*/
constructor(fieldPath, value) {
this._fieldPath = fieldPath;
this._value = value;
}
/**
* @public
* @returns {FieldPath}
*/
get fieldPath() {
return this._fieldPath;
}
/**
* @public
* @returns {*}
*/
get value() {
return this._value;
}
}
export default EntityMutation;