MCPcopy Create free account
hub / github.com/crossuo/crossuo / UpdateContent

Method UpdateContent

src/Gumps/GumpScreenSelectProfession.cpp:59–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void CGumpScreenSelectProfession::UpdateContent()
60{
61 Clear();
62
63 if (g_ProfessionManager.Selected == nullptr)
64 {
65 g_GameWindow.ShowMessage("No items in profession manager!", "Profession error!");
66 return;
67 }
68
69 if (g_Config.ClientVersion >= CV_308Z)
70 {
71 UpdateContentNew();
72 }
73 else
74 {
75 UpdateContentOld();
76 }
77}
78
79void CGumpScreenSelectProfession::UpdateContentOld()
80{

Callers

nothing calls this directly

Calls 2

ClearFunction · 0.85
ShowMessageMethod · 0.80

Tested by

no test coverage detected