]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qh
menu: #undef IMPLEMENTATION
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_join_serverinfo.qh
1 #pragma once
2
3 #include "dialog.qh"
4 CLASS(XonoticServerInfoDialog, XonoticDialog)
5         METHOD(XonoticServerInfoDialog, fill, void(entity));
6         METHOD(XonoticServerInfoDialog, loadServerInfo, void(entity, float));
7         ATTRIB(XonoticServerInfoDialog, title, string, _("Server Information"))
8         ATTRIB(XonoticServerInfoDialog, color, vector, SKINCOLOR_DIALOG_SERVERINFO)
9         ATTRIB(XonoticServerInfoDialog, intendedWidth, float, 0.8)
10         ATTRIB(XonoticServerInfoDialog, rows, float, 18)
11         ATTRIB(XonoticServerInfoDialog, columns, float, 6.2)
12
13         ATTRIB(XonoticServerInfoDialog, currentServerName, string, string_null)
14         ATTRIB(XonoticServerInfoDialog, currentServerCName, string, string_null)
15         ATTRIB(XonoticServerInfoDialog, currentServerType, string, string_null)
16         ATTRIB(XonoticServerInfoDialog, currentServerMap, string, string_null)
17         ATTRIB(XonoticServerInfoDialog, currentServerPlayers, string, string_null)
18         ATTRIB(XonoticServerInfoDialog, currentServerNumPlayers, string, string_null)
19         ATTRIB(XonoticServerInfoDialog, currentServerNumBots, string, string_null)
20         ATTRIB(XonoticServerInfoDialog, currentServerNumFreeSlots, string, string_null)
21         ATTRIB(XonoticServerInfoDialog, currentServerMod, string, string_null)
22         ATTRIB(XonoticServerInfoDialog, currentServerVersion, string, string_null)
23         ATTRIB(XonoticServerInfoDialog, currentServerKey, string, string_null)
24         ATTRIB(XonoticServerInfoDialog, currentServerID, string, string_null)
25         ATTRIB(XonoticServerInfoDialog, currentServerEncrypt, string, string_null)
26         ATTRIB(XonoticServerInfoDialog, currentServerPure, string, string_null)
27
28         ATTRIB(XonoticServerInfoDialog, nameLabel, entity, NULL)
29         ATTRIB(XonoticServerInfoDialog, cnameLabel, entity, NULL)
30         ATTRIB(XonoticServerInfoDialog, typeLabel, entity, NULL)
31         ATTRIB(XonoticServerInfoDialog, mapLabel, entity, NULL)
32         ATTRIB(XonoticServerInfoDialog, rawPlayerList, entity, NULL)
33         ATTRIB(XonoticServerInfoDialog, numPlayersLabel, entity, NULL)
34         ATTRIB(XonoticServerInfoDialog, numBotsLabel, entity, NULL)
35         ATTRIB(XonoticServerInfoDialog, numFreeSlotsLabel, entity, NULL)
36         ATTRIB(XonoticServerInfoDialog, modLabel, entity, NULL)
37         ATTRIB(XonoticServerInfoDialog, versionLabel, entity, NULL)
38         ATTRIB(XonoticServerInfoDialog, keyLabel, entity, NULL)
39         ATTRIB(XonoticServerInfoDialog, idLabel, entity, NULL)
40         ATTRIB(XonoticServerInfoDialog, encryptLabel, entity, NULL)
41         ATTRIB(XonoticServerInfoDialog, canConnectLabel, entity, NULL)
42         ATTRIB(XonoticServerInfoDialog, pureLabel, entity, NULL)
43 ENDCLASS(XonoticServerInfoDialog)
44
45 void Join_Click(entity btn, entity me);