mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
* Entities semplification WIP * Bug fixes after entity semplification * Fix object serialization
30 lines
747 B
JavaScript
Executable File
30 lines
747 B
JavaScript
Executable File
import GuidEntity from "./GuidEntity.js"
|
|
import IEntity from "./IEntity.js"
|
|
import ObjectReferenceEntity from "./ObjectReferenceEntity.js"
|
|
|
|
export default class FunctionReferenceEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
MemberParent: {
|
|
type: ObjectReferenceEntity,
|
|
},
|
|
MemberName: {
|
|
type: String,
|
|
},
|
|
MemberGuid: {
|
|
type: GuidEntity,
|
|
},
|
|
}
|
|
|
|
static {
|
|
this.cleanupAttributes(this.attributes)
|
|
}
|
|
|
|
constructor(values) {
|
|
super(values)
|
|
/** @type {ObjectReferenceEntity} */ this.MemberParent
|
|
/** @type {String} */ this.MemberName
|
|
/** @type {GuidEntity} */ this.MemberGuid
|
|
}
|
|
}
|