MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetTarget

Method GetTarget

Source/PatchCableSource.cpp:727–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727IClickable* PatchCableSource::GetTarget() const
728{
729 if (mPatchCables.empty() || mPatchCables[0] == nullptr)
730 return nullptr;
731 else
732 return mPatchCables[0]->GetTarget();
733}
734
735void PatchCableSource::SaveState(FileStreamOut& out)
736{

Callers 7

AddPatchCableMethod · 0.45
SetPatchCableTargetMethod · 0.45
UpdatePositionMethod · 0.45
RenderMethod · 0.45
RemovePatchCableMethod · 0.45
SetTargetMethod · 0.45
SaveStateMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected