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

Method RecreateTextContainer

src/engine/client/text.cpp:2074–2078  ·  view source on GitHub ↗

just deletes and creates text container

Source from the content-addressed store, hash-verified

2072
2073 // just deletes and creates text container
2074 void RecreateTextContainer(STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length = -1) override
2075 {
2076 DeleteTextContainer(TextContainerIndex);
2077 CreateTextContainer(TextContainerIndex, pCursor, pText, Length);
2078 }
2079
2080 void RecreateTextContainerSoft(STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length = -1) override
2081 {

Callers 4

RenderScoreHudMethod · 0.80
RenderDDRaceEffectsMethod · 0.80
RenderServerInfoMotdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected