Module visual_script

Procs

proc data*(self: VisualScript): Dictionary {.
gcsafe, locks: 0
.}
proc `data =`*(self: VisualScript; val: Dictionary) {.
gcsafe, locks: 0
.}
proc addFunction*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc hasFunction*(self: VisualScript; name: string): bool {.
gcsafe, locks: 0
.}
proc removeFunction*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc renameFunction*(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0
.}
proc setFunctionScroll*(self: VisualScript; name: string; ofs: Vector2) {.
gcsafe, locks: 0
.}
proc getFunctionScroll*(self: VisualScript; name: string): Vector2 {.
gcsafe, locks: 0
.}
proc addNode*(self: VisualScript; funcc: string; id: int64; node: VisualScriptNode;
             pos: Vector2 = vec2(0.0, 0.0)) {.
gcsafe, locks: 0
.}
proc removeNode*(self: VisualScript; funcc: string; id: int64) {.
gcsafe, locks: 0
.}
proc getFunctionNodeId*(self: VisualScript; name: string): int64 {.
gcsafe, locks: 0
.}
proc getNode*(self: VisualScript; funcc: string; id: int64): VisualScriptNode {.
gcsafe, locks: 0
.}
proc hasNode*(self: VisualScript; funcc: string; id: int64): bool {.
gcsafe, locks: 0
.}
proc setNodePos*(self: VisualScript; funcc: string; id: int64; pos: Vector2) {.
gcsafe, locks: 0
.}
proc getNodePos*(self: VisualScript; funcc: string; id: int64): Vector2 {.
gcsafe, locks: 0
.}
proc sequenceConnect*(self: VisualScript; funcc: string; fromNode: int64;
                     fromOutput: int64; toNode: int64) {.
gcsafe, locks: 0
.}
proc sequenceDisconnect*(self: VisualScript; funcc: string; fromNode: int64;
                        fromOutput: int64; toNode: int64) {.
gcsafe, locks: 0
.}
proc hasSequenceConnection*(self: VisualScript; funcc: string; fromNode: int64;
                           fromOutput: int64; toNode: int64): bool {.
gcsafe, locks: 0
.}
proc dataConnect*(self: VisualScript; funcc: string; fromNode: int64; fromPort: int64;
                 toNode: int64; toPort: int64) {.
gcsafe, locks: 0
.}
proc dataDisconnect*(self: VisualScript; funcc: string; fromNode: int64;
                    fromPort: int64; toNode: int64; toPort: int64) {.
gcsafe, locks: 0
.}
proc hasDataConnection*(self: VisualScript; funcc: string; fromNode: int64;
                       fromPort: int64; toNode: int64; toPort: int64): bool {.
gcsafe, locks: 0
.}
proc addVariable*(self: VisualScript; name: string;
                 defaultValue: Variant = newVariant(); exportt: bool = false) {.
gcsafe, locks: 0
.}
proc hasVariable*(self: VisualScript; name: string): bool {.
gcsafe, locks: 0
.}
proc removeVariable*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc setVariableDefaultValue*(self: VisualScript; name: string; value: Variant) {.
gcsafe, locks: 0
.}
proc getVariableDefaultValue*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc setVariableInfo*(self: VisualScript; name: string; value: Dictionary) {.
gcsafe, locks: 0
.}
proc getVariableInfo*(self: VisualScript; name: string): Dictionary {.
gcsafe, locks: 0
.}
proc setVariableExport*(self: VisualScript; name: string; enable: bool) {.
gcsafe, locks: 0
.}
proc getVariableExport*(self: VisualScript; name: string): bool {.
gcsafe, locks: 0
.}
proc renameVariable*(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0
.}
proc addCustomSignal*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc hasCustomSignal*(self: VisualScript; name: string): bool {.
gcsafe, locks: 0
.}
proc customSignalAddArgument*(self: VisualScript; name: string; typee: int64;
                             argname: string; index: int64 = - 1'i64) {.
gcsafe, locks: 0
.}
proc customSignalSetArgumentType*(self: VisualScript; name: string; argidx: int64;
                                 typee: int64) {.
gcsafe, locks: 0
.}
proc customSignalGetArgumentType*(self: VisualScript; name: string; argidx: int64): int64 {.
gcsafe, locks: 0
.}
proc customSignalSetArgumentName*(self: VisualScript; name: string; argidx: int64;
                                 argname: string) {.
gcsafe, locks: 0
.}
proc customSignalGetArgumentName*(self: VisualScript; name: string; argidx: int64): string {.
gcsafe, locks: 0
.}
proc customSignalRemoveArgument*(self: VisualScript; name: string; argidx: int64) {.
gcsafe, locks: 0
.}
proc customSignalGetArgumentCount*(self: VisualScript; name: string): int64 {.
gcsafe, locks: 0
.}
proc customSignalSwapArgument*(self: VisualScript; name: string; argidx: int64;
                              withidx: int64) {.
gcsafe, locks: 0
.}
proc removeCustomSignal*(self: VisualScript; name: string) {.
gcsafe, locks: 0
.}
proc renameCustomSignal*(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0
.}
proc setInstanceBaseType*(self: VisualScript; typee: string) {.
gcsafe, locks: 0
.}

Methods

method nodePortsChanged*(self: VisualScript; arg0: int64) {.
gcsafe, locks: 0, base
.}