mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 00:24:48 +08:00
41 lines
1.3 KiB
JavaScript
41 lines
1.3 KiB
JavaScript
import Entity from "./Entity";
|
|
import Guid from "../Guid";
|
|
import ObjectReferenceEntity from "./ObjectReferenceEntity";
|
|
import TypeInitialization from "./TypeInitialization";
|
|
import LocalizedTextEntity from "./LocalizedTextEntity";
|
|
|
|
export default class PinEntity extends Entity {
|
|
static attributes = {
|
|
PinId: Guid,
|
|
PinName: "",
|
|
PinFriendlyName: new TypeInitialization(new LocalizedTextEntity(), false),
|
|
PinToolTip: "",
|
|
Direction: new TypeInitialization("", false),
|
|
PinType: {
|
|
PinCategory: "",
|
|
PinSubCategory: "",
|
|
PinSubCategoryObject: ObjectReferenceEntity,
|
|
PinSubCategoryMemberReference: null,
|
|
PinValueType: null,
|
|
ContainerType: ObjectReferenceEntity,
|
|
bIsReference: false,
|
|
bIsConst: false,
|
|
bIsWeakPointer: false,
|
|
bIsUObjectWrapper: false
|
|
},
|
|
LinkedTo: Guid,
|
|
DefaultValue: "",
|
|
AutogeneratedDefaultValue: "",
|
|
PersistentGuid: Guid,
|
|
bHidden: false,
|
|
bNotConnectable: false,
|
|
bDefaultValueIsReadOnly: false,
|
|
bDefaultValueIsIgnored: false,
|
|
bAdvancedView: false,
|
|
bOrphanedPin: false,
|
|
}
|
|
|
|
getAttributes() {
|
|
return PinEntity.attributes
|
|
}
|
|
} |