0ad/binaries/data/mods/public/simulation/components/interfaces/Pack.js
2016-08-03 12:04:49 +00:00

13 lines
368 B
JavaScript

Engine.RegisterInterface("Pack");
/**
* Message of the form { "progress": number }
* sent from Pack component whenever packing progress is updated.
*/
Engine.RegisterMessageType("PackProgressUpdate");
/**
* Message of the form { "packed": boolean }
* sent from Pack component whenever the unit has become packed.
*/
Engine.RegisterMessageType("PackFinished");