0ad/binaries/data/mods/public/simulation/components/interfaces/Garrisonable.js
Freagarach 90831d5d88 Let PetraAI use the GarrisonHolder from cmpGarrisonable instead of UnitAI.
References 3851a48298.

Differential revision: D3645
Reviewed by: @Angen
This was SVN commit r25043.
2021-03-12 19:47:31 +00:00

7 lines
230 B
JavaScript

Engine.RegisterInterface("Garrisonable");
/**
* Message of the form { "holderID": number }
* sent from the Garrisonable component whenever the garrisoned state changes.
*/
Engine.RegisterMessageType("GarrisonedStateChanged");