mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 00:24:48 +08:00
24 lines
928 B
JavaScript
Executable File
24 lines
928 B
JavaScript
Executable File
import Grammar from "../serialization/Grammar.js"
|
|
import GuidEntity from "./GuidEntity.js"
|
|
import IEntity from "./IEntity.js"
|
|
import ObjectReferenceEntity from "./ObjectReferenceEntity.js"
|
|
import StringEntity from "./StringEntity.js"
|
|
|
|
export default class FunctionReferenceEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
...super.attributes,
|
|
MemberParent: ObjectReferenceEntity,
|
|
MemberName: StringEntity,
|
|
MemberGuid: GuidEntity,
|
|
}
|
|
static grammar = Grammar.createEntityGrammar(this)
|
|
|
|
constructor(values) {
|
|
super(values)
|
|
/** @type {InstanceType<typeof FunctionReferenceEntity.attributes.MemberParent>} */ this.MemberParent
|
|
/** @type {InstanceType<typeof FunctionReferenceEntity.attributes.MemberName>} */ this.MemberName
|
|
/** @type {InstanceType<typeof FunctionReferenceEntity.attributes.MemberGuid>} */ this.MemberGuid
|
|
}
|
|
}
|