mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
21 lines
412 B
JavaScript
21 lines
412 B
JavaScript
import Entity from "./Entity"
|
|
|
|
export default class ObjectReferenceEntity extends Entity {
|
|
|
|
static attributes = {
|
|
type: "",
|
|
path: ""
|
|
}
|
|
|
|
getAttributes() {
|
|
return ObjectReferenceEntity.attributes
|
|
}
|
|
|
|
toString() {
|
|
return (this.type ?? "") + (
|
|
this.path
|
|
? this.type ? `'"${this.path}"'` : this.path
|
|
: ""
|
|
)
|
|
}
|
|
} |