Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
GraphNode.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
18
22 static const int NAME;
24
25 //Used to describe ports of a nodes that are not static but dynamic
26 static void GetPortsInfo(BaseContainer graphSrc, BaseContainer nodeSrc, notnull array<ref GraphPortInfo> inputPorts, notnull array<ref GraphPortInfo> outputPorts);
27 private void GraphNode() {}
28
29 proto external string GetName();
31 proto external GraphNodePortBase GetPort(int id, EGraphNodePortDirection direction);
32 proto external GraphNodePortBase FindPort(string portName, EGraphNodePortDirection direction);
34 proto external int GetPortConnectionsCount(int id, EGraphNodePortDirection direction);
36 proto external int GetTotalConnectionsCount();
38 proto external vector GetLocalPosition();
40 proto external void SetLocalPosition(vector localPos);
42 proto external vector GetPosition();
44 proto external vector GetSize();
45 proto external void SetHeaderColor(notnull Color headerColor);
46 proto external ref Color GetHeaderColor();
47 proto external void SetBackgroundColor(notnull Color backgroundColor);
48 proto external ref Color GetBackgroundColor();
49 proto external void SetSelectedColor(notnull Color selectedColor);
50 proto external ref Color GetSelectedColor();
51 proto external void SetUnselectedColor(notnull Color selectedColor);
52 proto external ref Color GetUnselectedColor();
53
54 // callbacks
55
57 event typename GetPortType(int portId, EGraphNodePortDirection portDirection, owned string name);
58 event void Render(notnull GraphWidget graphWidget, notnull GraphNodeView view);
59}
60
vector direction
EGraphNodePortDirection