Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

refundCost

refundCost(entity, reservation): void

Gives back what reserveCost held back under reservation, as a cancelled action does, up to each resource’s maximum less what the other reservations still hold.

Parameter Type
entity Entity
reservation ReservationKey

void