mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
Bugfixes, added pin types, colors
This commit is contained in:
@@ -9,6 +9,7 @@ import LocalizedTextEntity from "./LocalizedTextEntity"
|
||||
import ObjectReferenceEntity from "./ObjectReferenceEntity"
|
||||
import PathSymbolEntity from "./PathSymbolEntity"
|
||||
import PinReferenceEntity from "./PinReferenceEntity"
|
||||
import PinTypeEntity from "./PinTypeEntity"
|
||||
import RotatorEntity from "./RotatorEntity"
|
||||
import SimpleSerializationRotatorEntity from "./SimpleSerializationRotatorEntity"
|
||||
import SimpleSerializationVector2DEntity from "./SimpleSerializationVector2DEntity"
|
||||
@@ -72,7 +73,7 @@ export default class PinEntity extends IEntity {
|
||||
value: null,
|
||||
},
|
||||
PinValueType: {
|
||||
type: String,
|
||||
type: PinTypeEntity,
|
||||
value: null,
|
||||
},
|
||||
ContainerType: {
|
||||
@@ -131,7 +132,7 @@ export default class PinEntity extends IEntity {
|
||||
* PinSubCategory: String,
|
||||
* PinSubCategoryObject: ObjectReferenceEntity,
|
||||
* PinSubCategoryMemberReference: FunctionReferenceEntity,
|
||||
* PinValueType: String,
|
||||
* PinValueType: PinTypeEntity,
|
||||
* ContainerType: PathSymbolEntity,
|
||||
* bIsReference: Boolean,
|
||||
* bIsConst: Boolean,
|
||||
|
||||
40
js/entity/PinTypeEntity.js
Normal file
40
js/entity/PinTypeEntity.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import IEntity from "./IEntity"
|
||||
|
||||
export default class PinTypeEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
TerminalCategory: {
|
||||
value: "",
|
||||
showDefault: false,
|
||||
},
|
||||
TerminalSubCategory: {
|
||||
value: "",
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsConst: {
|
||||
value: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsWeakPointer: {
|
||||
value: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsUObjectWrapper: {
|
||||
value: false,
|
||||
showDefault: false,
|
||||
},
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes)
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
super(values)
|
||||
/** @type {String} */ this.TerminalCategory
|
||||
/** @type {String} */ this.TerminalSubCategory
|
||||
/** @type {Boolean} */ this.bTerminalIsConst
|
||||
/** @type {Boolean} */ this.bTerminalIsWeakPointer
|
||||
/** @type {Boolean} */ this.bTerminalIsUObjectWrapper
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user