mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 10:54:42 +08:00
Type initialization using objects
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
import IEntity from "./IEntity"
|
||||
import ObjectReferenceEntity from "./ObjectReferenceEntity"
|
||||
import TypeInitialization from "./TypeInitialization"
|
||||
|
||||
export default class FunctionReferenceEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
MemberParent: new TypeInitialization(ObjectReferenceEntity, false),
|
||||
MemberParent: {
|
||||
type: ObjectReferenceEntity,
|
||||
showDefault: false
|
||||
},
|
||||
MemberName: "",
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes)
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
super(values)
|
||||
/** @type {ObjectReferenceEntity} */ this.MemberParent
|
||||
|
||||
Reference in New Issue
Block a user