MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / GetShortName

Method GetShortName

Editor/BaseLibraryItem.cpp:57–66  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

55
56//////////////////////////////////////////////////////////////////////////
57CString CBaseLibraryItem::GetShortName()
58{
59 CString str = GetName();
60 int p = str.Find('.');
61 if (p >= 0)
62 {
63 return str.Mid(p+1);
64 }
65 return str;
66}
67
68//////////////////////////////////////////////////////////////////////////
69void CBaseLibraryItem::SetName( const CString &name )

Callers 8

FillEntityPrototypesMethod · 0.80
FillPrefabsMethod · 0.80
ReloadItemsMethod · 0.80
InsertItemToTreeMethod · 0.80
OnRenameItemMethod · 0.80
AddChildMethod · 0.80
DropToItemMethod · 0.80
DropToItemMethod · 0.80

Calls 2

MidMethod · 0.80
FindMethod · 0.45

Tested by

no test coverage detected