mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 02:10:38 +08:00
Type initialization using objects
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
import IEntity from "./IEntity"
|
||||
import GuidEntity from "./GuidEntity"
|
||||
import TypeInitialization from "./TypeInitialization"
|
||||
|
||||
export default class VariableReferenceEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
MemberScope: new TypeInitialization(String, false),
|
||||
MemberName: String,
|
||||
MemberGuid: GuidEntity,
|
||||
bSelfContext: new TypeInitialization(Boolean, false, false)
|
||||
MemberScope: {
|
||||
value: "",
|
||||
showDefault: false,
|
||||
},
|
||||
MemberName: "",
|
||||
MemberGuid: {
|
||||
type: GuidEntity,
|
||||
},
|
||||
bSelfContext: {
|
||||
value: false,
|
||||
showDefault: false,
|
||||
},
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
|
||||
Reference in New Issue
Block a user