Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
PlayerInventoryFormSource Class Reference
+ Inheritance diagram for PlayerInventoryFormSource:
+ Collaboration diagram for PlayerInventoryFormSource:

Public Member Functions

 PlayerInventoryFormSource (Client *client)
 
const std::string & getForm () const
 
- Public Member Functions inherited from IFormSource
virtual ~IFormSource ()=default
 
virtual std::string resolveText (const std::string &str)
 

Public Attributes

Clientm_client
 

Constructor & Destructor Documentation

◆ PlayerInventoryFormSource()

PlayerInventoryFormSource::PlayerInventoryFormSource ( Client * client)
inline

Member Function Documentation

◆ getForm()

const std::string & PlayerInventoryFormSource::getForm ( ) const
inlinevirtual

Implements IFormSource.

References Client::getEnv(), ClientEnvironment::getLocalPlayer(), Player::inventory_formspec, and m_client.

Referenced by Game::openInventory().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_client

Client* PlayerInventoryFormSource::m_client

Referenced by getForm(), and Game::openInventory().


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