API PurchaseShipLoadout
From Vendetta Lua
PurchaseShipLoadout
Definition:
PurchaseShipLoadout(function buybackdone_cb(boolean success), loadout) -> nil
Description:
Buys ship presets as stored in ShipPresets table.
Arguments:
buybackdone_cb(boolean success) callback function that gets called when transation finished, takes one argument which is true in case of success false otherwise.
loadout loadout as stored in ShipPresets table.
Example:
<source lang="lua">
PurchaseShipLoadout(function(success) print(success) end, ShipPresets[1])
</source>