MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getText

Method getText

Engine/source/gui/controls/guiTreeViewCtrl.cpp:365–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363//-----------------------------------------------------------------------------
364
365StringTableEntry GuiTreeViewCtrl::Item::getText()
366{
367 if(mState.test(InspectorData))
368 {
369 Con::errorf("Tried to get the text for item %d, which is InspectorData!", mId);
370 return NULL;
371 }
372
373 return ( mScriptInfo.mText ) ? mScriptInfo.mText : StringTable->EmptyString();
374}
375
376//-----------------------------------------------------------------------------
377

Callers 5

getItemTextMethod · 0.45
findItemByNameMethod · 0.45
getTextToRootMethod · 0.45
onRenameValidateMethod · 0.45

Calls 3

errorfFunction · 0.85
EmptyStringMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected