Difference between revisions of "GetBlobSize"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 8: Line 8:
 
for ( int i = 0; i < getBlobsSize(); i++ )
 
for ( int i = 0; i < getBlobsSize(); i++ )
 
{
 
{
   [[CBlob]]@ blob = [[getBlob]](i);
+
   CBlob@ blob = getBlob(i);
 
   // Do something to the blob
 
   // Do something to the blob
 
}
 
}

Revision as of 15:51, 15 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
}