MCPcopy Create free account
hub / github.com/ddnet/ddnet / Init

Method Init

src/game/client/ui.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <limits>
20
21void CUIElement::Init(CUi *pUI, int RequestedRectCount)
22{
23 m_pUI = pUI;
24 pUI->AddUIElement(this);
25 if(RequestedRectCount > 0)
26 InitRects(RequestedRectCount);
27}
28
29void CUIElement::InitRects(int RequestedRectCount)
30{

Callers 6

OnInitMethod · 0.45
OnConnectedMethod · 0.45
OnNewSnapshotMethod · 0.45
DetectStrongHookMethod · 0.45
TranslateSnapMethod · 0.45
DoDropDownMethod · 0.45

Calls 1

AddUIElementMethod · 0.80

Tested by

no test coverage detected