MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / OnSourceModAllInitialized

Method OnSourceModAllInitialized

core/HalfLife2.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void CHalfLife2::OnSourceModAllInitialized()
111{
112 m_MsgTextMsg = g_UserMsgs.GetMessageIndex("TextMsg");
113 m_HinTextMsg = g_UserMsgs.GetMessageIndex("HintText");
114 m_SayTextMsg = g_UserMsgs.GetMessageIndex("SayText");
115 m_VGUIMenu = g_UserMsgs.GetMessageIndex("VGUIMenu");
116 sharesys->AddInterface(NULL, this);
117}
118
119void CHalfLife2::OnSourceModAllInitialized_Post()
120{

Callers

nothing calls this directly

Calls 2

GetMessageIndexMethod · 0.80
AddInterfaceMethod · 0.45

Tested by

no test coverage detected