MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / StopTalk

Method StopTalk

ogsr_engine/xrGame/InventoryOwner.cpp:265–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263#include <string_table.h>
264
265void CInventoryOwner::StopTalk()
266{
267 m_pTalkPartner = NULL;
268 m_bTalking = false;
269
270 GetTrade()->StopTrade();
271
272 CUIGameSP* ui_sp = smart_cast<CUIGameSP*>(HUD().GetUI()->UIGame());
273 if (ui_sp && ui_sp->TalkMenu->IsShown())
274 ui_sp->TalkMenu->Stop();
275}
276
277bool CInventoryOwner::IsTalking() { return m_bTalking; }
278

Callers 1

HideMethod · 0.45

Calls 5

UIGameMethod · 0.80
GetUIMethod · 0.80
IsShownMethod · 0.80
StopTradeMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected