GetBlob

From King Arthur's Gold Wiki
Revision as of 15:20, 15 August 2012 by Shadlington (Talk | contribs)

Jump to: navigation, search

Returns a reference to the CBlob with the given index in the list of blobs that currently exist.

[[CBlob]]@ getBlob(u32 index)

Probably not required unless looping through all blobs for some reason, in which case something like this might work:

for ( int i = 0; i < [[getBlobsSize]](); i++ )
{
  [[CBlob]]@ blob = getBlob(i);
  // Do something to the blob
}