mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
21 lines
459 B
JavaScript
Executable File
21 lines
459 B
JavaScript
Executable File
import IEntity from "./IEntity"
|
|
|
|
export default class ObjectReferenceEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
type: String,
|
|
path: String,
|
|
}
|
|
|
|
constructor(options = {}) {
|
|
if (options.constructor !== Object) {
|
|
options = {
|
|
path: options
|
|
}
|
|
}
|
|
super(options)
|
|
/** @type {String} */ this.type
|
|
/** @type {String} */ this.path
|
|
}
|
|
}
|