Nuclide
Software Development Kit for id Technology (BETA)
ncStats Class Reference

Public Member Functions

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

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.

◆ Game()

void ncStats::Game ( string  keyName,
string  setValue 
)

◆ Init()

void ncStats::Init ( void  )

◆ JoinTeam()

void ncStats::JoinTeam ( int  teamID,
ncPlayer  leavingPlayer 
)

◆ 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.

◆ LeaveTeam()

void ncStats::LeaveTeam ( int  teamID,
ncPlayer  leavingPlayer 
)

◆ Map()

void ncStats::Map ( string  keyName,
string  setValue 
)

◆ NameChange()

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

Player has changed their name.

◆ OutputFilename()

string ncStats::OutputFilename ( void  )

◆ PickupItem()

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

Log: Item was picked up by a player.

◆ Player()

void ncStats::Player ( string  keyName,
string  setValue 
)

◆ 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: