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

Method GetSource

src/cargopacket.h:200–203  ·  view source on GitHub ↗

* Gets the source of the packet for subsidy purposes. * @return The source. */

Source from the content-addressed store, hash-verified

198 * @return The source.
199 */
200 inline Source GetSource() const
201 {
202 return this->source;
203 }
204
205 /**
206 * Gets the ID of the station where the cargo was loaded for the first time.

Callers 1

PayFinalDeliveryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected