Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
nextAPI_t Struct Reference

Public Member Functions

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

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.

◆ NPC()

entity nextAPI_t::NPC ( entity lastNPC)

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

Parameters
lastNPCThe 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: