mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 00:24:48 +08:00
Type documenting
This commit is contained in:
11
dist/ueblueprint.js
vendored
11
dist/ueblueprint.js
vendored
@@ -997,6 +997,8 @@ class GuidEntity extends IEntity {
|
||||
return new GuidEntity({ valud: guid })
|
||||
}
|
||||
|
||||
/** @type {String} */ value
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
@@ -1018,6 +1020,8 @@ class IntegerEntity extends IEntity {
|
||||
this.value = Math.round(this.value);
|
||||
}
|
||||
|
||||
/** @type {Number} */ value
|
||||
|
||||
valueOf() {
|
||||
return this.value
|
||||
}
|
||||
@@ -1060,6 +1064,9 @@ class PinReferenceEntity extends IEntity {
|
||||
objectName: PathSymbolEntity,
|
||||
pinGuid: GuidEntity
|
||||
}
|
||||
|
||||
/** @type {PathSymbolEntity} */ objectName
|
||||
/** @type {GuidEntity} */ pinGuid
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1162,6 +1169,10 @@ class VariableReferenceEntity extends IEntity {
|
||||
MemberGuid: GuidEntity,
|
||||
bSelfContext: false
|
||||
}
|
||||
|
||||
/** @type {String} */ MemberName
|
||||
/** @type {GuidEntity} */ MemberGuid
|
||||
/** @type {Boolean} */ bSelfContext
|
||||
}
|
||||
|
||||
class ObjectEntity extends IEntity {
|
||||
|
||||
@@ -18,6 +18,8 @@ export default class GuidEntity extends IEntity {
|
||||
return new GuidEntity({ valud: guid })
|
||||
}
|
||||
|
||||
/** @type {String} */ value
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
@@ -16,6 +16,8 @@ export default class IntegerEntity extends IEntity {
|
||||
this.value = Math.round(this.value)
|
||||
}
|
||||
|
||||
/** @type {Number} */ value
|
||||
|
||||
valueOf() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
@@ -8,4 +8,7 @@ export default class PinReferenceEntity extends IEntity {
|
||||
objectName: PathSymbolEntity,
|
||||
pinGuid: GuidEntity
|
||||
}
|
||||
|
||||
/** @type {PathSymbolEntity} */ objectName
|
||||
/** @type {GuidEntity} */ pinGuid
|
||||
}
|
||||
|
||||
@@ -8,4 +8,8 @@ export default class VariableReferenceEntity extends IEntity {
|
||||
MemberGuid: GuidEntity,
|
||||
bSelfContext: false
|
||||
}
|
||||
|
||||
/** @type {String} */ MemberName
|
||||
/** @type {GuidEntity} */ MemberGuid
|
||||
/** @type {Boolean} */ bSelfContext
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user