mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-03 05:27:31 +08:00
Fix a bug accessing null
This commit is contained in:
@@ -37,18 +37,18 @@ export default class ObjectEntity extends IEntity {
|
||||
super(options)
|
||||
/** @type {ObjectReferenceEntity} */ this.Class
|
||||
/** @type {String} */ this.Name
|
||||
/** @type {Boolean} */ this.bIsPureFunc
|
||||
/** @type {VariableReferenceEntity} */ this.VariableReference
|
||||
/** @type {FunctionReferenceEntity} */ this.FunctionReference
|
||||
/** @type {FunctionReferenceEntity} */ this.EventReference
|
||||
/** @type {ObjectReferenceEntity} */ this.TargetType
|
||||
/** @type {Boolean?} */ this.bIsPureFunc
|
||||
/** @type {VariableReferenceEntity?} */ this.VariableReference
|
||||
/** @type {FunctionReferenceEntity?} */ this.FunctionReference
|
||||
/** @type {FunctionReferenceEntity?} */ this.EventReference
|
||||
/** @type {ObjectReferenceEntity?} */ this.TargetType
|
||||
/** @type {IntegerEntity} */ this.NodePosX
|
||||
/** @type {IntegerEntity} */ this.NodePosY
|
||||
/** @type {IdentifierEntity} */ this.AdvancedPinDisplay
|
||||
/** @type {IdentifierEntity} */ this.EnabledState
|
||||
/** @type {IdentifierEntity?} */ this.AdvancedPinDisplay
|
||||
/** @type {IdentifierEntity?} */ this.EnabledState
|
||||
/** @type {GuidEntity} */ this.NodeGuid
|
||||
/** @type {IntegerEntity} */ this.ErrorType
|
||||
/** @type {String} */ this.ErrorMsg
|
||||
/** @type {IntegerEntity?} */ this.ErrorType
|
||||
/** @type {String?} */ this.ErrorMsg
|
||||
/** @type {PinEntity[]} */ this.CustomProperties
|
||||
}
|
||||
|
||||
|
||||
@@ -87,10 +87,6 @@ export default class PinEntity extends IEntity {
|
||||
return !this.bHidden && this.Direction == "EGPD_Output"
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
isLinked() {
|
||||
return this.LinkedTo?.length > 0 ?? false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user