Difference between revisions of "GetBlobSize"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 5: Line 5:
  
 
Usage example:
 
Usage example:
<syntaxhighlight lang="cpp">
+
<syntaxhighlight lang="cpp" highlight="3">
 
for ( int i = 0; i < getBlobsSize(); i++ )
 
for ( int i = 0; i < getBlobsSize(); i++ )
 
{
 
{

Revision as of 22:05, 19 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
}