Difference between revisions of "GetBlobByName"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns a reference to the first CBlob with the given name. Probably not very useful. </onlyinclude> <syntaxhighlight lang="cpp">CBlob@ getBlobByName(const ...")
(No difference)

Revision as of 21:46, 14 August 2012

Returns a reference to the first CBlob with the given name. Probably not very useful.

[[CBlob]]@ getBlobByName(const string &in name)

This will not likely be that useful. It returns the first CBlob it finds with the given name. As most CBlobs will have a fairly generic name, there will often be lots of CBlobs with the same name, so you'd be better off using something like getBlobByNetworkId if you need precision.