Difference between revisions of "GetBlobSize"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) |
Shadlington (Talk | contribs) |
||
Line 2: | Line 2: | ||
Returns the number of [[CBlob]]s that currently exist. | Returns the number of [[CBlob]]s that currently exist. | ||
</onlyinclude> | </onlyinclude> | ||
− | <syntaxhighlight lang="cpp">u32 getBlobsSize()</syntaxhighlight> | + | <syntaxhighlight lang="cpp"> |
+ | u32 getBlobsSize() | ||
+ | </syntaxhighlight> | ||
Usage example: | Usage example: |
Latest revision as of 12:49, 28 August 2012
Returns the number of CBlobs that currently exist.
u32 getBlobsSize()
Usage example:
for ( int i = 0; i < getBlobsSize(); i++ ) { CBlob@ blob = getBlob(i); // Do something to the blob }