mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 17:54:52 +08:00
Type initialization using objects
This commit is contained in:
@@ -5,9 +5,19 @@ import ObjectReferenceEntity from "./ObjectReferenceEntity"
|
||||
export default class MacroGraphReferenceEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
MacroGraph: ObjectReferenceEntity,
|
||||
GraphBlueprint: ObjectReferenceEntity,
|
||||
GraphGuid: GuidEntity,
|
||||
MacroGraph: {
|
||||
type: ObjectReferenceEntity,
|
||||
},
|
||||
GraphBlueprint: {
|
||||
type: ObjectReferenceEntity,
|
||||
},
|
||||
GraphGuid: {
|
||||
type: GuidEntity,
|
||||
},
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes)
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
|
||||
Reference in New Issue
Block a user