Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Room.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12sealed class Room
13{
14 private void Room();
15 private void ~Room();
16
17 /*
18 \brief Returns true for official dedicated server and false for community servers.
19 */
20 proto external bool Official();
21 /*
22 \brief Does the server require a password to join.
23 */
24 proto external bool PasswordProtected();
25 /*
26 \brief Returns false if the server is not ready to receive players (e.g. is restarting / has some network issues / just crashed etc.)
27 */
28 proto external bool Joinable();
29 /*
30 \brief Load informations about hosted addons. User has to be authorized first.
31 */
32 proto external void LoadDownloadList(BackendCallback callback);
33 /*
34 \brief Is the list of hosted addons ready or should we load it (LoadDownloadList)
35 */
36 proto external bool IsDownloadListLoaded();
37 /*
38 \brief Returns supported game version of server
39 */
40 proto external string GameVersion();
41 /*
42 \brief Returns region in which server is located
43 */
44 [Obsolete()]
45 proto external string Region();
46 /*
47 \brief Returns name of server
48 */
49 proto external string Name();
50 /*
51 \brief Returns name of scenario on server
52 */
53 proto external string ScenarioName();
54 /*
55 \brief Addon that contains the hosted scenario
56 */
57 proto external Dependency HostScenarioMod();
58 /*
59 \brief Returns IP address of server
60 */
61 proto external string HostAddress();
62 /*
63 \brief Specifies type of server. Check backend documentation for specific values.
64 */
65 proto external string HostType();
66 /*
67 \brief BI-account name of the server owner (if known)
68 */
69 [Obsolete()]
70 proto external string OwnerName();
71 /*
72 \brief Returns Gamemode name on the server
73 */
74 [Obsolete()]
75 proto external string GameMode();
76 /*
77 \brief Issue Join request to the server. On Successful result can initiate transition to the server.
78 */
79 proto external void Join(BackendCallback callback, JsonApiStruct params);
80 /*
81 \brief Returns maximum number of players allowed on the server.
82 */
83 proto external int PlayerLimit();
84 /*
85 \brief Returns current count of players on the server.
86 */
87 proto external int PlayerCount();
88 /*
89 \returns maximum size of the join queue.
90 */
91 proto external int GetQueueMaxSize();
92 /*
93 \returns current size (how many slots are used) of the join queue.
94 */
95 proto external int GetQueueSize();
96 /*
97 \brief Get current position of user in join queue
98 \returns int value of current position or -1 if user is not in queue of this room
99 */
100 proto external int GetQueueUserPosition();
101 /*
102 \brief Get average time (in seconds) to wait before user is moved by one position in this queue.
103 \note Value calculation is based on how long in average it took previous people in queue to join the server.
104 It is just estimation and might not represent real waiting time.
105 \returns int value of seconds or -1 if there wasn't enough data to compute this value
106 */
107 proto external int GetQueueAvgWaitTime();
108 /*
109 \brief Get time (in seconds) of how long you are in queue since joining it.
110 \returns int value of seconds or -1 if you are not in the queue
111 */
112 proto external int GetQueueJoinTime();
113 /*
114 \brief Get time (in seconds) of how long ago you last moved in queue.
115 \returns int value of seconds or -1 if you did not moved yet
116 */
117 proto external int GetQueueLastMoveTime();
118 /*
119 \brief Set BackendCallback which will be used in periodical polls in queue
120 */
121 proto external void SetQueueBackendCallback(BackendCallback callback);
122 /*
123 \brief Leave join queue
124 */
125 proto external void LeaveJoinQueue();
126 /*
127 \brief Get the list of addons that are present on the server.
128 \note Available just if IsAuthorized() returns true
129 */
130 proto external void GetItems(out notnull array<Dependency> items);
131 /*
132 \brief Returns true of server has mods
133 */
134 proto external bool IsModded();
135 /*
136 \brief Sets favorite state for the server
137 */
138 proto external void SetFavorite(bool favorite, BackendCallback callback);
139 /*
140 \brief Returns true if server is flagged as favorite
141 */
142 proto external bool IsFavorite();
143 /*
144 \brief Are client's mods the same as in this room?
145 */
146 proto external bool IsClientReady();
147 /*
148 \brief Returns true if server is flagged as crossplatform
149 */
150 proto external bool IsCrossPlatform();
151 /*
152 \brief Returns MissionWorkshopItem of currently hosted scenario on the server
153 */
154 proto external MissionWorkshopItem HostScenario();
155 /*
156 \brief Get the last measured ping value.
157 \note The ping is measured between client and a ping site that is assigned to the server.
158 */
159 proto external float GetPing();
160 /*
161 \brief Returns true if server is protected by BattlEye
162 */
163 proto external bool HasBattlEye();
167 proto external bool IsAuthorized();
168 /*
169 \brief Verify if input password is valid and if it is then authorize client
170 */
171 proto external void VerifyPassword(string password, BackendCallback callback);
172 /*
173 \brief Check if client is authorized with previous server - used in case of reconnect without need of reentering the password
174 */
175 proto external void CheckAuthorization(BackendCallback callback);
176}
177
base classes for filtering in server browser