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

Public Member Functions

nonvirtual void Init (void)
 
nonvirtual void Shutdown (void)
 
nonvirtual void Connect (ncClient connectingClient)
 
nonvirtual void Enter (ncPlayer enteringPlayer)
 Player has entered the game.
 
nonvirtual void Leave (ncPlayer leavingPlayer)
 Player has left the game.
 
nonvirtual void Disconnect (ncPlayer disconnectinggPlayer)
 Player has disconnected from the server.
 
nonvirtual void Respawn (ncPlayer respawningPlayer)
 Player has respawned.
 
nonvirtual void NameChange (ncPlayer changedPlayer, string newName)
 Player has changed their name.
 
nonvirtual void Kill (ncPlayer killedPlayer, ncEntity inflicingEntity, ncEntity attackingEntity, int attackerScoreChange, string attackerWeapon, int killedScoreChange, string deadWeapon)
 Player has been fragged.
 
nonvirtual void PickupItem (ncItem takenItem, ncPlayer inflictingPlayer)
 Log: Item was picked up by a player.
 
nonvirtual void UseItem (ncItem useditem, ncPlayer inflictingPlayer)
 Log: Item was used by a player.
 
nonvirtual void DropItem (ncItem droppedItem, ncPlayer inflictingPlayer)
 Log: Item was dropped by the specified player.
 
nonvirtual void ExpireItem (ncItem expiredItem, ncPlayer inflictingPlayer)
 Log: Item has expired, its time of use has run out.
 
nonvirtual void StartGame (void)
 Log: The beginning of gameplay.
 
nonvirtual void EndGame (string reasonString)
 Log: The end of a game.
 

Member Function Documentation

◆ Connect()

void ncStats::Connect ( ncClient connectingClient)

◆ Disconnect()

void ncStats::Disconnect ( ncPlayer disconnectinggPlayer)

Player has disconnected from the server.

◆ DropItem()

void ncStats::DropItem ( ncItem droppedItem,
ncPlayer inflictingPlayer )

Log: Item was dropped by the specified player.

◆ EndGame()

void ncStats::EndGame ( string reasonString)

Log: The end of a game.

◆ Enter()

void ncStats::Enter ( ncPlayer enteringPlayer)

Player has entered the game.

◆ ExpireItem()

void ncStats::ExpireItem ( ncItem expiredItem,
ncPlayer inflictingPlayer )

Log: Item has expired, its time of use has run out.

◆ Init()

void ncStats::Init ( void )

◆ Kill()

void ncStats::Kill ( ncPlayer killedPlayer,
ncEntity inflicingEntity,
ncEntity attackingEntity,
int attackerScoreChange,
string attackerWeapon,
int killedScoreChange,
string deadWeapon )

Player has been fragged.

Counts number of 'kills' to a valid enemy.

◆ Leave()

void ncStats::Leave ( ncPlayer leavingPlayer)

Player has left the game.

◆ NameChange()

void ncStats::NameChange ( ncPlayer changedPlayer,
string newName )

Player has changed their name.

◆ PickupItem()

void ncStats::PickupItem ( ncItem takenItem,
ncPlayer inflictingPlayer )

Log: Item was picked up by a player.

◆ Respawn()

void ncStats::Respawn ( ncPlayer respawningPlayer)

Player has respawned.

◆ Shutdown()

void ncStats::Shutdown ( void )

◆ StartGame()

void ncStats::StartGame ( void )

Log: The beginning of gameplay.

◆ UseItem()

void ncStats::UseItem ( ncItem useditem,
ncPlayer inflictingPlayer )

Log: Item was used by a player.


The documentation for this class was generated from the following files: