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

Method SetDemand

src/linkgraph/linkgraph.h:124–127  ·  view source on GitHub ↗

* Set the node's demand. * @param demand New demand for the node. */

Source from the content-addressed store, hash-verified

122 * @param demand New demand for the node.
123 */
124 void SetDemand(uint demand)
125 {
126 this->demand = demand;
127 }
128
129 void AddEdge(NodeID to, uint capacity, uint usage, uint32_t time, EdgeUpdateModes modes);
130 void UpdateEdge(NodeID to, uint capacity, uint usage, uint32_t time, EdgeUpdateModes modes);

Callers 1

UpdateStationAcceptanceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected