Differential D3769 Diff 19463 binaries/data/mods/public/simulation/components/interfaces/ResourceSupply.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/interfaces/ResourceSupply.js
Engine.RegisterInterface("ResourceSupply"); | Engine.RegisterInterface("ResourceSupply"); | ||||
/** | /** | ||||
* Message of the form { "from": number, "to": number } | * Message of the form { "from": number, "to": number } | ||||
* sent from ResourceSupply component whenever the supply level changes. | * sent from ResourceSupply component whenever the supply level changes. | ||||
*/ | */ | ||||
Engine.RegisterMessageType("ResourceSupplyChanged"); | Engine.RegisterMessageType("ResourceSupplyChanged"); | ||||
/** | |||||
* Message of the form { "to": number } | |||||
* sent from ResourceSupply component whenever the number of gatherer changes. | |||||
*/ | |||||
Engine.RegisterMessageType("ResourceSupplyNumGatherersChanged"); |
Wildfire Games · Phabricator