MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / OnButtonClicked

Method OnButtonClicked

engine/Poseidon/UI/DisplayUIMultiplayer.cpp:253–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 switch (idc)
252 {
253 case IDC_FILTER_FULL:
254 _filter.fullServers = !_filter.fullServers;
255 UpdateButtons();
256 break;
257 case IDC_FILTER_PASSWORDED:
258 _filter.passwordedServers = !_filter.passwordedServers;
259 UpdateButtons();
260 break;
261 case IDC_FILTER_DEFAULT:
262 _filter = SessionFilter();
263 UpdateValues();
264 UpdateButtons();
265 break;
266 default:
267 base::OnButtonClicked(idc);
268 break;
269 }
270}
271
272bool DisplaySessionFilter::CanDestroy()
273{
274 return base::CanDestroy();
275}
276
277void DisplaySessionFilter::Destroy()

Callers

nothing calls this directly

Calls 15

SessionFilterClass · 0.85
CreateDisplayIPAddressFunction · 0.85
GetCtrlFunction · 0.85
LocalizeStringFunction · 0.85
SetMissionFunction · 0.85
GetWorldNameFunction · 0.85
CreateEditorFunction · 0.85
ParseMissionFunction · 0.85
CreateSessionMethod · 0.80
VisibleRowMethod · 0.80
JoinSessionMethod · 0.80
SwitchLandscapeMethod · 0.80

Tested by

no test coverage detected