MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetShares

Method GetShares

src/station_base.h:89–89  ·  view source on GitHub ↗

* Get the actual shares as a const pointer so that they can be iterated * over. * @return Actual shares. */

Source from the content-addressed store, hash-verified

87 * @return Actual shares.
88 */
89 inline const SharesMap *GetShares() const { return &this->shares; }
90
91 /**
92 * Return total amount of unrestricted shares.

Callers 15

AddFlowMethod · 0.80
PassOnFlowMethod · 0.80
DeleteFlowsMethod · 0.80
GetFlowMethod · 0.80
GetFlowFromMethod · 0.80
RecalcDestinationsMethod · 0.80
EstimateDestinationsMethod · 0.80
BuildFlowListMethod · 0.80
StageMethod · 0.80
SetNodeMethod · 0.80
~LinkGraphJobMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected