forked from 0ad/0ad
historic_bruno
6fd99e34ce
Adds templates for packed and unpacked siege units - needs stat tweaking. This was SVN commit r12904.
10 lines
298 B
JavaScript
10 lines
298 B
JavaScript
Engine.RegisterInterface("Pack");
|
|
|
|
// Message of the form { "progress": 0.5 },
|
|
// sent whenever packing progress is updated.
|
|
Engine.RegisterMessageType("PackProgressUpdate");
|
|
|
|
// Message of the form { "packed": true },
|
|
// sent whenever packing finishes.
|
|
Engine.RegisterMessageType("PackFinished");
|