Differential D4333 Diff 19020 ps/trunk/binaries/data/mods/public/simulation/components/interfaces/Trainer.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/simulation/components/interfaces/Trainer.js
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
Engine.RegisterInterface("Trainer"); | |||||
/** | |||||
* Message of the form { "entity": number } | |||||
* sent from Trainer component to the current entity whenever a unit is about to be trained. | |||||
*/ | |||||
Engine.RegisterMessageType("TrainingStarted"); | |||||
/** | |||||
* Message of the form { "entities": number[], "owner": number, "metadata": object } | |||||
* sent from Trainer component to the current entity whenever a unit has been trained. | |||||
*/ | |||||
Engine.RegisterMessageType("TrainingFinished"); |
Wildfire Games · Phabricator