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

Method Name

ogsr_engine/xrGame/PDA.cpp:271–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271LPCSTR CPda::Name()
272{
273 if (!m_SpecificChracterOwner.size())
274 return inherited::Name();
275
276 if (m_sFullName.empty())
277 {
278 m_sFullName.assign(inherited::Name());
279
280 CSpecificCharacter spec_char;
281 spec_char.Load(m_SpecificChracterOwner);
282 m_sFullName += " ";
283 m_sFullName += xr_string(spec_char.Name());
284 }
285
286 return m_sFullName.c_str();
287}
288
289CPda* CPda::GetPdaFromOwner(CObject* owner) { return smart_cast<CInventoryOwner*>(owner)->GetPDA(); }
290

Callers 15

check_objectFunction · 0.45
AnswerPhraseMethod · 0.45
IR_OnKeyboardPressMethod · 0.45
get_foot_positionMethod · 0.45
~CScriptBinderObjectMethod · 0.45
FindParticlesMethod · 0.45
LoadMethod · 0.45
PlayMethod · 0.45
RenderMethod · 0.45
PhDataUpdateMethod · 0.45
set_hit_initiatorMethod · 0.45
CheckInfoMethod · 0.45

Calls 6

NameFunction · 0.50
sizeMethod · 0.45
emptyMethod · 0.45
assignMethod · 0.45
LoadMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected