Emergency 20 Dokumentation  4.2.0
em5::BuyUpgradeDataSource Class Reference

Data grid used to display the current buyable upgrades. More...

#include <BuyUpgradeDataSource.h>

Inheritance diagram for em5::BuyUpgradeDataSource:

Public Member Functions

 BuyUpgradeDataSource ()
 
void addBuyableUpgrades (const Player::BuyOption &buyOptions, uint32 upgradeID)
 Add a new buyable upgrade to table. More...
 
void clear ()
 Clears the datagrid; this seems to be necessary in order to shut libRocket down properly. More...
 
virtual void GetRow (Rocket::Core::StringList &row, const Rocket::Core::String &table, int rowIndex, const Rocket::Core::StringList &columns) override
 Includes the "columns" StringList "title" you going to get the title. Includes the "columns" StringList "icons" you going to get the icon. Includes the "columns" StringList "info" you going to get the info text. Includes the "columns" StringList "cost" you going to get the cost. Includes the "columns" StringList "upgradeId" you going to get the upgrade ID. More...
 
virtual int GetNumRows (const Rocket::Core::String &table) override
 

Detailed Description

Data grid used to display the current buyable upgrades.

Constructor & Destructor Documentation

em5::BuyUpgradeDataSource::BuyUpgradeDataSource ( )

Member Function Documentation

void em5::BuyUpgradeDataSource::addBuyableUpgrades ( const Player::BuyOption buyOptions,
uint32  upgradeID 
)

Add a new buyable upgrade to table.

void em5::BuyUpgradeDataSource::clear ( )

Clears the datagrid; this seems to be necessary in order to shut libRocket down properly.

virtual int em5::BuyUpgradeDataSource::GetNumRows ( const Rocket::Core::String table)
overridevirtual
virtual void em5::BuyUpgradeDataSource::GetRow ( Rocket::Core::StringList &  row,
const Rocket::Core::String table,
int  rowIndex,
const Rocket::Core::StringList &  columns 
)
overridevirtual

Includes the "columns" StringList "title" you going to get the title. Includes the "columns" StringList "icons" you going to get the icon. Includes the "columns" StringList "info" you going to get the info text. Includes the "columns" StringList "cost" you going to get the cost. Includes the "columns" StringList "upgradeId" you going to get the upgrade ID.


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