Difference between revisions of "GetPlayingBlobsSize"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns the number of CBlobs that represent currently living players. </onlyinclude> <syntaxhighlight lang="cpp">u32 getPlayingBlobsSize()</syntaxhighlight> Us...")
(No difference)

Revision as of 21:09, 14 August 2012

Returns the number of CBlobs that represent currently living players.

u32 getPlayingBlobsSize()

Usage example:

for ( int i = 0; i < getPlayingBlobsSize(); i++ )
{
  [[CBlob]]@ blob = [[getPlayingBlob]](i);
  // Do something to this player
}