Suppress warnings for KnotEntity creation

This commit is contained in:
barsdeveloper
2022-12-17 09:56:25 +01:00
parent 479db1e987
commit 6bf1174c38
6 changed files with 69 additions and 53 deletions

View File

@@ -48,8 +48,8 @@ export default class ObjectEntity extends IEntity {
static nameRegex = /^(\w+?)(?:_(\d+))?$/
static sequencerScriptingNameRegex = /\/Script\/SequencerScripting\.MovieSceneScripting(.+)Channel/
constructor(values) {
super(values)
constructor(values, suppressWarns = false) {
super(values, suppressWarns)
/** @type {ObjectReferenceEntity} */ this.Class
/** @type {String} */ this.Name
/** @type {Boolean?} */ this.bIsPureFunc