| 69 | } |
| 70 | |
| 71 | static DropDownList BuildVisibilityDropDownList() |
| 72 | { |
| 73 | DropDownList list; |
| 74 | |
| 75 | list.push_back(MakeDropDownListStringItem(STR_NETWORK_SERVER_VISIBILITY_LOCAL, SERVER_GAME_TYPE_LOCAL)); |
| 76 | list.push_back(MakeDropDownListStringItem(STR_NETWORK_SERVER_VISIBILITY_INVITE_ONLY, SERVER_GAME_TYPE_INVITE_ONLY)); |
| 77 | list.push_back(MakeDropDownListStringItem(STR_NETWORK_SERVER_VISIBILITY_PUBLIC, SERVER_GAME_TYPE_PUBLIC)); |
| 78 | |
| 79 | return list; |
| 80 | } |
| 81 | |
| 82 | typedef GUIList<NetworkGame*, std::nullptr_t, StringFilter&> GUIGameServerList; |
| 83 | typedef int ServerListPosition; |
no test coverage detected