Difference between revisions of "GetBlobSize"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns the number of CBlobs that are currently active. </onlyinclude> <syntaxhighlight lang="cpp">u32 getBlobsSize()</syntaxhighlight> Usage example: <syntaxh...")
 
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
}