Nuclide
Software Development Kit for id Technology (BETA)
nextAPI_t Struct Reference

Public Member Functions

entity Item (entity lastItem)
 Returns the next entity of type 'Item' in the game. More...
 
entity Weapon (entity lastWeapon)
 Returns the next entity of type 'Weapon' in the game. More...
 
entity Actor (entity lastActor)
 Returns the next entity of type 'Actor' in the game. More...
 
entity Player (entity lastPlayer)
 Returns the next entity of type 'Player' in the game. More...
 

Member Function Documentation

◆ Actor()

entity nextAPI_t::Actor ( entity  lastActor)

Returns the next entity of type 'Actor' in the game.

Parameters
lastActorThe previous item, can be world or __NULL__ or 0 to retrieve the first item.
Returns
The next item in the entity pool. Will be world or __NULL__ if none are left.

◆ Item()

entity nextAPI_t::Item ( entity  lastItem)

Returns the next entity of type 'Item' in the game.

Parameters
lastItemThe previous item, can be world or __NULL__ or 0 to retrieve the first item.
Returns
The next item in the entity pool. Will be world or __NULL__ if none are left.

◆ Player()

entity nextAPI_t::Player ( entity  lastPlayer)

Returns the next entity of type 'Player' in the game.

Parameters
lastPlayerThe previous item, can be world or __NULL__ or 0 to retrieve the first item.
Returns
The next item in the entity pool. Will be world or __NULL__ if none are left.

◆ Weapon()

entity nextAPI_t::Weapon ( entity  lastWeapon)

Returns the next entity of type 'Weapon' in the game.

Parameters
lastWeaponThe previous item, can be world or __NULL__ or 0 to retrieve the first item.
Returns
The next item in the entity pool. Will be world or __NULL__ if none are left.

The documentation for this struct was generated from the following file: