Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
PeerConfig.c
Go to the documentation of this file.
1[BaseContainerProps(), PeerConfigViewTitle()]
3{
4 [Attribute("Peer Config", UIWidgets.EditBox, "Title string for the peer config.")]
5 string Title;
6
7 [Attribute("true", UIWidgets.CheckBox)]
8 bool Enabled;
9
10 [Attribute("-1", UIWidgets.EditBox, "Horizontal coordinate on the screen if running in window mode. Default if -1.")]
11 int X;
12
13 [Attribute("-1", UIWidgets.EditBox, "Vertical coordinate on the screen if running in window mode. Default if -1.")]
14 int Y;
15
16 [Attribute("-1", UIWidgets.EditBox, "Width of the peer window if running in window mode. Default if -1.")]
17 int Width;
18
19 [Attribute("-1", UIWidgets.EditBox, "Height of the peer window if running in window mode. Default if -1.")]
20 int Height;
21
22 [Attribute("true", UIWidgets.CheckBox, "If true the peer will run in window mode.")]
23 bool Windowed;
24
25 [Attribute("true", UIWidgets.CheckBox, "If true the peer will run at full speed even when its window doesn't have focus.")]
26 bool ForceUpdate;
27
28 [Attribute("true", UIWidgets.CheckBox, "If true the peer won't steal focus from the current active window.")]
29 bool NoFocus;
30
31 [Attribute("-1", UIWidgets.EditBox, "Maximum allowed FPS. No limit if -1.")]
32 int MaxFPS;
33
34 [Attribute("true", UIWidgets.CheckBox, "If true, the peer joins the running server immediately.")]
35 bool RplAutoJoin;
36 [Attribute("true", UIWidgets.CheckBox, "If true, any time the connection is droppped an attempt to reconnect is made.")]
37 bool RplAutoReconnect;
38 [Attribute("true", UIWidgets.CheckBox, "If true, no network-related timeout will result in disconnect. Necessary for debugging. Don't use for anything else.")]
39 bool RplDisableTimeout;
40
41 [Attribute("PeerPlugin", UIWidgets.EditBox, "Profile name used for the peer. A suffix of <PeerIndex> is added to the name.")]
42 string Profile;
43
44 [Attribute("", UIWidgets.EditBox, "Custom parameters.")]
45 string Params;
46
47 ProcessHandle Handle = null;
48}
49
50//------------------------------------------------------------------------------------------------
52class PeerConfigViewTitle: BaseContainerCustomTitle
53{
54 //------------------------------------------------------------------------------------------------
55 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
56 {
57 string titleVar;
58 source.Get("Title", titleVar);
59 title = titleVar;
61 bool enabled;
62 source.Get("Enabled", enabled);
63 if (enabled)
64 title += " (Enabled)";
65
66 return true;
67 }
68};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_FieldOfViewSettings Attribute
class SCR_BaseManualCameraComponent _WB_GetCustomTitle(BaseContainer source, out string title)