mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-24 07:44:42 +08:00
Naming refactoring
This commit is contained in:
@@ -7,8 +7,4 @@ export default class FunctionReferenceEntity extends IEntity {
|
||||
MemberParent: ObjectReferenceEntity,
|
||||
MemberName: ""
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return FunctionReferenceEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,10 +18,6 @@ export default class GuidEntity extends IEntity {
|
||||
return new GuidEntity({ valud: guid })
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return GuidEntity.attributes
|
||||
}
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ export default class IEntity {
|
||||
target[property] = defaultValue
|
||||
}
|
||||
}
|
||||
defineAllAttributes([], this, this.getAttributes())
|
||||
defineAllAttributes([], this, this.constructor.attributes)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,6 @@ export default class IntegerEntity extends IEntity {
|
||||
value: Number
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return IntegerEntity.attributes
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
if (options.constructor === Number || options.constructor === String) {
|
||||
options = {
|
||||
|
||||
@@ -9,8 +9,4 @@ export default class KeyBindingEntity extends IEntity {
|
||||
Key: String,
|
||||
CommandName: String,
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return KeyBindingEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,4 @@ export default class LocalizedTextEntity extends IEntity {
|
||||
key: String,
|
||||
value: String
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return LocalizedTextEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,10 +25,6 @@ export default class ObjectEntity extends IEntity {
|
||||
CustomProperties: [PinEntity]
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return ObjectEntity.attributes
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {String} The name of the node
|
||||
|
||||
@@ -6,8 +6,4 @@ export default class ObjectReferenceEntity extends IEntity {
|
||||
type: String,
|
||||
path: String
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return ObjectReferenceEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,6 @@ export default class PathSymbolEntity extends IEntity {
|
||||
value: String
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return PathSymbolEntity.attributes
|
||||
}
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
@@ -38,10 +38,6 @@ export default class PinEntity extends IEntity {
|
||||
bOrphanedPin: false,
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return PinEntity.attributes
|
||||
}
|
||||
|
||||
isInput() {
|
||||
return !this.bHidden && this.Direction !== "EGPD_Output"
|
||||
}
|
||||
|
||||
@@ -8,8 +8,4 @@ export default class PinReferenceEntity extends IEntity {
|
||||
objectName: PathSymbol,
|
||||
pinGuid: GuidEntity
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return PinReferenceEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,4 @@ export default class VariableReferenceEntity extends IEntity {
|
||||
MemberGuid: GuidEntity,
|
||||
bSelfContext: false
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return VariableReferenceEntity.attributes
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user