Difference between revisions of "GetBlobSize"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Returns the number of CBlobs that are currently active. </onlyinclude> <syntaxhighlight lang="cpp">u32 getBlobsSize()</syntaxhighlight> Usage example: <syntaxh...") |
Shadlington (Talk | contribs) |
||
Line 6: | Line 6: | ||
Usage example: | Usage example: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | for ( i = 0; i < getBlobsSize(); i++ ) | + | for ( int i = 0; i < getBlobsSize(); i++ ) |
{ | { | ||
[[CBlob]]@ blob = [[getBlob]](i); | [[CBlob]]@ blob = [[getBlob]](i); |
Revision as of 21:09, 14 August 2012
Returns the number of CBlobs that are currently active.
u32 getBlobsSize()
Usage example:
for ( int i = 0; i < getBlobsSize(); i++ ) { [[CBlob]]@ blob = [[getBlob]](i); // Do something to the blob }